Renamed packages to match new Maven group id of "org.rometools"
This commit is contained in:
parent
950dd2f5d4
commit
20351c2dec
24 changed files with 68 additions and 68 deletions
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*
|
||||
*/
|
||||
package org.rometools.fetcher;
|
||||
package com.rometools.fetcher;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.URL;
|
|
@ -1,4 +1,4 @@
|
|||
package org.rometools.fetcher;
|
||||
package com.rometools.fetcher;
|
||||
|
||||
import java.util.EventObject;
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*
|
||||
*/
|
||||
package org.rometools.fetcher;
|
||||
package com.rometools.fetcher;
|
||||
|
||||
/**
|
||||
* @author Nick Lothian
|
|
@ -1,4 +1,4 @@
|
|||
package org.rometools.fetcher;
|
||||
package com.rometools.fetcher;
|
||||
|
||||
import java.util.EventListener;
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
package org.rometools.fetcher.impl;
|
||||
package com.rometools.fetcher.impl;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
|
@ -25,10 +25,10 @@ import java.util.HashSet;
|
|||
import java.util.Properties;
|
||||
import java.util.Set;
|
||||
|
||||
import org.rometools.fetcher.FeedFetcher;
|
||||
import org.rometools.fetcher.FetcherEvent;
|
||||
import org.rometools.fetcher.FetcherException;
|
||||
import org.rometools.fetcher.FetcherListener;
|
||||
import com.rometools.fetcher.FeedFetcher;
|
||||
import com.rometools.fetcher.FetcherEvent;
|
||||
import com.rometools.fetcher.FetcherException;
|
||||
import com.rometools.fetcher.FetcherListener;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
package org.rometools.fetcher.impl;
|
||||
package com.rometools.fetcher.impl;
|
||||
|
||||
import java.beans.EventSetDescriptor;
|
||||
import java.beans.SimpleBeanInfo;
|
||||
import java.lang.reflect.Method;
|
||||
|
||||
import org.rometools.fetcher.FetcherEvent;
|
||||
import org.rometools.fetcher.FetcherListener;
|
||||
import com.rometools.fetcher.FetcherEvent;
|
||||
import com.rometools.fetcher.FetcherListener;
|
||||
|
||||
public class AbstractFeedFetcherBeanInfo extends SimpleBeanInfo {
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.rometools.fetcher.impl;
|
||||
package com.rometools.fetcher.impl;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.FileInputStream;
|
|
@ -14,13 +14,13 @@
|
|||
* limitations under the License.
|
||||
*
|
||||
*/
|
||||
package org.rometools.fetcher.impl;
|
||||
package com.rometools.fetcher.impl;
|
||||
|
||||
import java.net.URL;
|
||||
|
||||
/**
|
||||
* <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
|
||||
* </p>
|
||||
*
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*
|
||||
*/
|
||||
package org.rometools.fetcher.impl;
|
||||
package com.rometools.fetcher.impl;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.net.URL;
|
||||
|
@ -24,7 +24,7 @@ import java.util.Map;
|
|||
|
||||
/**
|
||||
* <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>
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*
|
||||
*/
|
||||
package org.rometools.fetcher.impl;
|
||||
package com.rometools.fetcher.impl;
|
||||
|
||||
import java.io.IOException;
|
||||
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.methods.GetMethod;
|
||||
import org.apache.commons.httpclient.params.HttpClientParams;
|
||||
import org.rometools.fetcher.FetcherEvent;
|
||||
import org.rometools.fetcher.FetcherException;
|
||||
import com.rometools.fetcher.FetcherEvent;
|
||||
import com.rometools.fetcher.FetcherException;
|
||||
|
||||
import com.sun.syndication.feed.synd.SyndFeed;
|
||||
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
|
||||
public SyndFeed retrieveFeed(final String userAgent, final URL feedUrl) throws IllegalArgumentException, IOException, FeedException, FetcherException {
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*
|
||||
*/
|
||||
package org.rometools.fetcher.impl;
|
||||
package com.rometools.fetcher.impl;
|
||||
|
||||
import java.io.BufferedInputStream;
|
||||
import java.io.IOException;
|
||||
|
@ -24,8 +24,8 @@ import java.net.URL;
|
|||
import java.net.URLConnection;
|
||||
import java.util.zip.GZIPInputStream;
|
||||
|
||||
import org.rometools.fetcher.FetcherEvent;
|
||||
import org.rometools.fetcher.FetcherException;
|
||||
import com.rometools.fetcher.FetcherEvent;
|
||||
import com.rometools.fetcher.FetcherException;
|
||||
|
||||
import com.sun.syndication.feed.synd.SyndFeed;
|
||||
import com.sun.syndication.io.FeedException;
|
||||
|
@ -38,7 +38,7 @@ import com.sun.syndication.io.XmlReader;
|
|||
* </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>
|
|
@ -1,4 +1,4 @@
|
|||
package org.rometools.fetcher.impl;
|
||||
package com.rometools.fetcher.impl;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.LinkedHashMap;
|
||||
|
@ -6,7 +6,7 @@ import java.util.Map;
|
|||
|
||||
/**
|
||||
* <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>
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*
|
||||
*/
|
||||
package org.rometools.fetcher.impl;
|
||||
package com.rometools.fetcher.impl;
|
||||
|
||||
import java.net.URLConnection;
|
||||
import java.util.regex.Matcher;
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*
|
||||
*/
|
||||
package org.rometools.fetcher.impl;
|
||||
package com.rometools.fetcher.impl;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.net.URL;
|
|
@ -14,17 +14,17 @@
|
|||
* limitations under the License.
|
||||
*
|
||||
*/
|
||||
package org.rometools.fetcher.samples;
|
||||
package com.rometools.fetcher.samples;
|
||||
|
||||
import java.io.PrintWriter;
|
||||
import java.net.URL;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import org.rometools.fetcher.FeedFetcher;
|
||||
import org.rometools.fetcher.impl.FeedFetcherCache;
|
||||
import org.rometools.fetcher.impl.HashMapFeedInfoCache;
|
||||
import org.rometools.fetcher.impl.HttpURLFeedFetcher;
|
||||
import com.rometools.fetcher.FeedFetcher;
|
||||
import com.rometools.fetcher.impl.FeedFetcherCache;
|
||||
import com.rometools.fetcher.impl.HashMapFeedInfoCache;
|
||||
import com.rometools.fetcher.impl.HttpURLFeedFetcher;
|
||||
|
||||
import com.sun.syndication.feed.synd.SyndEntry;
|
||||
import com.sun.syndication.feed.synd.SyndFeed;
|
|
@ -15,16 +15,16 @@
|
|||
*
|
||||
*/
|
||||
|
||||
package org.rometools.fetcher.samples;
|
||||
package com.rometools.fetcher.samples;
|
||||
|
||||
import java.net.URL;
|
||||
|
||||
import org.rometools.fetcher.FeedFetcher;
|
||||
import org.rometools.fetcher.FetcherEvent;
|
||||
import org.rometools.fetcher.FetcherListener;
|
||||
import org.rometools.fetcher.impl.FeedFetcherCache;
|
||||
import org.rometools.fetcher.impl.HashMapFeedInfoCache;
|
||||
import org.rometools.fetcher.impl.HttpURLFeedFetcher;
|
||||
import com.rometools.fetcher.FeedFetcher;
|
||||
import com.rometools.fetcher.FetcherEvent;
|
||||
import com.rometools.fetcher.FetcherListener;
|
||||
import com.rometools.fetcher.impl.FeedFetcherCache;
|
||||
import com.rometools.fetcher.impl.HashMapFeedInfoCache;
|
||||
import com.rometools.fetcher.impl.HttpURLFeedFetcher;
|
||||
|
||||
import com.sun.syndication.feed.synd.SyndFeed;
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*
|
||||
*/
|
||||
package org.rometools.test;
|
||||
package com.rometools.test;
|
||||
|
||||
import java.net.URL;
|
||||
|
||||
|
@ -29,12 +29,12 @@ import org.mortbay.http.SocketListener;
|
|||
import org.mortbay.http.UserRealm;
|
||||
import org.mortbay.http.handler.SecurityHandler;
|
||||
import org.mortbay.jetty.servlet.ServletHandler;
|
||||
import org.rometools.fetcher.FeedFetcher;
|
||||
import org.rometools.fetcher.FetcherEvent;
|
||||
import org.rometools.fetcher.FetcherException;
|
||||
import org.rometools.fetcher.FetcherListener;
|
||||
import org.rometools.fetcher.impl.FeedFetcherCache;
|
||||
import org.rometools.fetcher.impl.HashMapFeedInfoCache;
|
||||
import com.rometools.fetcher.FeedFetcher;
|
||||
import com.rometools.fetcher.FetcherEvent;
|
||||
import com.rometools.fetcher.FetcherException;
|
||||
import com.rometools.fetcher.FetcherListener;
|
||||
import com.rometools.fetcher.impl.FeedFetcherCache;
|
||||
import com.rometools.fetcher.impl.HashMapFeedInfoCache;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
|
@ -107,8 +107,8 @@ public abstract class AbstractJettyTest extends TestCase {
|
|||
*/
|
||||
private ServletHandler createServletHandler() {
|
||||
final ServletHandler servlets = new ServletHandler();
|
||||
servlets.addServlet("FetcherTestServlet", FetcherTestServlet.SERVLET_MAPPING, "org.rometools.test.FetcherTestServlet");
|
||||
servlets.addServlet("FetcherTestServlet", FetcherTestServlet.SERVLET_MAPPING2, "org.rometools.test.FetcherTestServlet");
|
||||
servlets.addServlet("FetcherTestServlet", FetcherTestServlet.SERVLET_MAPPING, "com.rometools.test.FetcherTestServlet");
|
||||
servlets.addServlet("FetcherTestServlet", FetcherTestServlet.SERVLET_MAPPING2, "com.rometools.test.FetcherTestServlet");
|
||||
return servlets;
|
||||
}
|
||||
|
|
@ -1,12 +1,12 @@
|
|||
package org.rometools.test;
|
||||
package com.rometools.test;
|
||||
|
||||
import java.io.File;
|
||||
import java.net.URL;
|
||||
|
||||
import junit.framework.TestCase;
|
||||
|
||||
import org.rometools.fetcher.impl.DiskFeedInfoCache;
|
||||
import org.rometools.fetcher.impl.SyndFeedInfo;
|
||||
import com.rometools.fetcher.impl.DiskFeedInfoCache;
|
||||
import com.rometools.fetcher.impl.SyndFeedInfo;
|
||||
|
||||
public class DiskFeedInfoCacheTest extends TestCase {
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*
|
||||
*/
|
||||
package org.rometools.test;
|
||||
package com.rometools.test;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
import java.io.IOException;
|
|
@ -1,11 +1,11 @@
|
|||
package org.rometools.test;
|
||||
package com.rometools.test;
|
||||
|
||||
import java.net.URL;
|
||||
|
||||
import junit.framework.TestCase;
|
||||
|
||||
import org.rometools.fetcher.impl.HashMapFeedInfoCache;
|
||||
import org.rometools.fetcher.impl.SyndFeedInfo;
|
||||
import com.rometools.fetcher.impl.HashMapFeedInfoCache;
|
||||
import com.rometools.fetcher.impl.SyndFeedInfo;
|
||||
|
||||
public class HashMapFeedInfoCacheTest extends TestCase {
|
||||
|
|
@ -14,13 +14,13 @@
|
|||
* limitations under the License.
|
||||
*
|
||||
*/
|
||||
package org.rometools.test;
|
||||
package com.rometools.test;
|
||||
|
||||
import org.apache.commons.httpclient.Credentials;
|
||||
import org.apache.commons.httpclient.UsernamePasswordCredentials;
|
||||
import org.rometools.fetcher.FeedFetcher;
|
||||
import org.rometools.fetcher.impl.FeedFetcherCache;
|
||||
import org.rometools.fetcher.impl.HttpClientFeedFetcher;
|
||||
import com.rometools.fetcher.FeedFetcher;
|
||||
import com.rometools.fetcher.impl.FeedFetcherCache;
|
||||
import com.rometools.fetcher.impl.HttpClientFeedFetcher;
|
||||
|
||||
/**
|
||||
* @author Nick Lothian
|
|
@ -14,11 +14,11 @@
|
|||
* limitations under the License.
|
||||
*
|
||||
*/
|
||||
package org.rometools.test;
|
||||
package com.rometools.test;
|
||||
|
||||
import org.rometools.fetcher.FeedFetcher;
|
||||
import org.rometools.fetcher.impl.FeedFetcherCache;
|
||||
import org.rometools.fetcher.impl.HttpURLFeedFetcher;
|
||||
import com.rometools.fetcher.FeedFetcher;
|
||||
import com.rometools.fetcher.impl.FeedFetcherCache;
|
||||
import com.rometools.fetcher.impl.HttpURLFeedFetcher;
|
||||
|
||||
public class HttpURLFeedFetcherTest extends AbstractJettyTest {
|
||||
|
|
@ -14,11 +14,11 @@
|
|||
* limitations under the License.
|
||||
*
|
||||
*/
|
||||
package org.rometools.test;
|
||||
package com.rometools.test;
|
||||
|
||||
import junit.framework.TestCase;
|
||||
|
||||
import org.rometools.fetcher.impl.ResponseHandler;
|
||||
import com.rometools.fetcher.impl.ResponseHandler;
|
||||
|
||||
public class ResponseHandlerTest extends TestCase {
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*
|
||||
*/
|
||||
package org.rometools.test;
|
||||
package com.rometools.test;
|
||||
|
||||
import java.net.Authenticator;
|
||||
import java.net.PasswordAuthentication;
|
Loading…
Reference in a new issue