Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.eireneh.bible.book
Class AbstractBibleDriver  view AbstractBibleDriver download AbstractBibleDriver.java

java.lang.Object
  extended bycom.eireneh.bible.book.AbstractBibleDriver
All Implemented Interfaces:
BibleDriver

public abstract class AbstractBibleDriver
extends java.lang.Object
implements BibleDriver

The AbstractBibleDriver class implements some of the BibleDriver methods, that various BibleDrivers may do in the same way.
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.

Version:
D2.I6.T6

Constructor Summary
AbstractBibleDriver()
           
 
Method Summary
 int countBibles()
          How many Bibles does this driver control?
 void deleteBible(java.lang.String name)
          Directory deletion is not implemented yet because it is very easy to do manually, and because I am not 100% sure that we should not have the dirver do it for us.
 void renameBible(java.lang.String old_name, java.lang.String new_name)
          Directory renaming is not implemented yet because it is very easy to do manually, and because I am not 100% sure that we should not have the dirver do it for us.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.eireneh.bible.book.BibleDriver
createBible, exists, getBible, getBibleNames, getDriverName
 

Constructor Detail

AbstractBibleDriver

public AbstractBibleDriver()
Method Detail

countBibles

public int countBibles()
How many Bibles does this driver control?

Specified by:
countBibles in interface BibleDriver

renameBible

public void renameBible(java.lang.String old_name,
                        java.lang.String new_name)
                 throws BookException
Directory renaming is not implemented yet because it is very easy to do manually, and because I am not 100% sure that we should not have the dirver do it for us.

Specified by:
renameBible in interface BibleDriver

deleteBible

public void deleteBible(java.lang.String name)
                 throws BookException
Directory deletion is not implemented yet because it is very easy to do manually, and because I am not 100% sure that we should not have the dirver do it for us.

Specified by:
deleteBible in interface BibleDriver