public abstract class AssetInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected AssetKey |
key |
protected AssetManager |
manager |
Constructor and Description |
---|
AssetInfo(AssetManager manager,
AssetKey key) |
Modifier and Type | Method and Description |
---|---|
AssetKey |
getKey() |
AssetManager |
getManager() |
abstract java.io.InputStream |
openStream()
Implementations of this method should return an
InputStream
allowing access to the data represented by the AssetKey . |
java.lang.String |
toString() |
protected AssetManager manager
protected AssetKey key
public AssetInfo(AssetManager manager, AssetKey key)
public AssetKey getKey()
public AssetManager getManager()
public java.lang.String toString()
toString
in class java.lang.Object
public abstract java.io.InputStream openStream()
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.