public final class UtfHelpper extends Object
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
getStringInUtf8(String str) |
static void |
writeByte(String str,
OutputStream out,
Map<String,byte[]> cache) |
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
IOExceptionpublic static void writeStringToUtf8(String str, OutputStream out) throws IOException
IOExceptionpublic static byte[] getStringInUtf8(String str)
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.