mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-24 16:58:51 -05:00
* make serializer friendly
This commit is contained in:
parent
cebcb3f92f
commit
b81845e277
@ -17,17 +17,21 @@ import java.util.Map;
|
|||||||
|
|
||||||
public class Torrent {
|
public class Torrent {
|
||||||
|
|
||||||
private final String name;
|
private String name;
|
||||||
private final String encoding;
|
private String encoding;
|
||||||
private final String createdBy;
|
private String createdBy;
|
||||||
private final String announce;
|
private String announce;
|
||||||
private final String comment;
|
private String comment;
|
||||||
private final Long creationDate;
|
private Long creationDate;
|
||||||
private final Long pieceLength;
|
private Long pieceLength;
|
||||||
|
|
||||||
private final List<Entry> files;
|
private List<Entry> files;
|
||||||
|
private boolean singleFileTorrent;
|
||||||
|
|
||||||
private final boolean singleFileTorrent;
|
|
||||||
|
protected Torrent() {
|
||||||
|
// used by serializer
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
public Torrent(File torrent) throws IOException {
|
public Torrent(File torrent) throws IOException {
|
||||||
|
Loading…
Reference in New Issue
Block a user