org.apache.commons.configuration
Interface BasePathLoader

All Known Implementing Classes:
BasePathConfiguration, ConfigurationFactory, HierarchicalDOM4JConfiguration

public interface BasePathLoader

Definition of an interface for objects that load configuration data from a URL.

The interface defines methods for getting and setting a base path. A file name will then be interpreted relative to this base path.

Version:
$Id: BasePathLoader.java,v 1.1.1.1 2003/12/23 15:09:05 epugh Exp $
Author:
Oliver Heger

Method Summary
 java.lang.String getBasePath()
          Returns the base path.
 void setBasePath(java.lang.String path)
          Sets the base path.
 

Method Detail

getBasePath

public java.lang.String getBasePath()
Returns the base path. Relative path names will be resolved based on this path.

Returns:
the base path

setBasePath

public void setBasePath(java.lang.String path)
Sets the base path. Relative path names will be resolved based on this path. For maximum flexibility this base path should be a URL.

Parameters:
path - the base path