public class RegexMatcher extends java.lang.Object implements URIxMatcher
Constructor and Description |
---|
RegexMatcher() |
RegexMatcher(java.lang.String schemePattern,
java.lang.String hostPattern) |
RegexMatcher(java.lang.String schemePattern,
java.lang.String hostPattern,
java.lang.String pathPattern) |
Modifier and Type | Method and Description |
---|---|
void |
addPortRange(int min,
int max) |
int |
advanceNumeric(java.lang.String buff,
int start,
boolean numeric) |
void |
clearPortRange() |
boolean |
matches(URIx uri) |
void |
setFragmentPattern(java.lang.String pattern) |
void |
setHostPattern(java.lang.String pattern) |
void |
setPathPattern(java.lang.String pattern) |
void |
setPortRange(int min,
int max) |
void |
setPortRange(java.lang.String rangeSet) |
void |
setQueryPattern(java.lang.String pattern) |
void |
setSchemePattern(java.lang.String pattern) |
void |
setUserPattern(java.lang.String pattern) |
java.lang.String |
toString() |
public RegexMatcher()
public RegexMatcher(java.lang.String schemePattern, java.lang.String hostPattern)
public RegexMatcher(java.lang.String schemePattern, java.lang.String hostPattern, java.lang.String pathPattern)
public void setSchemePattern(java.lang.String pattern)
public void setHostPattern(java.lang.String pattern)
public void setUserPattern(java.lang.String pattern)
public void setFragmentPattern(java.lang.String pattern)
public void setPortRange(java.lang.String rangeSet)
public int advanceNumeric(java.lang.String buff, int start, boolean numeric)
public void setPortRange(int min, int max)
public void addPortRange(int min, int max)
public void clearPortRange()
public void setPathPattern(java.lang.String pattern)
public void setQueryPattern(java.lang.String pattern)
public boolean matches(URIx uri)
matches
in interface URIxMatcher
public java.lang.String toString()
toString
in class java.lang.Object