|
Class: FileSorter
Object
|
+--FileSorter
- Package:
- stx:libbasic2
- Category:
- Interface-Tools-File
- Version:
- rev:
1.12
date: 2021/11/27 02:05:54
- user: cg
- file: FileSorter.st directory: libbasic2
- module: stx stc-classLibrary: libbasic2
sort files by selector
care for directoriesBeforeFiles sortCaseless sortReverse
[instance variables:]
directoriesBeforeFiles: if true all directories and files will be sorted
independently by the selector and the directories
are before files
sortCaseless: if true and the selector is #baseName ignore upper
and lowercase in sort
sortReverse: if true starts with highest value of the sort
[class variables:]
copyrightCOPYRIGHT (c) 2004 by eXept Software AG
All Rights Reserved
This software is furnished under a license and may be used
only in accordance with the terms of that license and with the
inclusion of the above copyright notice. This software may not
be provided or otherwise made available to, or used by, any
other person. No title to or ownership of the software is
hereby transferred.
instance creation
-
directoriesBeforeFiles: arg1 selector: arg2 sortCaseless: arg3 sortReverse: arg4
-
accessing
-
directoriesBeforeFiles
-
-
directoriesBeforeFiles: something
-
-
directoriesBeforeFiles: directoriesBeforeFilesArg selector: selectorArg sortCaseless: sortCaselessArg sortReverse: sortReverseArg
-
set instance variables (automatically generated)
-
selector
-
-
selector: something
-
-
sortCaseless
-
aspect for sort caseless
-
sortCaseless: something
-
-
sortReverse
-
-
sortReverse: something
-
action
-
sortItemList: aList
-
for now, always do a natural sort where numerical components are compared as numbers
|