info.magnolia.cms.util
Class SelectorUtil
java.lang.Object
info.magnolia.cms.util.SelectorUtil
public class SelectorUtil
- extends Object
Util to handler selectors. A selector is the part between the first dot and the extension of an URI.
- Version:
- $Revision: $ ($Author: $)
- Author:
- gjoseph
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/a.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-2012 Magnolia International Ltd.. All Rights Reserved.