Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.webengine.jaxrs.servlet.mapping
Class PathMatcher

java.lang.Object
  extended by org.nuxeo.ecm.webengine.jaxrs.servlet.mapping.PathMatcher

public class PathMatcher
extends Object

Author:
Bogdan Stefanescu

Field Summary
static PathMatcher ANY
           
 
Constructor Summary
PathMatcher(SegmentMatcher... matchers)
           
 
Method Summary
static PathMatcher compile(Path path)
           
static PathMatcher compile(String path)
           
 boolean matches(Path path)
           
 boolean matches(String path)
           
 boolean matches(String[] segments, int soff, int moff)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ANY

public static final PathMatcher ANY
Constructor Detail

PathMatcher

public PathMatcher(SegmentMatcher... matchers)
Method Detail

matches

public boolean matches(String path)

matches

public boolean matches(Path path)

matches

public boolean matches(String[] segments,
                       int soff,
                       int moff)

compile

public static PathMatcher compile(String path)

compile

public static PathMatcher compile(Path path)

toString

public String toString()
Overrides:
toString in class Object

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.