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