![JAR search and dependency download from the Maven repository](/logo.png)
com.github.ibole.infrastructure.common.properties.PropertyMap Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of infrastructure-all Show documentation
Show all versions of infrastructure-all Show documentation
The all in one project of ibole infrastructure
The newest version!
package com.github.ibole.infrastructure.common.properties;
import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Properties;
/*********************************************************************************************
* .
*
*
* Copyright 2016, iBole Inc. All rights reserved.
*
*
*
*********************************************************************************************/
/**
* Properties-like map with appropriate generics signature.
*
*/
public class PropertyMap extends HashMap {
private static final long serialVersionUID = 2734081461296533186L;
public PropertyMap() {
super();
}
public PropertyMap(final Map map) {
super(map);
}
/**
* Constructor with parma type Properties.
* @param properties Properties
*/
public PropertyMap(final Properties properties) {
putAll(properties);
}
/**
* Put all key/value from properties
*
* @param props the Properties.
*/
public void putAll(final Properties props) {
for (Entry
© 2015 - 2025 Weber Informatics LLC | Privacy Policy