prader6

2019年4月12日

把流的形式转化为Base64

摘要: public class Test2 { public static String get() throws IOException { InputStream resourceAsStream = Test2.class.getResourceAsStream("/image/image_1.png"); BufferedInputStream buf... 阅读全文

posted @ 2019-04-12 19:17 prader6 阅读(1026) 评论(0) 推荐(0)

读取根目录下的图片并输出到指定位置

摘要: public class Test2 { public static void main(String[] args) throws IOException { InputStream resourceAsStream = Test2.class.getResourceAsStream("/image/image_1.png"); FileOutputS... 阅读全文

posted @ 2019-04-12 15:28 prader6 阅读(424) 评论(0) 推荐(0)

导航