Package com.mchange.io
Class InputStreamUtils
java.lang.Object
com.mchange.io.InputStreamUtils
Deprecated.
-- use com.mchange.v1.io.InputStreamUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Deprecated.static void
attemptClose
(InputStream is, RobustMessageLogger logger) Deprecated.static boolean
compare
(InputStream is1, InputStream is2) Deprecated.static boolean
compare
(InputStream is1, InputStream is2, long num_bytes) Deprecated.static byte[]
getBytes
(InputStream is) Deprecated.static byte[]
getBytes
(InputStream is, int max_len) Deprecated.static String
Deprecated.static String
getContentsAsString
(InputStream is, int max_len) Deprecated.static String
getContentsAsString
(InputStream is, int max_len, String enc) Deprecated.static String
getContentsAsString
(InputStream is, String enc) Deprecated.static InputStream
Deprecated.static void
skipFully
(InputStream is, long num_bytes) Deprecated.
-
Method Details
-
compare
Deprecated.- Throws:
IOException
-
compare
Deprecated.- Throws:
IOException
-
getBytes
Deprecated.- Throws:
IOException
-
getBytes
Deprecated.- Throws:
IOException
-
getContentsAsString
public static String getContentsAsString(InputStream is, String enc) throws IOException, UnsupportedEncodingException Deprecated. -
getContentsAsString
Deprecated.- Throws:
IOException
-
getContentsAsString
public static String getContentsAsString(InputStream is, int max_len, String enc) throws IOException, UnsupportedEncodingException Deprecated. -
getContentsAsString
Deprecated.- Throws:
IOException
-
getEmptyInputStream
Deprecated. -
attemptClose
Deprecated. -
attemptClose
Deprecated. -
skipFully
Deprecated.- Throws:
EOFException
IOException
-