Interface TrimDirective

  • All Known Implementing Classes:
    CustomTrimDirective

    public interface TrimDirective
    The 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 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.

    • Method Detail

      • getGroupName

        java.lang.String getGroupName()
        Gets group name.
        Returns:
        the group name
      • getDirectiveName

        java.lang.String getDirectiveName()
        Gets directive name.
        Returns:
        the directive name