|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.flatfile.EntitySupport
org.apache.commons.flatfile.FieldSupport
org.apache.commons.flatfile.PadJustifyFieldSupport
public abstract class PadJustifyFieldSupport
Support for fields with pad/justify.
| Nested Class Summary | |
|---|---|
static class |
PadJustifyFieldSupport.Justify
Justify enumerated type. |
| Nested classes/interfaces inherited from class org.apache.commons.flatfile.FieldSupport |
|---|
FieldSupport.Overflow, FieldSupport.Underflow |
| Constructor Summary | |
|---|---|
PadJustifyFieldSupport()
|
|
| Method Summary | |
|---|---|
PadJustifyFieldSupport.Justify |
getJustify()
Get the justify. |
byte |
getPad()
Get the pad. |
protected abstract int |
getPadJustifyLength()
Provide the desired target length for padding/justification actions. |
void |
setJustify(PadJustifyFieldSupport.Justify justify)
Set the justify. |
void |
setPad(byte pad)
Set the pad. |
void |
setValue(byte[] b)
Implement pad/justify. |
| Methods inherited from class org.apache.commons.flatfile.FieldSupport |
|---|
dieOnExceptionRead |
| Methods inherited from class org.apache.commons.flatfile.EntitySupport |
|---|
clone, fill, getValue, setValue |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.commons.flatfile.Entity |
|---|
getValue, length, readFrom, writeTo |
| Constructor Detail |
|---|
public PadJustifyFieldSupport()
| Method Detail |
|---|
public PadJustifyFieldSupport.Justify getJustify()
public void setJustify(PadJustifyFieldSupport.Justify justify)
justify - Justifypublic byte getPad()
public void setPad(byte pad)
pad - bytepublic void setValue(byte[] b)
b - value setprotected abstract int getPadJustifyLength()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||