Class 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


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.

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


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

handleGetObject in class ResourceBundle
key - Key for resource object.
Resource object associated with provided key.

Copyright 1999-2008 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.