Interface TrimDirective
-
- All Known Implementing Classes:
CustomTrimDirective
public interface TrimDirectiveThe Class TrimDirective.- Basically, this trims the body string(removing leading and tailing spaces).
- If the result of trimming is empty, it will return just empty string.
- prefix="string"
- If the result of trimming is empty, it will return just empty string.
- If the result of trimming is not empty, prefix "string" to the result.
- suffix="string"
- If the result of trim is not empty, suffix "string" to the result.
- deprefixes=["string1", "string2", ...]
- If the result of trimming is not empty, the first appearing string in the leading of the result will be removed.
- desuffixes=["string1", "string2", ...]
- If the result of trimming is not empty, the first appearing string in the tail of the result will be removed.
- caseSensitive="true" or "false"
- true to case sensitive; false to ignore case sensitive.
Created: 2016. 1. 29.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCASE_SENSITIVE_PARAM_NAMEstatic java.lang.StringDEPREFIXES_PARAM_NAMEstatic java.lang.StringDESUFFIXES_PARAM_NAMEstatic java.lang.StringPREFIX_PARAM_NAMEstatic java.lang.StringSUFFIX_PARAM_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetDirectiveName()Gets directive name.java.lang.StringgetGroupName()Gets group name.
-
-
-
Field Detail
-
PREFIX_PARAM_NAME
static final java.lang.String PREFIX_PARAM_NAME
- See Also:
- Constant Field Values
-
SUFFIX_PARAM_NAME
static final java.lang.String SUFFIX_PARAM_NAME
- See Also:
- Constant Field Values
-
DEPREFIXES_PARAM_NAME
static final java.lang.String DEPREFIXES_PARAM_NAME
- See Also:
- Constant Field Values
-
DESUFFIXES_PARAM_NAME
static final java.lang.String DESUFFIXES_PARAM_NAME
- See Also:
- Constant Field Values
-
CASE_SENSITIVE_PARAM_NAME
static final java.lang.String CASE_SENSITIVE_PARAM_NAME
- See Also:
- Constant Field Values
-
-