Interface Pipeline
-
- All Superinterfaces:
AutoCloseable
,Closeable
public interface Pipeline extends Closeable
A pipeline for extraction execution.
Must beclosed
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContentHandler
getHandler()
Prepare and gets theContentHandler
for this pipeline.void
serialize()
Serializes this pipeline.
-
-
-
Method Detail
-
getHandler
ContentHandler getHandler() throws Exception
Prepare and gets theContentHandler
for this pipeline.- Returns:
- the
ContentHandler
- Throws:
Exception
- if an error occured
-
serialize
void serialize() throws Exception
Serializes this pipeline.getHandler()
method must have been called before, and theContentHandler
must no longer receive any event.
Then, the pipeline must beclosed
.- Throws:
Exception
- if an error occured
-
-