Renamed packages to match new Maven group id of "org.rometools".

This commit is contained in:
Dave Johnson 2014-04-27 16:40:14 -04:00
parent 1072990373
commit 9b0a8a076f
72 changed files with 230 additions and 206 deletions

View file

@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rometools.propono.atom.client;
package com.rometools.propono.atom.client;
import org.rometools.propono.utils.ProponoException;
import com.rometools.propono.utils.ProponoException;
import com.sun.syndication.io.impl.Atom10Parser;

View file

@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rometools.propono.atom.client;
package com.rometools.propono.atom.client;
import org.apache.commons.httpclient.HttpClient;
import org.apache.commons.httpclient.HttpMethodBase;
import org.rometools.propono.utils.ProponoException;
import com.rometools.propono.utils.ProponoException;
public interface AuthStrategy {

View file

@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rometools.propono.atom.client;
package com.rometools.propono.atom.client;
import org.apache.commons.httpclient.HttpClient;
import org.apache.commons.httpclient.HttpMethodBase;
import org.rometools.propono.utils.ProponoException;
import com.rometools.propono.utils.ProponoException;
import com.sun.syndication.io.impl.Base64;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rometools.propono.atom.client;
package com.rometools.propono.atom.client;
import java.io.InputStreamReader;
import java.util.List;
@ -26,8 +26,8 @@ import org.apache.commons.httpclient.methods.GetMethod;
import org.jdom2.Document;
import org.jdom2.Element;
import org.jdom2.input.SAXBuilder;
import org.rometools.propono.atom.common.AtomService;
import org.rometools.propono.utils.ProponoException;
import com.rometools.propono.atom.common.AtomService;
import com.rometools.propono.utils.ProponoException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

View file

@ -15,7 +15,7 @@
* copyright in this work, please see the NOTICE file in the top level
* directory of this distribution.
*/
package org.rometools.propono.atom.client;
package com.rometools.propono.atom.client;
import java.io.IOException;
import java.io.InputStreamReader;
@ -25,8 +25,8 @@ import org.jdom2.Document;
import org.jdom2.Element;
import org.jdom2.JDOMException;
import org.jdom2.input.SAXBuilder;
import org.rometools.propono.atom.common.Categories;
import org.rometools.propono.utils.ProponoException;
import com.rometools.propono.atom.common.Categories;
import com.rometools.propono.utils.ProponoException;
/**
* Models an Atom protocol Categories element, which may contain ROME Atom {@link com.sun.syndication.feed.atom.Category} elements.

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rometools.propono.atom.client;
package com.rometools.propono.atom.client;
import java.io.InputStream;
import java.io.InputStreamReader;
@ -26,11 +26,11 @@ import org.apache.commons.httpclient.HttpMethodBase;
import org.apache.commons.httpclient.MultiThreadedHttpConnectionManager;
import org.apache.commons.httpclient.methods.GetMethod;
import org.jdom2.Element;
import org.rometools.propono.atom.common.AtomService;
import org.rometools.propono.atom.common.Categories;
import org.rometools.propono.atom.common.Collection;
import org.rometools.propono.atom.common.Workspace;
import org.rometools.propono.utils.ProponoException;
import com.rometools.propono.atom.common.AtomService;
import com.rometools.propono.atom.common.Categories;
import com.rometools.propono.atom.common.Collection;
import com.rometools.propono.atom.common.Workspace;
import com.rometools.propono.utils.ProponoException;
import com.sun.syndication.feed.atom.Entry;
import com.sun.syndication.io.impl.Atom10Parser;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rometools.propono.atom.client;
package com.rometools.propono.atom.client;
import java.io.IOException;
import java.io.InputStream;
@ -33,8 +33,8 @@ import org.apache.commons.httpclient.methods.EntityEnclosingMethod;
import org.apache.commons.httpclient.methods.PostMethod;
import org.apache.commons.httpclient.methods.PutMethod;
import org.apache.commons.httpclient.methods.StringRequestEntity;
import org.rometools.propono.utils.ProponoException;
import org.rometools.propono.utils.Utilities;
import com.rometools.propono.utils.ProponoException;
import com.rometools.propono.utils.Utilities;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rometools.propono.atom.client;
package com.rometools.propono.atom.client;
import java.io.ByteArrayInputStream;
import java.io.IOException;
@ -34,8 +34,8 @@ import org.apache.commons.httpclient.methods.PostMethod;
import org.apache.commons.httpclient.methods.PutMethod;
import org.apache.commons.httpclient.methods.StringRequestEntity;
import org.jdom2.JDOMException;
import org.rometools.propono.utils.ProponoException;
import org.rometools.propono.utils.Utilities;
import com.rometools.propono.utils.ProponoException;
import com.rometools.propono.utils.Utilities;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

View file

@ -13,14 +13,14 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rometools.propono.atom.client;
package com.rometools.propono.atom.client;
import java.util.List;
import org.jdom2.Element;
import org.rometools.propono.atom.common.AtomService;
import org.rometools.propono.atom.common.Workspace;
import org.rometools.propono.utils.ProponoException;
import com.rometools.propono.atom.common.AtomService;
import com.rometools.propono.atom.common.Workspace;
import com.rometools.propono.utils.ProponoException;
/**
* Represents Atom protocol workspace on client-side. It extends the common

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rometools.propono.atom.client;
package com.rometools.propono.atom.client;
import java.util.Iterator;
import java.util.List;
@ -22,7 +22,7 @@ import java.util.NoSuchElementException;
import org.apache.commons.httpclient.methods.GetMethod;
import org.jdom2.Document;
import org.jdom2.input.SAXBuilder;
import org.rometools.propono.utils.ProponoException;
import com.rometools.propono.utils.ProponoException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

View file

@ -13,13 +13,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rometools.propono.atom.client;
package com.rometools.propono.atom.client;
import org.apache.commons.httpclient.HttpClient;
import org.apache.commons.httpclient.HttpMethodBase;
import org.apache.commons.httpclient.NameValuePair;
import org.apache.commons.httpclient.methods.PostMethod;
import org.rometools.propono.utils.ProponoException;
import com.rometools.propono.utils.ProponoException;
public class GDataAuthStrategy implements AuthStrategy {
private final String email;

View file

@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rometools.propono.atom.client;
package com.rometools.propono.atom.client;
import org.apache.commons.httpclient.HttpClient;
import org.apache.commons.httpclient.HttpMethodBase;
import org.rometools.propono.utils.ProponoException;
import com.rometools.propono.utils.ProponoException;
/**
* No authentication

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rometools.propono.atom.client;
package com.rometools.propono.atom.client;
import java.util.ArrayList;
import java.util.Date;
@ -34,7 +34,7 @@ import org.apache.commons.httpclient.NameValuePair;
import org.apache.commons.httpclient.methods.GetMethod;
import org.apache.commons.httpclient.methods.PostMethod;
import org.apache.commons.httpclient.util.ParameterParser;
import org.rometools.propono.utils.ProponoException;
import com.rometools.propono.utils.ProponoException;
/**
* Strategy for using OAuth.

View file

@ -15,7 +15,7 @@
* copyright in this work, please see the NOTICE file in the top level
* directory of this distribution.
*/
package org.rometools.propono.atom.common;
package com.rometools.propono.atom.common;
import java.util.ArrayList;
import java.util.List;
@ -23,7 +23,7 @@ import java.util.List;
import org.jdom2.Document;
import org.jdom2.Element;
import org.jdom2.Namespace;
import org.rometools.propono.utils.ProponoException;
import com.rometools.propono.utils.ProponoException;
/**
* Models an Atom Publishing Protocol Service Document. Is able to read a Service document from a

View file

@ -15,7 +15,7 @@
* copyright in this work, please see the NOTICE file in the top level
* directory of this distribution.
*/
package org.rometools.propono.atom.common;
package com.rometools.propono.atom.common;
import java.util.ArrayList;
import java.util.List;

View file

@ -15,13 +15,13 @@
* copyright in this work, please see the NOTICE file in the top level
* directory of this distribution.
*/
package org.rometools.propono.atom.common;
package com.rometools.propono.atom.common;
import java.util.ArrayList;
import java.util.List;
import org.jdom2.Element;
import org.rometools.propono.utils.ProponoException;
import com.rometools.propono.utils.ProponoException;
import com.sun.syndication.io.impl.Atom10Parser;

View file

@ -15,13 +15,13 @@
* copyright in this work, please see the NOTICE file in the top level
* directory of this distribution.
*/
package org.rometools.propono.atom.common;
package com.rometools.propono.atom.common;
import java.util.ArrayList;
import java.util.List;
import org.jdom2.Element;
import org.rometools.propono.utils.ProponoException;
import com.rometools.propono.utils.ProponoException;
/**
* Models an Atom workspace.

View file

@ -17,7 +17,7 @@
* copyright in this work, please see the NOTICE file in the top level
* directory of this distribution.
*/
package org.rometools.propono.atom.common.rome;
package com.rometools.propono.atom.common.rome;
import java.util.Date;

View file

@ -17,7 +17,7 @@
* copyright in this work, please see the NOTICE file in the top level
* directory of this distribution.
*/
package org.rometools.propono.atom.common.rome;
package com.rometools.propono.atom.common.rome;
import java.text.SimpleDateFormat;
import java.util.Collections;

View file

@ -18,7 +18,7 @@
* copyright in this work, please see the NOTICE file in the top level
* directory of this distribution.
*/
package org.rometools.propono.atom.common.rome;
package com.rometools.propono.atom.common.rome;
import java.util.Date;

View file

@ -17,7 +17,7 @@
* copyright in this work, please see the NOTICE file in the top level
* directory of this distribution.
*/
package org.rometools.propono.atom.common.rome;
package com.rometools.propono.atom.common.rome;
import java.util.Locale;

View file

@ -17,7 +17,7 @@
* copyright in this work, please see the NOTICE file in the top level
* directory of this distribution.
*/
package org.rometools.propono.atom.server;
package com.rometools.propono.atom.server;
import javax.servlet.http.HttpServletResponse;

View file

@ -17,10 +17,10 @@
* copyright in this work, please see the NOTICE file in the top level
* directory of this distribution.
*/
package org.rometools.propono.atom.server;
package com.rometools.propono.atom.server;
import org.rometools.propono.atom.common.AtomService;
import org.rometools.propono.atom.common.Categories;
import com.rometools.propono.atom.common.AtomService;
import com.rometools.propono.atom.common.Categories;
import com.sun.syndication.feed.atom.Entry;
import com.sun.syndication.feed.atom.Feed;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rometools.propono.atom.server;
package com.rometools.propono.atom.server;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
@ -36,8 +36,8 @@ public abstract class AtomHandlerFactory {
private static final Logger LOG = LoggerFactory.getLogger(AtomHandlerFactory.class);
private static final String DEFAULT_PROPERTY_NAME = "org.rometools.propono.atom.server.AtomHandlerFactory";
private static final String FALLBACK_IMPL_NAME = "org.rometools.propono.atom.server.impl.FileBasedAtomHandlerFactory";
private static final String DEFAULT_PROPERTY_NAME = "com.rometools.propono.atom.server.AtomHandlerFactory";
private static final String FALLBACK_IMPL_NAME = "com.rometools.propono.atom.server.impl.FileBasedAtomHandlerFactory";
/*
* <p>Protected constructor to prevent instantiation. Use {@link #newInstance()}.</p>

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.rometools.propono.atom.server;
package com.rometools.propono.atom.server;
import java.io.File;
import java.io.FileInputStream;

View file

@ -17,7 +17,7 @@
* copyright in this work, please see the NOTICE file in the top level
* directory of this distribution.
*/
package org.rometools.propono.atom.server;
package com.rometools.propono.atom.server;
import javax.servlet.http.HttpServletResponse;

View file

@ -17,7 +17,7 @@
* copyright in this work, please see the NOTICE file in the top level
* directory of this distribution.
*/
package org.rometools.propono.atom.server;
package com.rometools.propono.atom.server;
import javax.servlet.http.HttpServletResponse;

View file

@ -17,7 +17,7 @@
* copyright in this work, please see the NOTICE file in the top level
* directory of this distribution.
*/
package org.rometools.propono.atom.server;
package com.rometools.propono.atom.server;
import java.io.IOException;
import java.io.InputStream;

View file

@ -17,7 +17,7 @@
* copyright in this work, please see the NOTICE file in the top level
* directory of this distribution.
*/
package org.rometools.propono.atom.server;
package com.rometools.propono.atom.server;
import java.io.IOException;
import java.io.InputStream;

View file

@ -17,7 +17,7 @@
* copyright in this work, please see the NOTICE file in the top level
* directory of this distribution.
*/
package org.rometools.propono.atom.server;
package com.rometools.propono.atom.server;
import java.io.BufferedReader;
import java.io.IOException;
@ -35,9 +35,9 @@ import javax.servlet.http.HttpServletResponse;
import org.jdom2.Document;
import org.jdom2.output.Format;
import org.jdom2.output.XMLOutputter;
import org.rometools.propono.atom.common.AtomService;
import org.rometools.propono.atom.common.Categories;
import org.rometools.propono.utils.Utilities;
import com.rometools.propono.atom.common.AtomService;
import com.rometools.propono.atom.common.Categories;
import com.rometools.propono.utils.Utilities;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

View file

@ -1,4 +1,4 @@
package org.rometools.propono.atom.server;
package com.rometools.propono.atom.server;
class ConfigurationError extends Error {

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rometools.propono.atom.server;
package com.rometools.propono.atom.server;
/**
* Thrown when a problem with configuration with the

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rometools.propono.atom.server;
package com.rometools.propono.atom.server;
import java.io.BufferedReader;
import java.io.IOException;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rometools.propono.atom.server;
package com.rometools.propono.atom.server;
import java.io.File;
import java.io.FileInputStream;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rometools.propono.atom.server.impl;
package com.rometools.propono.atom.server.impl;
import java.io.File;
import java.util.StringTokenizer;
@ -22,13 +22,13 @@ import javax.servlet.http.HttpServletRequest;
import org.apache.commons.codec.binary.Base64;
import org.apache.commons.lang3.StringUtils;
import org.rometools.propono.atom.common.AtomService;
import org.rometools.propono.atom.common.Categories;
import org.rometools.propono.atom.server.AtomException;
import org.rometools.propono.atom.server.AtomHandler;
import org.rometools.propono.atom.server.AtomMediaResource;
import org.rometools.propono.atom.server.AtomRequest;
import org.rometools.propono.atom.server.AtomServlet;
import com.rometools.propono.atom.common.AtomService;
import com.rometools.propono.atom.common.Categories;
import com.rometools.propono.atom.server.AtomException;
import com.rometools.propono.atom.server.AtomHandler;
import com.rometools.propono.atom.server.AtomMediaResource;
import com.rometools.propono.atom.server.AtomRequest;
import com.rometools.propono.atom.server.AtomServlet;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

View file

@ -13,13 +13,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rometools.propono.atom.server.impl;
package com.rometools.propono.atom.server.impl;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.rometools.propono.atom.server.AtomHandler;
import org.rometools.propono.atom.server.AtomHandlerFactory;
import com.rometools.propono.atom.server.AtomHandler;
import com.rometools.propono.atom.server.AtomHandlerFactory;
/**
* Extends {@link com.sun.syndication.propono.atom.server.AtomHandlerFactory} to create and return

View file

@ -13,15 +13,15 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rometools.propono.atom.server.impl;
package com.rometools.propono.atom.server.impl;
import java.io.InputStream;
import java.util.Map;
import java.util.Properties;
import java.util.TreeMap;
import org.rometools.propono.atom.common.AtomService;
import org.rometools.propono.utils.Utilities;
import com.rometools.propono.atom.common.AtomService;
import com.rometools.propono.utils.Utilities;
/**
* File based Atom service. Supports one workspace per user. Collections in workspace are defined in

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rometools.propono.atom.server.impl;
package com.rometools.propono.atom.server.impl;
import java.io.BufferedReader;
import java.io.File;
@ -37,14 +37,14 @@ import javax.activation.MimetypesFileTypeMap;
import org.jdom2.Document;
import org.jdom2.output.XMLOutputter;
import org.rometools.propono.atom.common.Categories;
import org.rometools.propono.atom.common.Collection;
import org.rometools.propono.atom.common.rome.AppModule;
import org.rometools.propono.atom.common.rome.AppModuleImpl;
import org.rometools.propono.atom.server.AtomException;
import org.rometools.propono.atom.server.AtomMediaResource;
import org.rometools.propono.atom.server.AtomNotFoundException;
import org.rometools.propono.utils.Utilities;
import com.rometools.propono.atom.common.Categories;
import com.rometools.propono.atom.common.Collection;
import com.rometools.propono.atom.common.rome.AppModule;
import com.rometools.propono.atom.common.rome.AppModuleImpl;
import com.rometools.propono.atom.server.AtomException;
import com.rometools.propono.atom.server.AtomMediaResource;
import com.rometools.propono.atom.server.AtomNotFoundException;
import com.rometools.propono.utils.Utilities;
import com.sun.syndication.feed.WireFeed;
import com.sun.syndication.feed.atom.Category;

View file

@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rometools.propono.atom.server.impl;
package com.rometools.propono.atom.server.impl;
import org.rometools.propono.atom.common.Workspace;
import com.rometools.propono.atom.common.Workspace;
/**
* File based Atom service Workspace.

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rometools.propono.atom.server.impl;
package com.rometools.propono.atom.server.impl;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rometools.propono.blogclient;
package com.rometools.propono.blogclient;
import java.util.ArrayList;
import java.util.Date;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rometools.propono.blogclient;
package com.rometools.propono.blogclient;
import java.util.Iterator;
import java.util.List;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rometools.propono.blogclient;
package com.rometools.propono.blogclient;
/**
* Represents a Blog Client exception, the library throws these instead of implementation specific

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rometools.propono.blogclient;
package com.rometools.propono.blogclient;
import java.util.List;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rometools.propono.blogclient;
package com.rometools.propono.blogclient;
import java.lang.reflect.Constructor;
@ -27,9 +27,9 @@ public class BlogConnectionFactory {
// 2) privide contructor that accepts three strings args: url, username and password.
// TODO: make implementations configurable
private static String ATOMPROTOCOL_IMPL_CLASS = "org.rometools.propono.blogclient.atomprotocol.AtomConnection";
private static String ATOMPROTOCOL_IMPL_CLASS = "com.rometools.propono.blogclient.atomprotocol.AtomConnection";
private static String METAWEBLOG_IMPL_CLASS = "org.rometools.propono.blogclient.metaweblog.MetaWeblogConnection";
private static String METAWEBLOG_IMPL_CLASS = "com.rometools.propono.blogclient.metaweblog.MetaWeblogConnection";
/**
* Create a connection to a blog server.

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rometools.propono.blogclient;
package com.rometools.propono.blogclient;
import java.util.Date;
import java.util.List;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rometools.propono.blogclient;
package com.rometools.propono.blogclient;
import java.io.InputStream;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rometools.propono.blogclient.atomprotocol;
package com.rometools.propono.blogclient.atomprotocol;
import java.util.ArrayList;
import java.util.Iterator;
@ -21,16 +21,16 @@ import java.util.List;
import java.util.Map;
import java.util.TreeMap;
import org.rometools.propono.atom.client.ClientAtomService;
import org.rometools.propono.atom.client.ClientCollection;
import org.rometools.propono.atom.client.ClientEntry;
import org.rometools.propono.atom.client.ClientMediaEntry;
import org.rometools.propono.atom.client.ClientWorkspace;
import org.rometools.propono.blogclient.Blog;
import org.rometools.propono.blogclient.BlogClientException;
import org.rometools.propono.blogclient.BlogEntry;
import org.rometools.propono.blogclient.BlogResource;
import org.rometools.propono.utils.ProponoException;
import com.rometools.propono.atom.client.ClientAtomService;
import com.rometools.propono.atom.client.ClientCollection;
import com.rometools.propono.atom.client.ClientEntry;
import com.rometools.propono.atom.client.ClientMediaEntry;
import com.rometools.propono.atom.client.ClientWorkspace;
import com.rometools.propono.blogclient.Blog;
import com.rometools.propono.blogclient.BlogClientException;
import com.rometools.propono.blogclient.BlogEntry;
import com.rometools.propono.blogclient.BlogResource;
import com.rometools.propono.utils.ProponoException;
/**
* Atom protocol implementation of the BlogClient Blog interface.
@ -55,8 +55,8 @@ public class AtomBlog implements Blog {
setService(service);
setWorkspace(workspace);
name = workspace.getTitle();
final List<org.rometools.propono.atom.common.Collection> collect = workspace.getCollections();
final Iterator<org.rometools.propono.atom.common.Collection> members = collect.iterator();
final List<com.rometools.propono.atom.common.Collection> collect = workspace.getCollections();
final Iterator<com.rometools.propono.atom.common.Collection> members = collect.iterator();
while (members.hasNext()) {
final ClientCollection col = (ClientCollection) members.next();

View file

@ -13,20 +13,20 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rometools.propono.blogclient.atomprotocol;
package com.rometools.propono.blogclient.atomprotocol;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.rometools.propono.atom.client.ClientAtomService;
import org.rometools.propono.atom.client.ClientCollection;
import org.rometools.propono.atom.client.ClientEntry;
import org.rometools.propono.atom.common.Categories;
import org.rometools.propono.blogclient.Blog;
import org.rometools.propono.blogclient.BlogClientException;
import org.rometools.propono.blogclient.BlogEntry;
import org.rometools.propono.blogclient.BlogResource;
import com.rometools.propono.atom.client.ClientAtomService;
import com.rometools.propono.atom.client.ClientCollection;
import com.rometools.propono.atom.client.ClientEntry;
import com.rometools.propono.atom.common.Categories;
import com.rometools.propono.blogclient.Blog;
import com.rometools.propono.blogclient.BlogClientException;
import com.rometools.propono.blogclient.BlogEntry;
import com.rometools.propono.blogclient.BlogResource;
import com.sun.syndication.feed.atom.Category;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rometools.propono.blogclient.atomprotocol;
package com.rometools.propono.blogclient.atomprotocol;
import java.util.ArrayList;
import java.util.HashMap;
@ -21,14 +21,14 @@ import java.util.Iterator;
import java.util.List;
import java.util.Map;
import org.rometools.propono.atom.client.AtomClientFactory;
import org.rometools.propono.atom.client.BasicAuthStrategy;
import org.rometools.propono.atom.client.ClientAtomService;
import org.rometools.propono.atom.client.ClientWorkspace;
import org.rometools.propono.atom.common.Workspace;
import org.rometools.propono.blogclient.Blog;
import org.rometools.propono.blogclient.BlogClientException;
import org.rometools.propono.blogclient.BlogConnection;
import com.rometools.propono.atom.client.AtomClientFactory;
import com.rometools.propono.atom.client.BasicAuthStrategy;
import com.rometools.propono.atom.client.ClientAtomService;
import com.rometools.propono.atom.client.ClientWorkspace;
import com.rometools.propono.atom.common.Workspace;
import com.rometools.propono.blogclient.Blog;
import com.rometools.propono.blogclient.BlogClientException;
import com.rometools.propono.blogclient.BlogConnection;
/**
* Atom protocol of BlogConnection. Connects to Atom server, creates AtomBlog object for each Atom

View file

@ -13,19 +13,19 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rometools.propono.blogclient.atomprotocol;
package com.rometools.propono.blogclient.atomprotocol;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.rometools.propono.atom.client.ClientEntry;
import org.rometools.propono.atom.common.rome.AppModule;
import org.rometools.propono.atom.common.rome.AppModuleImpl;
import org.rometools.propono.blogclient.BaseBlogEntry;
import org.rometools.propono.blogclient.BlogClientException;
import org.rometools.propono.blogclient.BlogEntry;
import org.rometools.propono.utils.ProponoException;
import com.rometools.propono.atom.client.ClientEntry;
import com.rometools.propono.atom.common.rome.AppModule;
import com.rometools.propono.atom.common.rome.AppModuleImpl;
import com.rometools.propono.blogclient.BaseBlogEntry;
import com.rometools.propono.blogclient.BlogClientException;
import com.rometools.propono.blogclient.BlogEntry;
import com.rometools.propono.utils.ProponoException;
import com.sun.syndication.feed.atom.Entry;
import com.sun.syndication.feed.atom.Link;

View file

@ -13,14 +13,14 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rometools.propono.blogclient.atomprotocol;
package com.rometools.propono.blogclient.atomprotocol;
import java.util.Iterator;
import org.rometools.propono.atom.client.ClientEntry;
import org.rometools.propono.atom.client.ClientMediaEntry;
import org.rometools.propono.blogclient.BlogClientException;
import org.rometools.propono.blogclient.BlogEntry;
import com.rometools.propono.atom.client.ClientEntry;
import com.rometools.propono.atom.client.ClientMediaEntry;
import com.rometools.propono.blogclient.BlogClientException;
import com.rometools.propono.blogclient.BlogEntry;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

View file

@ -13,18 +13,18 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rometools.propono.blogclient.atomprotocol;
package com.rometools.propono.blogclient.atomprotocol;
import java.io.InputStream;
import java.util.List;
import org.rometools.propono.atom.client.ClientAtomService;
import org.rometools.propono.atom.client.ClientCollection;
import org.rometools.propono.atom.client.ClientEntry;
import org.rometools.propono.atom.client.ClientMediaEntry;
import org.rometools.propono.blogclient.BlogClientException;
import org.rometools.propono.blogclient.BlogEntry;
import org.rometools.propono.blogclient.BlogResource;
import com.rometools.propono.atom.client.ClientAtomService;
import com.rometools.propono.atom.client.ClientCollection;
import com.rometools.propono.atom.client.ClientEntry;
import com.rometools.propono.atom.client.ClientMediaEntry;
import com.rometools.propono.blogclient.BlogClientException;
import com.rometools.propono.blogclient.BlogEntry;
import com.rometools.propono.blogclient.BlogResource;
import com.sun.syndication.feed.atom.Link;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rometools.propono.blogclient.metaweblog;
package com.rometools.propono.blogclient.metaweblog;
import java.net.URL;
import java.util.ArrayList;
@ -28,11 +28,11 @@ import java.util.TreeMap;
import org.apache.xmlrpc.client.XmlRpcClient;
import org.apache.xmlrpc.client.XmlRpcClientConfigImpl;
import org.rometools.propono.blogclient.Blog;
import org.rometools.propono.blogclient.BlogClientException;
import org.rometools.propono.blogclient.BlogEntry;
import org.rometools.propono.blogclient.BlogEntry.Category;
import org.rometools.propono.blogclient.BlogResource;
import com.rometools.propono.blogclient.Blog;
import com.rometools.propono.blogclient.BlogClientException;
import com.rometools.propono.blogclient.BlogEntry;
import com.rometools.propono.blogclient.BlogEntry.Category;
import com.rometools.propono.blogclient.BlogResource;
/**
* Blog implementation that uses a mix of Blogger and MetaWeblog API methods.

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rometools.propono.blogclient.metaweblog;
package com.rometools.propono.blogclient.metaweblog;
import java.io.IOException;
import java.net.URL;
@ -25,9 +25,9 @@ import java.util.Map;
import org.apache.xmlrpc.XmlRpcException;
import org.apache.xmlrpc.client.XmlRpcClient;
import org.apache.xmlrpc.client.XmlRpcClientConfigImpl;
import org.rometools.propono.blogclient.Blog;
import org.rometools.propono.blogclient.BlogClientException;
import org.rometools.propono.blogclient.BlogConnection;
import com.rometools.propono.blogclient.Blog;
import com.rometools.propono.blogclient.BlogClientException;
import com.rometools.propono.blogclient.BlogConnection;
/**
* BlogClient implementation that uses a mix of Blogger and MetaWeblog API methods.

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rometools.propono.blogclient.metaweblog;
package com.rometools.propono.blogclient.metaweblog;
import java.util.ArrayList;
import java.util.Date;
@ -21,9 +21,9 @@ import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.rometools.propono.blogclient.BaseBlogEntry;
import org.rometools.propono.blogclient.BlogClientException;
import org.rometools.propono.blogclient.BlogEntry;
import com.rometools.propono.blogclient.BaseBlogEntry;
import com.rometools.propono.blogclient.BlogClientException;
import com.rometools.propono.blogclient.BlogEntry;
/**
* MetaWeblog API implementation of an entry.

View file

@ -13,15 +13,15 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rometools.propono.blogclient.metaweblog;
package com.rometools.propono.blogclient.metaweblog;
import java.io.InputStream;
import java.util.HashMap;
import org.apache.commons.httpclient.HttpClient;
import org.apache.commons.httpclient.methods.GetMethod;
import org.rometools.propono.blogclient.BlogClientException;
import org.rometools.propono.blogclient.BlogResource;
import com.rometools.propono.blogclient.BlogClientException;
import com.rometools.propono.blogclient.BlogResource;
/**
* MetaWeblog API implementation of an resource entry.

View file

@ -1,4 +1,4 @@
package org.rometools.propono.blogclient.metaweblog;
package com.rometools.propono.blogclient.metaweblog;
import java.util.Iterator;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rometools.propono.utils;
package com.rometools.propono.utils;
import java.io.PrintStream;
import java.io.PrintWriter;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rometools.propono.utils;
package com.rometools.propono.utils;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;

View file

@ -1,7 +1,7 @@
# Configures Propono APP extension module
atom_1.0.item.ModuleParser.classes=\
org.rometools.propono.atom.common.rome.AppModuleParser
com.rometools.propono.atom.common.rome.AppModuleParser
atom_1.0.item.ModuleGenerator.classes=\
org.rometools.propono.atom.common.rome.AppModuleGenerator
com.rometools.propono.atom.common.rome.AppModuleGenerator

View file

@ -13,8 +13,15 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rometools.propono.atom.client;
package com.rometools.propono.atom.client;
import com.rometools.propono.atom.client.ClientCollection;
import com.rometools.propono.atom.client.ClientWorkspace;
import com.rometools.propono.atom.client.BasicAuthStrategy;
import com.rometools.propono.atom.client.ClientEntry;
import com.rometools.propono.atom.client.AtomClientFactory;
import com.rometools.propono.atom.client.ClientAtomService;
import com.rometools.propono.atom.client.ClientMediaEntry;
import java.io.FileInputStream;
import java.util.ArrayList;
import java.util.List;
@ -24,9 +31,9 @@ import junit.framework.TestCase;
import junit.framework.TestSuite;
import org.junit.Ignore;
import org.rometools.propono.atom.common.Categories;
import org.rometools.propono.atom.common.Collection;
import org.rometools.propono.utils.ProponoException;
import com.rometools.propono.atom.common.Categories;
import com.rometools.propono.atom.common.Collection;
import com.rometools.propono.utils.ProponoException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

View file

@ -13,8 +13,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rometools.propono.atom.client;
package com.rometools.propono.atom.client;
import com.rometools.propono.atom.client.ClientCollection;
import com.rometools.propono.atom.client.GDataAuthStrategy;
import com.rometools.propono.atom.client.ClientEntry;
import com.rometools.propono.atom.client.AtomClientFactory;
import com.rometools.propono.atom.client.ClientAtomService;
import java.util.Iterator;
import junit.framework.Test;

View file

@ -13,8 +13,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rometools.propono.atom.common;
package com.rometools.propono.atom.common;
import com.rometools.propono.atom.common.Collection;
import com.rometools.propono.atom.common.Workspace;
import com.rometools.propono.atom.common.Categories;
import com.rometools.propono.atom.common.AtomService;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;

View file

@ -13,8 +13,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rometools.propono.atom.common;
package com.rometools.propono.atom.common;
import com.rometools.propono.atom.common.Collection;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

View file

@ -14,7 +14,7 @@
* limitations under the License.
*
*/
package org.rometools.propono.atom.server;
package com.rometools.propono.atom.server;
import static junit.framework.TestCase.assertEquals;
import static junit.framework.TestCase.assertNotNull;
@ -31,17 +31,17 @@ import org.mortbay.http.HttpContext;
import org.mortbay.http.HttpServer;
import org.mortbay.http.SocketListener;
import org.mortbay.jetty.servlet.ServletHandler;
import org.rometools.propono.atom.client.AtomClientFactory;
import org.rometools.propono.atom.client.BasicAuthStrategy;
import org.rometools.propono.atom.client.ClientAtomService;
import org.rometools.propono.atom.client.ClientCollection;
import org.rometools.propono.atom.client.ClientEntry;
import org.rometools.propono.atom.client.ClientMediaEntry;
import org.rometools.propono.atom.client.ClientWorkspace;
import org.rometools.propono.atom.common.Categories;
import org.rometools.propono.atom.common.Collection;
import org.rometools.propono.atom.common.Workspace;
import org.rometools.propono.utils.ProponoException;
import com.rometools.propono.atom.client.AtomClientFactory;
import com.rometools.propono.atom.client.BasicAuthStrategy;
import com.rometools.propono.atom.client.ClientAtomService;
import com.rometools.propono.atom.client.ClientCollection;
import com.rometools.propono.atom.client.ClientEntry;
import com.rometools.propono.atom.client.ClientMediaEntry;
import com.rometools.propono.atom.client.ClientWorkspace;
import com.rometools.propono.atom.common.Categories;
import com.rometools.propono.atom.common.Collection;
import com.rometools.propono.atom.common.Workspace;
import com.rometools.propono.utils.ProponoException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@ -122,9 +122,9 @@ public class AtomClientServerTest {
}
private ServletHandler createServletHandler() {
System.setProperty("org.rometools.propono.atom.server.AtomHandlerFactory", "org.rometools.propono.atom.server.TestAtomHandlerFactory");
System.setProperty("com.rometools.propono.atom.server.AtomHandlerFactory", "com.rometools.propono.atom.server.TestAtomHandlerFactory");
final ServletHandler servlets = new ServletHandler();
servlets.addServlet("app", "/app/*", "org.rometools.propono.atom.server.AtomServlet");
servlets.addServlet("app", "/app/*", "com.rometools.propono.atom.server.AtomServlet");
return servlets;
}

View file

@ -14,8 +14,10 @@
* limitations under the License.
*
*/
package org.rometools.propono.atom.server;
package com.rometools.propono.atom.server;
import com.rometools.propono.atom.server.AtomHandlerFactory;
import com.rometools.propono.atom.server.AtomHandler;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

View file

@ -14,11 +14,11 @@
* limitations under the License.
*
*/
package org.rometools.propono.atom.server;
package com.rometools.propono.atom.server;
import javax.servlet.http.HttpServletRequest;
import org.rometools.propono.atom.server.impl.FileBasedAtomHandler;
import com.rometools.propono.atom.server.impl.FileBasedAtomHandler;
public class TestAtomHandlerImpl extends FileBasedAtomHandler {

View file

@ -13,8 +13,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rometools.propono.blogclient;
package com.rometools.propono.blogclient;
import com.rometools.propono.blogclient.BlogEntry;
import com.rometools.propono.blogclient.BlogResource;
import com.rometools.propono.blogclient.BlogConnection;
import com.rometools.propono.blogclient.Blog;
import com.rometools.propono.blogclient.BlogConnectionFactory;
import java.io.File;
import java.util.Iterator;
@ -23,8 +28,8 @@ import junit.framework.TestCase;
import junit.framework.TestSuite;
import org.junit.Ignore;
import org.rometools.propono.blogclient.Blog.Collection;
import org.rometools.propono.utils.Utilities;
import com.rometools.propono.blogclient.Blog.Collection;
import com.rometools.propono.utils.Utilities;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

View file

@ -14,6 +14,6 @@
# copyright in this work, please see the NOTICE file in the top level
# directory of this distribution.
org.apache.commons.logging.simplelog.log.org.rometools.propono.atom=debug
org.apache.commons.logging.simplelog.log.org.rometools.propono.atom.server.impl.FileBasedAtomHandler=debug
org.apache.commons.logging.simplelog.log.org.rometools.propono.atom.client.AtomClientServerTest=debug
org.apache.commons.logging.simplelog.log.com.rometools.propono.atom=debug
org.apache.commons.logging.simplelog.log.com.rometools.propono.atom.server.impl.FileBasedAtomHandler=debug
org.apache.commons.logging.simplelog.log.com.rometools.propono.atom.client.AtomClientServerTest=debug