分享按钮
摘要: public static boolean isValidUtf8(byte[] b,int aMaxCount){ int lLen=b.length,lCharCount=0; for(int i=0;i<lLen && lCharCount<aMaxCount;++lCharCount){ byte lByte=b[i++];//to fast operation, ++ now, ready for the following for(;;) if(lByte>=0) continue;//>=0 is nor... 阅读全文
posted @ 2011-07-20 16:22 草莓在努力 阅读(422) 评论(0) 推荐(0) 编辑
摘要: import java.net.MalformedURLException; import java.net.URL; import org.apache.commons.httpclient.Header; import org.apache.commons.httpclient.HeaderElement; import org.apache.commons.httpclient.HttpClient; import org.apache.commons.httpclient.NameValuePair; import org.apache.commons.httpclient.meth. 阅读全文
posted @ 2011-07-20 16:18 草莓在努力 阅读(532) 评论(0) 推荐(0) 编辑
摘要: 学习XML非常好的网站http://www.blogjava.net/nobody_am/archive/2008/07/01/211799.aspx 阅读全文
posted @ 2011-07-20 11:19 草莓在努力 阅读(147) 评论(0) 推荐(0) 编辑