public abstract class AbstractRemoteFile extends Object implements RemoteFile
Constructor and Description |
---|
AbstractRemoteFile() |
Modifier and Type | Method and Description |
---|---|
boolean |
copyLocallyPreservingPath(File inLocalDir)
Copies the remote file to the specified local root dir plus the file's remote path.
|
String |
toString() |
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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getInputStream, getName, getPath, getRequestedPath, getSize, getTimestamp, getURL
public AbstractRemoteFile()
public boolean writeToLocalDir(File inLocalDir) throws IOException
RemoteFile
writeToLocalDir
in interface RemoteFile
IOException
public boolean copyLocallyPreservingPath(File inLocalDir) throws IOException
RemoteFile
copyLocallyPreservingPath
in interface RemoteFile
IOException
public long writeToStream(OutputStream stream) throws IOException
writeToStream
in interface RemoteFile
IOException
public boolean writeToLocalFile(File inLocalFile) throws IOException
RemoteFile
writeToLocalFile
in interface RemoteFile
IOException