Package org.jivesoftware.smackx.bob
Class ContentId
- java.lang.Object
-
- org.jivesoftware.smackx.bob.ContentId
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
static ContentId
fromCid(String cid)
Get BoB hash from cid attribute string.static ContentId
fromSrc(String src)
Get BoB hash from src attribute string.String
getCid()
BoB hash to cid attribute string.String
getHash()
Get the hash.String
getHashType()
Get the hash type.int
hashCode()
String
toSrc()
BoB hash to src attribute string.
-
-
-
Method Detail
-
getHashType
public String getHashType()
Get the hash type.- Returns:
- the hash type
-
fromSrc
public static ContentId fromSrc(String src)
Get BoB hash from src attribute string.- Parameters:
src
- TODO javadoc me please- Returns:
- the BoB hash
-
-