Class Metadata.Builder
java.lang.Object
cloud.opencode.base.pdf.document.Metadata.Builder
- Enclosing class:
Metadata
Metadata Builder
元数据构建器
- Since:
- JDK 25, opencode-base-pdf V1.0.0
- Author:
- Leon Soo www.LeonSoo.com
-
Method Summary
Modifier and TypeMethodDescriptionSets document author 设置文档作者build()Builds the metadata 构建元数据creationDate(Instant creationDate) Sets creation date 设置创建日期Sets creator application 设置创建应用程序Sets document keywords 设置文档关键词Sets document keywords from list 从列表设置文档关键词Sets modification date 设置修改日期Sets PDF producer 设置 PDF 生成器Sets document subject 设置文档主题Sets document title 设置文档标题
-
Method Details
-
title
Sets document title 设置文档标题- Parameters:
title- document title | 文档标题- Returns:
- this builder | 当前构建器
-
author
Sets document author 设置文档作者- Parameters:
author- document author | 文档作者- Returns:
- this builder | 当前构建器
-
subject
Sets document subject 设置文档主题- Parameters:
subject- document subject | 文档主题- Returns:
- this builder | 当前构建器
-
keywords
Sets document keywords 设置文档关键词- Parameters:
keywords- document keywords | 文档关键词- Returns:
- this builder | 当前构建器
-
keywords
Sets document keywords from list 从列表设置文档关键词- Parameters:
keywords- document keywords | 文档关键词- Returns:
- this builder | 当前构建器
-
creator
Sets creator application 设置创建应用程序- Parameters:
creator- creator application | 创建应用程序- Returns:
- this builder | 当前构建器
-
producer
Sets PDF producer 设置 PDF 生成器- Parameters:
producer- PDF producer | PDF 生成器- Returns:
- this builder | 当前构建器
-
creationDate
Sets creation date 设置创建日期- Parameters:
creationDate- creation date | 创建日期- Returns:
- this builder | 当前构建器
-
modDate
Sets modification date 设置修改日期- Parameters:
modDate- modification date | 修改日期- Returns:
- this builder | 当前构建器
-
build
-