eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'FindFileApplication':

Home

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

Class: FindFileApplication


Inheritance:

   Object
   |
   +--Model
      |
      +--ApplicationModel
         |
         +--AbstractFileApplicationNoteBookComponent
            |
            +--AbstractFileFinderApplicationComponent
               |
               +--FindFileApplication

Package:
stx:libtool
Category:
Interface-Tools-File
Version:
rev: 1.133 date: 2018/01/16 21:13:34
user: cg
file: FindFileApplication.st directory: libtool
module: stx stc-classLibrary: libtool

Class protocol:

defaults
o  tabStringFor: aApplicationType
the formatString shown in a tab (language translated)

help specs
o  helpSpec
This resource specification was automatically generated
by the UIHelpTool of ST/X.

history
o  addToSearchStringHistory: aString

o  searchStringHistory

instance creation
o  open
self open

o  openInDirectory: aFilename
self openInDirectory:'/etc'

o  openOnFileName: aFileName

o  openOnFileName: aFileName for: aTargetApplicationOrNil

interface specs
o  windowSpec
This resource specification was automatically generated
by the UIPainter of ST/X.
usage example(s):
     UIPainter new openOnClass:FindFileApplication andSelector:#windowSpec
     FindFileApplication new openInterface:#windowSpec
     FindFileApplication open

menu specs
o  menu
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
     MenuEditor new openOnClass:FindFileApplication andSelector:#menu
     (Menu new fromLiteralArrayEncoding:(FindFileApplication menu)) startUp

o  searchMenu
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
     MenuEditor new openOnClass:FindFileApplication andSelector:#searchMenu
     (Menu new fromLiteralArrayEncoding:(FindFileApplication searchMenu)) startUp

startup & release
o  releaseContentsInfoCache

tableColumns specs
o  searchResultTable
This resource specification was automatically generated
by the DataSetBuilder of ST/X.
usage example(s):
     DataSetBuilder new openOnClass:FindFileApplication andSelector:#searchResultTable


Instance protocol:

actions
o  clearCache

o  clearResultList

o  deleteAllFiles

o  deleteFiles: colOfFiles confirm: confirm
delete current selected files/directories

o  deleteSelectedFiles

o  doCompareTwoFiles

o  doSearch
self changeExtentToSeeSearchResult.

o  fileInInBrowser

o  namePatternsFor: namePatternArg ignoringCase: ignoringCase

o  removeFilesFromResultList: listOfFiles

o  removeSelectedFilesFromResultList

o  showMatchedFiles: aBoolean

o  touchAllFiles

o  touchFiles: colOfFiles
touch current selected files/directories

o  touchSelectedFiles

actions-CVS
o  commitSelectedFilesToCVS

o  deleteSelectedFilesAndCVSContainers

aspects
o  canUseGrep
grep command is much faster, but:
- not under MSDOS

o  canUseLocate
locate command is much faster, but:
- only if searching recursively,
- no case ignore
- no contents matching

o  contentsPatternHolder

o  enableFileSizeFilter

o  enableFileSizeFilterAndNotSearchForSameContents

o  enableModificationTimeFilter

o  excludedNamePatternHolder

o  fileSizeHolder

o  fileSizeOperatorHolder

o  fileSizeUnitHolder

o  ignoreCaseInContents

o  ignoreCaseInExcludedName

o  ignoreCaseInName
Modified (format): / 03-08-2011 / 18:05:49 / cg

o  ignoreCaseInNotContents

o  modificationTimeHolder

o  modificationTimeOperatorHolder

o  modificationTimeOperatorIndexHolder

o  modificationTimeOperatorLabelList

o  modificationTimeOperatorSpecList

o  modificationTimeOperatorValueList

o  namePatternHolder

o  notContentsPatternHolder

o  notSearchForSameContents

o  notShowingMatchedFiles

o  rememberInCache

o  sameContentsAsHolder

o  searchDirectories

o  searchDirectoryHolder

o  searchForBinaryContentsHolder

o  searchForSameContents

o  searchOnlyInCache

o  showUnreadableFilesAndDirectoriesHolder

o  showingMatchedFiles

o  useGrep

o  useLocate

change & update
o  modificationTimeOperatorChanged

private
o  changeExtentToSeeSearchResult

private - searching
o  cachedFileSizeOf: aFilenameString

o  cachedHashValueOfFile: aFilenameString

o  contentsInfoCache

o  doFindFileNamed: namePatterns directories: searchDirectories ignoreCase: ignCaseInName containingString: contentsStringArg ignoreCaseInContents: ignCaseInContents notContainingString: notContentsStringArg ignoreCaseInNotContents: ignCaseInNotContents sameContentsAsFile: filenameToCompareContentsOrNil sameContentsAs: bytesToCompareContentsOrNil in: aDirectory
only for backward compatibility...

o  doFindFileNamed: namePatterns directories: searchDirectories ignoreCaseInName: ignCaseInName excludeFilesNamed: excludedNamePatterns ignoreCaseInExcludedName: ignoreCaseInExcludedName containingString: contentsStringArg ignoreCaseInContents: ignCaseInContents notContainingString: notContentsStringArg ignoreCaseInNotContents: ignCaseInNotContents sameContentsAsFile: filenameToCompareContentsOrNil sameContentsAs: bytesToCompareContentsOrNil in: aDirectoryOrCollectionOfDirectories
the main workhorse for searching files.
Creates optimized search blocks, depending on how we search,
and passes these to the recursive directory walker.
(got too big, and may need some splitting/refactoring

o  doFindFileNamed: namePatterns directories: searchDirectories nameMatch: nameMatch contentsMatch: doesFileMatch in: aDirectory
the recursive walker. Searches for files matching namematch-block,
and contents matching doesFileMatch-block

o  fileSizeWrapperFor: aFileMatchBlock
possibly wrap the search-match block into a file-size matcher block

o  modificationTimeWrapperFor: aFileMatchBlock
possibly wrap the search-match block into a modification time matcher block

queries
o  getTabValueString
the item shown in a tab (not language translated)

startup & release
o  initialize
must be called if redefined

o  item: anItem

o  postOpenWith: aBuilder
Modified (format): / 12-01-2012 / 01:40:44 / cg

o  release



ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Sun, 19 May 2019 07:15:54 GMT