public class DALFile extends java.lang.Object implements Persistent
Constructor and Description |
---|
DALFile() |
Modifier and Type | Method and Description |
---|---|
static DALFile |
getDALFile() |
static DALFile |
getDALFile(ResourcesStorage.Resource resource) |
java.util.List<FeatureType> |
getFeatureTypes() |
boolean |
isEmpty() |
void |
loadFromState(PersistentState state)
Set the state of the object from the state passed as parameter.
|
void |
read(ResourcesStorage.Resource resource) |
static void |
registerPersistenceDefinition() |
void |
saveToState(PersistentState state)
Saves the internal state of the object on the provided
PersistentState object.
|
void |
setFeatureType(FeatureType featureType) |
void |
setStore(DefaultFeatureStore store) |
void |
updateStore(DefaultFeatureStore store) |
void |
write(java.io.File outfile) |
void |
write(java.io.File outfile,
java.lang.String format) |
void |
write(java.io.OutputStream out) |
void |
write(ResourcesStorage.Resource resource) |
public static DALFile getDALFile()
public static DALFile getDALFile(ResourcesStorage.Resource resource)
public static void registerPersistenceDefinition()
public boolean isEmpty()
public void write(ResourcesStorage.Resource resource)
public void write(java.io.File outfile)
public void write(java.io.File outfile, java.lang.String format)
public void write(java.io.OutputStream out)
public void read(ResourcesStorage.Resource resource)
public void setFeatureType(FeatureType featureType) throws DataException
DataException
public void setStore(DefaultFeatureStore store) throws DataException
DataException
public void updateStore(DefaultFeatureStore store) throws DataException
DataException
public java.util.List<FeatureType> getFeatureTypes() throws DataException
DataException
public void saveToState(PersistentState state) throws PersistenceException
Persistent
saveToState
in interface Persistent
PersistenceException
public void loadFromState(PersistentState state) throws PersistenceException
Persistent
loadFromState
in interface Persistent
PersistenceException