Class JsonLineWriter
java.lang.Object
fr.gouv.vitam.worker.core.distribution.JsonLineWriter
- All Implemented Interfaces:
AutoCloseable
-
Constructor Summary
ConstructorDescriptionJsonLineWriter
(OutputStream outputStream) JsonLineWriter
(OutputStream outputStream, boolean isEmpty) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addEntries
(List<?> lines) void
addEntry
(JsonLineModel line) void
void
close()
-
Constructor Details
-
JsonLineWriter
-
JsonLineWriter
-
-
Method Details
-
addEntry
- Throws:
IOException
-
addEntry
- Throws:
IOException
-
addEntries
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Throws:
IOException
-