MCPcopy Index your code
hub / github.com/benfry/processing4 / validExtension

Method validExtension

app/src/processing/app/Mode.java:754–760  ·  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

752 * extensions.
753 */
754 public boolean validExtension(String what) {
755 String[] ext = getExtensions();
756 for (String s : ext) {
757 if (s.equals(what)) return true;
758 }
759 return false;
760 }
761
762
763 /**

Callers 2

canEditMethod · 0.95
nameCodeMethod · 0.80

Calls 2

getExtensionsMethod · 0.95
equalsMethod · 0.45

Tested by

no test coverage detected