public abstract class LayoutBase<E> extends ContextAwareBase implements Layout<E>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
started |
context| Constructor and Description |
|---|
LayoutBase() |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType()
Returns the content type as appropriate for the implementation.
|
Context |
getContext() |
String |
getFileFooter()
Return the file footer for this layout.
|
String |
getFileHeader()
Return the file header for this layout.
|
String |
getPresentationFooter()
Return the footer of the logging event formatting.
|
String |
getPresentationHeader()
Return the header of the logging event formatting.
|
boolean |
isStarted() |
void |
setContext(Context context) |
void |
setFileFooter(String footer) |
void |
setFileHeader(String header) |
void |
setPresentationFooter(String footer) |
void |
setPresentationHeader(String header) |
void |
start() |
void |
stop() |
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getDeclaredOrigin, getStatusManagerpublic void setContext(Context context)
setContext in interface ContextAwaresetContext in class ContextAwareBasepublic Context getContext()
getContext in interface ContextAwaregetContext in class ContextAwareBasepublic String getFileHeader()
LayoutgetFileHeader in interface Layout<E>public String getPresentationHeader()
LayoutgetPresentationHeader in interface Layout<E>public String getPresentationFooter()
LayoutgetPresentationFooter in interface Layout<E>public String getFileFooter()
LayoutgetFileFooter in interface Layout<E>public String getContentType()
LayoutgetContentType in interface Layout<E>public void setFileHeader(String header)
public void setFileFooter(String footer)
public void setPresentationHeader(String header)
public void setPresentationFooter(String footer)
Copyright © 2005–2021 QOS.ch. All rights reserved.