Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How to get full path from InputStream ?

807588Mar 26 2009 — edited Mar 30 2009
Is it possible to get the full path to a XML file read the following way:
InputStream realData = getClass().getClassLoader().getResourceAsStream("testfile.xml");

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Apr 27 2009
Added on Mar 26 2009
14 comments
18,327 views