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 Deprecated Methods Modifier and Type Method Description static byte[]
getStringInUtf8(String str)
static void
writeByte(String str, OutputStream out, Map<String,byte[]> cache)
static void
writeCharToUtf8(char c, OutputStream out)
Deprecated.static void
writeCodePointToUtf8(int c, OutputStream out)
static void
writeStringToUtf8(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
-
writeCharToUtf8
@Deprecated public static void writeCharToUtf8(char c, OutputStream out) throws IOException
Deprecated.- Throws:
IOException
-
writeStringToUtf8
public static void writeStringToUtf8(String str, OutputStream out) throws IOException
- Throws:
IOException
-
getStringInUtf8
public static byte[] getStringInUtf8(String str)
-
-