Package de.xima.fc.utils
Class URLUtils.DataUriBinary
- java.lang.Object
-
- de.xima.fc.utils.URLUtils.DataUriBinary
-
-
Constructor Summary
Constructors Constructor Description DataUriBinary(byte[] data, String contentType)Creates a new POJO with the given data.
-
-
-
Constructor Detail
-
DataUriBinary
public DataUriBinary(byte[] data, String contentType)Creates a new POJO with the given data.- Parameters:
data- Value returned bygetData().contentType- Value returned bygetContentType().
-
-
Method Detail
-
getContentType
public String getContentType()
- Returns:
- The content type from the data URI.
-
getData
public byte[] getData()
- Returns:
- The binary data from the data URI.
-
-