public interface FwkPropertyGroupInterface extends java.util.Map<java.lang.Object,java.lang.Object>, java.lang.Cloneable, FwkInterface, FwkDOMHandlerInterface
AUTHOR, BUILDNR, COMPANY, COPYRIGHT, DATE_FORMAT, DEFAULT_ICON, DESCRIPTION, INTERNET, LARGE_ICON, LARGE_KEY_EXT, LARGE_OPAQUE_ICON, LARGE_OPAQUE_KEY_EXT, OPAQUE_ICON, OPAQUE_KEY_EXT, RCS_DATE_FORMAT, SUPPORT_EMAIL, TITLE_NAME
Modifier and Type | Method and Description |
---|---|
FwkPropertyGroupInterface |
addGroup(java.lang.String name,
FwkPropertyGroupInterface newGroup)
Add a property group.
|
java.lang.Object |
clone()
Clone the object.
|
FwkPropertyGroupInterface |
getGroup(java.lang.String name)
Get a group.
|
java.lang.String |
getProperty(java.lang.String key)
Get the property with the requested name.
|
boolean |
getProperty(java.lang.String key,
boolean dflt)
Get the property.
|
byte |
getProperty(java.lang.String key,
byte dflt)
Get the property.
|
char |
getProperty(java.lang.String key,
char dflt)
Get the property.
|
double |
getProperty(java.lang.String key,
double dflt)
Get the property.
|
float |
getProperty(java.lang.String key,
float dflt)
Get the property.
|
int |
getProperty(java.lang.String key,
int dflt)
Get the property.
|
long |
getProperty(java.lang.String key,
long dflt)
Get the property.
|
java.lang.Object |
getProperty(java.lang.String key,
java.lang.Object dflt)
Get the property.
|
short |
getProperty(java.lang.String key,
short dflt)
Get the property.
|
java.lang.String |
getProperty(java.lang.String groupKey,
java.lang.String defaultValue)
Get the property with the requested name.
|
boolean |
getProperty(java.lang.String group,
java.lang.String propertyName,
boolean propertyDefault)
Get a property with default.
|
byte |
getProperty(java.lang.String group,
java.lang.String propertyName,
byte propertyDefault)
Get a property with default.
|
char |
getProperty(java.lang.String group,
java.lang.String propertyName,
char propertyDefault)
Get a property with default.
|
java.lang.Object |
getProperty(java.lang.String group,
java.lang.String propertyName,
java.awt.datatransfer.DataFlavor flavor)
Get the property with the requested name.
|
double |
getProperty(java.lang.String group,
java.lang.String propertyName,
double propertyDefault)
Get a property with default.
|
float |
getProperty(java.lang.String group,
java.lang.String propertyName,
float propertyDefault)
Get a property with default.
|
int |
getProperty(java.lang.String group,
java.lang.String propertyName,
int propertyDefault)
Get a property with default.
|
long |
getProperty(java.lang.String group,
java.lang.String propertyName,
long propertyDefault)
Get a property with default.
|
java.lang.Object |
getProperty(java.lang.String group,
java.lang.String propertyName,
java.lang.Object propertyDefault)
Get a property with default.
|
short |
getProperty(java.lang.String group,
java.lang.String propertyName,
short propertyDefault)
Get a property with default.
|
java.lang.String |
getProperty(java.lang.String group,
java.lang.String propertyName,
java.lang.String propertyDefault)
Get a property with default.
|
FwkPropertyGroupInterface |
getPropertyGroup(java.lang.String name)
Get a property group.
|
java.util.Enumeration |
groupNames()
Return an enumeration of the group names.
|
void |
list(java.io.PrintStream out)
Prints this property list out to the specified output stream.
|
void |
list(java.io.PrintWriter out)
Prints this property list out to the specified output stream.
|
void |
list(java.io.PrintWriter out,
java.lang.String prefix)
Prints this property list out to the specified output stream.
|
boolean |
load(java.lang.String resource)
Load the property group from file or resource.
|
java.util.Enumeration |
propertyNames()
Return en enumeration of the property names.
|
FwkPropertyGroupInterface |
removeGroup(java.lang.String name)
Remove a property group.
|
boolean |
save(java.lang.String resource)
Save the property group from file or resource.
|
java.lang.Object |
setProperty(java.lang.String key,
boolean value)
Set a property value.
|
java.lang.Object |
setProperty(java.lang.String key,
byte value)
Set a property value.
|
java.lang.Object |
setProperty(java.lang.String key,
char value)
Set a property value.
|
java.lang.Object |
setProperty(java.lang.String key,
double value)
Set a property value.
|
java.lang.Object |
setProperty(java.lang.String key,
float value)
Set a property value.
|
java.lang.Object |
setProperty(java.lang.String key,
int value)
Set a property value.
|
java.lang.Object |
setProperty(java.lang.String key,
long value)
Set a property value.
|
java.lang.Object |
setProperty(java.lang.String key,
short value)
Set a property value.
|
java.lang.Object |
setProperty(java.lang.String key,
java.lang.String value)
Set a property value.
|
java.lang.Object |
setProperty(java.lang.String groupKey,
java.lang.String key,
boolean value)
Set a property value.
|
java.lang.Object |
setProperty(java.lang.String groupKey,
java.lang.String key,
byte value)
Set a property value.
|
java.lang.Object |
setProperty(java.lang.String groupKey,
java.lang.String key,
char value)
Set a property value.
|
java.lang.Object |
setProperty(java.lang.String groupKey,
java.lang.String key,
double value)
Set a property value.
|
java.lang.Object |
setProperty(java.lang.String groupKey,
java.lang.String key,
float value)
Set a property value.
|
java.lang.Object |
setProperty(java.lang.String groupKey,
java.lang.String key,
int value)
Set a property value.
|
java.lang.Object |
setProperty(java.lang.String groupKey,
java.lang.String key,
long value)
Set a property value.
|
java.lang.Object |
setProperty(java.lang.String groupKey,
java.lang.String key,
short value)
Set a property value.
|
java.lang.Object |
setProperty(java.lang.String groupKey,
java.lang.String key,
java.lang.String value)
Set a property value.
|
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
getCompany, readConstructor, readFromDOM, readingDOM, readingDOM, writeConstructor, writeToDOM, writeToXML
getAuthor, getBuild, getClassName, getCompanyInternetAddress, getCopyright, getCreationDate, getCreationDate, getDateFormatString, getDescription, getIcon, getIcon, getIconKey, getIconKey, getName, getPresentationString, getPresentationString, getSupportEMail, getTitle, getTitleName, setAuthor, setBuild, setClassName, setCompany, setCompanyInternetAddress, setCopyright, setCreationDate, setCreationDate, setDateFormatString, setDescription, setDescriptor, setIcon, setIcon, setIconKey, setIconKey, setName, setSupportEMail, setTitleName
getVersion, release
java.lang.Object getProperty(java.lang.String group, java.lang.String propertyName, java.awt.datatransfer.DataFlavor flavor)
propertyName
- The requested property name.mimeType
- The requested mime type.java.lang.String getProperty(java.lang.String groupKey, java.lang.String defaultValue)
getProperty(groupName, propKey, defaultValue)
where the defaultValue
is the second parameter of this call.groupKey
- The name of the group.defaultValue
- The requested property name.java.lang.Object getProperty(java.lang.String key, java.lang.Object dflt)
key
- The name of the property.
The group name must be separated by a dot from group property name.dflt
- The default value.boolean getProperty(java.lang.String key, boolean dflt)
key
- The name of the property.
The group name must be separated by a dot from group property name.dflt
- The default value.int getProperty(java.lang.String key, int dflt)
key
- The name of the group.dflt
- The default value.short getProperty(java.lang.String key, short dflt)
key
- The name of the property.
The group name must be separated by a dot from group property name.dflt
- The default value.byte getProperty(java.lang.String key, byte dflt)
key
- The name of the property.
The group name must be separated by a dot from group property name.dflt
- The default value.char getProperty(java.lang.String key, char dflt)
key
- The name of the property.
The group name must be separated by a dot from group property name.dflt
- The default value.long getProperty(java.lang.String key, long dflt)
key
- The name of the property.
The group name must be separated by a dot from group property name.dflt
- The default value.float getProperty(java.lang.String key, float dflt)
key
- The name of the property.
The group name must be separated by a dot from group property name.dflt
- The default value.double getProperty(java.lang.String key, double dflt)
key
- The name of the property.
The group name must be separated by a dot from group property name.dflt
- The default value.java.lang.String getProperty(java.lang.String key)
propertyName
- The requested property name.java.lang.Object setProperty(java.lang.String key, java.lang.String value)
key
- - the key to be placed into this property list.value
- - the value corresponding to key.java.lang.Object setProperty(java.lang.String key, boolean value)
key
- - the key to be placed into this property list.value
- - the value corresponding to key.java.lang.Object setProperty(java.lang.String key, int value)
key
- - the key to be placed into this property list.value
- - the value corresponding to key.java.lang.Object setProperty(java.lang.String key, short value)
key
- - the key to be placed into this property list.value
- - the value corresponding to key.java.lang.Object setProperty(java.lang.String key, byte value)
key
- - the key to be placed into this property list.value
- - the value corresponding to key.java.lang.Object setProperty(java.lang.String key, char value)
key
- - the key to be placed into this property list.value
- - the value corresponding to key.java.lang.Object setProperty(java.lang.String key, long value)
key
- - the key to be placed into this property list.value
- - the value corresponding to key.java.lang.Object setProperty(java.lang.String key, float value)
key
- - the key to be placed into this property list.value
- - the value corresponding to key.java.lang.Object setProperty(java.lang.String key, double value)
key
- - the key to be placed into this property list.value
- - the value corresponding to key.java.lang.Object setProperty(java.lang.String groupKey, java.lang.String key, java.lang.String value)
groupKey
- - The name of the group.key
- - the key to be placed into this property list.value
- - the value corresponding to key.java.lang.Object setProperty(java.lang.String groupKey, java.lang.String key, boolean value)
groupKey
- - The name of the group.key
- - the key to be placed into this property list.value
- - the value corresponding to key.java.lang.Object setProperty(java.lang.String groupKey, java.lang.String key, int value)
groupKey
- - The name of the group.key
- - the key to be placed into this property list.value
- - the value corresponding to key.java.lang.Object setProperty(java.lang.String groupKey, java.lang.String key, short value)
groupKey
- - The name of the group.key
- - the key to be placed into this property list.value
- - the value corresponding to key.java.lang.Object setProperty(java.lang.String groupKey, java.lang.String key, byte value)
groupKey
- - The name of the group.key
- - the key to be placed into this property list.value
- - the value corresponding to key.java.lang.Object setProperty(java.lang.String groupKey, java.lang.String key, char value)
groupKey
- - The name of the group.key
- - the key to be placed into this property list.value
- - the value corresponding to key.java.lang.Object setProperty(java.lang.String groupKey, java.lang.String key, long value)
groupKey
- - The name of the group.key
- - the key to be placed into this property list.value
- - the value corresponding to key.java.lang.Object setProperty(java.lang.String groupKey, java.lang.String key, float value)
groupKey
- - The name of the group.key
- - the key to be placed into this property list.value
- - the value corresponding to key.java.lang.Object setProperty(java.lang.String groupKey, java.lang.String key, double value)
groupKey
- - The name of the group.key
- - the key to be placed into this property list.value
- - the value corresponding to key.boolean getProperty(java.lang.String group, java.lang.String propertyName, boolean propertyDefault)
group
- The name of the group.propertyName
- The name of the property.propertyDefault
- The default property.int getProperty(java.lang.String group, java.lang.String propertyName, int propertyDefault)
group
- The name of the group.propertyName
- The name of the property.propertyDefault
- The default property.short getProperty(java.lang.String group, java.lang.String propertyName, short propertyDefault)
group
- The name of the group.propertyName
- The name of the property.propertyDefault
- The default property.byte getProperty(java.lang.String group, java.lang.String propertyName, byte propertyDefault)
group
- The name of the group.propertyName
- The name of the property.propertyDefault
- The default property.char getProperty(java.lang.String group, java.lang.String propertyName, char propertyDefault)
group
- The name of the group.propertyName
- The name of the property.propertyDefault
- The default property.long getProperty(java.lang.String group, java.lang.String propertyName, long propertyDefault)
group
- The name of the group.propertyName
- The name of the property.propertyDefault
- The default property.float getProperty(java.lang.String group, java.lang.String propertyName, float propertyDefault)
group
- The name of the group.propertyName
- The name of the property.propertyDefault
- The default property.double getProperty(java.lang.String group, java.lang.String propertyName, double propertyDefault)
group
- The name of the group.propertyName
- The name of the property.propertyDefault
- The default property.java.lang.String getProperty(java.lang.String group, java.lang.String propertyName, java.lang.String propertyDefault)
group
- The name of the group.propertyName
- The name of the property.propertyDefault
- The default property.java.lang.Object getProperty(java.lang.String group, java.lang.String propertyName, java.lang.Object propertyDefault)
group
- The name of the group.propertyName
- The name of the property.propertyDefault
- The default property.FwkPropertyGroupInterface getPropertyGroup(java.lang.String name)
name
- the name of the property group.FwkPropertyGroupInterface addGroup(java.lang.String name, FwkPropertyGroupInterface newGroup)
name
- the name of the property group.newGroup
- The group to be added.FwkPropertyGroupInterface removeGroup(java.lang.String name)
name
- the name of the property group.void list(java.io.PrintStream out)
out
- an output stream.void list(java.io.PrintWriter out)
out
- an output stream.void list(java.io.PrintWriter out, java.lang.String prefix)
out
- an output stream.prefix
- a line prefix for output.java.util.Enumeration groupNames()
java.util.Enumeration propertyNames()
FwkPropertyGroupInterface getGroup(java.lang.String name)
name
- the name of the group.java.lang.Object clone()
boolean load(java.lang.String resource)
resource
- The resource or filename.boolean save(java.lang.String resource)
resource
- The resource or filename.