public interface FileParser extends PluginComponent, PropertyConfigurable
This interface is implemented by streaming file processors. The set if method defined is currently focused on the ASDD use case. This interface should be considered unstable for the time being.
File parsers process a particular kind of file content, like delimited, JSON or XML. They use the PropertyConfigurable interface for configuration, similar to classifiers.
Modifier and Type | Interface and Description |
---|---|
static interface |
FileParser.ContentNode
This is the interface that the FileParser must implement for each node in the result graph
returned by the buildContentGraph method.
|
static interface |
FileParser.InputStreamProvider |
static interface |
FileParser.ValueListFactory |
Modifier and Type | Method and Description |
---|---|
java.util.List<FileParser.ContentNode> |
buildContentGraph(FileParser.InputStreamProvider inputProvider,
FileParser.ValueListFactory listFactory) |
getDescription, getDocumentation, getName
configure, describeProperties
java.util.List<FileParser.ContentNode> buildContentGraph(FileParser.InputStreamProvider inputProvider, FileParser.ValueListFactory listFactory) throws java.io.IOException
java.io.IOException