Package fr.gouv.vitam.common.jsonl
Class JsonLineWriter<T>
java.lang.Object
fr.gouv.vitam.common.jsonl.JsonLineWriter<T>
- All Implemented Interfaces:
AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionJsonLineWriter(OutputStream outputStream) JsonLineWriter(OutputStream outputStream, boolean isEmpty) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEntries(Collection<? extends T> lines) voidvoidaddEntryObject(Object line) voidclose()
-
Constructor Details
-
JsonLineWriter
-
JsonLineWriter
-
-
Method Details
-
addEntry
- Throws:
IOException
-
addEntryObject
- Throws:
IOException
-
addEntries
- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
IOException
-