org.tritonus.share.sampled.file
Class TSeekableDataOutputStream
java.lang.Object
java.io.RandomAccessFile
org.tritonus.share.sampled.file.TSeekableDataOutputStream
- All Implemented Interfaces:
- Closeable, DataInput, DataOutput, TDataOutputStream
public class TSeekableDataOutputStream
- extends RandomAccessFile
- implements TDataOutputStream
A TDataOutputStream that allows seeking.
- Author:
- Florian Bomers, Matthias Pfisterer
| Methods inherited from class java.io.RandomAccessFile |
close, getFD, getFilePointer, getChannel, length, read, read, read, readBoolean, readByte, readDouble, readFloat, readFully, readFully, readChar, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, seek, setLength, skipBytes, write, 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 |
TSeekableDataOutputStream
public TSeekableDataOutputStream(File file)
throws IOException
- Throws:
IOException
supportsSeek
public boolean supportsSeek()
- Specified by:
supportsSeek in interface TDataOutputStream
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.