public class TNonSeekableDataOutputStream extends DataOutputStream implements TDataOutputStream
writtenout| Constructor and Description |
|---|
TNonSeekableDataOutputStream(OutputStream outputStream) |
| Modifier and Type | Method and Description |
|---|---|
long |
getFilePointer() |
long |
length() |
void |
seek(long position) |
boolean |
supportsSeek() |
void |
writeLittleEndian16(short value) |
void |
writeLittleEndian32(int value) |
flush, size, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTFclose, writeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclosewrite, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTFpublic TNonSeekableDataOutputStream(OutputStream outputStream)
public boolean supportsSeek()
supportsSeek in interface TDataOutputStreampublic void seek(long position)
throws IOException
seek in interface TDataOutputStreamIOExceptionpublic long getFilePointer()
throws IOException
getFilePointer in interface TDataOutputStreamIOExceptionpublic long length()
throws IOException
length in interface TDataOutputStreamIOExceptionpublic void writeLittleEndian32(int value)
throws IOException
writeLittleEndian32 in interface TDataOutputStreamIOExceptionpublic void writeLittleEndian16(short value)
throws IOException
writeLittleEndian16 in interface TDataOutputStreamIOExceptionCopyright © 2016. All Rights Reserved.