|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.enterprisedt.net.ftp.async.AsyncResult
com.enterprisedt.net.ftp.async.RemoteFileResult
com.enterprisedt.net.ftp.async.TransferFileResult
com.enterprisedt.net.ftp.async.UploadStreamResult
public class UploadStreamResult
Result from downloading task as an input stream
| Field Summary |
|---|
| Fields inherited from class com.enterprisedt.net.ftp.async.RemoteFileResult |
|---|
cancelled, DEFAULT_NOTIFY_INTERVAL, remoteFileName |
| Constructor Summary | |
|---|---|
UploadStreamResult(java.lang.String remoteFileName,
WriteMode writeMode)
Constructor. |
|
| Method Summary | |
|---|---|
FileTransferOutputStream |
getOutputStream()
Get the input stream from which to read the file from the server |
void |
setOutputStream(FileTransferOutputStream str)
Set the input stream. |
void |
setOutputStreamFailure(java.lang.Throwable t)
|
| Methods inherited from class com.enterprisedt.net.ftp.async.TransferFileResult |
|---|
endAsync, getLocalFileName, getWriteMode |
| Methods inherited from class com.enterprisedt.net.ftp.async.RemoteFileResult |
|---|
addProgressMonitor, getMinTransferNotifyPeriod, getNotifyInterval, getRemoteFileName, isCancelled, setMinTransferNotifyPeriod, setNotifyInterval |
| Methods inherited from class com.enterprisedt.net.ftp.async.AsyncResult |
|---|
cancelTask, endAsyncCalled, endAsyncInternal, getClient, getLocalContext, getTag, getTask, getTaskDescription, getTaskId, getThrowable, isCompleted, isSuccessful, notifyComplete, setAsIfCompleted, setClient, setEndAsyncCalled, setLocalContext, setSuccessful, setTag, setTask, setThrowable, waitTillComplete |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UploadStreamResult(java.lang.String remoteFileName,
WriteMode writeMode)
context - direction - append - filename - | Method Detail |
|---|
public void setOutputStream(FileTransferOutputStream str)
str - reference to the streampublic void setOutputStreamFailure(java.lang.Throwable t)
public FileTransferOutputStream getOutputStream()
throws java.lang.Throwable
java.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||