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
IOException
public Serializer serialize(IEvent event) throws IOException
IOException
public Serializer flush() throws IOException
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public static com.google.gson.Gson createGSon(ClassLoader refLoader)
Copyright © 2011–2015 Carrot Search s.c.. All rights reserved.