1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-05 02:39:23 +02:00

zip fixes

library speed up
code simplification


git-svn-id: https://only.mawhrin.net/repos/FBReaderJ/trunk@942 6a642e6f-84f6-412e-ac94-c4a38d5a04b0
This commit is contained in:
Nikolay Pultsin 2009-04-19 20:11:37 +00:00
parent f22d805f8d
commit 8cdec4f09d
28 changed files with 363 additions and 476 deletions

View file

@ -29,13 +29,7 @@ import org.geometerplus.zlibrary.core.filesystem.ZLFile;
import org.geometerplus.zlibrary.core.language.ZLLanguageDetector;
public abstract class FormatPlugin {
public abstract boolean providesMetaInfo();
public abstract boolean acceptsFile(ZLFile file);
public abstract String getIconName();
public String tryOpen(String path) {
return "";
}
public abstract boolean readDescription(String path, BookDescription description);
public abstract boolean readModel(BookDescription description, BookModel model);