package com.epson.cameracopy.p006ui;

import android.content.Context;
import com.epson.cameracopy.device.CameraFile;
import java.io.Serializable;

/* renamed from: com.epson.cameracopy.ui.CameraFileAdapter */
/* compiled from: ImagePreviewActivity */
class CameraFileAdapter implements ImagePreviewFile, Serializable {
    private static final long serialVersionUID = 1;
    private CameraFile mCameraFile;

    public CameraFileAdapter(CameraFile cameraFile) {
        this.mCameraFile = cameraFile;
    }

    public String getImageProcFileName(Context context) {
        return this.mCameraFile.getValidFileName();
    }

    public String getPrintFileName() {
        return this.mCameraFile.getValidFileName();
    }

    public void deleteTemporaryFile() {
        this.mCameraFile.deleteTemporaryFile();
    }

    public boolean needSaveButton() {
        return this.mCameraFile.isMovable();
    }

    public boolean doSave(String str) {
        return this.mCameraFile.moveTo(str);
    }
}
