com.ancientprogramming.fixedformat4j.format
Class FixedFormatUtil

java.lang.Object
  extended by com.ancientprogramming.fixedformat4j.format.FixedFormatUtil

public class FixedFormatUtil
extends java.lang.Object

Utility class used when loading and exporting to and from fixedformat data.

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

Constructor Summary
FixedFormatUtil()
           
 
Method Summary
static java.lang.String fetchData(java.lang.String record, FormatInstructions instructions, FormatContext context)
          Fetch data from the record string according to the FormatInstructions and FormatContext
static FixedFormatter getFixedFormatterInstance(java.lang.Class<? extends FixedFormatter> formatterClass, java.lang.Class paramType, FormatContext paramValue)
           
static FixedFormatter getFixedFormatterInstance(java.lang.Class<? extends FixedFormatter> formatterClass, FormatContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FixedFormatUtil

public FixedFormatUtil()
Method Detail

fetchData

public static java.lang.String fetchData(java.lang.String record,
                                         FormatInstructions instructions,
                                         FormatContext context)
Fetch data from the record string according to the FormatInstructions and FormatContext

Parameters:
record - the string to fetch from
instructions - the fixed
context -
Returns:

getFixedFormatterInstance

public static FixedFormatter getFixedFormatterInstance(java.lang.Class<? extends FixedFormatter> formatterClass,
                                                       FormatContext context)

getFixedFormatterInstance

public static FixedFormatter getFixedFormatterInstance(java.lang.Class<? extends FixedFormatter> formatterClass,
                                                       java.lang.Class paramType,
                                                       FormatContext paramValue)


Copyright © 2008 ancientprogramming.com. All Rights Reserved.