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 booleangetBooleanProperty(String key)Get a required boolean by keystatic BooleangetBooleanProperty(String key, boolean required)Get a boolean by keystatic booleangetBooleanProperty(String base, String property)Get a required boolean property by base property and property namestatic BooleangetBooleanProperty(String base, String property, boolean required)Get a boolean property by base property and property namestatic ColorgetColorProperty(String key)Get a required color by keystatic ColorgetColorProperty(String key, boolean required)Get a color by keystatic ColorgetColorProperty(String base, String property)Get a required color property by base property and property namestatic ColorgetColorProperty(String base, String property, boolean required)Get a float property by base property and property namestatic floatgetFloatProperty(String key)Get a required float by keystatic FloatgetFloatProperty(String key, boolean required)Get a float by keystatic floatgetFloatProperty(String base, String property)Get a required float property by base property and property namestatic FloatgetFloatProperty(String base, String property, boolean required)Get a float property by base property and property namestatic intgetIntegerProperty(String key)Get a required integer property by keystatic IntegergetIntegerProperty(String key, boolean required)Get an integer property by keystatic intgetIntegerProperty(String base, String property)Get a required integer property by base property and property namestatic IntegergetIntegerProperty(String base, String property, boolean required)Get an integer property by base property and property namestatic StringgetProperty(String key)Get a required property by keystatic StringgetProperty(String key, boolean required)Get a property by keystatic StringgetProperty(String base, String property)Get a required property by base property and property namestatic StringgetProperty(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
-
-