public abstract class HTMLLayoutBase<E> extends LayoutBase<E>
Constructor and Description |
---|
HTMLLayoutBase() |
Modifier and Type | Method and Description |
---|---|
String |
getContentType()
Returns the content type output by this layout, i.e "text/html".
|
CssBuilder |
getCssBuilder() |
Map<String,String> |
getEffectiveConverterMap()
Returns a map where the default converter map is merged with the map
contained in the context.
|
String |
getFileFooter()
Returns the appropriate HTML footers.
|
String |
getFileHeader()
Returns appropriate HTML headers.
|
String |
getPattern()
Returns the value of the ConversionPattern option.
|
String |
getPresentationFooter()
Return the footer of the logging event formatting.
|
String |
getPresentationHeader()
Return the header of the logging event formatting.
|
String |
getTitle()
Returns the current value of the Title option.
|
void |
setCssBuilder(CssBuilder cssBuilder) |
void |
setPattern(String conversionPattern)
Set the ConversionPattern option.
|
void |
setTitle(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(String conversionPattern)
public String getPattern()
public CssBuilder getCssBuilder()
public void setCssBuilder(CssBuilder cssBuilder)
public void start()
start
in interface LifeCycle
start
in class LayoutBase<E>
public Map<String,String> getEffectiveConverterMap()
public void setTitle(String title)
Defaults to 'Logback Log Messages'.
public String getTitle()
public String getContentType()
getContentType
in interface Layout<E>
getContentType
in class LayoutBase<E>
public String getFileHeader()
getFileHeader
in interface Layout<E>
getFileHeader
in class LayoutBase<E>
public String getPresentationHeader()
Layout
getPresentationHeader
in interface Layout<E>
getPresentationHeader
in class LayoutBase<E>
public String getPresentationFooter()
Layout
getPresentationFooter
in interface Layout<E>
getPresentationFooter
in class LayoutBase<E>
public String getFileFooter()
getFileFooter
in interface Layout<E>
getFileFooter
in class LayoutBase<E>
Copyright © 2010 - 2020 Adobe. All Rights Reserved