10:30 pm - Monday March 27, 2017

Properties example programs and Tutorial in java

CANDID INDUSTRIAL TRAINING -- CHENNAI
Corporate Training for Experienced Candidate
Struts | Hibernate | Spring | Java / J2EE
SOAP | RestFull | Design Pattern | more...
Ph: +91 72000 69003
137b, 2nd st, shanthi nagar, Chrompet, Chennai -600044

BACK

 

1)To create an empty property list with no default values Properties() constructor.

2)To get specified key in the property list using GetProperty(String key)

3)To get specified key in the property list using GetProperty(String key,String defaultValue)

4)To get default values for any keys not found in the property list Properties(Properties defaults) constructor.

5)To list out to the specified output stream using list(PrintStream out) method.

6)To list out to the specified output stream using list(PrintStream out) method.

7)To Load a property list from the input byte stream using Properties.load(InputStream inStream)

8)To Load a property list from the input character stream using Properties.load(Reader reader) method.

9)To Return an enumeration of all the keys in this property list using Properties.propertyNames() method.

10)To Call the Hashtable method put using Properties.setProperty(String key, String value) method.

11.Properties example program using load from xml(InputStream in)

12.Properties example program using Enumeration<?>  propertyNames() method

13.Properties example program using Object setProperty(String key, String value)

14.Properties example program using void store(OutputStream out, String comments)

15.Properties example program using void store(Writer writer, String comments)

BACK

Filed in: Java Examples

Comments are closed.