|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DownloadJob
| Field Summary |
|---|
| Fields inherited from interface de.phleisch.app.itsucks.job.Job |
|---|
JOB_PRIORITY_PROPERTY, JOB_STATE_PROPERTY, MAX_PRIORITY, MIN_PRIORITY, STATE_ALREADY_PROCESSED, STATE_ASSIGNED, STATE_CLOSED, STATE_ERROR, STATE_FAILED, STATE_FINISHED, STATE_IGNORED, STATE_IN_PROGRESS, STATE_IN_PROGRESS_RETRY, STATE_OPEN, STATE_REOPEN |
| Method Summary | |
|---|---|
long |
getBytesDownloaded()
Returns the count of bytes which are downloaded |
DataRetriever |
getDataRetriever()
|
int |
getDepth()
Gets the recursive depth of the job. |
int |
getMaxRetryCount()
Returns the maximum count of retries when an retryable error occurs. |
Metadata |
getMetadata()
Gets the metadata of the data retriever. |
float |
getProgress()
Returns the current download progress. |
int |
getRetryCount()
Returns the actual retry count. |
java.io.File |
getSavePath()
Returns the base save path for saving downloaded files. |
boolean |
isSaveToDisk()
|
| Methods inherited from interface de.phleisch.app.itsucks.job.Job |
|---|
abort, addPropertyChangeListener, getGroupContext, getId, getJobManager, getName, getParameter, getParameterList, getPriority, getState, isClosed, isIgnoreFilter, removePropertyChangeListener, run, setGroupContext, setId, setIgnoreFilter, setJobManager, setName, setParameter, setPriority, setState |
| Method Detail |
|---|
int getDepth()
boolean isSaveToDisk()
java.io.File getSavePath()
DataRetriever getDataRetriever()
float getProgress()
int getMaxRetryCount()
int getRetryCount()
long getBytesDownloaded()
Metadata getMetadata()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||