|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectthredds.logs.PathMatcher
public class PathMatcher
Duplicate thredds.servlet.PathMatcher
| Nested Class Summary | |
|---|---|
class |
PathMatcher.Match
|
| Constructor Summary | |
|---|---|
PathMatcher()
|
|
| Method Summary | |
|---|---|
PathMatcher.Match |
get(String key)
See if this object already exists in the collection, using equals(). |
Iterator |
iterator()
Get an iterator over the values, in sorted order. |
static void |
main(String[] args)
|
PathMatcher.Match |
match(String path)
Find the longest match. |
void |
put(String root,
String dir)
Add an object to the collection to be searched by a String key. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PathMatcher()
| Method Detail |
|---|
public void put(String root,
String dir)
root - sort keydir - add this object to the list to be searched.public PathMatcher.Match get(String key)
key - find object that has this key
public Iterator iterator()
public PathMatcher.Match match(String path)
path - find object with longesh match where path.startsWith( key)
public static void main(String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||