Class PropertiesUtil
- java.lang.Object
- 
- org.eclipse.ecf.core.sharedobject.util.PropertiesUtil
 
- 
 public class PropertiesUtil extends Object - Since:
- 2.4
 
- 
- 
Constructor SummaryConstructors Constructor Description PropertiesUtil()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> TgetProperty(Class<T> type, Map<String,?> properties, String name, T def)static booleangetPropertyBoolean(Map<String,?> properties, String name)static booleangetPropertyBoolean(Map<String,?> properties, String name, boolean def)static byte[]getPropertyBytes(Map<String,?> properties, String name)static byte[]getPropertyBytes(Map<String,?> properties, String name, byte[] def)static doublegetPropertyDouble(Map<String,?> properties, String name)static doublegetPropertyDouble(Map<String,?> properties, String name, double def)static floatgetPropertyFloat(Map<String,?> properties, String name)static floatgetPropertyFloat(Map<String,?> properties, String name, float def)static intgetPropertyInteger(Map<String,?> properties, String name)static intgetPropertyInteger(Map<String,?> properties, String name, int def)static longgetPropertyLong(Map<String,?> properties, String name)static longgetPropertyLong(Map<String,?> properties, String name, long def)static StringgetPropertyString(Map<String,?> properties, String name)static StringgetPropertyString(Map<String,?> properties, String name, String def)
 
- 
- 
- 
Method Detail- 
getPropertypublic static final <T> T getProperty(Class<T> type, Map<String,?> properties, String name, T def) 
 - 
getPropertyStringpublic static final String getPropertyString(Map<String,?> properties, String name, String def) 
 - 
getPropertyStringpublic static final String getPropertyString(Map<String,?> properties, String name) 
 - 
getPropertyFloatpublic static final float getPropertyFloat(Map<String,?> properties, String name, float def) 
 - 
getPropertyFloatpublic static final float getPropertyFloat(Map<String,?> properties, String name) 
 - 
getPropertyDoublepublic static final double getPropertyDouble(Map<String,?> properties, String name, double def) 
 - 
getPropertyDoublepublic static final double getPropertyDouble(Map<String,?> properties, String name) 
 - 
getPropertyIntegerpublic static final int getPropertyInteger(Map<String,?> properties, String name, int def) 
 - 
getPropertyIntegerpublic static final int getPropertyInteger(Map<String,?> properties, String name) 
 - 
getPropertyLongpublic static final long getPropertyLong(Map<String,?> properties, String name, long def) 
 - 
getPropertyBooleanpublic static final boolean getPropertyBoolean(Map<String,?> properties, String name, boolean def) 
 - 
getPropertyBooleanpublic static final boolean getPropertyBoolean(Map<String,?> properties, String name) 
 - 
getPropertyBytespublic static final byte[] getPropertyBytes(Map<String,?> properties, String name, byte[] def) 
 
- 
 
-