About Question enthuware.ocpjp.v17.2.1798 :

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
sypham2909
Posts: 3
Joined: Thu Oct 19, 2023 12:49 pm
Contact:

About Question enthuware.ocpjp.v17.2.1798 :

Post by sypham2909 »

For the explanation of the 3rd options:
The usage of Files.list method is correct but it returns a stream of Path objects for files contained in a directory. Unlike the Files.find method, the list method doesn't search for files. It just returns all the files in a given directory.
I think the second sentence should say that the list method doesn't search for sub-directories of the given directory denoted in the Path object passed to the method. In other words, list method does not search recursively but only the immediate entries of the specified directory.

admin
Site Admin
Posts: 10386
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocpjp.v17.2.1798 :

Post by admin »

Yes, that would be more clear. Will enhance.
thank you for your feedback!

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests