org.apache.axis.utils
public class IOUtils extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static int |
readFully(java.io.InputStream in,
byte[] b)
Read into a byte array; tries to ensure that the the
full buffer is read.
|
static int |
readFully(java.io.InputStream in,
byte[] b,
int off,
int len)
Same as the normal in.read(b, off, len), but tries to ensure that
the entire len number of bytes is read.
|
public static int readFully(java.io.InputStream in,
byte[] b)
throws java.io.IOException
java.io.IOExceptionreadFully(java.io.InputStream, byte[], int, int)public static int readFully(java.io.InputStream in,
byte[] b,
int off,
int len)
throws java.io.IOException
java.io.IOExceptionCopyright ? 2005 Apache Web Services Project. All Rights Reserved.