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.FileRegistryFactoryMac
java.lang.Object
   |
   +----com.jconfig.mac.FileRegistryFactoryMac

  Summary

public class  FileRegistryFactoryMac
     extends java.lang.Object
     implements com.jconfig.FileRegistryFactoryI
{
          // Fields 5
     private boolean bBeenInited;
     private boolean bIsPlatformCW113;
     private boolean bIsPlatformMRJJRI;
     private static final String copyrightString;
     private FileRegistryI obj;

          // Constructors 1
     public FileRegistryFactoryMac();

          // Methods 3
     public FileRegistryI createFileRegistry(File, int);
     private void initialize(File, int);
     private void tryCreatePlatformSpecific(File, int);
}

A singleton called by the FileRegistry to create the object to which the FileRegistry delegates all calls. For this class to be called, its full name (com.jconfig.mac.FileRegistryFactoryMac) must be listed in the file 'jcfactrz.txt'

See the 'FileRegistryI.java' class for more information on the dynamic loading features of JConfig.

If we're running on a PowerMac, tries to create a FileRegistryMRJ object.

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




  Fields

· copyrightString

Summary  |  Top

   private static final String copyrightString


· obj

Summary  |  Top
   private FileRegistryI obj


· bBeenInited

Summary  |  Top
   private boolean bBeenInited


· bIsPlatformMRJJRI

Summary  |  Top
   private boolean bIsPlatformMRJJRI


· bIsPlatformCW113

Summary  |  Top
   private boolean bIsPlatformCW113


  Constructors

· FileRegistryFactoryMac

Summary  |  Top

   public FileRegistryFactoryMac() 


  Methods

· createFileRegistry

Summary  |  Top
   public FileRegistryI createFileRegistry(File curDir, 
                                           int creator) 

Returns 'obj', initializing it if necessary.

Implements:
createFileRegistry in interface FileRegistryFactoryI


· initialize

Summary  |  Top
   private void initialize(File curDir, 
                           int creator) 

First, figure out which platform we're running on. Then, try to create a FileRegistryMRJ object.



· tryCreatePlatformSpecific

Summary  |  Top
   private void tryCreatePlatformSpecific(File curDir, 
                                          int creator) 

Create a FileRegistryMRJ object. Depending on the specific platform/VM, load the correct native code library.



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