com.android.dx.cf.direct
Class ClassPathOpener
java.lang.Object
com.android.dx.cf.direct.ClassPathOpener
public class ClassPathOpener
- extends Object
Opens all the class files found in a class path element. Path elements
can point to class files, {jar,zip,apk} files, or directories containing
class files.
|
Method Summary |
boolean |
process()
Processes a path element. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassPathOpener
public ClassPathOpener(String pathname,
boolean sort,
ClassPathOpener.Consumer consumer)
- Constructs an instance.
- Parameters:
pathname - non-null; path element to processsort - if true, sort such that classes appear before their inner
classes and "package-info" occurs before all other classes in that
package.consumer - non-null; callback interface
process
public boolean process()
- Processes a path element.
- Returns:
- the OR of all return values
from
Consumer.processFileBytes().
Copyright © 2012. All Rights Reserved.