anonymous wrote : third party method that takes as input object of type
java.io.Reader
This is what you can do:
InputStream inputStream =
this.getClass().getClassLoader().getResourceAsStream("conf/config.xml");
|
| InputStreamReader inputStreamReader = new InputStreamReader(inputStream) ;
|
| thidPartyLib.someAPI(inputStreamReader);
Have a look at the InputStreamReader:
http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStreamReader.html
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957314#3957314
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957314
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user