Class TLcdGeoPackageDataSource

java.lang.Object
com.luciad.format.sqlite.geopackage.TLcdGeoPackageDataSource
All Implemented Interfaces:
ILcdDataSource

public class TLcdGeoPackageDataSource extends Object implements ILcdDataSource
Data source for a single data set in a OGC GeoPackage file.

You can use TLcdGeoPackageModelDecoder.getDataSources(String) to retrieve all possible data sources for a single GeoPackage file.

You can use TLcdGeoPackageModelDecoder.decodeSource(com.luciad.model.ILcdDataSource) to create a model for an individual data source.

Since:
2013.1
  • Field Details

  • Method Details

    • getDescription

      public String getDescription()
      Description copied from interface: ILcdDataSource
      Returns a string description of the data source. This will typically be used in a GUI, or in error and warning messages.
      Specified by:
      getDescription in interface ILcdDataSource
      Returns:
      a String describing the data source.
    • getDataType

      public String getDataType()
      Returns the type of the data this data source refers to.
      Returns:
      The type of data, never null
    • getSource

      public String getSource()
      Returns the filename of the GeoPackage file this data source refers to
      Returns:
      The filename of the GeoPackage file this data source refers to, never null
    • getTableName

      public String getTableName()
      Returns the table in the GeoPackage file this data source refers to
      Returns:
      The table in the GeoPackage file this data source refers to, never null
    • getExtensions

      public Set<TLcdGeoPackageExtension> getExtensions()
      Returns the set of GeoPackage extensions (possibly empty) that applies to this data source.
      Returns:
      the list of applicable extensions
    • isSupported

      public boolean isSupported()
      Determines if the given data source can be decoded by LuciadLightspeed or not
      Returns:
      true if the given data source is supported; false otherwise
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object