|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.pebble.util.Utilities
public class Utilities
Utilities for the current blog, such as those useful for moving between versions of Pebble.
Constructor Summary | |
---|---|
Utilities()
|
Method Summary | |
---|---|
static void |
buildIndexes(Blog blog)
Builds the indexes for the given blog. |
static void |
buildIpAddressLists(Blog blog)
Builds the blacklist and whitelist of IP addresses from all responses for the given blog. |
static void |
convertCategories(Blog blog)
Converts flat categories to hierarchical categories. |
static void |
fixHtmlInResponses(Blog blog)
Fixes HTML escaping of comment and TrackBack content for the given blog. |
static void |
main(java.lang.String[] args)
|
static void |
moveBlogEntriesFromCategory(Blog blog,
Category from,
Category to)
Moves blog entries from one category to another. |
static void |
resetPlugins(Blog blog)
Resets the plugins back to their defaults. |
static void |
resetTheme(Blog blog)
Resets the theme of a blog to "default". |
static void |
restoreTheme(Blog blog,
java.lang.String themeName)
Blasts the blog specific theme and overwrites it with the default theme. |
static void |
restructureBlogToGMT(Blog blog)
Moves blog entries from one category to another. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Utilities()
Method Detail |
---|
public static void buildIndexes(Blog blog)
blog
- a Blog instancepublic static void buildIpAddressLists(Blog blog)
blog
- a Blog instancepublic static void fixHtmlInResponses(Blog blog)
blog
- a Blog instancepublic static void convertCategories(Blog blog)
blog
- a Blog instancepublic static void moveBlogEntriesFromCategory(Blog blog, Category from, Category to)
blog
- a Blog instancepublic static void resetTheme(Blog blog)
public static void restoreTheme(Blog blog, java.lang.String themeName)
public static void resetPlugins(Blog blog)
public static void restructureBlogToGMT(Blog blog)
blog
- a Blog instancepublic static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |