Package org.apache.axis.utils
Class IOUtils
java.lang.Object
org.apache.axis.utils.IOUtils
Utility class containing IO helper methods
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
readFully
(InputStream in, byte[] b) Read into a byte array; tries to ensure that the the full buffer is read.static int
readFully
(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.
-
Method Details
-
readFully
Read into a byte array; tries to ensure that the the full buffer is read. Helper method, just calls readFully(in, b, 0, b.length)- Throws:
IOException
- See Also:
-
readFully
Same as the normal in.read(b, off, len), but tries to ensure that the entire len number of bytes is read.- Throws:
IOException
-