Class CSVReaderFormat.Par

  • All Implemented Interfaces:
    Parameterizer
    Enclosing class:
    CSVReaderFormat

    public static class CSVReaderFormat.Par
    extends java.lang.Object
    implements Parameterizer
    Parameterization class.
    Author:
    Erich Schubert
    • Field Detail

      • COMMENT_ID

        public static final OptionID COMMENT_ID
        Comment pattern.
      • colSep

        protected java.util.regex.Pattern colSep
        Stores the column separator pattern
      • quoteChars

        protected java.lang.String quoteChars
        Stores the quotation character
      • comment

        protected java.util.regex.Pattern comment
        Comment pattern.
    • Constructor Detail

      • Par

        public Par()
    • Method Detail

      • configure

        public void configure​(Parameterization config)
        Description copied from interface: Parameterizer
        Configure the class.

        Note: the status is collected by the parameterization object, so that multiple errors may arise and be reported in one run.

        Specified by:
        configure in interface Parameterizer
        Parameters:
        config - Parameterization
      • make

        public CSVReaderFormat make()
        Description copied from interface: Parameterizer
        Make an instance after successful configuration.

        Note: your class should return the exact type, only this very broad interface should use Object as return type.

        Specified by:
        make in interface Parameterizer
        Returns:
        a new instance