This class provides the means to bypass Java's serialization mechanism to as to store anything that can be turned into bytes. It opens the way to non Java uses of ehcache.
| Access | Constructor and Description |
|---|---|
| public | |
| public | MimeTypeByteArray(String
any String that provides information as to the type of the value mimeType, byte[] an arbitrary binary value. value)Full constructor |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public byte[] | |
| public void | |
| public void |
| mimeType | back to summary |
|---|---|
| private String mimeType | |
| value | back to summary |
|---|---|
| private byte[] value | |
| MimeTypeByteArray | back to summary |
|---|---|
| public MimeTypeByteArray() Empty constructor, as required for JavaBeans | |
| MimeTypeByteArray | back to summary |
|---|---|
| public MimeTypeByteArray(String mimeType, byte[] value) Full constructor
| |
| getMimeType | back to summary |
|---|---|
public String getMimeType()
| |
| getValue | back to summary |
|---|---|
public byte[] getValue()
| |
| setMimeType | back to summary |
|---|---|
public void setMimeType(String mimeType)
| |
| setValue | back to summary |
|---|---|
public void setValue(byte[] value)
| |