java.lang.Object | |
↳ | org.anddev.andengine.util.StreamUtils |
(c) 2010 Nicolas Gramlich (c) 2011 Zynga Inc.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | IO_BUFFER_SIZE |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Closes the specified stream.
| |||||||||||
Copy the content of the input stream into the output stream, using a temporary
byte array buffer whose size is defined by
IO_BUFFER_SIZE . | |||||||||||
Flushes and closes the specified stream.
| |||||||||||
Flushes and closes the specified stream.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Closes the specified stream.
pCloseable | The stream to close. |
---|
Copy the content of the input stream into the output stream, using a temporary
byte array buffer whose size is defined by IO_BUFFER_SIZE
.
pInputStream | The input stream to copy from. |
---|---|
pOutputStream | The output stream to copy to. |
pByteLimit | not more than so much bytes to read, or unlimited if smaller than 0. |
IOException | If any error occurs during the copy. |
---|
Flushes and closes the specified stream.
pOutputStream | The stream to close. |
---|
Flushes and closes the specified stream.
pWriter | The Writer to close. |
---|