de.twenty11.unitprofile.output
Class MyFileUtils
java.lang.Object
de.twenty11.unitprofile.output.MyFileUtils
public class MyFileUtils
- extends Object
http://stackoverflow.com/questions/1386809/copy-directory-from-a-jar-file
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MyFileUtils
public MyFileUtils()
copyFile
public static boolean copyFile(File toCopy,
File destFile)
copyJarResourcesRecursively
public static boolean copyJarResourcesRecursively(File destDir,
JarURLConnection jarConnection)
throws IOException
- Throws:
IOException
removeStart
public static String removeStart(String str,
String remove)
isEmpty
public static boolean isEmpty(CharSequence cs)
copyResourcesRecursively
public static boolean copyResourcesRecursively(URL originUrl,
File destination)
Copyright © 2013. All rights reserved.