Package jme3utilities
Class StringLoader
java.lang.Object
jme3utilities.StringLoader
- All Implemented Interfaces:
com.jme3.asset.AssetLoader
An asset loader for text assets.
-
Constructor Summary
ConstructorsConstructorDescriptionThe publicly accessible no-arg constructor required byDesktopAssetManager, made explicit to avoid javadoc warnings from JDK 18. -
Method Summary
-
Constructor Details
-
StringLoader
public StringLoader()The publicly accessible no-arg constructor required byDesktopAssetManager, made explicit to avoid javadoc warnings from JDK 18.
-
-
Method Details
-
load
Load a text asset.- Specified by:
loadin interfacecom.jme3.asset.AssetLoader- Parameters:
assetInfo- the located asset (unused)- Returns:
- the text, or null in case of an error
-