public class AssetDescriptor<T>
extends java.lang.Object
AssetLoaderParameters
. Instances of this are used in
AssetLoadingTask
to load the actual asset.Modifier and Type | Field and Description |
---|---|
FileHandle |
file
The resolved file.
|
java.lang.String |
fileName |
AssetLoaderParameters |
params |
java.lang.Class<T> |
type |
Constructor and Description |
---|
AssetDescriptor(FileHandle file,
java.lang.Class<T> assetType)
Creates an AssetDescriptor with an already resolved name.
|
AssetDescriptor(FileHandle file,
java.lang.Class<T> assetType,
AssetLoaderParameters<T> params)
Creates an AssetDescriptor with an already resolved name.
|
AssetDescriptor(java.lang.String fileName,
java.lang.Class<T> assetType) |
AssetDescriptor(java.lang.String fileName,
java.lang.Class<T> assetType,
AssetLoaderParameters<T> params) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
public final java.lang.String fileName
public final java.lang.Class<T> type
public final AssetLoaderParameters params
public FileHandle file
public AssetDescriptor(java.lang.String fileName, java.lang.Class<T> assetType)
public AssetDescriptor(FileHandle file, java.lang.Class<T> assetType)
public AssetDescriptor(java.lang.String fileName, java.lang.Class<T> assetType, AssetLoaderParameters<T> params)
public AssetDescriptor(FileHandle file, java.lang.Class<T> assetType, AssetLoaderParameters<T> params)