org.semanticweb.owl.io
Interface OWLOntologyOutputTarget

All Known Implementing Classes:
StreamOutputTarget, StringOutputTarget, WriterOutputTarget

public interface OWLOntologyOutputTarget

Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 18-Nov-2007

Specifies an interface to access a stream which can be used to store an ontology. Any OWLOntologyStorer that uses this interface will first try to obtain a writer (if isWriterAvailable returns true), followed by an OutputStream (if isOutputStreamAvailable returns true), followed by trying to open a stream from a physical URI (if isPhysicalURIAvailable returns true)


Method Summary
 java.io.OutputStream getOutputStream()
           
 java.net.URI getPhysicalURI()
           
 java.io.Writer getWriter()
           
 boolean isOutputStreamAvailable()
           
 boolean isPhysicalURIAvailable()
           
 boolean isWriterAvailable()
           
 

Method Detail

isWriterAvailable

boolean isWriterAvailable()

getWriter

java.io.Writer getWriter()

isOutputStreamAvailable

boolean isOutputStreamAvailable()

getOutputStream

java.io.OutputStream getOutputStream()

isPhysicalURIAvailable

boolean isPhysicalURIAvailable()

getPhysicalURI

java.net.URI getPhysicalURI()