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

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

public class WebXmlStreamingAssembly
extends java.lang.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(java.io.InputStream webXmlIn, java.io.InputStream portletXmlIn, java.io.OutputStream assembledWebXmlOut, java.lang.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(java.io.InputStream webXmlIn,
                                  java.io.InputStream portletXmlIn,
                                  java.io.OutputStream assembledWebXmlOut,
                                  java.lang.String dispatchServletClass)
                           throws java.io.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:
java.io.IOException


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