|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.dxfeed.ipf.InstrumentProfileWriter
public class InstrumentProfileWriter
Writes instrument profiles to the stream using Simple File Format. Please see Instrument Profile Format documentation for complete description.
This writer automatically derives data formats needed to write all meaningful fields.
Constructor Summary | |
---|---|
InstrumentProfileWriter()
|
Method Summary | |
---|---|
void |
write(java.io.OutputStream out,
java.util.List<InstrumentProfile> profiles)
Writes specified instrument profiles into specified stream. |
void |
write(java.io.OutputStream out,
java.lang.String name,
java.util.List<InstrumentProfile> profiles)
Writes specified instrument profiles into specified stream using specified name to select data compression format. |
void |
writeToFile(java.lang.String file,
java.util.List<InstrumentProfile> profiles)
Writes specified instrument profiles into specified file. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InstrumentProfileWriter()
Method Detail |
---|
public void writeToFile(java.lang.String file, java.util.List<InstrumentProfile> profiles) throws java.io.IOException
java.io.IOException
- If an I/O error occurspublic void write(java.io.OutputStream out, java.lang.String name, java.util.List<InstrumentProfile> profiles) throws java.io.IOException
java.io.IOException
- If an I/O error occurspublic void write(java.io.OutputStream out, java.util.List<InstrumentProfile> profiles) throws java.io.IOException
java.io.IOException
- If an I/O error occurs
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |