java.io.Closeable, java.io.Flushable, java.lang.AutoCloseable, POIFSWriterListenerprotected class StandardEncryptor.StandardCipherOutputStream extends java.io.FilterOutputStream implements POIFSWriterListener
| Modifier and Type | Field | Description |
|---|---|---|
protected long |
countBytes |
|
protected DirectoryNode |
dir |
|
protected java.io.File |
fileOut |
| Modifier | Constructor | Description |
|---|---|---|
protected |
StandardCipherOutputStream(DirectoryNode dir) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
void |
processPOIFSWriterEvent(POIFSWriterEvent event) |
Process a POIFSWriterEvent that this listener had registered
for
|
void |
write(byte[] b,
int off,
int len) |
|
void |
write(int b) |
protected long countBytes
protected final java.io.File fileOut
protected final DirectoryNode dir
protected StandardCipherOutputStream(DirectoryNode dir) throws java.io.IOException
java.io.IOExceptionpublic void write(byte[] b,
int off,
int len)
throws java.io.IOException
write in class java.io.FilterOutputStreamjava.io.IOExceptionpublic void write(int b)
throws java.io.IOException
write in class java.io.FilterOutputStreamjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.lang.AutoCloseableclose in interface java.io.Closeableclose in class java.io.FilterOutputStreamjava.io.IOExceptionpublic void processPOIFSWriterEvent(POIFSWriterEvent event)
POIFSWriterListenerprocessPOIFSWriterEvent in interface POIFSWriterListenerevent - the POIFSWriterEventCopyright 2018 The Apache Software Foundation or its licensors, as applicable.