Class StringOps

java.lang.Object
com.adobe.internal.pdftoolkit.core.util.StringOps

public class StringOps extends Object
  • Method Details

    • 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