public class TNonSeekableDataOutputStream extends java.io.DataOutputStream implements TDataOutputStream
| Constructor and Description |
|---|
TNonSeekableDataOutputStream(java.io.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, writeUTFequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclosepublic TNonSeekableDataOutputStream(java.io.OutputStream outputStream)
public boolean supportsSeek()
supportsSeek in interface TDataOutputStreampublic void seek(long position)
throws java.io.IOException
seek in interface TDataOutputStreamjava.io.IOExceptionpublic long getFilePointer()
throws java.io.IOException
getFilePointer in interface TDataOutputStreamjava.io.IOExceptionpublic long length()
throws java.io.IOException
length in interface TDataOutputStreamjava.io.IOExceptionpublic void writeLittleEndian32(int value)
throws java.io.IOException
writeLittleEndian32 in interface TDataOutputStreamjava.io.IOExceptionpublic void writeLittleEndian16(short value)
throws java.io.IOException
writeLittleEndian16 in interface TDataOutputStreamjava.io.IOException