public abstract class LayoutBase<E> extends ContextAwareBase implements Layout<E>
Constructor and Description |
---|
LayoutBase() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContentType()
Returns the content type as appropriate for the implementation.
|
Context |
getContext() |
java.lang.String |
getFileFooter()
Return the file footer for this layout.
|
java.lang.String |
getFileHeader()
Return the file header for this layout.
|
java.lang.String |
getPresentationFooter()
Return the footer of the logging event formatting.
|
java.lang.String |
getPresentationHeader()
Return the header of the logging event formatting.
|
boolean |
isStarted() |
void |
setContext(Context context) |
void |
setFileFooter(java.lang.String footer) |
void |
setFileHeader(java.lang.String header) |
void |
setPresentationFooter(java.lang.String footer) |
void |
setPresentationHeader(java.lang.String header) |
void |
start() |
void |
stop() |
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, 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 java.lang.String getFileHeader()
Layout
getFileHeader
in interface Layout<E>
public java.lang.String getPresentationHeader()
Layout
getPresentationHeader
in interface Layout<E>
public java.lang.String getPresentationFooter()
Layout
getPresentationFooter
in interface Layout<E>
public java.lang.String getFileFooter()
Layout
getFileFooter
in interface Layout<E>
public java.lang.String getContentType()
Layout
getContentType
in interface Layout<E>
public void setFileHeader(java.lang.String header)
public void setFileFooter(java.lang.String footer)
public void setPresentationHeader(java.lang.String header)
public void setPresentationFooter(java.lang.String footer)
Copyright © 2010 - 2020 Adobe. All Rights Reserved