|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tranche.meta.MetaDataUtil
public class MetaDataUtil
Utility for working with meta data. objects.
| Method Summary | |
|---|---|
static MetaData |
read(java.io.InputStream is)
A helper method to read a serialized MetaData object. |
static void |
write(MetaData md,
java.io.OutputStream out)
Writes a MetaData object to the given OutputStream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static final MetaData read(java.io.InputStream is)
throws java.lang.Exception
A helper method to read a serialized MetaData object. This does *not* use Java's object serialization mechanism in order to enable versioned support across compiles of code and the ability to use split-files in non-Java programs.
is - The InputStream to read from.
java.io.IOException - Should any exception occur.
java.lang.Exception
public static final void write(MetaData md,
java.io.OutputStream out)
throws java.lang.Exception
Writes a MetaData object to the given OutputStream. This method does *not* use Java's object serialization mechanism in order to let non-Java code use them.
md - The MetaData object to serialize.out - The OutputStream to serialize the file to.
java.io.IOException - Should any exception occur.
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||