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

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

matplotlib support failed in PyCharm on OSX -

python - Matplotlib: TypeError: 'AxesSubplot' object is not callable -