cfa.vo.sed.io
Class FitsWriter

java.lang.Object
  extended by cfa.vo.sed.io.FitsWriter
All Implemented Interfaces:
IWriter

public class FitsWriter
extends java.lang.Object
implements IWriter


Constructor Summary
FitsWriter()
           
 
Method Summary
 int write(java.io.OutputStream filename, IWrapper wrapper)
          Writes data to a file given appropriate IWrapper.
 int write(java.io.OutputStream filename, IWrapper wrapper, int outFormat)
          Writes data to a file given appropriate IWrapper.
 int write(java.lang.String filename, IWrapper wrapper)
          Writes data to a file given appropriate IWrapper (FitsWrapper).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FitsWriter

public FitsWriter()
Method Detail

write

public int write(java.lang.String filename,
                 IWrapper wrapper)
Writes data to a file given appropriate IWrapper (FitsWrapper). Returns status code.

Specified by:
write in interface IWriter
Parameters:
filename - String
wrapper - IWrapper
Returns:
int

write

public int write(java.io.OutputStream filename,
                 IWrapper wrapper)
Writes data to a file given appropriate IWrapper. Returns status code.

Specified by:
write in interface IWriter
Parameters:
filename - OutputStream
wrapper - IWrapper
Returns:
int

write

public int write(java.io.OutputStream filename,
                 IWrapper wrapper,
                 int outFormat)
Writes data to a file given appropriate IWrapper. Returns status code.

Specified by:
write in interface IWriter
Parameters:
filename - OutputStream
wrapper - IWrapper
outFormat - int
Returns:
int