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.nix.FileRegistryNix

    java.lang.Object
       |
       +----com.jconfig.nix.FileRegistryNix

Summary

    class  FileRegistryNix
         extends java.lang.Object
         implements com.jconfig.FileRegistryI
    {
              // Fields 6
         private ConfigList config;
         private static final String copyrightString;
         private int direction;
         static final int kLinuxX86Library;
         static final int kNoLibrary;
         private PlatformInfoNix platformInfo;

              // Constructors 1
         FileRegistryNix(PlatformInfoNix, int, File, int) throws ConfigException;

              // Methods 22
         public int createAlias(DiskObject, File, int, int) throws FileNotFoundException, DiskFileException;
         public AppFile createAppFile(File) throws FileNotFoundException, DiskFileException;
         public DiskObject createDiskObject(File, int) throws FileNotFoundException, DiskFileException;
         public FileExtension[] findExtensions(FinderInfo, int);
         public FinderInfo[] findFinderInfo(FileExtension, int);
         public AppFile[] getApps(FileExtension, int, int);
         public AppFile[] getApps(FinderInfo, int, int);
         public AppFile[] getApps(String, int, int);
         public int getDirection();
         public FileSystem[] getFileSystems(int, int);
         public FileType getFileType(File) throws FileNotFoundException, DiskFileException;
         public FileUtilsI getFileUtils();
         public Monitor getMainMonitor();
         public Monitor[] getMonitors();
         public PlatformInfoI getPlatformInfo();
         public AppProcess[] getProcesses(int, int);
         public DiskVolume[] getVolumes();
         public int iterate(ConfigEntryVisitor);
         public int launchURL(String, int, String[]);
         public DiskObject resolveAlias(DiskAlias, int) throws FileNotFoundException, DiskFileException;
         public void setDirection(int);
         public void setFileUtils(FileUtilsI);
    }

The FileRegistry delegates all calls to this object. This is used on Nix.

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

Fields

### · copyrightString | Summary | Top

       private static final String copyrightString

### · kNoLibrary | Summary | Top

       static final int kNoLibrary

### · kLinuxX86Library | Summary | Top

       static final int kLinuxX86Library

### · config | Summary | Top

       private ConfigList config

### · platformInfo | Summary | Top

       private PlatformInfoNix platformInfo

### · direction | Summary | Top

       private int direction

Constructors

### · FileRegistryNix | Summary | Top

       FileRegistryNix(PlatformInfoNix platformInfo,
                       int whichLibrary,
                       File curDir,
                       int creator)  throws ConfigException

Methods

### · getPlatformInfo | Summary | Top

       public PlatformInfoI getPlatformInfo()

> Implements:
>   getPlatformInfo in interface FileRegistryI

### · findExtensions | Summary | Top

       public FileExtension[] findExtensions(FinderInfo fInfo,
                                             int maxToReturn)

> Implements:
>   findExtensions in interface FileRegistryI

### · findFinderInfo | Summary | Top

       public FinderInfo[] findFinderInfo(FileExtension ext,
                                          int maxToReturn)

> Implements:
>   findFinderInfo in interface FileRegistryI

### · iterate | Summary | Top

       public int iterate(ConfigEntryVisitor fdv)

> Implements:
>   iterate in interface FileRegistryI

### · getApps | Summary | Top

       public AppFile[] getApps(String appName,
                                int maxToReturn,
                                int flags)

> Implements:
>   getApps in interface FileRegistryI

### · getApps | Summary | Top

       public AppFile[] getApps(FileExtension ext,
                                int maxToReturn,
                                int flags)

> Implements:
>   getApps in interface FileRegistryI

### · getApps | Summary | Top

       public AppFile[] getApps(FinderInfo finfo,
                                int maxToReturn,
                                int flags)

> Implements:
>   getApps in interface FileRegistryI

### · launchURL | Summary | Top

       public int launchURL(String url,
                            int flags,
                            String[] preferredBrowsers)

> Implements:
>   launchURL in interface FileRegistryI

### · getVolumes | Summary | Top

       public DiskVolume[] getVolumes()

> Implements:
>   getVolumes in interface FileRegistryI

### · createAppFile | Summary | Top

       public AppFile createAppFile(File fl)  throws FileNotFoundException, DiskFileException

> Implements:
>   createAppFile in interface FileRegistryI

### · createDiskObject | Summary | Top

       public DiskObject createDiskObject(File fl,
                                          int flags)  throws FileNotFoundException, DiskFileException

> Implements:
>   createDiskObject in interface FileRegistryI

### · createAlias | Summary | Top

       public int createAlias(DiskObject target,
                              File newAlias,
                              int creator,
                              int flags)  throws FileNotFoundException, DiskFileException

> Implements:
>   createAlias in interface FileRegistryI

### · resolveAlias | Summary | Top

       public DiskObject resolveAlias(DiskAlias da,
                                      int flags)  throws FileNotFoundException, DiskFileException

> Implements:
>   resolveAlias in interface FileRegistryI

### · getFileType | Summary | Top

       public FileType getFileType(File fl)  throws FileNotFoundException, DiskFileException

> Implements:
>   getFileType in interface FileRegistryI

### · getDirection | Summary | Top

       public int getDirection()

> Implements:
>   getDirection in interface FileRegistryI

### · setDirection | Summary | Top

       public void setDirection(int dir)

> Implements:
>   setDirection in interface FileRegistryI

### · getMonitors | Summary | Top

       public Monitor[] getMonitors()

> Implements:
>   getMonitors in interface FileRegistryI

### · getMainMonitor | Summary | Top

       public Monitor getMainMonitor()

> Implements:
>   getMainMonitor in interface FileRegistryI

### · getProcesses | Summary | Top

       public AppProcess[] getProcesses(int maxToReturn,
                                        int flags)

> Implements:
>   getProcesses in interface FileRegistryI

### · getFileSystems | Summary | Top

       public FileSystem[] getFileSystems(int maxToReturn,
                                          int flags)

> Implements:
>   getFileSystems in interface FileRegistryI

### · setFileUtils | Summary | Top

       public void setFileUtils(FileUtilsI fi)

> Implements:
>   setFileUtils in interface FileRegistryI

### · getFileUtils | Summary | Top

       public FileUtilsI getFileUtils()

> Implements:
>   getFileUtils in interface FileRegistryI

    All Packages  This Package  Class Hierarchy  Class Search  Index

Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7