@Test public void testNotEnoughPathComponents() throws URISyntaxException { URIPattern pattern = new URIPattern("scheme:*path/:ns/:name"); Assert.assertFalse(pattern.matches("scheme: }
public boolean matches(URI uri) { return (getMatch(uri) != null); }
URIPattern { public boolean matches(URI uri) { return (getMatch(uri) != null); } }
URIPattern { public boolean matches(URI uri) { return (getMatch(uri) != null); } URIPattern(URI uri);  URIPattern(String uri); }
URIPattern { public boolean matches(URI uri) { return (getMatch(uri) != null); } URIPattern(URI uri);  URIPattern(String uri); String getScheme(); String getPatternString(); @Override boolean equals(Object o); @Override int hashCode(); URI construct(Map<String, String> options); boolean matches(URI uri); boolean matches(String uri); Map<String, String> getMatch(URI uri); Map<String, String> getMatch(String uri); Map<String, String> getLastMatch(); @Override String toString(); }
URIPattern { public boolean matches(URI uri) { return (getMatch(uri) != null); } URIPattern(URI uri);  URIPattern(String uri); String getScheme(); String getPatternString(); @Override boolean equals(Object o); @Override int hashCode(); URI construct(Map<String, String> options); boolean matches(URI uri); boolean matches(String uri); Map<String, String> getMatch(URI uri); Map<String, String> getMatch(String uri); Map<String, String> getLastMatch(); @Override String toString(); static final String SCHEME; static final String HOST; static final String PORT; static final String USERNAME; static final String PASSWORD; }