public class FieldSource extends Object implements IDataSource
Modifier and Type | Field and Description |
---|---|
protected String[] |
cachedValue |
protected static int |
CASE_EXACT |
protected static int |
CASE_LOWER |
protected static int |
CASE_UPPER |
protected int |
caseSpecifier |
protected static Object[] |
EMPTY_OBJECT_ARRAY |
protected static String[] |
EMPTY_STRING_ARRAY |
protected String |
fieldName |
protected int |
groupNumber |
protected FieldDataFactory |
rd |
protected Pattern |
regExpPattern |
Constructor and Description |
---|
FieldSource(FieldDataFactory rd,
String fieldName,
String regExp,
String groupNumber) |
Modifier and Type | Method and Description |
---|---|
protected String[] |
calculateExtractedResult() |
Object[] |
getRawForm() |
int |
getSize() |
String[] |
getStringForm() |
protected static final int CASE_EXACT
protected static final int CASE_LOWER
protected static final int CASE_UPPER
protected static final Object[] EMPTY_OBJECT_ARRAY
protected static final String[] EMPTY_STRING_ARRAY
protected final FieldDataFactory rd
protected final String fieldName
protected final Pattern regExpPattern
protected final int groupNumber
protected final int caseSpecifier
protected String[] cachedValue
public FieldSource(FieldDataFactory rd, String fieldName, String regExp, String groupNumber) throws ManifoldCFException
ManifoldCFException
public int getSize() throws IOException, ManifoldCFException
getSize
in interface IDataSource
IOException
ManifoldCFException
public Object[] getRawForm() throws IOException, ManifoldCFException
getRawForm
in interface IDataSource
IOException
ManifoldCFException
public String[] getStringForm() throws IOException, ManifoldCFException
getStringForm
in interface IDataSource
IOException
ManifoldCFException
protected String[] calculateExtractedResult() throws IOException, ManifoldCFException
IOException
ManifoldCFException