Deprecated
-- use com.mchange.v1.io.InputStreamUtils
| Modifier and Type | Field and Description |
|---|---|
| private static InputStream |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| public static void | |
| public static boolean | |
| public static boolean | |
| public static byte[] | |
| public static byte[] | |
| public static String | |
| public static String | |
| public static String | |
| public static String | |
| public static InputStream | |
| public static void |
| EMPTY_ISTREAM | back to summary |
|---|---|
| private static InputStream EMPTY_ISTREAM | |
| InputStreamUtils | back to summary |
|---|---|
| private InputStreamUtils() | |
| attemptClose | back to summary |
|---|---|
| public static void attemptClose(InputStream is) | |
| attemptClose | back to summary |
|---|---|
| public static void attemptClose(InputStream is, RobustMessageLogger logger) | |
| compare | back to summary |
|---|---|
| public static boolean compare(InputStream is1, InputStream is2, long num_bytes) throws IOException | |
| compare | back to summary |
|---|---|
| public static boolean compare(InputStream is1, InputStream is2) throws IOException | |
| getBytes | back to summary |
|---|---|
| public static byte[] getBytes(InputStream is, int max_len) throws IOException | |
| getBytes | back to summary |
|---|---|
| public static byte[] getBytes(InputStream is) throws IOException | |
| getContentsAsString | back to summary |
|---|---|
| public static String getContentsAsString(InputStream is, String enc) throws IOException, UnsupportedEncodingException | |
| getContentsAsString | back to summary |
|---|---|
| public static String getContentsAsString(InputStream is) throws IOException | |
| getContentsAsString | back to summary |
|---|---|
| public static String getContentsAsString(InputStream is, int max_len, String enc) throws IOException, UnsupportedEncodingException | |
| getContentsAsString | back to summary |
|---|---|
| public static String getContentsAsString(InputStream is, int max_len) throws IOException | |
| getEmptyInputStream | back to summary |
|---|---|
| public static InputStream getEmptyInputStream() | |
| skipFully | back to summary |
|---|---|
| public static void skipFully(InputStream is, long num_bytes) throws EOFException, IOException | |