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

Interface com.jconfig.FileRegistryFactoryI

  Summary

public interface  FileRegistryFactoryI
{
          // Fields 1
     public static final String copyrightString;

          // Methods 1
     public abstract FileRegistryI createFileRegistry(File, int);
}

Represents an object used to create objects implementing the FileRegistryI interface.

On initialization, the FileRegistry singleton reads the file 'jcfactrz.txt', which contains a list of classes implementing this interface. For example:

com.jconfig.win.FileRegistryFactoryWin
com.jconfig.mac.FileRegistryFactoryMac
com.jconfig.nix.FileRegistryFactoryNix

Each class listed in this file is created and given a chance to create a FileRegistryI object.
If the object returns a FileRegistryI object, all calls to the FileRegistry will be delegated to that object.
If the object can't create an object, (for instance if it's running on an unsupported platform), it should return null.
If all of the FileRegistryFactoryI objects specified in 'jcfactrz.txt' return null, FileRegistry creates a FileRegistryPlain object, and delegates all calls to it.

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


  Cross Reference

Implemented By:
FileRegistryFactory, FileRegistryFactoryMac, FileRegistryFactoryNix, FileRegistryFactoryWin





  Fields

· copyrightString

Summary  |  Top
   public static final String copyrightString


  Methods

· createFileRegistry

Summary  |  Top

   public abstract FileRegistryI createFileRegistry(File curDir, 
                                                    int creator) 


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