com.aelitis.azureus.core.diskmanager.file.impl
Class FMFileUnlimited
java.lang.Object
com.aelitis.azureus.core.diskmanager.file.impl.FMFileImpl
com.aelitis.azureus.core.diskmanager.file.impl.FMFileUnlimited
- All Implemented Interfaces:
- FMFile
- Direct Known Subclasses:
- FMFileTestImpl
public class FMFileUnlimited
- extends FMFileImpl
Methods inherited from class com.aelitis.azureus.core.diskmanager.file.impl.FMFileImpl |
closeSupport, createDirs, delete, deleteDirs, ensureOpen, exists, flush, generateEvidence, getAccessMode, getLengthSupport, getLinkedFile, getManager, getName, getOwner, getStorageType, getString, isClone, isOpen, isPieceCompleteProcessingNeeded, moveFile, openSupport, readSupport, readSupport, renameFile, reopen, setAccessModeSupport, setLengthSupport, setPieceCompleteSupport, setStorageType, writeSupport, writeSupport |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FMFileUnlimited
protected FMFileUnlimited(FMFileOwner _owner,
FMFileManagerImpl _manager,
File _file,
int _type)
throws FMFileManagerException
- Throws:
FMFileManagerException
FMFileUnlimited
protected FMFileUnlimited(FMFileUnlimited basis)
throws FMFileManagerException
- Throws:
FMFileManagerException
createClone
public FMFile createClone()
throws FMFileManagerException
- Throws:
FMFileManagerException
setAccessMode
public void setAccessMode(int mode)
throws FMFileManagerException
- Throws:
FMFileManagerException
getLength
public long getLength()
throws FMFileManagerException
- Throws:
FMFileManagerException
setLength
public void setLength(long length)
throws FMFileManagerException
- Throws:
FMFileManagerException
setPieceComplete
public void setPieceComplete(int piece_number,
DirectByteBuffer piece_data)
throws FMFileManagerException
- Throws:
FMFileManagerException
read
public void read(DirectByteBuffer buffer,
long offset)
throws FMFileManagerException
- Throws:
FMFileManagerException
read
public void read(DirectByteBuffer[] buffers,
long offset)
throws FMFileManagerException
- Throws:
FMFileManagerException
write
public void write(DirectByteBuffer buffer,
long position)
throws FMFileManagerException
- Throws:
FMFileManagerException
write
public void write(DirectByteBuffer[] buffers,
long position)
throws FMFileManagerException
- Throws:
FMFileManagerException
close
public void close()
throws FMFileManagerException
- Throws:
FMFileManagerException