|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectice.util.io.IOKit
Utilities for IO support
| Constructor Summary | |
IOKit()
|
|
| Method Summary | |
static byte[] |
readAll(InputStream is)
Alias for readAll(is, DEFAULT_BUFFER_SIZE) |
static byte[] |
readAll(InputStream is,
int initialBufferSize)
Read input stream data until eof into byte array |
static char[] |
readAll(Reader r,
int initialBufferSize)
Read reader data until eof into char array |
static String |
readAllStr(Reader r,
int initialBufferSize)
Read reader data until eof into String instance |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IOKit()
| Method Detail |
public static byte[] readAll(InputStream is)
throws IOException
IOException
public static byte[] readAll(InputStream is,
int initialBufferSize)
throws IOException
is - stream to readinitialBufferSize - size of initial buffer
IOException
public static char[] readAll(Reader r,
int initialBufferSize)
throws IOException
r - reader to readinitialBufferSize - size of initial buffer
IOException
public static String readAllStr(Reader r,
int initialBufferSize)
throws IOException
r - reader to readinitialBufferSize - size of initial buffer
IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||