Package org.jivesoftware.smackx.bob
Class ContentId
java.lang.Object
org.jivesoftware.smackx.bob.ContentId
Content-ID class.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static ContentId
Get BoB hash from cid attribute string.static ContentId
Get BoB hash from src attribute string.getCid()
BoB hash to cid attribute string.getHash()
Get the hash.Get the hash type.int
hashCode()
toSrc()
BoB hash to src attribute string.
-
Constructor Details
-
ContentId
BoB hash constructor.- Parameters:
hash
- TODO javadoc me pleasehashType
- TODO javadoc me please
-
-
Method Details
-
getHash
Get the hash.- Returns:
- the hash
-
getHashType
Get the hash type.- Returns:
- the hash type
-
toSrc
BoB hash to src attribute string.- Returns:
- src attribute string
-
getCid
BoB hash to cid attribute string.- Returns:
- cid attribute string
-
equals
-
hashCode
-
fromSrc
Get BoB hash from src attribute string.- Parameters:
src
- TODO javadoc me please- Returns:
- the BoB hash
-
fromCid
Get BoB hash from cid attribute string.- Parameters:
cid
- TODO javadoc me please- Returns:
- the BoB hash
-