Class SystemImageManager
- java.lang.Object
-
- com.android.sdklib.repository.targets.SystemImageManager
-
public class SystemImageManager extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringSYS_IMG_NAME
-
Constructor Summary
Constructors Constructor Description SystemImageManager(com.android.repository.api.RepoManager mgr, SysImgFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ISystemImagegetImageAt(java.nio.file.Path imageDir)com.google.common.collect.Multimap<com.android.repository.api.LocalPackage,SystemImage>getImageMap()Gets a map from all ourSystemImages to their containingLocalPackages.java.util.Collection<SystemImage>getImages()Gets all theSystemImages.java.util.Collection<SystemImage>lookup(IdDisplay tag, com.android.sdklib.AndroidVersion version, IdDisplay vendor)Lookup all theSystemImagewith the given property values.
-
-
-
Field Detail
-
SYS_IMG_NAME
public static final java.lang.String SYS_IMG_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SystemImageManager
public SystemImageManager(@NonNull com.android.repository.api.RepoManager mgr, @NonNull SysImgFactory factory)
-
-
Method Detail
-
getImages
@NonNull public java.util.Collection<SystemImage> getImages()
Gets all theSystemImages.
-
getImageMap
public com.google.common.collect.Multimap<com.android.repository.api.LocalPackage,SystemImage> getImageMap()
Gets a map from all ourSystemImages to their containingLocalPackages.
-
lookup
@NonNull public java.util.Collection<SystemImage> lookup(@NonNull IdDisplay tag, @NonNull com.android.sdklib.AndroidVersion version, @Nullable IdDisplay vendor)
Lookup all theSystemImagewith the given property values.
-
getImageAt
@Nullable public ISystemImage getImageAt(@NonNull java.nio.file.Path imageDir)
-
-