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

CS-Cart - Change login URL in notification email -

elasticsearch - Is the order of operations guaranteed in a bulk update? -

cron - how to properly run Python script with crontab on every system startup -