Package com.android.support
Class AndroidxNameUtils
- java.lang.Object
-
- com.android.support.AndroidxNameUtils
-
public class AndroidxNameUtils extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AndroidxNameUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Collection<java.lang.String>getAllAndroidxCoordinates()Returns aCollectionof all the possibleandroidxmaven coordinatesstatic java.lang.StringgetCoordinateMapping(java.lang.String coordinate)Returns the mapping of a given coordinate into the newandroidxmaven coordinates.static java.lang.StringgetNewName(java.lang.String oldName)static java.lang.StringgetVersionedCoordinateMapping(java.lang.String coordinate)Returns the mapping of a given coordinate into the newandroidxmaven coordinates, including the package version.
-
-
-
Method Detail
-
getAllAndroidxCoordinates
@NonNull public static java.util.Collection<java.lang.String> getAllAndroidxCoordinates()
Returns aCollectionof all the possibleandroidxmaven coordinates
-
getCoordinateMapping
@NonNull public static java.lang.String getCoordinateMapping(@NonNull java.lang.String coordinate)Returns the mapping of a given coordinate into the newandroidxmaven coordinates. If the coordinate does not belong to the support library, the method will just return the passed coordinate.
-
getVersionedCoordinateMapping
@NonNull public static java.lang.String getVersionedCoordinateMapping(@NonNull java.lang.String coordinate)Returns the mapping of a given coordinate into the newandroidxmaven coordinates, including the package version. If the coordinate does not belong to the support library, the method will just return the passed coordinate.- Parameters:
coordinate-- Returns:
-
getNewName
@NonNull public static java.lang.String getNewName(@NonNull java.lang.String oldName)
-
-