Package digilib.io
Class AliasingDocuDirCache
- java.lang.Object
-
- digilib.io.DocuDirCache
-
- digilib.io.AliasingDocuDirCache
-
public class AliasingDocuDirCache extends DocuDirCache
- Author:
- casties
-
-
Constructor Summary
Constructors Constructor Description AliasingDocuDirCache(FileOps.FileClass fc, File confFile, DigilibConfiguration dlConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
putName(String name, DocuDirectory newdir)
Adds a DocuDirectory under another name to the cache.-
Methods inherited from class digilib.io.DocuDirCache
getDirectory, getFile, getFile, getFileClass, getHits, getMisses, getNumFiles, put, putDir, setFileClass, size
-
-
-
-
Constructor Detail
-
AliasingDocuDirCache
public AliasingDocuDirCache(FileOps.FileClass fc, File confFile, DigilibConfiguration dlConfig) throws FileOpException
- Parameters:
fc
- the FileClassconfFile
- the conf FiledlConfig
- the DigilibConfiguration- Throws:
FileOpException
- on error
-
-
Method Detail
-
putName
public void putName(String name, DocuDirectory newdir)
Adds a DocuDirectory under another name to the cache.- Parameters:
name
- the namenewdir
- the DocuDirectory
-
-