Compoze Software, Inc.

com.compoze.exchange.webdav
Class UniqueID


java.lang.Object

  |

  +--com.compoze.exchange.webdav.UniqueID


public class UniqueID
extends java.lang.Object

This class is the unique id used to represent items in the Exchange store. It is compozed of the parent folder path and the file name.
Examples of valid ids:

  1. http://wopr/exchange/fred.grafe/Contacts/
  2. http://wopr/exchange/fred.grafe/Contacts/fredgrafe.eml
  3. /exchange/fred.grafe/Contacts/fredgrafe.eml


Constructor Summary
UniqueID(java.lang.String sPathname)
          Constructor.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other UniqueID object is "equal to" this one.
 java.lang.String getValue()
          Gets the value of the id.
 java.lang.String toString()
          Returns a string representation of this object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UniqueID


public UniqueID(java.lang.String sPathname)
Constructor.
Parameters:
a - pathname string
Method Detail

getValue


public java.lang.String getValue()
Gets the value of the id.
Returns:
the value of the id.

toString


public java.lang.String toString()
Returns a string representation of this object.
Overrides:
toString in class java.lang.Object
Returns:
the string representation of this object

equals


public boolean equals(java.lang.Object o)
Indicates whether some other UniqueID object is "equal to" this one.
Overrides:
equals in class java.lang.Object
Parameters:
o - the object with which to compare
Returns:
true if this object is the same as the object argument; false otherwise

Compoze Software, Inc.

Copyright ©1999-2003 Compoze Software, Inc. All rights reserved.