Class XZStreamDocumentTarget

java.lang.Object
org.semanticweb.owlapi.io.XZStreamDocumentTarget
All Implemented Interfaces:
AutoCloseable, OWLOntologyDocumentTarget

public class XZStreamDocumentTarget extends Object implements OWLOntologyDocumentTarget, AutoCloseable
An ontology document target which can write to a XZ stream. Notice that this works best when the output stream is closed explicitly in the client code.
Since:
4.0.2
Author:
ses
  • Constructor Details

    • XZStreamDocumentTarget

      public XZStreamDocumentTarget(OutputStream os, org.tukaani.xz.FilterOptions... filterOptions)
      Parameters:
      os - the actual output stream
      filterOptions - XZ filter options to use. If no options are supplied use default LZMA2 Options.
    • XZStreamDocumentTarget

      public XZStreamDocumentTarget(OutputStream os, int presetLevel) throws org.tukaani.xz.UnsupportedOptionsException
      Parameters:
      os - output stream to wrap
      presetLevel - LZMA2 Preset Level to use
      Throws:
      org.tukaani.xz.UnsupportedOptionsException - if an unsupported preset level is supplied
  • Method Details