Skip to content

Tag Archives: Java-Properties

These are the files to have different configurations properties required to make the application up and run like to connect with the database what are… Read More
The hashCode() method of Properties class is used to generate a hashCode for the given Properties containing key and values. Syntax: public int hashCode() Parameters:… Read More
The equals(value) method of Properties class is used to check for equality between two properties. It verifies whether the elements of one properties object passed… Read More
The getProperty(key, defaultValue) method of Properties class is used to get the value mapped to this key, passed as the parameter, in this Properties object.… Read More
The isEmpty() method of Properties class is used to check if this Properties object is empty or not. Syntax: public boolean isEmpty() Parameters: This method… Read More
The contains(value) method of Properties class is used to check if this Properties object contains any mapping of this value for any key present in… Read More
The entrySet() method of Properties class is used to get the Set view of this Properties mappings. Syntax: public Set<Map.Entry> entrySet() Parameters: This method do… Read More
The list(PrintStream) method of Properties class is used to print this Properties list out to the specified output stream, passed as the parameter. This method… Read More
The get(key) method of Properties class is used to get the value mapped to this key, passed as the parameter, in this Properties object. This… Read More
The elements() method of Properties class is used to get the enumeration of this Properties object. It can be further used to retreive the elements… Read More
The getProperty(key) method of Properties class is used to get the value mapped to this key, passed as the parameter, in this Properties object. This… Read More
The forEach(BiConsumer) method of Properties class perform the BiConsumer operation on each entry of hashtable until all entries have been processed or the action throws… Read More
The keys() method of Properties class is used to get the enumeration of the keys in this Properties object. This enumeration can be used to… Read More
The getOrDefault(key, defaultValue) method of Properties class is used to get the value mapped to this key, passed as the parameter, in this Properties object.… Read More
The containsValue(value) method of Properties class is used to check if this Properties object contains any mapping of this Value. It takes this value to… Read More