public abstract class FormPropertySet<O extends OperationForm>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.text.SimpleDateFormat |
dateFormat |
protected static java.lang.String |
IGNORECASE
Property name for the ignore case flag.
|
protected static java.lang.String |
ISREGEX
Property name for the regex flag.
|
protected static java.lang.String |
SEARCHSTRING
Property name for the search expression.
|
Constructor and Description |
---|
FormPropertySet() |
Modifier and Type | Method and Description |
---|---|
static FormPropertySet<ExtractForm> |
getExtractFormPropertySet()
Returns an instance for a replace form.
|
static FormPropertySet<FindForm> |
getFindFormPropertySet()
Returns an instance for a find form.
|
static FormPropertySet<ReplaceForm> |
getReplaceFormPropertySet()
Returns an instance for a replace form.
|
abstract void |
load(O form,
java.util.Properties properties)
Reads the properties from the map into the form object.
|
protected java.util.Date |
parseDate(java.lang.String propertyName,
java.util.Properties properties) |
abstract void |
store(O form,
java.util.Properties properties)
Write the form data as properties.
|
protected java.text.SimpleDateFormat dateFormat
protected static final java.lang.String SEARCHSTRING
protected static final java.lang.String ISREGEX
protected static final java.lang.String IGNORECASE
public abstract void load(O form, java.util.Properties properties)
form
- to be updated withe the mapproperties
- where to read the data frompublic abstract void store(O form, java.util.Properties properties)
form
- to be saved as properties mapproperties
- where to write the properties topublic static FormPropertySet<FindForm> getFindFormPropertySet()
public static FormPropertySet<ReplaceForm> getReplaceFormPropertySet()
public static FormPropertySet<ExtractForm> getExtractFormPropertySet()
protected java.util.Date parseDate(java.lang.String propertyName, java.util.Properties properties)