public class BinaryData extends Object
Constructor and Description |
---|
BinaryData(String contentType,
byte[] data)
Constructor
|
BinaryData(String contentType,
byte[] data,
long lastModified)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getContentType()
Return content type
|
byte[] |
getData()
Return the byte array
|
Long |
getLastModified()
Return last modified
|
public BinaryData(String contentType, byte[] data)
contentType
- Content type of the byte arraydata
- byte arraypublic BinaryData(String contentType, byte[] data, long lastModified)
contentType
- Content type of the byte arraydata
- byte arraylastModified
- last modifiedCopyright © 2019 Communote team. All rights reserved.