# Deprecated API

## Contents

- Classes
- Methods

- Deprecated Classes
  Class
  Description
  org.apache.commons.configuration2.interpol.EnvironmentLookup
  Use `DefaultLookups.ENVIRONMENT`.
  org.apache.commons.configuration2.interpol.SystemPropertiesLookup
  Use `DefaultLookups.SYSTEM_PROPERTIES`.

- Deprecated Methods
  Method
  Description
  org.apache.commons.configuration2.DatabaseConfiguration.getDatasource()
  Use `DatabaseConfiguration.getDataSource()`
  org.apache.commons.configuration2.ImmutableConfiguration.getArray(Class<?>, String, Object)
  This method should not be used any more because its signature does not allow type-safe invocations; use `ImmutableConfiguration.get(Class, String, Object)` instead which offers the same functionality; for instance, to query for an array of ints use `int[] result = config.get(int[].class, "myArrayKey", someDefault);`.
  org.apache.commons.configuration2.plist.SimpleCharStream.getColumn()
  org.apache.commons.configuration2.plist.SimpleCharStream.getLine()
  org.apache.commons.configuration2.PropertiesConfigurationLayout.getBlancLinesBefore(String)
  Use `PropertiesConfigurationLayout.getBlankLinesBefore(String)`.
  org.apache.commons.configuration2.PropertiesConfigurationLayout.setBlancLinesBefore(String, int)
  Use `PropertiesConfigurationLayout.setBlankLinesBefore(String, int)`.