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

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

Summary

    class  AppUtilsNixLinux
         extends com.jconfig.nix.AppUtilsNixPlain
    {
              // Fields 5
         private static final String PATH_MNTTAB;
         private static final String PATH_MOUNTED;
         private final String copyrightString;
         private static final int kUseLStat;
         private static final int kUseStat;

              // Constructors 1
         AppUtilsNixLinux(File);

              // Methods 10
         private static native int nGetMntEnt(String, String[], int, int[]);
         private static native int nReadLink(String, String[]);
         private static native int nStat(int, String, int[], int[]);
         private static native int nStatFS(String, int[]);

         public int getMntEnt(String[], int, int[]);
         public int lstat(String, int[], int[]);
         public int readLink(String, String[]);
         public int resolveLinkFile(String, String[], int);
         public int stat(String, int[], int[]);
         public int statFS(String, int[]);
    }

This is an implementation of AppUtilsNixI for Linux.

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

Fields

### · copyrightString | Summary | Top

       private final String copyrightString

### · PATH_MOUNTED | Summary | Top

       private static final String PATH_MOUNTED

> Used in getMntEnt()

### · PATH_MNTTAB | Summary | Top

       private static final String PATH_MNTTAB

### · kUseStat | Summary | Top

       private static final int kUseStat

> Indicates to the nStat method to use the stat() routine.

### · kUseLStat | Summary | Top

       private static final int kUseLStat

> Indicates to the nStat method to use the lstat() routine.

Constructors

### · AppUtilsNixLinux | Summary | Top

       AppUtilsNixLinux(File temp)

> Loads "jconfiglx0"

Methods

### · statFS | Summary | Top

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

> Overrides:
>   statFS in class AppUtilsNixPlain
> Implements:
>   statFS in interface AppUtilsNixI

### · stat | Summary | Top

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

> Overrides:
>   stat in class AppUtilsNixPlain
> Implements:
>   stat in interface AppUtilsNixI

### · lstat | Summary | Top

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

> Overrides:
>   lstat in class AppUtilsNixPlain
> Implements:
>   lstat in interface AppUtilsNixI

### · getMntEnt | Summary | Top

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

> Overrides:
>   getMntEnt in class AppUtilsNixPlain
> Implements:
>   getMntEnt in interface AppUtilsNixI

### · readLink | Summary | Top

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

> Overrides:
>   readLink in class AppUtilsNixPlain
> Implements:
>   readLink in interface AppUtilsNixI

### · resolveLinkFile | Summary | Top

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

> Resolves a symbolic link.

> Parameter | Description
> linkFilePath | the full path of the symlink
> retPath | the resolved link file will be placed at retPath[ 0 ]
> flags | Needs to be documented

> Overrides:
>   resolveLinkFile in class AppUtilsNixPlain
> Implements:
>   resolveLinkFile in interface AppUtilsNixI

### · nReadLink | Summary | Top

       private static native int nReadLink(String linkName,
                                           String[] resolvedName)

### · nStat | Summary | Top

       private static native int nStat(int selector,
                                       String fileName,
                                       int[] retArray,
                                       int[] datesArray)

### · nStatFS | Summary | Top

       private static native int nStatFS(String fileName,
                                         int[] retInts)

### · nGetMntEnt | Summary | Top

       private static native int nGetMntEnt(String mntFileName,
                                            String[] retQuads,
                                            int maxToReturn,
                                            int[] numReturned)

    All Packages  This Package  Class Hierarchy  Class Search  Index

Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7