public class RewriteRule extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
regex |
protected Pattern |
regexPattern |
protected String |
replace |
protected String |
startsWith |
| Constructor and Description |
|---|
RewriteRule() |
| Modifier and Type | Method and Description |
|---|---|
String |
getRegex() |
String |
getReplace() |
String |
getStartsWith() |
boolean |
rewrite(StringBuilder sb) |
void |
setRegex(String regex) |
void |
setReplace(String replace) |
void |
setStartsWith(String startsWith) |
protected String startsWith
protected String regex
protected String replace
protected Pattern regexPattern
public String getStartsWith()
public void setStartsWith(String startsWith)
public String getRegex()
public void setRegex(String regex)
public String getReplace()
public void setReplace(String replace)
public boolean rewrite(StringBuilder sb)
Copyright © 2015 The International Internet Preservation Consortium. All Rights Reserved.