Class ObjectEntryWriter
- java.lang.Object
-
- fr.gouv.vitam.common.model.storage.ObjectEntryWriter
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class ObjectEntryWriter extends java.lang.Object implements java.lang.AutoCloseable
-
-
Constructor Summary
Constructors Constructor Description ObjectEntryWriter(java.io.OutputStream ouputStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
write(ObjectEntry objectEntry)
void
writeEof()
-
-
-
Method Detail
-
write
public void write(ObjectEntry objectEntry) throws java.io.IOException
- Throws:
java.io.IOException
-
writeEof
public void writeEof() throws java.io.IOException
- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Throws:
java.io.IOException
-
-