Feat : Add Microsoft Outlook MSG File Parser #386
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
添加 Microsoft Outlook MSG 文件解析器
Add Microsoft Outlook MSG File Parser
功能描述 | Features
Implemented parsing functionality for Microsoft Outlook MSG file format
Support converting MSG file content to Spring AI Document unified format
Full compatibility with Compound File Binary Format (CFB) file structure
技术实现 | Technical Implementation
MsgEmailDocumentReader
实现 Spring AI 的DocumentReader
接口Added
MsgEmailDocumentReader
implementing Spring AI'sDocumentReader
interfaceImplemented streaming processing for MSG files to prevent memory overflow
Implemented comprehensive error handling and logging mechanism
Provided elegant resource cleanup handling
主要类说明 | Core Classes
MsgEmailDocumentReader
: MSG 文件核心解析器类Core parser class for MSG files
MsgParser
: MSG 文件结构解析器MSG file structure parser
MsgEmailElement
: MSG 邮件元素数据模型Data model for MSG email elements
MsgEmailParser
: 邮件内容解析和转换工具Email content parsing and conversion utility
测试覆盖 | Test Coverage
MsgEmailDocumentReaderTest
Added unit test class
MsgEmailDocumentReaderTest
Included test cases for exception scenarios
Provided test resource files
依赖说明 | Dependencies
Based on Spring AI framework
Using Apache Commons IO utility library
Using SLF4J logging framework
fixes #293