MessageStore
Inheritance: java.lang.Object
public class MessageStore
Message store is the root of the PST, which is the rough equivalent of the top of a Mailbox.
Methods
Method | Description |
---|---|
changeDisplayName(String newName) | Changes the pst display name. |
changePassword(String password) | Sets the password. |
equals(Object arg0) | |
getClass() | |
getDisplayName() | Gets the display Name of PST. |
getProperties() | Gets the MAPI properties of message store object. |
getTotalItemsCount() | Gets the total items count. |
hashCode() | |
isPasswordProtected() | Gets a value indicating whether the storage is password protected. |
isPasswordValid(String password) | Determines whether the specified string is a valid password for the storage. |
notify() | |
notifyAll() | |
setProperty(MapiProperty property) | Sets the property. |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
changeDisplayName(String newName)
public final void changeDisplayName(String newName)
Changes the pst display name.
Parameters:
Parameter | Type | Description |
---|---|---|
newName | java.lang.String | The new display name of message store. |
changePassword(String password)
public final void changePassword(String password)
Sets the password.
Parameters:
Parameter | Type | Description |
---|---|---|
password | java.lang.String | The string that represents the password. |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getDisplayName()
public final String getDisplayName()
Gets the display Name of PST.
Value: The string that represents display name.
Returns: java.lang.String
getProperties()
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: The MapiProperty collection.
Returns: MapiPropertyCollection
getTotalItemsCount()
public final int getTotalItemsCount()
Gets the total items count. Returns the total number of message items contained in the PST.
Returns: int - Total message items count.
hashCode()
public native int hashCode()
Returns: int
isPasswordProtected()
public final boolean isPasswordProtected()
Gets a value indicating whether the storage is password protected.
Value: true if the storage is password protected; otherwise, false .
Returns: boolean
isPasswordValid(String password)
public final boolean isPasswordValid(String password)
Determines whether the specified string is a valid password for the storage.
Parameters:
Parameter | Type | Description |
---|---|---|
password | java.lang.String | The password string. |
Returns: boolean
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setProperty(MapiProperty property)
public final void setProperty(MapiProperty property)
Sets the property.
Parameters:
Parameter | Type | Description |
---|---|---|
property | MapiProperty | The property. |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |