All Packages This Package Class Hierarchy Class Search Index
Class com.syncbuilder.storage.generic.DatabaseImpl
java.lang.Object
|
+----com.syncbuilder.storage.DatabaseImpl
|
+----com.syncbuilder.storage.generic.DatabaseImpl
public class DatabaseImpl
extends com.syncbuilder.storage.DatabaseImpl
{
// Constructors 2
public DatabaseImpl();
public DatabaseImpl(Char4, String);
// Methods 11
public AppBlock createAppBlock();
public AppBlock createAppBlock(byte[]);
public Pref createPref(byte[], int, int, boolean) throws NoCreatorException;
public Record createRecord();
public Record createRecord(byte[], RecordID, int, int, int);
public Resource createResource();
public Resource createResource(byte[], Char4, int, int);
public SortBlock createSortBlock();
public SortBlock createSortBlock(byte[]);
public Char4 getCreatorID();
public String getDBName();
}
This implementation of DatabaseImpl is not made for any specific application.
Its factory-methods will return generic implementations of the requested entities.
public DatabaseImpl()
public DatabaseImpl(Char4 creator,
String dbname)
public Record createRecord()
- Overrides:
- createRecord in class DatabaseImpl
public Record createRecord(byte[] contents,
RecordID id,
int index,
int attr,
int cat)
- Overrides:
- createRecord in class DatabaseImpl
public Resource createResource()
- Overrides:
- createResource in class DatabaseImpl
public Resource createResource(byte[] contents,
Char4 type,
int id,
int index)
- Overrides:
- createResource in class DatabaseImpl
public Pref createPref(byte[] contents,
int id,
int version,
boolean backup) throws NoCreatorException
- Overrides:
- createPref in class DatabaseImpl
public AppBlock createAppBlock()
- Overrides:
- createAppBlock in class DatabaseImpl
public AppBlock createAppBlock(byte[] contents)
- Overrides:
- createAppBlock in class DatabaseImpl
public SortBlock createSortBlock()
- Overrides:
- createSortBlock in class DatabaseImpl
public SortBlock createSortBlock(byte[] contents)
- Overrides:
- createSortBlock in class DatabaseImpl
public Char4 getCreatorID()
Get the creator ID of the database.
The creator ID is a unique four-letter ID which is used to link a database
to the application which created it.
- Overrides:
- getCreatorID in class DatabaseImpl
public String getDBName()
Get the name of the database.
The name can have up to 31 characters.
- Overrides:
- getDBName in class DatabaseImpl
All Packages This Package Class Hierarchy Class Search Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7