info.magnolia.cms.util
Class SelectorUtil
java.lang.Object
info.magnolia.cms.util.SelectorUtil
public class SelectorUtil
- extends Object
Util class to handle selectors. A selector is the part between the first Path.SELECTOR_DELIMITER
and the extension of an URI.
- Version:
- $Id$
Method Summary |
static String |
getSelector()
get selector as requested from the URI. |
static String |
getSelector(int index)
Get the selector by index
Warning - this might change in the future - see MAGNOLIA-2343 for details. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SelectorUtil
public SelectorUtil()
getSelector
public static String getSelector()
get selector as requested from the URI. The selector is the part between the handle and the extension.
selector("http://server/mypage~x~1~f~4~.html") = "~x~1~f~4~"
Warning - this might change in the future - see MAGNOLIA-2343 for details.
- Returns:
- selector String as requested from the URI
getSelector
public static String getSelector(int index)
- Get the selector by index
Warning - this might change in the future - see MAGNOLIA-2343 for details.
- Returns:
- the selector value
Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.