|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IDownloadExecutor
The IDownloadExecutor is an executor for downloads of RemoteFileHandle from remote
servers.
| Method Summary | |
|---|---|
long |
getContentLength(RemoteFileHandle pFileHandle)
Gets the expected content length. |
java.io.InputStream |
readContent(RemoteFileHandle pFileHandle)
Reads the content from the remote server as stream. |
| Method Detail |
|---|
java.io.InputStream readContent(RemoteFileHandle pFileHandle)
throws java.io.IOException
pFileHandle - the file handle
java.io.IOException - if creating content stream failed
long getContentLength(RemoteFileHandle pFileHandle)
throws java.io.IOException
pFileHandle - the file handle
-1 if unknown
java.io.IOException - if getting content length failed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||