MCPcopy Create free account
hub / github.com/buggins/coolreader / loadResourceUtf8

Method loadResourceUtf8

android/src/org/coolreader/crengine/Engine.java:467–475  ·  view source on GitHub ↗
(int id)

Source from the content-addressed store, hash-verified

465 }
466
467 public String loadResourceUtf8(int id) {
468 try {
469 InputStream is = this.mActivity.getResources().openRawResource(id);
470 return loadResourceUtf8(is);
471 } catch (Exception e) {
472 log.e("cannot load resource " + id);
473 return null;
474 }
475 }
476
477 public String loadResourceUtf8(InputStream is) {
478 try {

Callers 4

loadFileUtf8Method · 0.95
workMethod · 0.80
getCSSForFormatMethod · 0.80
AboutDialogMethod · 0.80

Calls 3

eMethod · 0.65
readMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected