public Map < String , List < ? extends SipApplicationRouterInfo > > parse ( ) throws ParseException { Map < String , List < ? extends SipApplicationRouterInfo > > sipApplicationRoutingInfo = new HashMap < String , List < ? extends SipApplicationRouterInfo > > ( ) ; Iterator darEntriesIterator = properties . entrySet ( ) . iterator ( ) ; while ( darEntriesIterator . hasNext ( ) ) { Entry < String , String > darEntry = ( Entry < String , String > ) darEntriesIterator . next ( ) ; // get the key String sipMethod = darEntry . getKey ( ) ; String sipApplicationRouterInfosStringified = darEntry . getValue ( ) ; // parse the corresponding value List < ? extends SipApplicationRouterInfo > sipApplicationRouterInfoList = parseSipApplicationRouterInfos ( sipApplicationRouterInfosStringified ) ; sipApplicationRoutingInfo . put ( sipMethod , sipApplicationRouterInfoList ) ; } return sipApplicationRoutingInfo ; }
Parse the global default application router file from the loaded properties file from the init method