10
10
import org.crosswire.jsword.util.Project;
13
* The AbstractBibleDriver class implements some of the BibleDriver
14
* methods, that various BibleDrivers may do in the same way.
16
* <table border='1' cellPadding='3' cellSpacing='0' width="100%">
17
* <tr><td bgColor='white'class='TableRowColor'><font size='-7'>
18
* Distribution Licence:<br />
19
* Project B is free software; you can redistribute it
20
* and/or modify it under the terms of the GNU General Public License,
21
* version 2 as published by the Free Software Foundation.<br />
22
* This program is distributed in the hope that it will be useful,
23
* but WITHOUT ANY WARRANTY; without even the implied warranty of
24
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
25
* General Public License for more details.<br />
26
* The License is available on the internet
27
* <a href='http://www.gnu.org/copyleft/gpl.html'>here</a>, by writing to
28
* <i>Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
29
* MA 02111-1307, USA</i>, Or locally at the Licence link below.<br />
30
* The copyright to this program is held by it's authors.
31
* </font></td></tr></table>
32
* @see <a href='http://www.eireneh.com/servlets/Web'>Project B Home</a>
33
* @see <{docs.Licence}>
13
* The AbstractBibleDriver class implements some of the BibleDriver
14
* methods, that various BibleDrivers may do in the same way.
16
* <p><table border='1' cellPadding='3' cellSpacing='0'>
17
* <tr><td bgColor='white' class='TableRowColor'><font size='-7'>
19
* Distribution Licence:<br />
20
* JSword is free software; you can redistribute it
21
* and/or modify it under the terms of the GNU General Public License,
22
* version 2 as published by the Free Software Foundation.<br />
23
* This program is distributed in the hope that it will be useful,
24
* but WITHOUT ANY WARRANTY; without even the implied warranty of
25
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
26
* General Public License for more details.<br />
27
* The License is available on the internet
28
* <a href='http://www.gnu.org/copyleft/gpl.html'>here</a>, or by writing to:
29
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
30
* MA 02111-1307, USA<br />
31
* The copyright to this program is held by it's authors.
32
* </font></td></tr></table>
34
* @author Joe Walker [joe at eireneh dot com]
37
37
public abstract class AbstractBibleDriver implements BibleDriver
40
* How many Bibles does this driver control?
41
* @return A count of the Bibles
40
* How many Bibles does this driver control?
41
* @return A count of the Bibles
43
43
public int countBibles()
45
45
return getBibleNames().length;