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 ITwitterConverter
public void userToRecord(User user, Record record, IEntityExpansionPolicy entityExpansionPolicy)
userToRecord
in interface ITwitterConverter
public void userListToRecord(UserList userList, Record record, IEntityExpansionPolicy entityExpansionPolicy)
userListToRecord
in interface ITwitterConverter
public String geoLocationToString(GeoLocation[][] coordinates)
geoLocationToString
in interface ITwitterConverter
public String[] entitiesToArray(TweetEntity[] entities, String entityPrefix)
entitiesToArray
in interface ITwitterConverter
public String entitiesToString(TweetEntity[] entities, String entityPrefix, String separator)
entitiesToString
in interface ITwitterConverter
public String entityToString(TweetEntity entity)
entityToString
in interface ITwitterConverter
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.