Uses of Interface
org.apache.poi.util.TempFileCreationStrategy
Packages that use TempFileCreationStrategy
Package
Description
Top-level util package are classes that are useful throughout the project.
-
Uses of TempFileCreationStrategy in org.apache.poi.util
Classes in org.apache.poi.util that implement TempFileCreationStrategyModifier and TypeClassDescriptionclassDefault implementation of theTempFileCreationStrategyused byTempFile: Files are collected into one directory.classUsername-aware subclass ofDefaultTempFileCreationStrategythat avoids permission issues when deploying applications with multiple users on the same server.Methods in org.apache.poi.util with parameters of type TempFileCreationStrategyModifier and TypeMethodDescriptionstatic voidTempFile.setTempFileCreationStrategy(TempFileCreationStrategy strategy) Configures the strategy used byTempFile.createTempFile(String, String)to create the temporary files.static voidTempFile.setThreadLocalTempFileCreationStrategy(TempFileCreationStrategy strategy) Configures the strategy used byTempFile.createTempFile(String, String)to create the temporary files.static <R> RTempFile.withStrategy(TempFileCreationStrategy newStrategy, Supplier<? extends R> task) Executes the given task ensuring that POI will use the given temp file creation strategy within the scope of the given task.