Class StringDocumentTarget

java.lang.Object
org.semanticweb.owlapi.io.StringDocumentTarget
All Implemented Interfaces:
OWLOntologyDocumentTarget

public class StringDocumentTarget extends Object implements OWLOntologyDocumentTarget
Since:
2.2.0
Author:
Matthew Horridge, The University Of Manchester, Bio-Health Informatics Group
  • Constructor Details

    • StringDocumentTarget

      public StringDocumentTarget()
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getWriter

      public Optional<Writer> getWriter()
      Description copied from interface: OWLOntologyDocumentTarget
      Gets a 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.
      Specified by:
      getWriter in interface OWLOntologyDocumentTarget
      Returns:
      The writer