package com.epson.cameracopy.ui;

import android.widget.LinearLayout;
import android.widget.TextView;

import java.io.File;

/* renamed from: com.epson.cameracopy.ui.CurrentFolderName */
/* compiled from: FolderSelectActivity */
class CurrentFolderName {
    LinearLayout mFolderSelectCurrent = null;
    File mFolderSelectFile = null;
    TextView mFolderSelectText = null;

    CurrentFolderName(LinearLayout linearLayout, TextView textView) {
        mFolderSelectCurrent = linearLayout;
        mFolderSelectText = textView;
    }

    public void SetText(String str) {
        mFolderSelectText.setText(str);
    }

    public void SetFile(File file) {
        mFolderSelectFile = file;
        mFolderSelectText.setText(mFolderSelectFile.getName());
    }

    public void Show(boolean z) {
        if (z) {
            mFolderSelectCurrent.setVisibility(View.VISIBLE);
        } else {
            mFolderSelectCurrent.setVisibility(View.GONE);
        }
    }

    public File GetFile() {
        return mFolderSelectFile;
    }
}
