Class Tire


public class Tire extends AbstractProvider<BaseProviders>
Sources: https://www.wheel-size.com/tire/ https://en.wikipedia.org/wiki/Tire_code
Since:
2.0.2
  • Constructor Details

  • Method Details

    • code

      public String code()
      Returns a Tire Code, such as 205/60R16. Which is width in mm / aspect ratio (height to width percentage) R (radial) Rim diameter.
      Returns:
      a Tire Code String.
    • code

      public String code(String prefix)
      Returns a Tire Code prefixed with the provided String.
      Returns:
      a Tire Code string prefixed with the provided String.
    • code

      public String code(boolean defaultPrefix)
      Returns a Tire Code optionally prefixed with the default prefix (P for passenger vehicle).
      Parameters:
      defaultPrefix - if true the default prefix "P" will be included, otherwise it will not.
      Returns:
      a Tire Code string, such as P205/60R16.
    • vehicleType

      public String vehicleType()
    • width

      public String width()
    • aspectRatio

      public String aspectRatio()
    • construction

      public String construction()
    • rimSize

      public String rimSize()
    • loadIndex

      public String loadIndex()
    • speedrating

      public String speedrating()