Package com.salas.bb.utils.discovery

Examples of com.salas.bb.utils.discovery.DiscoveryResult


        DirectDiscoverer dd = new DirectDiscoverer();
        String failureMessage = null;
        try
        {
            DiscoveryResult res = dd.discover(request.getUrl());
            if (res != null)
            {
                URL link = res.getLink();
                if (link != null)
                {
                    holder.setXmlURL(link);
                    holder.setInvalid(false);
                }
View Full Code Here


            {
                // No problems. Just trying to be nice.
            }
        }

        return detected ? new DiscoveryResult(DiscoveryResult.TYPE_FEED, listener.getURL()) : null;
    }
View Full Code Here

                    try
                    {
                        // Check if we have correct URL
                        URL url = new URL(StringUtils.fixURL(suggestedUrl));
                        DirectDiscoverer dd = new DirectDiscoverer();
                        DiscoveryResult result = dd.discover(url);
                        if (result != null)
                        {
                            ServerService.metaSuggestFeedUrl(originalURL.toString(), suggestedUrl);

                            // set newly discovered URL and mark the data as no longer invalid
View Full Code Here

TOP

Related Classes of com.salas.bb.utils.discovery.DiscoveryResult

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.