MCPcopy Index your code
hub / github.com/arduino/Arduino / getThemeZipEntry

Method getThemeZipEntry

app/src/processing/app/Theme.java:687–697  ·  view source on GitHub ↗
(String name)

Source from the content-addressed store, hash-verified

685 }
686
687 static private ZipEntry getThemeZipEntry(String name) {
688 if (zipTheme == null) {
689 return null;
690 }
691
692 if (name.startsWith(THEME_DIR)) {
693 name = name.substring(THEME_DIR.length());
694 }
695
696 return zipTheme.getZip().getEntry(name);
697 }
698
699 static private File getDefaultFile(String name) {
700 return new File(BaseNoGui.getContentFile("lib"), name);

Callers 1

getThemeResourceMethod · 0.95

Calls 1

getZipMethod · 0.80

Tested by

no test coverage detected