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 java.lang.Object

Base class for meta-data cache

Author:
Conan & William

Field Summary
protected  ApiContext apiContext
           
protected  java.lang.String FILE_EXTENSION
           
protected  java.lang.String FILE_NAME_PATTERN
           
protected  java.lang.String FILE_PREFIX
           
protected  java.lang.String lastUpdateTime
           
protected  java.lang.String ROOT_DIR
           
 
Constructor Summary
BaseDownloader(ApiContext apiContext)
           
 
Method Summary
protected abstract  java.lang.String getLastUpdateTime()
           
protected  java.lang.Object getObject()
           
protected abstract  java.lang.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 java.lang.String FILE_NAME_PATTERN

FILE_EXTENSION

protected java.lang.String FILE_EXTENSION

FILE_PREFIX

protected java.lang.String FILE_PREFIX

ROOT_DIR

protected java.lang.String ROOT_DIR

lastUpdateTime

protected java.lang.String lastUpdateTime
Constructor Detail

BaseDownloader

public BaseDownloader(ApiContext apiContext)
Method Detail

getObject

protected java.lang.Object getObject()
                              throws java.lang.Exception
Throws:
java.lang.Exception

individualCall

protected abstract java.lang.Object individualCall()
                                            throws java.lang.Exception
Throws:
java.lang.Exception

getLastUpdateTime

protected abstract java.lang.String getLastUpdateTime()
                                               throws java.lang.Exception
Throws:
java.lang.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.