public abstract class AbstractFileInfo<F> extends Object implements FileInfo<F>, 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) |
String |
getRemoteDirectory() |
void |
setRemoteDirectory(String remoteDirectory) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getFileInfo, getFilename, getModified, getPermissions, getSize, isDirectory, isLink
public void setRemoteDirectory(String remoteDirectory)
remoteDirectory
- the remoteDirectory to setpublic String getRemoteDirectory()
getRemoteDirectory
in interface FileInfo<F>