eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'FileSorter':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: FileSorter


Inheritance:

   Object
   |
   +--FileSorter

Package:
stx:libbasic2
Category:
Interface-Tools-File
Version:
rev: 1.9 date: 2012/11/25 08:53:04
user: cg
file: FileSorter.st directory: libbasic2
module: stx stc-classLibrary: libbasic2
Author:
Christian Penk

Description:


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:]


Related information:



Class protocol:

instance creation
o  directoriesBeforeFiles: arg1 selector: arg2 sortCaseless: arg3 sortReverse: arg4


Instance protocol:

accessing
o  directoriesBeforeFiles

o  directoriesBeforeFiles: something

o  directoriesBeforeFiles: directoriesBeforeFilesArg selector: selectorArg sortCaseless: sortCaselessArg sortReverse: sortReverseArg
set instance variables (automatically generated)

o  selector

o  selector: something

o  sortCaseless

o  sortCaseless: something

o  sortReverse

o  sortReverse: something

action
o  sortItemList: aList
if we have to convert the first pair of values, convert every pair



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Thu, 09 Dec 2021 13:51:27 GMT