- java.lang.Object
-
- ilusr.core.io.StreamUtilities
-
public class StreamUtilities extends Object
- Author:
- Jeff Riggle
-
-
Constructor Summary
Constructors Constructor Description StreamUtilities()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getStreamContents(InputStream stream)
-
-
-
Method Detail
-
getStreamContents
public static String getStreamContents(InputStream stream) throws IOException
- Parameters:
stream
- A @see InputStream to read.- Returns:
- The contents including new lines as a string.
- Throws:
IOException
-
-