Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package me.rabrg.torrent.metadata;
- import java.util.List;
- import java.util.Map;
- public final class TorrentMetadata {
- private final Map<String, Object> info;
- private final String announce;
- private final List<String> announceList;
- private final int creationDate;
- private final String comment;
- private final String createdBy;
- protected TorrentMetadata(final Map<String, Object> info, final String announce, final List<String> announceList, final int creationDate, final String comment, final String createdBy) {
- this.info = info;
- this.announce = announce;
- this.announceList = announceList;
- this.creationDate= creationDate;
- this.comment = comment;
- this.createdBy = createdBy;
- }
- public Map<String, Object> getInfo() {
- return info;
- }
- public String getAnnounce() {
- return announce;
- }
- public List<String> getAnnounceList() {
- return announceList;
- }
- public int getCreationDate() {
- return creationDate;
- }
- public String getComment() {
- return comment;
- }
- public String getCreatedBy() {
- return createdBy;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement