I have a String[]
array and I need to convert it to InputStream
.
I've seen Byte[]
-> InputStream
and String
-> InputStream
, but not this. Any tips?
I have a I've seen |
|||||||||||||
|
You can construct a merged Here's a way to convert a String to InputStream in Java. |
|||||
|
Have a look at the following link: http://www.mkyong.com/java/how-to-convert-string-to-inputstream-in-java/ However, the difference in the code is that you should concatenate all the strings together in one string before converting.
|
|||||
|