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