1 18 package org.drftpd.remotefile; 19 20 import java.io.FileNotFoundException ; 21 import java.io.IOException ; 22 import java.util.Collection ; 23 import java.util.Map ; 24 25 import net.sf.drftpd.NoAvailableSlaveException; 26 import net.sf.drftpd.FileExistsException; 27 import net.sf.drftpd.ObjectNotFoundException; 28 import net.sf.drftpd.SFVFile; 29 import net.sf.drftpd.master.BaseFtpConnection; 30 import net.sf.drftpd.master.RemoteSlave; 31 import net.sf.drftpd.remotefile.LinkedRemoteFile; 32 import net.sf.drftpd.remotefile.LinkedRemoteFileInterface; 33 import net.sf.drftpd.remotefile.AbstractRemoteFile; 34 import net.sf.drftpd.remotefile.RemoteFileInterface; 35 import net.sf.drftpd.remotefile.LinkedRemoteFile.NonExistingFile; 36 import net.sf.drftpd.slave.Transfer; 37 import net.sf.drftpd.slave.TransferStatus; 38 39 45 public abstract class AbstractLinkedRemoteFile 46 implements LinkedRemoteFileInterface { 47 48 public AbstractLinkedRemoteFile() { 49 super(); 50 } 51 52 public LinkedRemoteFile addFile(AbstractRemoteFile file) { 53 throw new UnsupportedOperationException (); 54 } 55 56 public void addSlave(RemoteSlave slave) { 57 throw new UnsupportedOperationException (); 58 } 59 60 public int compareTo(Object o) { 61 62 throw new UnsupportedOperationException (); 63 } 64 65 public LinkedRemoteFile createDirectories(String path) { 66 throw new UnsupportedOperationException (); 67 } 68 69 public LinkedRemoteFile createDirectory(String fileName) 70 throws FileExistsException { 71 throw new UnsupportedOperationException (); 72 } 73 74 public LinkedRemoteFile createDirectory( 75 String owner, 76 String group, 77 String fileName) 78 throws FileExistsException { 79 throw new UnsupportedOperationException (); 80 } 81 82 public void delete() { 83 throw new UnsupportedOperationException (); 84 } 85 86 public void deleteOthers(RemoteSlave slave) { 87 throw new UnsupportedOperationException (); 88 } 89 90 public long dirSize() { 91 throw new UnsupportedOperationException (); 92 } 93 94 public RemoteSlave getASlave(char direction, BaseFtpConnection conn) 95 throws NoAvailableSlaveException { 96 throw new UnsupportedOperationException (); 97 } 98 99 public RemoteSlave getASlaveForDownload(BaseFtpConnection conn) 100 throws NoAvailableSlaveException { 101 throw new UnsupportedOperationException (); 102 } 103 104 public Collection getAvailableSlaves() throws NoAvailableSlaveException { 105 throw new UnsupportedOperationException (); 106 } 107 108 public long getCheckSum() throws NoAvailableSlaveException { 109 throw new UnsupportedOperationException (); 110 } 111 112 public long getCheckSumCached() { 113 throw new UnsupportedOperationException (); 114 } 115 116 public long getCheckSumFromSlave() 117 throws NoAvailableSlaveException, IOException { 118 throw new UnsupportedOperationException (); 119 } 120 121 public Collection getDirectories() { 122 throw new UnsupportedOperationException (); 123 } 124 125 public LinkedRemoteFileInterface getFile(String fileName) 126 throws FileNotFoundException { 127 throw new UnsupportedOperationException (); 128 } 129 130 public LinkedRemoteFileInterface getFileDeleted( 131 String fileName) 132 throws FileNotFoundException { 133 throw new UnsupportedOperationException (); 134 } 135 136 public Collection getFiles() { 137 throw new UnsupportedOperationException (); 138 } 139 140 public String getGroupname() { 141 throw new UnsupportedOperationException (); 142 } 143 144 public RemoteFileInterface getLink() throws FileNotFoundException { 145 throw new UnsupportedOperationException (); 146 } 147 148 public String getLinkPath() { 149 throw new UnsupportedOperationException (); 150 } 151 152 public Map getMap() { 153 throw new UnsupportedOperationException (); 154 } 155 156 public String getName() { 157 throw new UnsupportedOperationException (); 158 } 159 160 public LinkedRemoteFileInterface getOldestFile() 161 throws ObjectNotFoundException { 162 throw new UnsupportedOperationException (); 163 } 164 165 public String getParent() throws FileNotFoundException { 166 throw new UnsupportedOperationException (); 167 } 168 169 public LinkedRemoteFile getParentFile() throws FileNotFoundException { 170 throw new UnsupportedOperationException (); 171 } 172 173 public LinkedRemoteFile getParentFileNull() { 174 throw new UnsupportedOperationException (); 175 } 176 177 public String getPath() { 178 throw new UnsupportedOperationException (); 179 } 180 181 public LinkedRemoteFile getRoot() { 182 throw new UnsupportedOperationException (); 183 } 184 185 public SFVFile getSFVFile() 186 throws IOException , FileNotFoundException , NoAvailableSlaveException { 187 throw new UnsupportedOperationException (); 188 } 189 190 public Collection getSlaves() { 191 throw new UnsupportedOperationException (); 192 } 193 194 public String getUsername() { 195 throw new UnsupportedOperationException (); 196 } 197 198 public long getXferspeed() { 199 throw new UnsupportedOperationException (); 200 } 201 202 public long getXfertime() { 203 throw new UnsupportedOperationException (); 204 } 205 206 public boolean hasFile(String filename) { 207 throw new UnsupportedOperationException (); 208 } 209 210 public boolean hasOfflineSlaves() { 211 throw new UnsupportedOperationException (); 212 } 213 214 public boolean hasSlave(RemoteSlave slave) { 215 throw new UnsupportedOperationException (); 216 } 217 218 public boolean isAvailable() { 219 throw new UnsupportedOperationException (); 220 } 221 222 public boolean isDeleted() { 223 throw new UnsupportedOperationException (); 224 } 225 226 public boolean isDirectory() { 227 throw new UnsupportedOperationException (); 228 } 229 230 public boolean isFile() { 231 throw new UnsupportedOperationException (); 232 } 233 234 public boolean isLink() { 235 throw new UnsupportedOperationException (); 236 } 237 238 public long lastModified() { 239 throw new UnsupportedOperationException (); 240 } 241 242 public long length() { 243 throw new UnsupportedOperationException (); 244 } 245 246 public RemoteFileInterface[] listFiles() { 247 throw new UnsupportedOperationException (); 248 } 249 250 public LinkedRemoteFile lookupFile(String path) 251 throws FileNotFoundException { 252 throw new UnsupportedOperationException (); 253 } 254 255 public LinkedRemoteFile lookupFile(String path, boolean includeDeleted) 256 throws FileNotFoundException { 257 throw new UnsupportedOperationException (); 258 } 259 260 public NonExistingFile lookupNonExistingFile(String path) { 261 throw new UnsupportedOperationException (); 262 } 263 264 public NonExistingFile lookupNonExistingFile( 265 String path, 266 boolean includeDeleted) { 267 throw new UnsupportedOperationException (); 268 } 269 270 public String lookupPath(String path) { 271 throw new UnsupportedOperationException (); 272 } 273 274 public SFVFile lookupSFVFile() 275 throws IOException , FileNotFoundException , NoAvailableSlaveException { 276 throw new UnsupportedOperationException (); 277 } 278 279 public LinkedRemoteFile putFile(RemoteFileInterface file) { 280 throw new UnsupportedOperationException (); 281 } 282 283 public TransferStatus receiveFile( 284 Transfer transfer, 285 char type, 286 long offset) 287 throws IOException { 288 throw new UnsupportedOperationException (); 289 } 290 291 public void remerge(LinkedRemoteFile mergedir, RemoteSlave rslave) { 292 throw new UnsupportedOperationException (); 293 } 294 295 public boolean removeSlave(RemoteSlave slave) { 296 throw new UnsupportedOperationException (); 297 } 298 299 public LinkedRemoteFile renameTo(String toDirPath, String toName) 300 throws IOException , FileNotFoundException { 301 throw new UnsupportedOperationException (); 302 } 303 304 public TransferStatus sendFile(Transfer transfer, char type, long offset) 305 throws IOException { 306 throw new UnsupportedOperationException (); 307 } 308 309 public void setCheckSum(long checkSum) { 310 throw new UnsupportedOperationException (); 311 } 312 313 public void setGroup(String group) { 314 throw new UnsupportedOperationException (); 315 } 316 317 public void setLastModified(long lastModified) { 318 throw new UnsupportedOperationException (); 319 } 320 321 public void setLength(long length) { 322 throw new UnsupportedOperationException (); 323 } 324 325 public void setOwner(String owner) { 326 throw new UnsupportedOperationException (); 327 } 328 329 public void setXfertime(long xfertime) { 330 throw new UnsupportedOperationException (); 331 } 332 333 public void unmergeDir(RemoteSlave rslave) { 334 throw new UnsupportedOperationException (); 335 } 336 337 public void unmergeFile(RemoteSlave rslave) { 338 throw new UnsupportedOperationException (); 339 } 340 341 } 342 | Popular Tags |