pgbennett.id3
Class UnsynchRandomAccessFile

java.lang.Object
  extended by java.io.RandomAccessFile
      extended by pgbennett.id3.UnsynchRandomAccessFile
All Implemented Interfaces:
java.io.Closeable, java.io.DataInput, java.io.DataOutput

public class UnsynchRandomAccessFile
extends java.io.RandomAccessFile


Constructor Summary
UnsynchRandomAccessFile(java.io.File file, java.lang.String mode)
           
UnsynchRandomAccessFile(java.lang.String file, java.lang.String mode)
           
 
Method Summary
 java.io.InputStream getAlternative()
           
 int read(byte[] b)
           
 int read(byte[] b, int off, int len)
           
 void setAlternative(java.io.InputStream in)
           
 void setUnsynch(boolean isUnsynch)
           
 
Methods inherited from class java.io.RandomAccessFile
close, getChannel, getFD, getFilePointer, length, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, seek, setLength, skipBytes, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnsynchRandomAccessFile

public UnsynchRandomAccessFile(java.io.File file,
                               java.lang.String mode)
                        throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException

UnsynchRandomAccessFile

public UnsynchRandomAccessFile(java.lang.String file,
                               java.lang.String mode)
                        throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException
Method Detail

setUnsynch

public void setUnsynch(boolean isUnsynch)

setAlternative

public void setAlternative(java.io.InputStream in)

getAlternative

public java.io.InputStream getAlternative()

read

public int read(byte[] b)
         throws java.io.IOException
Overrides:
read in class java.io.RandomAccessFile
Throws:
java.io.IOException

read

public int read(byte[] b,
                int off,
                int len)
         throws java.io.IOException
Overrides:
read in class java.io.RandomAccessFile
Throws:
java.io.IOException