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

This commit is contained in:
Dave Johnson 2014-04-27 16:40:29 -04:00
parent 950dd2f5d4
commit 20351c2dec
24 changed files with 68 additions and 68 deletions

View file

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
* *
*/ */
package org.rometools.fetcher; package com.rometools.fetcher;
import java.io.IOException; import java.io.IOException;
import java.net.URL; import java.net.URL;

View file

@ -1,4 +1,4 @@
package org.rometools.fetcher; package com.rometools.fetcher;
import java.util.EventObject; import java.util.EventObject;

View file

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
* *
*/ */
package org.rometools.fetcher; package com.rometools.fetcher;
/** /**
* @author Nick Lothian * @author Nick Lothian

View file

@ -1,4 +1,4 @@
package org.rometools.fetcher; package com.rometools.fetcher;
import java.util.EventListener; import java.util.EventListener;

View file

@ -15,7 +15,7 @@
* *
*/ */
package org.rometools.fetcher.impl; package com.rometools.fetcher.impl;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
@ -25,10 +25,10 @@ import java.util.HashSet;
import java.util.Properties; import java.util.Properties;
import java.util.Set; import java.util.Set;
import org.rometools.fetcher.FeedFetcher; import com.rometools.fetcher.FeedFetcher;
import org.rometools.fetcher.FetcherEvent; import com.rometools.fetcher.FetcherEvent;
import org.rometools.fetcher.FetcherException; import com.rometools.fetcher.FetcherException;
import org.rometools.fetcher.FetcherListener; import com.rometools.fetcher.FetcherListener;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;

View file

@ -1,11 +1,11 @@
package org.rometools.fetcher.impl; package com.rometools.fetcher.impl;
import java.beans.EventSetDescriptor; import java.beans.EventSetDescriptor;
import java.beans.SimpleBeanInfo; import java.beans.SimpleBeanInfo;
import java.lang.reflect.Method; import java.lang.reflect.Method;
import org.rometools.fetcher.FetcherEvent; import com.rometools.fetcher.FetcherEvent;
import org.rometools.fetcher.FetcherListener; import com.rometools.fetcher.FetcherListener;
public class AbstractFeedFetcherBeanInfo extends SimpleBeanInfo { public class AbstractFeedFetcherBeanInfo extends SimpleBeanInfo {

View file

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

View file

@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
* *
*/ */
package org.rometools.fetcher.impl; package com.rometools.fetcher.impl;
import java.net.URL; import java.net.URL;
/** /**
* <p> * <p>
* An interface to allow caching of feed details. Implementing this allows the {@link org.rometools.fetcher.io.HttpURLFeedFetcher} class to enable conditional * An interface to allow caching of feed details. Implementing this allows the {@link com.rometools.fetcher.io.HttpURLFeedFetcher} class to enable conditional
* gets * gets
* </p> * </p>
* *

View file

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
* *
*/ */
package org.rometools.fetcher.impl; package com.rometools.fetcher.impl;
import java.io.Serializable; import java.io.Serializable;
import java.net.URL; import java.net.URL;
@ -24,7 +24,7 @@ import java.util.Map;
/** /**
* <p> * <p>
* A very simple implementation of the {@link org.rometools.fetcher.impl.FeedFetcherCache} interface. * A very simple implementation of the {@link com.rometools.fetcher.impl.FeedFetcherCache} interface.
* </p> * </p>
* *
* <p> * <p>

View file

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
* *
*/ */
package org.rometools.fetcher.impl; package com.rometools.fetcher.impl;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
@ -31,8 +31,8 @@ import org.apache.commons.httpclient.HttpMethod;
import org.apache.commons.httpclient.auth.AuthScope; import org.apache.commons.httpclient.auth.AuthScope;
import org.apache.commons.httpclient.methods.GetMethod; import org.apache.commons.httpclient.methods.GetMethod;
import org.apache.commons.httpclient.params.HttpClientParams; import org.apache.commons.httpclient.params.HttpClientParams;
import org.rometools.fetcher.FetcherEvent; import com.rometools.fetcher.FetcherEvent;
import org.rometools.fetcher.FetcherException; import com.rometools.fetcher.FetcherException;
import com.sun.syndication.feed.synd.SyndFeed; import com.sun.syndication.feed.synd.SyndFeed;
import com.sun.syndication.io.FeedException; import com.sun.syndication.io.FeedException;
@ -154,7 +154,7 @@ public class HttpClientFeedFetcher extends AbstractFeedFetcher {
} }
/** /**
* @see org.rometools.fetcher.FeedFetcher#retrieveFeed(java.net.URL) * @see com.rometools.fetcher.FeedFetcher#retrieveFeed(java.net.URL)
*/ */
@Override @Override
public SyndFeed retrieveFeed(final String userAgent, final URL feedUrl) throws IllegalArgumentException, IOException, FeedException, FetcherException { public SyndFeed retrieveFeed(final String userAgent, final URL feedUrl) throws IllegalArgumentException, IOException, FeedException, FetcherException {

View file

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
* *
*/ */
package org.rometools.fetcher.impl; package com.rometools.fetcher.impl;
import java.io.BufferedInputStream; import java.io.BufferedInputStream;
import java.io.IOException; import java.io.IOException;
@ -24,8 +24,8 @@ import java.net.URL;
import java.net.URLConnection; import java.net.URLConnection;
import java.util.zip.GZIPInputStream; import java.util.zip.GZIPInputStream;
import org.rometools.fetcher.FetcherEvent; import com.rometools.fetcher.FetcherEvent;
import org.rometools.fetcher.FetcherException; import com.rometools.fetcher.FetcherException;
import com.sun.syndication.feed.synd.SyndFeed; import com.sun.syndication.feed.synd.SyndFeed;
import com.sun.syndication.io.FeedException; import com.sun.syndication.io.FeedException;
@ -38,7 +38,7 @@ import com.sun.syndication.io.XmlReader;
* </p> * </p>
* *
* <p> * <p>
* If passed a {@link org.rometools.fetcher.impl.FeedFetcherCache} in the constructor it will use conditional gets to only retrieve modified content. * If passed a {@link com.rometools.fetcher.impl.FeedFetcherCache} in the constructor it will use conditional gets to only retrieve modified content.
* </p> * </p>
* *
* <p> * <p>

View file

@ -1,4 +1,4 @@
package org.rometools.fetcher.impl; package com.rometools.fetcher.impl;
import java.util.Collections; import java.util.Collections;
import java.util.LinkedHashMap; import java.util.LinkedHashMap;
@ -6,7 +6,7 @@ import java.util.Map;
/** /**
* <p> * <p>
* An implementation of the {@link org.rometools.fetcher.impl.FeedFetcherCache} interface. * An implementation of the {@link com.rometools.fetcher.impl.FeedFetcherCache} interface.
* </p> * </p>
* *
* <p> * <p>

View file

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
* *
*/ */
package org.rometools.fetcher.impl; package com.rometools.fetcher.impl;
import java.net.URLConnection; import java.net.URLConnection;
import java.util.regex.Matcher; import java.util.regex.Matcher;

View file

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
* *
*/ */
package org.rometools.fetcher.impl; package com.rometools.fetcher.impl;
import java.io.Serializable; import java.io.Serializable;
import java.net.URL; import java.net.URL;

View file

@ -14,17 +14,17 @@
* limitations under the License. * limitations under the License.
* *
*/ */
package org.rometools.fetcher.samples; package com.rometools.fetcher.samples;
import java.io.PrintWriter; import java.io.PrintWriter;
import java.net.URL; import java.net.URL;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import org.rometools.fetcher.FeedFetcher; import com.rometools.fetcher.FeedFetcher;
import org.rometools.fetcher.impl.FeedFetcherCache; import com.rometools.fetcher.impl.FeedFetcherCache;
import org.rometools.fetcher.impl.HashMapFeedInfoCache; import com.rometools.fetcher.impl.HashMapFeedInfoCache;
import org.rometools.fetcher.impl.HttpURLFeedFetcher; import com.rometools.fetcher.impl.HttpURLFeedFetcher;
import com.sun.syndication.feed.synd.SyndEntry; import com.sun.syndication.feed.synd.SyndEntry;
import com.sun.syndication.feed.synd.SyndFeed; import com.sun.syndication.feed.synd.SyndFeed;

View file

@ -15,16 +15,16 @@
* *
*/ */
package org.rometools.fetcher.samples; package com.rometools.fetcher.samples;
import java.net.URL; import java.net.URL;
import org.rometools.fetcher.FeedFetcher; import com.rometools.fetcher.FeedFetcher;
import org.rometools.fetcher.FetcherEvent; import com.rometools.fetcher.FetcherEvent;
import org.rometools.fetcher.FetcherListener; import com.rometools.fetcher.FetcherListener;
import org.rometools.fetcher.impl.FeedFetcherCache; import com.rometools.fetcher.impl.FeedFetcherCache;
import org.rometools.fetcher.impl.HashMapFeedInfoCache; import com.rometools.fetcher.impl.HashMapFeedInfoCache;
import org.rometools.fetcher.impl.HttpURLFeedFetcher; import com.rometools.fetcher.impl.HttpURLFeedFetcher;
import com.sun.syndication.feed.synd.SyndFeed; import com.sun.syndication.feed.synd.SyndFeed;

View file

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
* *
*/ */
package org.rometools.test; package com.rometools.test;
import java.net.URL; import java.net.URL;
@ -29,12 +29,12 @@ import org.mortbay.http.SocketListener;
import org.mortbay.http.UserRealm; import org.mortbay.http.UserRealm;
import org.mortbay.http.handler.SecurityHandler; import org.mortbay.http.handler.SecurityHandler;
import org.mortbay.jetty.servlet.ServletHandler; import org.mortbay.jetty.servlet.ServletHandler;
import org.rometools.fetcher.FeedFetcher; import com.rometools.fetcher.FeedFetcher;
import org.rometools.fetcher.FetcherEvent; import com.rometools.fetcher.FetcherEvent;
import org.rometools.fetcher.FetcherException; import com.rometools.fetcher.FetcherException;
import org.rometools.fetcher.FetcherListener; import com.rometools.fetcher.FetcherListener;
import org.rometools.fetcher.impl.FeedFetcherCache; import com.rometools.fetcher.impl.FeedFetcherCache;
import org.rometools.fetcher.impl.HashMapFeedInfoCache; import com.rometools.fetcher.impl.HashMapFeedInfoCache;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
@ -107,8 +107,8 @@ public abstract class AbstractJettyTest extends TestCase {
*/ */
private ServletHandler createServletHandler() { private ServletHandler createServletHandler() {
final ServletHandler servlets = new ServletHandler(); final ServletHandler servlets = new ServletHandler();
servlets.addServlet("FetcherTestServlet", FetcherTestServlet.SERVLET_MAPPING, "org.rometools.test.FetcherTestServlet"); servlets.addServlet("FetcherTestServlet", FetcherTestServlet.SERVLET_MAPPING, "com.rometools.test.FetcherTestServlet");
servlets.addServlet("FetcherTestServlet", FetcherTestServlet.SERVLET_MAPPING2, "org.rometools.test.FetcherTestServlet"); servlets.addServlet("FetcherTestServlet", FetcherTestServlet.SERVLET_MAPPING2, "com.rometools.test.FetcherTestServlet");
return servlets; return servlets;
} }

View file

@ -1,12 +1,12 @@
package org.rometools.test; package com.rometools.test;
import java.io.File; import java.io.File;
import java.net.URL; import java.net.URL;
import junit.framework.TestCase; import junit.framework.TestCase;
import org.rometools.fetcher.impl.DiskFeedInfoCache; import com.rometools.fetcher.impl.DiskFeedInfoCache;
import org.rometools.fetcher.impl.SyndFeedInfo; import com.rometools.fetcher.impl.SyndFeedInfo;
public class DiskFeedInfoCacheTest extends TestCase { public class DiskFeedInfoCacheTest extends TestCase {

View file

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
* *
*/ */
package org.rometools.test; package com.rometools.test;
import java.io.BufferedReader; import java.io.BufferedReader;
import java.io.IOException; import java.io.IOException;

View file

@ -1,11 +1,11 @@
package org.rometools.test; package com.rometools.test;
import java.net.URL; import java.net.URL;
import junit.framework.TestCase; import junit.framework.TestCase;
import org.rometools.fetcher.impl.HashMapFeedInfoCache; import com.rometools.fetcher.impl.HashMapFeedInfoCache;
import org.rometools.fetcher.impl.SyndFeedInfo; import com.rometools.fetcher.impl.SyndFeedInfo;
public class HashMapFeedInfoCacheTest extends TestCase { public class HashMapFeedInfoCacheTest extends TestCase {

View file

@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
* *
*/ */
package org.rometools.test; package com.rometools.test;
import org.apache.commons.httpclient.Credentials; import org.apache.commons.httpclient.Credentials;
import org.apache.commons.httpclient.UsernamePasswordCredentials; import org.apache.commons.httpclient.UsernamePasswordCredentials;
import org.rometools.fetcher.FeedFetcher; import com.rometools.fetcher.FeedFetcher;
import org.rometools.fetcher.impl.FeedFetcherCache; import com.rometools.fetcher.impl.FeedFetcherCache;
import org.rometools.fetcher.impl.HttpClientFeedFetcher; import com.rometools.fetcher.impl.HttpClientFeedFetcher;
/** /**
* @author Nick Lothian * @author Nick Lothian

View file

@ -14,11 +14,11 @@
* limitations under the License. * limitations under the License.
* *
*/ */
package org.rometools.test; package com.rometools.test;
import org.rometools.fetcher.FeedFetcher; import com.rometools.fetcher.FeedFetcher;
import org.rometools.fetcher.impl.FeedFetcherCache; import com.rometools.fetcher.impl.FeedFetcherCache;
import org.rometools.fetcher.impl.HttpURLFeedFetcher; import com.rometools.fetcher.impl.HttpURLFeedFetcher;
public class HttpURLFeedFetcherTest extends AbstractJettyTest { public class HttpURLFeedFetcherTest extends AbstractJettyTest {

View file

@ -14,11 +14,11 @@
* limitations under the License. * limitations under the License.
* *
*/ */
package org.rometools.test; package com.rometools.test;
import junit.framework.TestCase; import junit.framework.TestCase;
import org.rometools.fetcher.impl.ResponseHandler; import com.rometools.fetcher.impl.ResponseHandler;
public class ResponseHandlerTest extends TestCase { public class ResponseHandlerTest extends TestCase {

View file

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
* *
*/ */
package org.rometools.test; package com.rometools.test;
import java.net.Authenticator; import java.net.Authenticator;
import java.net.PasswordAuthentication; import java.net.PasswordAuthentication;