public class TwitterAccount extends BaseMicroblogAccountImpl implements MicroblogAccount
| Constructor and Description |
|---|
TwitterAccount(TwitterAccountConfiguration configuration)
Creates a new Twitter account instance using OAuth credentials as specified
in the configuration.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFriendlyName() |
void |
updateStatus(java.lang.String text,
java.awt.image.RenderedImage image)
Updates the status for the microblogging account.
|
getStatusTypes, updateStatusclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetStatusTypes, updateStatuspublic TwitterAccount(TwitterAccountConfiguration configuration)
configuration - The configuration specific to the Twitter account.public void updateStatus(java.lang.String text,
java.awt.image.RenderedImage image)
throws MicroblogUpdateFailedException
MicroblogAccountupdateStatus in interface MicroblogAccountupdateStatus in class BaseMicroblogAccountImpltext - The text of a status updateimage - An image to be included in the status update, or null if no image
is includedMicroblogUpdateFailedException - Thrown if a status update fails for a microblog.public java.lang.String getFriendlyName()
getFriendlyName in interface MicroblogAccount