Rabbit-R1/android (non root)/java/sources/com/google/zxing/client/result/VINParsedResult.java

80 lines
2.3 KiB
Java
Raw Normal View History

2024-05-21 21:08:36 +00:00
package com.google.zxing.client.result;
/* loaded from: classes3.dex */
public final class VINParsedResult extends ParsedResult {
private final String countryCode;
private final int modelYear;
private final char plantCode;
private final String sequentialNumber;
private final String vehicleAttributes;
private final String vehicleDescriptorSection;
private final String vehicleIdentifierSection;
private final String vin;
private final String worldManufacturerID;
public String getCountryCode() {
return this.countryCode;
}
public int getModelYear() {
return this.modelYear;
}
public char getPlantCode() {
return this.plantCode;
}
public String getSequentialNumber() {
return this.sequentialNumber;
}
public String getVIN() {
return this.vin;
}
public String getVehicleAttributes() {
return this.vehicleAttributes;
}
public String getVehicleDescriptorSection() {
return this.vehicleDescriptorSection;
}
public String getVehicleIdentifierSection() {
return this.vehicleIdentifierSection;
}
public String getWorldManufacturerID() {
return this.worldManufacturerID;
}
public VINParsedResult(String str, String str2, String str3, String str4, String str5, String str6, int i, char c, String str7) {
super(ParsedResultType.VIN);
this.vin = str;
this.worldManufacturerID = str2;
this.vehicleDescriptorSection = str3;
this.vehicleIdentifierSection = str4;
this.countryCode = str5;
this.vehicleAttributes = str6;
this.modelYear = i;
this.plantCode = c;
this.sequentialNumber = str7;
}
@Override // com.google.zxing.client.result.ParsedResult
public String getDisplayResult() {
StringBuilder sb = new StringBuilder(50);
sb.append(this.worldManufacturerID).append(' ');
sb.append(this.vehicleDescriptorSection).append(' ');
sb.append(this.vehicleIdentifierSection).append('\n');
String str = this.countryCode;
if (str != null) {
sb.append(str).append(' ');
}
sb.append(this.modelYear).append(' ');
sb.append(this.plantCode).append(' ');
sb.append(this.sequentialNumber).append('\n');
return sb.toString();
}
}