Class SpacePathConverter
- java.lang.Object
-
- com.atlassian.confluence.servlet.simpledisplay.SpacePathConverter
-
- All Implemented Interfaces:
PathConverter
public class SpacePathConverter extends Object implements PathConverter
This path converter takes a friendly space url and converts it into a viewspace action url. This converter expects exactly one field, the space key.This converter will return the home page.
-
-
Field Summary
Fields Modifier and Type Field Description static String
DISPLAY_SPACE_HOME_PAGE_PATH
-
Constructor Summary
Constructors Constructor Description SpacePathConverter()
-
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
-
-
-
-
Field Detail
-
DISPLAY_SPACE_HOME_PAGE_PATH
public static final String DISPLAY_SPACE_HOME_PAGE_PATH
- See Also:
- Constant Field Values
-
-
Method Detail
-
handles
public boolean handles(String simplePath)
- Specified by:
handles
in interfacePathConverter
-
getPath
public ConvertedPath getPath(String path)
- Specified by:
getPath
in interfacePathConverter
-
-