Package org.apache.directory.ldapstudio.browser.core.model

Examples of org.apache.directory.ldapstudio.browser.core.model.URL


                            for ( int r = 0; r < re.getReferrals().length; r++ )
                            {

                                // parse referral URL
                                String referral = re.getReferrals()[r];
                                URL referralUrl = new URL( referral );

                                // get referral connection
                                IConnection referralConnection = referralHandler.getReferralConnection( referralUrl );
                                if ( referralConnection == null )
                                {
View Full Code Here


    public URL getUrl()
    {
        if ( this.getDelegate() != null )
            return getDelegate().getUrl();
        else
            return new URL( getConnection(), getDn() );
    }
View Full Code Here

            name.addAll( rdnName );
            dn = new DN( name.toString() );
        }
        else
        {
            URL url = new URL( sr.getName() );
            dn = url.getDn();
            // dn = new DN(sr.getName());
        }
        return dn;
    }
View Full Code Here

    }


    public URL getUrl()
    {
        return new URL( this );
    }
View Full Code Here

    /**
     * {@inheritDoc}
     */
    public URL getUrl()
    {
        return new URL( this );
    }
View Full Code Here

        {
            IConnection[] connections = BrowserCorePlugin.getDefault().getConnectionManager().getConnections();
            for ( int i = 0; i < connections.length; i++ )
            {
                IConnection connection = connections[i];
                URL connectionUrl = connection.getUrl();
                if ( connectionUrl != null && referralUrl.toString().startsWith( connectionUrl.toString() ) )
                {
                    this.mainWidget.getViewer().reveal( connection );
                    this.mainWidget.getViewer().setSelection( new StructuredSelection( connection ), true );
                }
            }
View Full Code Here

TOP

Related Classes of org.apache.directory.ldapstudio.browser.core.model.URL

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.