Class FilesystemTools
java.lang.Object
org.eclipse.ease.modules.platform.resources.FilesystemTools
public final class FilesystemTools extends Object
-
Method Summary
Modifier and Type Method Description static File
createFile(File file)
static File
createFolder(File folder)
static void
deleteFile(File file)
static void
deleteFolder(File folder)
static String[]
findFiles(Pattern regExp, File root, boolean recursive)
static byte[]
getChecksum(InputStream input)
static String
openFileSelectionDialog(File dialogRoot, int mode, String title)
static String
openFolderSelectionDialog(File dialogRoot, String title, String message)
static void
unzip(Path zipFilePath, Path targetDirectoryPath)
static void
zip(Path sourceFilePath, Path zipFilePath)
-
Method Details
-
createFolder
- Throws:
IOException
-
createFile
- Throws:
IOException
-
deleteFile
- Throws:
IOException
-
deleteFolder
- Throws:
IOException
-
openFileSelectionDialog
-
openFolderSelectionDialog
-
findFiles
- Throws:
IOException
-
zip
- Throws:
IOException
-
unzip
- Throws:
IOException
-
getChecksum
- Throws:
IOException
-