com.ancientprogramming.fixedformat4j.format.impl
Class BooleanFormatter

java.lang.Object
  extended by com.ancientprogramming.fixedformat4j.format.AbstractFixedFormatter<java.lang.Boolean>
      extended by com.ancientprogramming.fixedformat4j.format.impl.BooleanFormatter
All Implemented Interfaces:
FixedFormatter<java.lang.Boolean>

public class BooleanFormatter
extends AbstractFixedFormatter<java.lang.Boolean>

Formatter for Boolean data

Since:
1.0.0
Author:
Jacob von Eyben - http://www.ancientprogramming.com

Constructor Summary
BooleanFormatter()
           
 
Method Summary
 java.lang.Boolean asObject(java.lang.String string, FormatInstructions instructions)
           
 java.lang.String asString(java.lang.Boolean obj, FormatInstructions instructions)
           
 
Methods inherited from class com.ancientprogramming.fixedformat4j.format.AbstractFixedFormatter
format, parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanFormatter

public BooleanFormatter()
Method Detail

asObject

public java.lang.Boolean asObject(java.lang.String string,
                                  FormatInstructions instructions)
                           throws FixedFormatException
Specified by:
asObject in class AbstractFixedFormatter<java.lang.Boolean>
Throws:
FixedFormatException

asString

public java.lang.String asString(java.lang.Boolean obj,
                                 FormatInstructions instructions)
Specified by:
asString in class AbstractFixedFormatter<java.lang.Boolean>


Copyright © 2008 ancientprogramming.com. All Rights Reserved.