Package de.xima.fc.utils
Class URLUtils.DataUriBinary
java.lang.Object
de.xima.fc.utils.URLUtils.DataUriBinary
- Enclosing class:
- URLUtils
POJO for the binary data from a data URI, with the content type.
- Since:
- 8.0.0
- Author:
- XIMA MEDIA GmbH
-
Constructor Summary
ConstructorsConstructorDescriptionDataUriBinary
(byte[] data, String contentType) Creates a new POJO with the given data. -
Method Summary
-
Constructor Details
-
DataUriBinary
Creates a new POJO with the given data.- Parameters:
data
- Value returned bygetData()
.contentType
- Value returned bygetContentType()
.
-
-
Method Details
-
getContentType
- Returns:
- The content type from the data URI.
-
getData
public byte[] getData()- Returns:
- The binary data from the data URI.
-