Module org.apache.santuario.xmlsec
Class UtfHelpper
- java.lang.Object
-
- org.apache.xml.security.c14n.implementations.UtfHelpper
-
public final class UtfHelpper extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static byte[]getStringInUtf8(String str)static voidwriteByte(String str, OutputStream out, Map<String,byte[]> cache)static voidwriteCodePointToUtf8(int c, OutputStream out)static voidwriteStringToUtf8(String str, OutputStream out)
-
-
-
Method Detail
-
writeByte
public static void writeByte(String str, OutputStream out, Map<String,byte[]> cache) throws IOException
- Throws:
IOException
-
writeCodePointToUtf8
public static void writeCodePointToUtf8(int c, OutputStream out) throws IOException- Throws:
IOException
-
writeStringToUtf8
public static void writeStringToUtf8(String str, OutputStream out) throws IOException
- Throws:
IOException
-
getStringInUtf8
public static byte[] getStringInUtf8(String str)
-
-