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

Method validExtension

app/src/processing/app/Mode.java:957–963  ·  view source on GitHub ↗

Check this extension (no dots, please) against the list of valid extensions.

(String what)

Source from the content-addressed store, hash-verified

955 * extensions.
956 */
957 public boolean validExtension(String what) {
958 String[] ext = getExtensions();
959 for (int i = 0; i < ext.length; i++) {
960 if (ext[i].equals(what)) return true;
961 }
962 return false;
963 }
964
965
966 /**

Callers 3

canEditMethod · 0.95
changeModeMethod · 0.80
nameCodeMethod · 0.80

Calls 2

getExtensionsMethod · 0.95
equalsMethod · 0.45

Tested by

no test coverage detected