gsfc.nssdc.cdf
Class CDFNativeLibrary

java.lang.Object
  extended by gsfc.nssdc.cdf.CDFNativeLibrary
All Implemented Interfaces:
CDFDelegate

public class CDFNativeLibrary
extends java.lang.Object
implements CDFDelegate

This class implements the method that act as the gateway between the CDF Java APIs and the CDF library.

Version:
Version 1.0

Constructor Summary
CDFNativeLibrary()
           
 
Method Summary
 void cdflib(CDF theCDF, CDFObject cdfObject, java.util.Vector cmds)
          Calls the Java Native Interface (JNI) program, cdfNativeLibrary.c.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CDFNativeLibrary

public CDFNativeLibrary()
Method Detail

cdflib

public void cdflib(CDF theCDF,
                   CDFObject cdfObject,
                   java.util.Vector cmds)
            throws CDFException
Calls the Java Native Interface (JNI) program, cdfNativeLibrary.c. This method is internal and called by various core CDF Java programs.

End users should never call this method from their applications.

Specified by:
cdflib in interface CDFDelegate
Parameters:
theCDF - the CDF being dealt with

cdfObject - the calling program/object (e.g. Variable.java, Attribute.java, etc.)

cmds - a vector that contains the CDFlib commands to be executed

Throws:
CDFException - if a problem occurs while executing the requested CDFlib commands in cdfNativeLibrary.c.