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, waitgetInputStream, getName, getPath, getRequestedPath, getSize, getTimestamp, getURLpublic AbstractRemoteFile()
public boolean writeToLocalDir(File inLocalDir) throws IOException
RemoteFilewriteToLocalDir in interface RemoteFileIOExceptionpublic boolean copyLocallyPreservingPath(File inLocalDir) throws IOException
RemoteFilecopyLocallyPreservingPath in interface RemoteFileIOExceptionpublic long writeToStream(OutputStream stream) throws IOException
writeToStream in interface RemoteFileIOExceptionpublic boolean writeToLocalFile(File inLocalFile) throws IOException
RemoteFilewriteToLocalFile in interface RemoteFileIOException
jataylor@hairyfatguy.com