Class FileUtil
java.lang.Object
org.apache.felix.bundlerepository.impl.FileUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
copy
(InputStream is, File dir, String destName, String destDir, byte[] buffer) static void
downloadSource
(PrintStream out, PrintStream err, URL srcURL, String dirStr, boolean extract) static InputStream
static InputStream
openURL
(URLConnection conn) static void
setProxyAuth
(URLConnection conn) static void
unjar
(JarInputStream jis, File dir)
-
Constructor Details
-
FileUtil
public FileUtil()
-
-
Method Details
-
downloadSource
public static void downloadSource(PrintStream out, PrintStream err, URL srcURL, String dirStr, boolean extract) -
unjar
- Throws:
IOException
-
copy
public static void copy(InputStream is, File dir, String destName, String destDir, byte[] buffer) throws IOException - Throws:
IOException
-
setProxyAuth
- Throws:
IOException
-
openURL
- Throws:
IOException
-
openURL
- Throws:
IOException
-