public class ByteArrayDownload extends AbstractDownload
Download.StatecaughtException, directory, downloadFuture, fileToSaveTo, log, started, status, title| Constructor and Description |
|---|
ByteArrayDownload(byte[] content,
String title,
String directory,
String filename,
String extension)
Creates a new ByteArrayDownload object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
run() |
compareTo, determineDestinationFile, equals, error, getCaughtException, getDownloadsCompleted, getDownloadsErroneous, getDownloadsTotal, getExceptionPanel, getFileToSaveTo, getStatus, getTitle, hashCode, setParallelDownloads, startDownload, stateChanged, titleChangedaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitaddObserver, deleteObserver, getProgresspublic ByteArrayDownload(byte[] content,
String title,
String directory,
String filename,
String extension)
content - The byte[] to save.title - The title of the download.directory - The directory of the download.filename - The name of the file to be created.extension - The extension of the file to be created.public void run()
run in interface Runnablerun in class AbstractDownloadCopyright © 2012–2026 cismet GmbH. All rights reserved.