Package jme3utilities
Class UncachedKey
java.lang.Object
com.jme3.asset.AssetKey<Object>
jme3utilities.UncachedKey
- All Implemented Interfaces:
com.jme3.export.Savable,Cloneable
An asset key for generic uncached assets.
-
Field Summary
Fields inherited from class com.jme3.asset.AssetKey
extension, folder, name -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedNo-argument constructor needed by SavableClassUtil.UncachedKey(String assetPath) Instantiate a key for the specified asset path. -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends com.jme3.asset.cache.AssetCache>Access the preferred cache class for this asset type.Methods inherited from class com.jme3.asset.AssetKey
clone, equals, getExtension, getExtension, getFolder, getFolder, getName, getProcessorType, hashCode, read, reducePath, toString, write
-
Constructor Details
-
UncachedKey
protected UncachedKey()No-argument constructor needed by SavableClassUtil. Do not invoke directly! -
UncachedKey
Instantiate a key for the specified asset path.- Parameters:
assetPath- (not null)
-
-
Method Details
-
getCacheType
Access the preferred cache class for this asset type.- Overrides:
getCacheTypein classcom.jme3.asset.AssetKey<Object>- Returns:
- cache class, or null for uncached
-