public class PropertiesUtil extends Object
Constructor and Description |
---|
PropertiesUtil() |
Modifier and Type | Method and Description |
---|---|
static <T> T |
getProperty(Class<T> type,
Map<String,?> properties,
String name,
T def) |
static boolean |
getPropertyBoolean(Map<String,?> properties,
String name) |
static boolean |
getPropertyBoolean(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 double |
getPropertyDouble(Map<String,?> properties,
String name) |
static double |
getPropertyDouble(Map<String,?> properties,
String name,
double def) |
static float |
getPropertyFloat(Map<String,?> properties,
String name) |
static float |
getPropertyFloat(Map<String,?> properties,
String name,
float def) |
static int |
getPropertyInteger(Map<String,?> properties,
String name) |
static int |
getPropertyInteger(Map<String,?> properties,
String name,
int def) |
static long |
getPropertyLong(Map<String,?> properties,
String name) |
static long |
getPropertyLong(Map<String,?> properties,
String name,
long def) |
static String |
getPropertyString(Map<String,?> properties,
String name) |
static String |
getPropertyString(Map<String,?> properties,
String name,
String def) |
public static final <T> T getProperty(Class<T> type, Map<String,?> properties, String name, T def)
public static final String getPropertyString(Map<String,?> properties, String name, String def)
public static final String getPropertyString(Map<String,?> properties, String name)
public static final float getPropertyFloat(Map<String,?> properties, String name, float def)
public static final double getPropertyDouble(Map<String,?> properties, String name, double def)
public static final double getPropertyDouble(Map<String,?> properties, String name)
public static final int getPropertyInteger(Map<String,?> properties, String name, int def)
public static final int getPropertyInteger(Map<String,?> properties, String name)
public static final long getPropertyLong(Map<String,?> properties, String name, long def)
public static final boolean getPropertyBoolean(Map<String,?> properties, String name, boolean def)
public static final boolean getPropertyBoolean(Map<String,?> properties, String name)
public static final byte[] getPropertyBytes(Map<String,?> properties, String name, byte[] def)
Copyright © 2004–2020 Eclipse Foundation. All rights reserved.