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
IOException
long readLong(DataInput in) throws IOException
IOException
void writeBoolean(DataOutput out, boolean value) throws IOException
IOException
boolean readBoolean(DataInput in) throws IOException
IOException
void writeByteArray(DataOutput out, byte[] value) throws IOException
IOException
byte[] readByteArray(DataInput in) throws IOException
IOException
void writeSerializable(DataOutput out, Serializable value) throws IOException
IOException
Serializable readSerializable(DataInput in) throws IOException
IOException
void writeSafeUTF(DataOutput out, String value) throws IOException
IOException
String readSafeUTF(DataInput in) throws IOException
IOException
void writeExternalizableCollection(DataOutput out, Collection<? extends Externalizable> value) throws IOException
IOException
int readExternalizableCollection(DataInput in, Collection<? extends Externalizable> value, ClassLoader loader) throws IOException
IOException
void writeSerializableCollection(DataOutput out, Collection<? extends Serializable> value) throws IOException
IOException
int readSerializableCollection(DataInput in, Collection<? extends Serializable> value, ClassLoader loader) throws IOException
IOException
void writeExternalizableMap(DataOutput out, Map<String,? extends Externalizable> map) throws IOException
IOException
int readExternalizableMap(DataInput in, Map<String,? extends Externalizable> map, ClassLoader loader) throws IOException
IOException
void writeSerializableMap(DataOutput out, Map<? extends Serializable,? extends Serializable> map) throws IOException
IOException
int readSerializableMap(DataInput in, Map<? extends Serializable,? extends Serializable> map, ClassLoader loader) throws IOException
IOException
void writeStringsMap(DataOutput out, Map<String,Set<String>> map) throws IOException
IOException
int readStringsMap(DataInput in, Map<String,Set<String>> map) throws IOException
IOException
void writeStrings(DataOutput out, Collection<String> collection) throws IOException
IOException
int readStrings(DataInput in, Collection<String> collection) throws IOException
IOException
void writeInt(DataOutput out, int value) throws IOException
IOException
int readInt(DataInput in) throws IOException
IOException
Copyright © 2003-2008 Jive Software.