Class StringOps


  • public class StringOps
    extends Object
    • Method Detail

      • convertFromHex

        public static byte[] convertFromHex​(String hexStr)
      • isASCII

        public static boolean isASCII​(String str)
      • toByteArray

        public static byte[] toByteArray​(String s)
        Turns a String into a byte array. This method makes many, MANY assumptions on the nature of the data. Not all of which are valid.
        Parameters:
        s - the string to be written