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, getStatusManager
public void setContext(Context context)
setContext
in interface ContextAware
setContext
in class ContextAwareBase
public Context getContext()
getContext
in interface ContextAware
getContext
in class ContextAwareBase
public String getFileHeader()
Layout
getFileHeader
in interface Layout<E>
public String getPresentationHeader()
Layout
getPresentationHeader
in interface Layout<E>
public String getPresentationFooter()
Layout
getPresentationFooter
in interface Layout<E>
public String getFileFooter()
Layout
getFileFooter
in interface Layout<E>
public String getContentType()
Layout
getContentType
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.