protected class StandardEncryptor.StandardCipherOutputStream extends java.io.FilterOutputStream implements POIFSWriterListener
Modifier and Type | Field and Description |
---|---|
protected long |
countBytes |
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
(处理此侦听器已注册的 POIFSWriterEvent)
|
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.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
(java.io.IOException)
public void write(int b) throws java.io.IOException
write
in class
java.io.FilterOutputStream
java.io.IOException
(java.io.IOException)
public void close() throws java.io.IOException
close
in interface
java.io.Closeable
(在接口 java.io.Closeable 中关闭)
close
in interface
java.lang.AutoCloseable
(在接口 java.lang.AutoCloseable 中关闭)
close
in class
java.io.FilterOutputStream
java.io.IOException
(java.io.IOException)
public void processPOIFSWriterEvent(POIFSWriterEvent event)
POIFSWriterListener
processPOIFSWriterEvent
in interface
POIFSWriterListener
(接口 POIFSWriterListener 中的 processPOIFSWriterEvent)
event
- the POIFSWriterEvent
(事件 - POIFSWriterEvent)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.