Class OpenDocumentIO


  • public class OpenDocumentIO
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.nio.charset.Charset UTF_8  
    • Constructor Summary

      Constructors 
      Constructor Description
      OpenDocumentIO()  
    • Field Detail

      • UTF_8

        public static final java.nio.charset.Charset UTF_8
    • Constructor Detail

      • OpenDocumentIO

        public OpenDocumentIO()
    • Method Detail

      • toUtf8Reader

        public static java.io.InputStreamReader toUtf8Reader​(java.io.InputStream inputStream)
      • toUtf8Writer

        public static java.io.OutputStreamWriter toUtf8Writer​(java.io.OutputStream outputStream)
      • readZip

        public static OpenDocumentArchive readZip​(java.io.InputStream inputStream)
                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • readDirectory

        public static OpenDocumentArchive readDirectory​(java.io.File directory)
                                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • writeZip

        public static void writeZip​(OpenDocumentArchive archive,
                                    java.io.OutputStream outputStream)
                             throws java.io.IOException
        Throws:
        java.io.IOException