dalvik.system
Class DexFile

java.lang.Object
  extended by dalvik.system.DexFile

public final class DexFile
extends Object


Constructor Summary
DexFile(File file)
           
DexFile(String fileName)
           
 
Method Summary
 void close()
           
 Enumeration<String> entries()
           
protected  void finalize()
           
 String getName()
           
static boolean isDexOptNeeded(String fileName)
           
 Class loadClass(String name, ClassLoader loader)
           
static DexFile loadDex(String sourcePathName, String outputPathName, int flags)
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DexFile

public DexFile(File file)
        throws IOException
Throws:
IOException

DexFile

public DexFile(String fileName)
        throws IOException
Throws:
IOException
Method Detail

loadDex

public static DexFile loadDex(String sourcePathName,
                              String outputPathName,
                              int flags)
                       throws IOException
Throws:
IOException

getName

public String getName()

close

public void close()
           throws IOException
Throws:
IOException

loadClass

public Class loadClass(String name,
                       ClassLoader loader)

entries

public Enumeration<String> entries()

finalize

protected void finalize()
                 throws Throwable
Overrides:
finalize in class Object
Throws:
Throwable

isDexOptNeeded

public static boolean isDexOptNeeded(String fileName)
                              throws FileNotFoundException,
                                     IOException
Throws:
FileNotFoundException
IOException


Copyright © 2008-2012. All Rights Reserved.