1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-24 08:48:51 -05:00

* make serializer friendly

This commit is contained in:
Reinhard Pointner 2012-12-12 10:27:26 +00:00
parent cebcb3f92f
commit b81845e277

View File

@ -17,17 +17,21 @@ import java.util.Map;
public class Torrent {
private final String name;
private final String encoding;
private final String createdBy;
private final String announce;
private final String comment;
private final Long creationDate;
private final Long pieceLength;
private String name;
private String encoding;
private String createdBy;
private String announce;
private String comment;
private Long creationDate;
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 {