|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.portal.standard.security.control.RelativePath
public class RelativePath
TODO add documentation here
Nested Class Summary | |
---|---|
(package private) static class |
RelativePath.Delimiter
|
Constructor Summary | |
---|---|
RelativePath()
|
Method Summary | |
---|---|
static java.lang.String |
getFirstMatch(java.lang.String source,
java.lang.String[] delimiters)
get the first match from the many delimiters give as input |
static java.lang.String |
mapRelativePath(java.lang.String source,
java.lang.String target,
java.lang.String[] delimiters)
Maps from a source sTring to a target String, based on the delimiters given the delimiters are basically "\\" or "/", but it also could be anything else Two absolute pathes should be given here Don't give relative or non existing pathes |
static java.lang.String[] |
splitString(java.lang.String source,
java.lang.String[] delimiters)
Split a string based on the given delimiters and return an array of strings(tokens) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RelativePath()
Method Detail |
---|
public static java.lang.String getFirstMatch(java.lang.String source, java.lang.String[] delimiters)
source
- delimiters
-
public static java.lang.String[] splitString(java.lang.String source, java.lang.String[] delimiters)
source
- delimiters
-
public static java.lang.String mapRelativePath(java.lang.String source, java.lang.String target, java.lang.String[] delimiters) throws java.text.ParseException
source
- target
- delimiters
-
java.text.ParseException
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org