ch.qos.logback.classic.joran.action
Class FindIncludeAction
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.joran.action.Action
ch.qos.logback.core.joran.action.AbstractIncludeAction
ch.qos.logback.core.joran.action.IncludeAction
ch.qos.logback.classic.joran.action.FindIncludeAction
- All Implemented Interfaces:
- ContextAware
public class FindIncludeAction
- extends IncludeAction
Action that searches child includes until the first found
path is returned.
- Author:
- Anthony Trinh
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase |
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext |
FindIncludeAction
public FindIncludeAction()
begin
public void begin(InterpretationContext ec,
String name,
Attributes attributes)
throws ActionException
- Description copied from class:
Action
- Called when the parser encounters an element matching a
Pattern
.
- Overrides:
begin
in class AbstractIncludeAction
- Throws:
ActionException
end
public void end(InterpretationContext ic,
String name)
throws ActionException
- Overrides:
end
in class AbstractIncludeAction
- Throws:
ActionException
createRecorder
protected SaxEventRecorder createRecorder(InputStream in,
URL url)
- Creates a
SaxEventRecorder
based on the input stream
- Overrides:
createRecorder
in class IncludeAction
- Parameters:
in
- input streamurl
- URL to opened file/resource
- Returns:
- the newly created recorder
Copyright © 2005-2013 QOS.ch. All Rights Reserved.