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.
  • Field Details

    • NUMBER_BASE

      private static final int NUMBER_BASE
      See Also:
    • STANDARD_KEYS

      private static final Map<String,IFitsHeader> STANDARD_KEYS
      cache of all standard keys, for reusing the standards.
  • Constructor Details

    • GenericKey

      private GenericKey()
      utility class do not instanciate it.
  • 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