Class EntityWriter
- java.lang.Object
-
- io.apicurio.registry.utils.impexp.EntityWriter
-
public class EntityWriter extends Object
- Author:
- eric.wittmann@gmail.com
-
-
Constructor Summary
Constructors Constructor Description EntityWriter(ZipOutputStream zip)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
writeEntity(Entity entity)
Writes the given entity to the zip output stream.
-
-
-
Constructor Detail
-
EntityWriter
public EntityWriter(ZipOutputStream zip)
Constructor.- Parameters:
zip
-
-
-
Method Detail
-
writeEntity
public void writeEntity(Entity entity) throws IOException
Writes the given entity to the zip output stream.- Parameters:
entity
-- Throws:
IOException
-
-