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

Method getReader

CodenameOne/src/com/codename1/io/Util.java:120–127  ·  view source on GitHub ↗
(InputStream in)

Source from the content-addressed store, hash-verified

118 ///
119 /// the reader
120 public static InputStreamReader getReader(InputStream in) {
121 try {
122 return new InputStreamReader(in, "UTF-8");
123 } catch (UnsupportedEncodingException e) {
124 // never happens
125 throw new RuntimeException(e.toString(), e);
126 }
127 }
128
129 /// Helper to get a writer from an output stream with UTF-8 encoding
130 ///

Callers 13

parseMethod · 0.95
getLogContentMethod · 0.95
parseXMLMethod · 0.95
getStreamMethod · 0.95
streamReadyMethod · 0.95
readResponseMethod · 0.80
streamReadyMethod · 0.80
getMediaSegmentMethod · 0.80
applyStyleAttributeMethod · 0.80
JSONContentMethod · 0.80
XMLContentMethod · 0.80
wrapMethod · 0.80

Calls 1

toStringMethod · 0.65

Tested by

no test coverage detected