⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 portalfilterdefinition.java

📁 GridSphere 门户 提供一个基于 portlet 的高级开放源代码门户。GridSphere 是在欧盟提供基金的 GridLab 项目下开发的
💻 JAVA
字号:
package org.gridsphere.services.core.filter.impl.descriptor;import org.gridsphere.portlet.service.spi.impl.descriptor.ConfigParam;import org.gridsphere.portlet.service.spi.impl.descriptor.Description;import java.util.Iterator;import java.util.List;import java.util.Properties;import java.util.Vector;/** * @author <a href="mailto:novotny@gridsphere.org">Jason Novotny</a> * @version $Id$ */public class PortalFilterDefinition {    private String name = "";    private List<Description> descriptions = new Vector<Description>();    private String implementation = "";    private List<ConfigParam> configParamList = new Vector<ConfigParam>();    private Properties configProps;    public String getName() {        return name;    }    public void setName(String name) {        this.name = name;    }    public List<Description> getDescriptions() {        return descriptions;    }    public void setDescriptions(List<Description> descriptions) {        this.descriptions = descriptions;    }    public String getImplementation() {        return implementation;    }    public void setImplementation(String implementation) {        this.implementation = implementation;    }    public List<ConfigParam> getConfigParamList() {        return configParamList;    }    public void setConfigParamList(List<ConfigParam> configParamList) {        this.configParamList = configParamList;    }    /**     * Creates a properties from the  ConfigParamList     *     * @see #getConfigParamList     */    private void createProperties() {        configProps = new Properties();        Iterator it = this.configParamList.iterator();        ConfigParam param;        while (it.hasNext()) {            param = (ConfigParam) it.next();            configProps.setProperty(param.getParamName(), param.getParamValue());        }    }    /**     * Return the configuration properties     *     * @return the configuration properties     */    public Properties getConfigProperties() {        if (configProps == null) createProperties();        return configProps;    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -