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