public final class ValueReader extends Object
| 构造器和说明 |
|---|
ValueReader() |
| 限定符和类型 | 方法和说明 |
|---|---|
static IOException |
badEncoding(int c) |
static ClassCastException |
castError(Object obj,
Type type) |
static ClassCastException |
castError(String srctype,
Type desttype) |
static double |
parseDouble(String value) |
static double |
parseDouble(StringBuilder value) |
static float |
parseFloat(String value) |
static float |
parseFloat(StringBuilder value) |
static BigInteger |
readBigInteger(Reader reader) |
static byte[] |
readBytes(Reader reader) |
static char |
readChar(Reader reader) |
static char[] |
readChars(Reader reader) |
static int |
readCount(Reader reader) |
static DateTime |
readDateTime(Reader reader) |
static double |
readDouble(Reader reader) |
static float |
readFloat(Reader reader) |
static float |
readFloatInfinity(Reader reader) |
static double |
readInfinity(Reader reader) |
static int |
readInt(Reader reader) |
static int |
readInt(Reader reader,
int tag) |
static int |
readLength(Reader reader) |
static long |
readLong(Reader reader) |
static long |
readLong(Reader reader,
int tag) |
static double |
readLongAsDouble(Reader reader) |
static float |
readLongAsFloat(Reader reader) |
static String |
readString(Reader reader) |
static DateTime |
readTime(Reader reader) |
static int |
readTime(Reader reader,
DateTime dt) |
static StringBuilder |
readUntil(Reader reader,
int tag) |
static String |
readUTF8Char(Reader reader) |
static UUID |
readUUID(Reader reader) |
public static final IOException badEncoding(int c)
public static final ClassCastException castError(String srctype, Type desttype)
public static final ClassCastException castError(Object obj, Type type)
public static final int readInt(Reader reader, int tag) throws IOException
IOExceptionpublic static final long readLong(Reader reader, int tag) throws IOException
IOExceptionpublic static final float readLongAsFloat(Reader reader) throws IOException
IOExceptionpublic static final double readLongAsDouble(Reader reader) throws IOException
IOExceptionpublic static final float parseFloat(String value)
public static final double parseDouble(String value)
public static final float parseFloat(StringBuilder value)
public static final double parseDouble(StringBuilder value)
public static final int readLength(Reader reader) throws IOException
IOExceptionpublic static final int readCount(Reader reader) throws IOException
IOExceptionpublic static final StringBuilder readUntil(Reader reader, int tag) throws IOException
IOExceptionpublic static final char[] readChars(Reader reader) throws IOException
IOExceptionpublic static final char readChar(Reader reader) throws IOException
IOExceptionpublic static final int readInt(Reader reader) throws IOException
IOExceptionpublic static final long readLong(Reader reader) throws IOException
IOExceptionpublic static final BigInteger readBigInteger(Reader reader) throws IOException
IOExceptionpublic static final float readFloat(Reader reader) throws IOException
IOExceptionpublic static final double readDouble(Reader reader) throws IOException
IOExceptionpublic static final float readFloatInfinity(Reader reader) throws IOException
IOExceptionpublic static final double readInfinity(Reader reader) throws IOException
IOExceptionpublic static final String readString(Reader reader) throws IOException
IOExceptionpublic static final String readUTF8Char(Reader reader) throws IOException
IOExceptionpublic static final byte[] readBytes(Reader reader) throws IOException
IOExceptionpublic static final int readTime(Reader reader, DateTime dt) throws IOException
IOExceptionpublic static final DateTime readDateTime(Reader reader) throws IOException
IOExceptionpublic static final DateTime readTime(Reader reader) throws IOException
IOExceptionpublic static final UUID readUUID(Reader reader) throws IOException
IOExceptionCopyright © 2018. All rights reserved.