org.semanticweb.owlapi.io
Class ZipOutputTarget

java.lang.Object
  extended by org.semanticweb.owlapi.io.ZipOutputTarget
All Implemented Interfaces:
OWLOntologyOutputTarget

public class ZipOutputTarget
extends java.lang.Object
implements OWLOntologyOutputTarget

Author: Matthew Horridge
The University of Manchester
Information Management Group
Date: 03-Apr-2009


Constructor Summary
ZipOutputTarget(java.io.File file)
           
 
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

ZipOutputTarget

public ZipOutputTarget(java.io.File file)
Method Detail

isWriterAvailable

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

getWriter

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

isOutputStreamAvailable

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

getOutputStream

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

isPhysicalURIAvailable

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

getPhysicalURI

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