|
FreeHEP API Version v1.2.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--hep.aida.ref.root.RootStore
An implementation of IStore for reading Root files.
Constructor Summary | |
RootStore()
|
Method Summary | |
void |
close()
Close Store and free all resources associated with it. |
void |
commit(IDevTree tree,
Map options)
Copy data from Tree to the Store. |
boolean |
isReadOnly()
Returns true if the store only supports reading. |
void |
read(IDevTree tree,
Map options,
boolean readOnly,
boolean createNew)
Populate AIDA Tree: create appropriate AIDA objects in the Tree and fill them with data from the Store. |
void |
read(IDevTree tree,
String path)
Populate folder or create AIDA object in the tree. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RootStore()
Method Detail |
public boolean isReadOnly()
IStore
isReadOnly
in interface IStore
public void close() throws IOException
IStore
close
in interface IStore
IOException
public void commit(IDevTree tree, Map options) throws IOException
IStore
commit
in interface IStore
IOException
- If there are problems writing to the Store or the Store is Read-Only.public void read(IDevTree tree, Map options, boolean readOnly, boolean createNew) throws IOException
IStore
read
in interface IStore
IOException
- If there are problems reading from the Storepublic void read(IDevTree tree, String path) throws IllegalArgumentException, IOException
IOnDemandStore
read
in interface IOnDemandStore
path
- The path to the diretory which is to be filled.
IOException
- If there are problems reading from the Store
IllegalArgumentException
- If the path does not exist, or if it is not a directory.
|
FreeHEP API Version v1.2.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |