org.apache.pluto.util.assemble.io
Class WebXmlStreamingAssembly

java.lang.Object
  extended by org.apache.pluto.util.assemble.io.WebXmlStreamingAssembly

public class WebXmlStreamingAssembly
extends Object

Utility class responsible for accepting web.xml and portlet.xml as InputStreams, and assembling the web.xml to an OutputStream.


Constructor Summary
WebXmlStreamingAssembly()
           
 
Method Summary
static void assembleStream(InputStream webXmlIn, InputStream portletXmlIn, OutputStream assembledWebXmlOut, String dispatchServletClass)
          Assembles the web.xml represented by the InputStream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebXmlStreamingAssembly

public WebXmlStreamingAssembly()
Method Detail

assembleStream

public static void assembleStream(InputStream webXmlIn,
                                  InputStream portletXmlIn,
                                  OutputStream assembledWebXmlOut,
                                  String dispatchServletClass)
                           throws IOException
Assembles the web.xml represented by the InputStream.

Parameters:
webXmlIn - the unassembled web.xml file
portletXmlIn - the corresponding portlet.xml file
assembledWebXmlOut - the assembled web.xml file
dispatchServletClass - the dispatch servlet
Throws:
IOException


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.