Class HtmlLayout.Builder
java.lang.Object
org.apache.logging.log4j.core.layout.HtmlLayout.Builder
- All Implemented Interfaces:
Builder<HtmlLayout>
- Enclosing class:
HtmlLayout
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the object after all configuration has been set.setDatePattern(String datePattern) setTimezone(String timezone) withCharset(Charset charset) withContentType(String contentType) withFontName(String fontName) withFontSize(HtmlLayout.FontSize fontSize) withLocationInfo(boolean locationInfo)
-
Field Details
-
locationInfo
-
title
-
contentType
-
charset
-
fontSize
-
fontName
-
datePattern
-
timezone
-
-
Constructor Details
-
Builder
private Builder()
-
-
Method Details
-
withLocationInfo
-
withTitle
-
withContentType
-
withCharset
-
withFontSize
-
withFontName
-
setDatePattern
-
setTimezone
-
build
Description copied from interface:BuilderBuilds the object after all configuration has been set. This will use default values for any unspecified attributes for the object.- Specified by:
buildin interfaceBuilder<HtmlLayout>- Returns:
- the configured instance.
-