com.anywherecommerce.android.sdk
Class SerializableObject
-
java.lang.Object
-
com.anywherecommerce.android.sdk.SerializableObject
-
Direct Known Subclasses:AppDiagnosticsOld, EndpointMapping, HtmlSelect, PersistableObject, Session, SessionHistory-
public class <span class="typeNameLabel">SerializableObject</span> extends java.lang.Object
Constructor Summary
Constructor and Description`<span class="memberNameLink">
Method Summary
Modifier and TypeMethod and Description`void``<span class="memberNameLink">
SerializableObject src)
static <T extends
SerializableObject>
T````
deserialize(java.lang.Class cls,
java.lang.String xml)
``
static <T extends
SerializableObject>
T````
deserializeFromFile(java.lang.Class cls,
java.io.InputStream is)
``
static <T extends
SerializableObject>
T````
deserializeFromFile(java.lang.Class cls,
int resID)
``
static <T extends
SerializableObject>
T````
deserializeFromFile(java.lang.Class cls,
java.lang.String fileName)
` `java.lang.String
serialize()
boolean``
serializeToFile(java.lang.String fileName)`
Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`
Constructor Detail
SerializableObject
`public SerializableObject()`
Method Detail
serializeToFile
`public boolean serializeToFile(java.lang.String fileName)`
serialize
`public java.lang.String serialize()`
deserializeFromFile
```
public static <T extends
SerializableObject> T deserializeFromFile(java.lang.Class cls,
java.lang.String fileName)
```
deserializeFromFile
```
public static <T extends
SerializableObject> T deserializeFromFile(java.lang.Class cls,
int resID)
```
deserializeFromFile
```
public static <T extends
SerializableObject> T deserializeFromFile(java.lang.Class cls,
java.io.InputStream is)
```
deserialize
```
public static <T extends
SerializableObject> T deserialize(java.lang.Class cls,
java.lang.String xml)
```
copyFieldsFrom
`public void copyFieldsFrom(
SerializableObject src)`