String str = "";//add your string content
InputStream inputStream = new ByteArrayInputStream(str.getBytes());
转载于:https://www.cnblogs.com/liulipeng/p/3923872.html
String str = "";//add your string content
InputStream inputStream = new ByteArrayInputStream(str.getBytes());
转载于:https://www.cnblogs.com/liulipeng/p/3923872.html