| java.lang.Object org.apache.pluto.util.assemble.io.JarStreamingAssembly
JarStreamingAssembly | public class JarStreamingAssembly (Code) | | Utility class responsible for accepting a JarInputStream representing a web application archive,
iterating over each JarEntry in the input stream and assembling the WAR web.xml for portlet
deployment.
|
assembleStream | public static void assembleStream(JarInputStream source, JarOutputStream dest, String dispatchServletClass) throws IOException(Code) | | Reads the source JarInputStream, copying entries to the destination JarOutputStream.
The web.xml and portlet.xml are cached, and after the entire archive is copied
(minus the web.xml) a re-written web.xml is generated and written to the
destination JAR.
Parameters: source - the WAR source input stream Parameters: dest - the WAR destination output stream Parameters: dispatchServletClass - the name of the dispatch class throws: IOException - |
|
|