gate
Interface LanguageResource

All Superinterfaces:
FeatureBearer, Resource, Serializable
All Known Subinterfaces:
Corpus, Document, LRDBWrapper
All Known Implementing Classes:
AbstractLanguageResource, DocumentFormat

public interface LanguageResource
extends Resource

Models all sorts of language resources.


Method Summary
 DataStore getDataStore()
          Get the data store that this LR lives in.
 void setDataStore(DataStore dataStore)
          Set the data store that this LR lives in.
 void sync()
          Save: synchonise the in-memory image of the LR with the persistent image.
 
Methods inherited from interface gate.Resource
init
 
Methods inherited from interface gate.util.FeatureBearer
getFeatures, getName, setFeatures, setName
 

Method Detail

getDataStore

public DataStore getDataStore()
Get the data store that this LR lives in. Null for transient LRs.

setDataStore

public void setDataStore(DataStore dataStore)
                  throws PersistenceException
Set the data store that this LR lives in.

sync

public void sync()
          throws PersistenceException
Save: synchonise the in-memory image of the LR with the persistent image.