ch.qos.logback.core.joran.action
Class IncludeAction
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
- All Implemented Interfaces:
- ContextAware
- Direct Known Subclasses:
- FindIncludeAction
public class IncludeAction
- extends AbstractIncludeAction
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase |
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext |
IncludeAction
public IncludeAction()
setEventOffset
protected void setEventOffset(int offset)
- Sets the list index into the event player's list, where the events
from the processed include will be inserted
- Parameters:
offset
- the array index
createRecorder
protected SaxEventRecorder createRecorder(InputStream in,
URL url)
- Creates a SAX event recorder based on given parameters. Subclasses
should override this as necessary.
- Parameters:
in
- input streamurl
- URL to opened file/resource
- Returns:
- the newly created recorder
processInclude
protected void processInclude(InterpretationContext ic,
URL url)
throws JoranException
- Processes an include
- Specified by:
processInclude
in class AbstractIncludeAction
- Parameters:
ic
- contexturl
- URL to file/resource being included
- Throws:
JoranException
Copyright © 2005-2013 QOS.ch. All Rights Reserved.