DefaultPriceIndexFactoryloadPriceIndices Method
Adds price index data provided by a TextReader to this
DefaultPriceIndexFactory.
Namespace: com.ftlabs.fisaAssembly: FISA.NET (in FISA.NET.dll) Version: 1.16.0.13 (1.16.0.13)
public void loadPriceIndices(
TextReader textReader
)
Public Sub loadPriceIndices (
textReader As TextReader
)
Parameters
- textReader TextReader
-
A TextReader that provides the price index data.
The dates provided by the TextReader must be in a format of
"M/yyyy". The price index values must be parsable as a double.
Each date and value should be separated with an equal sign where
the date is the key. Each date/value pair should be delimited
with a carriage return and/or a linefeed. The order of the
date/value pairs doesn't matter, however if there is a duplicate
date, the price index value of the last occurrance will be the value
returned for that date.
Sample file layout :
03/2005 = 120.5
04/2005 = 121.0
05/2005 = 121.5