|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.limegroup.gnutella.util.Expand
Unzip a file. "Imported" from Ant, with small adaptations.
Method Summary | |
static void |
expandFile(java.io.File source,
java.io.File dest)
Expand the specified source file into the specified destination directory. |
static void |
expandFile(java.io.File source,
java.io.File dest,
boolean overwrite)
Expand the specified source file into the specified destination directory. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static void expandFile(java.io.File source, java.io.File dest) throws java.io.IOException
source
- the source File to expanddest
- the destination directory in which to expand the
source file
IOException
- if the source file cannot be found,
if the destination directory cannot be written to, or there is
any other IO error
java.io.IOException
public static void expandFile(java.io.File source, java.io.File dest, boolean overwrite) throws java.io.IOException
source
- the source File to expanddest
- the destination directory in which to expand the
source file
IOException
- if the source file cannot be found,
if the destination directory cannot be written to, or there is
any other IO error
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |