Class PropertiesUtil
java.lang.Object
org.eclipse.ecf.core.sharedobject.util.PropertiesUtil
- Since:
- 2.4
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final <T> T
getProperty
(Class<T> type, Map<String, ?> properties, String name, T def) static final boolean
getPropertyBoolean
(Map<String, ?> properties, String name) static final boolean
getPropertyBoolean
(Map<String, ?> properties, String name, boolean def) static final byte[]
getPropertyBytes
(Map<String, ?> properties, String name) static final byte[]
getPropertyBytes
(Map<String, ?> properties, String name, byte[] def) static final double
getPropertyDouble
(Map<String, ?> properties, String name) static final double
getPropertyDouble
(Map<String, ?> properties, String name, double def) static final float
getPropertyFloat
(Map<String, ?> properties, String name) static final float
getPropertyFloat
(Map<String, ?> properties, String name, float def) static final int
getPropertyInteger
(Map<String, ?> properties, String name) static final int
getPropertyInteger
(Map<String, ?> properties, String name, int def) static final long
getPropertyLong
(Map<String, ?> properties, String name) static final long
getPropertyLong
(Map<String, ?> properties, String name, long def) static final String
getPropertyString
(Map<String, ?> properties, String name) static final String
getPropertyString
(Map<String, ?> properties, String name, String def)
-
Constructor Details
-
PropertiesUtil
public PropertiesUtil()
-
-
Method Details
-
getProperty
-
getPropertyString
-
getPropertyString
-
getPropertyFloat
-
getPropertyFloat
-
getPropertyDouble
-
getPropertyDouble
-
getPropertyInteger
-
getPropertyInteger
-
getPropertyLong
-
getPropertyLong
-
getPropertyBoolean
-
getPropertyBoolean
-
getPropertyBytes
-
getPropertyBytes
-