ResourceParserpublic interface ResourceParser This interface defines an extension mechanism that allows GUIResourceBundle
to parse arbitrary resource types |
Methods Summary |
---|
public java.lang.Class[] | getResourceTypes()Return an array of classes that specify what kind of resources
this parser can handle
| public java.lang.Object | parse(GUIResourceBundle bundle, java.lang.String key, java.lang.Class type)Read the property named by key from the specified bundle, convert
it to the specified type, and return it. For complex resources,
the parser may need to read more than one property from the bundle;
typically it may a number of properties whose names begin with the
specified key.
|
|