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

📄 writerbean.java

📁 日志组件,添加到应用中,可在数据库中查询日志
💻 JAVA
字号:
package com.gisinfo.common.log;

import org.apache.commons.collections.map.CaseInsensitiveMap;

import java.util.Map;
import java.util.HashMap;

/**
 * User: Ken
 * Date: 2008-5-21
 * Time: 14:46:18
 */
public class WriterBean {
    private String key = null;
    private Map properties = new CaseInsensitiveMap();

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public void addProperty(String key, String value) {
        this.properties.put(key, value);
    }

    public String getProperty(String key) {
        return (String) this.properties.get(key);
    }

    public void removeProperty(String key){
        this.properties.remove(key);
    }

    public void clearProperty (){
        this.properties.clear();
    }

    public Map getProperties() {
        return properties;
    }

    public void setProperties(Map properties) {
        this.properties = properties;
    }
}

⌨️ 快捷键说明

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