Class DownloadStubImpl.DownloadStubFileImpl
- java.lang.Object
-
- com.biglybt.pifimpl.local.download.DownloadStubImpl.DownloadStubFileImpl
-
- All Implemented Interfaces:
DownloadStub.DownloadStubFile
- Enclosing class:
- DownloadStubImpl
protected static class DownloadStubImpl.DownloadStubFileImpl extends java.lang.Object implements DownloadStub.DownloadStubFile
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Object
file
private long
length
private DownloadStubImpl
stub
-
Constructor Summary
Constructors Modifier Constructor Description protected
DownloadStubFileImpl(DownloadStubImpl _stub, DownloadStub.DownloadStubFile stub_file)
protected
DownloadStubFileImpl(DownloadStubImpl _stub, java.util.Map map)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.Map
exportToMap()
java.io.File
getFile()
long
getLength()
-
-
-
Field Detail
-
stub
private final DownloadStubImpl stub
-
file
private final java.lang.Object file
-
length
private final long length
-
-
Constructor Detail
-
DownloadStubFileImpl
protected DownloadStubFileImpl(DownloadStubImpl _stub, DownloadStub.DownloadStubFile stub_file)
-
DownloadStubFileImpl
protected DownloadStubFileImpl(DownloadStubImpl _stub, java.util.Map map)
-
-
Method Detail
-
exportToMap
protected java.util.Map exportToMap()
-
getFile
public java.io.File getFile()
- Specified by:
getFile
in interfaceDownloadStub.DownloadStubFile
-
getLength
public long getLength()
- Specified by:
getLength
in interfaceDownloadStub.DownloadStubFile
-
-