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