public class GlobalPropertiesHandler extends java.lang.Object implements PropertiesHandler
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROP_LOG_LEVEL |
static java.lang.String |
PROP_LOG_STACK_TRACE |
static java.lang.String |
PROP_LOG_TIMESTAMP |
FALSE, TRUE| Constructor and Description |
|---|
GlobalPropertiesHandler()
Private constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
finishedSection(int depth)
This method indicates the PropertiesHandler, that the last section with the given depth has
been read completely.
|
static GlobalPropertiesHandler |
getInstance()
Get instance of this.
|
void |
setProperties(PropertyHeader header,
Property property) |
public static final java.lang.String PROP_LOG_LEVEL
public static final java.lang.String PROP_LOG_TIMESTAMP
public static final java.lang.String PROP_LOG_STACK_TRACE
public static GlobalPropertiesHandler getInstance()
public void setProperties(PropertyHeader header, Property property)
setProperties in interface PropertiesHandlerheader - header of sectionproperty - property within sectionpublic void finishedSection(int depth)
PropertiesHandlerfinishedSection in interface PropertiesHandlerdepth - depth of section.