org.semanticweb.owl.io
Class StreamOutputTarget

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

public class StreamOutputTarget
extends java.lang.Object
implements OWLOntologyOutputTarget

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


Constructor Summary
StreamOutputTarget(java.io.OutputStream os)
           
 
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

StreamOutputTarget

public StreamOutputTarget(java.io.OutputStream os)
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