public class FileUtil extends Object
| Constructor and Description |
|---|
FileUtil() |
| Modifier and Type | Method and Description |
|---|---|
static 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 void |
unjar(JarInputStream jis,
File dir) |
public static void downloadSource(PrintStream out, PrintStream err, URL srcURL, String dirStr, boolean extract)
public static void unjar(JarInputStream jis, File dir) throws IOException
IOExceptionpublic static void copy(InputStream is, File dir, String destName, String destDir, byte[] buffer) throws IOException
IOExceptionCopyright © 2007–2017 The Apache Software Foundation. All rights reserved.