Class FilePropertiesLoader

java.lang.Object
com.saperion.common.config.loader.AbstractPropertiesLoader
com.saperion.common.config.loader.FilePropertiesLoader
All Implemented Interfaces:
PropertiesLoader

public final class FilePropertiesLoader extends AbstractPropertiesLoader

This FilePropertiesLoader loads '.properties'-files. When loading a file it first attempts to find the file in the class-path. If not found, it tries to find the file in the file-system.

The path to look for the PropertiesResources to load can be configured using the according constructor.

An instance of this FilePropertiesLoader can be used in several threads concurrently.

Author:
sts