Package com.biglybt.core.content
Class PlatformContentDirectory
java.lang.Object
com.biglybt.core.content.PlatformContentDirectory
- All Implemented Interfaces:
ContentDirectory
Used in UPnP for something
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DownloadManager
private static CopyOnWriteList<ContentDirectoryListener>
private static boolean
private static TorrentAttribute
Fields inherited from interface com.biglybt.core.content.ContentDirectory
AT_BTIH, AT_FILE_INDEX
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addListener
(ContentDirectoryListener listener) static void
static void
protected long
getETA
(DiskManagerFileInfo file) lookupContent
(Map attributes) lookupContentDownload
(Map attributes) lookupContentFile
(Map attributes) static void
register()
void
removeListener
(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:
lookupContent
in interfaceContentDirectory
-
lookupContentDownload
- Specified by:
lookupContentDownload
in interfaceContentDirectory
-
lookupContentFile
- Specified by:
lookupContentFile
in interfaceContentDirectory
-
getETA
-
fireCatsChanged
-
fireTagsChanged
-
addListener
- Specified by:
addListener
in interfaceContentDirectory
-
removeListener
- Specified by:
removeListener
in interfaceContentDirectory
-