| Package | Description |
|---|---|
| org.johnnei.javatorrent.torrent | |
| org.johnnei.javatorrent.torrent.files |
| Modifier and Type | Class and Description |
|---|---|
class |
MetadataFileSet |
class |
TorrentFileSet |
| Modifier and Type | Method and Description |
|---|---|
AbstractFileSet |
Torrent.getFileSet()
Gets the files which are being downloaded within this torrent.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Torrent.onReceivedBlock(AbstractFileSet fileSet,
int index,
int offset,
byte[] data)
Tells the torrent to save a block of data
|
void |
Torrent.setFileSet(AbstractFileSet files)
Sets the current set of files this torrent is downloading.
|
| Modifier and Type | Field and Description |
|---|---|
protected AbstractFileSet |
Piece.files
The files associated with this piece
|
| Constructor and Description |
|---|
Piece(AbstractFileSet files,
byte[] hash,
int index,
int pieceSize,
int blockSize)
Creates a new piece.
|
Copyright © 2016. All rights reserved.