@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, getResource
close, exists, getEntries, getEntries, getEntry, getEntryAsZip, getFile
public Aar(@NonNull java.nio.file.Path file) throws java.io.IOException
java.io.IOException
public Aar(@NonNull java.io.File file) throws java.io.IOException
java.io.IOException
public boolean containsMainClass(@NonNull java.lang.String name) throws java.io.IOException
containsMainClass
in class AndroidArchive
java.io.IOException
public boolean containsSecondaryClass(@NonNull java.lang.String name) throws java.io.IOException
containsSecondaryClass
in class AndroidArchive
java.io.IOException
@Nullable public java.nio.file.Path getJavaResource(@NonNull java.lang.String name) throws java.io.IOException
getJavaResource
in class AndroidArchive
java.io.IOException