Module org.apache.logging.log4j
Package org.apache.logging.log4j.util
Class PropertyFilePropertySource
- java.lang.Object
-
- org.apache.logging.log4j.util.ContextAwarePropertySource
-
- org.apache.logging.log4j.util.PropertiesPropertySource
-
- org.apache.logging.log4j.util.PropertyFilePropertySource
-
- All Implemented Interfaces:
PropertySource
,ReloadablePropertySource
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
-
-
Field Summary
-
Fields inherited from class org.apache.logging.log4j.util.ContextAwarePropertySource
propertiesMap
-
Fields inherited from interface org.apache.logging.log4j.util.PropertySource
DEFAULT_PRIORITY, MAPPING_FILE, PREFIX, SYSTEM_CONTEXT
-
-
Constructor Summary
Constructors Constructor Description PropertyFilePropertySource(String fileName)
PropertyFilePropertySource(String fileName, boolean useTccl)
PropertyFilePropertySource(String fileName, boolean useTccl, boolean includeInvalid)
-
Method Summary
-
Methods inherited from class org.apache.logging.log4j.util.PropertiesPropertySource
equals, forEach, getNormalForm, getPriority, hashCode, reload
-
Methods inherited from class org.apache.logging.log4j.util.ContextAwarePropertySource
containsProperty, containsProperty, getPropertiesMap, getProperty, getProperty, getPropertyNames, getPropertyNames, parseProperties, parseProperties, parseProperties
-
-
-
-
Constructor Detail
-
PropertyFilePropertySource
public PropertyFilePropertySource(String fileName)
-
PropertyFilePropertySource
public PropertyFilePropertySource(String fileName, boolean useTccl)
-
PropertyFilePropertySource
public PropertyFilePropertySource(String fileName, boolean useTccl, boolean includeInvalid)
-
-