public abstract class PadJustifyFieldSupport extends FieldSupport
| Modifier and Type | Class and Description |
|---|---|
static class |
PadJustifyFieldSupport.Justify
Justify enumerated type.
|
FieldSupport.Overflow, FieldSupport.Underflow| Modifier and Type | Field and Description |
|---|---|
static byte |
DEFAULT_PAD
Default pad.
|
| Constructor and Description |
|---|
PadJustifyFieldSupport() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
dieOnExceptionReadclone, fill, getValue, setValuepublic static final byte DEFAULT_PAD
public PadJustifyFieldSupport()
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()
Copyright © 2008-2016 The Apache Software Foundation. All Rights Reserved.