Package org.zoolu.sip.provider

Examples of org.zoolu.sip.provider.SipParser.skipChar()


      values=new Vector();
      SipParser par=new SipParser(hd.getValue());
      int comma=par.indexOfCommaHeaderSeparator();
      while (comma>=0)
      {  values.addElement(par.getString(comma-par.getPos()).trim());
         par.skipChar(); //skip comma
         comma=par.indexOfCommaHeaderSeparator();
      }
      values.addElement(par.getRemainingString().trim());
      compact=true;     
   }
View Full Code Here


  
   /** Gets port of ViaHeader */
   public int getPort()
   {  SipParser par=new SipParser(getSentBy());
      par.goTo(':');
      if (par.hasMore()) return par.skipChar().getInt();
      return -1;
   }
  
   /** Makes a SipURL from ViaHeader */
   public SipURL getSipURL()
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.