org.paneris.bibliomania.metasearch
Class BOLAndBOBBackendBase

java.lang.Object
  extended by org.paneris.bibliomania.metasearch.BOLAndBOBBackendBase
All Implemented Interfaces:
BookshopBackend
Direct Known Subclasses:
Backend, Backend

public abstract class BOLAndBOBBackendBase
extends java.lang.Object
implements BookshopBackend


Field Summary
protected  StringDbHash isbnAndImageOfPrdid
           
protected  java.lang.String thumbnailURLPrefix
           
 
Constructor Summary
BOLAndBOBBackendBase(java.io.File dbHome, java.lang.String dbName, int isbnOfPrdidCacheSize, java.lang.String thumbnailURLPrefix)
           
 
Method Summary
protected abstract  BookPageBase bookPage(byte[] text)
           
protected abstract  byte[] productPage_nonaffil(BookStocking stocking)
           
 void resolve(BookStocking stocking)
           
 java.lang.String retrievedISBNAndImage(BookStocking stocking)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.paneris.bibliomania.metasearch.BookshopBackend
booksMatching, notifiedOfferedLinkHTML, productURL
 

Field Detail

isbnAndImageOfPrdid

protected final StringDbHash isbnAndImageOfPrdid

thumbnailURLPrefix

protected final java.lang.String thumbnailURLPrefix
Constructor Detail

BOLAndBOBBackendBase

public BOLAndBOBBackendBase(java.io.File dbHome,
                            java.lang.String dbName,
                            int isbnOfPrdidCacheSize,
                            java.lang.String thumbnailURLPrefix)
                     throws java.io.FileNotFoundException,
                            com.sleepycat.db.DatabaseException
Throws:
java.io.FileNotFoundException
com.sleepycat.db.DatabaseException
Method Detail

productPage_nonaffil

protected abstract byte[] productPage_nonaffil(BookStocking stocking)
                                        throws java.io.IOException
Throws:
java.io.IOException

bookPage

protected abstract BookPageBase bookPage(byte[] text)

retrievedISBNAndImage

public java.lang.String retrievedISBNAndImage(BookStocking stocking)
                                       throws java.io.IOException
Throws:
java.io.IOException

resolve

public void resolve(BookStocking stocking)
Specified by:
resolve in interface BookshopBackend


Copyright © 2000-2009 PanEris. All Rights Reserved.