| java.lang.Object org.netbeans.api.debugger.Properties
All known Subclasses: org.netbeans.modules.ant.debugger.breakpoints.BreakpointsReader,
Properties | abstract public class Properties (Code) | | Utility class hepls store properties.
author: Jan Jancura |
Inner Class :public interface Reader | |
Inner Class :static class PropertiesImpl extends Properties | |
Method Summary | |
abstract public Object[] | getArray(String propertyName, Object[] defaultValue) Reads array property from storage. | abstract public boolean | getBoolean(String propertyName, boolean defaultValue) Reads boolean property from storage. | abstract public byte | getByte(String propertyName, byte defaultValue) Reads byte property from storage. | abstract public char | getChar(String propertyName, char defaultValue) Reads char property from storage. | abstract public Collection | getCollection(String propertyName, Collection defaultValue) Reads Collection property from storage. | public static synchronized Properties | getDefault() Returns shared instance of Properties class. | abstract public double | getDouble(String propertyName, double defaultValue) Reads double property from storage. | abstract public float | getFloat(String propertyName, float defaultValue) Reads float property from storage. | abstract public int | getInt(String propertyName, int defaultValue) Reads int property from storage. | abstract public long | getLong(String propertyName, long defaultValue) Reads long property from storage. | abstract public Map | getMap(String propertyName, Map defaultValue) Reads Map property from storage. | abstract public Object | getObject(String propertyName, Object defaultValue) Reads Object property from storage. | abstract public Properties | getProperties(String propertyName) Returns Properties instance for some "subfolder" in properties file. | abstract public short | getShort(String propertyName, short defaultValue) Reads short property from storage. | abstract public String | getString(String propertyName, String defaultValue) Reads String property from storage. | abstract public void | setArray(String propertyName, Object[] value) Sets a new value of property with given propertyName. | abstract public void | setBoolean(String propertyName, boolean value) Sets a new value of property with given propertyName. | abstract public void | setByte(String propertyName, byte value) Sets a new value of property with given propertyName. | abstract public void | setChar(String propertyName, char value) Sets a new value of property with given propertyName. | abstract public void | setCollection(String propertyName, Collection value) Sets a new value of property with given propertyName. | abstract public void | setDouble(String propertyName, double value) Sets a new value of property with given propertyName. | abstract public void | setFloat(String propertyName, float value) Sets a new value of property with given propertyName. | abstract public void | setInt(String propertyName, int value) Sets a new value of property with given propertyName. | abstract public void | setLong(String propertyName, long value) Sets a new value of property with given propertyName. | abstract public void | setMap(String propertyName, Map value) Sets a new value of property with given propertyName. | abstract public void | setObject(String propertyName, Object value) Sets a new value of property with given propertyName. | abstract public void | setShort(String propertyName, short value) Sets a new value of property with given propertyName. | abstract public void | setString(String propertyName, String value) Sets a new value of property with given propertyName. |
getArray | abstract public Object[] getArray(String propertyName, Object[] defaultValue)(Code) | | Reads array property from storage.
Parameters: propertyName - a propertyName of property Parameters: defaultValue - a default value to be used if property is not set a current value of property |
getBoolean | abstract public boolean getBoolean(String propertyName, boolean defaultValue)(Code) | | Reads boolean property from storage.
Parameters: propertyName - a propertyName of property Parameters: defaultValue - a default value to be used if property is not set a current value of property |
getByte | abstract public byte getByte(String propertyName, byte defaultValue)(Code) | | Reads byte property from storage.
Parameters: propertyName - a propertyName of property Parameters: defaultValue - a default value to be used if property is not set a current value of property |
getChar | abstract public char getChar(String propertyName, char defaultValue)(Code) | | Reads char property from storage.
Parameters: propertyName - a propertyName of property Parameters: defaultValue - a default value to be used if property is not set a current value of property |
getCollection | abstract public Collection getCollection(String propertyName, Collection defaultValue)(Code) | | Reads Collection property from storage.
Parameters: propertyName - a propertyName of property Parameters: defaultValue - a default value to be used if property is not set a current value of property |
getDefault | public static synchronized Properties getDefault()(Code) | | Returns shared instance of Properties class.
shared instance of Properties class |
getDouble | abstract public double getDouble(String propertyName, double defaultValue)(Code) | | Reads double property from storage.
Parameters: propertyName - a propertyName of property Parameters: defaultValue - a default value to be used if property is not set a current value of property |
getFloat | abstract public float getFloat(String propertyName, float defaultValue)(Code) | | Reads float property from storage.
Parameters: propertyName - a propertyName of property Parameters: defaultValue - a default value to be used if property is not set a current value of property |
getInt | abstract public int getInt(String propertyName, int defaultValue)(Code) | | Reads int property from storage.
Parameters: propertyName - a propertyName of property Parameters: defaultValue - a default value to be used if property is not set a current value of property |
getLong | abstract public long getLong(String propertyName, long defaultValue)(Code) | | Reads long property from storage.
Parameters: propertyName - a propertyName of property Parameters: defaultValue - a default value to be used if property is not set a current value of property |
getMap | abstract public Map getMap(String propertyName, Map defaultValue)(Code) | | Reads Map property from storage.
Parameters: propertyName - a propertyName of property Parameters: defaultValue - a default value to be used if property is not set a current value of property |
getObject | abstract public Object getObject(String propertyName, Object defaultValue)(Code) | | Reads Object property from storage.
Parameters: propertyName - a propertyName of property Parameters: defaultValue - a default value to be used if property is not set a current value of property |
getProperties | abstract public Properties getProperties(String propertyName)(Code) | | Returns Properties instance for some "subfolder" in properties file.
Parameters: propertyName - a subfolder name a Properties instance for some "subfolder" in properties file |
getShort | abstract public short getShort(String propertyName, short defaultValue)(Code) | | Reads short property from storage.
Parameters: propertyName - a propertyName of property Parameters: defaultValue - a default value to be used if property is not set a current value of property |
getString | abstract public String getString(String propertyName, String defaultValue)(Code) | | Reads String property from storage.
Parameters: propertyName - a propertyName of property Parameters: defaultValue - a default value to be used if property is not set a current value of property |
setArray | abstract public void setArray(String propertyName, Object[] value)(Code) | | Sets a new value of property with given propertyName.
Parameters: propertyName - a propertyName of property Parameters: value - the new value of property |
setBoolean | abstract public void setBoolean(String propertyName, boolean value)(Code) | | Sets a new value of property with given propertyName.
Parameters: propertyName - a propertyName of property Parameters: value - the new value of property |
setByte | abstract public void setByte(String propertyName, byte value)(Code) | | Sets a new value of property with given propertyName.
Parameters: propertyName - a propertyName of property Parameters: value - the new value of property |
setChar | abstract public void setChar(String propertyName, char value)(Code) | | Sets a new value of property with given propertyName.
Parameters: propertyName - a propertyName of property Parameters: value - the new value of property |
setCollection | abstract public void setCollection(String propertyName, Collection value)(Code) | | Sets a new value of property with given propertyName.
Parameters: propertyName - a propertyName of property Parameters: value - the new value of property |
setDouble | abstract public void setDouble(String propertyName, double value)(Code) | | Sets a new value of property with given propertyName.
Parameters: propertyName - a propertyName of property Parameters: value - the new value of property |
setFloat | abstract public void setFloat(String propertyName, float value)(Code) | | Sets a new value of property with given propertyName.
Parameters: propertyName - a propertyName of property Parameters: value - the new value of property |
setInt | abstract public void setInt(String propertyName, int value)(Code) | | Sets a new value of property with given propertyName.
Parameters: propertyName - a propertyName of property Parameters: value - the new value of property |
setLong | abstract public void setLong(String propertyName, long value)(Code) | | Sets a new value of property with given propertyName.
Parameters: propertyName - a propertyName of property Parameters: value - the new value of property |
setMap | abstract public void setMap(String propertyName, Map value)(Code) | | Sets a new value of property with given propertyName.
Parameters: propertyName - a propertyName of property Parameters: value - the new value of property |
setObject | abstract public void setObject(String propertyName, Object value)(Code) | | Sets a new value of property with given propertyName.
Parameters: propertyName - a propertyName of property Parameters: value - the new value of property |
setShort | abstract public void setShort(String propertyName, short value)(Code) | | Sets a new value of property with given propertyName.
Parameters: propertyName - a propertyName of property Parameters: value - the new value of property |
setString | abstract public void setString(String propertyName, String value)(Code) | | Sets a new value of property with given propertyName.
Parameters: propertyName - a propertyName of property Parameters: value - the new value of property |
|
|