摘要: public static HttpURLConnection createHttpConnection(URL url, int connectTimeout, int readTimeout, Proxy proxy, Map<String, String> requestProperties, 阅读全文
posted @ 2022-07-13 15:06 dafengchui 阅读(37) 评论(0) 推荐(0)
摘要: public static int[][] readBmp(InputStream in) throws IOException { BufferedImage image = ImageIO.read(in); if (image == null) { return null; } int wid 阅读全文
posted @ 2022-07-13 15:04 dafengchui 阅读(83) 评论(0) 推荐(0)
摘要: private static String byte2Hex(byte[] b) { if (b == null) { return null; } StringBuffer result = new StringBuffer(); for (int i = 0; i < b.length; i++ 阅读全文
posted @ 2022-07-13 15:03 dafengchui 阅读(657) 评论(0) 推荐(0)
摘要: public static ArrayList<String> splitToStringList(String s, String splitChar) { ArrayList<String> list = new ArrayList<String>(); if (s == null) retur 阅读全文
posted @ 2022-07-13 15:03 dafengchui 阅读(102) 评论(0) 推荐(0)