Package org.frankframework.collection
Interface ICollector<P>
- Type Parameters:
P
- Part to be added to thecollection
.
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
ZipWriter
Implementations should convert their input to a 'usable' part.
The
collection
handles the collection of parts,
ensures they are closed if required and 'builds' the collection.- Author:
- Niels Meijer
-
Method Summary
Modifier and TypeMethodDescription'builds' the collection and returns a persistent MessagecreatePart
(Message input, PipeLineSession session, ParameterValueList pvl) Add a single item to the collectionMethods inherited from interface java.lang.AutoCloseable
close
-
Method Details
-
createPart
P createPart(Message input, PipeLineSession session, ParameterValueList pvl) throws CollectionException Add a single item to the collection- Throws:
CollectionException
-
build
'builds' the collection and returns a persistent Message- Throws:
IOException
-