Class XmppTools
- java.lang.Object
-
- org.igniterealtime.smack.smackrepl.XmppTools
-
public class XmppTools extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description XmppTools()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
createAccount(java.lang.String xmppDomain, java.lang.String username, java.lang.String password)
static boolean
createAccount(DomainBareJid xmppDomain, Localpart username, java.lang.String password)
static void
main(java.lang.String[] args)
static boolean
supportsIbr(java.lang.String xmppDomain)
static boolean
supportsIbr(XMPPConnection connection)
static boolean
supportsIbr(DomainBareJid xmppDomain)
-
-
-
Constructor Detail
-
XmppTools
public XmppTools()
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws SmackException, java.io.IOException, XMPPException, java.lang.InterruptedException, java.security.KeyManagementException, java.security.NoSuchAlgorithmException
- Throws:
SmackException
java.io.IOException
XMPPException
java.lang.InterruptedException
java.security.KeyManagementException
java.security.NoSuchAlgorithmException
-
supportsIbr
public static boolean supportsIbr(java.lang.String xmppDomain) throws SmackException, java.io.IOException, XMPPException, java.lang.InterruptedException, java.security.KeyManagementException, java.security.NoSuchAlgorithmException
- Throws:
SmackException
java.io.IOException
XMPPException
java.lang.InterruptedException
java.security.KeyManagementException
java.security.NoSuchAlgorithmException
-
supportsIbr
public static boolean supportsIbr(DomainBareJid xmppDomain) throws SmackException, java.io.IOException, XMPPException, java.lang.InterruptedException, java.security.KeyManagementException, java.security.NoSuchAlgorithmException
- Throws:
SmackException
java.io.IOException
XMPPException
java.lang.InterruptedException
java.security.KeyManagementException
java.security.NoSuchAlgorithmException
-
supportsIbr
public static boolean supportsIbr(XMPPConnection connection) throws SmackException.NoResponseException, XMPPException.XMPPErrorException, SmackException.NotConnectedException, java.lang.InterruptedException
- Throws:
SmackException.NoResponseException
XMPPException.XMPPErrorException
SmackException.NotConnectedException
java.lang.InterruptedException
-
createAccount
public static boolean createAccount(java.lang.String xmppDomain, java.lang.String username, java.lang.String password) throws java.security.KeyManagementException, java.security.NoSuchAlgorithmException, SmackException, java.io.IOException, XMPPException, java.lang.InterruptedException
- Throws:
java.security.KeyManagementException
java.security.NoSuchAlgorithmException
SmackException
java.io.IOException
XMPPException
java.lang.InterruptedException
-
createAccount
public static boolean createAccount(DomainBareJid xmppDomain, Localpart username, java.lang.String password) throws java.security.KeyManagementException, java.security.NoSuchAlgorithmException, SmackException, java.io.IOException, XMPPException, java.lang.InterruptedException
- Throws:
java.security.KeyManagementException
java.security.NoSuchAlgorithmException
SmackException
java.io.IOException
XMPPException
java.lang.InterruptedException
-
-