import java.io.BufferedReader; import java.io.ByteArrayOutputStream; import java.io.IOExce…
java md5工具类 import java.security.MessageDigest; import java.security.NoSuchAlgorithmExcept…
java本身不能直接监听系统的文件操作事件,但可以用第三方开源软件监控。 在这里介绍JNotify 大家可以在sourceforge上去下载。说说用法,其实真的好简单代码如下 1.…
/** * 获得指定日期的前一天 * @param specifiedDay * @return * @throws Exception */ public static Stri…
在C语言中,可以通过宏__FILE__、__LINE__来获取文件名和行号,在Java语言中,则可以通过StackTraceElement类来获取文件名、类名、方法名、行号,具体代…
<?xml version="1.0" encoding="utf-8"?> <set xmlns:android=&qu…
在我们日常开发中,经常需要判断操作系统的版本或者系统的名字等等。这就需要我们用到jdk默认带的一些属性了。这里我对各个版本的系统都做了区分,分别能判断mac,linux,windo…
做android开发的都知道,我们在主线程中不能进行耗时太久的操作,否则就可能报ANR,所有耗时的操作都要异步进行。android中的异步方法 也很多,可…
java程序员在实际的开发中会遇到很多的单位换算问题。今天我给大家带来的是关于计算机硬盘大小的换算。多数情况下,一般要求 b,kb,mb,gb,tb,pb之间的大小转换,我们都知道…
<?xml version="1.0" encoding="utf-8"?> <set xmlns:android=&qu…
写了如下工具类: public class SystemUtil { public static String getRandomNumberByNum(int num) { St…
<?xml version="1.0" encoding="utf-8"?> <set xmlns:android=&qu…
Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me?
Thanks for sharing. I read many of your blog posts, cool, your blog is very good.
Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me.
Thanks for sharing. I read many of your blog posts, cool, your blog is very good.
Excellent blog here Also your website loads up very fast What web host are you using Can I get your affiliate link to your host I wish my web site loaded up as quickly as yours lol