public interface ExternalizableUtilStrategy
void writeStringMap(DataOutput out, Map<String,String> stringMap) throws IOException
out - the output stream.stringMap - the Map of String key/value pairs.IOException - if an error occurs.Map<String,String> readStringMap(DataInput in) throws IOException
in - the input stream.IOException - if an error occurs.void writeLongIntMap(DataOutput out, Map<Long,Integer> map) throws IOException
out - the output stream.map - the Map of Long key/Integer value pairs.IOException - if an error occurs.Map<Long,Integer> readLongIntMap(DataInput in) throws IOException
in - the input stream.IOException - if an error occurs.void writeStringList(DataOutput out, List<String> stringList) throws IOException
out - the output stream.stringList - the List of Strings.IOException - if an error occurs.List<String> readStringList(DataInput in) throws IOException
in - the input stream.IOException - if an error occurs.void writeLongArray(DataOutput out, long[] array) throws IOException
out - the output stream.array - the array of long values.IOException - if an error occurs.long[] readLongArray(DataInput in) throws IOException
in - the input stream.IOException - if an error occurs.void writeLong(DataOutput out, long value) throws IOException
IOExceptionlong readLong(DataInput in) throws IOException
IOExceptionvoid writeBoolean(DataOutput out, boolean value) throws IOException
IOExceptionboolean readBoolean(DataInput in) throws IOException
IOExceptionvoid writeByteArray(DataOutput out, byte[] value) throws IOException
IOExceptionbyte[] readByteArray(DataInput in) throws IOException
IOExceptionvoid writeSerializable(DataOutput out, Serializable value) throws IOException
IOExceptionSerializable readSerializable(DataInput in) throws IOException
IOExceptionvoid writeSafeUTF(DataOutput out, String value) throws IOException
IOExceptionString readSafeUTF(DataInput in) throws IOException
IOExceptionvoid writeExternalizableCollection(DataOutput out, Collection<? extends Externalizable> value) throws IOException
IOExceptionint readExternalizableCollection(DataInput in, Collection<? extends Externalizable> value, ClassLoader loader) throws IOException
IOExceptionvoid writeSerializableCollection(DataOutput out, Collection<? extends Serializable> value) throws IOException
IOExceptionint readSerializableCollection(DataInput in, Collection<? extends Serializable> value, ClassLoader loader) throws IOException
IOExceptionvoid writeExternalizableMap(DataOutput out, Map<String,? extends Externalizable> map) throws IOException
IOExceptionint readExternalizableMap(DataInput in, Map<String,? extends Externalizable> map, ClassLoader loader) throws IOException
IOExceptionvoid writeSerializableMap(DataOutput out, Map<? extends Serializable,? extends Serializable> map) throws IOException
IOExceptionint readSerializableMap(DataInput in, Map<? extends Serializable,? extends Serializable> map, ClassLoader loader) throws IOException
IOExceptionvoid writeStringsMap(DataOutput out, Map<String,Set<String>> map) throws IOException
IOExceptionint readStringsMap(DataInput in, Map<String,Set<String>> map) throws IOException
IOExceptionvoid writeStrings(DataOutput out, Collection<String> collection) throws IOException
IOExceptionint readStrings(DataInput in, Collection<String> collection) throws IOException
IOExceptionvoid writeInt(DataOutput out, int value) throws IOException
IOExceptionint readInt(DataInput in) throws IOException
IOExceptionCopyright © 2003-2008 Jive Software.