be.tomk.bloglines
Class BloglinesMailer
java.lang.Object
be.tomk.bloglines.BloglinesMailer
- public class BloglinesMailer
- extends java.lang.Object
|
Constructor Summary |
BloglinesMailer(java.lang.String username,
java.lang.String password)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BloglinesMailer
public BloglinesMailer(java.lang.String username,
java.lang.String password)
getSubscriptions
public java.lang.String getSubscriptions()
throws org.apache.commons.httpclient.HttpException,
java.io.IOException
- Throws:
org.apache.commons.httpclient.HttpException
java.io.IOException
getItemsAsString
public java.lang.String getItemsAsString()
throws org.apache.commons.httpclient.HttpException,
java.io.IOException
- Throws:
org.apache.commons.httpclient.HttpException
java.io.IOException
getItemsAsStream
public java.io.InputStream getItemsAsStream()
throws org.apache.commons.httpclient.HttpException,
java.io.IOException
- Throws:
org.apache.commons.httpclient.HttpException
java.io.IOException
main
public static void main(java.lang.String[] args)
throws javax.mail.internet.AddressException,
org.apache.commons.httpclient.HttpException,
java.io.IOException,
org.dom4j.DocumentException,
javax.mail.MessagingException
- Parameters:
args - args[0] is the Bloglines' username (the email address associated to your account),
args[1] is the password for this account.
- Throws:
org.apache.commons.httpclient.HttpException
java.io.IOException
org.dom4j.DocumentException
javax.mail.MessagingException
javax.mail.internet.AddressException