My code is:
InputStream confFile=classLoader.getResourceAsStream(\"myconffile.properties\");
In docs:
The close meth
You do need to close the input Stream, because the stream returned by the method you mention is actually FileInputStream or some other subclass of InputStream that holds a handle for a file. If you do not close this stream you have resource leakage.
InputStream