public static interface AndroidAssets.AssetSource
AssetManager, but this can be used to load assets from an APK expansion file if
desired.| Modifier and Type | Method and Description |
|---|---|
android.content.res.AssetFileDescriptor |
getFileDescriptor(java.lang.String assetPath)
Obtains a file descriptor for the asset at
assetPath. |
java.io.InputStream |
openStream(java.lang.String assetPath)
Opens an input stream to the asset at
assetPath. |
java.io.InputStream openStream(java.lang.String assetPath)
throws java.io.IOException
assetPath.
The path will already have the path prefix prepended.java.io.IOExceptionandroid.content.res.AssetFileDescriptor getFileDescriptor(java.lang.String assetPath)
throws java.io.IOException
assetPath.
The path will already have the path prefix prepended.java.io.IOExceptionCopyright © 2019. All Rights Reserved.