public class FieldSource extends java.lang.Object implements IDataSource
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String[] |
cachedValue |
protected static int |
CASE_EXACT |
protected static int |
CASE_LOWER |
protected static int |
CASE_UPPER |
protected int |
caseSpecifier |
protected static java.lang.Object[] |
EMPTY_OBJECT_ARRAY |
protected static java.lang.String[] |
EMPTY_STRING_ARRAY |
protected java.lang.String |
fieldName |
protected int |
groupNumber |
protected FieldDataFactory |
rd |
protected java.util.regex.Pattern |
regExpPattern |
| Constructor and Description |
|---|
FieldSource(FieldDataFactory rd,
java.lang.String fieldName,
java.lang.String regExp,
java.lang.String groupNumber) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String[] |
calculateExtractedResult() |
java.lang.Object[] |
getRawForm() |
int |
getSize() |
java.lang.String[] |
getStringForm() |
protected static final int CASE_EXACT
protected static final int CASE_LOWER
protected static final int CASE_UPPER
protected static final java.lang.Object[] EMPTY_OBJECT_ARRAY
protected static final java.lang.String[] EMPTY_STRING_ARRAY
protected final FieldDataFactory rd
protected final java.lang.String fieldName
protected final java.util.regex.Pattern regExpPattern
protected final int groupNumber
protected final int caseSpecifier
protected java.lang.String[] cachedValue
public FieldSource(FieldDataFactory rd, java.lang.String fieldName, java.lang.String regExp, java.lang.String groupNumber) throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionpublic int getSize()
throws java.io.IOException,
org.apache.manifoldcf.core.interfaces.ManifoldCFException
getSize in interface IDataSourcejava.io.IOExceptionorg.apache.manifoldcf.core.interfaces.ManifoldCFExceptionpublic java.lang.Object[] getRawForm()
throws java.io.IOException,
org.apache.manifoldcf.core.interfaces.ManifoldCFException
getRawForm in interface IDataSourcejava.io.IOExceptionorg.apache.manifoldcf.core.interfaces.ManifoldCFExceptionpublic java.lang.String[] getStringForm()
throws java.io.IOException,
org.apache.manifoldcf.core.interfaces.ManifoldCFException
getStringForm in interface IDataSourcejava.io.IOExceptionorg.apache.manifoldcf.core.interfaces.ManifoldCFExceptionprotected java.lang.String[] calculateExtractedResult()
throws java.io.IOException,
org.apache.manifoldcf.core.interfaces.ManifoldCFException
java.io.IOExceptionorg.apache.manifoldcf.core.interfaces.ManifoldCFException