package com.epson.cameracopy.ui;

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) {
        mCameraFile = cameraFile;
    }

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

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

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

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

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