Package org.apache.logging.log4j.util
Class PropertyFilePropertySource
- java.lang.Object
-
- org.apache.logging.log4j.util.PropertiesPropertySource
-
- org.apache.logging.log4j.util.PropertyFilePropertySource
-
- All Implemented Interfaces:
PropertySource
public class PropertyFilePropertySource extends PropertiesPropertySource
PropertySource backed by a properties file. Follows the same conventions asPropertiesPropertySource
.- Since:
- 2.10.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.logging.log4j.util.PropertySource
PropertySource.Comparator, PropertySource.Util
-
-
Constructor Summary
Constructors Constructor Description PropertyFilePropertySource(java.lang.String fileName)
PropertyFilePropertySource(java.lang.String fileName, boolean useTccl)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static java.util.Properties
loadPropertiesFile(java.lang.String fileName, boolean useTccl)
-
Methods inherited from class org.apache.logging.log4j.util.PropertiesPropertySource
containsProperty, forEach, getNormalForm, getPriority, getProperty, getPropertyNames
-
-