public class InstrumentProfileWriter extends Object
This writer automatically derives data formats needed to write all meaningful fields.
Constructor and Description |
---|
InstrumentProfileWriter()
Creates instrument profile writer.
|
Modifier and Type | Method and Description |
---|---|
void |
write(OutputStream out,
List<InstrumentProfile> profiles)
Writes specified instrument profiles into specified stream with the
"##COMPLETE" end tag at the end. |
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 InstrumentProfileWriter()
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
"##COMPLETE"
end tag at the end.IOException
- If an I/O error occursCopyright © 2002–2023 Devexperts LLC. All rights reserved.