org.jdesktop.wonderland.client.assetmgr.modules
Class ModuleAssetRepositoryFactory

java.lang.Object
  extended by org.jdesktop.wonderland.client.assetmgr.AssetRepositoryFactory
      extended by org.jdesktop.wonderland.client.assetmgr.modules.ModuleAssetRepositoryFactory

public class ModuleAssetRepositoryFactory
extends AssetRepositoryFactory

A factory that returns an ordered list of asset repositories for an asset that is contained within a module.

Author:
Jordan Slott

Field Summary
 
Fields inherited from class org.jdesktop.wonderland.client.assetmgr.AssetRepositoryFactory
isAlwaysDownload, logger
 
Constructor Summary
ModuleAssetRepositoryFactory(AssetURI assetURI)
           
 
Method Summary
 AssetRepository[] getAssetRepositories()
          Returns an ordered list of AssetRepository objects that can be used to fetch assets.
 java.lang.String getDesiredChecksum()
          Returns the desired checksum information of the asset.
 
Methods inherited from class org.jdesktop.wonderland.client.assetmgr.AssetRepositoryFactory
getAssetURI, isAlwaysDownload
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModuleAssetRepositoryFactory

public ModuleAssetRepositoryFactory(AssetURI assetURI)
Method Detail

getDesiredChecksum

public java.lang.String getDesiredChecksum()
Description copied from class: AssetRepositoryFactory
Returns the desired checksum information of the asset. The "desired" checksum is a String that describes the "version" of the asset that should be downloaded. The "version" can be an actual checksum or it can be an HTTP if-modified-since value.

Specified by:
getDesiredChecksum in class AssetRepositoryFactory
Returns:
The desired checksum of the asset

getAssetRepositories

public AssetRepository[] getAssetRepositories()
Description copied from class: AssetRepositoryFactory
Returns an ordered list of AssetRepository objects that can be used to fetch assets.

Specified by:
getAssetRepositories in class AssetRepositoryFactory


Open Wonderland - http://openwonderland.org