issrg.editor2.ontology.importer
Class PolicyOntologyImporter

java.lang.Object
  extended by issrg.editor2.ontology.importer.PolicyOntologyImporter
Direct Known Subclasses:
OWLFileImporter, TextFileImporter, TextImporter

public abstract class PolicyOntologyImporter
extends java.lang.Object


Field Summary
protected  PolicyOntology ontology
           
 
Constructor Summary
PolicyOntologyImporter()
           
 
Method Summary
static PolicyOntology fromOWLFile(java.lang.String filename)
           
static PolicyOntology fromTextFile(java.lang.String filename)
           
static PolicyOntology fromTextString(java.lang.String content)
           
 PolicyOntology getOntology()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ontology

protected PolicyOntology ontology
Constructor Detail

PolicyOntologyImporter

public PolicyOntologyImporter()
Method Detail

getOntology

public PolicyOntology getOntology()
                           throws PolicyImportException
Throws:
PolicyImportException

fromOWLFile

public static PolicyOntology fromOWLFile(java.lang.String filename)
                                  throws PolicyImportException
Throws:
PolicyImportException

fromTextString

public static PolicyOntology fromTextString(java.lang.String content)
                                     throws PolicyImportException
Throws:
PolicyImportException

fromTextFile

public static PolicyOntology fromTextFile(java.lang.String filename)
                                   throws PolicyImportException
Throws:
PolicyImportException