org.apache.felix.bundlerepository
Class FileUtil
java.lang.Object
org.apache.felix.bundlerepository.FileUtil
public class FileUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileUtil
public FileUtil()
downloadSource
public static void downloadSource(PrintStream out,
PrintStream err,
URL srcURL,
String dirStr,
boolean extract)
unjar
public static void unjar(JarInputStream jis,
File dir)
throws IOException
- Throws:
IOException
copy
public static void copy(InputStream is,
File dir,
String destName,
String destDir,
byte[] buffer)
throws IOException
- Throws:
IOException
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.