|
|||||||||
| Home >> All >> com >> eireneh >> bible >> book >> [ ser overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.eireneh.bible.book.ser
Class SerBibleDriver

java.lang.Objectcom.eireneh.bible.book.AbstractBibleDriver
com.eireneh.bible.book.ser.SerBibleDriver
- All Implemented Interfaces:
- com.eireneh.bible.book.BibleDriver
- public class SerBibleDriver
- extends com.eireneh.bible.book.AbstractBibleDriver
This represents all of the SerBibles.
|
Distribution Licence: Project B is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. The License is available on the internet here, by writing to Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA, Or locally at the Licence link below. The copyright to this program is held by it's authors. |
| Nested Class Summary | |
(package private) static class |
SerBibleDriver.CustomFilenameFilter
Check that the directories in the version directory really represent versions. |
| Field Summary | |
private java.net.URL |
dir
The directory URL |
protected static SerBibleDriver |
driver
The singleton driver |
protected static com.eireneh.util.Logger |
log
The log stream |
| Constructor Summary | |
private |
SerBibleDriver()
Some basic driver initialization |
| Method Summary | |
com.eireneh.bible.book.Bible |
createBible(java.lang.String name)
Create a new blank Bible read for writing |
void |
deleteBible(java.lang.String name)
Delete the set of files that make up this version. |
private void |
deleteFileURL(java.net.URL home,
java.lang.String name,
java.lang.StringBuffer errors)
Convenience file delete and check routine. |
boolean |
exists(java.lang.String name)
Does the named Bible exist? |
com.eireneh.bible.book.Bible |
getBible(java.lang.String name)
Featch a currently existing Bible, read-only |
java.lang.String[] |
getBibleNames()
Get a list of the Books available from the driver |
java.lang.String |
getDriverName()
Some basic info about who we are |
void |
renameBible(java.lang.String old_name,
java.lang.String new_name)
Rename this version |
| Methods inherited from class com.eireneh.bible.book.AbstractBibleDriver |
countBibles |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
dir
private java.net.URL dir
- The directory URL
driver
protected static SerBibleDriver driver
- The singleton driver
log
protected static com.eireneh.util.Logger log
- The log stream
| Constructor Detail |
SerBibleDriver
private SerBibleDriver()
throws java.net.MalformedURLException
- Some basic driver initialization
| Method Detail |
getDriverName
public java.lang.String getDriverName()
- Some basic info about who we are
getBibleNames
public java.lang.String[] getBibleNames() throws com.eireneh.bible.book.BookException
- Get a list of the Books available from the driver
exists
public boolean exists(java.lang.String name)
- Does the named Bible exist?
getBible
public com.eireneh.bible.book.Bible getBible(java.lang.String name) throws com.eireneh.bible.book.BookException
- Featch a currently existing Bible, read-only
createBible
public com.eireneh.bible.book.Bible createBible(java.lang.String name) throws com.eireneh.bible.book.BookException
- Create a new blank Bible read for writing
renameBible
public void renameBible(java.lang.String old_name, java.lang.String new_name) throws com.eireneh.bible.book.BookException
- Rename this version
deleteBible
public void deleteBible(java.lang.String name) throws com.eireneh.bible.book.BookException
- Delete the set of files that make up this version.
deleteFileURL
private void deleteFileURL(java.net.URL home, java.lang.String name, java.lang.StringBuffer errors) throws java.io.IOException
- Convenience file delete and check routine.
|
|||||||||
| Home >> All >> com >> eireneh >> bible >> book >> [ ser overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC