|
JBoss VFS 3.0.1.GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.vfs.util.PathTokenizer
public class PathTokenizer
PathTokenizer.
| Method Summary | |
|---|---|
static List<String> |
applySpecialPaths(List<String> pathTokens)
Apply any . |
static String |
applySpecialPaths(String path)
Apply any . |
static String |
getRemainingPath(List<String> tokens,
int i)
Get the remaining path from some tokens |
protected static String |
getRemainingPath(List<String> tokens,
int i,
int end)
Get the remaining path from some tokens |
static void |
getTokens(List<String> list,
String path)
Get the tokens that comprise this path and append them to the list. |
static List<String> |
getTokens(String path)
Get the tokens that comprise this path. |
static boolean |
isCurrentToken(String token)
Is current token. |
static boolean |
isReverseToken(String token)
Is reverse token. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
protected static String getRemainingPath(List<String> tokens,
int i,
int end)
tokens - the tokensi - the current locationend - the end index
IllegalArgumentException - for null tokens or i is out of rangepublic static List<String> getTokens(String path)
path - the path
IllegalArgumentException - if the path is null
public static void getTokens(List<String> list,
String path)
path - the path
IllegalArgumentException - if the path is null
public static String getRemainingPath(List<String> tokens,
int i)
tokens - the tokensi - the current location
IllegalArgumentException - for null tokens or i is out of range
public static String applySpecialPaths(String path)
throws IllegalArgumentException
path - the path
IllegalArgumentException
public static List<String> applySpecialPaths(List<String> pathTokens)
throws IllegalArgumentException
pathTokens - the path tokens
IllegalArgumentException - if reverse path goes over the top pathpublic static boolean isCurrentToken(String token)
token - the token to check
public static boolean isReverseToken(String token)
token - the token to check
|
JBoss VFS 3.0.1.GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||