Class BoBData
java.lang.Object
org.jivesoftware.smackx.bob.BoBData
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]Get the content.Get the content in a Base64 encoded String.Get the max age.getType()Get the type.booleanCheck if the data is of reasonable size.
-
Constructor Details
-
BoBData
-
BoBData
-
BoBData
-
BoBData
-
-
Method Details
-
getMaxAge
-
getType
-
getContent
-
getContentBase64Encoded
Get the content in a Base64 encoded String.- Returns:
- the content in a Base64 encoded String
-
isOfReasonableSize
Check if the data is of reasonable size. XEP-0231 suggest that the size should not be more than 8 KiB.- Returns:
- true if the data if of reasonable size.
-