public abstract class HTMLLayoutBase<E> extends LayoutBase<E>
Constructor and Description |
---|
HTMLLayoutBase() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContentType()
Returns the content type output by this layout, i.e "text/html".
|
CssBuilder |
getCssBuilder() |
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.lang.String |
getFileFooter()
Returns the appropriate HTML footers.
|
java.lang.String |
getFileHeader()
Returns appropriate HTML headers.
|
java.lang.String |
getPattern()
Returns the value of the ConversionPattern option.
|
java.lang.String |
getPresentationFooter()
Return the footer of the logging event formatting.
|
java.lang.String |
getPresentationHeader()
Return the header of the logging event formatting.
|
java.lang.String |
getTitle()
Returns the current value of the Title option.
|
void |
setCssBuilder(CssBuilder cssBuilder) |
void |
setPattern(java.lang.String conversionPattern)
Set the ConversionPattern option.
|
void |
setTitle(java.lang.String title)
The Title option takes a String value.
|
void |
start()
Parses the pattern and creates the Converter linked list.
|
getContext, isStarted, setContext, setFileFooter, setFileHeader, setPresentationFooter, setPresentationHeader, stop
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getStatusManager
public void setPattern(java.lang.String conversionPattern)
public java.lang.String getPattern()
public CssBuilder getCssBuilder()
public void setCssBuilder(CssBuilder cssBuilder)
public void start()
start
in interface LifeCycle
start
in class LayoutBase<E>
public java.util.Map<java.lang.String,java.lang.String> getEffectiveConverterMap()
public void setTitle(java.lang.String title)
Defaults to 'Logback Log Messages'.
public java.lang.String getTitle()
public java.lang.String getContentType()
getContentType
in interface Layout<E>
getContentType
in class LayoutBase<E>
public java.lang.String getFileHeader()
getFileHeader
in interface Layout<E>
getFileHeader
in class LayoutBase<E>
public java.lang.String getPresentationHeader()
Layout
getPresentationHeader
in interface Layout<E>
getPresentationHeader
in class LayoutBase<E>
public java.lang.String getPresentationFooter()
Layout
getPresentationFooter
in interface Layout<E>
getPresentationFooter
in class LayoutBase<E>
public java.lang.String getFileFooter()
getFileFooter
in interface Layout<E>
getFileFooter
in class LayoutBase<E>
Copyright © 2010 - 2020 Adobe. All Rights Reserved