public class Serializer extends Object implements Closeable
| Constructor and Description |
|---|
Serializer(OutputStream os) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static com.google.gson.Gson |
createGSon(ClassLoader refLoader) |
Serializer |
flush() |
Serializer |
serialize(IEvent event) |
public Serializer(OutputStream os) throws IOException
IOExceptionpublic Serializer serialize(IEvent event) throws IOException
IOExceptionpublic Serializer flush() throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic static com.google.gson.Gson createGSon(ClassLoader refLoader)
Copyright © 2011–2015 Carrot Search s.c.. All rights reserved.