public class UTF8Output extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
private int |
codep |
private int |
state |
private static byte[] |
STATES |
private StringBuilder |
stringBuilder |
private static byte[] |
TYPES |
private static int |
UTF8_ACCEPT |
private static int |
UTF8_REJECT |
| 构造器和说明 |
|---|
UTF8Output() |
private static final int UTF8_ACCEPT
private static final int UTF8_REJECT
private static final byte[] TYPES
private static final byte[] STATES
private int state
private int codep
private final StringBuilder stringBuilder
public void write(byte[] bytes)
throws UTF8Exception
UTF8Exceptionpublic void write(int b)
throws UTF8Exception
UTF8Exceptionpublic String getStringAndRecycle() throws UTF8Exception
UTF8ExceptionCopyright © 2014. All rights reserved.