|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Method Summary | |
boolean |
canOpenForWriting(File name)
|
boolean |
canOpenForWriting(String name)
|
boolean |
databaseExists(File name)
|
boolean |
databaseExists(String name)
|
boolean |
databaseIsValid(File name)
|
boolean |
databaseIsValid(String name)
|
Database |
openDatabase(File name,
String mode)
This should open the specified database. |
Database |
openDatabase(File name,
String mode,
boolean ignoreInconsistentState)
This should open the specified database. |
Database |
openDatabase(String name,
String mode)
This should open the specified database. |
Database |
openDatabase(String name,
String mode,
boolean ignoreInconsistentState)
This should open the specified database. |
| Method Detail |
public Database openDatabase(String name,
String mode)
throws IOException
name - The name for the database (either with our without a file extension).mode - The mode for opening, either "r" or "rw" or "a".
IOException - if the database was not found or could not be opened or initialized.
public Database openDatabase(File name,
String mode)
throws IOException
name - A File object referring to the Database (either with our without a file extension).mode - The mode for opening, either "r" or "rw".
IOException - if the database was not found or could not be opened or initialized.
public Database openDatabase(String name,
String mode,
boolean ignoreInconsistentState)
throws IOException
name - The name for the database (either with our without a file extension).mode - The mode for opening, either "r" or "rw" or "a".
IOException - if the database was not found or could not be opened or initialized.
public Database openDatabase(File name,
String mode,
boolean ignoreInconsistentState)
throws IOException
name - A File object referring to the Database (either with our without a file extension).mode - The mode for opening, either "r" or "rw".
IOException - if the database was not found or could not be opened or initialized.public boolean databaseExists(String name)
public boolean databaseExists(File name)
public boolean databaseIsValid(String name)
public boolean databaseIsValid(File name)
public boolean canOpenForWriting(String name)
public boolean canOpenForWriting(File name)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||