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.AppUtilsNixPlain

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

Summary

    class  AppUtilsNixPlain
         extends java.lang.Object
         implements com.jconfig.nix.AppUtilsNixI
    {
              // Fields 3
         private final String copyrightString;
         private DefaultIconManager defaultIconManager;
         private String tempDir;

              // Constructors 1
         AppUtilsNixPlain(File);

              // Methods 37
         public int createFileAlias(String, String, int);
         public int createVolumeAlias(String, String, int);
         public String[] findAppsByExtension(String, int, int);
         public String[] findAppsByName(String, int, int);
         public int getAllMonitorInfo(int[], int, int[]);
         public int getDriveDisplayName(String, String[]);
         public int getExecutableType(String, int[]);
         public int getExtIcon(String, int, int, int, int, int, int[]);
         public int getFileAttributes(String, int[]);
         public int getFileAttributesMask(String, int[]);
         public DateBundle getFileDateBundle(int, String);
         public int getFileIcon(String, boolean, int, int, int, int, int, int[]);
         public int getMainMonitorInfo(int[]);
         public int getMntEnt(String[], int, int[]);
         public DateBundle getVolumeDateBundle(int, String);
         public int getVolumeFlags(String, int[]);
         public int getVolumeIcon(String, int, int, int, int, int, int[]);
         public int getVolumeLabel(String, String[]);
         public int getVolumeMaxFileNameLength(String, int[]);
         public int getVolumeReadFlagsMask(String, int[]);
         public int getVolumeReferenceNumber(String, int[]);
         public int getVolumes(int, int[], String[]);
         public boolean isDrivePath(File);
         public boolean isDriveString(String);
         public boolean isLinkFile(File);
         public int launchApp(String, String, String, String, int[], int, String[]);
         public int launchURL(String, int, String[]);
         public int lstat(String, int[], int[]);
         public int moveApp(int[], int, int);
         public String pathToDriveName(File);
         public int quitApp(int[], int);
         public int readLink(String, String[]);
         public int resolveLinkFile(String, String[], int);
         public int setVolumeLabel(String, String);
         public int stat(String, int[], int[]);
         public int statFS(String, int[]);
         public int verifyNativeAppData(int[]);
    }

This is an implementation of AppUtilsNixI that doesn't use native code. If it's not possible to implement a method without using native code, that method returns null or an error code.

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

Cross Reference

Extended By:
  AppUtilsNixLinux

Fields

### · copyrightString | Summary | Top

       private final String copyrightString

### · tempDir | Summary | Top

       private String tempDir

### · defaultIconManager | Summary | Top

       private DefaultIconManager defaultIconManager

Constructors

### · AppUtilsNixPlain | Summary | Top

       AppUtilsNixPlain(File temp)

Methods

### · statFS | Summary | Top

       public int statFS(String fileName,
                         int[] retInts)

> Implements:
>   statFS in interface AppUtilsNixI

### · stat | Summary | Top

       public int stat(String fileName,
                       int[] retArray,
                       int[] datesArray)

> Implements:
>   stat in interface AppUtilsNixI

### · lstat | Summary | Top

       public int lstat(String fileName,
                        int[] retArray,
                        int[] datesArray)

> Implements:
>   lstat in interface AppUtilsNixI

### · getMntEnt | Summary | Top

       public int getMntEnt(String[] retQuads,
                            int maxToReturn,
                            int[] numReturned)

> Implements:
>   getMntEnt in interface AppUtilsNixI

### · readLink | Summary | Top

       public int readLink(String linkFilePath,
                           String[] retPath)

> Implements:
>   readLink in interface AppUtilsNixI

### · getFileIcon | Summary | Top

       public int getFileIcon(String fullPath,
                              boolean bIsDir,
                              int whichIcon,
                              int w,
                              int h,
                              int xform,
                              int align,
                              int[] pData)

> Implements:
>   getFileIcon in interface AppUtilsNixI

### · getExtIcon | Summary | Top

       public int getExtIcon(String ext,
                             int whichIcon,
                             int w,
                             int h,
                             int xform,
                             int align,
                             int[] pData)

> Implements:
>   getExtIcon in interface AppUtilsNixI

### · getVolumeIcon | Summary | Top

       public int getVolumeIcon(String driveName,
                                int whichIcon,
                                int w,
                                int h,
                                int xform,
                                int align,
                                int[] pData)

> Implements:
>   getVolumeIcon in interface AppUtilsNixI

### · createVolumeAlias | Summary | Top

       public int createVolumeAlias(String driveName,
                                    String newAliasPath,
                                    int flags)

> Throws: UnimplementedException
>   this method always throws an UnimplementedException
> Implements:
>   createVolumeAlias in interface AppUtilsNixI

### · createFileAlias | Summary | Top

       public int createFileAlias(String targetPath,
                                  String newAliasPath,
                                  int flags)

> Throws: UnimplementedException
>   this method always throws an UnimplementedException
> Implements:
>   createFileAlias in interface AppUtilsNixI

### · isLinkFile | Summary | Top

       public boolean isLinkFile(File fl)

> Implements:
>   isLinkFile in interface AppUtilsNixI

### · isDrivePath | Summary | Top

       public boolean isDrivePath(File fl)

> Implements:
>   isDrivePath in interface AppUtilsNixI

### · pathToDriveName | Summary | Top

       public String pathToDriveName(File fl)

> Implements:
>   pathToDriveName in interface AppUtilsNixI

### · isDriveString | Summary | Top

       public boolean isDriveString(String drivePath)

> Implements:
>   isDriveString in interface AppUtilsNixI

### · getVolumes | Summary | Top

       public int getVolumes(int maxToReturn,
                             int[] numReturned,
                             String[] driveNames)

> Implements:
>   getVolumes in interface AppUtilsNixI

### · getVolumeLabel | Summary | Top

       public int getVolumeLabel(String driveName,
                                 String[] label)

> Throws: UnimplementedException
>   this method always throws an UnimplementedException
> Implements:
>   getVolumeLabel in interface AppUtilsNixI

### · getVolumeMaxFileNameLength | Summary | Top

       public int getVolumeMaxFileNameLength(String driveName,
                                             int[] nameLen)

> Implements:
>   getVolumeMaxFileNameLength in interface AppUtilsNixI

### · getVolumeReferenceNumber | Summary | Top

       public int getVolumeReferenceNumber(String driveName,
                                           int[] refNum)

> Implements:
>   getVolumeReferenceNumber in interface AppUtilsNixI

### · getFileDateBundle | Summary | Top

       public DateBundle getFileDateBundle(int flags,
                                           String path)

### · getVolumeDateBundle | Summary | Top

       public DateBundle getVolumeDateBundle(int flags,
                                             String driveName)

### · setVolumeLabel | Summary | Top

       public int setVolumeLabel(String driveName,
                                 String newLabel)

> Throws: UnimplementedException
>   this method always throws an UnimplementedException
> Implements:
>   setVolumeLabel in interface AppUtilsNixI

### · getDriveDisplayName | Summary | Top

       public int getDriveDisplayName(String driveName,
                                      String[] displayName)

> Throws: UnimplementedException
>   this method always throws an UnimplementedException
> Implements:
>   getDriveDisplayName in interface AppUtilsNixI

### · getVolumeFlags | Summary | Top

       public int getVolumeFlags(String driveName,
                                 int[] flags)

> Implements:
>   getVolumeFlags in interface AppUtilsNixI

### · getVolumeReadFlagsMask | Summary | Top

       public int getVolumeReadFlagsMask(String driveName,
                                         int[] flags)

> Implements:
>   getVolumeReadFlagsMask in interface AppUtilsNixI

### · resolveLinkFile | Summary | Top

       public int resolveLinkFile(String linkFilePath,
                                  String[] retPath,
                                  int flags)

> Throws: UnimplementedException
>   this method always throws an UnimplementedException
> Implements:
>   resolveLinkFile in interface AppUtilsNixI

### · getAllMonitorInfo | Summary | Top

       public int getAllMonitorInfo(int[] monitorInfo,
                                    int maxToReturn,
                                    int[] numReturned)

> Throws: UnimplementedException
>   this method always throws an UnimplementedException
> Implements:
>   getAllMonitorInfo in interface AppUtilsNixI

### · getMainMonitorInfo | Summary | Top

       public int getMainMonitorInfo(int[] monitorInfo)

> Throws: UnimplementedException
>   this method always throws an UnimplementedException
> Implements:
>   getMainMonitorInfo in interface AppUtilsNixI

### · getExecutableType | Summary | Top

       public int getExecutableType(String fullPath,
                                    int[] val)

> Throws: UnimplementedException
>   this method always throws an UnimplementedException
> Implements:
>   getExecutableType in interface AppUtilsNixI

### · getFileAttributes | Summary | Top

       public int getFileAttributes(String fullPath,
                                    int[] val)

> Implements:
>   getFileAttributes in interface AppUtilsNixI

### · getFileAttributesMask | Summary | Top

       public int getFileAttributesMask(String fullPath,
                                        int[] val)

> Implements:
>   getFileAttributesMask in interface AppUtilsNixI

### · launchApp | Summary | Top

       public int launchApp(String appPath,
                            String verb,
                            String regKey,
                            String commandLine,
                            int[] retData,
                            int numArgs,
                            String[] args)

> Throws: UnimplementedException
>   this method always throws an UnimplementedException
> Implements:
>   launchApp in interface AppUtilsNixI

### · launchURL | Summary | Top

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

> Implements:
>   launchURL in interface AppUtilsNixI

### · findAppsByName | Summary | Top

       public String[] findAppsByName(String appName,
                                      int maxToReturn,
                                      int flags)

> Implements:
>   findAppsByName in interface AppUtilsNixI

### · findAppsByExtension | Summary | Top

       public String[] findAppsByExtension(String ext,
                                           int maxToReturn,
                                           int flags)

> Implements:
>   findAppsByExtension in interface AppUtilsNixI

### · verifyNativeAppData | Summary | Top

       public int verifyNativeAppData(int[] appData)

> Throws: UnimplementedException
>   this method always throws an UnimplementedException
> Implements:
>   verifyNativeAppData in interface AppUtilsNixI

### · quitApp | Summary | Top

       public int quitApp(int[] appData,
                          int flags)

> Throws: UnimplementedException
>   this method always throws an UnimplementedException
> Implements:
>   quitApp in interface AppUtilsNixI

### · moveApp | Summary | Top

       public int moveApp(int[] appData,
                          int selector,
                          int flags)

> Throws: UnimplementedException
>   this method always throws an UnimplementedException
> Implements:
>   moveApp in interface AppUtilsNixI

    All Packages  This Package  Class Hierarchy  Class Search  Index

Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7