|
||||||||||
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.CharSubsequence
public class CharSubsequence
Given a string, return only the portion of the string inside a regex parenthesized group.
Field Summary | |
---|---|
static java.util.regex.Pattern |
SKIP_HEADER
|
Constructor Summary | |
---|---|
CharSubsequence(java.util.regex.Pattern regex)
|
|
CharSubsequence(java.util.regex.Pattern regex,
int groupIndex)
|
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_HEADER
Constructor Detail |
---|
public CharSubsequence(java.util.regex.Pattern regex, int groupIndex)
public CharSubsequence(java.util.regex.Pattern regex)
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 |