public class MessageStore extends Object
Message store is the root of the PST, which is the rough equivalent of the top of a Mailbox.
Modifier and Type | Method and Description |
---|---|
void |
changeDisplayName(String newName)
Changes the pst display name.
|
void |
changePassword(String password)
Sets the password.
|
String |
getDisplayName()
Gets the display Name of PST.
|
MapiPropertyCollection |
getProperties()
Gets the MAPI properties of message store object.
|
boolean |
isPasswordProtected()
Gets a value indicating whether the storage is password protected.
|
boolean |
isPasswordValid(String password)
Determines whether the specified string is a valid password for the storage.
|
void |
setProperty(MapiProperty property)
Sets the property.
|
public final String getDisplayName()
Gets the display Name of PST.
Value: The string that represents display name.public final MapiPropertyCollection getProperties()
Gets the MAPI properties of message store object. The message store contains the top-level PST settings and metadata that are required to access and manage the PST contents.
Value: TheMapiProperty
collection.public final boolean isPasswordProtected()
Gets a value indicating whether the storage is password protected.
Value:true
if the storage is password protected; otherwise, false
.public final boolean isPasswordValid(String password)
Determines whether the specified string is a valid password for the storage.
password
- The password string.public final void changeDisplayName(String newName)
Changes the pst display name.
newName
- The new display name of message store.public final void changePassword(String password)
Sets the password.
password
- The string that represents the password.public final void setProperty(MapiProperty property)
Sets the property.
property
- The property.