Class StringOps
- java.lang.Object
-
- com.adobe.internal.pdftoolkit.core.util.StringOps
-
public class StringOps extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static byte[]
convertFromHex(java.lang.String hexStr)
static boolean
isASCII(java.lang.String str)
static byte[]
toByteArray(java.lang.String s)
Turns a String into a byte array.
-
-
-
Method Detail
-
convertFromHex
public static byte[] convertFromHex(java.lang.String hexStr)
-
isASCII
public static boolean isASCII(java.lang.String str)
-
toByteArray
public static byte[] toByteArray(java.lang.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
-
-