sorting - Does java have underline or direct method to sort files in a directory by name, size, last modified or other OS supported? -


does java have underline or direct method sort files in directory name, size, last modified or other os supported?

i search way sort file list using java, answers are:
read file list array (or other memory object);
sort array (or other object).

but want know, java provide apis can invoke system call sort directly? maybe os or underline file system can provider better method? there?


Comments

Popular posts from this blog

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

serialization - Convert Any type in scala to Array[Byte] and back -

SonarQube Plugin for Jenkins does not find SonarQube Scanner executable -