Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
E
G
H
I
L
M
N
R
S
T
U
V
A
AT_SIGNS
- 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.
Autolink.LinkAttributeModifier
- Interface in
com.twitter
Autolink.LinkTextModifier
- Interface in
com.twitter
autoLinkCashtags(String)
- Method in class com.twitter.
Autolink
Auto-link $cashtag references in the provided Tweet text.
autoLinkEntities(String, List<Extractor.Entity>)
- Method in class com.twitter.
Autolink
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
cashtagClass
- Variable in class com.twitter.
Autolink
cashtagUrlBase
- Variable in class com.twitter.
Autolink
com.twitter
- package com.twitter
D
DEFAULT_CASHTAG_CLASS
- Static variable in class com.twitter.
Autolink
Default CSS class for auto-linked cashtag URLs
DEFAULT_CASHTAG_URL_BASE
- Static variable in class com.twitter.
Autolink
Default href for cashtag links (the cashtag without the $ will be appended)
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_INVISIBLE_TAG_ATTRS
- Static variable in class com.twitter.
Autolink
Default attribute for invisible span tag
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_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)
displayURL
- Variable in class com.twitter.
Extractor.Entity
E
end
- Variable in class com.twitter.
Extractor.Entity
equals(Object)
- Method in class com.twitter.
Extractor.Entity
escapeBrackets(String)
- Method in class com.twitter.
Autolink
expandedURL
- Variable in class com.twitter.
Extractor.Entity
extractCashtags(String)
- Method in class com.twitter.
Extractor
Extract $cashtag references from Tweet text.
extractCashtagsWithIndices(String)
- Method in class com.twitter.
Extractor
Extract $cashtag references from Tweet text.
extractEntitiesWithIndices(String)
- Method in class com.twitter.
Extractor
Extract URLs, @mentions, lists and #hashtag from a given text/tweet.
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.
extractMentionedScreennamesWithIndices(String)
- Method in class com.twitter.
Extractor
Extract @username references from Tweet text.
extractMentionsOrListsWithIndices(String)
- Method in class com.twitter.
Extractor
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(int, int, String, String, Extractor.Entity.Type)
- Constructor for class com.twitter.
Extractor.Entity
Extractor.Entity(int, int, String, Extractor.Entity.Type)
- Constructor for class com.twitter.
Extractor.Entity
Extractor.Entity(Matcher, Extractor.Entity.Type, int)
- Constructor for class com.twitter.
Extractor.Entity
Extractor.Entity(Matcher, Extractor.Entity.Type, int, int)
- Constructor for class com.twitter.
Extractor.Entity
Extractor.Entity.Type
- Enum in
com.twitter
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.
extractURLsWithIndices(String)
- Method in class com.twitter.
Extractor
Extract URL references from Tweet text.
extractURLWithoutProtocol
- Variable in class com.twitter.
Extractor
G
getCashtagClass()
- Method in class com.twitter.
Autolink
getCashtagUrlBase()
- Method in class com.twitter.
Autolink
getDisplayURL()
- Method in class com.twitter.
Extractor.Entity
getEnd()
- Method in class com.twitter.
Extractor.Entity
getExpandedURL()
- Method in class com.twitter.
Extractor.Entity
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
getListSlug()
- Method in class com.twitter.
Extractor.Entity
getListUrlBase()
- Method in class com.twitter.
Autolink
getShortUrlLength()
- Method in class com.twitter.
Validator
getShortUrlLengthHttps()
- Method in class com.twitter.
Validator
getStart()
- Method in class com.twitter.
Extractor.Entity
getTweetLength(String)
- Method in class com.twitter.
Validator
getType()
- Method in class com.twitter.
Extractor.Entity
getUrlClass()
- Method in class com.twitter.
Autolink
getUsernameClass()
- Method in class com.twitter.
Autolink
getUsernameUrlBase()
- Method in class com.twitter.
Autolink
getValue()
- Method in class com.twitter.
Extractor.Entity
H
hashCode()
- Method in class com.twitter.
Extractor.Entity
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
INVALID_HASHTAG_MATCH_END
- Static variable in class com.twitter.
Regex
INVALID_MENTION_MATCH_END
- Static variable in class com.twitter.
Regex
INVALID_URL_WITHOUT_PROTOCOL_MATCH_BEGIN
- Static variable in class com.twitter.
Regex
invisibleTagAttrs
- Variable in class com.twitter.
Autolink
isExtractURLWithoutProtocol()
- Method in class com.twitter.
Extractor
isNoFollow()
- Method in class com.twitter.
Autolink
isValidTweet(String)
- Method in class com.twitter.
Validator
L
linkAttributeModifier
- Variable in class com.twitter.
Autolink
linkTextModifier
- Variable in class com.twitter.
Autolink
linkToCashtag(Extractor.Entity, String, StringBuilder)
- Method in class com.twitter.
Autolink
linkToHashtag(Extractor.Entity, String, StringBuilder)
- Method in class com.twitter.
Autolink
linkToMentionAndList(Extractor.Entity, String, StringBuilder)
- Method in class com.twitter.
Autolink
linkToText(Extractor.Entity, CharSequence, Map<String, String>, StringBuilder)
- Method in class com.twitter.
Autolink
linkToTextWithSymbol(Extractor.Entity, CharSequence, CharSequence, Map<String, String>, StringBuilder)
- Method in class com.twitter.
Autolink
linkToURL(Extractor.Entity, String, StringBuilder)
- Method in class com.twitter.
Autolink
listClass
- Variable in class com.twitter.
Autolink
listSlug
- Variable in class com.twitter.
Extractor.Entity
listUrlBase
- Variable in class com.twitter.
Autolink
M
MAX_TWEET_LENGTH
- Static variable in class com.twitter.
Validator
modify(Extractor.Entity, Map<String, String>)
- Method in interface com.twitter.
Autolink.LinkAttributeModifier
modify(Extractor.Entity, CharSequence)
- Method in interface com.twitter.
Autolink.LinkTextModifier
modifyIndicesFromUnicodeToUTF16(String, List<Extractor.Entity>)
- Method in class com.twitter.
Extractor
modifyIndicesFromUTF16ToToUnicode(String, List<Extractor.Entity>)
- Method in class com.twitter.
Extractor
N
noFollow
- Variable in class com.twitter.
Autolink
R
Regex
- Class in
com.twitter
Regex()
- Constructor for class com.twitter.
Regex
RTL_CHARACTERS
- Static variable in class com.twitter.
Regex
S
setCashtagClass(String)
- Method in class com.twitter.
Autolink
Set the CSS class for auto-linked cashtag URLs
setCashtagUrlBase(String)
- Method in class com.twitter.
Autolink
Set the href base for cashtag links.
setDisplayURL(String)
- Method in class com.twitter.
Extractor.Entity
setExpandedURL(String)
- Method in class com.twitter.
Extractor.Entity
setExtractURLWithoutProtocol(boolean)
- Method in class com.twitter.
Extractor
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.
setLinkAttributeModifier(Autolink.LinkAttributeModifier)
- Method in class com.twitter.
Autolink
Set a modifier to modify attributes of a link based on an entity
setLinkTextModifier(Autolink.LinkTextModifier)
- Method in class com.twitter.
Autolink
Set a modifier to modify text of a link based on an entity
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)
setShortUrlLength(int)
- Method in class com.twitter.
Validator
setShortUrlLengthHttps(int)
- Method in class com.twitter.
Validator
setSymbolTag(String)
- Method in class com.twitter.
Autolink
Set HTML tag to be applied around #/@/# symbols in hashtags/usernames/lists/cashtag
setTextWithSymbolTag(String)
- Method in class com.twitter.
Autolink
Set HTML tag to be applied around text part of hashtags/usernames/lists/cashtag
setUrlClass(String)
- Method in class com.twitter.
Autolink
Set the CSS class for auto-linked URLs
setUrlTarget(String)
- Method in class com.twitter.
Autolink
Set the value of the target attribute in auto-linked URLs
setUsernameClass(String)
- Method in class com.twitter.
Autolink
Set the CSS class for auto-linked username URLs
setUsernameIncludeSymbol(boolean)
- Method in class com.twitter.
Autolink
Set if the at mark '@' should be included in the link (false by default)
setUsernameUrlBase(String)
- Method in class com.twitter.
Autolink
Set the href base for username links.
shortUrlLength
- Variable in class com.twitter.
Validator
shortUrlLengthHttps
- Variable in class com.twitter.
Validator
start
- Variable in class com.twitter.
Extractor.Entity
symbolTag
- Variable in class com.twitter.
Autolink
T
tag(boolean)
- Method in class com.twitter.
HitHighlighter
Format the current
highlightTag
by adding < and >.
textWithSymbolTag
- Variable in class com.twitter.
Autolink
toString()
- Method in class com.twitter.
Extractor.Entity
type
- Variable in class com.twitter.
Extractor.Entity
U
urlClass
- Variable in class com.twitter.
Autolink
urlTarget
- Variable in class com.twitter.
Autolink
usernameClass
- Variable in class com.twitter.
Autolink
usernameIncludeSymbol
- Variable in class com.twitter.
Autolink
usernameUrlBase
- Variable in class com.twitter.
Autolink
V
VALID_CASHTAG
- Static variable in class com.twitter.
Regex
VALID_CASHTAG_GROUP_BEFORE
- Static variable in class com.twitter.
Regex
VALID_CASHTAG_GROUP_CASHTAG
- Static variable in class com.twitter.
Regex
VALID_CASHTAG_GROUP_DOLLAR
- Static variable in class com.twitter.
Regex
VALID_HASHTAG
- Static variable in class com.twitter.
Regex
VALID_HASHTAG_GROUP_BEFORE
- Static variable in class com.twitter.
Regex
VALID_HASHTAG_GROUP_HASH
- Static variable in class com.twitter.
Regex
VALID_HASHTAG_GROUP_TAG
- Static variable in class com.twitter.
Regex
VALID_MENTION_OR_LIST
- Static variable in class com.twitter.
Regex
VALID_MENTION_OR_LIST_GROUP_AT
- Static variable in class com.twitter.
Regex
VALID_MENTION_OR_LIST_GROUP_BEFORE
- Static variable in class com.twitter.
Regex
VALID_MENTION_OR_LIST_GROUP_LIST
- Static variable in class com.twitter.
Regex
VALID_MENTION_OR_LIST_GROUP_USERNAME
- Static variable in class com.twitter.
Regex
VALID_REPLY
- Static variable in class com.twitter.
Regex
VALID_REPLY_GROUP_USERNAME
- Static variable in class com.twitter.
Regex
VALID_TCO_URL
- Static variable in class com.twitter.
Regex
VALID_URL
- Static variable in class com.twitter.
Regex
VALID_URL_GROUP_ALL
- Static variable in class com.twitter.
Regex
VALID_URL_GROUP_BEFORE
- Static variable in class com.twitter.
Regex
VALID_URL_GROUP_DOMAIN
- Static variable in class com.twitter.
Regex
VALID_URL_GROUP_PATH
- Static variable in class com.twitter.
Regex
VALID_URL_GROUP_PORT
- Static variable in class com.twitter.
Regex
VALID_URL_GROUP_PROTOCOL
- Static variable in class com.twitter.
Regex
VALID_URL_GROUP_QUERY_STRING
- Static variable in class com.twitter.
Regex
VALID_URL_GROUP_URL
- Static variable in class com.twitter.
Regex
Validator
- Class in
com.twitter
A class for validating Tweet texts.
Validator()
- Constructor for class com.twitter.
Validator
value
- Variable in class com.twitter.
Extractor.Entity
valueOf(String)
- Static method in enum com.twitter.
Extractor.Entity.Type
Returns the enum constant of this type with the specified name.
values()
- Static method in enum com.twitter.
Extractor.Entity.Type
Returns an array containing the constants of this enum type, in the order they are declared.
A
C
D
E
G
H
I
L
M
N
R
S
T
U
V
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2014. All Rights Reserved.