Package org.apache.poi.util
Class UserNameAwareTempFileCreationStrategy
java.lang.Object
org.apache.poi.util.DefaultTempFileCreationStrategy
org.apache.poi.util.UserNameAwareTempFileCreationStrategy
- All Implemented Interfaces:
TempFileCreationStrategy
Username-aware subclass of
DefaultTempFileCreationStrategy
that avoids permission issues when deploying applications with multiple users on the same server.
Other than adding the username to the temporary directory, all other behavior is the same as the superclass.- Since:
- 5.4.0
-
Field Summary
Fields inherited from class org.apache.poi.util.DefaultTempFileCreationStrategy
DELETE_FILES_ON_EXIT, POIFILES -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.poi.util.DefaultTempFileCreationStrategy
createTempDirectory, createTempFile, getJavaIoTmpDir
-
Constructor Details
-
UserNameAwareTempFileCreationStrategy
public UserNameAwareTempFileCreationStrategy()
-
-
Method Details
-
getPOIFilesDirectoryPath
- Overrides:
getPOIFilesDirectoryPathin classDefaultTempFileCreationStrategy- Throws:
IOException
-