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.FileRegistryMSVM
Summary |
class FileRegistryMSVM extends java.lang.Object implements com.jconfig.FileRegistryI { // Fields 18 private AppFinderMSVM appFinder; private ConfigList config; private static final String copyrightString; private int direction; private static final int kGetVolumesMaxReturn; static final int kMSVM1; private static final String kMSVM1LibName; private static final String kMSVM1LibNameW; static final int kMSVM1W; static final int kMSVM2; private static final String kMSVM2LibName; private static final String kMSVM2LibNameW; static final int kMSVM2W; static final int kSun11; private static final String kSun11LibName; private static final String kSun11LibNameW; static final int kSun11W; private PlatformInfoMSVM platformInfo; // Constructors 1 FileRegistryMSVM(PlatformInfoMSVM, 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); }
On Windows, the FileRegistry will delegate all calls to this object. See FileRegistryFactoryWin for details.
Fields |
· copyrightString | Summary | Top |
private static final String copyrightString
· kMSVM1 | Summary | Top |
static final int kMSVM1
· kSun11 | Summary | Top |
static final int kSun11
· kMSVM2 | Summary | Top |
static final int kMSVM2
· kMSVM1W | Summary | Top |
static final int kMSVM1W
· kSun11W | Summary | Top |
static final int kSun11W
· kMSVM2W | Summary | Top |
static final int kMSVM2W
· kGetVolumesMaxReturn | Summary | Top |
private static final int kGetVolumesMaxReturn
· kSun11LibName | Summary | Top |
private static final String kSun11LibName
Name of the DLL used on Win95/Win98 with the JDK
· kMSVM1LibName | Summary | Top |
private static final String kMSVM1LibName
Name of the DLL used on Win95/Win98 with the MSVM (SDK 1.5 or earlier)
· kMSVM2LibName | Summary | Top |
private static final String kMSVM2LibName
Name of the DLL used on Win95/Win98 with the MSVM (SDK 2.0 or later)
· kSun11LibNameW | Summary | Top |
private static final String kSun11LibNameW
Name of the DLL used on WinNT with the JDK
· kMSVM1LibNameW | Summary | Top |
private static final String kMSVM1LibNameW
Name of the DLL used on WinNT with the MSVM (SDK 1.5 or earlier)
· kMSVM2LibNameW | Summary | Top |
private static final String kMSVM2LibNameW
Name of the DLL used on WinNT with the MSVM (SDK 2.0 or later)
· config | Summary | Top |
private ConfigList config
· appFinder | Summary | Top |
private AppFinderMSVM appFinder
· platformInfo | Summary | Top |
private PlatformInfoMSVM platformInfo
· direction | Summary | Top |
private int direction
Constructors |
· FileRegistryMSVM | Summary | Top |
FileRegistryMSVM(PlatformInfoMSVM platformInfo, int whichLibrary, File curDir, int creator) throws ConfigException
First, try to load the indicated native library. Then, create ConfigListFile and AppFinderMSVM objects, and initialize AppUtilsMSVM.
The 'findExtensions', 'findFinderInfo', and 'iterate' methods will be delegated to the ConfigListFile object.
The 'getApps' calls will be delegated to the 'AppFinderMSVM' object either in whole or in part.
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()
Calls MonitorHelperMSVM.getMonitors()
- Implements:
- getMonitors in interface FileRegistryI
· getMainMonitor | Summary | Top |
public Monitor getMainMonitor()
Calls MonitorHelperMSVM.getMainMonitor()
- Implements:
- getMainMonitor in interface FileRegistryI
· getProcesses | Summary | Top |
public AppProcess[] getProcesses(int maxToReturn, int flags)
Calls ProcessHelperMSVM.getProcesses()
- Implements:
- getProcesses in interface FileRegistryI
· getFileSystems | Summary | Top |
public FileSystem[] getFileSystems(int maxToReturn, int flags)
Calls FSCreatorMSVM.getFileSystems()
- 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 IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7