org.crosswire.jsword.passage
Class PassageUtil

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

public final class PassageUtil
extends Object

A Utility class containing various static methods.

Author:
Joe Walker [joe at eireneh dot com]
See Also:
for license details. The copyright to this program is held by it's authors.

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-2007