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

Method loadStrings

core/src/processing/core/PApplet.java:7503–7520  ·  view source on GitHub ↗

@nowebref

(File file)

Source from the content-addressed store, hash-verified

7501 * @nowebref
7502 */
7503 static public String[] loadStrings(File file) {
7504 if (!file.exists()) {
7505 System.err.println(file + " does not exist, loadStrings() will return null");
7506 return null;
7507 }
7508
7509 InputStream is = createInput(file);
7510 if (is != null) {
7511 String[] outgoing = loadStrings(is);
7512 try {
7513 is.close();
7514 } catch (IOException e) {
7515 e.printStackTrace();
7516 }
7517 return outgoing;
7518 }
7519 return null;
7520 }
7521
7522
7523 /**

Callers 15

loadVertexShaderMethod · 0.95
loadFragmentShaderMethod · 0.95
loadFragmentShaderMethod · 0.95
loadVertexShaderMethod · 0.95
StringDictMethod · 0.95
FloatDictMethod · 0.95
DoubleDictMethod · 0.95
IntDictMethod · 0.95
LongDictMethod · 0.95
loadLanguageMethod · 0.95
readMethod · 0.95
loadMethod · 0.95

Calls 5

createInputMethod · 0.95
printStackTraceMethod · 0.95
arraycopyMethod · 0.80
printlnMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected