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

Method loadFileUtf8

android/src/org/coolreader/crengine/Engine.java:457–465  ·  view source on GitHub ↗
(File file)

Source from the content-addressed store, hash-verified

455 }
456
457 public String loadFileUtf8(File file) {
458 try {
459 InputStream is = new FileInputStream(file);
460 return loadResourceUtf8(is);
461 } catch (Exception e) {
462 log.e("cannot load resource from file " + file);
463 return null;
464 }
465 }
466
467 public String loadResourceUtf8(int id) {
468 try {

Callers 1

getCSSForFormatMethod · 0.80

Calls 2

loadResourceUtf8Method · 0.95
eMethod · 0.65

Tested by

no test coverage detected