|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.whirr.util.Tarball
public class Tarball
Tarball utility.
Constructor Summary | |
---|---|
Tarball()
|
Method Summary | |
---|---|
static void |
createFromDirectory(String sourceDirectory,
String targetName)
Creates a tarball from the source directory and writes it into the target directory. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Tarball()
Method Detail |
---|
public static void createFromDirectory(String sourceDirectory, String targetName) throws IOException
sourceDirectory
- directory whose files will be added to the tarballtargetName
- directory where tarball will be written to
IOException
- when an exception occurs on creating the tarball
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |