public class InstrumentProfileWriter extends Object
This writer automatically derives data formats needed to write all meaningful fields.
Modifier and Type | Class and Description |
---|---|
protected static class |
InstrumentProfileWriter.UncloseableOutputStream
Delegating OutputStream that does not close underlying stream.
|
Constructor and Description |
---|
InstrumentProfileWriter() |
Modifier and Type | Method and Description |
---|---|
void |
write(OutputStream out,
List<InstrumentProfile> profiles)
Writes specified instrument profiles into specified stream.
|
void |
write(OutputStream out,
String name,
List<InstrumentProfile> profiles)
Writes specified instrument profiles into specified stream using specified name to select data compression format.
|
void |
writeToFile(String file,
List<InstrumentProfile> profiles)
Writes specified instrument profiles into specified file.
|
public void writeToFile(String file, List<InstrumentProfile> profiles) throws IOException
IOException
- If an I/O error occurspublic void write(OutputStream out, String name, List<InstrumentProfile> profiles) throws IOException
IOException
- If an I/O error occurspublic void write(OutputStream out, List<InstrumentProfile> profiles) throws IOException
IOException
- If an I/O error occursCopyright © 2014 Devexperts. All Rights Reserved.