Recommend this page to a friend! |
All class groups | > | All authors | > | Classes of Cinu Chacko (1) | > | Mission progress status | > | Reputation |
|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z |
| ||||
This class can be used to search files in directories like the Unix command grep. It can traverse a given directory recursively and search for a given text the contents of files with a given list of file name extensions. The path of the files that have the given text is stored in a class array variable and the class returns the number of occurrences. The idea of the class was inspired on the Grep Simulator class written by Er. Rochak Chauhan. |
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z |