org.hrodberaht.i18n.formatter
Class BooleanFormatter

java.lang.Object
  extended by org.hrodberaht.i18n.formatter.Formatter
      extended by org.hrodberaht.i18n.formatter.BooleanFormatter

public class BooleanFormatter
extends Formatter

Simple Java Utils

Since:
1.0
Version:
1.0
Author:
Robert Alexandersson

Field Summary
static java.lang.String BOOLEAN_FALSE
           
static java.lang.String BOOLEAN_TRUE
           
 
Fields inherited from class org.hrodberaht.i18n.formatter.Formatter
locale
 
Constructor Summary
BooleanFormatter()
           
 
Method Summary
 java.lang.Object convertToObject(java.lang.String target)
           
 java.lang.String convertToString(java.lang.Object target)
           
 
Methods inherited from class org.hrodberaht.i18n.formatter.Formatter
getFormatter, getFormatter, isSupportedType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BOOLEAN_TRUE

public static final java.lang.String BOOLEAN_TRUE
See Also:
Constant Field Values

BOOLEAN_FALSE

public static final java.lang.String BOOLEAN_FALSE
See Also:
Constant Field Values
Constructor Detail

BooleanFormatter

public BooleanFormatter()
Method Detail

convertToObject

public java.lang.Object convertToObject(java.lang.String target)
Overrides:
convertToObject in class Formatter

convertToString

public java.lang.String convertToString(java.lang.Object target)
Overrides:
convertToString in class Formatter


Copyright © 2010. All Rights Reserved.