Main Page
    Cookbook/Overview     ImageMeister     the jcprops file     Licensing
    Binary Installation & Configuration [ Win · Mac · Nix · OSX ]     Changes
    Public API
    Source Code Main Page
        Java [ Common · Win · Mac · Nix ]     Native Code [ Common · Win · Mac · Nix ]     Manifest
        Native Code Overviews [ Common · Win · Mac · Nix · Strings ]     Macros [ General · Native Macros ]
        Walkthroughs [ Java only · Java and native ]     Building [ Win · Mac · Nix · OSX ]     Distribution Issues

All Packages  This Package  Class Hierarchy  Class Search  Index

Class com.jconfig.mac.CEVAppByNameFinder
java.lang.Object
   |
   +----com.jconfig.mac.CEVAppByNameFinder

  Summary

class  CEVAppByNameFinder
     extends java.lang.Object
     implements com.jconfig.ConfigEntryVisitor
{
          // Fields 7
     AppFinderMRJ appFinder;
     String appName;
     int flags;
     int maxToReturn;
     int numWritten;
     AppFile[] tempAppArray;
     int[] tempCreatorArray;

          // Constructors 1
     CEVAppByNameFinder(AppFinderMRJ, String, int, int);

          // Methods 2
     AppFile[] getApps();
     public void visit(ConfigEntry);
}

Searches through a ConfigList for apps which match a given name.

This class is used by FileRegistyMRJ as follows:

	cev = new CEVAppByNameFinder( appFinder, appName, maxToReturn, flags );

	FileRegisty.iterate( cev );

	appList = cev.getApps();

Author:
Copyright (c) 1997-2002 Samizdat Productions. All Rights Reserved.




  Fields

· appFinder

Summary  |  Top

   AppFinderMRJ appFinder


· appName

Summary  |  Top
   String appName


· tempAppArray

Summary  |  Top
   AppFile[] tempAppArray


· maxToReturn

Summary  |  Top
   int maxToReturn


· numWritten

Summary  |  Top
   int numWritten


· tempCreatorArray

Summary  |  Top
   int[] tempCreatorArray


· flags

Summary  |  Top
   int flags


  Constructors

· CEVAppByNameFinder

Summary  |  Top

   CEVAppByNameFinder(AppFinderMRJ fndr, 
                      String name, 
                      int max, 
                      int fgs) 

Search for apps with the given name.

Parameter Description
fndr used to search for apps by creator
name the name to search for.
max the max number to return
fgs the search level; used with the AppFinderMRJ object



  Methods

· visit

Summary  |  Top
   public void visit(ConfigEntry fd) 

This will be called for each ConfigEntry of the ConfigList. If an app with a matching name is found, get the app's creator code from the ConfigEntry, and call the AppFinderMRJ object to search for the app by its creator code.

Implements:
visit in interface ConfigEntryVisitor


· getApps

Summary  |  Top
   AppFile[] getApps() 

Return the previously constructed list of apps.



All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7