|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jini.rio.core.provision.SoftwareDownloadRecord
public class SoftwareDownloadRecord
The SoftwareDownloadRecord stores attributes related to a software download
SoftwareLoad
,
Serialized FormConstructor Summary | |
---|---|
SoftwareDownloadRecord(URL location,
String path,
String name,
Date downloadDate,
int downloadedSize,
int extractedSize,
boolean unarchived,
long downloadTime,
long unarchiveTime)
Create a SoftwareDownloadRecord instance |
Method Summary | |
---|---|
Date |
getDate()
Get the date of the dowload |
int |
getDownloadedSize()
Get the size of the downloaded software. |
long |
getDownloadTime()
Get the amount of time (in millis) it took to perform the download |
int |
getExtractedSize()
Get the size of the extracted software. |
URL |
getLocation()
Get the location |
String |
getName()
Get the name of the downloaded file |
String |
getPath()
Get the path to the downloaded file |
long |
getUnarchiveTime()
Get the amount of time (in millis) it took to perform the unarchive (extraction) |
String |
toString()
|
boolean |
unarchived()
Get whether the downloaded software was unarchived |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SoftwareDownloadRecord(URL location, String path, String name, Date downloadDate, int downloadedSize, int extractedSize, boolean unarchived, long downloadTime, long unarchiveTime)
location
- The location of the softwarepath
- The canonical path in the file system where the file was
downloadedname
- The name of the software filedownloadDate
- When the software was downloadeddownloadedSize
- The size of the downloaded softwareextractedSize
- The size of the extracted softwareunarchived
- Whether or not the downloaded software was unarchived
(extracted)downloadTime
- The amount of time (in milliseconds) it took to
perform the downloadunarchiveTime
- The amount of time (in milliseconds) it took to
perform the unarchive (extraction)Method Detail |
---|
public URL getLocation()
public int getDownloadedSize()
public int getExtractedSize()
public String getPath()
public String getName()
public boolean unarchived()
public Date getDate()
public long getDownloadTime()
public long getUnarchiveTime()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |