public class MocFitsIO extends Object
| Constructor and Description |
|---|
MocFitsIO() |
| Modifier and Type | Method and Description |
|---|---|
static Moc |
mocFromFits(InputStream inp)
Converts the contents of a FITS input stream to a MOC.
|
static Moc |
mocFromFits(String filename)
Converts the contents of a FITS file to a MOC.
|
static void |
mocToFits(Moc moc,
OutputStream out)
Writes the provided Moc to the stream in FITS format.
|
static void |
mocToFits(Moc moc,
String filename)
Writes the provided Moc to the specified file in FITS format.
|
public static Moc mocFromFits(InputStream inp) throws Exception
Exceptionpublic static Moc mocFromFits(String filename) throws Exception
Exceptionpublic static void mocToFits(Moc moc, OutputStream out) throws Exception
Exception