Is there a package in java can read a directory's files one by one ?
Or it doesnt matter it will read a directory if the file path is only a directory? e.g. with scanner class instead of a specific file, can I just give it a directory path so it will read whatever text in that?