Search in sources :

Example 1 with AddressParser

use of gov.nist.javax.sip.parser.AddressParser in project XobotOS by xamarin.

the class AddressHeaderParser method parse.

protected void parse(AddressHeaderIms addressHeader) throws ParseException {
    dbg_enter("AddressHeaderParser.parse");
    try {
        AddressParser addressParser = new AddressParser(this.getLexer());
        AddressImpl addr = addressParser.address(true);
        addressHeader.setAddress(addr);
    } catch (ParseException ex) {
        throw ex;
    } finally {
        dbg_leave("AddressParametersParser.parse");
    }
}
Also used : AddressParser(gov.nist.javax.sip.parser.AddressParser) AddressImpl(gov.nist.javax.sip.address.AddressImpl) ParseException(java.text.ParseException)

Aggregations

AddressImpl (gov.nist.javax.sip.address.AddressImpl)1 AddressParser (gov.nist.javax.sip.parser.AddressParser)1 ParseException (java.text.ParseException)1