protected class StandardEncryptor.StandardCipherOutputStream extends java.io.FilterOutputStream implements POIFSWriterListener
| Modifier and Type | Field and Description |
|---|---|
protected long |
countBytes |
protected boolean |
deleteFile |
protected DirectoryNode |
dir |
protected java.io.File |
fileOut |
| Modifier | Constructor and Description |
|---|---|
protected |
StandardCipherOutputStream(DirectoryNode dir) |
| Modifier and Type | Method and 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 final boolean deleteFile
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.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.FilterOutputStreamjava.io.IOExceptionpublic void processPOIFSWriterEvent(POIFSWriterEvent event)
POIFSWriterListenerprocessPOIFSWriterEvent in interface POIFSWriterListenerevent - the POIFSWriterEventCopyright 2022 The Apache Software Foundation or its licensors, as applicable.