String function ( long arg0 ) { if ( arg0 <= 0 ) return "srini_string" ; int loc0 = ( int ) ( Math . log10 ( arg0 ) / Math . log10 ( 1024 ) ) ; return new DecimalFormat ( "srini_string" ) . format ( arg0 / Math . pow ( 1024 , loc0 ) ) . replace ( "srini_string" , "srini_string" ) + "srini_string" + UNITS [ loc0 ] ; }
converts byte file size to human readable , eg : 500 becomes 500 b 1024 becomes 1 kb 123456 becomes 120.6 kb 10000000000 becomes 9.3 gb max supported unit is yottabyte yb . concode_field_sep Comparator<FileHandle> FILE_NAME_COMPARATOR concode_elem_sep Comparator<FileHandle> FILE_MODIFIED_DATE_COMPARATOR concode_elem_sep Comparator<FileHandle> FILE_SIZE_COMPARATOR concode_elem_sep String[] UNITS concode_field_sep int compare concode_elem_sep int compare concode_elem_sep int compare concode_elem_sep boolean isValidFileName concode_elem_sep FileHandle toFileHandle concode_elem_sep Array<FileHandle> sortFiles concode_elem_sep Array<FileHandle> sortFiles concode_elem_sep Array<FileHandle> sortFiles concode_elem_sep void showDirInExplorer