|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.plugin.util.FileUtils
public class FileUtils
| Constructor Summary | |
|---|---|
FileUtils()
|
|
| Method Summary | |
|---|---|
static void |
conditionallyExtractZipFile(java.net.URL zipUrl,
java.io.File destDir)
Extract the zip from the URL into the destination directory, but only if the contents haven't already been unzipped. |
static void |
deleteDir(java.io.File directory)
Deprecated. Since 2.0.0. Use Commons IO FileUtils.deleteDirectory(java.io.File) instead. |
static java.io.File |
toFile(java.net.URL url)
Deprecated. Since 3.0. Use Commons IO FileUtils.toFile(java.net.URL) instead. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileUtils()
| Method Detail |
|---|
public static void conditionallyExtractZipFile(java.net.URL zipUrl,
java.io.File destDir)
zipUrl - The zip urldestDir - The destination directory for the zip contents@Deprecated public static java.io.File toFile(java.net.URL url)
FileUtils.toFile(java.net.URL) instead.
@Deprecated public static void deleteDir(java.io.File directory)
FileUtils.deleteDirectory(java.io.File) instead.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||