![JAR search and dependency download from the Maven repository](/logo.png)
android.content.res.AssetManager Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core Show documentation
Show all versions of core Show documentation
Stub classes to run Android projects in Desktop environment
The newest version!
package android.content.res;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.InputStream;
public class AssetManager {
public InputStream open(String path) throws FileNotFoundException {
return new FileInputStream(new File(path));
}
public String[] list(String path) {
return new File(path).list();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy