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

Method init

android/src/org/coolreader/crengine/Engine.java:1015–1027  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1013 }
1014
1015 private void init() throws IOException {
1016 if (initialized)
1017 throw new IllegalStateException("Already initialized");
1018 String[] fonts = findFonts();
1019 findExternalHyphDictionaries();
1020 synchronized(this) {
1021 if (!initInternal(fonts))
1022 throw new IOException("Cannot initialize CREngine JNI");
1023 }
1024 // Initialization of cache directory
1025 initCacheDirectory();
1026 initialized = true;
1027 }
1028
1029 // public void waitTasksCompletion()
1030 // {

Callers 1

runMethod · 0.95

Calls 4

findFontsMethod · 0.95
initInternalMethod · 0.95
initCacheDirectoryMethod · 0.95

Tested by

no test coverage detected