@Deprecated public final class OutlookMessage extends FormatBase
Represents an email message saved in the MSG format.
Constructor and Description |
---|
OutlookMessage(InputStream input)
Deprecated.
Initializes a new instance of the
OutlookMessage class. |
OutlookMessage(String fileName)
Deprecated.
Initializes a new instance of the
OutlookMessage class. |
Modifier and Type | Method and Description |
---|---|
void |
cleanMetadata()
Deprecated.
Removes writable metadata properties associated with the file.
|
protected void |
dispose(boolean disposing)
Deprecated.
Releases unmanaged and optionally managed resources.
|
OutlookMessageMetadata |
getMsgInfo()
Deprecated.
Gets the Outlook Message metadata.
|
int |
getType()
Deprecated.
Gets the type of the loaded file.
|
void |
removeAttachments()
Deprecated.
Removes all attachments in the Outlook Message file.
|
close, dispose, getMetadata, getMIMEType, readByMetadataKey, save, save, save
public OutlookMessage(String fileName)
Initializes a new instance of the OutlookMessage
class.
fileName
- A string that contains the full name of the file from which to create an OutlookMessage
instance.public OutlookMessage(InputStream input)
Initializes a new instance of the OutlookMessage
class.
input
- A stream that contains the data for this OutlookMessage
.public int getType()
Gets the type of the loaded file.
getType
in class FormatBase
public final OutlookMessageMetadata getMsgInfo()
Gets the Outlook Message metadata.
public final void removeAttachments()
Removes all attachments in the Outlook Message file.
public void cleanMetadata()
Removes writable metadata properties associated with the file.
cleanMetadata
in class FormatBase
protected void dispose(boolean disposing)
Releases unmanaged and optionally managed resources.
dispose
in class FormatBase
disposing
- true
to release both managed and unmanaged resources;
false
to release only unmanaged resources.Copyright © 2020. All rights reserved.