Class HtmlLayout.Builder
java.lang.Object
org.apache.logging.log4j.core.layout.HtmlLayout.Builder
- All Implemented Interfaces:
Builder<HtmlLayout>
- Enclosing class:
- HtmlLayout
-
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) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.logging.log4j.core.util.Builder
getErrorPrefix, isValid
-
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.
-