|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.plexus.summit.resolver.ResolverUtils
public class ResolverUtils
A set of utilities that help with fulling resolving a target view.
| Constructor Summary | |
|---|---|
ResolverUtils()
|
|
| Method Summary | |
|---|---|
static java.util.List |
getPossibleViews(java.lang.String target,
java.lang.String defaultTarget)
Get the parsed module name for the specified template. |
static int |
parseTargetPath(java.lang.String target,
java.lang.StringBuffer buffer)
Parse the template name collected from URL parameters or template context to a path name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResolverUtils()
| Method Detail |
|---|
public static java.util.List getPossibleViews(java.lang.String target,
java.lang.String defaultTarget)
throws java.lang.Exception
target - The target name.defaultTarget - The target to view in the current directory if the
specified target doesn't exist.
java.lang.Exception - a generaic exception.
public static int parseTargetPath(java.lang.String target,
java.lang.StringBuffer buffer)
throws java.lang.Exception
target - The template name.buffer - A buffer for the result.
java.lang.Exception - Malformed template name.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||