com.frinika.audio.io
Class VanillaRandomAccessFile

java.lang.Object
  extended by com.frinika.audio.io.VanillaRandomAccessFile
All Implemented Interfaces:
RandomAccessFileIF

public class VanillaRandomAccessFile
extends java.lang.Object
implements RandomAccessFileIF


Constructor Summary
VanillaRandomAccessFile(java.io.RandomAccessFile raf)
           
 
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
 

Constructor Detail

VanillaRandomAccessFile

public VanillaRandomAccessFile(java.io.RandomAccessFile raf)
Method Detail

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