重构了EncodingDetectors#getJavaEncode(String filePath)方法,并附带部分测试数据 Co-authored-by: asiawu <asiawu3@qq.com> Co-committed-by: asiawu <asiawu3@qq.com>