Class FieldSource

  • All Implemented Interfaces:
    IDataSource

    public class FieldSource
    extends java.lang.Object
    implements IDataSource
    • Field Detail

      • EMPTY_OBJECT_ARRAY

        protected static final java.lang.Object[] EMPTY_OBJECT_ARRAY
      • EMPTY_STRING_ARRAY

        protected static final java.lang.String[] EMPTY_STRING_ARRAY
      • fieldName

        protected final java.lang.String fieldName
      • regExpPattern

        protected final java.util.regex.Pattern regExpPattern
      • groupNumber

        protected final int groupNumber
      • caseSpecifier

        protected final int caseSpecifier
      • cachedValue

        protected java.lang.String[] cachedValue
    • Constructor Detail

      • FieldSource

        public FieldSource​(FieldDataFactory rd,
                           java.lang.String fieldName,
                           java.lang.String regExp,
                           java.lang.String groupNumber)
                    throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
        Throws:
        org.apache.manifoldcf.core.interfaces.ManifoldCFException
    • Method Detail

      • getSize

        public int getSize()
                    throws java.io.IOException,
                           org.apache.manifoldcf.core.interfaces.ManifoldCFException
        Specified by:
        getSize in interface IDataSource
        Throws:
        java.io.IOException
        org.apache.manifoldcf.core.interfaces.ManifoldCFException
      • getRawForm

        public java.lang.Object[] getRawForm()
                                      throws java.io.IOException,
                                             org.apache.manifoldcf.core.interfaces.ManifoldCFException
        Specified by:
        getRawForm in interface IDataSource
        Throws:
        java.io.IOException
        org.apache.manifoldcf.core.interfaces.ManifoldCFException
      • getStringForm

        public java.lang.String[] getStringForm()
                                         throws java.io.IOException,
                                                org.apache.manifoldcf.core.interfaces.ManifoldCFException
        Specified by:
        getStringForm in interface IDataSource
        Throws:
        java.io.IOException
        org.apache.manifoldcf.core.interfaces.ManifoldCFException
      • calculateExtractedResult

        protected java.lang.String[] calculateExtractedResult()
                                                       throws java.io.IOException,
                                                              org.apache.manifoldcf.core.interfaces.ManifoldCFException
        Throws:
        java.io.IOException
        org.apache.manifoldcf.core.interfaces.ManifoldCFException