public static enum PadJustifyFieldSupport.Justify extends Enum<PadJustifyFieldSupport.Justify> implements FieldOption
Enum Constant and Description |
---|
CENTER
Center
|
LEFT
Left-justify
|
RIGHT
Right-justify
|
Modifier and Type | Method and Description |
---|---|
protected abstract InputStream |
getInputStream(byte[] src,
PadJustifyFieldSupport dest)
Get an InputStream for the specified parameters.
|
static PadJustifyFieldSupport.Justify |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PadJustifyFieldSupport.Justify[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PadJustifyFieldSupport.Justify LEFT
public static final PadJustifyFieldSupport.Justify RIGHT
public static final PadJustifyFieldSupport.Justify CENTER
public static PadJustifyFieldSupport.Justify[] values()
for (PadJustifyFieldSupport.Justify c : PadJustifyFieldSupport.Justify.values()) System.out.println(c);
public static PadJustifyFieldSupport.Justify valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullprotected abstract InputStream getInputStream(byte[] src, PadJustifyFieldSupport dest)
src
- byte[] valuedest
- PadJustifyFieldSupportCopyright © 2008-2016 The Apache Software Foundation. All Rights Reserved.