@Immutable public final class Aar extends AndroidArchive
CLASS_FORMAT| Constructor and Description |
|---|
Aar(java.io.File file) |
Aar(java.nio.file.Path file) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsMainClass(java.lang.String name) |
boolean |
containsSecondaryClass(java.lang.String name) |
java.nio.file.Path |
getJavaResource(java.lang.String name) |
java.lang.String |
toString() |
checkValidClassName, containsClass, getResourceclose, exists, getEntries, getEntries, getEntry, getEntryAsZip, getFilepublic Aar(@NonNull
java.nio.file.Path file)
throws java.io.IOException
java.io.IOExceptionpublic Aar(@NonNull
java.io.File file)
throws java.io.IOException
java.io.IOExceptionpublic boolean containsMainClass(@NonNull
java.lang.String name)
throws java.io.IOException
containsMainClass in class AndroidArchivejava.io.IOExceptionpublic boolean containsSecondaryClass(@NonNull
java.lang.String name)
throws java.io.IOException
containsSecondaryClass in class AndroidArchivejava.io.IOException@Nullable
public java.nio.file.Path getJavaResource(@NonNull
java.lang.String name)
throws java.io.IOException
getJavaResource in class AndroidArchivejava.io.IOException