org.tritonus.share.sampled.file
Class TNonSeekableDataOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
java.io.DataOutputStream
org.tritonus.share.sampled.file.TNonSeekableDataOutputStream
- All Implemented Interfaces:
- Closeable, DataOutput, Flushable, TDataOutputStream
public class TNonSeekableDataOutputStream
- extends DataOutputStream
- implements TDataOutputStream
A TDataOutputStream that does not allow seeking.
- Author:
- Florian Bomers, Matthias Pfisterer
| Methods inherited from class java.io.DataOutputStream |
flush, size, write, write, writeBoolean, writeByte, writeBytes, writeDouble, writeFloat, writeChar, writeChars, writeInt, writeLong, writeShort, writeUTF |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.io.DataOutput |
write, write, write, writeBoolean, writeByte, writeBytes, writeDouble, writeFloat, writeChar, writeChars, writeInt, writeLong, writeShort, writeUTF |
TNonSeekableDataOutputStream
public TNonSeekableDataOutputStream(OutputStream outputStream)
supportsSeek
public boolean supportsSeek()
- Specified by:
supportsSeek in interface TDataOutputStream
seek
public void seek(long position)
throws IOException
- Specified by:
seek in interface TDataOutputStream
- Throws:
IOException
getFilePointer
public long getFilePointer()
throws IOException
- Specified by:
getFilePointer in interface TDataOutputStream
- Throws:
IOException
length
public long length()
throws IOException
- Specified by:
length in interface TDataOutputStream
- Throws:
IOException
writeLittleEndian32
public void writeLittleEndian32(int value)
throws IOException
- Specified by:
writeLittleEndian32 in interface TDataOutputStream
- Throws:
IOException
writeLittleEndian16
public void writeLittleEndian16(short value)
throws IOException
- Specified by:
writeLittleEndian16 in interface TDataOutputStream
- Throws:
IOException
Copyright © 2012. All Rights Reserved.