易截截图软件、单文件、免安装、纯绿色、仅160KB

java 常用工具类

DateTimeHelper 时间组件
/**
 *
 */
package com.ibm08001.bbs.utils;
import java.text.SimpleDateFormat;
import java.util.Date;
/**
 *
 */
public class DateTimeHelper {
        private static SimpleDateFormat FULL_SDF = new SimpleDateFormat(
                "yyyy-MM-dd HH:mm:ss");
        private static SimpleDateFormat DFULL_SDF = new SimpleDateFormat(
                "yyyy-MM-dd");
        private static SimpleDateFormat DFULL_SDF_SLASH = new SimpleDateFormat(
                "yyyy/MM/dd HH:mm");
        private static SimpleDateFormat FULL_SDF_NOSP = new SimpleDateFormat(
                "yyyyMMddHHmm");
        private static SimpleDateFormat DFULL_SDF_CN = new SimpleDateFormat(
                "yyyy年MM月dd日");
        private static SimpleDateFormat ONLY_TIME = new SimpleDateFormat("HH:mm");
        private static SimpleDateFormat MD_TIME = new SimpleDateFormat("MM-dd");
        public static String getMDTime(Date date) {
            if (date != null) {
                return MD_TIME.format(date);
            } else {
                return "";
           


相关文档:

DES加密算法源码(java版)

public class DES {
    // 声明常量字节数组
    private static final int[] IP = {
            58, 50, 42, 34, 26, 18, 10, 2, 60, 52, 44, 36, 28, 20, 12, 4, 62, 54,
         ......

java 获得MAC Address

import java.net.InetAddress;
import java.io.InputStream;
import java.io.BufferedInputStream;
import java.io.IOException;
import java.text.ParseException;
import java.util.StringTokenizer;
public final class NetworkInfo {
private final static String getMacAddress() throws IOException {
String ......

JProfiler 解决 Java 服务器的性能跟踪

来自:http://www.anymobile.org
1、摘要..........................................................................1
2、改善服务器的性能...........................................................1
3、分析器原理...................................................................2
4、JProfiler 简介... ......

JAVA开发者最常去的20个英文网站

JAVA开发者最常去的20个英文网站
1.[http://www.javaalmanac.com] – Java开发者年鉴一书的在线版本. 要想快速查到某种Java技巧的用法及示例代码, 这是一个不错的去处.
2.[http://www.onjava.com] – O’Reilly的Java网站. 每周都有新文章.
3.[http://java.sun.com] – 官方的Java开发者网站 &ndash ......

java WebService

In recent years, web services have emerged as a popular technology for remote method calls. Technically, a web service has two components:
A service that can be accessed with the SOAP transport protocol
A description of the service in the WSDL format
SOAP is an XML protocol for invoking remote me ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号