1 16 package org.apache.commons.vfs.cache; 17 18 import org.apache.commons.vfs.FileName; 19 import org.apache.commons.vfs.FileObject; 20 import org.apache.commons.vfs.FileSystem; 21 22 34 public class NullFilesCache extends AbstractFilesCache 35 { 36 public void putFile(final FileObject file) 37 { 38 } 39 40 public FileObject getFile(final FileSystem filesystem, final FileName name) 41 { 42 return null; 43 } 44 45 public void clear(FileSystem filesystem) 46 { 47 } 48 49 public void close() 50 { 51 super.close(); 52 } 53 54 public void removeFile(FileSystem filesystem, FileName name) 55 { 56 } 57 58 public void touchFile(FileObject file) 59 { 60 } 61 } 62 | Popular Tags |