android.content.res
Class AssetManager
java.lang.Object
android.content.res.AssetManager
public final class AssetManager
- extends Object
ACCESS_UNKNOWN
public static final int ACCESS_UNKNOWN
- See Also:
- Constant Field Values
ACCESS_RANDOM
public static final int ACCESS_RANDOM
- See Also:
- Constant Field Values
ACCESS_STREAMING
public static final int ACCESS_STREAMING
- See Also:
- Constant Field Values
ACCESS_BUFFER
public static final int ACCESS_BUFFER
- See Also:
- Constant Field Values
close
public void close()
open
public final InputStream open(String fileName)
throws IOException
- Throws:
IOException
open
public final InputStream open(String fileName,
int accessMode)
throws IOException
- Throws:
IOException
openFd
public final AssetFileDescriptor openFd(String fileName)
throws IOException
- Throws:
IOException
list
public final String[] list(String path)
throws IOException
- Throws:
IOException
openNonAssetFd
public final AssetFileDescriptor openNonAssetFd(String fileName)
throws IOException
- Throws:
IOException
openNonAssetFd
public final AssetFileDescriptor openNonAssetFd(int cookie,
String fileName)
throws IOException
- Throws:
IOException
openXmlResourceParser
public final XmlResourceParser openXmlResourceParser(String fileName)
throws IOException
- Throws:
IOException
openXmlResourceParser
public final XmlResourceParser openXmlResourceParser(int cookie,
String fileName)
throws IOException
- Throws:
IOException
finalize
protected void finalize()
throws Throwable
- Overrides:
finalize
in class Object
- Throws:
Throwable
getLocales
public final String[] getLocales()
Copyright © 2008-2012. All Rights Reserved.