Interface TorrentAttribute

    • Field Detail

      • TA_TRACKER_CLIENT_EXTENSIONS

        static final java.lang.String TA_TRACKER_CLIENT_EXTENSIONS
        See Also:
        Constant Field Values
      • TA_DISPLAY_NAME

        static final java.lang.String TA_DISPLAY_NAME
        Controls the displayed name of a download.
        Since:
        2.5.0.0
        See Also:
        Constant Field Values
      • TA_USER_COMMENT

        static final java.lang.String TA_USER_COMMENT
        The user-defined comment for a download.
        Since:
        2.5.0.1
        See Also:
        Constant Field Values
      • TA_RELATIVE_SAVE_PATH

        static final java.lang.String TA_RELATIVE_SAVE_PATH
        Defines a relative file path for this download - this attribute is used when moving downloads for completion or removal - this path is relative to the default download directories.
        Since:
        2.5.0.1
        See Also:
        Constant Field Values
    • Method Detail

      • getName

        java.lang.String getName()
      • getDefinedValues

        java.lang.String[] getDefinedValues()
        Returns the currently defined values for this attribute
        Returns:
      • addDefinedValue

        void addDefinedValue​(java.lang.String name)
        Adds a new value to the attribute set
        Parameters:
        name -
      • removeDefinedValue

        void removeDefinedValue​(java.lang.String name)
        Removes a value from the attribute set
        Parameters:
        name -