java - Find files of given name quickly -


in java 7 program, need find files in network directory have given name (say: "build.xml"). there quicker way using fileutils.listfiles?

in pure java, using java libraries enumerate files in directory fastest way.

you might consider creating index of files backed hashmap, can lookup files name more quickly, , refresh hashmap when necessary.


Comments

Popular posts from this blog

java - Static nested class instance -

c# - Bluetooth LE CanUpdate Characteristic property -

JavaScript - Replace variable from string in all occurrences -