|
Language Processing v2.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectJarProcessor
public class JarProcessor
collate the applet archive from applet.jar, the temporary class file tree, and from each jar element at level 2 and each nested jar element with sink='applet' or sink='jnlp' at level 2 on the classpath.
| Constructor Summary | |
|---|---|
JarProcessor()
|
|
| Method Summary | |
|---|---|
protected void |
copy(JarOutputStream out,
JarEntry entry,
InputStream in)
append a byte stream to an archive. |
protected void |
jar(JarOutputStream out,
String dirName,
File file)
recursively archive directory and/or files. |
protected void |
jar(Job job,
JarOutputStream out,
File file)
copy an archive, but for META-INF. |
void |
process(Job job)
|
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JarProcessor()
| Method Detail |
|---|
public void process(Job job)
throws IOException
process in interface Job.ProcessorIOException
protected void jar(Job job,
JarOutputStream out,
File file)
throws IOException
file - to be copied.
IOException
protected void copy(JarOutputStream out,
JarEntry entry,
InputStream in)
throws IOException
IOException
protected void jar(JarOutputStream out,
String dirName,
File file)
throws IOException
dirName - path prefix, must include trailing separator.file - to be archived; not null.
IOException
|
(c) 2008 Axel T. Schreiner |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||