![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
chengjijun
这个作者很懒,什么都没留下…
展开
-
pdf的版本的问题
今天下载了个pdfbox0.7.3最新版本使用读取《java编程思想第四版》.pdf将读取的text打印出来是空空的一片,什么内容都没。后来试用pdf1.3格式的,能读出,而1.6不能读。现在不知道读取pdf的免费框架哪些能读pdf1.6的?看到此文章的朋友们,知道的请告诉我一声,谢谢。...2008-06-23 13:25:21 · 557 阅读 · 0 评论 -
试用RMI plugin for Eclipse(收录)
2006年08月19日, 凌珞 http://www.genady.net/rmi/v20/index.html上面的地址是RMI plug-in for Eclipse Version2.0的官方网页,提供了2.0版的下载,以及一点安装和使用说明。今天看到matrix上的这个广告,试用了一番。2.0版是官方最新的版本,作为Eclipse的插件,它同时支持Eclipse3....2008-02-03 09:53:41 · 186 阅读 · 0 评论 -
java中值传递和引用传递
public class ValueTest { public static void change(int a) { a = 0; a++; System.out.println(a); } public static void changeObject(A a) { if(null != a) System.out.println("is not null");...2008-02-05 09:23:05 · 69 阅读 · 0 评论 -
jdk1.5的rmi
接口IRmi[code="java"]import java.rmi.Remote;import java.rmi.RemoteException;import org.dom4j.Document;public interface IRmi extends Remote { public Document getDocument() throws Remo...2008-02-05 10:02:26 · 109 阅读 · 0 评论 -
poi 三层表头
[code="java"] // TODO Auto-generated method stub FileOutputStream fileOut = null; File file = new File("c:/1.xls"); String[] header = { "服务器名", "IP地址", "库cache命中率_最大值", "库cache命中率_平均值&quo2008-09-10 13:45:24 · 524 阅读 · 0 评论 -
jdom生成xml 、DTD验证《转》
1、创建XML文档: [code="java"]import java.io.*; import org.jdom.*; import org.jdom.input.*; import org.jdom.output.*; public class CreateXML { public void Create() { try ...2008-03-13 09:25:16 · 107 阅读 · 0 评论 -
String.equals()和String.equalsIgnoreCase()的区别
String.equals()对大小写敏感,而String.equalsIgnoreCase()忽略大小写 例如:"ABC".equals("abc")是false "ABC".equalsIgnoreCase("abc")为ture2008-03-17 12:46:07 · 137 阅读 · 0 评论 -
Beanutils使用《转》
Beanutils用了魔术般的反射技术,实现了很多夸张有用的功能,都是C/C++时代不敢想的。无论谁的项目,始终一天都会用得上它。我算是后知后觉了,第一回看到它的时候居然错过。1.属性的动态getter、setter 在这框架满天飞的年代,不能事事都保证执行getter,setter函数了,有时候属性是要根据名字动态取得的,就像这样: BeanUtils.getPropert...2008-03-17 13:03:36 · 54 阅读 · 0 评论 -
URL 获取网页内容乱码解决
[code="java"]in = url.openStream(); int all = url.openConnection().getContentLength(); byte[] b = new byte[all]; int index = 0; int count = in.read(b, index, all); while...原创 2010-09-02 10:31:59 · 410 阅读 · 0 评论