public class ExtendedDataInputStream extends DataInputStream implements ExtendedDataInput
ExtendedDataInput.Delegating, ExtendedDataInput.Stream
in
Constructor and Description |
---|
ExtendedDataInputStream(InputStream in) |
Modifier and Type | Method and Description |
---|---|
byte[] |
readByteArray() |
<T extends Enum<?>> |
readEnum(Class<T> type) |
Throwable |
readException() |
Object |
readObject() |
Object |
readObject(ClassLoader classLoader) |
Object |
readObject(ExtendedIOUtil.ClassResolver classResolver) |
String |
readString() |
static InputStream |
unwrap(InputStream stream) |
static ExtendedDataInputStream |
wrap(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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes
public ExtendedDataInputStream(InputStream in)
public byte[] readByteArray() throws IOException
readByteArray
in interface ExtendedDataInput
IOException
public String readString() throws IOException
readString
in interface ExtendedDataInput
IOException
public Object readObject() throws IOException
readObject
in interface ExtendedDataInput
IOException
public <T extends Enum<?>> T readEnum(Class<T> type) throws IOException
readEnum
in interface ExtendedDataInput
IOException
public Throwable readException() throws IOException
readException
in interface ExtendedDataInput
IOException
public Object readObject(ClassLoader classLoader) throws IOException
readObject
in interface ExtendedDataInput
IOException
public Object readObject(ExtendedIOUtil.ClassResolver classResolver) throws IOException
readObject
in interface ExtendedDataInput
IOException
public static ExtendedDataInputStream wrap(InputStream stream)
public static InputStream unwrap(InputStream stream)
Copyright (c) 2014 Eike Stepper (Berlin, 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