public class SystemOutDocumentTarget extends Object implements OWLOntologyDocumentTarget
System.out.| Constructor and Description |
|---|
SystemOutDocumentTarget() |
| Modifier and Type | Method and Description |
|---|---|
IRI |
getDocumentIRI()
Gets an IRI that points to an ontology document.
|
OutputStream |
getOutputStream()
Gets an
OutputStream that can be used to write an
ontology to an ontology document. |
Writer |
getWriter()
Gets a
Writer that can be used to write an ontology to an
ontology document. |
boolean |
isDocumentIRIAvailable()
Determines if an IRI that points to an ontology document is available.
|
boolean |
isOutputStreamAvailable()
Determines if this document target can be pointed to by an
OutputStream. |
boolean |
isWriterAvailable()
Determines if this document target can be pointed to by a
Writer. |
@Nonnull public IRI getDocumentIRI()
OWLOntologyDocumentTargetgetDocumentIRI in interface OWLOntologyDocumentTargetpublic boolean isDocumentIRIAvailable()
OWLOntologyDocumentTargetisDocumentIRIAvailable in interface OWLOntologyDocumentTargettrue if an IRI is available, otherwise false.public OutputStream getOutputStream()
OWLOntologyDocumentTargetOutputStream that can be used to write an
ontology to an ontology document.getOutputStream in interface OWLOntologyDocumentTargetpublic boolean isOutputStreamAvailable()
OWLOntologyDocumentTargetOutputStream.isOutputStreamAvailable in interface OWLOntologyDocumentTargettrue if an OutputStream can be obtained
from this document target.public Writer getWriter()
OWLOntologyDocumentTargetWriter that can be used to write an ontology to an
ontology document.getWriter in interface OWLOntologyDocumentTargetpublic boolean isWriterAvailable()
OWLOntologyDocumentTargetWriter.isWriterAvailable in interface OWLOntologyDocumentTargettrue if a Writer can be obtained from
this document target.Copyright © 2016 The University of Manchester. All Rights Reserved.