Package com.android.builder.dexing
Interface ClassFileInput
- All Superinterfaces:
AutoCloseable,Closeable
This represents input containing .class files. It is used as an input for the dexing phase.All
files are specified relative to some base directory, or .jar containing them. This is necessary
in order to process the packages properly.
When using instances of ClassFileInput make sure that you invoke Closeable.close()
after you are done using it.
-
Field Summary
FieldsModifier and TypeFieldDescriptionAccepts Unix-style or Windows-style absolute or relative path. -
Method Summary
-
Field Details
-
CLASS_MATCHER
Accepts Unix-style or Windows-style absolute or relative path.
-
-
Method Details
-
entries
- Parameters:
filter- filter specify which files should be part of the class input- Returns:
- a
Streamfor all the entries that satisfies the passed filter. - Throws:
IOException- if the jar/directory cannot be read correctly.
-
getPath
Path getPath()- Returns:
- the root
Pathof thisClassFileInput.
-