Package com.biglybt.core.history.impl
Class DownloadHistoryManagerImpl.DownloadHistoryImpl
java.lang.Object
com.biglybt.core.history.impl.DownloadHistoryManagerImpl.DownloadHistoryImpl
- All Implemented Interfaces:
DownloadHistory
- Enclosing class:
- DownloadHistoryManagerImpl
private class DownloadHistoryManagerImpl.DownloadHistoryImpl
extends Object
implements DownloadHistory
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDownloadHistoryImpl
(Map<Long, DownloadHistoryManagerImpl.DownloadHistoryImpl> _history_ref, DownloadManager dm) DownloadHistoryImpl
(Map<Long, DownloadHistoryManagerImpl.DownloadHistoryImpl> _history_ref, Map<String, Object> map) -
Method Summary
Modifier and TypeMethodDescriptionlong
long
getName()
long
long
getSize()
String[]
getTags()
byte[]
byte[]
long
getUID()
(package private) void
void
(package private) void
setRemoved
(List<Tag> removal_tags) See SearchResult properties for list(package private) boolean
(package private) boolean
(package private) boolean
-
Field Details
-
uid
private final long uid -
hash
private final byte[] hash -
hash_v2
private final byte[] hash_v2 -
size
private final long size -
add_time
private final long add_time -
name
-
save_location
-
tags
-
complete_time
private long complete_time -
remove_time
private long remove_time -
history_ref
-
-
Constructor Details
-
DownloadHistoryImpl
DownloadHistoryImpl(Map<Long, DownloadHistoryManagerImpl.DownloadHistoryImpl> _history_ref, DownloadManager dm) -
DownloadHistoryImpl
DownloadHistoryImpl(Map<Long, DownloadHistoryManagerImpl.DownloadHistoryImpl> _history_ref, Map<String, throws IOExceptionObject> map) - Throws:
IOException
-
-
Method Details
-
setHistoryReference
-
exportToMap
- Throws:
IOException
-
toPropertyMap
Description copied from interface:DownloadHistory
See SearchResult properties for list- Specified by:
toPropertyMap
in interfaceDownloadHistory
- Returns:
-
updateCompleteTime
-
updateSaveLocation
-
updateName
-
getUID
public long getUID()- Specified by:
getUID
in interfaceDownloadHistory
-
getTorrentHash
public byte[] getTorrentHash()- Specified by:
getTorrentHash
in interfaceDownloadHistory
-
getTorrentV2Hash
public byte[] getTorrentV2Hash()- Specified by:
getTorrentV2Hash
in interfaceDownloadHistory
-
getName
- Specified by:
getName
in interfaceDownloadHistory
-
getSize
public long getSize()- Specified by:
getSize
in interfaceDownloadHistory
-
getSaveLocation
- Specified by:
getSaveLocation
in interfaceDownloadHistory
-
getAddTime
public long getAddTime()- Specified by:
getAddTime
in interfaceDownloadHistory
-
getCompleteTime
public long getCompleteTime()- Specified by:
getCompleteTime
in interfaceDownloadHistory
-
getTags
- Specified by:
getTags
in interfaceDownloadHistory
-
setRemoved
-
getRemoveTime
public long getRemoveTime()- Specified by:
getRemoveTime
in interfaceDownloadHistory
-
setRedownloading
public void setRedownloading()- Specified by:
setRedownloading
in interfaceDownloadHistory
-