Please Visit: http://ift.tt/1ajReyV
from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1npdVuu
via LifeLong Community
Java By Sailendra: How to iterate Properties Files in Java?
1. Properties props = System.getProperties();
for (String key : props .stringPropertyNames())
{
System.out.println(key + " = " + props .getProperty(key));
}
2. Properties props = System.getProperties();
Enumeration e = props.propertyNames();
while (e.hasMoreElements())
{
String key = (String) e.nextElement();
System.out.println(key + " = " + props.getProperty(key));
}http://ift.tt/1npdVuq
http://ift.tt/1mDbZBA
1. Properties props = System.getProperties();
for (String key : props .stringPropertyNames())
{
System.out.println(key + " = " + props .getProperty(key));
}
2. Properties props = System.getProperties();
Enumeration e = props.propertyNames();
while (e.hasMoreElements())
{
String key = (String) e.nextElement();
System.out.println(key + " = " + props.getProperty(key));
}http://ift.tt/1npdVuq
http://ift.tt/1mDbZBA
from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1npdVuu
via LifeLong Community
No comments:
Post a Comment