MCPcopy Index your code
hub / github.com/processing/processing / createReader

Method createReader

core/src/processing/core/PApplet.java:6910–6920  ·  view source on GitHub ↗

( begin auto-generated from createReader.xml ) Creates a BufferedReader object that can be used to read files line-by-line as individual String objects. This is the complement to the createWriter() function. Starting with Processing release 0134, all files loaded an

(String filename)

Source from the content-addressed store, hash-verified

6908 * @see PrintWriter
6909 */
6910 public BufferedReader createReader(String filename) {
6911 InputStream is = createInput(filename);
6912 if (is == null) {
6913 System.err.println("The file \"" + filename + "\" " +
6914 "is missing or inaccessible, make sure " +
6915 "the URL is valid or that the file has been " +
6916 "added to your sketch and is readable.");
6917 return null;
6918 }
6919 return createReader(is);
6920 }
6921
6922
6923 /**

Callers 13

handleSettingsMethod · 0.95
loadXMLMethod · 0.95
loadJSONObjectMethod · 0.95
loadJSONArrayMethod · 0.95
XMLMethod · 0.95
runMethod · 0.95
loadKeywordsMethod · 0.95
runMethod · 0.95
getHomeDirMethod · 0.95
loadMethod · 0.95
runMethod · 0.45
PShapeOBJMethod · 0.45

Calls 6

createInputMethod · 0.95
resetMethod · 0.65
printlnMethod · 0.45
getNameMethod · 0.45
readMethod · 0.45
printStackTraceMethod · 0.45

Tested by

no test coverage detected