Class GenericKey


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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static IFitsHeader create​(java.lang.String key)
      create a fits header key from a free string
      static IFitsHeader[] create​(java.lang.String[] keys)
      create a array of generic fits header keys from a array of string keys.
      static int getN​(java.lang.String card)  
      static IFitsHeader lookup​(java.lang.String key)
      lookup a string key in the standard key sets.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • create

        public static IFitsHeader create​(java.lang.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​(java.lang.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​(java.lang.String card)
      • lookup

        public static IFitsHeader lookup​(java.lang.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