So I've looked more into creating reader plugins. I think you're error came from the fact that not all the methods you have to implement in your readersdk plugin are abstract. Some are defaulted to return -1, false, or null. I haven't played too much with it, but some examples are:
AbstractBook: public int getType() returns -1
BookView: public void drawPage(Graphics2D a) throws not implemented
RendererCapabilities: public boolean acceptsFile(String a) always returns false
I'm guessing one or more of these might be the root of your problem.
|