|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttwitter4j.TwitterStreamFactory
public class TwitterStreamFactory
A factory class for TwitterFactory.
An instance of this class is completely thread safe and can be re-used and used concurrently.
Note that TwitterStream is NOT compatible with Google App Engine as GAE is not capable of handling requests longer than 30 seconds.
| Field Summary | |
|---|---|
protected twitter4j.conf.Configuration |
conf
|
| Constructor Summary | |
|---|---|
TwitterStreamFactory()
|
|
TwitterStreamFactory(StatusListener listener)
|
|
TwitterStreamFactory(java.lang.String configTreePath)
|
|
TwitterStreamFactory(java.lang.String configTreePath,
StatusListener listener)
|
|
| Method Summary | |
|---|---|
T |
getInstance()
Returns a instance. |
T |
getInstance(twitter4j.http.Authorization auth)
|
protected TwitterStream |
getInstance(twitter4j.conf.Configuration conf,
twitter4j.http.Authorization auth)
|
T |
getInstance(java.lang.String screenName,
java.lang.String password)
Returns a Basic Authenticated instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final twitter4j.conf.Configuration conf
| Constructor Detail |
|---|
public TwitterStreamFactory()
public TwitterStreamFactory(StatusListener listener)
public TwitterStreamFactory(java.lang.String configTreePath)
public TwitterStreamFactory(java.lang.String configTreePath,
StatusListener listener)
| Method Detail |
|---|
protected TwitterStream getInstance(twitter4j.conf.Configuration conf,
twitter4j.http.Authorization auth)
public T getInstance()
public T getInstance(twitter4j.http.Authorization auth)
public T getInstance(java.lang.String screenName,
java.lang.String password)
screenName - screen namepassword - password
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||