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