public class WriterDocumentTarget extends Object implements OWLOntologyDocumentTarget
| Constructor and Description |
|---|
WriterDocumentTarget(Writer writer) |
| Modifier and Type | Method and Description |
|---|---|
Optional<Writer> |
getWriter()
Gets a
Writer that can be used to write an ontology to an
ontology document. |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDocumentIRI, getOutputStreampublic WriterDocumentTarget(Writer writer)
writer - the writer to usepublic Optional<Writer> getWriter()
OWLOntologyDocumentTargetWriter 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 OWLOntologyDocumentTargetCopyright © 2017 The University of Manchester. All Rights Reserved.