All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.softicar.platform.common.core.properties.SystemProperty Maven / Gradle / Ivy

Go to download

The SoftiCAR Platform is a lightweight, Java-based library to create interactive business web applications.

There is a newer version: 50.0.0
Show newest version
package com.softicar.platform.common.core.properties;

import java.util.function.Function;

/**
 * An {@link IProperty} implementation for JVM system properties.
 *
 * @author Alexander Schmidt
 */
public class SystemProperty extends AbstractProperty {

	protected SystemProperty(PropertyName propertyName, T defaultValue, Function parser) {

		super(propertyName, defaultValue, parser);
	}

	@Override
	protected String getValueString(PropertyName propertyName) {

		return System.getProperty(propertyName.toString());
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy