Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.semanticweb.owl.util
Class OWLOntologies

    java.lang.Object
      |
      +--org.semanticweb.owl.util.OWLOntologies

public class OWLOntologies
extends Object

Contains utility functions for OWLOntologies.

Method Summary
`static Set` | `getAllIncludedOntologies(OWLOntology ontology)` Finds all included ontologies.
`static List` | `topologicallySortOntologies(Set ontologies)` Sorts given OWLOntologies into a list so that including OWLOntologies are after included OWLOntologies.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### topologicallySortOntologies

    public static List topologicallySortOntologies(Set ontologies)
                                            throws OWLException

  Sorts given OWLOntologies into a list so that including OWLOntologies are after included OWLOntologies.

  Returns:
    the list of sorted OWLontologies
  Throws:
    `OWLException` - thrown if there is a problem

### getAllIncludedOntologies

    public static Set getAllIncludedOntologies(OWLOntology ontology)
                                        throws OWLException

  Finds all included ontologies.

  Returns:
    Set { OWLOntology } all included ontologies
    `OWLException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

WonderWeb