light cleanup
This commit is contained in:
parent
ecfb293405
commit
9b5acb1585
2 changed files with 57 additions and 52 deletions
3
pom.xml
3
pom.xml
|
@ -129,18 +129,21 @@
|
||||||
<groupId>commons-httpclient</groupId>
|
<groupId>commons-httpclient</groupId>
|
||||||
<artifactId>commons-httpclient</artifactId>
|
<artifactId>commons-httpclient</artifactId>
|
||||||
<version>3.0.1</version>
|
<version>3.0.1</version>
|
||||||
|
<optional />
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<!-- Required at build time and to use HTTPClientFetcher -->
|
<!-- Required at build time and to use HTTPClientFetcher -->
|
||||||
<groupId>commons-logging</groupId>
|
<groupId>commons-logging</groupId>
|
||||||
<artifactId>commons-logging</artifactId>
|
<artifactId>commons-logging</artifactId>
|
||||||
<version>1.0.4</version>
|
<version>1.0.4</version>
|
||||||
|
<optional/>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<!-- Required at build time and to use HTTPClientFetcher -->
|
<!-- Required at build time and to use HTTPClientFetcher -->
|
||||||
<groupId>commons-logging</groupId>
|
<groupId>commons-logging</groupId>
|
||||||
<artifactId>commons-logging-api</artifactId>
|
<artifactId>commons-logging-api</artifactId>
|
||||||
<version>1.0.4</version>
|
<version>1.0.4</version>
|
||||||
|
<optional />
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<!-- Only required at compile time for testing -->
|
<!-- Only required at compile time for testing -->
|
||||||
|
|
|
@ -23,6 +23,7 @@ import com.sun.syndication.feed.synd.SyndFeed;
|
||||||
import com.sun.syndication.io.FeedException;
|
import com.sun.syndication.io.FeedException;
|
||||||
|
|
||||||
public interface FeedFetcher {
|
public interface FeedFetcher {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>The default user agent. It is not marked final so
|
* <p>The default user agent. It is not marked final so
|
||||||
* buggy java compiler will not write this string
|
* buggy java compiler will not write this string
|
||||||
|
@ -38,10 +39,12 @@ public interface FeedFetcher {
|
||||||
* @return the User-Agent currently being sent to servers
|
* @return the User-Agent currently being sent to servers
|
||||||
*/
|
*/
|
||||||
public abstract String getUserAgent();
|
public abstract String getUserAgent();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param string The User-Agent to sent to servers
|
* @param string The User-Agent to sent to servers
|
||||||
*/
|
*/
|
||||||
public abstract void setUserAgent(String string);
|
public abstract void setUserAgent(String string);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Retrieve a feed over HTTP
|
* Retrieve a feed over HTTP
|
||||||
*
|
*
|
||||||
|
@ -94,5 +97,4 @@ public interface FeedFetcher {
|
||||||
* via the originalWireFeed() method. Each Entry in the feed will have the corresponding wireEntry property set.
|
* via the originalWireFeed() method. Each Entry in the feed will have the corresponding wireEntry property set.
|
||||||
*/
|
*/
|
||||||
void setPreserveWireFeed(boolean preserveWireFeed);
|
void setPreserveWireFeed(boolean preserveWireFeed);
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in a new issue