com.mchange.io
Class InputStreamUtils

java.lang.Object
  extended by com.mchange.io.InputStreamUtils

Deprecated. -- use com.mchange.v1.io.InputStreamUtils

public final class InputStreamUtils
extends Object


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

compare

public static boolean compare(InputStream is1,
                              InputStream is2,
                              long num_bytes)
                       throws IOException
Deprecated. 
Throws:
IOException

compare

public static boolean compare(InputStream is1,
                              InputStream is2)
                       throws IOException
Deprecated. 
Throws:
IOException

getBytes

public static byte[] getBytes(InputStream is,
                              int max_len)
                       throws IOException
Deprecated. 
Throws:
IOException

getBytes

public static byte[] getBytes(InputStream is)
                       throws IOException
Deprecated. 
Throws:
IOException

getContentsAsString

public static String getContentsAsString(InputStream is,
                                         String enc)
                                  throws IOException,
                                         UnsupportedEncodingException
Deprecated. 
Throws:
IOException
UnsupportedEncodingException

getContentsAsString

public static String getContentsAsString(InputStream is)
                                  throws IOException
Deprecated. 
Throws:
IOException

getContentsAsString

public static String getContentsAsString(InputStream is,
                                         int max_len,
                                         String enc)
                                  throws IOException,
                                         UnsupportedEncodingException
Deprecated. 
Throws:
IOException
UnsupportedEncodingException

getContentsAsString

public static String getContentsAsString(InputStream is,
                                         int max_len)
                                  throws IOException
Deprecated. 
Throws:
IOException

getEmptyInputStream

public static InputStream getEmptyInputStream()
Deprecated. 

attemptClose

public static void attemptClose(InputStream is)
Deprecated. 

attemptClose

public static void attemptClose(InputStream is,
                                RobustMessageLogger logger)
Deprecated. 

skipFully

public static void skipFully(InputStream is,
                             long num_bytes)
                      throws EOFException,
                             IOException
Deprecated. 
Throws:
EOFException
IOException