Main Page Cookbook/Overview ImageMeister the jcprops file Licensing Binary Installation & Configuration [ Win · Mac · Nix ] 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 ] Distribution Issues

    All Packages  This Package  Class Hierarchy  Class Search  Index

Class com.jconfig.win.AppFinderMSVM

    java.lang.Object
       |
       +----com.jconfig.win.AppFinderMSVM

Summary

    class  AppFinderMSVM
         extends java.lang.Object
    {
              // Fields 1
         private static final String copyrightString;

              // Constructors 1
         public AppFinderMSVM();

              // Methods 2
         public AppFile[] findAppsByExtension(FileExtension, int, int);
         AppFile[] findAppsByName(String, int, int);
    }

Called by FileRegistryMSVM to find applications by name or by the file extensions with which they're associated.

Author:
  Copyright (c) 1997,1998,1999,2000 Samizdat Productions. All Rights Reserved.

Fields

### · copyrightString | Summary | Top

       private static final String copyrightString

Constructors

### · AppFinderMSVM | Summary | Top

       public AppFinderMSVM()

Methods

### · findAppsByName | Summary | Top

       AppFile[] findAppsByName(String appName,
                                int maxToReturn,
                                int flags)

> Calls native code to search for apps with the given name. The native code returns zero or more full paths, which are used to create an array of AppFileMSVM objects. May return null if no apps could be found.

> Parameter | Description
> appName | the string to search for.
> maxToReturn | indicates the maximum number of AppFiles to return. NOTE: this is used as a hint only; the actual array size may be greater or less than this.
> flags | the lower two bits of this int indicate the level of searching which should be performed. 0 indicates only standard searching; 1, 2, and 3 indicate increasingly full searching The remaining bits of this int are reserved, and should be set to zero.

### · findAppsByExtension | Summary | Top

       public AppFile[] findAppsByExtension(FileExtension ext,
                                            int maxToReturn,
                                            int flags)

> Calls native code to search for apps associated with the given file extension. The native code returns zero or more full paths, which are used to create an array of AppFileMSVM objects. May return null if no apps could be found.

    All Packages  This Package  Class Hierarchy  Class Search  Index

Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7