摘要: /** * 根据掩码位数计算掩码 * * @param inetMask 掩码位 * @return 子网掩码 */ public static String getNetMask(int inetMask) { StringBuilder mask = new StringBuilder(); i 阅读全文
posted @ 2018-10-19 17:23 程序虾 阅读(292) 评论(0) 推荐(0) 编辑
摘要: public class PropertiesUtil { public static Properties loadPropertFile(String filePath) { Properties properties = new Properties(); try { InputStream 阅读全文
posted @ 2017-08-25 16:04 程序虾 阅读(155) 评论(0) 推荐(0) 编辑
摘要: httpClient调用Https的post请求 阅读全文
posted @ 2017-05-27 16:51 程序虾 阅读(351) 评论(0) 推荐(0) 编辑