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

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

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

Slow performance first queries on SQL Azure -