{ par.goTo("prefix").skipN(6).goTo('=').skipChar();
String prefix=par.getWord(delim);
if (prefix.equals("*")) prefix=PrefixRoutingRule.DEFAULT_PREFIX;
par.goTo("nexthop").skipN(7).goTo('=').skipChar();
String nexthop=par.getWord(delim);
aux.addElement(new PrefixRoutingRule(prefix,new SocketAddress(nexthop)));
par.goTo('{');
}
phone_routing_rules=new RoutingRule[aux.size()];
for (int i=0; i<aux.size(); i++) phone_routing_rules[i]=(RoutingRule)aux.elementAt(i);
return;
}
if (attribute.equals("domain_routing_rules"))
{ char[] delim={' ',',','}'};
Vector aux=new Vector();
par.goTo('{');
while (par.hasMore())
{ par.goTo("domain").skipN(6).goTo('=').skipChar();
String prefix=par.getWord(delim);
par.goTo("nexthop").skipN(7).goTo('=').skipChar();
String nexthop=par.getWord(delim);
aux.addElement(new DomainRoutingRule(prefix,new SocketAddress(nexthop)));
par.goTo('{');
}
domain_routing_rules=new RoutingRule[aux.size()];
for (int i=0; i<aux.size(); i++) domain_routing_rules[i]=(RoutingRule)aux.elementAt(i);
return;