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 voidDeprecated.static voidattemptClose(InputStream is, RobustMessageLogger logger) Deprecated.static booleancompare(InputStream is1, InputStream is2) Deprecated.static booleancompare(InputStream is1, InputStream is2, long num_bytes) Deprecated.static byte[]getBytes(InputStream is) Deprecated.static byte[]getBytes(InputStream is, int max_len) Deprecated.static StringDeprecated.static StringgetContentsAsString(InputStream is, int max_len) Deprecated.static StringgetContentsAsString(InputStream is, int max_len, String enc) Deprecated.static StringgetContentsAsString(InputStream is, String enc) Deprecated.static InputStreamDeprecated.static voidskipFully(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:
EOFExceptionIOException
-