cz.muni.pdfjbim
Class Tools
java.lang.Object
cz.muni.pdfjbim.Tools
public class Tools
- extends Object
- Author:
- Radim Hatlapatka (hata.radim@gmail.com)
|
Constructor Summary |
Tools()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Tools
public Tools()
deleteFilesFromList
public static void deleteFilesFromList(List<String> filesToDelete)
- Parameters:
filesToDelete - list of fileNames to be deleted
deleteFilesFromList
public static void deleteFilesFromList(File[] filesToDelete)
- Parameters:
filesToDelete - list of fileNames to be deleted
copy
public static void copy(File fromFile,
File toFile)
throws IOException
- copy file
- Parameters:
fromFile - what file should be copiedtoFile - where the file should be copied
- Throws:
IOException
copyDir
public static void copyDir(File sourceDir,
File destinationDir)
throws IOException
- copy all files from source directory to destination directory -- used by JUnit tests
- Parameters:
sourceDir - source directorydestinationDir - destination directory
- Throws:
IOException
Copyright © 2012 Faculty of Informatics, Masaryk University, Brno. All Rights Reserved.