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

    • orgFullName

      public String orgFullName
    • orgFileName

      private String orgFileName
    • lSize

      public final long lSize
    • 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
    • iIndex

      private final int iIndex
    • isValid

      public boolean isValid
    • parent

      public final TorrentOpenOptions parent
  • Constructor Details

    • TorrentOpenFileOptions

      public TorrentOpenFileOptions(TorrentOpenOptions parent, int iIndex, String orgFullName, String orgFileName, long lSize, boolean wanted)
      Init
      Parameters:
      parent -
      iIndex -
      torrentFile -
  • Method Details

    • getTorrentOptions

      public TorrentOpenOptions getTorrentOptions()
    • getIndex

      public int getIndex()
    • getOriginalFileName

      public String getOriginalFileName()
    • setOriginalFileName

      public void setOriginalFileName(String str)
    • 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)