Java
文章平均质量分 84
AD_LI
成功不必在我,而功力必不唐捐。
展开
-
Ant With JUnit
Ant 与 JUnit 结合的一个例子project name="junitSample" default="test"> target name="init"> property name="outdir" value="/home/AD/temp/junitSample"/> property name="reportdir" value="./rep原创 2007-09-21 17:44:00 · 708 阅读 · 0 评论 -
Ant Sample
Ant 例子 project name="application" default="all"> target name="setProps" unless="setProps" description="setup the properties"> property name="outdir" value="/home/AD/temp/app"/>原创 2007-09-21 17:45:00 · 746 阅读 · 0 评论 -
A Simple JDBC MySQL Connection.一个JDBC到MySQL的简单数据库连接.
一个简单的JDBC到MySQL数据库连接的示例,确保数据库中包含test数据库,并且其中有表ttt,表中有ID列,并包含ID为123的数据.import java.sql.*;public class SampleConnection ...{ public static void main(String[] args) ...{ try ...{原创 2007-09-21 16:47:00 · 866 阅读 · 0 评论 -
TFTP class TFTP 实现类
从书上抄来的TFTP协议,终于调试到可以运行,已发现但未解决的问题:1文件名编码装换不明确,不知是否需要转换,如过用ISO-8859-1转换中文文件名会出错.2UDP用wireshark截包UDP校验和出现错误:提示:Checksum: 0x0020 [incorrect, should be 0x131f (maybe caused by "UDP checksum offload"?)原创 2007-09-21 16:50:00 · 1160 阅读 · 0 评论 -
DOXYGEN 资料收集
标题 便利的开发文档工具-doxygen 选择自 mounTon 的 Blog原创 2007-12-09 21:06:00 · 1167 阅读 · 0 评论 -
java 编码 native2ascii工具完全揭密
导读: 1、native2ascii简介: native2ascii是sun java sdk提供的一个工具。用来将别的文本类文件(比如*.txt,*.ini,*.properties,*.java等等)编码转为Unicode编码。为什么要进行转码,原因在于程序的国际化。Unicode编码的定义:Unicode(统一码、万国码、单一码)是一种在计算机上使用的字符编码。它为每种语言中的转载 2007-12-30 22:46:00 · 829 阅读 · 0 评论