Do I need to close Input Stream manually?

diesel001

New Member
I'm using Xerces library for parsing XML. Here is the code snippet for parsing:\[quote\] Document doc = builder.parse(new InputSource(new StringReader(someXMLString)));\[/quote\]Do I need to close the \[code\]InputStream\[/code\] in \[code\]InputSource\[/code\] manually or will the \[code\]parse\[/code\] method handle it?
 
Back
Top