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 |
AppUtilsNixLinux.*
These files contain the exported native methods. These routines convert their arguments to and from Java format, and call through to CNixUtils.cpp to do most of the work.See AppUtilsNixI.java for documentation on each of these methods.
AppUtilsNixLinux.h switches on the native selectors (DO_JNI, etc.), and includes the appropriate javah-generated header file.
JNI_AppUtilsNixLinux.h
This is the javah-generated native method header file.AppUtilsNixLinux.h includes the appropriate file depending on which native architecture is defined (i.e., whether DO_JNI, DO_RNI1, DO_RNI2, or DO_JRI is defined.) Currently, only JNI builds are supported.
CNixUtils.*
The routines in this file are called from the native method layer to do most of the work.
These routines are wrappers for getmntent(), statfs(), stat()/lstat(), and readlink()