Skip to content

Commit c840de5

Browse files
committed
docs: add English Javadoc to all source files; fix JDK 21 compatibility
1 parent 86880e1 commit c840de5

131 files changed

Lines changed: 316 additions & 256 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

easypdf-beetl/src/main/java/io/github/easy4j/pdf/beetl/WordprocessingMLBeetlTemplate.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/**
22
* Copyright (c) 2018, vindell (https://github.com/vindell).
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
@@ -31,7 +31,7 @@
3131
/**
3232
* Implementation of wordprocessing m l beetl template extending WordprocessingMLTemplate.
3333
*
34-
* [@Loong Wan](https://github.com/loong10k)
34+
* @author <a href="https://github.com/loong10k">Loong Wan</a>
3535
*/
3636
public class WordprocessingMLBeetlTemplate extends WordprocessingMLTemplate {
3737

easypdf-core/src/main/java/io/github/easy4j/pdf/Docx4jConstants.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/**
22
* Copyright (c) 2018, vindell (https://github.com/vindell).
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
@@ -16,6 +16,11 @@
1616
package io.github.easy4j.pdf;
1717

1818

19+
/**
20+
* Class providing functionality for Docx4jConstants.
21+
*
22+
* @author <a href="https://github.com/loong10k">Loong Wan</a>
23+
*/
1924
public final class Docx4jConstants {
2025

2126
public static final String DEFAULT_CHARSETNAME = "UTF-8";

easypdf-core/src/main/java/io/github/easy4j/pdf/WordprocessingMLDocxTemplate.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/**
22
* Copyright (c) 2018, vindell (https://github.com/vindell).
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
@@ -30,7 +30,7 @@
3030
/**
3131
* Implementation of wordprocessing m l docx template extending WordprocessingMLTemplate.
3232
*
33-
* [@Loong Wan](https://github.com/loong10k)
33+
* @author <a href="https://github.com/loong10k">Loong Wan</a>
3434
*/
3535
public class WordprocessingMLDocxTemplate extends WordprocessingMLTemplate {
3636

@@ -93,7 +93,7 @@ public WordprocessingMLPackage process(String template, Map<String, Object> vari
9393
this.unzipDir.mkdir();
9494
}
9595

96-
/*
96+
/**
9797
WordprocessingMLPackage wordMLPackage = WordprocessingMLPackage.load(sourceDocx);
9898
MainDocumentPart documentPart = wordMLPackage.getMainDocumentPart();
9999
//获取静态变量集合

easypdf-core/src/main/java/io/github/easy4j/pdf/WordprocessingMLTemplate.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/**
22
* Copyright (c) 2018, vindell (https://github.com/vindell).
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
@@ -22,7 +22,7 @@
2222
/**
2323
* Implementation of wordprocessing m l template functionality.
2424
*
25-
* [@Loong Wan](https://github.com/loong10k)
25+
* @author <a href="https://github.com/loong10k">Loong Wan</a>
2626
*/
2727
public abstract class WordprocessingMLTemplate {
2828

easypdf-core/src/main/java/io/github/easy4j/pdf/bus/error/Slf4jLogger.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/**
22
* Copyright (c) 2018, vindell (https://github.com/vindell).
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
@@ -24,7 +24,7 @@
2424
/**
2525
* Implementation of slf4j logger functionality.
2626
*
27-
* [@Loong Wan](https://github.com/loong10k)
27+
* @author <a href="https://github.com/loong10k">Loong Wan</a>
2828
*/
2929
public class Slf4jLogger implements IPublicationErrorHandler {
3030

easypdf-core/src/main/java/io/github/easy4j/pdf/bus/event/BuildFinishedEvent.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/**
22
* Copyright (c) 2018, vindell (https://github.com/vindell).
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
@@ -24,7 +24,7 @@
2424
/**
2525
* Implementation of build finished event extending EventFinished.
2626
*
27-
* [@Loong Wan](https://github.com/loong10k)
27+
* @author <a href="https://github.com/loong10k">Loong Wan</a>
2828
*/
2929
public class BuildFinishedEvent extends EventFinished {
3030

easypdf-core/src/main/java/io/github/easy4j/pdf/bus/event/BuildJobTypes.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/**
22
* Copyright (c) 2018, vindell (https://github.com/vindell).
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
@@ -20,7 +20,7 @@
2020
/**
2121
* Enumeration defining BuildJobTypes constants.
2222
*
23-
* [@Loong Wan](https://github.com/loong10k)
23+
* @author <a href="https://github.com/loong10k">Loong Wan</a>
2424
*/
2525
public enum BuildJobTypes implements JobIdentifier {
2626

easypdf-core/src/main/java/io/github/easy4j/pdf/bus/event/BuildStartEvent.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/**
22
* Copyright (c) 2018, vindell (https://github.com/vindell).
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
@@ -23,7 +23,7 @@
2323
/**
2424
* Implementation of build start event extending StartEvent.
2525
*
26-
* [@Loong Wan](https://github.com/loong10k)
26+
* @author <a href="https://github.com/loong10k">Loong Wan</a>
2727
*/
2828
public class BuildStartEvent extends StartEvent {
2929

easypdf-core/src/main/java/io/github/easy4j/pdf/core/BaseFontFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/**
22
* Copyright (c) 2010-2020, wandalong (hnxyhcwdl1003@163.com).
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not

easypdf-core/src/main/java/io/github/easy4j/pdf/core/D07_ParseHtmlAsian.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/**
22
* Copyright (c) 2010-2020, wandalong (hnxyhcwdl1003@163.com).
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
@@ -19,7 +19,7 @@
1919
* *******************************************************************
2020
* @className : D07_ParseHtmlAsian
2121
* @description : TODO(描述这个类的作用)
22-
* @author <a href="mailto:hnxyhcwdl1003@163.com">wandalong</a>
22+
* @author <a href="https://github.com/loong10k">Loong Wan</a>
2323
* @date : Jan 16, 2017 12:26:38 PM
2424
* @version V1.0
2525
* *******************************************************************
@@ -39,7 +39,7 @@
3939
/**
4040
* Implementation of d07_ parse html asian functionality.
4141
*
42-
* [@Loong Wan](https://github.com/loong10k)
42+
* @author <a href="https://github.com/loong10k">Loong Wan</a>
4343
*/
4444
public class D07_ParseHtmlAsian {
4545

0 commit comments

Comments
 (0)