Package mil.nga.geopackage.user.custom
Class UserCustomTableReader
- java.lang.Object
-
- mil.nga.geopackage.user.UserTableReader<UserCustomColumn,UserCustomTable>
-
- mil.nga.geopackage.user.custom.UserCustomTableReader
-
public class UserCustomTableReader extends UserTableReader<UserCustomColumn,UserCustomTable>
Reads the metadata from an existing user custom table- Since:
- 3.3.0
- Author:
- osbornb
-
-
Constructor Summary
Constructors Constructor Description UserCustomTableReader(String tableName)
Constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected UserCustomColumn
createColumn(TableColumn tableColumn)
Create the columnprotected UserCustomTable
createTable(String tableName, List<UserCustomColumn> columnList)
Create the tablestatic UserCustomTable
readTable(GeoPackageCoreConnection connection, String tableName)
Read the table-
Methods inherited from class mil.nga.geopackage.user.UserTableReader
readTable
-
-
-
-
Constructor Detail
-
UserCustomTableReader
public UserCustomTableReader(String tableName)
Constructor- Parameters:
tableName
- table name
-
-
Method Detail
-
createTable
protected UserCustomTable createTable(String tableName, List<UserCustomColumn> columnList)
Create the table- Specified by:
createTable
in classUserTableReader<UserCustomColumn,UserCustomTable>
- Parameters:
tableName
- table namecolumnList
- column list- Returns:
- table
-
createColumn
protected UserCustomColumn createColumn(TableColumn tableColumn)
Create the column- Specified by:
createColumn
in classUserTableReader<UserCustomColumn,UserCustomTable>
- Parameters:
tableColumn
- table column- Returns:
- column
-
readTable
public static UserCustomTable readTable(GeoPackageCoreConnection connection, String tableName)
Read the table- Parameters:
connection
- GeoPackage connectiontableName
- table name- Returns:
- table
-
-