net.sf.jooreports.opendocument
Class OpenDocumentIO

java.lang.Object
  extended by net.sf.jooreports.opendocument.OpenDocumentIO

public class OpenDocumentIO
extends java.lang.Object


Field Summary
static java.nio.charset.Charset UTF_8
           
 
Constructor Summary
OpenDocumentIO()
           
 
Method Summary
static OpenDocumentArchive readDirectory(java.io.File directory)
           
static OpenDocumentArchive readZip(java.io.InputStream inputStream)
           
static java.io.InputStreamReader toUtf8Reader(java.io.InputStream inputStream)
           
static java.io.OutputStreamWriter toUtf8Writer(java.io.OutputStream outputStream)
           
static void writeZip(OpenDocumentArchive archive, java.io.OutputStream outputStream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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