81 lines
1.7 KiB
Java
81 lines
1.7 KiB
Java
|
package com.kofax.mobile.sdk.g;
|
||
|
|
||
|
import com.kofax.BuildConfig;
|
||
|
import com.kofax.kmc.ken.engines.data.Image;
|
||
|
import com.kofax.kmc.ken.engines.data.ImageSource;
|
||
|
import com.kofax.kmc.kut.utilities.error.KmcException;
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
public class b {
|
||
|
String iL;
|
||
|
String imageID;
|
||
|
long oc;
|
||
|
private long rH;
|
||
|
ImageSource rQ;
|
||
|
|
||
|
public b(Image image, ImageSource imageSource) {
|
||
|
this(image, imageSource, null);
|
||
|
}
|
||
|
|
||
|
public b(Image image, String str) {
|
||
|
this(image, null, str);
|
||
|
}
|
||
|
|
||
|
private b(Image image, ImageSource imageSource, String str) {
|
||
|
if (image != null) {
|
||
|
this.imageID = image.getImageID();
|
||
|
this.oc = image.getImageSize();
|
||
|
try {
|
||
|
this.rH = new Image.FriendI(image, BuildConfig.APPLICATION_ID).getImageCreationTime();
|
||
|
} catch (KmcException unused) {
|
||
|
}
|
||
|
}
|
||
|
if (imageSource != null) {
|
||
|
this.rQ = imageSource;
|
||
|
}
|
||
|
if (str != null) {
|
||
|
this.iL = str;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public void setSource(ImageSource imageSource) {
|
||
|
this.rQ = imageSource;
|
||
|
}
|
||
|
|
||
|
public void setImageID(String str) {
|
||
|
this.imageID = str;
|
||
|
}
|
||
|
|
||
|
public void setFileSize(long j) {
|
||
|
this.oc = j;
|
||
|
}
|
||
|
|
||
|
public void setDocumentID(String str) {
|
||
|
this.iL = str;
|
||
|
}
|
||
|
|
||
|
public void setCreationTime(long j) {
|
||
|
this.rH = j;
|
||
|
}
|
||
|
|
||
|
public long iB() {
|
||
|
return this.rH;
|
||
|
}
|
||
|
|
||
|
public ImageSource getSource() {
|
||
|
return this.rQ;
|
||
|
}
|
||
|
|
||
|
public String getImageID() {
|
||
|
return this.imageID;
|
||
|
}
|
||
|
|
||
|
public long getFileSize() {
|
||
|
return this.oc;
|
||
|
}
|
||
|
|
||
|
public String getDocumentID() {
|
||
|
return this.iL;
|
||
|
}
|
||
|
}
|