Method Summary |
|
abstract public LinkedRemoteFile | addFile(RemoteFileInterface file) Updates lastMofidied() on this directory, use putFile() to avoid it. |
abstract public void | addSlave(RemoteSlave slave) |
abstract public int | compareTo(Object o) |
abstract public LinkedRemoteFile | createDirectories(String path) |
abstract public LinkedRemoteFile | createDirectory(String fileName) |
abstract public LinkedRemoteFile | createDirectory(String owner, String group, String fileName) |
abstract public void | delete() Deletes a file or directory, if slaves are offline, the file cannot be deleted. |
abstract public void | deleteFromSlave(RemoteSlave rslave) |
abstract public long | dirSize() |
abstract public List<LinkedRemoteFileInterface> | getAllParentFiles() |
abstract public Collection<RemoteSlave> | getAvailableSlaves() |
abstract public long | getCheckSum() |
abstract public long | getCheckSumFromSlave() Returns 0 if the checksum cannot be read. |
abstract public Collection<LinkedRemoteFileInterface> | getDirectories() |
abstract public LinkedRemoteFileInterface | getFile(String fileName) Returns fLinkedRemoteFileInterfaced in this directory. |
abstract public Collection<LinkedRemoteFileInterface> | getFiles2() |
abstract public Map | getMap() Returns the underlying Map for this directory. |
abstract public LinkedRemoteFile | getParentFile() |
abstract public LinkedRemoteFile | getParentFileNull() |
abstract public LinkedRemoteFile | getRoot() |
abstract public SFVFile | getSFVFile() |
abstract public long | getXferspeed() |
abstract public long | getXfertime() |
abstract public boolean | hasFile(String filename) Returns true if this directory contains a file named filename, this is case sensitive. |
abstract public boolean | hasOfflineSlaves() Returns true if this file or directory uses slaves that are currently offline. |
abstract public boolean | hasSlave(RemoteSlave slave) |
abstract public int | hashCode() |
abstract public boolean | isAvailable() |
abstract public boolean | isDeleted() |
abstract public boolean | isValid() |
abstract public LinkedRemoteFile | lookupFile(String path) |
abstract public LinkedRemoteFile | lookupFile(String path, boolean followLinks) |
abstract public NonExistingFile | lookupNonExistingFile(String path) |
abstract public NonExistingFile | lookupNonExistingFile(String path, boolean followLinks) |
abstract public String | lookupPath(String path) Returns path for a non-existing file. |
abstract public SFVFile | lookupSFVFile() |
abstract public LinkedRemoteFile | putFile(RemoteFileInterface file) Use addFile() if you want lastModified to be updated. |
abstract public void | remerge(CaseInsensitiveHashtable lightRemoteFiles, RemoteSlave rslave) Merges mergedir directory onto this directories. |
abstract public boolean | removeSlave(RemoteSlave slave) |
abstract public void | renameTo(String toDirPath, String toName) |
abstract public void | setCheckSum(long checkSum) |
abstract public void | setGroup(String group) |
abstract public void | setLastModified(long lastModified) |
abstract public void | setLength(long length) |
abstract public void | setOwner(String owner) |
abstract public void | setXfertime(long xfertime) |
abstract public String | toString() |
abstract public void | unmergeDir(RemoteSlave rslave) |
abstract public void | unmergeFile(RemoteSlave rslave) |