grs.spice
Class KernelPool

java.lang.Object
  |
  +--grs.spice.KernelPool

public class KernelPool
extends Object

Static methods for loading and clearing the SPICE kernel pools.


Field Summary
static String[] kernelTypes
           
 
Constructor Summary
KernelPool()
           
 
Method Summary
static void clear()
          Unloads all values from the kernel pool.
static Hashtable listKernels()
           
static String[] listKernels(String type)
           
static void load(String fileName)
          Loads the values found in the specified text kernel into the kernel pool.
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

kernelTypes

public static final String[] kernelTypes
Constructor Detail

KernelPool

public KernelPool()
Method Detail

load

public static void load(String fileName)
                 throws SpiceException
Loads the values found in the specified text kernel into the kernel pool.

Parameters:
fileName - Path to kernel file.
Throws:
SpiceException - The file could not be found or loaded.

clear

public static void clear()
                  throws SpiceException
Unloads all values from the kernel pool.

Throws:
SpiceException - The kernel pool could not be cleared.

listKernels

public static Hashtable listKernels()
                             throws SpiceException
SpiceException

listKernels

public static String[] listKernels(String type)
                            throws SpiceException
SpiceException

main

public static void main(String[] args)
                 throws Exception
Exception


2001 Mars Odyssey Gamma Ray Spectrometer Team