public class InputFilteringDynamicField extends DynamicField
DynamicField.BoundsPadJustifyFieldSupport.JustifyFieldSupport.Overflow, FieldSupport.UnderflowDEFAULT_PAD| Constructor and Description |
|---|
InputFilteringDynamicField()
Create a new InputFilteringDynamicField.
|
InputFilteringDynamicField(DynamicField.Bounds bounds)
Create a new InputFilteringDynamicField.
|
InputFilteringDynamicField(DynamicField.Bounds bounds,
FilterFactory filterFactory)
Create a new InputFilteringDynamicField.
|
InputFilteringDynamicField(FilterFactory filterFactory)
Create a new InputFilteringDynamicField.
|
| Modifier and Type | Method and Description |
|---|---|
FilterFactory |
getFilterFactory()
Get the filterFactory.
|
void |
readFrom(InputStream is)
Read up to
maximumLength bytes from the specified InputStream or stop at EOF. |
void |
setFilterFactory(FilterFactory filterFactory)
Set the filterFactory.
|
clone, equals, getBounds, getOverflow, getPadJustifyLength, getUnderflow, getValue, hashCode, iSetValue, length, setBounds, setOverflow, setUnderflow, setValue, writeTogetJustify, getPad, setJustify, setPaddieOnExceptionReadfill, getValue, setValuepublic InputFilteringDynamicField()
public InputFilteringDynamicField(FilterFactory filterFactory)
filterFactory - to filter inputpublic InputFilteringDynamicField(DynamicField.Bounds bounds)
bounds - field boundspublic InputFilteringDynamicField(DynamicField.Bounds bounds, FilterFactory filterFactory)
bounds - field boundsfilterFactory - to filter inputpublic void readFrom(InputStream is) throws IOException
maximumLength bytes from the specified InputStream or stop at EOF. This will rarely be
what you want. Instead, consider using InputFilteringDynamicField. In the case that <
minimumLength bytes are available from is the justify and
pad options come into play.readFrom in interface EntityreadFrom in class DynamicFieldis - the InputStream from which to read data.IOException - on problems with I/O, duh...public FilterFactory getFilterFactory()
public void setFilterFactory(FilterFactory filterFactory)
filterFactory - the FilterFactory filterFactory to setCopyright © 2008-2016 The Apache Software Foundation. All Rights Reserved.