Package jme3utilities
Class DummyLoader
java.lang.Object
jme3utilities.DummyLoader
- All Implemented Interfaces:
com.jme3.asset.AssetLoader
An asset loader that always throws an exception. This is useful since
AssetManager doesn't provide a mechanism to un-register loaders.
-
Constructor Summary
ConstructorsConstructorDescriptionThe publicly accessible no-arg constructor required byDesktopAssetManager, made explicit to avoid javadoc warnings from JDK 18. -
Method Summary
-
Constructor Details
-
DummyLoader
public DummyLoader()The publicly accessible no-arg constructor required byDesktopAssetManager, made explicit to avoid javadoc warnings from JDK 18.
-
-
Method Details
-
load
Load a located asset.- Specified by:
loadin interfacecom.jme3.asset.AssetLoader- Parameters:
assetInfo- the located asset (unused)- Returns:
- never
- Throws:
IOException- always
-