public final class OutlookMessage extends FormatBase
Represents Outlook Message format.
filePath, stream
Constructor and Description |
---|
OutlookMessage(InputStream input)
Initializes a new instance of the
OutlookMessage class. |
OutlookMessage(String fileName)
Initializes a new instance of the
OutlookMessage class. |
Modifier and Type | Method and Description |
---|---|
void |
cleanMetadata()
Removes (reset) metadata.
|
OutlookMessageMetadata |
getMsgInfo()
Gets the Outlook Message information.
|
int |
getType()
Gets document type.
|
void |
removeAttachments()
Removes all attachments in Outlook Message file.
|
dispose, getMetadata, getMIMEType, readByMetadataKey, save, save, save
public OutlookMessage(String fileName)
Initializes a new instance of the OutlookMessage
class.
fileName
- Absolute path to the file.public OutlookMessage(InputStream input)
Initializes a new instance of the OutlookMessage
class.
input
- File stream.public int getType()
Gets document type.
Value: Document type.getType
in class FormatBase
public final OutlookMessageMetadata getMsgInfo()
Gets the Outlook Message information.
InvalidFormatException
- Could not read EML file.public final void removeAttachments()
Removes all attachments in Outlook Message file.
public void cleanMetadata()
Removes (reset) metadata.
cleanMetadata
in class FormatBase
Copyright © 2017. All rights reserved.