|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cc.mallet.pipe.Pipe cc.mallet.pipe.CharSequenceReplace
public class CharSequenceReplace
Given a string, repeatedly look for matches of the regex, and replace the entire match with the given replacement string.
Field Summary | |
---|---|
static java.util.regex.Pattern |
SKIP_HEADER
|
static java.util.regex.Pattern |
SKIP_SGML
|
Constructor Summary | |
---|---|
CharSequenceReplace(java.util.regex.Pattern regex,
java.lang.String replacement)
|
Method Summary | |
---|---|
Instance |
pipe(Instance carrier)
Really this should be 'protected', but isn't for historical reasons. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.util.regex.Pattern SKIP_SGML
public static final java.util.regex.Pattern SKIP_HEADER
Constructor Detail |
---|
public CharSequenceReplace(java.util.regex.Pattern regex, java.lang.String replacement)
Method Detail |
---|
public Instance pipe(Instance carrier)
Pipe
pipe
in class Pipe
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |