Package org.firebirdsql.util
Class IOUtils
- java.lang.Object
- 
- org.firebirdsql.util.IOUtils
 
- 
 @InternalApi public final class IOUtils extends java.lang.Object Utility methods for stream and byte array conversions.- Since:
- 3.0
- Author:
- Mark Rotteveel
 
- 
- 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcheckFromIndexSize(int fromIndex, int size, int length)static byte[]toBytes(java.io.InputStream in)static byte[]toBytes(java.io.InputStream in, int length)static java.lang.StringtoString(java.io.Reader in)static java.lang.StringtoString(java.io.Reader in, int length)
 
- 
- 
- 
Method Detail- 
toBytespublic static byte[] toBytes(java.io.InputStream in, int length) throws java.io.IOException- Throws:
- java.io.IOException
 
 - 
toBytespublic static byte[] toBytes(java.io.InputStream in) throws java.io.IOException- Throws:
- java.io.IOException
 
 - 
toStringpublic static java.lang.String toString(java.io.Reader in, int length) throws java.io.IOException- Throws:
- java.io.IOException
 
 - 
toStringpublic static java.lang.String toString(java.io.Reader in) throws java.io.IOException- Throws:
- java.io.IOException
 
 - 
checkFromIndexSizepublic static void checkFromIndexSize(int fromIndex, int size, int length)
 
- 
 
-