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
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleangetBool(PDFCProperty<?> property) Returns the value of the specifiedPDFCPropertyas a boolean.booleanReturns the value of the specifiedPDFCPropertyas a boolean.doublegetDouble(PDFCProperty<?> property) Returns the value of the specifiedPDFCPropertyas a double.doubleReturns the value of the specifiedPDFCPropertyas a double.intgetInt(PDFCProperty<?> property) Returns the value of the specifiedPDFCPropertyas an int.intReturns the value of the specifiedPDFCPropertyas an int.getObject(PDFCProperty<?> property) Returns the value of the specifiedPDFCPropertyas anObject.Returns the value of the specifiedPDFCPropertyas anObject.getString(PDFCProperty<?> property) Returns the value of the specifiedPDFCPropertyas aString.Returns the value of the specifiedPDFCPropertyas aString.voidputValue(PDFCProperty<?> property, String value) Stores a property in the current configuration.voidStores a property in the current configuration.voidputValues(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 specifiedPDFCPropertyas 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 benullif there is no value for the key and the key does not provide a default value. - Since:
- 1.0 in
IConfigurationinterface
-
getString
Returns the value of the specifiedPDFCPropertyas 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
IConfigurationinterface
-
getInt
Returns the value of the specifiedPDFCPropertyas 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
IConfigurationinterface
-
getDouble
Returns the value of the specifiedPDFCPropertyas 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
IConfigurationinterface
-
getBool
Returns the value of the specifiedPDFCPropertyas 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
IConfigurationinterface
-
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
IConfigurationinterface
-
getObject
Returns the value of the specifiedPDFCPropertyas 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 benullif there is no value for the key and the key does not provide a default value. - Since:
- 1.08 in
IConfigurationinterface
-
getString
Returns the value of the specifiedPDFCPropertyas 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
IConfigurationinterface
-
getInt
Returns the value of the specifiedPDFCPropertyas 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
IConfigurationinterface
-
getDouble
Returns the value of the specifiedPDFCPropertyas 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
IConfigurationinterface
-
getBool
Returns the value of the specifiedPDFCPropertyas 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
IConfigurationinterface
-
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
IConfigurationinterface
-
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
IConfigurationinterface
-