public class TOFStore extends java.lang.Object implements StructuredStore
| Constructor and Description |
|---|
TOFStore() |
TOFStore(StreamingStore streamStore) |
| Modifier and Type | Method and Description |
|---|---|
static TOFStore |
currentDirSingleton()
Returns the only needed TOFStore that pulls things from class resources.
|
LookupDatabase |
getLookup() |
StreamingStore |
getStreamingStore() |
java.lang.Object |
loadObject(java.lang.String storagePath)
Returns an object for the given storage path; null if the named object is
not in the store.
|
void |
setLookup(LookupDatabase newLookup) |
void |
setStreamingStore(StreamingStore newStore) |
static TOFStore |
singleton()
Returns the only needed TOFStore that pulls things from class resources.
|
void |
storeObject(java.lang.String storagePath,
java.lang.Object object)
Stores the object using the given path.
|
public TOFStore()
public TOFStore(StreamingStore streamStore)
public static TOFStore singleton()
public static TOFStore currentDirSingleton()
public java.lang.Object loadObject(java.lang.String storagePath)
loadObject in interface StructuredStorepublic void storeObject(java.lang.String storagePath,
java.lang.Object object)
throws StoreException
storeObject in interface StructuredStoreStoreExceptionpublic StreamingStore getStreamingStore()
public void setStreamingStore(StreamingStore newStore)
public LookupDatabase getLookup()
public void setLookup(LookupDatabase newLookup)