-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(document-readers): add tika and html parser to parse attachments
- Loading branch information
1 parent
0edfb06
commit 55defbd
Showing
5 changed files
with
62 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -153,9 +153,6 @@ void should_read_email_with_attachments() throws IOException { | |
|
||
// Verify metadata | ||
assertEquals("附件测试", metadata.get("subject")); | ||
assertEquals("[email protected]", metadata.get("from")); | ||
assertEquals("Xiadong1234ac", metadata.get("from_name")); | ||
assertEquals("[email protected]", metadata.get("to")); | ||
assertEquals("Sun, 19 Jan 2025 18:06:31 +0800", metadata.get("date")); | ||
|
||
// Verify content | ||
|
6 changes: 3 additions & 3 deletions
6
community/document-readers/email-document-reader/src/test/resources/4.eml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters