|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jcon.text.FixedLengthFieldPicture
public abstract class FixedLengthFieldPicture
A "picture", or format description, for a fixed-width field.
| Field Summary | |
|---|---|
protected java.lang.String |
blank
|
| Constructor Summary | |
|---|---|
FixedLengthFieldPicture()
Create a new, blank picture. |
|
FixedLengthFieldPicture(int length)
Create a new, picture of the given length |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected transient java.lang.String blank
| Constructor Detail |
|---|
public FixedLengthFieldPicture()
public FixedLengthFieldPicture(int length)
| Method Detail |
|---|
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)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||