mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-04 18:29:23 +02:00
SlovoEd -> Slovoed or Paragon
This commit is contained in:
parent
2d352e3f05
commit
b11439fce7
2 changed files with 317 additions and 317 deletions
File diff suppressed because it is too large
Load diff
|
@ -83,11 +83,11 @@ public abstract class DictionaryUtil {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private static class SlovoEdInfoReader extends ZLXMLReaderAdapter {
|
private static class ParagonInfoReader extends ZLXMLReaderAdapter {
|
||||||
private final Context myContext;
|
private final Context myContext;
|
||||||
private int myCounter;
|
private int myCounter;
|
||||||
|
|
||||||
SlovoEdInfoReader(Context context) {
|
ParagonInfoReader(Context context) {
|
||||||
myContext = context;
|
myContext = context;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -137,7 +137,7 @@ public abstract class DictionaryUtil {
|
||||||
final Thread initThread = new Thread(new Runnable() {
|
final Thread initThread = new Thread(new Runnable() {
|
||||||
public void run() {
|
public void run() {
|
||||||
new InfoReader().read(ZLFile.createFileByPath("dictionaries/main.xml"));
|
new InfoReader().read(ZLFile.createFileByPath("dictionaries/main.xml"));
|
||||||
new SlovoEdInfoReader(context).read(ZLFile.createFileByPath("dictionaries/slovoEd.xml"));
|
new ParagonInfoReader(context).read(ZLFile.createFileByPath("dictionaries/paragon.xml"));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
initThread.setPriority(Thread.MIN_PRIORITY);
|
initThread.setPriority(Thread.MIN_PRIORITY);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue