|
AIDA API Version 3.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The creator of trees.
Field Summary | |
static int |
AUTO
Constants specifying legal values for the mode argument. |
static int |
CREATE
Constants specifying legal values for the mode argument. |
static int |
READONLY
Constants specifying legal values for the mode argument. |
static int |
RECREATE
Constants specifying legal values for the mode argument. |
static int |
UPDATE
Constants specifying legal values for the mode argument. |
Method Summary | |
ITree |
create()
Creates a new tree that is not associated 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 that is not associated 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. |
Field Detail |
public static final int AUTO
public static final int CREATE
public static final int RECREATE
public static final int READONLY
public static final int UPDATE
Method Detail |
public ITree createTree()
public ITree createTree(String options)
public ITree createTree(String storeName, String storeType) throws IllegalArgumentException, RuntimeException
The definition of the various modes than can be specified are:
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
RuntimeException
- if the store already exists
IllegalArgumentException
public ITree createTree(String storeName, String storeType, int mode) throws IllegalArgumentException, RuntimeException
The definition of the various modes than can be specified are:
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.
RuntimeException
- if the store already exists
IllegalArgumentException
public ITree createTree(String storeName, String storeType, int mode, String options) throws IllegalArgumentException, RuntimeException
The definition of the various modes than can be specified are:
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
RuntimeException
- if the store already exists
IllegalArgumentException
public ITree createNamedTree(String name, String storeName, String storeType) throws IllegalArgumentException, RuntimeException
name
- 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
RuntimeException
- if the store already exists
IllegalArgumentException
public ITree createNamedTree(String name, String storeName, String storeType, int mode) throws IllegalArgumentException, RuntimeException
name
- 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.
RuntimeException
- if the store already exists
IllegalArgumentException
public ITree createNamedTree(String name, String storeName, String storeType, int mode, String options) throws IllegalArgumentException, RuntimeException
name
- 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
RuntimeException
- if the store already exists
IllegalArgumentException
public ITree create()
public ITree create(String storeName) throws IllegalArgumentException, RuntimeException
storeName
- The name of the store, if empty (""), the tree is created
in memory and therefore will not be associated with a file.
RuntimeException
- if the store already exists
IllegalArgumentException
public ITree create(String storeName, String storeType) throws IllegalArgumentException, RuntimeException
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
RuntimeException
- if the store already exists
IllegalArgumentException
public ITree create(String storeName, String storeType, boolean readOnly) throws IllegalArgumentException, RuntimeException
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 typereadOnly
- If true the store is opened readonly, an exception if it does not exist
RuntimeException
- if the store already exists
IllegalArgumentException
public ITree create(String storeName, String storeType, boolean readOnly, boolean createNew) throws IllegalArgumentException, RuntimeException
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 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
RuntimeException
- if the store already exists
IllegalArgumentException
public ITree create(String storeName, String storeType, boolean readOnly, boolean createNew, String options) throws IllegalArgumentException, RuntimeException
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 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
RuntimeException
- if the store already exists
IllegalArgumentException
|
AIDA API Version 3.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |