com.frinika.sequencer.model.audio
Class VanillaRandomAccessFile
java.lang.Object
com.frinika.sequencer.model.audio.VanillaRandomAccessFile
- All Implemented Interfaces:
- RandomAccessFileIF
public class VanillaRandomAccessFile
- extends java.lang.Object
- implements RandomAccessFileIF
Method Summary |
java.io.RandomAccessFile |
getRandomAccessFile()
|
long |
length()
|
int |
read(byte[] byteBuff,
int offset,
int n,
boolean realTime)
|
void |
seek(long l,
boolean realTime)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VanillaRandomAccessFile
public VanillaRandomAccessFile(java.io.RandomAccessFile raf)
getRandomAccessFile
public java.io.RandomAccessFile getRandomAccessFile()
- Specified by:
getRandomAccessFile
in interface RandomAccessFileIF
length
public long length()
throws java.io.IOException
- Specified by:
length
in interface RandomAccessFileIF
- Throws:
java.io.IOException
read
public int read(byte[] byteBuff,
int offset,
int n,
boolean realTime)
throws java.io.IOException
- Specified by:
read
in interface RandomAccessFileIF
- Throws:
java.io.IOException
seek
public void seek(long l,
boolean realTime)
throws java.io.IOException
- Specified by:
seek
in interface RandomAccessFileIF
- Throws:
java.io.IOException