📄 jahiawebappsearpackage.java
字号:
//// ____.// __/\ ______| |__/\. _______// __ .____| | \ | +----+ \// _______| /--| | | - \ _ | : - \_________// \\______: :---| : : | : | \________>// |__\---\_____________:______: :____|____:_____\// /_____|//// . . . i n j a h i a w e t r u s t . . .//////// JahiaWebAppsEarPackage//// NK 16.01.2001////package org.jahia.data.webapps;import java.io.*;import java.util.*;/** * Holds Informations about a webapps ear package * * * @author Khue ng * @version 1.0 */public class JahiaWebAppsEarPackage { /** The vector of JahiaWebAppDef object * * @associates JahiaWebAppDef*/ private Vector m_WebApps = new Vector(); /** the application context in case of ear file **/ private String m_ApplicationContextRoot; /** * Constructor * * @param (String) context, the application context in case of ear file */ public JahiaWebAppsEarPackage ( String context ) { m_ApplicationContextRoot = context; } /** * Get the list of JahiaWebAppDef object * * @return (Vector) the Vector of JahiaWebAppDef object */ public Vector getWebApps(){ return m_WebApps; } /** * Add a WebApps Definition in the Web Apps list * * @param (JahiaWebAppDef) webAppDef */ public void addWebAppDef(JahiaWebAppDef webAppDef ){ m_WebApps.add(webAppDef); } /** * Add a vector of JahiaWebAppDef object at the end of the WebApps Vector * * @param (Vector) the vector */ public void addWebAppDefs(Vector vec){ m_WebApps.addAll(vec); } /** * Returns the Context Root of this application * * @return (String) the context root */ public String getContextRoot(){ return m_ApplicationContextRoot; } /** * Set the Application Context * * @param (String) the application context */ public void setContextRoot(String context){ m_ApplicationContextRoot = context; } } // end JahiaWebAppEarPackage
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -