Answer the question
In order to leave comments, you need to log in
How is it possible to access files on disk through Java?
There is a task, you need to write a program to search for a given text in log files. From which only 2 questions arise for you:
1) How can I display or access my own disk
2) It should be possible to enter the search text and enter the type of file extension in which the search will be performed (default extension * .log).
I don’t ask you to write code for me or give ready-made options, just direct me in the right direction and what components to use to achieve the goal. Thanks in advance.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question