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.IOException
public void write(byte[] b, int off, int len) throws java.io.IOException
write
in class java.io.FilterOutputStream
java.io.IOException
public void write(int b) throws java.io.IOException
write
in class java.io.FilterOutputStream
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.FilterOutputStream
java.io.IOException
public void processPOIFSWriterEvent(POIFSWriterEvent event)
POIFSWriterListener
processPOIFSWriterEvent
in interface POIFSWriterListener
event
- the POIFSWriterEventCopyright 2022 The Apache Software Foundation or its licensors, as applicable.