FreeHEP API
Version v1.2.2

hep.aida.dev
Interface IOnDemandStore

All Superinterfaces:
IStore
All Known Subinterfaces:
IDevMutableStore, IMutableStore
All Known Implementing Classes:
BasicMutableStore, HBookStore, RemoteMutableStore, RootStore

public interface IOnDemandStore
extends IStore

An interface to the store that can provide fine-grained data.


Method Summary
 void read(IDevTree tree, String path)
          Populate folder or create AIDA object in the tree.
 
Methods inherited from interface hep.aida.dev.IStore
close, commit, isReadOnly, read
 

Method Detail

read

public void read(IDevTree tree,
                 String path)
          throws IllegalArgumentException,
                 IOException
Populate folder or create AIDA object in the tree. If some folders along the path are missing, IOnDemandStore must create them using ITree "mkdirs(path)" method. Tree relies on Store calling IDevTree.hasBeenFilled(String path) method, to let Tree know that a particular folder has been filled.

Parameters:
path - The path to the diretory which is to be filled.
Throws:
IllegalArgumentException - If the path does not exist, or if it is not a directory.
IOException - If there are problems reading from the Store

FreeHEP API
Version v1.2.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.