Class TorrentOpenFileOptions

java.lang.Object
com.biglybt.core.torrent.impl.TorrentOpenFileOptions

public class TorrentOpenFileOptions extends Object
Class to store the file list of a Torrent. Used to populate table and store user's choices

This was copied out of the UI code, and still contains some crap code

  • Field Details

    • torrentOptions

      private final TorrentOpenOptions torrentOptions
    • tfile

      private final TOTorrentFile tfile
      relative path + full file name as specified by the torrent
    • orgParent

      private String orgParent
    • orgFileName

      private String orgFileName
    • toDownload

      private boolean toDownload
      Whether to download this file. Probably should be switched to the DND state variable
    • priority

      private int priority
    • priority_auto

      private boolean priority_auto
    • destFileName

      private String destFileName
    • destPathName

      private String destPathName
    • didManualRename

      private boolean didManualRename
    • isValid

      private boolean isValid
  • Constructor Details

  • Method Details

    • setOriginalFileNames

      protected void setOriginalFileNames()
    • getTorrentOptions

      public TorrentOpenOptions getTorrentOptions()
    • getIndex

      public int getIndex()
    • isValid

      public boolean isValid()
    • setValid

      public void setValid(boolean b)
    • getSize

      public long getSize()
    • getOriginalFullName

      public String getOriginalFullName()
    • getOriginalFileName

      public String getOriginalFileName()
    • setFullDestName

      public void setFullDestName(String newFullName)
    • setDestPathName

      public void setDestPathName(String newPath)
    • setDestFileName

      public void setDestFileName(String newFileName, boolean manualRename)
    • getDestPathName

      public String getDestPathName()
    • isManualRename

      public boolean isManualRename()
    • getDestFileName

      public String getDestFileName()
    • getDestFileFullName

      public File getDestFileFullName()
    • okToDisable

      public boolean okToDisable()
    • getInitialLink

      public File getInitialLink()
    • isLinked

      public boolean isLinked()
    • isToDownload

      public boolean isToDownload()
    • setToDownload

      public void setToDownload(boolean toDownload)
    • getPriority

      public int getPriority()
    • isPriorityAuto

      public boolean isPriorityAuto()
    • setPriority

      public void setPriority(int _priority, boolean _auto)