public class MimeTypeByteArray extends Object implements Serializable
Constructor and Description |
---|
MimeTypeByteArray()
Empty constructor, as required for JavaBeans
|
MimeTypeByteArray(String mimeType,
byte[] value)
Full constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getMimeType() |
byte[] |
getValue() |
void |
setMimeType(String mimeType) |
void |
setValue(byte[] value) |
public MimeTypeByteArray()
public MimeTypeByteArray(String mimeType, byte[] value)
mimeType
- any String that provides information as to the type of the valuevalue
- an arbitrary binary value.public String getMimeType()
public void setMimeType(String mimeType)
mimeType
- any String that provides information as to the type of the valuepublic byte[] getValue()
getMimeType()
public void setValue(byte[] value)
value
- an arbitrary binary value.Copyright © 2003–2016 Terracotta, Inc.. All rights reserved.