public class TextLoader extends java.lang.Object implements AssetLoader
AssetLoader
to load text
files as strings.Constructor and Description |
---|
TextLoader() |
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.
|
public java.lang.Object load(AssetInfo assetInfo) throws java.io.IOException
AssetLoader
load
in interface AssetLoader
assetInfo
- the located assetjava.io.IOException
- If an I/O error occurs while loading