de.twenty11.unitprofile.output
Class MyFileUtils

java.lang.Object
  extended by de.twenty11.unitprofile.output.MyFileUtils

public class MyFileUtils
extends Object

http://stackoverflow.com/questions/1386809/copy-directory-from-a-jar-file


Constructor Summary
MyFileUtils()
           
 
Method Summary
static boolean copyFile(File toCopy, File destFile)
           
static boolean copyJarResourcesRecursively(File destDir, JarURLConnection jarConnection)
           
static boolean copyResourcesRecursively(URL originUrl, File destination)
           
static boolean isEmpty(CharSequence cs)
           
static String removeStart(String str, String remove)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyFileUtils

public MyFileUtils()
Method Detail

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.