|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.core.spool.ByteArraySpool
public class ByteArraySpool
A very simple spool that uses a ByteArray buffer. Default buffer size is 10KiB
| Constructor Summary | |
|---|---|
ByteArraySpool()
|
|
| Method Summary | |
|---|---|
int |
getInitialBufferSize()
|
void |
setInitialBufferSize(int initialBufferSize)
Configure the initial size of the byte array buffer. |
java.io.InputStream |
spool(java.io.InputStream is)
Return a new InputStream to the data provided. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ByteArraySpool()
| Method Detail |
|---|
public int getInitialBufferSize()
public void setInitialBufferSize(int initialBufferSize)
initialBufferSize - The initial size of the buffer in bytes
public java.io.InputStream spool(java.io.InputStream is)
throws java.io.IOException
Spool
spool in interface Spoolis - - Source stream to be spooled
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||