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
java.lang.Object | +----com.jconfig.win.FileRegistryFactoryWin
Summary |
public class FileRegistryFactoryWin extends java.lang.Object implements com.jconfig.FileRegistryFactoryI { // Fields 4 private boolean bBeenInited; private static final String copyrightString; private FileRegistryI obj; private PlatformInfoMSVM platformInfo; // Constructors 1 public FileRegistryFactoryWin(); // Methods 3 public FileRegistryI createFileRegistry(File, int); private void initialize(File, int); private void tryCreatePlatformSpecific(File, int); }
When the FileRegistry.initialize() method is called. the FileRegistry calls the FileRegistryFactory to create a platform-specific instance of FileRegistryI to which the FileRegistry will delegate all calls.
The FileRegistryFactory will read 'jcfactrz.txt', and, if this class is listed in that file, it will create an instance of this class, and call its createFileRegistry() method.
If we're running on Windows on a supported VM, the createFileRegistry() method will return an FileRegistryMSVM object to which the FileRegistry will delegate all calls.
Fields |
· copyrightString | Summary | Top |
private static final String copyrightString
· obj | Summary | Top |
private FileRegistryI obj
· platformInfo | Summary | Top |
private PlatformInfoMSVM platformInfo
· bBeenInited | Summary | Top |
private boolean bBeenInited
Constructors |
· FileRegistryFactoryWin | Summary | Top |
public FileRegistryFactoryWin()
Methods |
· createFileRegistry | Summary | Top |
public FileRegistryI createFileRegistry(File curDir, int creator)
- 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 FileRegistryMSVM object.
· tryCreatePlatformSpecific | Summary | Top |
private void tryCreatePlatformSpecific(File curDir, int creator)
Create a FileRegistryMSVM object. Depending on the specific platform/VM, load the correct native code library.
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7