|
Jive Forums API (5.5.20.2-oracle) Developer Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jivesoftware.util.ExternalizableLiteUtil
public class ExternalizableLiteUtil
Utility methods to assist in working with the Coherence ExternalizableLite interface. ExternalizableLite is very similar to the standard Externalizable interface, except that it uses DataOutput/DataInput instead of the Object stream equivalents.
Method Summary | |
---|---|
static long[] |
readLongArray(java.io.DataInput in)
Reads an array of long values. |
static java.util.Map |
readLongIntMap(java.io.DataInput in)
Reads a Map of Long key and Integer value pairs. |
static LongList |
readLongList(java.io.DataInput in)
Reads a LongList. |
static java.util.List |
readStringList(java.io.DataInput in)
Reads a List of Strings. |
static java.util.Map |
readStringMap(java.io.DataInput in)
Reads a Map of String key and value pairs. |
static void |
writeLongArray(java.io.DataOutput out,
long[] array)
Writes an array of long values. |
static void |
writeLongIntMap(java.io.DataOutput out,
java.util.Map map)
Writes a Map of Long key and Integer value pairs. |
static void |
writeLongList(java.io.DataOutput out,
LongList longList)
Writes a LongList. |
static void |
writeStringList(java.io.DataOutput out,
java.util.List stringList)
Writes a List of Strings. |
static void |
writeStringMap(java.io.DataOutput out,
java.util.Map stringMap)
Writes a Map of String key and value pairs. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void writeStringMap(java.io.DataOutput out, java.util.Map stringMap) throws java.io.IOException
out
- the output stream.stringMap
- the Map of String key/value pairs.
java.io.IOException
- if an error occurs.public static java.util.Map readStringMap(java.io.DataInput in) throws java.io.IOException
in
- the input stream.
java.io.IOException
- if an error occurs.public static void writeLongIntMap(java.io.DataOutput out, java.util.Map map) throws java.io.IOException
out
- the output stream.map
- the Map of Long key/Integer value pairs.
java.io.IOException
- if an error occurs.public static java.util.Map readLongIntMap(java.io.DataInput in) throws java.io.IOException
in
- the input stream.
java.io.IOException
- if an error occurs.public static void writeStringList(java.io.DataOutput out, java.util.List stringList) throws java.io.IOException
out
- the output stream.stringList
- the List of Strings.
java.io.IOException
- if an error occurs.public static java.util.List readStringList(java.io.DataInput in) throws java.io.IOException
in
- the input stream.
java.io.IOException
- if an error occurs.public static void writeLongArray(java.io.DataOutput out, long[] array) throws java.io.IOException
out
- the output stream.array
- the array of long values.
java.io.IOException
- if an error occurs.public static long[] readLongArray(java.io.DataInput in) throws java.io.IOException
in
- the input stream.
java.io.IOException
- if an error occurs.public static void writeLongList(java.io.DataOutput out, LongList longList) throws java.io.IOException
out
- the output stream.longList
- the LongList.
java.io.IOException
- if an error occurs.public static LongList readLongList(java.io.DataInput in) throws java.io.IOException
in
- the input stream.
java.io.IOException
- if an error occurs.
|
Jive Forums Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |