Package mil.nga.geopackage.property
Class GeoPackageProperties
- java.lang.Object
-
- mil.nga.geopackage.property.GeoPackageProperties
-
public class GeoPackageProperties extends Object
GeoPackage property loader- Author:
- osbornb
-
-
Constructor Summary
Constructors Constructor Description GeoPackageProperties()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
buildProperty(String... properties)
Build a combined property separated byPropertyConstants.PROPERTY_DIVIDER
static Boolean
getBooleanProperty(boolean required, String... properties)
Get a boolean property by property partsstatic boolean
getBooleanProperty(String key)
Get a required boolean by keystatic boolean
getBooleanProperty(String... properties)
Get a required boolean property by property partsstatic Boolean
getBooleanProperty(String key, boolean required)
Get a boolean by keystatic Float
getFloatProperty(boolean required, String... properties)
Get a float property by property partsstatic float
getFloatProperty(String key)
Get a required float by keystatic float
getFloatProperty(String... properties)
Get a required float property by property partsstatic Float
getFloatProperty(String key, boolean required)
Get a float by keystatic Integer
getIntegerProperty(boolean required, String... properties)
Get an integer property by property partsstatic int
getIntegerProperty(String key)
Get a required integer property by keystatic int
getIntegerProperty(String... properties)
Get a required integer property by property partsstatic Integer
getIntegerProperty(String key, boolean required)
Get an integer property by keystatic String
getProperty(boolean required, String... properties)
Get a property by property partsstatic String
getProperty(String key)
Get a required property by keystatic String
getProperty(String... properties)
Get a required property by property partsstatic String
getProperty(String key, boolean required)
Get a property by key
-
-
-
Method Detail
-
getProperty
public static String getProperty(String key)
Get a required property by key- Parameters:
key
- key- Returns:
- value
-
getProperty
public static String getProperty(String key, boolean required)
Get a property by key- Parameters:
key
- keyrequired
- true if required- Returns:
- value
-
getProperty
public static String getProperty(String... properties)
Get a required property by property parts- Parameters:
properties
- property parts- Returns:
- value
- Since:
- 4.0.0
-
getProperty
public static String getProperty(boolean required, String... properties)
Get a property by property parts- Parameters:
required
- true if requiredproperties
- property parts- Returns:
- value
- Since:
- 4.0.0
-
getIntegerProperty
public static int getIntegerProperty(String key)
Get a required integer property by key- Parameters:
key
- key- Returns:
- integer value
-
getIntegerProperty
public static Integer getIntegerProperty(String key, boolean required)
Get an integer property by key- Parameters:
key
- keyrequired
- true if required- Returns:
- integer value
-
getIntegerProperty
public static int getIntegerProperty(String... properties)
Get a required integer property by property parts- Parameters:
properties
- property parts- Returns:
- integer value
- Since:
- 4.0.0
-
getIntegerProperty
public static Integer getIntegerProperty(boolean required, String... properties)
Get an integer property by property parts- Parameters:
required
- true if requiredproperties
- property parts- Returns:
- integer value
- Since:
- 4.0.0
-
getFloatProperty
public static float getFloatProperty(String key)
Get a required float by key- Parameters:
key
- key- Returns:
- float value
-
getFloatProperty
public static Float getFloatProperty(String key, boolean required)
Get a float by key- Parameters:
key
- keyrequired
- true if required- Returns:
- float value
-
getFloatProperty
public static float getFloatProperty(String... properties)
Get a required float property by property parts- Parameters:
properties
- property parts- Returns:
- float value
- Since:
- 4.0.0
-
getFloatProperty
public static Float getFloatProperty(boolean required, String... properties)
Get a float property by property parts- Parameters:
required
- true if requiredproperties
- property parts- Returns:
- float value
- Since:
- 4.0.0
-
getBooleanProperty
public static boolean getBooleanProperty(String key)
Get a required boolean by key- Parameters:
key
- key- Returns:
- boolean value
-
getBooleanProperty
public static Boolean getBooleanProperty(String key, boolean required)
Get a boolean by key- Parameters:
key
- keyrequired
- true if required- Returns:
- boolean value
-
getBooleanProperty
public static boolean getBooleanProperty(String... properties)
Get a required boolean property by property parts- Parameters:
properties
- property parts- Returns:
- boolean value
- Since:
- 4.0.0
-
getBooleanProperty
public static Boolean getBooleanProperty(boolean required, String... properties)
Get a boolean property by property parts- Parameters:
required
- true if requiredproperties
- property parts- Returns:
- boolean value
- Since:
- 4.0.0
-
buildProperty
public static String buildProperty(String... properties)
Build a combined property separated byPropertyConstants.PROPERTY_DIVIDER
- Parameters:
properties
- property parts- Returns:
- combined property
- Since:
- 4.0.0
-
-