Package nu.fw.jeti.jabber

Examples of nu.fw.jeti.jabber.JID.toStringNoResource()


      }
      else
      {
        JIDStatus j = backend.getJIDStatus(jid);
        if(j!=null) nick = j.getNick();
        else nick = jid.toStringNoResource();
        new VCardDisplay(personal,business,homeTels,workTels,nick);
      }
    }
    else if (iq.getType().equals("error"))
    {
View Full Code Here


        JID jid = log.getFrom();
        String name = null;
        JIDStatus jidStatus = Backend.getJIDStatus(jid);
        if (jidStatus != null)
        {
          if(jidStatus.getType().equals("unknown") || jidStatus.getType().equals("jabber"))name = jid.toStringNoResource();
          else name = jid.getUser() + "." + jidStatus.getType();
        }
        else name = jid.toStringNoResource();

        BufferedWriter writer = null;
View Full Code Here

        if (jidStatus != null)
        {
          if(jidStatus.getType().equals("unknown") || jidStatus.getType().equals("jabber"))name = jid.toStringNoResource();
          else name = jid.getUser() + "." + jidStatus.getType();
        }
        else name = jid.toStringNoResource();

        BufferedWriter writer = null;
        String file = Start.path + "newlogs" + File.separator + name + ".txt";
        try
        {
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.