public interface IProfile
extends java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
KEY_DESCRIPTION |
static java.lang.String |
KEY_NAME |
Modifier and Type | Method and Description |
---|---|
boolean |
getBool(PDFCProperty<?> property)
Returns the value of the specified
PDFCProperty as a boolean. |
boolean |
getBool(java.lang.String propertyName)
Returns the value of the specified
PDFCProperty as a boolean. |
double |
getDouble(PDFCProperty<?> property)
Returns the value of the specified
PDFCProperty as a double. |
double |
getDouble(java.lang.String propertyName)
Returns the value of the specified
PDFCProperty as a double. |
int |
getInt(PDFCProperty<?> property)
Returns the value of the specified
PDFCProperty as an int. |
int |
getInt(java.lang.String propertyName)
Returns the value of the specified
PDFCProperty as an int. |
java.lang.Object |
getObject(PDFCProperty<?> property)
Returns the value of the specified
PDFCProperty as an Object . |
java.lang.Object |
getObject(java.lang.String propertyName)
Returns the value of the specified
PDFCProperty as an Object . |
java.lang.String |
getString(PDFCProperty<?> property)
Returns the value of the specified
PDFCProperty as a String . |
java.lang.String |
getString(java.lang.String propertyName)
Returns the value of the specified
PDFCProperty as a String . |
void |
putValue(PDFCProperty<?> property,
java.lang.String value)
Stores a property in the current configuration.
|
void |
putValue(java.lang.String propertyName,
java.lang.String value)
Stores a property in the current configuration.
|
void |
putValues(java.util.Properties values)
Stores all properties in the current configuration.
|
static final java.lang.String KEY_DESCRIPTION
static final java.lang.String KEY_NAME
java.lang.Object getObject(PDFCProperty<?> property)
PDFCProperty
as an Object
. If it was not specified in the
configuration file, the default value will be returned.property
- the property to get the value forObject
null
if there is no value for the key and the key does not provide a default value.IConfiguration
interfacejava.lang.String getString(PDFCProperty<?> property)
PDFCProperty
as a String
. If it was not specified in the
configuration file, the default value will be returned.property
- the property to get the value forString
null
, but may be emptyIConfiguration
interfaceint getInt(PDFCProperty<?> property)
PDFCProperty
as an int. If it was not specified in the configuration
file, the default value will be returned.property
- the property to get the value forIConfiguration
interfacedouble getDouble(PDFCProperty<?> property)
PDFCProperty
as a double. If it was not specified in the configuration
file, the default value will be returned.property
- the property to get the value forIConfiguration
interfaceboolean getBool(PDFCProperty<?> property)
PDFCProperty
as a boolean. If it was not specified in the
configuration file, the default value will be returned.property
- the property to get the value forIConfiguration
interfacevoid putValue(PDFCProperty<?> property, java.lang.String value)
property
- the property to be storedvalue
- the value of the propertyIConfiguration
interfacejava.lang.Object getObject(java.lang.String propertyName)
PDFCProperty
as an Object
. If it was not specified in the
configuration file, the default value will be returned.propertyName
- the name of the property to get the value forObject
null
if there is no value for the key and the key does not provide a default value.IConfiguration
interfacejava.lang.String getString(java.lang.String propertyName)
PDFCProperty
as a String
. If it was not specified in the
configuration file, the default value will be returned.propertyName
- the name of the property to get the value forString
null
, but may be emptyIConfiguration
interfaceint getInt(java.lang.String propertyName)
PDFCProperty
as an int. If it was not specified in the configuration
file, the default value will be returned.propertyName
- the name of the property to get the value forIConfiguration
interfacedouble getDouble(java.lang.String propertyName)
PDFCProperty
as a double. If it was not specified in the configuration
file, the default value will be returned.propertyName
- the name of the property to get the value forIConfiguration
interfaceboolean getBool(java.lang.String propertyName)
PDFCProperty
as a boolean. If it was not specified in the
configuration file, the default value will be returned.propertyName
- the name of the property to get the value forIConfiguration
interfacevoid putValue(java.lang.String propertyName, java.lang.String value)
propertyName
- the name of the property to get the value forvalue
- the value of the property, must not be null
IConfiguration
interfacevoid putValues(java.util.Properties values)
values
- the instance of valuesIConfiguration
interfaceCopyright © 2010-2022 by i-net software GmbH