码迷,mamicode.com
首页 >  
搜索关键字:final super关键字    ( 10114个结果
android下载封装类
public?class?Download?implements?Serializable?{ ????private?static?final?int?START?=?1;?????????????????//?开始下载 ????private?static?final?int?PUBLISH?=...
分类:移动开发   时间:2014-09-04 17:14:50    阅读次数:285
[JAVA]POI各Jar包的作用
目前POI的最新发布版本是3.10_FINAL.该版本保护的jar包有: Maven artifactId Prerequisites JAR poi commons-logging, commons-codec, log4j poi-version-yyyymmdd.jar poi-scratchpad poi ...
分类:编程语言   时间:2014-09-04 17:04:09    阅读次数:311
解析小例子
/** * * @param s * @return 获网页标题 */ public String getTitle(final String s) { String regex; String title = ""; final List list = new ArrayList(...
分类:其他好文   时间:2014-09-04 16:37:29    阅读次数:164
android中checkbox的padding引发的问题
自定义checkbox中的勾选框图标,这次因为想偷懒,图标弄的大了些,然后一系列的问题就都引出来了。 1、图标比checkbox的layout_height高,看不见了。 很吐血吧,CompoundButton中的源码可以看到下面代码 protected void onDraw(Canvas canvas) { super.onDraw(canvas); final Dra...
分类:移动开发   时间:2014-09-04 11:49:39    阅读次数:232
JAVA实现https单向认证
//关于http 需要两个jar包 httpclient-4.0.jar httpcore-4.0.1.jar private static final HttpClient httpClient = new DefaultHttpClient(); try { //获得密匙库 KeyStore trustStore = KeyStore.getInstance("jks"); ...
分类:编程语言   时间:2014-09-04 09:45:28    阅读次数:347
Volley 结合GSON或FastJson用法
自定义GSON类 1 public class GsonRequest extends Request { 2 private final Gson mGson = new Gson(); 3 private final Class mClazz; 4 private fin...
分类:Web程序   时间:2014-09-04 01:25:47    阅读次数:354
Android崩溃捕获
对于Android 异常退出,主要是用到了 接口Thread.UncaughtExceptionHandler public class ErrorReport implements Thread.UncaughtExceptionHandler{ public static final String TAG = "GouMinErrorReport"; priv...
分类:移动开发   时间:2014-09-03 19:54:57    阅读次数:202
ThreadLocal<HttpServletResponse>
public class ResponseContextHolder { private static final ThreadLocal responseHolder = new NamedThreadLocal( "Response"); public static void resetRe.....
分类:其他好文   时间:2014-09-03 16:31:36    阅读次数:592
用Dialog 做自定义动画,加播放监听
final Dialog customDialog = new Dialog(this);customDialog.setTitle(R.string.attention);customDialog.setContentView(R.layout.connectionview);ImageView ...
分类:其他好文   时间:2014-09-03 12:32:36    阅读次数:192
LVS+Keepalived+http学习笔记
环境:操作系统Centos6.5X86_64(final)LVS-Master:192.168.2.32LVS-Backup:192.168.3.31VIP:192.168.2.33Web2:192.168.2.29Web4:192.168.2.301、安装LVS軟件(分别在LVS-Master和LVS-Backup中)1.1.查看是否有IPVS模块,LVS是Linux标准内核的一部分,直接被编译在内核中![root@L..
分类:其他好文   时间:2014-09-03 02:48:36    阅读次数:470
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!