Package com.iizix.server.wsfile
Class WSFileDownload
- java.lang.Object
-
- com.iizix.server.wsfile.WSFileDownload
-
public class WSFileDownload extends java.lang.Object
Class used to hold information for file download into a file provider.- Author:
- Christopher Mindus
-
-
Constructor Summary
Constructors Constructor Description WSFileDownload(java.net.URL url)
Constructs an instance of a file to download.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Throwable
getException()
Gets the exception from the download process or when writing the file.java.io.File
getFile()
Gets the download file.
-
-
-
Method Detail
-
getFile
public java.io.File getFile()
Gets the download file.- Returns:
- The file, or null if an exception occurred.
-
getException
public java.lang.Throwable getException()
Gets the exception from the download process or when writing the file.- Returns:
- The exception, or null if no error occurred.
-
-