- 博客(4)
- 收藏
- 关注
MySQL的类型
一、数字类型 所谓的“数字类”,就是指 DECIMAL 和 NUMERIC,它们是同一种类型。它严格的说不是一种数字类型,因为他们实际上是将数字以字符串形式保存的;他的值的每一位 (包括小数点) 占一个字节的存储空间,因此这种类型耗费空间比较大。但是它的一个突出的优点是小数的位数固定,在运算中不会“失真”,所以比较适合用于“价格”、“金额”这样对精度要求不高但准确度要求非常高的字段。 ...
2007-12-13 19:00:22 227
Java解ZIP压缩文件
[code]try { // Open the ZIP file String inFilename = "infile.zip"; ZipInputStream in = new ZipInputStream(new FileInputStream(inFilename)); // Get the first entry ZipEntry entry = in.getNextEnt...
2007-12-12 15:25:10 90
Java创建ZIP压缩文件
追求简单实用的方法 [code]// These are the files to include in the ZIP file String[] filenames = new String[]{"filename1", "filename2"}; // Create a buffer for reading the files byte[] buf = new byte[10...
2007-12-12 15:23:43 129
用Spring邮件抽象层发送邮件
18.1. Introduction 介绍 Spring provides a higher level of abstraction for sending electronic mail which shields the user from the specifics of underlying mailing system and is responsible for a low l...
2007-12-12 12:12:14 236
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人