Class CaseNameRewriter

    • Constructor Detail

      • CaseNameRewriter

        public CaseNameRewriter()
        Construct a new instance which transforms to upper case.
      • CaseNameRewriter

        public CaseNameRewriter​(boolean upperCase)
        Construct a new instance.
        Parameters:
        upperCase - true if the principal should be converted to upper case, false if the principal should be converted to lower case.
    • Method Detail

      • rewriteName

        public String rewriteName​(String original)
        Rewrite a name.
        Specified by:
        rewriteName in interface NameRewriter
        Parameters:
        original - the original name
        Returns:
        the rewritten name