public interface RemoteFile
| Modifier and Type | Method and Description |
|---|---|
boolean |
copyLocallyPreservingPath(File inLocalRootDir)
Copies the remote file to the specified local root dir plus the file's remote path.
|
InputStream |
getInputStream() |
String |
getName() |
String |
getPath() |
String |
getRequestedPath()
The requested path may differ from getPath() if the requested path was a symbolic link.
|
long |
getSize() |
Calendar |
getTimestamp() |
String |
getURL() |
boolean |
writeToLocalDir(File inLocalDir)
Copies the remote file to the specified local directory.
|
boolean |
writeToLocalFile(File inLocalFile)
Copies the remote file to the specified local file.
|
long |
writeToStream(OutputStream stream) |
String getRequestedPath()
long getSize()
Calendar getTimestamp()
InputStream getInputStream() throws IOException
IOExceptionlong writeToStream(OutputStream stream) throws IOException
IOExceptionboolean writeToLocalDir(File inLocalDir) throws IOException
IOExceptionboolean writeToLocalFile(File inLocalFile) throws IOException
IOExceptionboolean copyLocallyPreservingPath(File inLocalRootDir) throws IOException
IOException
jataylor@hairyfatguy.com