Package cn.net.pap.common.jsonorm.util
Class JsonlUtil
java.lang.Object
cn.net.pap.common.jsonorm.util.JsonlUtil
jsonl 文件读写
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
readLastLine
(String filePath) 读最后一行static boolean
writeLastLine
(String filePath, String jsonData) 写入最后一行
-
Constructor Details
-
JsonlUtil
public JsonlUtil()
-
-
Method Details
-
writeLastLine
写入最后一行- Parameters:
filePath
-jsonData
-- Returns:
-
readLastLine
读最后一行- Parameters:
filePath
-- Returns:
-