|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openbp.common.rc.ResourceItemTypes
public final class ResourceItemTypes
Provides the access to the ResourceItem implementations.
Loads the class only one time, and caches the classes for later use.
The resource technology to read one by the mime type
is realized like following.
Example:
The mime type is "text/plain" and the resource object is
an instance of a the 'org.openbp.common.rc.text.Plain'.
| Field Summary | |
|---|---|
static java.lang.String |
DATA_KEYSTROKE
Mime type data/keystroke |
static java.lang.String |
IMAGE_BMP
Mime type image/bmp |
static java.lang.String |
IMAGE_GIF
Mime type image/gif |
static java.lang.String |
IMAGE_JPEG
Mime type image/jpeg |
static java.lang.String |
IMAGE_PNG
Mime type image/png |
static java.lang.String |
MULTIICON
Mime type multiicon. |
static java.lang.String |
PRIMITIVE_CHARACTER
Mime type primitive/character |
static java.lang.String |
PRIMITIVE_INTEGER
Mime type primitive/integer |
static java.lang.String |
TEXT_PLAIN
Mime type text/plain |
| Method Summary | |
|---|---|
static java.lang.Class |
determineResourceItemClass(java.lang.String mimeType)
Determines the resource item class for the given mime-type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String TEXT_PLAIN
public static final java.lang.String IMAGE_GIF
public static final java.lang.String IMAGE_JPEG
public static final java.lang.String IMAGE_PNG
public static final java.lang.String IMAGE_BMP
public static final java.lang.String MULTIICON
public static final java.lang.String PRIMITIVE_INTEGER
public static final java.lang.String PRIMITIVE_CHARACTER
public static final java.lang.String DATA_KEYSTROKE
| Method Detail |
|---|
public static java.lang.Class determineResourceItemClass(java.lang.String mimeType)
mimeType - Mime type of the resource object
ResourceItem class suitable for this mime type or null if no such resource item type exists
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||