|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ancientprogramming.fixedformat4j.format.AbstractFixedFormatter<T>
com.ancientprogramming.fixedformat4j.format.impl.AbstractNumberFormatter<T>
public abstract class AbstractNumberFormatter<T>
Apply signing to values
| Constructor Summary | |
|---|---|
AbstractNumberFormatter()
|
|
| Method Summary | |
|---|---|
java.lang.String |
format(T obj,
FormatInstructions instructions)
Override and applies signing instead of align. |
T |
parse(java.lang.String value,
FormatInstructions instructions)
Override and applies signing instead of align. |
| Methods inherited from class com.ancientprogramming.fixedformat4j.format.AbstractFixedFormatter |
|---|
asObject, asString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractNumberFormatter()
| Method Detail |
|---|
public T parse(java.lang.String value,
FormatInstructions instructions)
parse in interface FixedFormatter<T>parse in class AbstractFixedFormatter<T>value - the valueinstructions - the instructions
public java.lang.String format(T obj,
FormatInstructions instructions)
format in interface FixedFormatter<T>format in class AbstractFixedFormatter<T>obj - the object to formatinstructions - the instructions
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||