Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
lmj01 committed Apr 24, 2024
1 parent 73e15e0 commit b196cd6
Show file tree
Hide file tree
Showing 11 changed files with 275 additions and 461 deletions.
410 changes: 255 additions & 155 deletions java/Java.md → cpl/Java.md

Large diffs are not rendered by default.

35 changes: 18 additions & 17 deletions java/maven.md → dev-note/maven.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
# Maven

## 命令
配置好环境后,使用vscode开发,不使用IDE
- mvn test

## itext7

itext7 的字体涉及到版权问题,基本就是与adobe有关

```java
PdfFont f2 = PdfFontFactory.createFont("STSong-Light", "UniGB-UCS2-H",true);
PdfFont f3 = PdfFontFactory.createFont("C:/Windows/Fonts/simhei.ttf", PdfEncodings.IDENTITY_H,true);
//Add paragraph to the document
document.add(new Paragraph("hellos你好").setFont(f2));
document.add(new Paragraph("hellos你好").setFont(f3));
```
# Maven

## 命令
配置好环境后,使用vscode开发,不使用IDE
- mvn test 跑test下的所有类
- mvn test -Dtest=ReportTest 跑test下指定的类

## itext7

itext7 的字体涉及到版权问题,基本就是与adobe有关

```java
PdfFont f2 = PdfFontFactory.createFont("STSong-Light", "UniGB-UCS2-H",true);
PdfFont f3 = PdfFontFactory.createFont("C:/Windows/Fonts/simhei.ttf", PdfEncodings.IDENTITY_H,true);
//Add paragraph to the document
document.add(new Paragraph("hellos你好").setFont(f2));
document.add(new Paragraph("hellos你好").setFont(f3));
```
2 changes: 1 addition & 1 deletion index/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
- [powershell](../dev-note/powershell.md)
- [nodejs包管理](../web/pkg.md)
- [包管理C++](../dev-note/pkg.md)
- [maven](../java/maven.md)
- [maven](../dev-note/maven.md)

### web
- [网页开发内容](../web/index.md)
Expand Down
2 changes: 1 addition & 1 deletion index/computerScience.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
- [Cplusplus](../cpl/cplusplus.md)
- [ECMAScript](../cpl/ECMAScript.md)
- [lua](../cpl/lua.md)
- [Java](../java/Java.md)
- [Java](../cpl/Java.md)

### Database

Expand Down
94 changes: 0 additions & 94 deletions java/JavaWeb.md

This file was deleted.

73 changes: 0 additions & 73 deletions java/Spring.md

This file was deleted.

Binary file removed java/images/Hibernate-Architecture.png
Binary file not shown.
Binary file removed java/images/java-web-mvc.jpg
Binary file not shown.
9 changes: 0 additions & 9 deletions java/javax.md

This file was deleted.

25 changes: 0 additions & 25 deletions java/jpa.md

This file was deleted.

86 changes: 0 additions & 86 deletions java/springboot.md

This file was deleted.

0 comments on commit b196cd6

Please sign in to comment.