Class AndroidxNameUtils


  • public class AndroidxNameUtils
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AndroidxNameUtils

        public AndroidxNameUtils()
    • Method Detail

      • getAllAndroidxCoordinates

        @NonNull
        public static java.util.Collection<java.lang.String> getAllAndroidxCoordinates()
        Returns a Collection of all the possible androidx maven coordinates
      • getCoordinateMapping

        @NonNull
        public static java.lang.String getCoordinateMapping​(@NonNull
                                                            java.lang.String coordinate)
        Returns the mapping of a given coordinate into the new androidx maven 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 new 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.
        Parameters:
        coordinate -
        Returns:
      • getNewName

        @NonNull
        public static java.lang.String getNewName​(@NonNull
                                                  java.lang.String oldName)