|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ITreeFactory
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 |
|---|
static final int AUTO
static final int CREATE
static final int RECREATE
static final int READONLY
static final int UPDATE
| Method Detail |
|---|
ITree createTree()
ITree createTree(String options)
ITree createTree(String storeName,
String storeType)
throws IllegalArgumentException,
IOException
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
IOException - if the store already exists
IllegalArgumentException
ITree createTree(String storeName,
String storeType,
int mode)
throws IllegalArgumentException,
IOException
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.
IOException - if the store already exists
IllegalArgumentException
ITree createTree(String storeName,
String storeType,
int mode,
String options)
throws IllegalArgumentException,
IOException
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
IOException - if the store already exists
IllegalArgumentException
ITree createNamedTree(String name,
String storeName,
String storeType)
throws IllegalArgumentException,
IOException
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
IOException - if the store already exists
IllegalArgumentException
ITree createNamedTree(String name,
String storeName,
String storeType,
int mode)
throws IllegalArgumentException,
IOException
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.
IOException - if the store already exists
IllegalArgumentException
ITree createNamedTree(String name,
String storeName,
String storeType,
int mode,
String options)
throws IllegalArgumentException,
IOException
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
IOException - if the store already exists
IllegalArgumentExceptionITree create()
ITree create(String storeName)
throws IllegalArgumentException,
IOException
storeName - 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
ITree create(String storeName,
String storeType)
throws IllegalArgumentException,
IOException
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
IOException - if the store already exists
IllegalArgumentException
ITree create(String storeName,
String storeType,
boolean readOnly)
throws IllegalArgumentException,
IOException
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
IOException - if the store already exists
IllegalArgumentException
ITree create(String storeName,
String storeType,
boolean readOnly,
boolean createNew)
throws IllegalArgumentException,
IOException
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
IOException - if the store already exists
IllegalArgumentException
ITree create(String storeName,
String storeType,
boolean readOnly,
boolean createNew,
String options)
throws IllegalArgumentException,
IOException
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
IOException - if the store already exists
IllegalArgumentException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||