|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dspace.app.sitemap.GenerateSitemaps
public class GenerateSitemaps
Command-line utility for generating HTML and Sitemaps.org protocol Sitemaps.
| Constructor Summary | |
|---|---|
GenerateSitemaps()
|
|
| Method Summary | |
|---|---|
static void |
generateSitemaps(boolean makeHTMLMap,
boolean makeSitemapOrg)
Generate sitemap.org protocol and/or basic HTML sitemaps. |
static void |
main(String[] args)
|
static void |
pingConfiguredSearchEngines()
Ping all search engines configured in dspace.cfg. |
static void |
pingSearchEngine(String engineURL)
Ping the given search engine. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GenerateSitemaps()
| Method Detail |
|---|
public static void main(String[] args)
throws Exception
Exception
public static void generateSitemaps(boolean makeHTMLMap,
boolean makeSitemapOrg)
throws SQLException,
IOException
makeHTMLMap - if true, generate an HTML sitemap.makeSitemapOrg - if true, generate an sitemap.org sitemap.
SQLException - if a database error occurs.
IOException - if IO error occurs.
public static void pingConfiguredSearchEngines()
throws UnsupportedEncodingException
dspace.cfg.
UnsupportedEncodingException - theoretically should never happen
public static void pingSearchEngine(String engineURL)
throws MalformedURLException,
UnsupportedEncodingException
engineURL - Search engine URL minus protocol etc, e.g.
www.google.com
MalformedURLException - if the passed in URL is malformed
UnsupportedEncodingException - theoretically should never happen
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||