public class HeaderSpecification extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
HeaderSpecification.DataType |
static class |
HeaderSpecification.GroupLine
A Class defining each Group line contained in a HeaderSpecification.
|
static class |
HeaderSpecification.HeaderLine
A Class defining each Header line contained in a HeaderSpecification.
|
| Constructor and Description |
|---|
HeaderSpecification(HeaderSpecification spec) |
HeaderSpecification(String name,
InputStream in) |
HeaderSpecification(String name,
Reader in) |
| Modifier and Type | Method and Description |
|---|---|
Collection<HeaderSpecification.GroupLine> |
getGroups()
Get the full collection of GroupLines for this HeaderSpecification.
|
HeaderSpecification.HeaderLine |
getHeader(String keyWord)
Get a specific HeaderLine object specifying the full definition for
a given header keyword.
|
Collection<HeaderSpecification.HeaderLine> |
getHeaders()
Get the full collection of HeaderLines for this HeaderSpecification.
|
Collection<HeaderSpecification.HeaderLine> |
getHeadersForGroup(String groupName)
Get the full collection of HeaderLines for a given group name.
|
String |
getName()
The name of the HeaderSpecification.
|
static void |
main(String[] argv) |
public static final Object NULL
public HeaderSpecification(String name, InputStream in) throws IOException
IOExceptionpublic HeaderSpecification(String name, Reader in) throws IOException
IOExceptionpublic HeaderSpecification(HeaderSpecification spec)
public String getName()
public HeaderSpecification.HeaderLine getHeader(String keyWord)
keyWord - The keyword name for the HeaderLinepublic Collection<HeaderSpecification.HeaderLine> getHeaders()
public Collection<HeaderSpecification.HeaderLine> getHeadersForGroup(String groupName)
public Collection<HeaderSpecification.GroupLine> getGroups()
Copyright © 2024 LSST. All rights reserved.