Package nu.fw.jeti.jabber.elements

Examples of nu.fw.jeti.jabber.elements.IQXOOB


  public Extension build() throws InstantiationException
  {
    try
    {
      return new IQXOOB(new URL(url),description);
    }
    catch (MalformedURLException e)
    {
      throw new InstantiationException(I18N.gettext("main.error.invalid_url_in_OOB_packet"));
    }
View Full Code Here


      catch(NumberFormatException e2)
      {
        refresh = 60;
      }
    }
    backend.send(new InfoQuery(jidStatus.getCompleteJID(),"set",new IQCam(new IQXOOB(url,txtDescription.getText()),refresh)));
    dispose();
  }
View Full Code Here

        extensions = msg.getExtensions();
        while (extensions.hasNext()) {
            Extension ext = (Extension) extensions.next();
            // for all included files
            if (ext instanceof IQXOOB) {
              IQXOOB oob = (IQXOOB) ext;
                JID jid = msg.getFrom();
                try {
                    handleMapOOB(oob, jid);
                } catch (IOException e) {}
            }
View Full Code Here

                                fileServerPort + fileServerPath + "/" + img.getSrc());
                URL url;
                try {
                    url = new URL(urlStr);
                    URLFileTransfer.uploadURL(imgFile, url, proxy, proxyPort);
                    msgBuilder.addExtension(new IQXOOB(url,img.getSrc()));
                } catch (MalformedURLException e) {
                    break;
                } catch (IOException e) {
                    break;
                }
View Full Code Here

TOP

Related Classes of nu.fw.jeti.jabber.elements.IQXOOB

Copyright © 2018 www.massapicom. 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.