Class Streams
java.lang.Object
com.ibm.wala.util.io.Streams
Deprecated, for removal: This API element is subject to removal in a future version.
utilities for IO streams
-
Constructor Summary
ConstructorsConstructorDescriptionStreams()Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
Streams
public Streams()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
inputStream2ByteArray
@Deprecated(since="1.6.12", forRemoval=true) public static byte[] inputStream2ByteArray(InputStream in) throws IllegalArgumentException, IOException Deprecated, for removal: This API element is subject to removal in a future version.useInputStream.readAllBytes()instead.- Returns:
- byte[] holding the contents of the stream
- Throws:
IllegalArgumentException- if in == nullIOException
-
InputStream.readAllBytes()instead.