Skip to content

Commit 4124e80

Browse files
authored
feat: update JDK version support to include JDK25 for version 1.3.x in documentation (#585)
1 parent 55ee448 commit 4124e80

File tree

5 files changed

+35
-28
lines changed

5 files changed

+35
-28
lines changed

README.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,12 @@ being your best choice for handling Excel files.
4343

4444
The following table lists the minimum Java language version requirements for each version of the FastExcel library:
4545

46-
| Version | JDK Version Support Range | Notes |
47-
|---------|:-------------------------:|-------|
48-
| 1.2.x | JDK8 - JDK21 | |
49-
| 1.1.x | JDK8 - JDK21 | |
50-
| 1.0.x | JDK8 - JDK21 | |
46+
| Version | JDK Version Support Range | Notes |
47+
|----------|:-------------------------:|-------|
48+
| 1.3.x | JDK8 - JDK25 | |
49+
| 1.2.x | JDK8 - JDK21 | |
50+
| 1.1.x | JDK8 - JDK21 | |
51+
| 1.0.x | JDK8 - JDK21 | |
5152

5253
We strongly recommend using the latest version of FastExcel, as performance optimizations, bug fixes, and new features
5354
in the latest version will enhance your experience.
@@ -92,12 +93,12 @@ Below is an example of reading an Excel document:
9293
```java
9394
// Implement the ReadListener interface to set up operations for reading data
9495
public class DemoDataListener implements ReadListener<DemoData> {
95-
96+
9697
@Override
9798
public void invoke(DemoData data, AnalysisContext context) {
9899
System.out.println("Parsed a data entry" + JSON.toJSONString(data));
99100
}
100-
101+
101102
@Override
102103
public void doAfterAllAnalysed(AnalysisContext context) {
103104
System.out.println("All data parsed!");
@@ -118,16 +119,16 @@ Below is a simple example of creating an Excel document:
118119
```java
119120
// Sample data class
120121
public class DemoData {
121-
122+
122123
@ExcelProperty("String Title")
123124
private String string;
124-
125+
125126
@ExcelProperty("Date Title")
126127
private Date date;
127-
128+
128129
@ExcelProperty("Number Title")
129130
private Double doubleData;
130-
131+
131132
@ExcelIgnore
132133
private String ignore;
133134
}

README_JP.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,12 @@ FastExcelは常にフリーでオープンソースであり、ビジネスに
3838

3939
以下の表は、各バージョンのFastExcel基礎ライブラリのJava言語バージョンの最低要件を一覧にしたものです:
4040

41-
| バージョン | JDKバージョンサポート範囲 | 備考 |
42-
|--------|:--------------:|----|
43-
| 1.0.0+ | JDK8 - JDK21 | |
41+
| バージョン | JDKバージョンサポート範囲 | 備考 |
42+
|----------|:----------------:|--------------|
43+
| 1.3.x | JDK8 - JDK25 | |
44+
| 1.2.x | JDK8 - JDK21 | |
45+
| 1.1.x | JDK8 - JDK21 | |
46+
| 1.0.x | JDK8 - JDK21 | |
4447

4548
最新のFastExcelバージョンを使用することを強くお勧めします。最新バージョンのパフォーマンス最適化、バグ修正、および新機能は、使用の利便性を向上させます。
4649

@@ -82,12 +85,12 @@ dependencies {
8285
```java
8386
// ReadListenerインターフェースを実装してデータを読む操作を設定します
8487
public class DemoDataListener implements ReadListener<DemoData> {
85-
88+
8689
@Override
8790
public void invoke(DemoData data, AnalysisContext context) {
8891
System.out.println("データエントリを解析しました" + JSON.toJSONString(data));
8992
}
90-
93+
9194
@Override
9295
public void doAfterAllAnalysed(AnalysisContext context) {
9396
System.out.println("すべてのデータの解析が完了しました!");
@@ -108,16 +111,16 @@ public static void main(String[] args) {
108111
```java
109112
// サンプルデータクラス
110113
public class DemoData {
111-
114+
112115
@ExcelProperty("文字列タイトル")
113116
private String string;
114-
117+
115118
@ExcelProperty("日付タイトル")
116119
private Date date;
117-
120+
118121
@ExcelProperty("数字タイトル")
119122
private Double doubleData;
120-
123+
121124
@ExcelIgnore
122125
private String ignore;
123126
}

README_ZH.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ Excel 文件的最佳选择。
4040

4141
| 版本 | jdk版本支持范围 | 备注 |
4242
|-------|:------------:|----|
43+
| 1.3.x | jdk8 - jdk25 | |
4344
| 1.2.x | jdk8 - jdk21 | |
4445
| 1.1.x | jdk8 - jdk21 | |
4546
| 1.0.x | jdk8 - jdk21 | |
@@ -86,12 +87,12 @@ dependencies {
8687
```java
8788
// 实现 ReadListener 接口,设置读取数据的操作
8889
public class DemoDataListener implements ReadListener<DemoData> {
89-
90+
9091
@Override
9192
public void invoke(DemoData data, AnalysisContext context) {
9293
System.out.println("解析到一条数据" + JSON.toJSONString(data));
9394
}
94-
95+
9596
@Override
9697
public void doAfterAllAnalysed(AnalysisContext context) {
9798
System.out.println("所有数据解析完成!");
@@ -112,16 +113,16 @@ public static void main(String[] args) {
112113
```java
113114
// 示例数据类
114115
public class DemoData {
115-
116+
116117
@ExcelProperty("字符串标题")
117118
private String string;
118-
119+
119120
@ExcelProperty("日期标题")
120121
private Date date;
121-
122+
122123
@ExcelProperty("数字标题")
123124
private Double doubleData;
124-
125+
125126
@ExcelIgnore
126127
private String ignore;
127128
}

website/docs/quickstart/guide.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ The following table lists the minimum Java language version requirements for eac
1111

1212
| Version | JDK Version Support Range | Notes |
1313
|---------|---------------------------|-------|
14+
| 1.3.x | JDK8 - JDK25 | |
1415
| 1.2.x | JDK8 - JDK21 | |
1516
| 1.1.x | JDK8 - JDK21 | |
1617
| 1.0.x | JDK8 - JDK21 | |
@@ -48,4 +49,4 @@ If you are using Gradle for project building, add the following configuration in
4849
dependencies {
4950
implementation 'cn.idev.excel:fastexcel:version'
5051
}
51-
```
52+
```

website/i18n/zh-cn/docusaurus-plugin-content-docs/current/quickstart/guide.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ title: '指南'
1111

1212
| 版本 | jdk版本支持范围 | 备注 |
1313
|-------|--------------|----|
14+
| 1.3.x | jdk8 - jdk25 | |
1415
| 1.2.x | jdk8 - jdk21 | |
1516
| 1.1.x | jdk8 - jdk21 | |
1617
| 1.0.x | jdk8 - jdk21 | |
@@ -46,4 +47,4 @@ title: '指南'
4647
dependencies {
4748
implementation 'cn.idev.excel:fastexcel:版本号'
4849
}
49-
```
50+
```

0 commit comments

Comments
 (0)