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.String
ENTRY_CONTENT
static java.lang.String
ENTRY_MANIFEST
static java.lang.String
ENTRY_SETTINGS
-
Constructor Summary
Constructors Constructor Description OpenDocumentArchive()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenDocumentArchive
createCopy()
java.io.InputStream
getEntryInputStream(java.lang.String entryName)
java.util.Set
getEntryNames()
java.io.OutputStream
getEntryOutputStream(java.lang.String entryName)
Returns anOutputStream
for writing the content of the given entryjava.io.Reader
getEntryReader(java.lang.String entryName)
java.io.Writer
getEntryWriter(java.lang.String entryName)
Returns aWriter
for 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 anOutputStream
for writing the content of the given entry- Parameters:
entryName
-- Returns:
- an
OutputStream
-
getEntryWriter
public java.io.Writer getEntryWriter(java.lang.String entryName)
Returns aWriter
for writing the content of the given entry- Parameters:
entryName
-- Returns:
- a
Writer
-
createCopy
public OpenDocumentArchive createCopy()
-
-