com.ancientprogramming.fixedformat4j.format.impl
Class StringFormatter

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

public class StringFormatter
extends AbstractFixedFormatter<java.lang.String>

Formatter for String data

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

Constructor Summary
StringFormatter()
           
 
Method Summary
 java.lang.String asObject(java.lang.String string, FormatInstructions instructions)
           
 java.lang.String asString(java.lang.String string, 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

StringFormatter

public StringFormatter()
Method Detail

asObject

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

asString

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


Copyright © 2008 ancientprogramming.com. All Rights Reserved.