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
Post a Comment