Wanton Killer
September 5th, 2001, 02:02 AM
Hi,
I've been using this peice of code that I got off an example for some time now but I really don't understand what it means. Want some information about what exactly the 'class' part in the 'DBUtil.class.getRe...' section of the following code fragment means.
JDBCProperties = new Properties();
FileInputStream fisProperty = new FileInputStream((DBUtil.class.getResource("JDBC.properties")).getFile());
JDBCProperties.load(fisProperty);
Thanks in Advance
Cheers!
Wanton killer
I've been using this peice of code that I got off an example for some time now but I really don't understand what it means. Want some information about what exactly the 'class' part in the 'DBUtil.class.getRe...' section of the following code fragment means.
JDBCProperties = new Properties();
FileInputStream fisProperty = new FileInputStream((DBUtil.class.getResource("JDBC.properties")).getFile());
JDBCProperties.load(fisProperty);
Thanks in Advance
Cheers!
Wanton killer