public class StringDocumentTarget extends Object implements OWLOntologyDocumentTarget
Constructor and Description |
---|
StringDocumentTarget() |
Modifier and Type | Method and Description |
---|---|
Optional<Writer> |
getWriter()
Gets a
Writer that can be used to write an ontology to an
ontology document. |
String |
toString() |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDocumentIRI, getOutputStream
public Optional<Writer> getWriter()
OWLOntologyDocumentTarget
Writer
that can be used to write an ontology to an
ontology document. If none is available, return Optional.absent. Do not
call multiple times for the same file: the output file will be opened for
write multiple times.getWriter
in interface OWLOntologyDocumentTarget
Copyright © 2020 The University of Manchester. All rights reserved.