public class ChunkConcatReaderPool
extends java.lang.Object
| Constructor and Description |
|---|
ChunkConcatReaderPool() |
| Modifier and Type | Method and Description |
|---|---|
void |
addChunk(java.lang.String key,
java.io.Reader chunk,
boolean continued)
Return a reader if the reader specified by the key has not been previously created.
|
java.io.Reader |
getReader(java.lang.String key,
boolean create)
Returns the specified reader.
|
long |
getTimeout() |
void |
setTimeout(long timeout) |
public void addChunk(java.lang.String key,
java.io.Reader chunk,
boolean continued)
throws java.lang.IllegalArgumentException
key - chunk - continued - java.lang.IllegalArgumentExceptionpublic java.io.Reader getReader(java.lang.String key,
boolean create)
key - create - public long getTimeout()
public void setTimeout(long timeout)
Copyright © 2022. All Rights Reserved.