net.rim.device.api.i18n
Class CompiledResourceBundle

java.lang.Object
  |
  +--net.rim.device.api.i18n.ResourceBundle
        |
        +--net.rim.device.api.i18n.CompiledResourceBundle

public class CompiledResourceBundle
extends ResourceBundle

Used internally by the resource compiler.


Constructor Summary
protected CompiledResourceBundle(Locale locale, long bundleId, int[] ids, short[] offsets, byte[] data)
          Constructs new CompilerdResourceBundle instance.
 
Method Summary
protected  Object handleGetObject(int key)
          Retrieves resource object by key.
 
Methods inherited from class net.rim.device.api.i18n.ResourceBundle
getBundle, getBundle, getBundle, getFamily, getLocale, getObject, getObject, getString, getStringArray
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompiledResourceBundle

protected CompiledResourceBundle(Locale locale,
                                 long bundleId,
                                 int[] ids,
                                 short[] offsets,
                                 byte[] data)
Constructs new CompilerdResourceBundle instance.

Invoked only from classes output by the resource compiler.

Parameters:
locale - Locale for this bunndle.
bundledId - Identifier number for this bundle.
ids - List of resource IDs for the resources in this bundle.
offsets - List of offsets marking start of each resource in this bundle.
data - Byte array containing the resource data for this bundle.
Method Detail

handleGetObject

protected Object handleGetObject(int key)
Retrieves resource object by key.

Overrides:
handleGetObject in class ResourceBundle
Parameters:
key - Key for resource object.
Returns:
Resource object associated with provided key.



Copyright 1999-2009 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.