public abstract class AbstractFileInfo<F> extends java.lang.Object implements FileInfo<F>, java.lang.Comparable<FileInfo<F>>
FileInfo
; provides a setter
for the remote directory and a generic toString implementation.Constructor and Description |
---|
AbstractFileInfo() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(FileInfo<F> o) |
java.lang.String |
getRemoteDirectory() |
void |
setRemoteDirectory(java.lang.String remoteDirectory) |
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getFileInfo, getFilename, getModified, getPermissions, getSize, isDirectory, isLink
public void setRemoteDirectory(java.lang.String remoteDirectory)
remoteDirectory
- the remoteDirectory to setpublic java.lang.String getRemoteDirectory()
getRemoteDirectory
in interface FileInfo<F>
public java.lang.String toString()
toString
in class java.lang.Object