MCPcopy
hub / github.com/arduino/Arduino / getInputStream

Method getInputStream

app/src/processing/app/Theme.java:185–199  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

183 }
184
185 public InputStream getInputStream() throws IOException {
186 if (this.file != null) {
187 return new FileInputStream(this.file);
188 }
189
190 if (this.zipEntry != null) {
191 return this.theme.getZip().getInputStream(this.zipEntry);
192 }
193
194 if (this.url != null) {
195 return this.url.openStream();
196 }
197
198 throw new FileNotFoundException(this.name);
199 }
200
201 public String toString() {
202 return this.name;

Callers 15

callArduinoBuilderMethod · 0.80
executeUploadCommandMethod · 0.80
runMethod · 0.80
openMethod · 0.80
execSyncCommandMethod · 0.80
readStreamCopyToMethod · 0.80
pacProxyMethod · 0.80
getBoardByMethod · 0.80
computeSizeMethod · 0.80
runArduinoMethod · 0.80
loadMethod · 0.80

Calls 1

getZipMethod · 0.80

Tested by 2

runArduinoMethod · 0.64