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

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

matlab - error with cyclic autocorrelation function -

php - Using grpc in Laravel, "Class 'Grpc\ChannelCredentials' not found." -