Interface TorrentAttribute

All Known Implementing Classes:
BaseTorrentAttributeImpl, TorrentAttributeCategoryImpl, TorrentAttributeDisplayNameImpl, TorrentAttributeNetworksImpl, TorrentAttributePeerSourcesImpl, TorrentAttributePluginImpl, TorrentAttributeRelativeSavePathImpl, TorrentAttributeSharePropertiesImpl, TorrentAttributeTrackerClientExtImpl, TorrentAttributeUserCommentImpl

public interface TorrentAttribute
  • Field Details

  • Method Details

    • getName

      String getName()
    • getDefinedValues

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

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

      void removeDefinedValue(String name)
      Removes a value from the attribute set
      Parameters:
      name -
    • addTorrentAttributeListener

      void addTorrentAttributeListener(TorrentAttributeListener l)
    • removeTorrentAttributeListener

      void removeTorrentAttributeListener(TorrentAttributeListener l)