InputSource to String
807588Jan 23 2009 — edited Jan 23 2009I'm having trouble comprehending how I can get a string representation of an InputSource. I'm currently linking around in the API to try to figure out how, but this is proving tedious. Is anyone aware of the call hierarchy to get the String back?
Thanks in advance
Some simple code to play with:
InputSource is = new InputSource(this.getClass().getClassLoader()
.getResourceAsStream("myResource.extension"));
//how do i get the string of myResource.extension