Class TOTorrentCreateImpl

    • Field Detail

      • file_comparator

        private static final java.util.Comparator<java.io.File> file_comparator
      • file_comparator_v2

        private static final java.util.Comparator<java.io.File> file_comparator_v2
      • torrent_type

        private final int torrent_type
      • torrent_base

        private java.io.File torrent_base
      • piece_length

        private long piece_length
      • total_file_size_no_pad

        private long total_file_size_no_pad
      • total_file_count_no_pad

        private long total_file_count_no_pad
      • piece_count_no_pad

        private long piece_count_no_pad
      • add_other_hashes

        private boolean add_other_hashes
      • add_pad_files

        private boolean add_pad_files
      • pad_file_num

        private int pad_file_num
      • pad_file_sizes

        private long pad_file_sizes
      • add_v1

        private final boolean add_v1
      • add_v2

        private final boolean add_v2
      • reported_progress

        private int reported_progress
      • ignore_set

        private java.util.Set<java.lang.String> ignore_set
      • linkage_map

        private java.util.Map<java.lang.String,​java.io.File> linkage_map
      • linked_tf_map

        private final java.util.Map<java.lang.String,​java.lang.String> linked_tf_map
      • cancelled

        private volatile boolean cancelled
    • Constructor Detail

      • TOTorrentCreateImpl

        protected TOTorrentCreateImpl​(int _torrent_type,
                                      java.util.Map<java.lang.String,​java.io.File> _linkage_map,
                                      java.io.File _torrent_base,
                                      java.net.URL _announce_url,
                                      boolean _add_other_hashes,
                                      long _piece_length)
                               throws TOTorrentException
        Throws:
        TOTorrentException
      • TOTorrentCreateImpl

        protected TOTorrentCreateImpl​(int _torrent_type,
                                      java.util.Map<java.lang.String,​java.io.File> _linkage_map,
                                      java.io.File _torrent_base,
                                      java.net.URL _announce_url,
                                      boolean _add_other_hashes,
                                      long _piece_min_size,
                                      long _piece_max_size,
                                      long _piece_num_lower,
                                      long _piece_num_upper)
                               throws TOTorrentException
        Throws:
        TOTorrentException