public class OWLEntitySerializer<E extends org.semanticweb.owlapi.model.OWLEntity> extends OWLObjectSerializer<E>
| Constructor and Description |
|---|
OWLEntitySerializer(org.semanticweb.owlapi.model.EntityType<E> entityType) |
| Modifier and Type | Method and Description |
|---|---|
protected E |
readObject(BinaryOWLInputStream inputStream)
Reads the binary representation of an
OWLObject from a DataOutputStream. |
protected void |
writeObject(E object,
BinaryOWLOutputStream outputStream)
Writes a binary representation of an
OWLObject to a DataOutputStream. |
read, writepublic OWLEntitySerializer(org.semanticweb.owlapi.model.EntityType<E> entityType)
protected void writeObject(E object, BinaryOWLOutputStream outputStream) throws IOException
OWLObjectSerializerOWLObject to a DataOutputStream. This method does NOT write the object type marker out -
only the data that represents the object.writeObject in class OWLObjectSerializer<E extends org.semanticweb.owlapi.model.OWLEntity>object - The object to be written. Not null.IOException - if there was a problem with writing the object to the specified stream..protected E readObject(BinaryOWLInputStream inputStream) throws IOException, BinaryOWLParseException
OWLObjectSerializerOWLObject from a DataOutputStream. The representation is
NOT prefixed with the type marker for the object type.readObject in class OWLObjectSerializer<E extends org.semanticweb.owlapi.model.OWLEntity>IOExceptionBinaryOWLParseExceptionCopyright © 2015. All Rights Reserved.