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 void
close()
Closes the FileSystem, freeing any underlying files, streams and buffers.protected void
createNewDataSource()
-
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:
createNewDataSource
in classPOIFSFileSystem
-
close
public void close() throws IOException
Description copied from class:POIFSFileSystem
Closes the FileSystem, freeing any underlying files, streams and buffers. After this, you will be unable to read or write from the FileSystem.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classPOIFSFileSystem
- Throws:
IOException
-
-