- Java.util - WeakHashMap
- Java.util - Vector
- Java.util - UUID
- Java.util - TreeSet
- Java.util - TreeMap
- Java.util - TimeZone
- Java.util - TimerTask
- Java.util - Timer
- Java.util - StringTokenizer
- Java.util - Stack
- Java.util - SimpleTimeZone
- Java.util - ServiceLoader
- Java.util - Scanner
- Java.util - ResourceBundle.Control
- Java.util - ResourceBundle
- Java.util - Random
- Java.util - PropertyResourceBundle
- Java.util - PropertyPermission
- Java.util - Properties
- Java.util - PriorityQueue
- Java.util - Observable
- Java.util - Locale
- Java.util - ListResourceBundle
- Java.util - LinkedList
- Java.util - LinkedHashSet
- Java.util - LinkedHashMap
- Java.util - IdentityHashMap
- Java.util - Hashtable
- Java.util - HashSet
- Java.util - HashMap
- Java.util - GregorianCalendar
- Java.util - Formatter
- Java.util - EnumSet
- Java.util - EnumMap
- Java.util - Dictionary
- Java.util - Date
- Java.util - Currency
- Java.util - Collections
- Java.util - Calendar
- Java.util - BitSet
- Java.util - Arrays
- Java.util - ArrayList
- Java.util - ArrayDeque
- Java.util - Home
Java.util Package Extras
- Java.util - Discussion
- Java.util - Useful Resources
- Java.util - Enumerations
- Java.util - Exceptions
- Java.util - Interfaces
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Java.util.PropertyResourceBundle Class
Introduction
The java.util.PropertyResourceBundle class is a concrete subclass of ResourceBundle that manages resources for a locale using a set of static strings from a property file.Following are the important points about PropertyResourceBundle −
The class can be constructed either from an InputStream or a Reader, which represents a property file.
Class declaration
Following is the declaration for java.util.PropertyResourceBundle class −
pubpc class PropertyResourceBundle extends ResourceBundle
Field
Fields inherited from class
.Class constructors
Sr.No. | Constructor & Description |
---|---|
1 | PropertyResourceBundle(InputStream stream) This creates a property resource bundle from an InputStream. |
2 | PropertyResourceBundle(Reader reader) This creates a property resource bundle from a Reader. |
Class methods
Sr.No. | Method & Description |
---|---|
1 | This method returns an Enumeration of the keys contained in this ResourceBundle and its parent bundles. |
2 | This method gets an object for the given key from this resource bundle. |
3 | This method returns a Set of the keys contained only in this ResourceBundle. |
Methods inherited
This class inherits methods from the following classes −
java.util.ResourceBundle
java.util.Object