Class GeoPackageJavaProperties


  • public class GeoPackageJavaProperties
    extends Object
    GeoPackage Java property loader
    Since:
    1.1.2
    Author:
    osbornb
    • Constructor Detail

      • GeoPackageJavaProperties

        public GeoPackageJavaProperties()
    • 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 - key
        required - 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 property
        property - 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 property
        property - property
        required - 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 - key
        required - 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 property
        property - 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 property
        property - property
        required - 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 - key
        required - 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 property
        property - 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 property
        property - property
        required - 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 - key
        required - 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 property
        property - 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 property
        property - property
        required - 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 - key
        required - 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 property
        property - property
        Returns:
        property value
      • getColorProperty

        public static Color getColorProperty​(String base,
                                             String property,
                                             boolean required)
        Get a float property by base property and property name
        Parameters:
        base - base property
        property - property
        required - required flag
        Returns:
        property value