water.parser
Class CustomParser.ParserSetup

java.lang.Object
  extended by water.Iced
      extended by water.parser.CustomParser.ParserSetup
All Implemented Interfaces:
java.lang.Cloneable, Freezable
Enclosing class:
CustomParser

public static class CustomParser.ParserSetup
extends Iced
implements java.lang.Cloneable


Field Summary
 java.lang.String[] _columnNames
           
 boolean _header
           
 int _ncols
           
 CustomParser.ParserType _pType
           
 byte _separator
           
 boolean _singleQuotes
           
 
Constructor Summary
  CustomParser.ParserSetup()
           
protected CustomParser.ParserSetup(CustomParser.ParserType t)
           
  CustomParser.ParserSetup(CustomParser.ParserType t, byte sep, boolean header)
           
  CustomParser.ParserSetup(CustomParser.ParserType t, byte sep, int ncolumns, boolean header, java.lang.String[] columnNames, boolean singleQuotes)
           
 
Method Summary
 CustomParser.ParserSetup clone()
           
 boolean isCompatible(CustomParser.ParserSetup other)
           
 CustomParser parser()
           
 java.lang.String toString()
           
 
Methods inherited from class water.Iced
frozenType, init, newInstance, read, toDocField, write, writeJSON, writeJSONFields
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_pType

public final CustomParser.ParserType _pType

_separator

public final byte _separator

_header

public boolean _header

_singleQuotes

public boolean _singleQuotes

_columnNames

public java.lang.String[] _columnNames

_ncols

public final int _ncols
Constructor Detail

CustomParser.ParserSetup

public CustomParser.ParserSetup()

CustomParser.ParserSetup

protected CustomParser.ParserSetup(CustomParser.ParserType t)

CustomParser.ParserSetup

public CustomParser.ParserSetup(CustomParser.ParserType t,
                                byte sep,
                                boolean header)

CustomParser.ParserSetup

public CustomParser.ParserSetup(CustomParser.ParserType t,
                                byte sep,
                                int ncolumns,
                                boolean header,
                                java.lang.String[] columnNames,
                                boolean singleQuotes)
Method Detail

clone

public CustomParser.ParserSetup clone()
Overrides:
clone in class Iced

isCompatible

public boolean isCompatible(CustomParser.ParserSetup other)

parser

public CustomParser parser()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object