📄 web_component.java
字号:
//// ____.// __/\ ______| |__/\. _______// __ .____| | \ | +----+ \// _______| /--| | | - \ _ | : - \_________// \\______: :---| : : | : | \________>// |__\---\_____________:______: :____|____:_____\// /_____|//// . . . i n j a h i a w e t r u s t . . .//////// Web_Component//// NK 29.01.2001////package org.jahia.data.webapps;import java.io.*;import java.util.*;import java.util.zip.*;//import com.sun.xml.tree.*;import org.w3c.dom.*;//import org.xml.sax.*;import org.jahia.exceptions.*;import org.jahia.utils.zip.*; // JahiaarHandlerimport org.jahia.utils.*; // JahiaCmdExecimport org.jahia.utils.xml.*; // JahiaConsole, XMLParser/** * Holds Informations about the <web> components element in the descriptors file * application.xml ( J2EE Standard ) * * <application> * <display-name>filemanager.ear</display-name> * <desc>Application desc</desc> * <module> * * <web> * <web-uri>war-ic.war</web-uri> * <context-root>filemanager</context-root> * </web> * * </module> * </application> * * * @author Khue ng * @version 1.0 */public class Web_Component { /** The web-uri **/ private String m_WebURI; /** The context-root **/ private String m_ContextRoot; /** * Constructor * * @param (String) path, the full path to the application.xml file */ public Web_Component( String webURI, String contextRoot ){ m_WebURI = webURI; m_ContextRoot = contextRoot; } /** * Return the webURI * * @return (String) the web URI */ public String getWebURI(){ return m_WebURI; } /** * Return the Context Root * * @return (String) the Context Root */ public String getContextRoot(){ return m_ContextRoot; }} // end Web_Component
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -