| |
|
| java.lang.Object java.beans.PropertyEditorSupport org.springframework.beans.propertyeditors.StringTrimmerEditor
Constructor Summary | |
public | StringTrimmerEditor(boolean emptyAsNull) Create a new StringTrimmerEditor instance. | public | StringTrimmerEditor(String charsToDelete, boolean emptyAsNull) Create a new StringTrimmerEditor instance.
Parameters: charsToDelete - a set of characters to delete, in addition totrimming an input String. |
StringTrimmerEditor | public StringTrimmerEditor(boolean emptyAsNull)(Code) | | Create a new StringTrimmerEditor instance.
Parameters: emptyAsNull - true if an empty string is to be transformed into null |
StringTrimmerEditor | public StringTrimmerEditor(String charsToDelete, boolean emptyAsNull)(Code) | | Create a new StringTrimmerEditor instance.
Parameters: charsToDelete - a set of characters to delete, in addition totrimming an input String. Useful for deleting unwanted line breaks.E.g. "\r\n\f" will delete all new lines and line feeds in a String. Parameters: emptyAsNull - true if an empty string is to be transformed into null |
|
|
|