Class AutoDetectFileFormat.IsImportableFilter

java.lang.Object
net.sf.basedb.util.AutoDetectFileFormat.IsImportableFilter
All Implemented Interfaces:
Filter<ContextUtil.ContextResult>
Enclosing class:
AutoDetectFileFormat

public static class AutoDetectFileFormat.IsImportableFilter
extends Object
implements Filter<ContextUtil.ContextResult>
Filter implementation that filters a collection of ContextUtil.ContextResult:s by checking each plug-ins ability to import a given file. Eg. the ContextResult is accepted if the AutoDetectingImporter.isImportable(InputStream) returns true. It is assumed that the collection of ContextResult:s only contains import plug-ins that implements the AutoDetectingImporter interface.
Version:
2.9
Author:
Nicklas
Last modified
$Date: 2012-09-14 09:28:35 +0200 (fr, 14 sep 2012) $