| 1 |
package nom.tam.fits.header; |
| 2 |
|
| 3 |
/*- |
| 4 |
* #%L |
| 5 |
* nom.tam.fits |
| 6 |
* %% |
| 7 |
* Copyright (C) 1996 - 2024 nom-tam-fits |
| 8 |
* %% |
| 9 |
* This is free and unencumbered software released into the public domain. |
| 10 |
* |
| 11 |
* Anyone is free to copy, modify, publish, use, compile, sell, or |
| 12 |
* distribute this software, either in source code form or as a compiled |
| 13 |
* binary, for any purpose, commercial or non-commercial, and by any |
| 14 |
* means. |
| 15 |
* |
| 16 |
* In jurisdictions that recognize copyright laws, the author or authors |
| 17 |
* of this software dedicate any and all copyright interest in the |
| 18 |
* software to the public domain. We make this dedication for the benefit |
| 19 |
* of the public at large and to the detriment of our heirs and |
| 20 |
* successors. We intend this dedication to be an overt act of |
| 21 |
* relinquishment in perpetuity of all present and future rights to this |
| 22 |
* software under copyright law. |
| 23 |
* |
| 24 |
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
| 25 |
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 26 |
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
| 27 |
* IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR |
| 28 |
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, |
| 29 |
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
| 30 |
* OTHER DEALINGS IN THE SOFTWARE. |
| 31 |
* #L% |
| 32 |
*/ |
| 33 |
|
| 34 |
/** |
| 35 |
* The old concrete implementation of standardized FITS keywords, with a very |
| 36 |
* unintuitive class name. |
| 37 |
* |
| 38 |
* @author ritchie |
| 39 |
* @deprecated Use the more intuitively named {@link FitsKey} class instead. |
| 40 |
* This class is provided for compatibility with prior releases. |
| 41 |
*/ |
| 42 |
public class FitsHeaderImpl extends FitsKey { |
| 43 |
|
| 44 |
/** |
| 45 |
* |
| 46 |
*/ |
| 47 |
private static final long serialVersionUID = 2393951402526656978L; |
| 48 |
|
| 49 |
/** |
| 50 |
* Creates a new standardized FITS keyword with the specific usage |
| 51 |
* constraints |
| 52 |
* |
| 53 |
* @param headerName |
| 54 |
* The keyword as it will appear in the FITS headers, usually a |
| 55 |
* string with up to 8 characters, containing uppper case letters |
| 56 |
* (A-Z), digits (0-9), and/or underscore (<code>_</code>) or |
| 57 |
* hyphen (<code>-</code>) characters for standard FITS keywords. |
| 58 |
* @param status |
| 59 |
* The convention that defines this keyword |
| 60 |
* @param hdu |
| 61 |
* the type of HDU this keyword may appear in |
| 62 |
* @param valueType |
| 63 |
* the type of value that may be associated with this keyword |
| 64 |
* @param comment |
| 65 |
* the standard comment to include with this keyword |
| 66 |
* @throws IllegalArgumentException |
| 67 |
* if the keyword name is invalid. |
| 68 |
*/ |
| 69 |
public FitsHeaderImpl(String headerName, SOURCE status, HDU hdu, VALUE valueType, String comment) throws IllegalArgumentException { |
| 70 |
super(headerName, status, hdu, valueType, comment); |
| 71 |
// TODO Auto-generated constructor stub |
| 72 |
} |
| 73 |
|
| 74 |
} |