Package jme3utilities

Class UncachedKey

java.lang.Object
com.jme3.asset.AssetKey<Object>
jme3utilities.UncachedKey
All Implemented Interfaces:
com.jme3.export.Savable, Cloneable

public class UncachedKey extends com.jme3.asset.AssetKey<Object>
An asset key for generic uncached assets.
  • Field Summary

    Fields inherited from class com.jme3.asset.AssetKey

    extension, folder, name
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    No-argument constructor needed by SavableClassUtil.
     
    UncachedKey(String assetPath)
    Instantiate a key for the specified asset path.
  • Method Summary

    Modifier and Type
    Method
    Description
    Class<? 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

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • UncachedKey

      protected UncachedKey()
      No-argument constructor needed by SavableClassUtil. Do not invoke directly!
    • UncachedKey

      public UncachedKey(String assetPath)
      Instantiate a key for the specified asset path.
      Parameters:
      assetPath - (not null)
  • Method Details

    • getCacheType

      public Class<? extends com.jme3.asset.cache.AssetCache> getCacheType()
      Access the preferred cache class for this asset type.
      Overrides:
      getCacheType in class com.jme3.asset.AssetKey<Object>
      Returns:
      cache class, or null for uncached