![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
文章平均质量分 79
weixin_44860552
这个作者很懒,什么都没留下…
展开
-
获取文件的编码格式
`private static String getFileCharset(InputStream sourceFile) { String charset = "GBK"; byte[] first3Bytes = new byte[3]; try { boolean checked = false; BufferedInputStream bis = new BufferedInputStream(sourc原创 2020-09-21 11:06:07 · 349 阅读 · 0 评论 -
使用Mybatis Generator自动生成实体类的中文注释
使用Mybatis Generator自动生成实体类的中文注释(用的mysql)首先我们看xml , 相关属性的含义可以查看 链接<classPathEntry location="D:\repository\mysql\mysql-connector-java\5.1.43\mysql-connector-java-5.1.43.jar"/><context ...原创 2019-08-29 18:03:17 · 1159 阅读 · 1 评论