|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.servlet.simpledisplay.BlogPathConverter
public class BlogPathConverter
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:
Constructor Summary | |
---|---|
BlogPathConverter()
|
Method Summary | |
---|---|
ConvertedPath |
getPath(java.lang.String path)
Returns a ConvertedPath based on the passed in path. |
boolean |
handles(java.lang.String simplePath)
Return true from this method if your path converter can convert the specified path. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BlogPathConverter()
Method Detail |
---|
public boolean handles(java.lang.String simplePath)
PathConverter
handles
in interface PathConverter
simplePath
- the path relative to the servlet mapping
public ConvertedPath getPath(java.lang.String path)
PathConverter
ConvertedPath
based on the passed in path.
getPath
in interface PathConverter
path
- the path relative to the servlet mapping
ConvertedPath
representing the path conversion
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |