Class KeyFormatter


  • @Singleton
    public class KeyFormatter
    extends java.lang.Object
    Due to backwards compatibility some names in JSON/XML documents have to be formatted according to a given configuration rules. The formatting functionality is provided by this class.
    • Field Detail

      • DEFAULT_REPLACEMENT

        public static final java.lang.String DEFAULT_REPLACEMENT
        See Also:
        Constant Field Values
    • Constructor Detail

      • KeyFormatter

        public KeyFormatter​(java.lang.String replacement)
    • Method Detail

      • formatKey

        public java.lang.String formatKey​(java.lang.String keyTemplate)
      • defaultKeyFormatter

        public static KeyFormatter defaultKeyFormatter()