文件名称:FileParser:PHP CLI 文件解析器类
文件大小:9KB
文件格式:ZIP
更新时间:2024-07-22 21:32:24
PHP
这是一个 PHP CLI 脚本,用于解析特定格式的 csv 文件并以以下格式输出结果 [id] [名称] [(数量)] - [类别 1] - [类别 2] - [类别 n...] 例子: 68-OX-YH94 Carrot (5) - vegetable - green - orange - skinny 特征 The code has been tested in Ubuntu 14 and Windows 7. The code has been tested with PHP 5.4 and PHP 5.5. Factory Pattern has been used to support multiple file formats and additional parsers. This helps to keep the modification of the exis
【文件预览】:
FileParser-master
----.gitattributes(483B)
----Classes()
--------CSVFileParser.php(2KB)
--------JSONFileParser.php(367B)
--------FileParserFactory.php(2KB)
--------Base()
--------XMLFileParser.php(362B)
--------Logger.php(456B)
----log.txt(0B)
----Index.php(2KB)
----LICENSE(1KB)
----README.md(873B)
----items.csv(624B)
----Includes()
--------AppConstants.php(817B)
----RegisterSetting.php(1KB)
----.gitignore(606B)
----items.json(624B)