Java.util.ListResourceBundle.handleGetObject() Method

Description

The java.util.ListResourceBundle.handleGetObject(String key) method gets an object for the given key from this resource bundle. Returns null if this resource bundle does not contain an object for the given key.

Declaration

Following is the declaration for java.util.ListResourceBundle.handleGetObject() method

public final Object handleGetObject(String key)

Parameters

key -- the key for the desired object

Return Value

This method returns the object for the given key, or null

Exception

NA

Example

The following example shows the usage of java.util.ListResourceBundle.handleGetObject() method.