public class MirageFormatter extends Object
Modifier and Type | Field and Description |
---|---|
protected PrintStream |
strm |
Constructor and Description |
---|
MirageFormatter(PrintStream strm)
Constructs a new formatter which will write to a given stream.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
Writes a table to standard output in Mirage format.
|
String |
toString() |
void |
writeMirageFormat(StarTable table)
Writes a StarTable to a stream in Mirage format.
|
protected PrintStream strm
public MirageFormatter(PrintStream strm)
strm
- the stream into which mirage format tables will be
writtenpublic void writeMirageFormat(StarTable table) throws IOException
table
- a StarTable object to writeIOException
- if there is a write errorpublic static void main(String[] args) throws IOException
args
- a 1-element array giving the location of the
table to printIOException
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.