package com.base.datarecovery.utils;

import java.util.ArrayList;
import java.util.List;

public class LargeFileStringManager {


    private static final List<String> largeFileCopies = new ArrayList<>();
    private static int currentCopyIndex = 0;

    static {
        // 初始化并添加文案到列表
        largeFileCopies.add("Need more space? We've found large files to clean.");
        largeFileCopies.add("Optimize your storage. Large files detected.");
        largeFileCopies.add("Streamline your device storage. Time to clear large files.");
        largeFileCopies.add("Refresh your storage. Large files are ready to be cleared.");
        largeFileCopies.add("Tidy up your device. Large files identified.");
    }

    public static String getNextPrivacySpaceCopy() {
        if (largeFileCopies.isEmpty()) {
            return null; // 根据您的需要处理错误情况
        }
        String copy = largeFileCopies.get(currentCopyIndex);
        currentCopyIndex = (currentCopyIndex + 1) % largeFileCopies.size();
        return copy;
    }
}
