org.gudy.azureus2.plugins.disk
Interface DiskManagerFileInfo
public interface DiskManagerFileInfo
- Since:
- 2.1.0.0
- Author:
- TuxPaper
|
Field Summary |
static int |
READ
|
static int |
WRITE
|
READ
static final int READ
- See Also:
- Constant Field Values
WRITE
static final int WRITE
- See Also:
- Constant Field Values
setPriority
void setPriority(boolean b)
setSkipped
void setSkipped(boolean b)
setDeleted
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.
- Parameters:
b - - Since:
- 2403
setLink
void setLink(java.io.File link_destination)
getLink
java.io.File getLink()
getAccessMode
int getAccessMode()
getDownloaded
long getDownloaded()
getLength
long getLength()
getFile
java.io.File getFile()
getIndex
int getIndex()
getFirstPieceNumber
int getFirstPieceNumber()
getNumPieces
int getNumPieces()
isPriority
boolean isPriority()
isSkipped
boolean isSkipped()
isDeleted
boolean isDeleted()
getDownload
Download getDownload()
throws DownloadException
- Throws:
DownloadException
createChannel
DiskManagerChannel createChannel()
throws DownloadException
- Throws:
DownloadException