public class AndroidxNameUtils
extends java.lang.Object
Constructor and Description |
---|
AndroidxNameUtils() |
Modifier and Type | Method and Description |
---|---|
static java.util.Collection<java.lang.String> |
getAllAndroidxCoordinates()
Returns a
Collection of all the possible androidx maven coordinates |
static java.lang.String |
getCoordinateMapping(java.lang.String coordinate)
Returns the mapping of a given coordinate into the new
androidx maven coordinates. |
static java.lang.String |
getNewName(java.lang.String oldName) |
static java.lang.String |
getVersionedCoordinateMapping(java.lang.String coordinate)
Returns the mapping of a given coordinate into the new
androidx maven coordinates,
including the package version. |
@NonNull public static java.util.Collection<java.lang.String> getAllAndroidxCoordinates()
Collection
of all the possible androidx
maven coordinates@NonNull public static java.lang.String getCoordinateMapping(@NonNull java.lang.String coordinate)
androidx
maven coordinates. If
the coordinate does not belong to the support library, the method will just return the passed
coordinate.@NonNull public static java.lang.String getVersionedCoordinateMapping(@NonNull java.lang.String coordinate)
androidx
maven coordinates,
including the package version. If the coordinate does not belong to the support library,
the method will just return the passed coordinate.coordinate
- @NonNull public static java.lang.String getNewName(@NonNull java.lang.String oldName)