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 FilecreateFile(File file)static FilecreateFolder(File folder)static voiddeleteFile(File file)static voiddeleteFolder(File folder)static String[]findFiles(Pattern regExp, File root, boolean recursive)static byte[]getChecksum(InputStream input)static StringopenFileSelectionDialog(File dialogRoot, int mode, String title)static StringopenFolderSelectionDialog(File dialogRoot, String title, String message)static voidunzip(Path zipFilePath, Path targetDirectoryPath)static voidzip(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
-