com.twitter
Class Extractor.Entity
java.lang.Object
com.twitter.Extractor.Entity
- Enclosing class:
- Extractor
public static class Extractor.Entity
- extends Object
|
Constructor Summary |
Extractor.Entity(int start,
int end,
String value,
Extractor.Entity.Type type)
|
Extractor.Entity(int start,
int end,
String value,
String listSlug,
Extractor.Entity.Type type)
|
Extractor.Entity(Matcher matcher,
Extractor.Entity.Type type,
int groupNumber)
|
Extractor.Entity(Matcher matcher,
Extractor.Entity.Type type,
int groupNumber,
int startOffset)
|
start
protected int start
end
protected int end
value
protected final String value
listSlug
protected final String listSlug
type
protected final Extractor.Entity.Type type
displayURL
protected String displayURL
expandedURL
protected String expandedURL
Extractor.Entity
public Extractor.Entity(int start,
int end,
String value,
String listSlug,
Extractor.Entity.Type type)
Extractor.Entity
public Extractor.Entity(int start,
int end,
String value,
Extractor.Entity.Type type)
Extractor.Entity
public Extractor.Entity(Matcher matcher,
Extractor.Entity.Type type,
int groupNumber)
Extractor.Entity
public Extractor.Entity(Matcher matcher,
Extractor.Entity.Type type,
int groupNumber,
int startOffset)
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object
getStart
public Integer getStart()
getEnd
public Integer getEnd()
getValue
public String getValue()
getListSlug
public String getListSlug()
getType
public Extractor.Entity.Type getType()
getDisplayURL
public String getDisplayURL()
setDisplayURL
public void setDisplayURL(String displayURL)
getExpandedURL
public String getExpandedURL()
setExpandedURL
public void setExpandedURL(String expandedURL)
Copyright © 2014. All Rights Reserved.