1 package net.suberic.util.cache; 2 import java.io.*; 3 4 7 public class FileSizedCache extends AbstractSizedCache { 8 9 File sourceDirectory = null; 11 12 15 public FileSizedCache(SizedCacheEntryFactory newFactory, long newMaxSize, long newMaxEntrySize, File directory) { 16 setFactory(newFactory); 17 setMaxSize(newMaxSize); 18 setMaxEntrySize(newMaxEntrySize); 19 setSourceDirectory(directory); 20 } 21 22 23 26 public void loadCache() throws java.io.IOException { 27 28 } 29 30 33 public File getSourceDirectory() { 34 return sourceDirectory; 35 } 36 37 40 public void setSourceDirectory(File newDirectory) { 41 sourceDirectory = newDirectory; 42 } 43 } 44 | Popular Tags |