Groovy Documentation

java.gate.yam.plugins
Class Twitter

java.lang.Object
  java.gate.yam.plugins.Twitter
All Implemented Interfaces:
YamPlugin

class Twitter

Twitter plugin for YAM.

author:
Hamish Cunningham


Constructor Summary
Twitter()

 
Method Summary
String translate(Map m, AbstractTranslator t, String target)

Translate Twitter updates in YAM pages.

 
Methods inherited from class Object
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll
 

Constructor Detail

Twitter

Twitter()


 
Method Detail

translate

public String translate(Map m, AbstractTranslator t, String target)
Translate Twitter updates in YAM pages.
param:
m a map of arguments from the YAM source
param:
t the translator that is converting the YAM document
param:
target the target output language
return:
the translation for insertion at the plugin call location An example call: %twitter(title=GATE News, account=GateAcUk, name=GATE, count=5)


 

Groovy Documentation