Package ca.spatial.table
Class TableSpec.DBaseSpec
java.lang.Object
ca.spatial.table.TableSpec
ca.spatial.table.TableSpec.DBaseSpec
- Enclosing class:
- TableSpec
This specification will describe a
DBaseAttributeStore
table.
The syntax for this specification is
DBase {filename} {encoding}?
If the filename ends with dbf
and the default encoding
is being use then the specification returned is simply the
filename.-
Nested Class Summary
Nested classes/interfaces inherited from class ca.spatial.table.TableSpec
TableSpec.AppendSpec, TableSpec.CoverageSpec, TableSpec.CrosstabSpec, TableSpec.CSVSpec, TableSpec.DBaseSpec, TableSpec.ExcelSpec, TableSpec.FlattenSpec, TableSpec.InfoSpec, TableSpec.JDBCSpec, TableSpec.RamAttributeStoreSpec, TableSpec.RelationSpec, TableSpec.ShapefileSpec, TableSpec.SnapshotSpec, TableSpec.SummarySpec, TableSpec.TransposePeriodSpec, TableSpec.TransposeRowSpec, TableSpec.TransposeSpec, TableSpec.VirtualSpec
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ca.spatial.table.TableSpec
decode, equals, isDefaultEncoding, isGeoRelational, isPlain, open, open, quoteExprIfRequired, quoteIfRequired, toString
-
Constructor Details
-
DBaseSpec
Create a DBaseSpec with default encoding- Parameters:
filename
- the filename
-
DBaseSpec
Create a DBaseSpec with explicit encoding- Parameters:
filename
- the filenameencoding
- the required encoding, may be null for default encoding
-
-
Method Details
-
getFlavour
Description copied from class:TableSpec
Get the type of table described by thisTableSpec
.- Specified by:
getFlavour
in classTableSpec
-
getEncoding
-
getTableName
Description copied from class:TableSpec
Get the name of the table described by thisTableSpec
.- Specified by:
getTableName
in classTableSpec
-
getCanonicalName
Description copied from class:TableSpec
Get the unique and unequivocal identifier for thisTableSpec
.- Overrides:
getCanonicalName
in classTableSpec
-
open
Description copied from class:TableSpec
Open the data table described by thisTableSpec
.
-