Xj3D VRML/X3D Code API

org.web3d.vrml.nodes.loader
Class SimpleLoadManager

java.lang.Object
  extended byorg.web3d.vrml.nodes.loader.AbstractLoadManager
      extended byorg.web3d.vrml.nodes.loader.SimpleLoadManager
All Implemented Interfaces:
ExternalLoadManager, org.web3d.vrml.nodes.loader.LoadConstants, VRMLUrlListener

public class SimpleLoadManager
extends AbstractLoadManager

A simplistic manager for loading files that does no caching.

The loader is given a scene and told to start loading the contents. During this time items progress from pending to loading to loaded. The load manager is cancelable so that a particular scene can be interrupted part way through loading. The manager is designed to load multiple scenes in parallel or to have parallel instances of this manager loading data.

Version:
$Revision: 1.12 $
Author:
Justin Couch

Field Summary
 
Fields inherited from class org.web3d.vrml.nodes.loader.AbstractLoadManager
MEM_ALLOC_PROP, SORT_AUDIO, SORT_INLINE, SORT_ORDER_PROP, SORT_OTHER, SORT_PROTO, SORT_SCRIPT, SORT_TEXTURE
 
Constructor Summary
SimpleLoadManager()
          Create a new load manager initialised with the content loading threads ready to work.
 
Method Summary
protected  org.web3d.vrml.nodes.loader.FileCache getCache()
          Request to fetch the cache used by the derived type.
 
Methods inherited from class org.web3d.vrml.nodes.loader.AbstractLoadManager
clear, getNumberInProgress, queueExternProtoLoad, queueNodesLoad, queueSceneLoad, setErrorReporter, shutdown, stopSceneLoad, urlChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleLoadManager

public SimpleLoadManager()
Create a new load manager initialised with the content loading threads ready to work.

Method Detail

getCache

protected org.web3d.vrml.nodes.loader.FileCache getCache()
Request to fetch the cache used by the derived type.

Specified by:
getCache in class AbstractLoadManager
Returns:
The file cache instance

Xj3D VRML/X3D Code API

Copyright © 2001 - 2005 Web3D Consortium