public class MimeTypeByteArray
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
mimeType |
private byte[] |
value |
Constructor and Description |
---|
MimeTypeByteArray()
Empty constructor, as required for JavaBeans
|
MimeTypeByteArray(java.lang.String mimeType,
byte[] value)
Full constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMimeType() |
byte[] |
getValue() |
void |
setMimeType(java.lang.String mimeType) |
void |
setValue(byte[] value) |
public MimeTypeByteArray()
public MimeTypeByteArray(java.lang.String mimeType, byte[] value)
mimeType
- any String that provides information as to the type of the valuevalue
- an arbitrary binary value.public java.lang.String getMimeType()
public void setMimeType(java.lang.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.