org.semanticweb.owl.io
Class WriterOutputTarget

java.lang.Object
  extended by org.semanticweb.owl.io.WriterOutputTarget
All Implemented Interfaces:
OWLOntologyOutputTarget

public class WriterOutputTarget
extends java.lang.Object
implements OWLOntologyOutputTarget

Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 25-Jan-2008


Constructor Summary
WriterOutputTarget(java.io.Writer writer)
           
 
Method Summary
 java.io.OutputStream getOutputStream()
           
 java.net.URI getPhysicalURI()
           
 java.io.Writer getWriter()
           
 boolean isOutputStreamAvailable()
           
 boolean isPhysicalURIAvailable()
           
 boolean isWriterAvailable()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WriterOutputTarget

public WriterOutputTarget(java.io.Writer writer)
Method Detail

isWriterAvailable

public boolean isWriterAvailable()
Specified by:
isWriterAvailable in interface OWLOntologyOutputTarget

getWriter

public java.io.Writer getWriter()
Specified by:
getWriter in interface OWLOntologyOutputTarget

isOutputStreamAvailable

public boolean isOutputStreamAvailable()
Specified by:
isOutputStreamAvailable in interface OWLOntologyOutputTarget

getOutputStream

public java.io.OutputStream getOutputStream()
Specified by:
getOutputStream in interface OWLOntologyOutputTarget

isPhysicalURIAvailable

public boolean isPhysicalURIAvailable()
Specified by:
isPhysicalURIAvailable in interface OWLOntologyOutputTarget

getPhysicalURI

public java.net.URI getPhysicalURI()
Specified by:
getPhysicalURI in interface OWLOntologyOutputTarget