|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.util.RunJar
public class RunJar
Run a Hadoop job jar.
Field Summary | |
---|---|
static Pattern |
MATCH_ANY
Pattern that matches any string |
Constructor Summary | |
---|---|
RunJar()
|
Method Summary | |
---|---|
static void |
main(String[] args)
Run a Hadoop job jar. |
static void |
unJar(File jarFile,
File toDir)
Unpack a jar file into a directory. |
static void |
unJar(File jarFile,
File toDir,
Pattern unpackRegex)
Unpack matching files from a jar. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Pattern MATCH_ANY
Constructor Detail |
---|
public RunJar()
Method Detail |
---|
public static void unJar(File jarFile, File toDir) throws IOException
IOException
public static void unJar(File jarFile, File toDir, Pattern unpackRegex) throws IOException
jarFile
- the .jar file to unpacktoDir
- the destination directory into which to unpack the jarunpackRegex
- the pattern to match jar entries against
IOException
public static void main(String[] args) throws Throwable
Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |