MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / readToString

Method readToString

CodenameOne/src/com/codename1/io/Util.java:239–241  ·  view source on GitHub ↗
(InputStream i)

Source from the content-addressed store, hash-verified

237 ///
238 /// - `IOException`: thrown by the stream
239 public static String readToString(InputStream i) throws IOException {
240 return readToString(i, "UTF-8");
241 }
242
243 /// Reads the contents of a file to a string.
244 ///

Callers 11

parseJSONMethod · 0.95
parseMethod · 0.95
readResponseMethod · 0.95
readResponseMethod · 0.95
printMethod · 0.95
readCSSFileToStringMethod · 0.95
loadBindingMethod · 0.95
testFileClassMethod · 0.95
setBrowserURLMethod · 0.95
startMethod · 0.95
invokeStatic16Method · 0.45

Calls 8

getInstanceMethod · 0.95
readInputStreamMethod · 0.95
appendMethod · 0.95
toStringMethod · 0.95
existsMethod · 0.65
openInputStreamMethod · 0.65
readMethod · 0.65
getAbsolutePathMethod · 0.45

Tested by 1

testFileClassMethod · 0.76