public final class Resource extends Object
| Constructor and Description |
|---|
Resource(String resourceName,
String mimeType,
byte[] resource)
Construct a new resource.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getId()
Get the resource id.
|
String |
getMimeType()
Get the resource mime type.
|
byte[] |
getResource()
Get the resource byte array.
|
String |
getResourceName()
Get the resource name.
|
int |
hashCode() |
String |
toString() |
public final String getId()
public final String getResourceName()
public final String getMimeType()
public final byte[] getResource()
Copyright © 2006–2017 Esito AS. All rights reserved.