|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.export.util.ExportUtil
public class ExportUtil
Some general utility methods relating to exporting.
| Constructor Summary | |
|---|---|
ExportUtil()
|
|
| Method Summary | |
|---|---|
static Object |
fromBytes(byte[] bytes)
Parses a byte array containing a binary export and returns the decoded object. |
static Object |
fromString(String string)
Parses a string containing an XML export and returns the decoded object. |
static byte[] |
toBytes(Object object)
Converts an exportable object to a byte array containing the exported binary representation of the object. |
static byte[] |
toBytes(Object object,
boolean compress)
Converts an exportable object to a byte array containing the exported binary representation of the object. |
static String |
toString(Object object)
Converts an exportable object to a string containing the exported XML representation of the object. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExportUtil()
| Method Detail |
|---|
public static String toString(Object object)
null will be
returned.
public static Object fromString(String string)
null will be returned.
public static byte[] toBytes(Object object)
null will
be returned.
public static byte[] toBytes(Object object,
boolean compress)
null will
be returned.
public static Object fromBytes(byte[] bytes)
null will be returned.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||