|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.crosswire.jsword.book.DataPolice
public class DataPolice
When we can't convert some source data then the user doesn't really care and just wants it to work, but it would be good to have some way to get the problems fixed, so as a start point we report them through this class.
Distribution Licence: JSword 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, or by writing to: Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA The copyright to this program is held by it's authors. |
Licence
Field Summary | |
---|---|
private static BookMetaData |
bmd
The last known Book |
private static Key |
key
the last known verse |
protected static Logger |
log
The log stream |
Constructor Summary | |
---|---|
private |
DataPolice()
Prevent instansiation |
Method Summary | |
---|---|
static void |
report(String message)
Report a message against the current verse |
static void |
setBook(BookMetaData bmd)
Set the current book to enhance error reports |
static void |
setKey(Key key)
Set the current verse to enhance error reports |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static Key key
private static BookMetaData bmd
protected static final Logger log
Constructor Detail |
---|
private DataPolice()
Method Detail |
---|
public static void setBook(BookMetaData bmd)
public static void setKey(Key key)
public static void report(String message)
|
Copyright ? 2003-2004 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |