Package com.inet.pdfc.config
Interface IProfile
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DefaultProfile
,SourceProfile
,XMLProfile
The PDFC profile containing the various settings for PDFC such as comparison sensitivity, comparison types etc.
- Since:
- 4.0
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getBool
(PDFCProperty<?> property) Returns the value of the specifiedPDFCProperty
as a boolean.boolean
Returns the value of the specifiedPDFCProperty
as a boolean.double
getDouble
(PDFCProperty<?> property) Returns the value of the specifiedPDFCProperty
as a double.double
Returns the value of the specifiedPDFCProperty
as a double.int
getInt
(PDFCProperty<?> property) Returns the value of the specifiedPDFCProperty
as an int.int
Returns the value of the specifiedPDFCProperty
as an int.getObject
(PDFCProperty<?> property) Returns the value of the specifiedPDFCProperty
as anObject
.Returns the value of the specifiedPDFCProperty
as anObject
.getString
(PDFCProperty<?> property) Returns the value of the specifiedPDFCProperty
as aString
.Returns the value of the specifiedPDFCProperty
as aString
.void
putValue
(PDFCProperty<?> property, String value) Stores a property in the current configuration.void
Stores a property in the current configuration.void
putValues
(Properties values) Stores all properties in the current configuration.
-
Field Details
-
KEY_DESCRIPTION
- See Also:
-
KEY_NAME
- See Also:
-
-
Method Details
-
getObject
Returns the value of the specifiedPDFCProperty
as anObject
. If it was not specified in the configuration file, the default value will be returned.- Parameters:
property
- the property to get the value for- Returns:
- the value as an
Object
My benull
if there is no value for the key and the key does not provide a default value. - Since:
- 1.0 in
IConfiguration
interface
-
getString
Returns the value of the specifiedPDFCProperty
as aString
. If it was not specified in the configuration file, the default value will be returned.- Parameters:
property
- the property to get the value for- Returns:
- the value as a
String
nevernull
, but may be empty - Since:
- 1.0 in
IConfiguration
interface
-
getInt
Returns the value of the specifiedPDFCProperty
as an int. If it was not specified in the configuration file, the default value will be returned.- Parameters:
property
- the property to get the value for- Returns:
- the value as integer
- Since:
- 1.0 in
IConfiguration
interface
-
getDouble
Returns the value of the specifiedPDFCProperty
as a double. If it was not specified in the configuration file, the default value will be returned.- Parameters:
property
- the property to get the value for- Returns:
- the value as a double
- Since:
- 1.0 in
IConfiguration
interface
-
getBool
Returns the value of the specifiedPDFCProperty
as a boolean. If it was not specified in the configuration file, the default value will be returned.- Parameters:
property
- the property to get the value for- Returns:
- the value as a boolean.
- Since:
- 1.0 in
IConfiguration
interface
-
putValue
Stores a property in the current configuration. This value will NOT be saved in the file system but rather is used for the currently running VM instance.- Parameters:
property
- the property to be storedvalue
- the value of the property- Since:
- 1.0 in
IConfiguration
interface
-
getObject
Returns the value of the specifiedPDFCProperty
as anObject
. If it was not specified in the configuration file, the default value will be returned.- Parameters:
propertyName
- the name of the property to get the value for- Returns:
- the value as a
Object
My benull
if there is no value for the key and the key does not provide a default value. - Since:
- 1.08 in
IConfiguration
interface
-
getString
Returns the value of the specifiedPDFCProperty
as aString
. If it was not specified in the configuration file, the default value will be returned.- Parameters:
propertyName
- the name of the property to get the value for- Returns:
- the value as a
String
nevernull
, but may be empty - Since:
- 1.08 in
IConfiguration
interface
-
getInt
Returns the value of the specifiedPDFCProperty
as an int. If it was not specified in the configuration file, the default value will be returned.- Parameters:
propertyName
- the name of the property to get the value for- Returns:
- the value as an integer
- Since:
- 1.08 in
IConfiguration
interface
-
getDouble
Returns the value of the specifiedPDFCProperty
as a double. If it was not specified in the configuration file, the default value will be returned.- Parameters:
propertyName
- the name of the property to get the value for- Returns:
- the value as a double
- Since:
- 1.08 in
IConfiguration
interface
-
getBool
Returns the value of the specifiedPDFCProperty
as a boolean. If it was not specified in the configuration file, the default value will be returned.- Parameters:
propertyName
- the name of the property to get the value for- Returns:
- the value as a boolean
- Since:
- 1.08 in
IConfiguration
interface
-
putValue
Stores a property in the current configuration. This value will NOT be saved in the file system but rather is used for the currently running VM instance.- Parameters:
propertyName
- the name of the property to get the value forvalue
- the value of the property, must not benull
- Since:
- 1.08 in
IConfiguration
interface
-
putValues
Stores all properties in the current configuration. This value will NOT be saved in the file system but rather is used for the currently running VM instance. Change events will only be fired for values that have changed.- Parameters:
values
- the instance of values- Since:
- 4.0 in
IConfiguration
interface
-