|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.limegroup.gnutella.util.IOUtils
Provides utility I/O methods, used by multiple classes
| Constructor Summary | |
IOUtils()
|
|
| Method Summary | |
static java.lang.String |
readWord(java.io.InputStream in,
int maxSize)
Returns the first word of specified maximum size up to the first space and returns it. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IOUtils()
| Method Detail |
public static java.lang.String readWord(java.io.InputStream in,
int maxSize)
throws java.io.IOException
in - The input stream from where to read the wordmaxSize - The maximum size of the word.
java.io.IOException - if the word of specified maxSize couldnt be read,
either due to stream errors, or timeouts
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||