|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.dream.protocol.Util
public final class Util
Utility methods.
Method Summary | |
---|---|
static ExportIdentifier[] |
readExportIdentifierArray(ObjectInput in)
Reads and returns an array of export identifier from an ObjectInput object. |
static void |
writeExportIdentifierArray(ObjectOutput out,
ExportIdentifier[] array)
Writes an array of export identifier on an ObjectOutput
object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ExportIdentifier[] readExportIdentifierArray(ObjectInput in) throws IOException, ClassNotFoundException
ObjectInput
object.
in
- the input from which to read.
IOException
- if an error occurs.
ClassNotFoundException
- if the class of read objects is not found.public static void writeExportIdentifierArray(ObjectOutput out, ExportIdentifier[] array) throws IOException
ObjectOutput
object.
out
- the output on which to write.array
- the array of export identifier to write (cannot be
null
).
IOException
- if an error occurs.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |