dalvik.system
Class DexFile
java.lang.Object
dalvik.system.DexFile
public final class DexFile
- extends java.lang.Object
|
Constructor Summary |
DexFile(java.io.File file)
|
DexFile(java.lang.String fileName)
|
|
Method Summary |
void |
close()
|
java.util.Enumeration<java.lang.String> |
entries()
|
protected void |
finalize()
|
java.lang.String |
getName()
|
static boolean |
isDexOptNeeded(java.lang.String fileName)
|
java.lang.Class |
loadClass(java.lang.String name,
java.lang.ClassLoader loader)
|
static DexFile |
loadDex(java.lang.String sourcePathName,
java.lang.String outputPathName,
int flags)
|
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DexFile
public DexFile(java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException
DexFile
public DexFile(java.lang.String fileName)
throws java.io.IOException
- Throws:
java.io.IOException
loadDex
public static DexFile loadDex(java.lang.String sourcePathName,
java.lang.String outputPathName,
int flags)
throws java.io.IOException
- Throws:
java.io.IOException
getName
public java.lang.String getName()
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
loadClass
public java.lang.Class loadClass(java.lang.String name,
java.lang.ClassLoader loader)
entries
public java.util.Enumeration<java.lang.String> entries()
finalize
protected void finalize()
throws java.io.IOException
- Overrides:
finalize in class java.lang.Object
- Throws:
java.io.IOException
isDexOptNeeded
public static boolean isDexOptNeeded(java.lang.String fileName)
throws java.io.FileNotFoundException,
java.io.IOException
- Throws:
java.io.FileNotFoundException
java.io.IOException
Copyright © 2008-2010. All Rights Reserved.