com.ancientprogramming.fixedformat4j.format
Class FormatContext<T>
java.lang.Object
com.ancientprogramming.fixedformat4j.format.FormatContext<T>
public class FormatContext<T>
- extends java.lang.Object
Contains context for loading and exporting fixedformat data.
The context describes what kind of formatter to use, what datatype to convert and what offset to fetch data from.
- Since:
- 1.0.0
- Author:
- Jacob von Eyben - http://www.ancientprogramming.com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FormatContext
public FormatContext(int offset,
java.lang.Class<T> dataType,
java.lang.Class<? extends FixedFormatter> formatter)
getOffset
public int getOffset()
getDataType
public java.lang.Class<T> getDataType()
getFormatter
public java.lang.Class<? extends FixedFormatter> getFormatter()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2008 ancientprogramming.com. All Rights Reserved.