1 18 package net.sf.drftpd.remotefile; 19 20 import java.io.FileNotFoundException ; 21 import java.util.Collection ; 22 23 27 public interface RemoteFileInterface { 28 33 public long getCheckSumCached(); 34 37 public Collection getFiles(); 38 39 45 public String getGroupname(); 46 47 52 public RemoteFileInterface getLink() throws FileNotFoundException ; 53 54 public String getLinkPath(); 55 56 59 public String getName(); 60 61 public abstract String getParent() throws FileNotFoundException ; 62 63 public abstract String getPath(); 64 65 public Collection getSlaves(); 66 72 public String getUsername(); 73 public long getXfertime(); 74 75 82 public boolean isDeleted(); 83 84 87 public boolean isDirectory(); 88 89 92 public boolean isFile(); 93 94 98 public boolean isLink(); 99 100 103 public long lastModified(); 104 105 108 public long length(); 109 } 110 | Popular Tags |