Class PlatformContentDirectory
java.lang.Object
com.biglybt.core.content.PlatformContentDirectory
- All Implemented Interfaces:
ContentDirectory
Used in UPnP for something
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DownloadManagerprivate static CopyOnWriteList<ContentDirectoryListener> private static booleanprivate static TorrentAttributeFields inherited from interface ContentDirectory
AT_BTIH, AT_FILE_INDEX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(ContentDirectoryListener listener) static voidstatic voidprivate static longgetETA(DiskManagerFileInfo file) lookupContent(Map attributes) lookupContentDownload(Map attributes) lookupContentFile(Map attributes) static voidregister()voidremoveListener(ContentDirectoryListener listener)
-
Field Details
-
registered
private static boolean registered -
ta_category
-
downloadManager
-
listeners
-
-
Constructor Details
-
PlatformContentDirectory
public PlatformContentDirectory()
-
-
Method Details
-
register
public static void register() -
lookupContent
- Specified by:
lookupContentin interfaceContentDirectory
-
lookupContentDownload
- Specified by:
lookupContentDownloadin interfaceContentDirectory
-
lookupContentFile
- Specified by:
lookupContentFilein interfaceContentDirectory
-
getETA
-
fireCatsChanged
-
fireTagsChanged
-
addListener
- Specified by:
addListenerin interfaceContentDirectory
-
removeListener
- Specified by:
removeListenerin interfaceContentDirectory
-