public class ODFBufferredStreamWriter extends ODFStreamWriter
contentEntry, contentWriter, zipOutputStream
Constructor and Description |
---|
ODFBufferredStreamWriter(java.io.OutputStream out)
Create an ODFStreamWriter with default charset.
|
ODFBufferredStreamWriter(java.io.OutputStream out,
java.lang.String entryName)
Create an ODFStreamWriter by specified entry name.
|
ODFBufferredStreamWriter(java.io.OutputStream out,
java.lang.String entryName,
java.lang.String charsetName)
Create an ODFStreamWriter by specified entry name and charset.
|
close, closeEntry, ensureOpen, flush, getContentEntry, getOutputStream, init, putNextEntry, write, write
public ODFBufferredStreamWriter(java.io.OutputStream out) throws java.io.IOException
out
- An OutputStreamjava.io.IOException
- if an I/O error has occurredpublic ODFBufferredStreamWriter(java.io.OutputStream out, java.lang.String entryName) throws java.io.IOException
out
- An OutputStreamentryName
- target entry namejava.io.UnsupportedEncodingException
- If the named charset is not supportedjava.util.zip.ZipException
- if a ZIP file error has occurredjava.io.IOException
- if an I/O error has occurredpublic ODFBufferredStreamWriter(java.io.OutputStream out, java.lang.String entryName, java.lang.String charsetName) throws java.io.IOException
out
- An OutputStreamentryName
- target entry namecharsetName
- The name of a supported java.nio.charset.Charset
charset
java.io.UnsupportedEncodingException
- If the named charset is not supportedjava.util.zip.ZipException
- if a ZIP file error has occurredjava.io.IOException
- if an I/O error has occurredCopyright © 2010 - No Magic Asia