create
public static Persistor create(PersistenceType persistenceType,
FileUtilities.FileType fileType,
RuntimeDataInterface runtime,
java.lang.Object object)
throws SAFSException
- Parameters:
persistenceType
- PersistenceType, what kind of persistence to store object, it can be file, variable or database etc.
fileType
- FileType enum object, ONLY useful when persistenceType is PersistenceType.FILE
runtime
- RuntimeDataInterface, required by a concrete Persistor.
object
- Object, an object required by a concrete Persistor.
- Returns:
- Persistor
- Throws:
SAFSException
- if no Persistor has been created.