twitter4j
Class StatusStream

java.lang.Object
  extended by twitter4j.StatusStream

public final class StatusStream
extends java.lang.Object

Since:
Twitter4J 2.0.4
Author:
Yusuke Yamamoto - yusuke at mac.com

Method Summary
 void close()
           
 void next(StatusListener listener)
          Reads next status from this stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

next

public void next(StatusListener listener)
          throws TwitterException
Reads next status from this stream.

Parameters:
listener - a StatusListener implementation
Throws:
TwitterException - when the end of the stream has been reached.
java.lang.IllegalStateException - when the end of the stream had been reached.

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2010. All Rights Reserved.