java - Jar loading files -


i have jar file have 15 classes. have call methods of jar web application. of methods read .plist file.

in jar code have coded in such way plist files readed once , uses multiple times(i have used static map hold properties of .plist files), not happening.

every time there call reading .plist files again. , because of there "too many open file exception."

is there way stop file reading again , again. please me.

can post code or stack trace. looks logical problem . if want read file once have static flag , after reading set true , before reading check....if not desired answer let me know .


Comments

Popular posts from this blog

c++ - CryptStringToBinary API behavior -

c++ - Correct method for redrawing a layered window -

java.util.scanner - How to read and add only numbers to array from a text file -