Class GenericKey

java.lang.Object
nom.tam.fits.header.GenericKey

public final class GenericKey extends Object
generic key interface, create an IFitsHeader from a key.
Author:
ritchie
  • Method Details

    • create

      public static IFitsHeader create(String key)
      create a fits header key from a free string
      Parameters:
      key - the string to create the key for
      Returns:
      the IFitsHeader implementation for the key.
    • create

      public static IFitsHeader[] create(String[] keys)
      create a array of generic fits header keys from a array of string keys.
      Parameters:
      keys - the array of string keys
      Returns:
      the array of IFitsHeaderKeys.
    • getN

      public static int getN(String card)
    • lookup

      public static IFitsHeader lookup(String key)
      lookup a string key in the standard key sets.
      Parameters:
      key - the fits key to search.
      Returns:
      the found fits key or null