Package org.openspaces.core.util
Class FileUtils
java.lang.Object
org.openspaces.core.util.FileUtils
- Since:
- 9.0.1 TODO: Replace with commons-io once it is approved as an openspaces dependency
- Author:
- itaif
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FilecreateTempFolder(String tempFolderPrefix) static voiddeleteFileOrDirectory(File fileOrDirectory) static byte[]unzipFileToMemory(String applicationFile, File directoryOrZip, long maxFileSizeInBytes) static FileunzipToTempFolder(File zipFile) unzips the specified zip file to a temp folder
-
Constructor Details
-
FileUtils
public FileUtils()
-
-
Method Details
-
deleteFileOrDirectory
-
unzipToTempFolder
unzips the specified zip file to a temp folder- Returns:
- the new temp folder
- Since:
- 9.0.1
-
createTempFolder
-
unzipFileToMemory
-