|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jboss.deployment.spi.JarUtils
A collection of jar utilities
| Constructor Summary | |
JarUtils()
|
|
| Method Summary | |
static String[] |
addJar(JarOutputStream outputStream,
String prefix,
File jar)
Add jar contents to the deployment archive under the given prefix |
static void |
addJarEntry(JarOutputStream outputStream,
String entryName,
InputStream inputStream)
Add a jar entry to the deployment archive |
static void |
copyStream(OutputStream outputStream,
InputStream inputStream)
Copies the input stream to the output stream |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JarUtils()
| Method Detail |
public static String[] addJar(JarOutputStream outputStream, String prefix, File jar) throws IOException
IOExceptionpublic static void addJarEntry(JarOutputStream outputStream, String entryName, InputStream inputStream) throws IOException
IOExceptionpublic static void copyStream(OutputStream outputStream, InputStream inputStream) throws IOException
IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||