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:Builder
Builds the object after all configuration has been set. This will use default values for any unspecified attributes for the object.- Specified by:
build
in interfaceBuilder<HtmlLayout>
- Returns:
- the configured instance.
-