Top Description Constructors Methods
org.apache.logging.log4j.util

public Class PropertyFilePropertySource

extends PropertiesPropertySource
Class Inheritance
Imports
edu.umd.cs.findbugs.annotations.SuppressFBWarnings, java.io.IOException, .InputStream, java.net.URL, java.util.Properties

PropertySource backed by a properties file. Follows the same conventions as PropertiesPropertySource.
Since
2.10.0

Constructor Summary

AccessConstructor and Description
public
public
PropertyFilePropertySource(final String fileName, final boolean useTccl)

Method Summary

Modifier and TypeMethod and Description
private static Properties
loadPropertiesFile(final String fileName, final boolean useTccl)

Inherited from org.apache.logging.log4j.util.PropertiesPropertySource:
containsPropertyforEachgetNormalFormgetPrioritygetPropertygetPropertyNames

Constructor Detail

PropertyFilePropertySourceback to summary
public PropertyFilePropertySource(final String fileName)
PropertyFilePropertySourceback to summary
public PropertyFilePropertySource(final String fileName, final boolean useTccl)

Method Detail

loadPropertiesFileback to summary
private static Properties loadPropertiesFile(final String fileName, final boolean useTccl)
Annotations
@SuppressFBWarnings:URLCONNECTION_SSRF_FD
justification:This property source should only be used with hardcoded file names.