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 booleanequals(Object other)static ContentIdfromCid(String cid)Get BoB hash from cid attribute string.static ContentIdfromSrc(String src)Get BoB hash from src attribute string.StringgetCid()BoB hash to cid attribute string.StringgetHash()Get the hash.StringgetHashType()Get the hash type.inthashCode()StringtoSrc()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
-
-