public class SpectrumWriterFactory
extends java.lang.Object
Constructor and Description |
---|
SpectrumWriterFactory(SPECCHIOClient specchio_client)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
SpectrumWriter |
getWriter(java.io.OutputStream os,
int type,
int header)
Get a writer for a given output stream and file type.
|
public SpectrumWriterFactory(SPECCHIOClient specchio_client)
public SpectrumWriter getWriter(java.io.OutputStream os, int type, int header)
os
- the output streamtype
- the file typeheader
- HeaderBody.Header or HeaderBody.Bodyjava.lang.IllegalArgumentException
- type is not a recognised file type