|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.iids.aos.util.IOUtils
public class IOUtils
Utility methods related to files and streams.
| Field Summary | |
|---|---|
static int |
BUFSIZE
|
| Constructor Summary | |
|---|---|
IOUtils()
|
|
| Method Summary | |
|---|---|
static void |
writeStreamToFile(java.io.InputStream inputStream,
boolean shouldBufferInput,
java.io.File file)
Writes the entire contents of an input stream to a file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int BUFSIZE
| Constructor Detail |
|---|
public IOUtils()
| Method Detail |
|---|
public static void writeStreamToFile(java.io.InputStream inputStream,
boolean shouldBufferInput,
java.io.File file)
throws java.io.IOException
shouldBufferInput - whether inputStream should be wrapped inside a BufferedInputStream
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||