com.aelitis.azureus.core.util
Class QTFastStartRAF
java.lang.Object
com.aelitis.azureus.core.util.QTFastStartRAF
public class QTFastStartRAF
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QTFastStartRAF
public QTFastStartRAF(java.io.File file,
boolean enable)
throws java.io.IOException
- Throws:
java.io.IOException
QTFastStartRAF
public QTFastStartRAF(QTFastStartRAF.FileAccessor accessor,
boolean enable)
throws java.io.IOException
- Throws:
java.io.IOException
isSupportedExtension
public static boolean isSupportedExtension(java.lang.String extension)
copyOfRange
public static byte[] copyOfRange(byte[] original,
int from,
int to)
seek
public void seek(long pos)
throws java.io.IOException
- Throws:
java.io.IOException
read
public int read(byte[] buffer,
int pos,
int len)
throws java.io.IOException
- Throws:
java.io.IOException
length
public long length()
throws java.io.IOException
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException