public final class UtfHelpper extends Object
| 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) |
public static void writeByte(String str, OutputStream out, Map<String,byte[]> cache) throws IOException
IOExceptionpublic static void writeCodePointToUtf8(int c,
OutputStream out)
throws IOException
IOException@Deprecated public static void writeCharToUtf8(char c, OutputStream out) throws IOException
IOExceptionpublic static void writeStringToUtf8(String str, OutputStream out) throws IOException
IOExceptionpublic static byte[] getStringInUtf8(String str)
Copyright © 2000–2018 The Apache Software Foundation. All rights reserved.