Package com.logicaldoc.util.log4j
Class LDHtmlLayout.Builder
- java.lang.Object
-
- com.logicaldoc.util.log4j.LDHtmlLayout.Builder
-
- All Implemented Interfaces:
org.apache.logging.log4j.core.util.Builder<LDHtmlLayout>
- Enclosing class:
- LDHtmlLayout
public static class LDHtmlLayout.Builder extends Object implements org.apache.logging.log4j.core.util.Builder<LDHtmlLayout>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LDHtmlLayout
build()
LDHtmlLayout.Builder
setDatePattern(String datePattern)
LDHtmlLayout.Builder
setTimezone(String timezone)
LDHtmlLayout.Builder
withCharset(Charset charset)
LDHtmlLayout.Builder
withContentType(String contentType)
LDHtmlLayout.Builder
withFontName(String fontName)
LDHtmlLayout.Builder
withFontSize(LDHtmlLayout.FontSize fontSize)
LDHtmlLayout.Builder
withLocationInfo(boolean locationInfo)
LDHtmlLayout.Builder
withTitle(String title)
-
-
-
Method Detail
-
withLocationInfo
public LDHtmlLayout.Builder withLocationInfo(boolean locationInfo)
-
withTitle
public LDHtmlLayout.Builder withTitle(String title)
-
withContentType
public LDHtmlLayout.Builder withContentType(String contentType)
-
withCharset
public LDHtmlLayout.Builder withCharset(Charset charset)
-
withFontSize
public LDHtmlLayout.Builder withFontSize(LDHtmlLayout.FontSize fontSize)
-
withFontName
public LDHtmlLayout.Builder withFontName(String fontName)
-
setDatePattern
public LDHtmlLayout.Builder setDatePattern(String datePattern)
-
setTimezone
public LDHtmlLayout.Builder setTimezone(String timezone)
-
build
public LDHtmlLayout build()
- Specified by:
build
in interfaceorg.apache.logging.log4j.core.util.Builder<LDHtmlLayout>
-
-