org.semanticweb.elk.loading
Class Owl2StreamLoader

java.lang.Object
  extended by org.semanticweb.elk.loading.AbstractAxiomLoader
      extended by org.semanticweb.elk.loading.Owl2ParserLoader
          extended by org.semanticweb.elk.loading.Owl2StreamLoader
All Implemented Interfaces:
AxiomLoader

public class Owl2StreamLoader
extends Owl2ParserLoader
implements AxiomLoader

A AxiomLoader which loads ontology from streams (e.g., backed by files or strings) using a given Owl2ParserFactory

Author:
"Yevgeny Kazakov"

Field Summary
 
Fields inherited from class org.semanticweb.elk.loading.Owl2ParserLoader
exception
 
Constructor Summary
Owl2StreamLoader(Owl2ParserFactory parserFactory, File file)
           
Owl2StreamLoader(Owl2ParserFactory parserFactory, InputStream stream)
           
Owl2StreamLoader(Owl2ParserFactory parserFactory, String text)
           
 
Method Summary
 void disposeParserResources()
          A hook to free resources used by the parser
 
Methods inherited from class org.semanticweb.elk.loading.Owl2ParserLoader
dispose, isLoadingFinished, load
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.semanticweb.elk.loading.AxiomLoader
dispose, isLoadingFinished, load
 

Constructor Detail

Owl2StreamLoader

public Owl2StreamLoader(Owl2ParserFactory parserFactory,
                        InputStream stream)

Owl2StreamLoader

public Owl2StreamLoader(Owl2ParserFactory parserFactory,
                        File file)
                 throws FileNotFoundException
Throws:
FileNotFoundException

Owl2StreamLoader

public Owl2StreamLoader(Owl2ParserFactory parserFactory,
                        String text)
Method Detail

disposeParserResources

public void disposeParserResources()
Description copied from class: Owl2ParserLoader
A hook to free resources used by the parser

Overrides:
disposeParserResources in class Owl2ParserLoader


Copyright © 2011-2013 Department of Computer Science, University of Oxford. All Rights Reserved.