public class StringProperties extends Object
Constructor and Description |
---|
StringProperties() |
StringProperties(Map<String,String> properties) |
StringProperties(Properties properties) |
public StringProperties()
public StringProperties(Properties properties)
public StringProperties put(String key, String value)
public StringProperties putInteger(String key, int value)
public int getInteger(String key, int defaultValue) throws NumberFormatException
NumberFormatException
public int getIntegerIgnoreExceptions(String key, int defaultValue)
public StringProperties putLong(String key, long value)
public long getLong(String key, long defaultValue) throws NumberFormatException
NumberFormatException
public long getLongIgnoreExceptions(String key, long defaultValue)
public StringProperties putDouble(String key, double value)
public double getDouble(String key, double defaultValue) throws NumberFormatException
NumberFormatException
public double getDoubleIgnoreExceptions(String key, double defaultValue)
public StringProperties putArray(String key, String[] value, String separator)
public StringProperties putSet(String key, Set<String> value, String separator)
public void store(OutputStream out, String comments) throws IOException
IOException
public void putBoolean(String key, boolean value)
public boolean getBoolean(String key, boolean defaultValue)
public void clear()
public void remove(String key)
public void putKeyValuePairs(String key, Map<String,String> value, String pairSeperator, String keyValueSeperator)
public Map<String,String> getKeyValuePairs(String key, String pairSeperator, String keyValueSeperator, Map<String,String> defaultValue)
Copyright © GigaSpaces.