Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


oracle.javatools.util
Class NullResourceBundle

java.lang.Object
  extended by java.util.ResourceBundle
      extended by oracle.javatools.util.NullResourceBundle

All Implemented Interfaces:
java.util.Enumeration

public final class NullResourceBundle
extends java.util.ResourceBundle
implements java.util.Enumeration

A resource bundle which has no elements.


Nested Class Summary

 

Nested classes/interfaces inherited from class java.util.ResourceBundle
java.util.ResourceBundle.Control

 

Field Summary

 

Fields inherited from class java.util.ResourceBundle
parent

 

Method Summary
 java.util.Enumeration getKeys()
          Returns an enumeration of the keys.
protected  java.lang.Object handleGetObject(java.lang.String key)
          Gets an object for the given key from this resource bundle.
 boolean hasMoreElements()
          Tests if this enumeration contains more elements.
static NullResourceBundle instance()
           
 java.lang.Object nextElement()
          Returns the next element of this enumeration if this enumeration object has at least one more element to provide.

 

Methods inherited from class java.util.ResourceBundle
clearCache, clearCache, containsKey, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, handleKeySet, keySet, setParent

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

instance

public static NullResourceBundle instance()

handleGetObject

protected java.lang.Object handleGetObject(java.lang.String key)
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.
Specified by:
handleGetObject in class java.util.ResourceBundle
Parameters:
key - the key for the desired object
Returns:
the object for the given key, or null
Throws:
java.lang.NullPointerException - if key is null

getKeys

public java.util.Enumeration getKeys()
Returns an enumeration of the keys.
Specified by:
getKeys in class java.util.ResourceBundle

hasMoreElements

public boolean hasMoreElements()
Tests if this enumeration contains more elements.
Specified by:
hasMoreElements in interface java.util.Enumeration
Returns:
true if and only if this enumeration object contains at least one more element to provide; false otherwise.

nextElement

public java.lang.Object nextElement()
Returns the next element of this enumeration if this enumeration object has at least one more element to provide.
Specified by:
nextElement in interface java.util.Enumeration
Returns:
the next element of this enumeration.
Throws:
java.util.NoSuchElementException - if no more elements exist.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


Copyright © 1997, 2011, Oracle. All rights reserved.