com.twitter.common.text.token
Class TokenizedCharSequence.Builder

java.lang.Object
  extended by com.twitter.common.text.token.TokenizedCharSequence.Builder
Enclosing class:
TokenizedCharSequence

public static final class TokenizedCharSequence.Builder
extends Object


Constructor Summary
TokenizedCharSequence.Builder(CharSequence originalText)
           
 
Method Summary
 TokenizedCharSequence.Builder addToken(int offset, int length)
           
 TokenizedCharSequence.Builder addToken(int offset, int length, TokenType type)
           
 TokenizedCharSequence.Builder addToken(int offset, int length, TokenType type, int pos)
           
 TokenizedCharSequence build()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TokenizedCharSequence.Builder

public TokenizedCharSequence.Builder(CharSequence originalText)
Method Detail

addToken

public TokenizedCharSequence.Builder addToken(int offset,
                                              int length)

addToken

public TokenizedCharSequence.Builder addToken(int offset,
                                              int length,
                                              TokenType type)

addToken

public TokenizedCharSequence.Builder addToken(int offset,
                                              int length,
                                              TokenType type,
                                              int pos)

build

public TokenizedCharSequence build()