public abstract class PatternLayoutBase<E> extends LayoutBase<E>
Constructor and Description |
---|
PatternLayoutBase() |
Modifier and Type | Method and Description |
---|---|
abstract java.util.Map<java.lang.String,java.lang.String> |
getDefaultConverterMap()
Concrete implementations of this class are responsible for elaborating the
mapping between pattern words and converters.
|
java.util.Map<java.lang.String,java.lang.String> |
getEffectiveConverterMap()
Returns a map where the default converter map is merged with the map
contained in the context.
|
java.util.Map<java.lang.String,java.lang.String> |
getInstanceConverterMap() |
java.lang.String |
getPattern() |
java.lang.String |
getPresentationHeader()
Return the header of the logging event formatting.
|
boolean |
isOutputPatternAsHeader() |
void |
setOutputPatternAsHeader(boolean outputPatternAsHeader) |
void |
setPattern(java.lang.String pattern) |
void |
setPostCompileProcessor(PostCompileProcessor<E> postCompileProcessor) |
void |
start() |
java.lang.String |
toString() |
getContentType, getContext, getFileFooter, getFileHeader, getPresentationFooter, isStarted, setContext, setFileFooter, setFileHeader, setPresentationFooter, setPresentationHeader, stop
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getStatusManager
public abstract java.util.Map<java.lang.String,java.lang.String> getDefaultConverterMap()
public java.util.Map<java.lang.String,java.lang.String> getEffectiveConverterMap()
public void start()
start
in interface LifeCycle
start
in class LayoutBase<E>
public void setPostCompileProcessor(PostCompileProcessor<E> postCompileProcessor)
public java.lang.String getPattern()
public void setPattern(java.lang.String pattern)
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.Map<java.lang.String,java.lang.String> getInstanceConverterMap()
public boolean isOutputPatternAsHeader()
public void setOutputPatternAsHeader(boolean outputPatternAsHeader)
public java.lang.String getPresentationHeader()
Layout
getPresentationHeader
in interface Layout<E>
getPresentationHeader
in class LayoutBase<E>
Copyright © 2010 - 2020 Adobe. All Rights Reserved