com.twitter.common.text.extractor
Class RegexExtractor.AbstractBuilder<N extends RegexExtractor,T extends RegexExtractor.AbstractBuilder<N,T>>

java.lang.Object
  extended by com.twitter.common.text.extractor.RegexExtractor.AbstractBuilder<N,T>
Direct Known Subclasses:
RegexExtractor.Builder
Enclosing class:
RegexExtractor

public abstract static class RegexExtractor.AbstractBuilder<N extends RegexExtractor,T extends RegexExtractor.AbstractBuilder<N,T>>
extends Object


Constructor Summary
protected RegexExtractor.AbstractBuilder(N transformer)
           
 
Method Summary
 N build()
           
protected  T self()
           
 T setRegexPattern(Pattern pattern)
           
 T setRegexPattern(Pattern pattern, int startGroup, int endGroup)
           
 T setTriggeringChar(char triggeringChar)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegexExtractor.AbstractBuilder

protected RegexExtractor.AbstractBuilder(N transformer)
Method Detail

self

protected T self()

setRegexPattern

public T setRegexPattern(Pattern pattern)

setRegexPattern

public T setRegexPattern(Pattern pattern,
                         int startGroup,
                         int endGroup)

setTriggeringChar

public T setTriggeringChar(char triggeringChar)

build

public N build()