public class EmailParsingUtils extends Object
| Constructor and Description |
|---|
EmailParsingUtils() |
| Modifier and Type | Method and Description |
|---|---|
static EmailMessage |
parseEmlFile(InputStream source)
Reads and parse provided data as EML file.
|
static EmailMessage |
parseEmlFile(String path)
Reads given file and parse it as EML file.
|
public static EmailMessage parseEmlFile(String path) throws FileNotFoundException
path - the string with path to EML file.EmailMessage representing email message contained in the given file.FileNotFoundException - if given file is not found.public static EmailMessage parseEmlFile(InputStream source)
source - the InputStream that provides data to read and parse.EmailMessage representing email message contained in provided data.Copyright © 2023. All rights reserved.