Package net.sf.jooreports.opendocument
Class OpenDocumentArchive
- java.lang.Object
-
- net.sf.jooreports.opendocument.OpenDocumentArchive
-
public class OpenDocumentArchive extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringENTRY_CONTENTstatic java.lang.StringENTRY_MANIFESTstatic java.lang.StringENTRY_SETTINGS
-
Constructor Summary
Constructors Constructor Description OpenDocumentArchive()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenDocumentArchivecreateCopy()java.io.InputStreamgetEntryInputStream(java.lang.String entryName)java.util.SetgetEntryNames()java.io.OutputStreamgetEntryOutputStream(java.lang.String entryName)Returns anOutputStreamfor writing the content of the given entryjava.io.ReadergetEntryReader(java.lang.String entryName)java.io.WritergetEntryWriter(java.lang.String entryName)Returns aWriterfor writing the content of the given entry
-
-
-
Field Detail
-
ENTRY_CONTENT
public static final java.lang.String ENTRY_CONTENT
- See Also:
- Constant Field Values
-
ENTRY_MANIFEST
public static final java.lang.String ENTRY_MANIFEST
- See Also:
- Constant Field Values
-
ENTRY_SETTINGS
public static final java.lang.String ENTRY_SETTINGS
- See Also:
- Constant Field Values
-
-
Method Detail
-
getEntryNames
public java.util.Set getEntryNames()
-
getEntryInputStream
public java.io.InputStream getEntryInputStream(java.lang.String entryName)
-
getEntryReader
public java.io.Reader getEntryReader(java.lang.String entryName)
-
getEntryOutputStream
public java.io.OutputStream getEntryOutputStream(java.lang.String entryName)
Returns anOutputStreamfor writing the content of the given entry- Parameters:
entryName-- Returns:
- an
OutputStream
-
getEntryWriter
public java.io.Writer getEntryWriter(java.lang.String entryName)
Returns aWriterfor writing the content of the given entry- Parameters:
entryName-- Returns:
- a
Writer
-
createCopy
public OpenDocumentArchive createCopy()
-
-