Package de.fu_berlin.inf.dpp.preferences

Examples of de.fu_berlin.inf.dpp.preferences.PreferenceUtils


     *             into an URI
     */
    protected ConnectionConfiguration getConnectionConfiguration()
        throws URISyntaxException {

        PreferenceUtils preferenceUtils = this.sarosContext
            .getComponent(PreferenceUtils.class);

        String serverString = preferenceUtils.getServer();

        URI uri;
        uri = (serverString.matches("://")) ? new URI(serverString) : new URI( //$NON-NLS-1$
            "jabber://" + serverString); //$NON-NLS-1$

        String server = uri.getHost();
        if (server == null) {
            throw new URISyntaxException(preferenceUtils.getServer(),
                "The XMPP/Jabber server address is invalid: " + serverString); //$NON-NLS-1$
        }

        ProxyInfo proxyInfo = getProxyInfo(uri.getHost());
        ConnectionConfiguration conConfig = null;
View Full Code Here

TOP

Related Classes of de.fu_berlin.inf.dpp.preferences.PreferenceUtils

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.