Uses of Class
digilib.io.FileOps.FileClass
-
Packages that use FileOps.FileClass Package Description digilib.io -
-
Uses of FileOps.FileClass in digilib.io
Fields in digilib.io declared as FileOps.FileClass Modifier and Type Field Description protected FileOps.FileClass
DocuDirCache. fileClass
allowed file class (image/text)protected FileOps.FileClass
DocuDirectory. fileClass
type of files in this DocuDirectoryprotected static FileOps.FileClass
DocuDirentImpl. fileClass
the file class of this fileprotected static FileOps.FileClass
ImageFileSet. fileClass
this is an image fileprotected static FileOps.FileClass
SVGFile. fileClass
this is a text fileprotected static FileOps.FileClass
TextFile. fileClass
this is a text fileMethods in digilib.io that return FileOps.FileClass Modifier and Type Method Description static FileOps.FileClass
FileOps. classForFilename(String fn)
get the file class for the filename (by extension)static FileOps.FileClass
FileOps. classForMimetype(String mt)
returns the file class for a mime-typeFileOps.FileClass
DocuDirCache. getFileClass()
static FileOps.FileClass
DocuDirentImpl. getFileClass()
static FileOps.FileClass
FileOps.FileClass. valueOf(String name)
Returns the enum constant of this type with the specified name.static FileOps.FileClass[]
FileOps.FileClass. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in digilib.io with parameters of type FileOps.FileClass Modifier and Type Method Description void
BaseDirDocuDirectory. configure(String path, FileOps.FileClass fileClass, DigilibConfiguration dlConfig)
Configure object with digilib directory path and a parent DocuDirCache.void
CdstarArchiveDocuDirectory. configure(String path, FileOps.FileClass fileClass, DigilibConfiguration dlConfig)
void
DocuDirectory. configure(String path, FileOps.FileClass fileClass, DigilibConfiguration dlConfig)
Configure object with digilib directory path and a parent DocuDirCache.static DocuDirent
FileOps. fileForClass(FileOps.FileClass fileClass, File file, FsDirectory[] scaleDirs)
Factory for DocuDirents based on file class.static FileFilter
FileOps. filterForClass(FileOps.FileClass fileClass)
Factory for FileFilters (image or text).static DocuDirectory
DocuDirectoryFactory. getDocuDirectoryInstance(String path, FileOps.FileClass fileClass)
Returns a DocuDirectory instance with the given path and FileClass.static DocuDirent
DocuDirentFactory. getDocuDirentInstance(FileOps.FileClass fc, File file, FsDirectory[] scaleDirs)
Factory for DocuDirents based on file class.DocuDirent
DocuDirCache. getFile(String fn, int in, FileOps.FileClass fc)
Deprecated.UseDocuDirCache.getFile(String fn, int in)
instead.static DocuDirent
DocuDirentFactory. getInstance(FileOps.FileClass fc, File file, DocuDirectory parent, FsDirectory[] scaleDirs)
Factory for DocuDirents based on file class.static DocuDirent
DocuDirentFactory. getInstance(FileOps.FileClass fc, File file, FsDirectory[] scaleDirs)
Factory for DocuDirents based on file class.static void
DocuDirentFactory. setDocuDirentClass(FileOps.FileClass fc, Class<? extends DocuDirent> clazz)
void
DocuDirCache. setFileClass(FileOps.FileClass fileClass)
static Predicate<Path>
FileOps. streamFilterForClass(FileOps.FileClass fileClass)
Factory for DirectoryStream.Filters (image or text).Constructors in digilib.io with parameters of type FileOps.FileClass Constructor Description AliasingDocuDirCache(FileOps.FileClass fc, File confFile, DigilibConfiguration dlConfig)
DocuDirCache(FileOps.FileClass fc, DigilibConfiguration dlConfig)
Constructor with digilib configuration and file class.
-