Class TableSpec.CSVSpec

java.lang.Object
ca.spatial.table.TableSpec
ca.spatial.table.TableSpec.CSVSpec
Enclosing class:
TableSpec

public static class TableSpec.CSVSpec extends TableSpec
This specification will describe a CSVStore table.

The syntax for this specification is


 CSV {filename} {encoding}?
 
If the filename ends with csv and the default encoding is being use then the specification returned is simply the filename.
  • Constructor Details

    • CSVSpec

      public CSVSpec(String filename)
      Create a CSVSpec with default encoding
      Parameters:
      filename - the filename
    • CSVSpec

      public CSVSpec(String filename, String encoding)
      Create a CSVSpec with explicit encoding
      Parameters:
      filename - the filename
      encoding - the required encoding, may be null for default encoding
  • Method Details