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.ConfigListFile

    java.lang.Object
       |
       +----com.jconfig.ConfigListFile

Summary

    public class  ConfigListFile
         extends java.lang.Object
         implements com.jconfig.ConfigList
    {
              // Constructors 1
         public ConfigListFile(File, String, int);

              // Methods 3
         public FinderInfo[] findMatches(FileExtension, int, int);
         public FileExtension[] findMatches(FinderInfo, int, int);
         public int iterate(ConfigEntryVisitor);
    }

Used to obtain information from 'jconfig.cfg', which contains the contents of the Internet Config file mapping table. This is used in four situations: by FileRegistryPlain, on Windows, on Unix, and on Mac if Internet Config is not installed.

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

Constructors

### · ConfigListFile | Summary | Top

       public ConfigListFile(File configDir,
                             String fileName,
                             int creator)

> Reads the contents of the given file into an internal buffer.

Methods

### · iterate | Summary | Top

       public int iterate(ConfigEntryVisitor fdv)

> For each entry of the buffer, creates a IConfigEntryBinary object, and calls the fdv's visit() method with this object.

> Implements:
>   iterate in interface ConfigList

### · findMatches | Summary | Top

       public FileExtension[] findMatches(FinderInfo fInfo,
                                          int maxToReturn,
                                          int direction)

> Map a FinderInfo object to zero or more FileExtension objects. May return null if none could be found.

> Implements:
>   findMatches in interface ConfigList

### · findMatches | Summary | Top

       public FinderInfo[] findMatches(FileExtension ext,
                                       int maxToReturn,
                                       int direction)

> Map a FileExtension object to zero or more FinderInfo objects. May return null if none could be found.

> Implements:
>   findMatches in interface ConfigList

    All Packages  This Package  Class Hierarchy  Class Search  Index

Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7