* ============LICENSE_END=========================================================
*/
-package org.openecomp.appc.configuration;
+package org.onap.appc.configuration;
import java.io.IOException;
import java.io.InputStream;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
-import org.openecomp.appc.encryption.EncryptionTool;
-import org.openecomp.appc.util.UnmodifiableProperties;
+import org.onap.appc.encryption.EncryptionTool;
+import org.onap.appc.util.UnmodifiableProperties;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
* @param key The property key
* @param defaultValue The default value to be returned if the property does not exist
* @return The value of the property expressed as a boolean, or false if it does not exist.
- * @see org.openecomp.appc.configuration.Configuration#getBooleanProperty(java.lang.String, boolean)
+ * @see org.onap.appc.configuration.Configuration#getBooleanProperty(java.lang.String, boolean)
*/
@Override
public boolean getBooleanProperty(String key, boolean defaultValue) {
*
* @param key The property to retrieve
* @return The value of the property, or 0.0 if not found
- * @see org.openecomp.appc.configuration.Configuration#getDoubleProperty(java.lang.String)
+ * @see org.onap.appc.configuration.Configuration#getDoubleProperty(java.lang.String)
*/
@SuppressWarnings("nls")
@Override
* @param key The key of the property
* @param defaultValue The default value to be returned if the property does not exist
* @return The string value, or null if it does not exist.
- * @see org.openecomp.appc.configuration.Configuration#getDoubleProperty(java.lang.String, double)
+ * @see org.onap.appc.configuration.Configuration#getDoubleProperty(java.lang.String, double)
*/
@Override
public double getDoubleProperty(String key, double defaultValue) {
*
* @param key The property name to retrieve.
* @return The value of the property, or 0 if it does not exist or is invalid.
- * @see org.openecomp.appc.configuration.Configuration#getIntegerProperty(java.lang.String)
+ * @see org.onap.appc.configuration.Configuration#getIntegerProperty(java.lang.String)
*/
@SuppressWarnings("nls")
@Override
* @param key The property name to retrieve.
* @param defaultValue The default value to be returned if the property does not exist
* @return The value of the property, or 0 if it does not exist or is invalid.
- * @see org.openecomp.appc.configuration.Configuration#getIntegerProperty(java.lang.String, int)
+ * @see org.onap.appc.configuration.Configuration#getIntegerProperty(java.lang.String, int)
*/
@Override
public int getIntegerProperty(String key, int defaultValue) {
* @param key The key of the property desired.
* @return The value of the property expressed as an integer long value, or zero if the property does not exist or
* is not a valid integer long.
- * @see org.openecomp.appc.configuration.Configuration#getLongProperty(java.lang.String)
+ * @see org.onap.appc.configuration.Configuration#getLongProperty(java.lang.String)
*/
@SuppressWarnings("nls")
@Override
* @param defaultValue the value to be returned if the property is not valid or does not exist.
* @return The value of the property expressed as an integer long value, or the default value if the property does
* not exist or is not a valid integer long.
- * @see org.openecomp.appc.configuration.Configuration#getLongProperty(java.lang.String, long)
+ * @see org.onap.appc.configuration.Configuration#getLongProperty(java.lang.String, long)
*/
@Override
public long getLongProperty(String key, long defaultValue) {
* properties.
*
* @return An unmodifiable properties object.
- * @see org.openecomp.appc.configuration.Configuration#getProperties()
+ * @see org.onap.appc.configuration.Configuration#getProperties()
*/
@Override
public Properties getProperties() {
* @param key The key of the property
* @param defaultValue The default value to be returned if the property does not exist
* @return The string value, or null if it does not exist.
- * @see org.openecomp.appc.configuration.Configuration#getProperty(java.lang.String, java.lang.String)
+ * @see org.onap.appc.configuration.Configuration#getProperty(java.lang.String, java.lang.String)
*/
@Override
public String getProperty(String key, String defaultValue) {
*
* @param key The property to be checked
* @return True if the value is a boolean constant, or false if it does not exist or is not a correct string
- * @see org.openecomp.appc.configuration.Configuration#isValidBoolean(java.lang.String)
+ * @see org.onap.appc.configuration.Configuration#isValidBoolean(java.lang.String)
*/
@SuppressWarnings("nls")
@Override
* @param key The property to be examined
* @return True if the property is a valid representation of a double, or false if it does not exist or contains
* illegal characters.
- * @see org.openecomp.appc.configuration.Configuration#isValidDouble(java.lang.String)
+ * @see org.onap.appc.configuration.Configuration#isValidDouble(java.lang.String)
*/
@Override
public boolean isValidDouble(String key) {
* @param key The key of the property to check
* @return True if the value is a valid integer string, or false if it does not exist or contains illegal
* characters.
- * @see org.openecomp.appc.configuration.Configuration#isValidInteger(java.lang.String)
+ * @see org.onap.appc.configuration.Configuration#isValidInteger(java.lang.String)
*/
@Override
public boolean isValidInteger(String key) {
* @param key The property to be checked
* @return True if the property is a valid representation of an integer long value, and false if it either does not
* exist or is not valid.
- * @see org.openecomp.appc.configuration.Configuration#isValidLong(java.lang.String)
+ * @see org.onap.appc.configuration.Configuration#isValidLong(java.lang.String)
*/
@Override
public boolean isValidLong(String key) {
*
* @param props An optional Properties object to be merged into the configuration, replacing any same-named
* properties.
- * @see org.openecomp.appc.configuration.Configuration#setProperties(java.util.Properties)
+ * @see org.onap.appc.configuration.Configuration#setProperties(java.util.Properties)
*/
@Override
public void setProperties(Properties props) {
*
* @param key The key of the property to be defined
* @param value The value of the property to be defined
- * @see org.openecomp.appc.configuration.Configuration#setProperty(java.lang.String, java.lang.String)
+ * @see org.onap.appc.configuration.Configuration#setProperty(java.lang.String, java.lang.String)
*/
@Override
public void setProperty(String key, String value) {