pattern - a Pattern object for identifying files of interest.dirPath - a path for a directory, which should be used as the source for comparisons.Create a new object of this class providing the following parameters.Source Code for comparing directoriesīelow a class, which is able to use a given regular expressions to compare file names in two given directories. Since I was not allowed to install new software on the machine and the workaround of using windows shell commands in combination with Excel and Regular Expressions was a bit annoying I deceided to implement a class in Java. ![]() Recently I had to compare the contents of two directories on Windows.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |