net.sf.basedb.core
Class FileSet.DataFileHandlerWrapper
java.lang.Object
net.sf.basedb.core.FileSet.DataFileHandlerWrapper
- Enclosing class:
- FileSet
private static class FileSet.DataFileHandlerWrapper
- extends Object
Wraps a DataFileValidator
and /or DataFileMetadataReader
.
as a single item. This class takes care of calling the validator/metadata reader
and to set validation status and error messages on the associated file set members.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
handler
private final DataFileHandler handler
isValidator
private final boolean isValidator
isMetadataReader
private final boolean isMetadataReader
item
private final FileStoreEnabled item
files
private final List<FileSetMember> files
FileSet.DataFileHandlerWrapper
FileSet.DataFileHandlerWrapper(DataFileHandler handler,
FileStoreEnabled item)
setFile
void setFile(FileSetMember member)
validate
void validate(DbControl dc)
extractMetadata
void extractMetadata(DbControl dc)
resetMetadata
void resetMetadata(DbControl dc)
setValid
void setValid(Boolean isValid,
String errorMessage)