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 unintuitive class name.
36 *
37 * @author ritchie
38 *
39 * @deprecated Use the more intuitively named {@link FitsKey} class instead. This class is provided for compatibility
40 * with prior releases.
41 */
42 @Deprecated
43 public class FitsHeaderImpl extends FitsKey {
44
45 /**
46 *
47 */
48 private static final long serialVersionUID = 2393951402526656978L;
49
50 /**
51 * Creates a new standardized FITS keyword with the specific usage constraints
52 *
53 * @param headerName The keyword as it will appear in the FITS headers, usually a string with up to 8
54 * characters, containing uppper case letters (A-Z), digits (0-9), and/or
55 * underscore (<code>_</code>) or hyphen (<code>-</code>) characters for
56 * standard FITS keywords.
57 * @param status The convention that defines this keyword
58 * @param hdu the type of HDU this keyword may appear in
59 * @param valueType the type of value that may be associated with this keyword
60 * @param comment the standard comment to include with this keyword
61 *
62 * @throws IllegalArgumentException if the keyword name is invalid.
63 */
64 @Deprecated
65 public FitsHeaderImpl(String headerName, SOURCE status, HDU hdu, VALUE valueType, String comment)
66 throws IllegalArgumentException {
67 super(headerName, status, hdu, valueType, comment);
68 // TODO Auto-generated constructor stub
69 }
70
71 }