()
| 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 | // { |
no test coverage detected