List of usage examples for twitter4j Version getVersion
public static String getVersion()
From source file:org.anc.lapps.datasource.twitter.TwitterDatasource.java
public TwitterDatasource() { DataSourceMetadata md = new DataSourceMetadata(); md.setEncoding("UTF-8"); md.setName("Twitter Datasource"); md.setDescription("Extracts tweets based on query from Twitter's REST API."); md.setLicense(Discriminators.Uri.APACHE2); md.setVendor("http://www.anc.org"); md.setVersion(Version.getVersion()); md.setAllow(Discriminators.Uri.ANY); metadata = Serializer.toPrettyJson(md); }