Class HexToStringService

    • Constructor Detail

      • HexToStringService

        public HexToStringService()
      • HexToStringService

        public HexToStringService​(java.lang.String regex)
    • Method Detail

      • getCharset

        public java.lang.String getCharset()
      • setCharset

        public void setCharset​(java.lang.String encoding)
        The character encoding to be applied when decoding the hex string. If no encoding is specified, UTF8 will be used.
        Parameters:
        encoding -
      • getCharacterEncoding

        protected java.lang.String getCharacterEncoding()
      • reformat

        public java.lang.String reformat​(java.lang.String s,
                                         java.lang.String msgCharset)
                                  throws java.lang.Exception
        Description copied from interface: MetadataReformatter
        Reformat a metadata value
        Parameters:
        s - the string to reformat
        msgCharset - the charset of the message
        Returns:
        the replacment string.
        Throws:
        java.lang.Exception