public class StreamJSONStatusList extends AbstractStreamBackedList<StreamJSONStatusList.ReadableWritableJSON>
Modifier and Type | Class and Description |
---|---|
static class |
StreamJSONStatusList.ReadableWritableJSON
a readable json hashmap
|
clz, consumed, headerLength, isBinary, recordLength, size
modCount
Modifier | Constructor and Description |
---|---|
protected |
StreamJSONStatusList(InputStream stream,
int size,
boolean isBinary,
int headerLength,
int recordLength,
String charset) |
Modifier and Type | Method and Description |
---|---|
static StreamJSONStatusList |
read(BufferedInputStream stream,
int nTweets)
Construct a new StreamTwitterStatusList from the given input stream.
|
static StreamJSONStatusList |
read(BufferedInputStream stream,
int nTweets,
String charset)
Construct a new StreamTwitterStatusList from the given input stream.
|
static StreamJSONStatusList |
read(InputStream stream)
Construct a new StreamTwitterStatusList from the given input stream.
|
static StreamJSONStatusList |
read(InputStream stream,
int nTweets)
Construct a new StreamTwitterStatusList from the given input stream.
|
static StreamJSONStatusList |
read(InputStream stream,
int nTweets,
String charset)
Construct a new StreamTwitterStatusList from the given input stream.
|
static StreamJSONStatusList |
read(InputStream stream,
String charset)
Construct a new StreamTwitterStatusList from the given input stream.
|
consumed, listIterator, newElementInstance, randomSubList, readRecord, readRecordASCII, remaining, size
add, addAll, get, iterator, remove, set
add, clear, equals, hashCode, indexOf, lastIndexOf, listIterator, removeRange, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, sort, spliterator, subList, toArray, toArray
parallelStream, removeIf, stream
protected StreamJSONStatusList(InputStream stream, int size, boolean isBinary, int headerLength, int recordLength, String charset) throws IOException
IOException
public static StreamJSONStatusList read(InputStream stream, int nTweets) throws IOException
stream
- the input streamnTweets
- of tweets to read from this streamIOException
- if an error occurs reading from the streampublic static StreamJSONStatusList read(InputStream stream) throws IOException
stream
- the input streamIOException
- if an error occurs reading from the streampublic static StreamJSONStatusList read(InputStream stream, int nTweets, String charset) throws IOException
stream
- the input streamnTweets
- of tweets to read from this streamcharset
- IOException
- if an error occurs reading from the streampublic static StreamJSONStatusList read(InputStream stream, String charset) throws IOException
stream
- the input streamcharset
- the charset of the underlying streamIOException
- if an error occurs reading from the streampublic static StreamJSONStatusList read(BufferedInputStream stream, int nTweets) throws IOException
stream
- the input streamnTweets
- of tweets to read from this streamIOException
- if an error occurs reading from the streampublic static StreamJSONStatusList read(BufferedInputStream stream, int nTweets, String charset) throws IOException
stream
- the input streamnTweets
- of tweets to read from this streamcharset
- the charset to read the stream asIOException
- if an error occurs reading from the stream