Class AstPackage

  extended by

public class AstPackage
extends Object

Provides information about the status of the JNIAST package. This class offers a method which can be invoked to determine whether the classes in the package are available for use.

Mark Taylor (Starlink)

Method Summary
static boolean isAvailable()
          Indicates whether the JNIAST package is available or not.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Detail


public static boolean isAvailable()
Indicates whether the JNIAST package is available or not. This will return true if the JNIAST classes can be used, but false if the requisite native code is not available (the shared library is not on the java.library.path). If the classes are not available, then the first time it is invoked it will write a warning to that effect via the logger.

true iff the* classes are available

Copyright © 2019 Central Laboratory of the Research Councils. All Rights Reserved.