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

matlab - error with cyclic autocorrelation function -

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

c# - What is a good .Net RefEdit control to use with ExcelDna? -