Package com.iizix.wsfile
Interface IWSFileDownload
- All Known Implementing Classes:
- WSFileDownload
public interface IWSFileDownload
Interface used to hold information for file download into a file provider.
- Author:
- Christopher Mindus
- Method SummaryModifier and TypeMethodDescription- void- dispose()Disposes of the download if in progress.Gets the description of the download file.Gets the exception from the download process or when writing the file.- getFile()Gets the download file.- getID()Gets the ID used for database identification.- getURL()Gets the URL.- booleanChecks if the download is disposed of (during progress).
- Method Details- getURLURL getURL()Gets the URL.- Returns:
- The URL.
 
- getIDObject getID()Gets the ID used for database identification.- Returns:
- A Long or String, nullwhen database is not used.
 
- getDescriptionString getDescription()Gets the description of the download file.- Returns:
- The description.
 
- getFileFile getFile()Gets the download file.- Returns:
- The file, or null if an exception occurred.
 
- getExceptionThrowable getException()Gets the exception from the download process or when writing the file.- Returns:
- The exception, or null if no error occurred.
 
- disposevoid dispose()Disposes of the download if in progress.
- isDisposedboolean isDisposed()Checks if the download is disposed of (during progress).- Returns:
- The dispose flag: trueif download has been disposed of, i.e. canceled,falseotherwise.