|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.redfin.sitemapgenerator.WebSitemapUrl
com.redfin.sitemapgenerator.GoogleNewsSitemapUrl
public class GoogleNewsSitemapUrl
One configurable Google News Search URL. To configure, use GoogleNewsSitemapUrl.Options
GoogleNewsSitemapUrl.Options,
Creating a News Sitemap| Nested Class Summary | |
|---|---|
static class |
GoogleNewsSitemapUrl.Options
Options to configure Google News URLs |
| Constructor Summary | |
|---|---|
GoogleNewsSitemapUrl(GoogleNewsSitemapUrl.Options options)
Configures an URL with options |
|
GoogleNewsSitemapUrl(java.lang.String url,
java.util.Date publicationDate)
Specifies an URL and publication date (which is mandatory for Google News) |
|
GoogleNewsSitemapUrl(java.net.URL url,
java.util.Date publicationDate)
Specifies an URL and publication date (which is mandatory for Google News) |
|
| Method Summary | |
|---|---|
java.lang.String |
getKeywords()
Retrieves the list of comma-delimited keywords |
java.util.Date |
getPublicationDate()
Retrieves the publication date |
| Methods inherited from class com.redfin.sitemapgenerator.WebSitemapUrl |
|---|
getChangeFreq, getLastMod, getPriority, getUrl |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GoogleNewsSitemapUrl(java.net.URL url,
java.util.Date publicationDate)
public GoogleNewsSitemapUrl(java.lang.String url,
java.util.Date publicationDate)
throws java.net.MalformedURLException
java.net.MalformedURLExceptionpublic GoogleNewsSitemapUrl(GoogleNewsSitemapUrl.Options options)
| Method Detail |
|---|
public java.util.Date getPublicationDate()
public java.lang.String getKeywords()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||