com.nutiteq.io
Interface ResourceRequestor

All Known Implementing Classes:
CloudMadeDirections, CloudMadeGeocodingService, GeocodingService, com.nutiteq.kml.KmlReader, OnlineCellIdService, OpenCellIdMeasurePushTask, OpenCellIdService, OpenLSDirections, YourNavigationDirections

public interface ResourceRequestor

Interface for general resources retrieval. Resource retrieval will be handled inside library.


Method Summary
 int getCachingLevel()
          Define at which level should given resource be cached.
 void notifyError()
          Notify implementing object about retrieval error
 java.lang.String resourcePath()
          Get path to resource.
 

Method Detail

resourcePath

java.lang.String resourcePath()
Get path to resource. Currently library supports retrieval from network and application jar

Returns:
path to resource

notifyError

void notifyError()
Notify implementing object about retrieval error


getCachingLevel

int getCachingLevel()
Define at which level should given resource be cached. Check Cache

Returns:
cache level for resource