public class SpectrumWriter extends Object
| Constructor and Description |
|---|
SpectrumWriter(OutputStream output)
Creates a new writer based on the given output stream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
writeSpectrum(ISpectrum spectrum)
Serializes a spectrum instance into binary streams.
|
public SpectrumWriter(OutputStream output) throws IOException
output - binary stream to write execution data toIOException - if the header can't be writtenpublic void writeSpectrum(ISpectrum spectrum) throws IOException
spectrum - IOException - if the data can't be writtenCopyright © 2010–2018 GZoltar. All rights reserved.