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