|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mchange.io.InputStreamUtils
public final class InputStreamUtils
Method Summary | |
---|---|
static void |
attemptClose(InputStream is)
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 |
getContentsAsString(InputStream is)
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 |
getEmptyInputStream()
Deprecated. |
static void |
skipFully(InputStream is,
long num_bytes)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean compare(InputStream is1, InputStream is2, long num_bytes) throws IOException
IOException
public static boolean compare(InputStream is1, InputStream is2) throws IOException
IOException
public static byte[] getBytes(InputStream is, int max_len) throws IOException
IOException
public static byte[] getBytes(InputStream is) throws IOException
IOException
public static String getContentsAsString(InputStream is, String enc) throws IOException, UnsupportedEncodingException
IOException
UnsupportedEncodingException
public static String getContentsAsString(InputStream is) throws IOException
IOException
public static String getContentsAsString(InputStream is, int max_len, String enc) throws IOException, UnsupportedEncodingException
IOException
UnsupportedEncodingException
public static String getContentsAsString(InputStream is, int max_len) throws IOException
IOException
public static InputStream getEmptyInputStream()
public static void attemptClose(InputStream is)
public static void attemptClose(InputStream is, RobustMessageLogger logger)
public static void skipFully(InputStream is, long num_bytes) throws EOFException, IOException
EOFException
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |