DiskManagerFileInfopublic interface DiskManagerFileInfo
Fields Summary |
---|
public static final int | READ | public static final int | WRITE |
Methods Summary |
---|
public DiskManagerChannel | createChannel()
| public int | getAccessMode()
| public Download | getDownload()
| public long | getDownloaded()
| public java.io.File | getFile()
| public int | getFirstPieceNumber()
| public int | getIndex()
| public long | getLength()
| public java.io.File | getLink()
| public int | getNumPieces()
| public boolean | isDeleted()
| public boolean | isPriority()
| public boolean | isSkipped()
| public void | setDeleted(boolean b)Mark the file as deleted or not (deleted means the file will be truncated to take up minimum
space). This is generally 0 <= X < 2*piece_length as pieces can span file boundaries.
| public void | setLink(java.io.File link_destination)
| public void | setPriority(boolean b)
| public void | setSkipped(boolean b)
|
|