Configuration Interface

public interface Configuration

Provides read-only access to configuration properties.

Method Summary

Modifier and Type Method and Description
abstract java.util.Properties getProperties()

Returns the Properties in the Configuration.

abstract java.lang.String[] getProperties(String key)

Returns an Array of Properties that are in the Configuration.

abstract java.lang.String getProperty(String key)

Returns a value for the specified property name.

Method Details

getProperties

public abstract Properties getProperties()

Returns the Properties in the Configuration.

Returns:

The Properties in the Configuration.

getProperties

public abstract String[] getProperties(String key)

Returns an Array of Properties that are in the Configuration.

Parameters:

key - The property name.

Returns:

The property values.

getProperty

public abstract String getProperty(String key)

Returns a value for the specified property name.

Parameters:

key - The property name.

Returns:

The property value.

Applies to