Class OutputStreamDownloadTarget
java.lang.Object
net.sf.basedb.opengrid.filetransfer.AbstractFileTransfer
net.sf.basedb.opengrid.filetransfer.OutputStreamDownloadTarget
- All Implemented Interfaces:
DownloadTarget
Generic download target implementation that simply wraps an
existing output stream. File metadata about the remote file
will be collected by the
AbstractFileTransfer.getMetadata()
instance.- Since:
- 1.0
- Author:
- nicklas
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet an ouput stream for writing the file data to the local resource.Methods inherited from class net.sf.basedb.opengrid.filetransfer.AbstractFileTransfer
getMetadata, getName, initMetadata
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.sf.basedb.opengrid.filetransfer.DownloadTarget
getMetadata, getName
-
Field Details
-
out
-
-
Constructor Details
-
OutputStreamDownloadTarget
-
-
Method Details
-
getOutputStream
Description copied from interface:DownloadTarget
Get an ouput stream for writing the file data to the local resource.- Specified by:
getOutputStream
in interfaceDownloadTarget
-