public abstract class LayoutBase<E> extends ContextAwareBaseimplements 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
|
void |
setFileFooter(String
|
void |
setFileHeader(String
|
void |
setPresentationFooter(String
|
void |
setPresentationHeader(String
|
void |
start()
|
void |
stop()
|
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getDeclaredOrigin, getStatusManagerpublic void setContext(Contextcontext)
public ContextgetContext()
public void start()
public void stop()
public boolean isStarted()
public StringgetFileHeader()
Layout
getFileHeader in interface
Layout<E>
public StringgetPresentationHeader()
Layout
getPresentationHeader in interface
Layout<E>
public StringgetPresentationFooter()
Layout
getPresentationFooter in interface
Layout<E>
public StringgetFileFooter()
Layout
getFileFooter in interface
Layout<E>
public StringgetContentType()
Layout
getContentType in interface
Layout<E>
public void setFileHeader(Stringheader)
public void setFileFooter(Stringfooter)
public void setPresentationHeader(Stringheader)
public void setPresentationFooter(Stringfooter)