Class BlogPathConverter
- java.lang.Object
-
- com.atlassian.confluence.servlet.simpledisplay.BlogPathConverter
-
- All Implemented Interfaces:
PathConverter
public class BlogPathConverter extends Object implements PathConverter
A Path converter that converts friendly blog path urls to a viewpage or viewblogposts action.This converter expects the url to have between 3 and 5 path elements and interprets them as:
- Space Key
- Year
- Month
- Day
- Title (Optional)
If the title is not specified, this converter returns a path that will show all posts for that day.
-
-
Constructor Summary
Constructors Constructor Description BlogPathConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConvertedPath
getPath(String path)
boolean
handles(String simplePath)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.atlassian.confluence.servlet.simpledisplay.PathConverter
getPath, handles
-
-
-
-
Method Detail
-
handles
public boolean handles(String simplePath)
- Specified by:
handles
in interfacePathConverter
-
getPath
public ConvertedPath getPath(String path)
- Specified by:
getPath
in interfacePathConverter
-
-