owltools.io
Class AbstractClosureReader

java.lang.Object
  extended by owltools.io.AbstractClosureReader
All Implemented Interfaces:
GraphReader
Direct Known Subclasses:
CompactGraphClosureReader

public abstract class AbstractClosureReader
extends Object
implements GraphReader

Author:
cjm

Field Summary
protected  InputStream stream
           
 
Constructor Summary
AbstractClosureReader(InputStream stream)
           
AbstractClosureReader(OWLGraphWrapper g)
           
AbstractClosureReader(String file)
           
 
Method Summary
 InputStream getStream()
           
abstract  void read()
           
 void read(String file)
           
 void setStream(InputStream stream)
           
 void setStream(String file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

stream

protected InputStream stream
Constructor Detail

AbstractClosureReader

public AbstractClosureReader(InputStream stream)

AbstractClosureReader

public AbstractClosureReader(String file)

AbstractClosureReader

public AbstractClosureReader(OWLGraphWrapper g)
Method Detail

getStream

public InputStream getStream()

setStream

public void setStream(InputStream stream)

setStream

public void setStream(String file)

read

public void read(String file)
          throws IOException
Specified by:
read in interface GraphReader
Throws:
IOException

read

public abstract void read()
                   throws IOException
Specified by:
read in interface GraphReader
Throws:
IOException


Copyright © 2010-2012. All Rights Reserved.