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, skipBytes
available, close, mark, markSupported, read, reset, skip
public int readVarInt() throws java.io.IOException
readVarInt
in interface ExtendedDataInput
java.io.IOException
public long readVarLong() throws java.io.IOException
readVarLong
in interface ExtendedDataInput
java.io.IOException
public byte[] readByteArray() throws java.io.IOException
readByteArray
in interface ExtendedDataInput
java.io.IOException
public java.lang.String readString() throws java.io.IOException
readString
in interface ExtendedDataInput
java.io.IOException
public java.lang.Object readObject() throws java.io.IOException
readObject
in interface ExtendedDataInput
java.io.IOException
public <T extends java.lang.Enum<?>> T readEnum(java.lang.Class<T> type) throws java.io.IOException
readEnum
in interface ExtendedDataInput
java.io.IOException
public java.lang.Throwable readException() throws java.io.IOException
readException
in interface ExtendedDataInput
java.io.IOException
public java.lang.Object readObject(java.lang.ClassLoader classLoader) throws java.io.IOException
readObject
in interface ExtendedDataInput
java.io.IOException
public java.lang.Object readObject(ExtendedIOUtil.ClassResolver classResolver) throws java.io.IOException
readObject
in interface ExtendedDataInput
java.io.IOException
public 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