A C D E G H I L N R S T U V

A

AT_SIGNS - Static variable in class com.twitter.Regex
 
AUTO_LINK_HASHTAGS - Static variable in class com.twitter.Regex
 
AUTO_LINK_HASHTAGS_GROUP_BEFORE - Static variable in class com.twitter.Regex
 
AUTO_LINK_HASHTAGS_GROUP_HASH - Static variable in class com.twitter.Regex
 
AUTO_LINK_HASHTAGS_GROUP_TAG - Static variable in class com.twitter.Regex
 
AUTO_LINK_USERNAME_OR_LISTS_GROUP_AT - Static variable in class com.twitter.Regex
 
AUTO_LINK_USERNAME_OR_LISTS_GROUP_BEFORE - Static variable in class com.twitter.Regex
 
AUTO_LINK_USERNAME_OR_LISTS_GROUP_LIST - Static variable in class com.twitter.Regex
 
AUTO_LINK_USERNAME_OR_LISTS_GROUP_USERNAME - Static variable in class com.twitter.Regex
 
AUTO_LINK_USERNAMES_OR_LISTS - Static variable in class com.twitter.Regex
 
Autolink - Class in com.twitter
A class for adding HTML links to hashtag, username and list references in Tweet text.
Autolink() - Constructor for class com.twitter.Autolink
 
autoLink(String) - Method in class com.twitter.Autolink
Auto-link hashtags, URLs, usernames and lists.
autoLinkHashtags(String) - Method in class com.twitter.Autolink
Auto-link #hashtag references in the provided Tweet text.
autoLinkURLs(String) - Method in class com.twitter.Autolink
Auto-link URLs in the Tweet text provided.
autoLinkUsernamesAndLists(String) - Method in class com.twitter.Autolink
Auto-link the @username and @username/list references in the provided text.

C

com.twitter - package com.twitter
 
com.twitter.regex - package com.twitter.regex
 

D

DEFAULT_HASHTAG_CLASS - Static variable in class com.twitter.Autolink
Default CSS class for auto-linked hashtag URLs
DEFAULT_HASHTAG_URL_BASE - Static variable in class com.twitter.Autolink
Default href for hashtag links (the hashtag without the # will be appended)
DEFAULT_HIGHLIGHT_TAG - Static variable in class com.twitter.HitHighlighter
Default HTML tag for highlight hits
DEFAULT_LIST_CLASS - Static variable in class com.twitter.Autolink
Default CSS class for auto-linked list URLs
DEFAULT_LIST_URL_BASE - Static variable in class com.twitter.Autolink
Default href for list links (the username/list without the @ will be appended)
DEFAULT_URL_CLASS - Static variable in class com.twitter.Autolink
Default CSS class for auto-linked URLs
DEFAULT_USERNAME_CLASS - Static variable in class com.twitter.Autolink
Default CSS class for auto-linked username URLs
DEFAULT_USERNAME_URL_BASE - Static variable in class com.twitter.Autolink
Default href for username links (the username without the @ will be appended)

E

end - Variable in class com.twitter.Extractor.Entity
 
equals(Object) - Method in class com.twitter.Extractor.Entity
 
EXTRACT_MENTIONS - Static variable in class com.twitter.Regex
 
EXTRACT_MENTIONS_GROUP_AFTER - Static variable in class com.twitter.Regex
 
EXTRACT_MENTIONS_GROUP_BEFORE - Static variable in class com.twitter.Regex
 
EXTRACT_MENTIONS_GROUP_USERNAME - Static variable in class com.twitter.Regex
 
EXTRACT_REPLY - Static variable in class com.twitter.Regex
 
EXTRACT_REPLY_GROUP_USERNAME - Static variable in class com.twitter.Regex
 
extractHashtags(String) - Method in class com.twitter.Extractor
Extract #hashtag references from Tweet text.
extractHashtagsWithIndices(String) - Method in class com.twitter.Extractor
Extract #hashtag references from Tweet text.
extractMentionedScreennames(String) - Method in class com.twitter.Extractor
Extract @username references from Tweet text.
Extractor - Class in com.twitter
A class to extract usernames, lists, hashtags and URLs from Tweet text.
Extractor() - Constructor for class com.twitter.Extractor
Create a new extractor.
Extractor.Entity - Class in com.twitter
 
Extractor.Entity(Matcher, String, Integer) - Constructor for class com.twitter.Extractor.Entity
 
Extractor.Entity(Map<String, Object>, String) - Constructor for class com.twitter.Extractor.Entity
Constructor used from conformance data
extractReplyScreenname(String) - Method in class com.twitter.Extractor
Extract a @username reference from the beginning of Tweet text.
extractURLs(String) - Method in class com.twitter.Extractor
Extract URL references from Tweet text.

G

getCharacterClass() - Static method in class com.twitter.regex.Spaces
 
getHashtagClass() - Method in class com.twitter.Autolink
 
getHashtagUrlBase() - Method in class com.twitter.Autolink
 
getHighlightTag() - Method in class com.twitter.HitHighlighter
Get the current HTML tag used for phrase highlighting.
getListClass() - Method in class com.twitter.Autolink
 
getListUrlBase() - Method in class com.twitter.Autolink
 
getUrlClass() - Method in class com.twitter.Autolink
 
getUsernameClass() - Method in class com.twitter.Autolink
 
getUsernameUrlBase() - Method in class com.twitter.Autolink
 

H

hashCode() - Method in class com.twitter.Extractor.Entity
 
HASHTAG_CHARACTERS - Static variable in class com.twitter.Regex
 
hashtagClass - Variable in class com.twitter.Autolink
 
hashtagUrlBase - Variable in class com.twitter.Autolink
 
highlight(String, List<List<Integer>>) - Method in class com.twitter.HitHighlighter
Surround the hits in the provided text with an HTML tag.
highlightTag - Variable in class com.twitter.HitHighlighter
the current HTML tag used for hit highlighting
HitHighlighter - Class in com.twitter
A class for adding HTML highlighting in Tweet text (such as would be returned from a Search)
HitHighlighter() - Constructor for class com.twitter.HitHighlighter
Create a new HitHighlighter object.

I

isNoFollow() - Method in class com.twitter.Autolink
 

L

listClass - Variable in class com.twitter.Autolink
 
listUrlBase - Variable in class com.twitter.Autolink
 

N

NO_FOLLOW_HTML_ATTRIBUTE - Static variable in class com.twitter.Autolink
HTML attribute to add when noFollow is true (default)
noFollow - Variable in class com.twitter.Autolink
 

R

Regex - Class in com.twitter
 
Regex() - Constructor for class com.twitter.Regex
 

S

setHashtagClass(String) - Method in class com.twitter.Autolink
Set the CSS class for auto-linked hashtag URLs
setHashtagUrlBase(String) - Method in class com.twitter.Autolink
Set the href base for hashtag links.
setHighlightTag(String) - Method in class com.twitter.HitHighlighter
Set the current HTML tag used for phrase highlighting.
setListClass(String) - Method in class com.twitter.Autolink
Set the CSS class for auto-linked list URLs
setListUrlBase(String) - Method in class com.twitter.Autolink
Set the href base for list links.
setNoFollow(boolean) - Method in class com.twitter.Autolink
Set if the current URL links will include rel="nofollow" (true by default)
setUrlClass(String) - Method in class com.twitter.Autolink
Set the CSS class for auto-linked URLs
setUsernameClass(String) - Method in class com.twitter.Autolink
Set the CSS class for auto-linked username URLs
setUsernameUrlBase(String) - Method in class com.twitter.Autolink
Set the href base for username links.
Spaces - Class in com.twitter.regex
 
Spaces() - Constructor for class com.twitter.regex.Spaces
 
start - Variable in class com.twitter.Extractor.Entity
 

T

tag(boolean) - Method in class com.twitter.HitHighlighter
Format the current highlightTag by adding < and >.
type - Variable in class com.twitter.Extractor.Entity
 

U

urlClass - Variable in class com.twitter.Autolink
 
usernameClass - Variable in class com.twitter.Autolink
 
usernameUrlBase - Variable in class com.twitter.Autolink
 

V

VALID_URL - Static variable in class com.twitter.Regex
 
VALID_URL_GROUP_BEFORE - Static variable in class com.twitter.Regex
 
VALID_URL_GROUP_URL - Static variable in class com.twitter.Regex
 
value - Variable in class com.twitter.Extractor.Entity
 

A C D E G H I L N R S T U V

Copyright © 2010 Twitter, Inc. All Rights Reserved.