|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecthep.aida.ref.tree.TreeFactory
public class TreeFactory
| Field Summary |
|---|
| Fields inherited from interface hep.aida.ITreeFactory |
|---|
AUTO, CREATE, READONLY, RECREATE, UPDATE |
| Constructor Summary | |
|---|---|
TreeFactory(IAnalysisFactory analysisFactory)
The default constructor. |
|
| Method Summary | |
|---|---|
ITree |
create()
Creates a new tree and associates it with a store. |
ITree |
create(String storeName)
Creates a new tree and associates it with a store. |
ITree |
create(String storeName,
String storeType)
Creates a new tree and associates it with a store. |
ITree |
create(String storeName,
String storeType,
boolean readOnly)
Creates a new tree and associates it with a store. |
ITree |
create(String storeName,
String storeType,
boolean readOnly,
boolean createNew)
Creates a new tree and associates it with a store. |
ITree |
create(String storeName,
String storeType,
boolean readOnly,
boolean createNew,
String options)
Creates a new tree and associates it with a store. |
ITree |
createNamedTree(String name,
String storeName,
String storeType)
Creates a new tree which is explicitly named. |
ITree |
createNamedTree(String name,
String storeName,
String storeType,
int mode)
Creates a new tree which is explicitly named. |
ITree |
createNamedTree(String name,
String storeName,
String storeType,
int mode,
String options)
Creates a new tree which is explicitly named. |
ITree |
createTree()
Creates a new tree and associates it with a store. |
ITree |
createTree(String options)
Creates a new tree that is not associated with a store. |
ITree |
createTree(String storeName,
String storeType)
Creates a new tree and associates it with a store. |
ITree |
createTree(String storeName,
String storeType,
int mode)
Creates a new tree and associates it with a store. |
ITree |
createTree(String storeName,
String storeType,
int mode,
String options)
Creates a new tree and associates it with a store. |
ITree |
createTree(String storeName,
String storeType,
String options)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TreeFactory(IAnalysisFactory analysisFactory)
| Method Detail |
|---|
public ITree create()
create in interface ITreeFactory
public ITree create(String storeName)
throws IllegalArgumentException,
IOException
create in interface ITreeFactorystoreName - The name of the store, if empty (""), the tree is created
in memory and therefore will not be associated with a file.
IOException - if the store already exists
IllegalArgumentException
public ITree create(String storeName,
String storeType)
throws IllegalArgumentException,
IOException
create in interface ITreeFactorystoreName - The name of the store, if empty (""), the tree is created
in memory and therefore will not be associated with a file.storeType - Implementation specific string, may control store type
IOException - if the store already exists
IllegalArgumentException
public ITree create(String storeName,
String storeType,
boolean readOnly)
throws IllegalArgumentException,
IOException
create in interface ITreeFactorystoreName - The name of the store, if empty (""), the tree is created
in memory and therefore will not be associated with a file.storeType - Implementation specific string, may control store typereadOnly - If true the store is opened readonly, an exception if it does not exist
IOException - if the store already exists
IllegalArgumentException
public ITree create(String storeName,
String storeType,
boolean readOnly,
boolean createNew)
throws IllegalArgumentException,
IOException
create in interface ITreeFactorystoreName - The name of the store, if empty (""), the tree is created
in memory and therefore will not be associated with a file.storeType - Implementation specific string, may control store typereadOnly - If true the store is opened readonly, an exception if it does not existcreateNew - If false the file must exist, if true the file will be created
IOException - if the store already exists
IllegalArgumentException
public ITree create(String storeName,
String storeType,
boolean readOnly,
boolean createNew,
String options)
throws IllegalArgumentException,
IOException
create in interface ITreeFactorystoreName - The name of the store, if empty (""), the tree is created
in memory and therefore will not be associated with a file.storeType - Implementation specific string, may control store typereadOnly - If true the store is opened readonly, an exception if it does not existcreateNew - If false the file must exist, if true the file will be createdoptions - Other options, currently are not specified
IOException - if the store already exists
IllegalArgumentExceptionpublic ITree createTree()
The definition of the various modes than can be specified are:
createTree in interface ITreeFactorystoreName - The name of the store, if empty (""), the tree is created
in memory and therefore will not be associated with a file.storeType - Implementation specific string, may control store typemode - One of AUTO, CREATE, RECREATE, READONLY, UPDATE.
IOException - if the store already exists
IllegalArgumentExceptionpublic ITree createTree(String options)
ITreeFactory
createTree in interface ITreeFactory
public ITree createTree(String storeName,
String storeType)
throws IllegalArgumentException,
IOException
ITreeFactoryThe definition of the various modes than can be specified are:
createTree in interface ITreeFactorystoreName - The name of the store, if empty (""), the tree is created
in memory and therefore will not be associated with a file.storeType - Implementation specific string, may control store type
IllegalArgumentException
IOException - if the store already exists
public ITree createTree(String storeName,
String storeType,
String options)
throws IllegalArgumentException,
IOException
IllegalArgumentException
IOException
public ITree createTree(String storeName,
String storeType,
int mode)
throws IllegalArgumentException,
IOException
ITreeFactoryThe definition of the various modes than can be specified are:
createTree in interface ITreeFactorystoreName - The name of the store, if empty (""), the tree is created
in memory and therefore will not be associated with a file.storeType - Implementation specific string, may control store typemode - One of AUTO, CREATE, RECREATE, READONLY, UPDATE.
IllegalArgumentException
IOException - if the store already exists
public ITree createTree(String storeName,
String storeType,
int mode,
String options)
throws IllegalArgumentException,
IOException
ITreeFactoryThe definition of the various modes than can be specified are:
createTree in interface ITreeFactorystoreName - The name of the store, if empty (""), the tree is created
in memory and therefore will not be associated with a file.storeType - Implementation specific string, may control store typemode - One of AUTO, CREATE, RECREATE, READONLY, UPDATE.options - Other options, currently are not specified
IllegalArgumentException
IOException - if the store already exists
public ITree createNamedTree(String name,
String storeName,
String storeType)
throws IllegalArgumentException,
IOException
ITreeFactory
createNamedTree in interface ITreeFactoryname - The name of the tree.storeName - The name of the store, if empty (""), the tree is
created in memory and therefore will not be
associated with a file.storeType - Implementation specific string, may control store type
IllegalArgumentException
IOException - if the store already exists
public ITree createNamedTree(String name,
String storeName,
String storeType,
int mode)
throws IllegalArgumentException,
IOException
ITreeFactory
createNamedTree in interface ITreeFactoryname - The name of the tree.storeName - The name of the store, if empty (""), the tree is
created in memory and therefore will not be
associated with a file.storeType - Implementation specific string, may control store typemode - One of AUTO, CREATE, RECREATE, READONLY, UPDATE.
IllegalArgumentException
IOException - if the store already exists
public ITree createNamedTree(String name,
String storeName,
String storeType,
int mode,
String options)
throws IllegalArgumentException,
IOException
ITreeFactory
createNamedTree in interface ITreeFactoryname - The name of the tree.storeName - The name of the store, if empty (""), the tree is
created in memory and therefore will not be
associated with a file.storeType - Implementation specific string, may control store typemode - One of AUTO, CREATE, RECREATE, READONLY, UPDATE.options - Other options, currently are not specified
IllegalArgumentException
IOException - if the store already exists
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||