public class PropertySet extends Object
Constructor and Description |
---|
PropertySet() |
PropertySet(int size) |
Modifier and Type | Method and Description |
---|---|
Action |
getAction(String key) |
boolean |
getBoolean(String key) |
Border |
getBorder(String key) |
Color |
getColor(String key) |
Font |
getFont(String key) |
Icon |
getIcon(String key) |
Image |
getImage(String key) |
int |
getInt(String key) |
Integer |
getInteger(String key) |
String |
getName() |
List |
getNumericKeys() |
List |
getNumericKeys(boolean sort) |
Object |
getProperty(String key) |
String |
getString(String key) |
String[] |
getStrings(String[] keys) |
Iterator |
keys() |
protected Class |
resolveClass(String className) |
void |
setAll(PropertySet set) |
void |
setName(String name) |
void |
setProperty(String key,
Object value) |
int |
size() |
Class |
toClass(String key) |
String |
toString() |
public void setAll(PropertySet set)
public int getInt(String key)
public boolean getBoolean(String key)
public Iterator keys()
public String getName()
public void setName(String name)
name
- The name to set.public int size()
public List getNumericKeys()
public List getNumericKeys(boolean sort)
public Class toClass(String key) throws ClassNotFoundException
ClassNotFoundException
protected Class resolveClass(String className) throws ClassNotFoundException
ClassNotFoundException