Package | Description |
---|---|
org.safs.persist |
Modifier and Type | Class and Description |
---|---|
class |
AbstractPersistor |
class |
AbstractRuntimeDataPersistor
A Persistor with RuntimeDataInterface providing underlying functionality.
|
class |
PersistorToFile |
class |
PersistorToFileDelegate
Write Persistable object to a file, but it will delegate the job to a sub-class of
PersistorToString
to get back the string format of the Persistable object, then it will write that string into the file. |
class |
PersistorToHierarchialFile
Deprecated.
The most functionalities has been moved to class
PersistorToHierarchialString , those functionalities will be
decoupled from this class.Currently the class PersistorToHierarchialString has 2 sub-class PersistorToJSONString and PersistorToXMLString .The classes PersistorToJSONFile and PersistorToXMLFile will not extends from this class PersistorToHierarchialFile any more,
they will directly extends the class PersistorToFile and delegate the 'parse job' (Persistable <--> String)
to class and PersistorToJSONString and PersistorToXMLString . |
class |
PersistorToHierarchialString
Write the Persistable object to a persistence of hierarchical structure, such as JSON, XML format.
|
class |
PersistorToJSONFile
Write Persistable object to a JSON file, such as:
|
class |
PersistorToJSONString
Write Persistable object to a JSON string, such as:
|
class |
PersistorToPropertiesFile
Write Persistable object to a Properties file, such as:
|
class |
PersistorToString
This class is used to convert a Persistable object to a string and convert a string to a Persistable object.
The string format will depends on the sub-class's implementation. |
class |
PersistorToVariable |
class |
PersistorToXMLFile
Write Persistable object to an XML file, such as:
|
class |
PersistorToXMLString
Write Persistable object to an XML string, such as:
|
Modifier and Type | Method and Description |
---|---|
static Persistor |
PersistorFactory.create(PersistenceType persistenceType,
FileUtilities.FileType fileType,
RuntimeDataInterface runtime,
java.lang.Object object) |
Copyright © SAS Institute. All Rights Reserved.