codesimian
Class Streams
java.lang.Object
codesimian.Streams
public class Streams
- extends java.lang.Object
static functions relevant to InputStream and OutputStream
Method Summary |
static byte[] |
getAllBytesFromStream(java.io.InputStream getMyBytes)
|
static byte[] |
getAllBytesFromStream(java.io.InputStream getMyBytes,
int blockSize,
int byteLimit,
boolean busyWait)
needs to be tested |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
defaultBlockSize
public static final int defaultBlockSize
- See Also:
- Constant Field Values
defaultByteLimit
public static final int defaultByteLimit
- See Also:
- Constant Field Values
getAllBytesFromStream
public static byte[] getAllBytesFromStream(java.io.InputStream getMyBytes)
throws java.io.IOException
- Throws:
java.io.IOException
getAllBytesFromStream
public static byte[] getAllBytesFromStream(java.io.InputStream getMyBytes,
int blockSize,
int byteLimit,
boolean busyWait)
throws java.io.IOException
- needs to be tested
- Throws:
java.io.IOException