org.crosswire.jsword.passage
Class PassageUtil

java.lang.Object
  extended by org.crosswire.jsword.passage.PassageUtil

public class PassageUtil
extends Object

A Utility class containing various static methods.

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.

Version:
$Id: PassageUtil.java,v 1.33 2004/11/28 21:36:46 joe Exp $
Author:
Joe Walker [joe at eireneh dot com]
See Also:
Licence

Field Summary
private static boolean persistentNaming
          Do we store the original string?
 
Constructor Summary
private PassageUtil()
          Prevent Instansiation
 
Method Summary
static boolean getDefaultPersistentNaming()
          By default do we remember the original string used to configure us?
static boolean isPersistentNaming()
          Do we remember the original string used to configure us?
static void setPersistentNaming(boolean persistentNaming)
          Do we remember the original string used to configure us?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

persistentNaming

private static boolean persistentNaming
Do we store the original string?

Constructor Detail

PassageUtil

private PassageUtil()
Prevent Instansiation

Method Detail

setPersistentNaming

public static void setPersistentNaming(boolean persistentNaming)
Do we remember the original string used to configure us?

Parameters:
persistentNaming - True to keep the old string False (default) to generate a new better one

isPersistentNaming

public static boolean isPersistentNaming()
Do we remember the original string used to configure us?

Returns:
True if we keep the old string False (default) if we generate a new better one

getDefaultPersistentNaming

public static boolean getDefaultPersistentNaming()
By default do we remember the original string used to configure us?

Returns:
false getDefaultPersistentNaming() is always false

Copyright ? 2003-2004