public final class Serializer extends Object
Constructor and Description |
---|
Serializer() |
Serializer(boolean compress,
Dictionary<org.openrdf.model.URI> dictionary,
org.openrdf.model.ValueFactory factory) |
Modifier and Type | Method and Description |
---|---|
Object |
fromBytes(byte[] bytes) |
Object |
fromStream(InputStream stream) |
byte[] |
toBytes(Object object) |
void |
toStream(OutputStream stream,
Object object) |
public Serializer()
public Serializer(boolean compress, @Nullable Dictionary<org.openrdf.model.URI> dictionary, @Nullable org.openrdf.model.ValueFactory factory)
public byte[] toBytes(Object object)
public Object fromBytes(byte[] bytes)
public void toStream(OutputStream stream, Object object) throws IOException
IOException
public Object fromStream(InputStream stream) throws IOException
IOException
Copyright © 2015–2016 FBK-irst. All rights reserved.