Created on 17/4/8 13:04 星期六. 字符串常量 @author SeanDragon
| 10 | * @author SeanDragon |
| 11 | */ |
| 12 | public final class StrConst { |
| 13 | |
| 14 | private StrConst() { |
| 15 | throw new UnsupportedOperationException("我是工具类,别初始化我。。。"); |
| 16 | } |
| 17 | |
| 18 | /** |
| 19 | * 默认编码 |
| 20 | */ |
| 21 | public static final String DEFAULT_CHARSET_NAME = "UTF-8"; |
| 22 | public static final Charset DEFAULT_CHARSET = Charset.forName(DEFAULT_CHARSET_NAME); |
| 23 | /** |
| 24 | * 文件分隔符 |
| 25 | */ |
| 26 | public static final String FILE_SEP = File.separator; |
| 27 | public static final String FILE_PATH_SEP = File.pathSeparator; |
| 28 | } |
nothing calls this directly
no outgoing calls
no test coverage detected