Changes since
the last release

com.ebay.sdk.helper.cache
Class BaseDownloader

java.lang.Object
  extended by com.ebay.sdk.helper.cache.BaseDownloader
Direct Known Subclasses:
CategoriesDownloader, DetailsDownloader, FeaturesDownloader

public abstract class BaseDownloader
extends Object

Base class for meta-data cache

Author:
Conan & William

Field Summary
protected  ApiContext apiContext
           
protected  String FILE_EXTENSION
           
protected  String FILE_NAME_PATTERN
           
protected  String FILE_PREFIX
           
protected  String lastUpdateTime
           
protected  String ROOT_DIR
           
 
Constructor Summary
BaseDownloader(ApiContext apiContext)
           
 
Method Summary
protected abstract  String getLastUpdateTime()
           
protected  Object getObject()
           
protected abstract  Object individualCall()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

apiContext

protected ApiContext apiContext

FILE_NAME_PATTERN

protected String FILE_NAME_PATTERN

FILE_EXTENSION

protected String FILE_EXTENSION

FILE_PREFIX

protected String FILE_PREFIX

ROOT_DIR

protected String ROOT_DIR

lastUpdateTime

protected String lastUpdateTime
Constructor Detail

BaseDownloader

public BaseDownloader(ApiContext apiContext)
Method Detail

getObject

protected Object getObject()
                    throws Exception
Throws:
Exception

individualCall

protected abstract Object individualCall()
                                  throws Exception
Throws:
Exception

getLastUpdateTime

protected abstract String getLastUpdateTime()
                                     throws Exception
Throws:
Exception

Changes since
the last release

The information contained in this document is proprietary and confidential. Use of this information and the eBay API requires a Non-Disclosure Agreement (NDA) between the user and eBay Inc. For information regarding a qualifying NDA, contact Developer Relations: developer-relations@ebay.com
© 2004-2009 eBay Inc. All rights reserved.