All Packages  This Package  Class Hierarchy  Class Search  Index

Class COM.tolstoy.jconfig.ConfigListFile
java.lang.Object
   |
   +----COM.tolstoy.jconfig.ConfigListFile

  Summary

public class  ConfigListFile
     extends java.lang.Object
     implements COM.tolstoy.jconfig.ConfigList
{
          // Constructors 1
     public ConfigListFile(File, int) throws IOException;

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




  Constructors

· ConfigListFile

Summary  |  Top

   public ConfigListFile(File configFile, 
                         int creator)  throws IOException

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