Class C2DLookup


  • public class C2DLookup
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDCode​(java.lang.String symbolID)
      Take a complete 15 character 2525C symbol code and converts it to 2525D if there is a match.
      java.lang.String getDCode​(java.lang.String symbolID, boolean includeCountryCode)
      Take a complete 15 character 2525C symbol code and converts it to 2525D if there is a match.
      static C2DLookup getInstance()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getInstance

        public static C2DLookup getInstance()
      • getDCode

        public java.lang.String getDCode​(java.lang.String symbolID)
        Take a complete 15 character 2525C symbol code and converts it to 2525D if there is a match. Returns null if no match.
        Parameters:
        symbolID - 15 character 2525C symbol code.
        Returns:
        30 character 2525D code or null if no matching symbol
      • getDCode

        public java.lang.String getDCode​(java.lang.String symbolID,
                                         boolean includeCountryCode)
        Take a complete 15 character 2525C symbol code and converts it to 2525D if there is a match. Returns null if no match.
        Parameters:
        symbolID - 15 character 2525C symbol code.
        includeCountryCode - 2525C symbols don't display the country label so set to false if you don't want it displayed.
        Returns:
        30 character 2525D code or null if no matching symbol.