Merge pull request #277 from rometools/ROME-276-fetcher-removal

#276 added deprecation notice to rome-fetcher
This commit is contained in:
mishako 2016-03-04 23:29:51 +01:00
commit 91da3003a1
14 changed files with 58 additions and 3 deletions

View file

@ -22,6 +22,11 @@ import java.net.URL;
import com.rometools.rome.feed.synd.SyndFeed;
import com.rometools.rome.io.FeedException;
/**
* @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints,
* please have a look at our <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
*/
@Deprecated
public interface FeedFetcher {
/**
* <p>

View file

@ -10,7 +10,11 @@ import com.rometools.rome.feed.synd.SyndFeed;
* fields final.
*
* @author nl
*
* @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints,
* please have a look at our <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
*/
@Deprecated
public class FetcherEvent extends EventObject {
private static final long serialVersionUID = 1L;

View file

@ -19,7 +19,10 @@ package com.rometools.fetcher;
/**
* @author Nick Lothian
*
* @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints,
* please have a look at our <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
*/
@Deprecated
public class FetcherException extends Exception {
private static final long serialVersionUID = 1L;

View file

@ -2,6 +2,11 @@ package com.rometools.fetcher;
import java.util.EventListener;
/**
* @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints,
* please have a look at our <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
*/
@Deprecated
public interface FetcherListener extends EventListener {
/**

View file

@ -34,6 +34,11 @@ import com.rometools.fetcher.FetcherException;
import com.rometools.fetcher.FetcherListener;
import com.rometools.rome.feed.synd.SyndFeed;
/**
* @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints,
* please have a look at our <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
*/
@Deprecated
public abstract class AbstractFeedFetcher implements FeedFetcher {
private static final Logger LOG = LoggerFactory.getLogger(AbstractFeedFetcher.class);

View file

@ -7,6 +7,11 @@ import java.lang.reflect.Method;
import com.rometools.fetcher.FetcherEvent;
import com.rometools.fetcher.FetcherListener;
/**
* @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints,
* please have a look at our <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
*/
@Deprecated
public class AbstractFeedFetcherBeanInfo extends SimpleBeanInfo {
@Override

View file

@ -28,7 +28,11 @@ import com.rometools.utils.IO;
/**
* Disk based feed cache.
*
* @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints,
* please have a look at our <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
*/
@Deprecated
public class DiskFeedInfoCache implements FeedFetcherCache {
protected String cachePath = null;

View file

@ -26,7 +26,10 @@ import java.net.URL;
*
* @author Nick Lothian
*
* @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints,
* please have a look at our <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
*/
@Deprecated
public interface FeedFetcherCache {
/**

View file

@ -36,7 +36,10 @@ import java.util.Map;
*
* @author Nick Lothian
*
* @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints,
* please have a look at our <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
*/
@Deprecated
public class HashMapFeedInfoCache implements FeedFetcherCache, Serializable {
private static final long serialVersionUID = 1L;

View file

@ -46,7 +46,11 @@ import com.rometools.utils.IO;
/**
* @author Nick Lothian
*
* @deprecated HttpClient v3 is known to have some security vulnerabilities! In addition ROME Fetcher will be dropped in the next major version of ROME (version 2).
* For more information and some migration hints, please have a look at our <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
*/
@Deprecated
public class HttpClientFeedFetcher extends AbstractFeedFetcher {
private CredentialSupplier credentialSupplier;

View file

@ -68,7 +68,11 @@ import com.rometools.utils.IO;
* @see <a
* href="http://bobwyman.pubsub.com/main/2004/09/using_rfc3229_w.html">http://bobwyman.pubsub.com/main/2004/09/using_rfc3229_w.html</a>
* @author Nick Lothian
*
* @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints,
* please have a look at our <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
*/
@Deprecated
public class HttpURLFeedFetcher extends AbstractFeedFetcher {
private volatile int connectTimeout = -1;

View file

@ -16,7 +16,10 @@ import java.util.Map;
* @author Javier Kohen
* @author Nick Lothian
*
* @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints,
* please have a look at our <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
*/
@Deprecated
public class LinkedHashMapFeedInfoCache extends HashMapFeedInfoCache {
private final class CacheImpl extends LinkedHashMap<String, SyndFeedInfo> {

View file

@ -22,8 +22,11 @@ import java.util.regex.Pattern;
/**
* Utility class to help deal with HTTP responses
*
* *
* @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints,
* please have a look at our <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
*/
@Deprecated
public class ResponseHandler {
public static final String defaultCharacterEncoding = "ISO-8859-1";

View file

@ -33,7 +33,11 @@ import com.rometools.rome.feed.synd.SyndFeed;
* </p>
*
* @author Nick Lothian
*
* @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints,
* please have a look at our <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
*/
@Deprecated
public class SyndFeedInfo implements Cloneable, Serializable {
private static final long serialVersionUID = 1L;