public class PsZipUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
TEMP_FOLDER_NAME
Suffix for folders where the content of zip files should be extracted.
|
static String |
UNZIP_SUB_FOLDER
The sub folder where the unzipped files should be stored.
|
| Constructor and Description |
|---|
PsZipUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getTempFolderName(String fileName)
Returns the temp folder name to use when unzipping a zip file.
|
static String |
getUnzipParentFolder()
Returns the parent folder where to unzip files.
|
static String |
getUnzipSubFolder()
Returns the sub-folder where to unzip files.
|
static void |
setUnzipParentFolder(String newFolder)
Sets the parent folder where to unzip files to.
|
public static final String UNZIP_SUB_FOLDER
public static final String TEMP_FOLDER_NAME
public static String getUnzipParentFolder()
public static String getUnzipSubFolder()
public static void setUnzipParentFolder(String newFolder)
newFolder - the parent folder where to unzip files toCopyright © 2021. All rights reserved.