Class TempFilePOIFSFileSystem
java.lang.Object
org.docx4j.org.apache.poi.poifs.filesystem.BlockStore
org.docx4j.org.apache.poi.poifs.filesystem.POIFSFileSystem
org.docx4j.org.apache.poi.poifs.filesystem.TempFilePOIFSFileSystem
- All Implemented Interfaces:
Closeable,AutoCloseable,POIFSViewable
An experimental POIFSFileSystem to support the encryption of large files
- Since:
- 4.1.1
-
Nested Class Summary
Nested classes/interfaces inherited from class org.docx4j.org.apache.poi.poifs.filesystem.BlockStore
BlockStore.ChainLoopDetector -
Field Summary
FieldsFields inherited from class org.docx4j.org.apache.poi.poifs.filesystem.POIFSFileSystem
_data -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Closes the FileSystem, freeing any underlying files, streams and buffers.protected voidMethods inherited from class org.docx4j.org.apache.poi.poifs.filesystem.POIFSFileSystem
create, createBlockIfNeeded, createDirectory, createDocument, createDocument, createDocumentInputStream, createOrUpdateDocument, getBATBlockAndIndex, getBigBlockSize, getBigBlockSizeDetails, getBlockAt, getBlockStoreBlockSize, getChainLoopDetector, getFreeBlock, getHeaderBlock, getMaxRecordLength, getNextBlock, getPropertyTable, getRoot, getShortDescription, getViewableArray, getViewableIterator, isInPlaceWriteable, main, preferArray, releaseBuffer, setMaxRecordLength, setNextBlock, size, writeFilesystem, writeFilesystem
-
Field Details
-
log
protected static org.slf4j.Logger log
-
-
Constructor Details
-
TempFilePOIFSFileSystem
public TempFilePOIFSFileSystem()
-
-
Method Details
-
createNewDataSource
protected void createNewDataSource()- Overrides:
createNewDataSourcein classPOIFSFileSystem
-
close
Description copied from class:POIFSFileSystemCloses the FileSystem, freeing any underlying files, streams and buffers. After this, you will be unable to read or write from the FileSystem.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classPOIFSFileSystem- Throws:
IOException
-