Package org.apache.poi.poifs.filesystem
Class TempFilePOIFSFileSystem
- java.lang.Object
-
- org.apache.poi.poifs.filesystem.BlockStore
-
- org.apache.poi.poifs.filesystem.POIFSFileSystem
-
- org.apache.poi.poifs.filesystem.TempFilePOIFSFileSystem
-
- All Implemented Interfaces:
Closeable,AutoCloseable,POIFSViewable
@Beta public class TempFilePOIFSFileSystem extends POIFSFileSystem
An experimental POIFSFileSystem to support the encryption of large files- Since:
- 4.1.1
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.poi.poifs.filesystem.BlockStore
BlockStore.ChainLoopDetector
-
-
Field Summary
-
Fields inherited from class org.apache.poi.poifs.filesystem.POIFSFileSystem
_data
-
-
Constructor Summary
Constructors Constructor Description TempFilePOIFSFileSystem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Closes the FileSystem, freeing any underlying files, streams and buffers.protected voidcreateNewDataSource()-
Methods inherited from class 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
-
-
-
-
Method Detail
-
createNewDataSource
protected void createNewDataSource()
- Overrides:
createNewDataSourcein classPOIFSFileSystem
-
close
public void close() throws IOExceptionDescription 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
-
-