Documentation of 'org.jfin.date.holiday.financialcalendarimpl.InfoFileEntry' Java class
InfoFileEntry
org.jfin.date.holiday.financialcalendarimpl

Class InfoFileEntry



  • public class InfoFileEntry
    extends java.lang.Object
    Represents 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 Detail

      • InfoFileEntry

        public InfoFileEntry()
        Default constructor
      • 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,
                             Iso4217Currency currency,
                             java.lang.String type,
                             Iso3166Country 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.
      • setCenter

        public void setCenter(java.lang.String center)
        Parameters:
        center - The center to set.
      • getCode

        public java.lang.String getCode()
        Returns:
        Returns the code.
      • setCode

        public void setCode(java.lang.String code)
        Parameters:
        code - The code to set.
      • getCountry

        public java.lang.String getCountry()
        Returns:
        Returns the country.
      • setCountry

        public void setCountry(java.lang.String country)
        Parameters:
        country - The country to set.
      • getCurrency

        public Iso4217Currency getCurrency()
        Returns:
        Returns the currency.
      • setCurrency

        public void setCurrency(Iso4217Currency currency)
        Parameters:
        currency - The currency to set.
      • getDefine1

        public java.lang.String getDefine1()
        Returns:
        Returns the define1.
      • setDefine1

        public void setDefine1(java.lang.String define1)
        Parameters:
        define1 - The define1 to set.
      • getDefine2

        public java.lang.String getDefine2()
        Returns:
        Returns the define2.
      • setDefine2

        public void setDefine2(java.lang.String define2)
        Parameters:
        define2 - The define2 to set.
      • getIsoCountry

        public Iso3166Country getIsoCountry()
        Returns:
        Returns the isoCountry.
      • setIsoCountry

        public void setIsoCountry(Iso3166Country isoCountry)
        Parameters:
        isoCountry - The isoCountry to set.
      • getType

        public java.lang.String getType()
        Returns:
        Returns the type.
      • setType

        public void setType(java.lang.String type)
        Parameters:
        type - The type to set.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • initialiseCountryMapping

        public void initialiseCountryMapping()
      • getCountryMapping

        public java.lang.String getCountryMapping(java.lang.String country)
      • getCurrencyMapping

        public void getCurrencyMapping()

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.