Code example for Properties

Methods: putAll

0
    public Properties getProperties() {
        return properties;
    } 
 
    public void setProperties(Properties properties) {
        this.properties.putAll(properties);
    } 
 
    public void addProperty(String name, String value) {
        if (name != null && value != null && !"".equals(name) && !"".equals(value)) {
            this.properties.put(name, value);
        } 
    } 
 
    public String getRepositoryType() {
        return repositoryType;
    } 
 
    public void setRepositoryType(String repositoryType) {
        this.repositoryType = repositoryType;
    }