![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Code Factory
jhacker7
这个作者很懒,什么都没留下…
展开
-
InputStream to File
oracle.sql.BLOB img_obj = (oracle.sql.BLOB) obj; InputStream is = img_obj.getBinaryStream(); OutputStream os = new FileOutputStream(new File("new.jpg")); int read = 0; byte[] bytes = new byte[1024...原创 2011-07-25 10:22:26 · 142 阅读 · 0 评论 -
通过反射获得更详细的参数信息
private static ClassPool pool = ClassPool.getDefault(); public static void log(JoinPoint point) throws TException, NotFoundException { if (point != null) { StringBuilder sb = new StringBuil...原创 2011-11-07 13:12:06 · 141 阅读 · 0 评论