01: /**
02: * CachedFiles.java
03: *
04: * @author Created by Omnicore CodeGuide
05: */package org.wfp.vam.intermap.kernel;
06:
07: import java.io.File;
08:
09: public class CachedFiles extends TempFiles {
10: private final File _dir;
11:
12: public CachedFiles(String dir, int minutes) throws Exception {
13: super (minutes);
14:
15: _dir = new File(dir);
16: if (!_dir.isDirectory())
17: throw new Exception("Invalid temp directory '" + dir + "'");
18: }
19:
20: public File getDir() {
21: return _dir;
22: }
23: }
|