Package mil.nga.geopackage.property
Class GeoPackageJavaProperties
- java.lang.Object
-
- mil.nga.geopackage.property.GeoPackageJavaProperties
-
public class GeoPackageJavaProperties extends Object
GeoPackage Java property loader- Since:
- 1.1.2
- Author:
- osbornb
-
-
Constructor Summary
Constructors Constructor Description GeoPackageJavaProperties()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
getBooleanProperty(String key)
Get a required boolean by keystatic Boolean
getBooleanProperty(String key, boolean required)
Get a boolean by keystatic boolean
getBooleanProperty(String base, String property)
Get a required boolean property by base property and property namestatic Boolean
getBooleanProperty(String base, String property, boolean required)
Get a boolean property by base property and property namestatic Color
getColorProperty(String key)
Get a required color by keystatic Color
getColorProperty(String key, boolean required)
Get a color by keystatic Color
getColorProperty(String base, String property)
Get a required color property by base property and property namestatic Color
getColorProperty(String base, String property, boolean required)
Get a float property by base property and property namestatic float
getFloatProperty(String key)
Get a required float by keystatic Float
getFloatProperty(String key, boolean required)
Get a float by keystatic float
getFloatProperty(String base, String property)
Get a required float property by base property and property namestatic Float
getFloatProperty(String base, String property, boolean required)
Get a float property by base property and property namestatic int
getIntegerProperty(String key)
Get a required integer property by keystatic Integer
getIntegerProperty(String key, boolean required)
Get an integer property by keystatic int
getIntegerProperty(String base, String property)
Get a required integer property by base property and property namestatic Integer
getIntegerProperty(String base, String property, boolean required)
Get an integer property by base property and property namestatic String
getProperty(String key)
Get a required property by keystatic String
getProperty(String key, boolean required)
Get a property by keystatic String
getProperty(String base, String property)
Get a required property by base property and property namestatic String
getProperty(String base, String property, boolean required)
Get a property by base property and property name
-
-
-
Method Detail
-
getProperty
public static String getProperty(String key)
Get a required property by key- Parameters:
key
- key- Returns:
- property value
-
getProperty
public static String getProperty(String key, boolean required)
Get a property by key- Parameters:
key
- keyrequired
- required flag- Returns:
- property value
-
getProperty
public static String getProperty(String base, String property)
Get a required property by base property and property name- Parameters:
base
- base propertyproperty
- property- Returns:
- property value
-
getProperty
public static String getProperty(String base, String property, boolean required)
Get a property by base property and property name- Parameters:
base
- base propertyproperty
- propertyrequired
- required flag- Returns:
- property value
-
getIntegerProperty
public static int getIntegerProperty(String key)
Get a required integer property by key- Parameters:
key
- key- Returns:
- property value
-
getIntegerProperty
public static Integer getIntegerProperty(String key, boolean required)
Get an integer property by key- Parameters:
key
- keyrequired
- required flag- Returns:
- property value
-
getIntegerProperty
public static int getIntegerProperty(String base, String property)
Get a required integer property by base property and property name- Parameters:
base
- base propertyproperty
- property- Returns:
- property value
-
getIntegerProperty
public static Integer getIntegerProperty(String base, String property, boolean required)
Get an integer property by base property and property name- Parameters:
base
- base propertyproperty
- propertyrequired
- required flag- Returns:
- property value
-
getFloatProperty
public static float getFloatProperty(String key)
Get a required float by key- Parameters:
key
- key- Returns:
- property value
-
getFloatProperty
public static Float getFloatProperty(String key, boolean required)
Get a float by key- Parameters:
key
- keyrequired
- required flag- Returns:
- property value
-
getFloatProperty
public static float getFloatProperty(String base, String property)
Get a required float property by base property and property name- Parameters:
base
- base propertyproperty
- property- Returns:
- property value
-
getFloatProperty
public static Float getFloatProperty(String base, String property, boolean required)
Get a float property by base property and property name- Parameters:
base
- base propertyproperty
- propertyrequired
- required flag- Returns:
- property value
-
getBooleanProperty
public static boolean getBooleanProperty(String key)
Get a required boolean by key- Parameters:
key
- key- Returns:
- property value
-
getBooleanProperty
public static Boolean getBooleanProperty(String key, boolean required)
Get a boolean by key- Parameters:
key
- keyrequired
- required flag- Returns:
- property value
-
getBooleanProperty
public static boolean getBooleanProperty(String base, String property)
Get a required boolean property by base property and property name- Parameters:
base
- base propertyproperty
- property- Returns:
- property value
-
getBooleanProperty
public static Boolean getBooleanProperty(String base, String property, boolean required)
Get a boolean property by base property and property name- Parameters:
base
- base propertyproperty
- propertyrequired
- required flag- Returns:
- property value
-
getColorProperty
public static Color getColorProperty(String key)
Get a required color by key- Parameters:
key
- key- Returns:
- property value
-
getColorProperty
public static Color getColorProperty(String key, boolean required)
Get a color by key- Parameters:
key
- keyrequired
- required flag- Returns:
- property value
-
getColorProperty
public static Color getColorProperty(String base, String property)
Get a required color property by base property and property name- Parameters:
base
- base propertyproperty
- property- Returns:
- property value
-
-