Nuxeo ECM Projects 5.4.3-SNAPSHOT

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

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

public class WildcardSegmentMatcher
extends SegmentMatcher

Author:
Bogdan Stefanescu

Field Summary
 
Fields inherited from class org.nuxeo.ecm.webengine.jaxrs.servlet.mapping.SegmentMatcher
ANY, ANY_SEGMENT
 
Constructor Summary
WildcardSegmentMatcher(char[] pattern)
           
WildcardSegmentMatcher(String pattern)
           
 
Method Summary
 boolean matches(char[] segment, int soff, int poff)
           
 boolean matches(String segment)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WildcardSegmentMatcher

public WildcardSegmentMatcher(String pattern)

WildcardSegmentMatcher

public WildcardSegmentMatcher(char[] pattern)
Method Detail

matches

public boolean matches(String segment)
Specified by:
matches in class SegmentMatcher

matches

public boolean matches(char[] segment,
                       int soff,
                       int poff)

toString

public String toString()
Overrides:
toString in class Object

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.