|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.dxfeed.ipf.InstrumentProfileReader
public class InstrumentProfileReader
Reads instrument profiles from the stream using Simple File Format. Please see Instrument Profile Format documentation for complete description.
This reader automatically uses data formats as specified in the stream.
Nested Class Summary | |
---|---|
protected static class |
InstrumentProfileReader.UncloseableInputStream
Delegating InputStream that does not close underlying stream. |
Constructor Summary | |
---|---|
InstrumentProfileReader()
|
Method Summary | |
---|---|
java.util.List<InstrumentProfile> |
read(java.io.InputStream in)
Reads and returns instrument profiles from specified stream. |
java.util.List<InstrumentProfile> |
read(java.io.InputStream in,
java.lang.String name)
Reads and returns instrument profiles from specified stream using specified name to select data compression format. |
java.util.List<InstrumentProfile> |
readFromFile(java.lang.String source)
Reads and returns instrument profiles from specified file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InstrumentProfileReader()
Method Detail |
---|
public java.util.List<InstrumentProfile> readFromFile(java.lang.String source) throws java.io.IOException
source
- URL of file to read from
InstrumentProfileFormatException
- if input stream does not conform to the Simple File Format
java.io.IOException
- If an I/O error occurspublic java.util.List<InstrumentProfile> read(java.io.InputStream in, java.lang.String name) throws java.io.IOException
InstrumentProfileFormatException
- if input stream does not conform to the Simple File Format
java.io.IOException
- If an I/O error occurspublic java.util.List<InstrumentProfile> read(java.io.InputStream in) throws java.io.IOException
InstrumentProfileFormatException
- if input stream does not conform to the Simple File Format
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 |