public abstract class FixedLengthFieldPicture
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
blank |
| Constructor and Description |
|---|
FixedLengthFieldPicture()
Create a new, blank picture.
|
FixedLengthFieldPicture(int length)
Create a new, picture of the given length
|
| Modifier and Type | Method and Description |
|---|---|
abstract char[] |
format(java.lang.Object value)
Return a character array holding the formatted value corresponding to the
provided object.
|
int |
getLength() |
void |
setLength(int newlength) |
abstract java.lang.Object |
unformat(java.lang.String fieldContents)
Return an object corresponding to the value of a string in this picture's
format.
|
public FixedLengthFieldPicture()
public FixedLengthFieldPicture(int length)
public abstract char[] format(java.lang.Object value)
public abstract java.lang.Object unformat(java.lang.String fieldContents)
public int getLength()
public void setLength(int newlength)