|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjodd.madvoc.MadvocUtil
public class MadvocUtil
Few madvoc utilities.
| Constructor Summary | |
|---|---|
MadvocUtil()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
extractHttpMethodFromActionPath(java.lang.String actionPath)
Extracts http method from action path. |
static int |
indexOfDotAfterSlash(java.lang.String str)
Locates first dot after the last slash. |
static int |
lastIndexOfDotAfterSlash(java.lang.String str)
Locates last index of dot after the optional last slash. |
static int |
lastIndexOfSlashDot(java.lang.String str)
Locates last dot after the last slash or just slash. |
static java.lang.String |
stripHttpMethodFromActionPath(java.lang.String actionPath)
Strips http method from action path. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MadvocUtil()
| Method Detail |
|---|
public static int lastIndexOfSlashDot(java.lang.String str)
public static int lastIndexOfDotAfterSlash(java.lang.String str)
public static int indexOfDotAfterSlash(java.lang.String str)
public static java.lang.String extractHttpMethodFromActionPath(java.lang.String actionPath)
null
if no http method is specified.
public static java.lang.String stripHttpMethodFromActionPath(java.lang.String actionPath)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||