public class FileDownloader extends FileTransferBase
chosenProtocol, endByte, extraParameterSource, failOnError, from, mode, preferredProtocols, recurse, startByte, timing, to| Constructor and Description |
|---|
FileDownloader(String from,
String to,
Mode mode) |
FileDownloader(String from,
String to,
Mode mode,
boolean failOnError) |
| Modifier and Type | Method and Description |
|---|---|
void |
perform(de.fzj.unicore.uas.client.StorageClient sms) |
protected void |
performDirectoryExport(org.unigrids.services.atomic.types.GridFileType directory,
File targetDirectory,
de.fzj.unicore.uas.client.StorageClient sms) |
protected void |
performWildCardExport(de.fzj.unicore.uas.client.StorageClient sms) |
void |
setForceFileOnly(boolean forceFileOnly) |
void |
setShowProgress(boolean showProgress) |
void |
setTargetStream(OutputStream targetStream) |
getChosenProtocol, getEndByte, getFrom, getMode, getPreferredProtocols, getRangeSize, getStartByte, getTo, hasWildCards, hasWildCards, isFailOnError, isRange, isTiming, isValidDirectory, makeExtraParameters, resolveWildCards, setEndByte, setExtraParameterSource, setFailOnError, setFrom, setPreferredProtocols, setRecurse, setStartByte, setTiming, setTopublic void perform(de.fzj.unicore.uas.client.StorageClient sms)
throws Exception
Exceptionprotected void performDirectoryExport(org.unigrids.services.atomic.types.GridFileType directory,
File targetDirectory,
de.fzj.unicore.uas.client.StorageClient sms)
throws Exception
Exceptionprotected void performWildCardExport(de.fzj.unicore.uas.client.StorageClient sms)
throws Exception
Exceptionpublic void setShowProgress(boolean showProgress)
public void setForceFileOnly(boolean forceFileOnly)
public void setTargetStream(OutputStream targetStream)
Copyright © 2011–2014 The Apache Software Foundation. All rights reserved.