Package com.salas.bb.remixfeeds.api

Examples of com.salas.bb.remixfeeds.api.WeblogAPIException


            {
                { setDaemon(true); }

                public void run()
                {
                    WeblogAPIException ex = null;

                    WeblogPost post = new WeblogPost(title, text, sourceURL, sourceTitle, publish);
                    addProperties(post);

                    List<Integer> ind = getSelectedBlogIndices();
                    for (int i : ind)
                    {
                        TargetBlog targetBlog = getBlogAt(i);
                        IWeblogAPI api = targetBlog.getApiType();

                        post.categories = getCategoriesForBlog(i);

                        // Perform a call
                        try
                        {
                            api.newPost(targetBlog, post);
                        } catch (WeblogAPIException e1)
                        {
                            ex = e1;
                            LOG.log(Level.WARNING, e1.getMessage(), e1);
                        }

                        if (ex != null) break;
                    }

                    // Report the results
                    final WeblogAPIException err = ex;
                    SwingUtilities.invokeLater(new Runnable()
                    {
                        public void run()
                        {
                            enableControls(true);
View Full Code Here

TOP

Related Classes of com.salas.bb.remixfeeds.api.WeblogAPIException

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.