Class StreamAssetInfo

java.lang.Object
com.jme3.asset.AssetInfo
com.jme3.asset.StreamAssetInfo

public class StreamAssetInfo extends AssetInfo
An AssetInfo wrapper for InputStreams.
  • Constructor Details

  • Method Details

    • openStream

      public InputStream openStream()
      Description copied from class: AssetInfo
      Implementations of this method should return an InputStream allowing access to the data represented by the AssetKey.

      Each invocation of this method should return a new stream to the asset data, starting at the beginning of the file.

      Specified by:
      openStream in class AssetInfo
      Returns:
      The asset data.