Class WriteOwlOntologyModelToFileUsingJena

java.lang.Object
javatapas.jena.WriteOwlOntologyModelToFileUsingJena

public class WriteOwlOntologyModelToFileUsingJena
extends Object
Version:
2021-05-29
Author:
Kodiak Brown
See Also:
https://jena.apache.org
  • Constructor Details

    • WriteOwlOntologyModelToFileUsingJena

      public WriteOwlOntologyModelToFileUsingJena()
  • Method Details

    • writeOwlOntologyModelToFileUsingJena

      private static void writeOwlOntologyModelToFileUsingJena​(org.apache.jena.ontology.OntModel ontModel, OutputStream outputStream) throws IOException
      Parameters:
      ontModel - The OWL Model to write to the output stream.
      outputStream - The output stream to write to.
      Throws:
      IOException
    • writeModel

      public static void writeModel​(org.apache.jena.ontology.OntModel ontModel, String directory, String fileName) throws IOException
      Parameters:
      ontModel - The OWL Model to write to the output stream.
      directory - The name of the output directory where the output file will be created. The directory will be created if it does not exist.
      fileName - The name of the output file.
      Throws:
      IOException