public class ExtendedDataInputStream extends java.io.DataInputStream implements ExtendedDataInput
ExtendedDataInput.Delegating, ExtendedDataInput.Stream| Constructor and Description |
|---|
ExtendedDataInputStream(java.io.InputStream in) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
readByteArray() |
<T extends java.lang.Enum<?>> |
readEnum(java.lang.Class<T> type) |
java.lang.Throwable |
readException() |
java.lang.Object |
readObject() |
java.lang.Object |
readObject(java.lang.ClassLoader classLoader) |
java.lang.Object |
readObject(ExtendedIOUtil.ClassResolver classResolver) |
java.lang.String |
readString() |
int |
readVarInt() |
long |
readVarLong() |
static java.io.InputStream |
unwrap(java.io.InputStream stream) |
static ExtendedDataInputStream |
wrap(java.io.InputStream stream) |
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytesavailable, close, mark, markSupported, read, reset, skippublic int readVarInt()
throws java.io.IOException
readVarInt in interface ExtendedDataInputjava.io.IOExceptionpublic long readVarLong()
throws java.io.IOException
readVarLong in interface ExtendedDataInputjava.io.IOExceptionpublic byte[] readByteArray()
throws java.io.IOException
readByteArray in interface ExtendedDataInputjava.io.IOExceptionpublic java.lang.String readString()
throws java.io.IOException
readString in interface ExtendedDataInputjava.io.IOExceptionpublic java.lang.Object readObject()
throws java.io.IOException
readObject in interface ExtendedDataInputjava.io.IOExceptionpublic <T extends java.lang.Enum<?>> T readEnum(java.lang.Class<T> type)
throws java.io.IOException
readEnum in interface ExtendedDataInputjava.io.IOExceptionpublic java.lang.Throwable readException()
throws java.io.IOException
readException in interface ExtendedDataInputjava.io.IOExceptionpublic java.lang.Object readObject(java.lang.ClassLoader classLoader)
throws java.io.IOException
readObject in interface ExtendedDataInputjava.io.IOExceptionpublic java.lang.Object readObject(ExtendedIOUtil.ClassResolver classResolver) throws java.io.IOException
readObject in interface ExtendedDataInputjava.io.IOExceptionpublic static ExtendedDataInputStream wrap(java.io.InputStream stream)
public static java.io.InputStream unwrap(java.io.InputStream stream)
Copyright (c) 2004-2019 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html