package top.r3944realms.docchecktoolrefactored.io.reader;


import top.r3944realms.docchecktoolrefactored.core.LogicalAddressFileGenerator;

import java.util.List;

/**
 * 目录文件读取器接口
 */
public interface CatalogFileReader {
    /**
     * 读取目录文件
     *
     * @param filePath 文件路径
     * @return 记录列表
     * @throws Exception 读取异常
     */
    List<LogicalAddressFileGenerator.Record> readCatalogFile(String filePath) throws Exception;
}
