public interface RemoteFile
Modifier and Type | Method and Description |
---|---|
boolean |
copyLocallyPreservingPath(java.io.File inLocalRootDir)
Copies the remote file to the specified local root dir plus the file's remote path.
|
java.io.InputStream |
getInputStream() |
java.lang.String |
getName() |
java.lang.String |
getPath() |
long |
getSize() |
java.util.Calendar |
getTimestamp() |
java.lang.String |
getURL() |
boolean |
writeToLocalDir(java.io.File inLocalDir)
Copies the remote file to the specified local directory.
|
boolean |
writeToLocalFile(java.io.File inLocalFile)
Copies the remote file to the specified local file.
|
long |
writeToStream(java.io.OutputStream stream) |
java.lang.String getName()
java.lang.String getPath()
java.lang.String getURL()
long getSize()
java.util.Calendar getTimestamp()
java.io.InputStream getInputStream() throws java.io.IOException
java.io.IOException
long writeToStream(java.io.OutputStream stream) throws java.io.IOException
java.io.IOException
boolean writeToLocalDir(java.io.File inLocalDir) throws java.io.IOException
java.io.IOException
boolean writeToLocalFile(java.io.File inLocalFile) throws java.io.IOException
java.io.IOException
boolean copyLocallyPreservingPath(java.io.File inLocalRootDir) throws java.io.IOException
java.io.IOException
[email protected]