Interface StringUtils


  • public interface StringUtils
    This interface gives you access to String manipulation features.
    • Method Detail

      • convertAsciiToHexString

        java.lang.String convertAsciiToHexString​(java.lang.String data)
        Convert a string to the hex values of its ASCII characters. Each character will be converted to a two digit hex value.
        Parameters:
        data - The ASCII data to convert.
        Returns:
        The string of hex values.
      • convertHexStringToAscii

        java.lang.String convertHexStringToAscii​(java.lang.String data)
        Convert a string of hex values to a string of ASCII characters. Each pair of hex digits will be converted to a single ASCII character.
        Parameters:
        data - The string of hex values to convert.
        Returns:
        The string of ASCII characters.