|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deepfs.fsml.ser.FSMLSerializer
public final class FSMLSerializer
DeepFile Serializer. Serializes DeepFiles in XML.
Method Summary | |
---|---|
static String |
serialize(DeepFile deepFile)
Serializes a DeepFile. |
static String |
serialize(File file,
boolean root)
Serializes a file without metadata and content. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String serialize(DeepFile deepFile) throws IOException
deepFile
- the DeepFile to serialize
IOException
- if any error occurspublic static String serialize(File file, boolean root)
file
- the file to serializeroot
- if true, a filesystem root is are created instead of a simple
directory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |