public interface AssetLoader
AssetLoader
is responsible
for loading a certain type of asset associated with file extension(s).
The loader will load the data in the provided AssetInfo
object by
calling AssetInfo.openStream()
, returning an object representing
the parsed data.Modifier and Type | Method and Description |
---|---|
java.lang.Object |
load(AssetInfo assetInfo)
Loads asset from the given input stream, parsing it into
an application-usable object.
|
java.lang.Object load(AssetInfo assetInfo) throws java.io.IOException
java.io.IOException
- If an I/O error occurs while loading