com.liferay.portal.tools
Class WebXMLBuilder
java.lang.Object
com.liferay.portal.tools.WebXMLBuilder
public class WebXMLBuilder
- extends java.lang.Object
- Author:
- Brian Wing Shun Chan, Tang Ying Jian, Brian Myunghun Kim, Minhchau Dang
|
Constructor Summary |
WebXMLBuilder(java.lang.String originalWebXML,
java.lang.String customWebXML,
java.lang.String mergedWebXML)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebXMLBuilder
public WebXMLBuilder(java.lang.String originalWebXML,
java.lang.String customWebXML,
java.lang.String mergedWebXML)
main
public static void main(java.lang.String[] args)
organizeWebXML
public static java.lang.String organizeWebXML(java.lang.String webXML)
throws com.liferay.portal.kernel.xml.DocumentException,
java.io.IOException
- Throws:
com.liferay.portal.kernel.xml.DocumentException
java.io.IOException
getCustomContent
protected java.lang.String getCustomContent(java.lang.String customWebXML)
throws java.io.IOException
- Throws:
java.io.IOException
getMergedContentIndex
protected int getMergedContentIndex(java.lang.String content)
getOriginalContentIndex
protected int getOriginalContentIndex(java.lang.String content)