com.mbc.jfin.holiday.impl.financialcalendar
Class InfoFileEntry
- java.lang.Object
-
- com.mbc.jfin.holiday.impl.financialcalendar.InfoFileEntry
-
public class InfoFileEntry extends java.lang.ObjectRepresents an entry in the financialcalendar.com info.csv file. An example info.csv file is included with the db jFin distribution. For information on licensing a full info.csv file, along with holiday calendars, visit http://www.financialcalendar.com/ financialcalendar.com is not associated with jFin
-
-
Constructor Summary
Constructors Constructor and Description InfoFileEntry(java.lang.String lineToParse)Construct an InfoFileEntry from a line in the .csv fileInfoFileEntry(java.lang.String code, java.lang.String center, java.lang.String country, java.lang.String currency, java.lang.String type, java.lang.String isoCountry, java.lang.String define1, java.lang.String define2)Construct an InfoFileEntry
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.StringgetCenter()java.lang.StringgetCode()java.lang.StringgetCountry()java.lang.StringgetCurrency()java.lang.StringgetDefine1()java.lang.StringgetDefine2()java.lang.StringgetIsoCountry()java.lang.StringgetType()voidparse(java.lang.String line)Parses a comma seperated line from a .csv file into the InfoFileEntry
-
-
-
Constructor Detail
-
InfoFileEntry
public InfoFileEntry(java.lang.String lineToParse)
Construct an InfoFileEntry from a line in the .csv file- Parameters:
lineToParse-
-
InfoFileEntry
public InfoFileEntry(java.lang.String code, java.lang.String center, java.lang.String country, java.lang.String currency, java.lang.String type, java.lang.String isoCountry, java.lang.String define1, java.lang.String define2)Construct an InfoFileEntry- Parameters:
code-center-country-currency-type-isoCountry-define1-define2-
-
-
Method Detail
-
parse
public void parse(java.lang.String line)
Parses a comma seperated line from a .csv file into the InfoFileEntry- Parameters:
line-
-
getCenter
public java.lang.String getCenter()
- Returns:
- Returns the center.
-
getCode
public java.lang.String getCode()
- Returns:
- Returns the code.
-
getCountry
public java.lang.String getCountry()
- Returns:
- Returns the country.
-
getCurrency
public java.lang.String getCurrency()
- Returns:
- Returns the currency.
-
getDefine1
public java.lang.String getDefine1()
- Returns:
- Returns the define1.
-
getDefine2
public java.lang.String getDefine2()
- Returns:
- Returns the define2.
-
getIsoCountry
public java.lang.String getIsoCountry()
- Returns:
- Returns the isoCountry.
-
getType
public java.lang.String getType()
- Returns:
- Returns the type.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG