Java Properties
Properties class extends HashTable meaning
Some of useful methods are metioned below which object of Properties class can call.
Properties pro = new Properties();
class represents a persistent set of properties.Properties class extends HashTable meaning
Properties
inherits from Hashtable
, So put
and putAll
methods can be applied to a Properties
object.Some of useful methods are metioned below which object of Properties class can call.
Properties pro = new Properties();
- keySet() - Retrieve Set of Keys
- keys() - Retrieves all keys of the properties files. Which stored in the Enumeration objects.