|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.formats.tof.TofLib
public class TofLib
Convenience library for loading and saving via the TOF format.
Copyright 2008 Partner Software, Inc.
| Method Summary | |
|---|---|
static java.lang.Object |
cloneUsingTof(java.lang.Object original)
This is a slow-but-very-sure cloning method based on writing the object out as a TOF and reading it back in again. |
static java.lang.Object |
readMetaObjectFrom(VfsFile file)
Reads the TOF file and converts the result to an MetaTOF object. |
static java.lang.Object |
readObjectFrom(VfsFile file)
Reads the TOF file and converts the result to an appropriate object. |
static boolean |
validate(VfsFile file)
Parses and validates the syntax for the given TOF file. |
static void |
writeMetaObjectTo(java.lang.Object object,
VfsFile file)
Writes the given object in TOF format to the given file. |
static void |
writeObjectTo(java.lang.Object object,
VfsFile file)
Writes the given object in TOF format to the given file. |
static void |
writeObjectWithoutPointersTo(java.lang.Object victim,
VfsFile tofFile)
Writes an object to in TOF format to the given file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.lang.Object readObjectFrom(VfsFile file)
throws java.io.IOException
java.io.IOException
public static void writeObjectTo(java.lang.Object object,
VfsFile file)
throws java.io.IOException
java.io.IOException
public static void writeObjectWithoutPointersTo(java.lang.Object victim,
VfsFile tofFile)
throws java.io.IOException
java.io.IOException
public static java.lang.Object readMetaObjectFrom(VfsFile file)
throws java.io.IOException
java.io.IOException
public static void writeMetaObjectTo(java.lang.Object object,
VfsFile file)
throws java.io.IOException
java.io.IOException
public static boolean validate(VfsFile file)
throws java.io.IOException
file -
java.io.IOException
public static java.lang.Object cloneUsingTof(java.lang.Object original)
throws java.io.IOException
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||