Package com.inet.pdfc.config
Interface IProfile
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
DefaultProfile,SourceProfile,XMLProfile
public interface IProfile extends java.io.SerializableThe PDFC profile containing the various settings for PDFC such as comparison sensitivity, comparison types etc.- Since:
- 4.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringKEY_DESCRIPTIONstatic java.lang.StringKEY_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetBool(PDFCProperty<?> property)Returns the value of the specifiedPDFCPropertyas a boolean.booleangetBool(java.lang.String propertyName)Returns the value of the specifiedPDFCPropertyas a boolean.doublegetDouble(PDFCProperty<?> property)Returns the value of the specifiedPDFCPropertyas a double.doublegetDouble(java.lang.String propertyName)Returns the value of the specifiedPDFCPropertyas a double.intgetInt(PDFCProperty<?> property)Returns the value of the specifiedPDFCPropertyas an int.intgetInt(java.lang.String propertyName)Returns the value of the specifiedPDFCPropertyas an int.java.lang.ObjectgetObject(PDFCProperty<?> property)Returns the value of the specifiedPDFCPropertyas anObject.java.lang.ObjectgetObject(java.lang.String propertyName)Returns the value of the specifiedPDFCPropertyas anObject.java.lang.StringgetString(PDFCProperty<?> property)Returns the value of the specifiedPDFCPropertyas aString.java.lang.StringgetString(java.lang.String propertyName)Returns the value of the specifiedPDFCPropertyas aString.voidputValue(PDFCProperty<?> property, java.lang.String value)Stores a property in the current configuration.voidputValue(java.lang.String propertyName, java.lang.String value)Stores a property in the current configuration.voidputValues(java.util.Properties values)Stores all properties in the current configuration.
-
-
-
Field Detail
-
KEY_DESCRIPTION
static final java.lang.String KEY_DESCRIPTION
- See Also:
- Constant Field Values
-
KEY_NAME
static final java.lang.String KEY_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getObject
java.lang.Object getObject(PDFCProperty<?> property)
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
java.lang.String getString(PDFCProperty<?> property)
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
int getInt(PDFCProperty<?> property)
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
double getDouble(PDFCProperty<?> property)
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
boolean getBool(PDFCProperty<?> property)
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
void putValue(PDFCProperty<?> property, java.lang.String value)
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
java.lang.Object getObject(java.lang.String propertyName)
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
java.lang.String getString(java.lang.String propertyName)
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
int getInt(java.lang.String propertyName)
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
double getDouble(java.lang.String propertyName)
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
boolean getBool(java.lang.String propertyName)
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
void putValue(java.lang.String propertyName, java.lang.String value)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
void putValues(java.util.Properties values)
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
-
-