mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-04 02:09:35 +02:00
code unification between library & network library (in progress)
This commit is contained in:
parent
f0a082c3f9
commit
3130b83204
26 changed files with 40 additions and 50 deletions
|
@ -28,6 +28,7 @@ import org.geometerplus.zlibrary.core.network.ZLNetworkManager;
|
|||
import org.geometerplus.zlibrary.core.network.ZLNetworkException;
|
||||
import org.geometerplus.zlibrary.core.network.ZLNetworkRequest;
|
||||
import org.geometerplus.zlibrary.core.language.ZLLanguageUtil;
|
||||
import org.geometerplus.zlibrary.core.resources.ZLResource;
|
||||
|
||||
import org.geometerplus.fbreader.tree.FBTree;
|
||||
import org.geometerplus.fbreader.network.tree.*;
|
||||
|
@ -44,6 +45,10 @@ public class NetworkLibrary {
|
|||
return ourInstance;
|
||||
}
|
||||
|
||||
public static ZLResource resource() {
|
||||
return ZLResource.resource("networkLibrary");
|
||||
}
|
||||
|
||||
private static class LinksComparator implements Comparator<INetworkLink> {
|
||||
private static String filterLinkTitle(String title) {
|
||||
for (int index = 0; index < title.length(); ++index) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue