Class XZFileDocumentTarget

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

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

    • XZFileDocumentTarget

      public XZFileDocumentTarget(File os, org.tukaani.xz.FilterOptions... filterOptions)
      Parameters:
      os - the actual file
      filterOptions - Settings for XZ compression
    • XZFileDocumentTarget

      public XZFileDocumentTarget(File os, int presetLevel) throws org.tukaani.xz.UnsupportedOptionsException
      Construct an XZ document target using the selected compression preset
      Parameters:
      os - target File
      presetLevel - LZMA2 Compression preset level
      Throws:
      org.tukaani.xz.UnsupportedOptionsException - if the options selected are not acceptable
    • XZFileDocumentTarget

      public XZFileDocumentTarget(File file)
      Construct an XZ document target
      Parameters:
      file - target File
  • Method Details