public class TextInputStreamUtility
extends java.lang.Object
Constructor and Description |
---|
TextInputStreamUtility(java.io.InputStream is)
convertiert einen Text InputStream zu einem internen byte array 'contents'
input stream wird geschlossen |
Modifier and Type | Method and Description |
---|---|
byte[] |
getContentsAsByteArray()
never null
|
java.io.InputStream |
getContentsAsInputStream()
never null
|
java.lang.String |
getContentsAsString()
never null
|
public TextInputStreamUtility(java.io.InputStream is) throws java.io.IOException
UnsupportedEncodingException,
- IOExceptionNullPointerException,
- falls stream == nulljava.io.IOException
13-September-2017 07:50 Deutsches Elektronen-Synchrotron DESY in der Helmholtz-Gemeinschaft