wt.util
Class WTStandardBooleanFormat

java.lang.Object
  extended bywt.util.WTStandardBooleanFormat

public class WTStandardBooleanFormat
extends Object


Field Summary
private static String RESOURCE
           
static int TRUEFALSE_STANDARD_BOOLEAN_FORMAT
           
private static String versionID
           
static int YESNO_STANDARD_BOOLEAN_FORMAT
           
 
Constructor Summary
WTStandardBooleanFormat()
          No-arg constructor.
 
Method Summary
static String format(Boolean flag)
           
static String format(Boolean flag, int formatType)
           
static String format(boolean flag, int formatType, Locale locale)
           
static String format(Boolean flag, int formatType, Locale locale)
           
static String format(Boolean flag, Locale locale)
           
static String trueFalseFormat(Boolean flag)
           
static String trueFalseFormat(Boolean flag, Locale locale)
           
static String yesNoFormat(Boolean flag)
           
static String yesNoFormat(Boolean flag, Locale locale)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versionID

private static final String versionID
See Also:
Constant Field Values

RESOURCE

private static String RESOURCE

YESNO_STANDARD_BOOLEAN_FORMAT

public static int YESNO_STANDARD_BOOLEAN_FORMAT

TRUEFALSE_STANDARD_BOOLEAN_FORMAT

public static int TRUEFALSE_STANDARD_BOOLEAN_FORMAT
Constructor Detail

WTStandardBooleanFormat

public WTStandardBooleanFormat()
No-arg constructor.

Method Detail

format

public static String format(boolean flag,
                            int formatType,
                            Locale locale)

format

public static String format(Boolean flag,
                            int formatType,
                            Locale locale)

format

public static String format(Boolean flag,
                            int formatType)

format

public static String format(Boolean flag,
                            Locale locale)

format

public static String format(Boolean flag)

yesNoFormat

public static String yesNoFormat(Boolean flag,
                                 Locale locale)

yesNoFormat

public static String yesNoFormat(Boolean flag)

trueFalseFormat

public static String trueFalseFormat(Boolean flag,
                                     Locale locale)

trueFalseFormat

public static String trueFalseFormat(Boolean flag)