|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectuk.ac.roe.antigen.ant.BuildGrabber
Grabs a directory, or a zip file, and installs it in the temp directory for processing
| Constructor Summary | |
BuildGrabber()
Set up temp directories etc |
|
BuildGrabber(java.io.File dir)
Set up temp directories etc User-supplied tmpdirectory |
|
| Method Summary | |
boolean |
deleteTmp()
On the off chance that the system doesn't delete it, you can try to delete it yourself |
CopyableFile |
grab(java.io.File dir)
Source files are supplied as a known directory |
CopyableFile |
grab(java.util.jar.JarFile jar)
Grab the contents of a jar file and unzip to a temp directory |
CopyableFile |
grab(java.lang.String path)
Grabs stuff off the classpath and stick it in the temp directory |
CopyableFile |
grab(java.net.URL url)
Grabs contents of a jar file from a URL and unzip to a temp directory |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BuildGrabber()
throws java.io.IOException
java.io.IOException
public BuildGrabber(java.io.File dir)
throws java.io.IOException
java.io.IOException| Method Detail |
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception
public CopyableFile grab(java.io.File dir)
throws java.io.IOException
dir -
java.io.IOException
public CopyableFile grab(java.net.URL url)
throws java.io.IOException
url - of jar file
java.io.IOException
public CopyableFile grab(java.util.jar.JarFile jar)
throws java.io.IOException
jar - the jar file
java.io.IOException
public CopyableFile grab(java.lang.String path)
throws java.io.IOException
path - the path off the classpath to the jar
java.io.IOExceptionpublic boolean deleteTmp()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||