org.opencms.db
public static class CmsRewriteAliasMatcher.RewriteResult extends java.lang.Object
Constructor and Description |
---|
CmsRewriteAliasMatcher.RewriteResult(java.lang.String newPath,
CmsRewriteAlias alias)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
CmsRewriteAlias |
getAlias()
Gets the alias which matched the given path.
|
java.lang.String |
getNewPath()
Gets the path resulting from the rewrite.
|
public CmsRewriteAliasMatcher.RewriteResult(java.lang.String newPath, CmsRewriteAlias alias)
newPath
- the path resulting from the rewritealias
- the alias that matched the pathpublic CmsRewriteAlias getAlias()
public java.lang.String getNewPath()