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

Quick Search    Search Deep

com.eireneh.bible.book.jdbc
Class JDBCBibleUtil  view JDBCBibleUtil download JDBCBibleUtil.java

java.lang.Object
  extended bycom.eireneh.bible.book.jdbc.JDBCBibleUtil

public class JDBCBibleUtil
extends java.lang.Object

JDBCBible was getting a bit long winded, so I took all the static methods and parcled them off here.
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:
D0.I0.T0

Field Summary
protected static com.eireneh.util.Logger log
          The log stream
 
Constructor Summary
private JDBCBibleUtil()
          Ensure that we can't be instansiated
 
Method Summary
protected static java.lang.String chop(java.lang.String orig, java.lang.String start_delim, java.lang.String end_delim)
          Strips the text between a pair of delimitters.
protected static java.lang.String processText(java.lang.String text)
          Some fancy footwork we need to do to get rid of strongs numbers
protected static java.lang.String swapChar(java.lang.String orig, char x, char y)
          Removes a character from a String
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static com.eireneh.util.Logger log
The log stream

Constructor Detail

JDBCBibleUtil

private JDBCBibleUtil()
Ensure that we can't be instansiated

Method Detail

swapChar

protected static java.lang.String swapChar(java.lang.String orig,
                                           char x,
                                           char y)
Removes a character from a String


processText

protected static java.lang.String processText(java.lang.String text)
Some fancy footwork we need to do to get rid of strongs numbers


chop

protected static java.lang.String chop(java.lang.String orig,
                                       java.lang.String start_delim,
                                       java.lang.String end_delim)
Strips the text between a pair of delimitters. For example: chop("123(456)789", "(", ")") = "123789" Delimiters currently do not nest. So: chop("12(34(56)78)9", "(", ")") = Exception