org.apache.pluto.util.assemble.io
Class WebXmlStreamingAssembly
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebXmlStreamingAssembly
public WebXmlStreamingAssembly()
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 fileportletXmlIn
- the corresponding portlet.xml fileassembledWebXmlOut
- the assembled web.xml filedispatchServletClass
- the dispatch servlet
- Throws:
IOException
Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.