public class TwitterConverter extends Object implements ITwitterConverter
| Modifier and Type | Field and Description |
|---|---|
static TwitterConverter |
DEFAULT |
| Modifier | Constructor and Description |
|---|---|
protected |
TwitterConverter() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
entitiesToArray(TweetEntity[] entities,
String entityPrefix) |
String |
entitiesToString(TweetEntity[] entities,
String entityPrefix,
String separator) |
String |
entityToString(TweetEntity entity) |
String |
geoLocationToString(GeoLocation[][] coordinates) |
void |
tweetToRecord(Status tweet,
Record record,
IEntityExpansionPolicy entityExpansionPolicy) |
void |
userListToRecord(UserList userList,
Record record,
IEntityExpansionPolicy entityExpansionPolicy) |
void |
userToRecord(User user,
Record record,
IEntityExpansionPolicy entityExpansionPolicy) |
public static TwitterConverter DEFAULT
public void tweetToRecord(Status tweet,
Record record,
IEntityExpansionPolicy entityExpansionPolicy)
tweetToRecord in interface ITwitterConverterpublic void userToRecord(User user,
Record record,
IEntityExpansionPolicy entityExpansionPolicy)
userToRecord in interface ITwitterConverterpublic void userListToRecord(UserList userList,
Record record,
IEntityExpansionPolicy entityExpansionPolicy)
userListToRecord in interface ITwitterConverterpublic String geoLocationToString(GeoLocation[][] coordinates)
geoLocationToString in interface ITwitterConverterpublic String[] entitiesToArray(TweetEntity[] entities, String entityPrefix)
entitiesToArray in interface ITwitterConverterpublic String entitiesToString(TweetEntity[] entities, String entityPrefix, String separator)
entitiesToString in interface ITwitterConverterpublic String entityToString(TweetEntity entity)
entityToString in interface ITwitterConverterCopyright (c) 2006-2025 North Concepts Inc. All Rights Reserved.