|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jcrom.util.PathUtils
public class PathUtils
Contains utilities used for JCR node names and paths.
| Constructor Summary | |
|---|---|
PathUtils()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
createValidName(java.lang.String str)
Creates a valid JCR node name from the String supplied, by replacing all non-alphanumeric chars. |
static java.lang.String |
replaceNonAlphanumeric(java.lang.String str,
char subst)
Replaces occurences of non-alphanumeric characters with a supplied char. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PathUtils()
| Method Detail |
|---|
public static java.lang.String replaceNonAlphanumeric(java.lang.String str,
char subst)
public static java.lang.String createValidName(java.lang.String str)
str - the input String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||