Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

JAVA¶ÁÈ¡PPTÎļþ

import java.io.InputStream;
import org.apache.lucene.document.Document;
import org.apache.poi.hslf.HSLFSlideShow;
import org.apache.poi.hslf.model.TextRun;
import org.apache.poi.hslf.model.Slide;
import org.apache.poi.hslf.usermodel.SlideShow;
public Document getDocument(Index index, String url, String title, InputStream is)
throws DocCenterException {
StringBuffer content = new StringBuffer("");
try{
SlideShow ss = new SlideShow(new HSLFSlideShow(is));//is ΪÎļþµÄInputStream£¬½¨Á¢SlideShow
Slide[] slides = ss.getSlides();//»ñµÃÿһÕÅ»ÃµÆÆ¬
for(int i=0;i<slides.length;i++){
TextRun[] t = slides[i].getTextRuns();//ΪÁËÈ¡µÃ»ÃµÆÆ¬µÄÎÄ×ÖÄÚÈÝ£¬½¨Á¢TextRun
for(int j=0;j<t.length;j++){
content.append(t[j].getText());//ÕâÀï»á½«ÎÄ×ÖÄÚÈݼӵ½contentÖÐÈ¥
}
content.append(slides[i].getTitle());
}
index.AddIndex(url, title, content.toString());
}catch(Exception ex){
System.out.println(ex.toString());
}
return null;
}


Ïà¹ØÎĵµ£º

HowTo Install Java on CentOS 4 and CentOS 5

http://writeblog.csdn.net/PostEdit.aspx?entryId=5305099
Contents
Preliminary material
Method One: A simple approach
Method Two: A less simple approach
Java for the desktop user
Java for the developer and the server environment
Requirements
Step 1. Initial setup
Step 2. Installing your favor ......

˵µØµÀµÄJavaÓïÑÔ

ʹÓÃÒ»ÖÖ³ÌÐòÉè¼ÆÓïÑÔ£¬¾ÍÓ¦¸ÃרҵµØÊ¹ÓÃËü¡£±¾ÎÄÊÇIBM developerWorksÖеÄһƪÎÄÕ£¬ËüÃèÊöµÄ¶¼ÊÇJava±à³ÌÖеÄϸ½ÚÎÊÌ⣬¾¡¹ÜÈç´Ë£¬»¹ÊÇÖµµÃ´ó¼ÒÍæÎ¶Ò»·¬£¬ÖÁÉÙÎÒ×÷ΪһÃûÀÏÄñ»¹ÊÇ´ÓÖÐÊÜÒæÁË¡£(2010.02.09×îºó¸üÐÂ)
    ѧϰһÖÖеijÌÐòÉè¼ÆÓïÑÔ±ÈѧϰһÖÖеĿÚÍ·ÓïÑÔÒªÈÝÒס£µ«ÊÇ£¬ÔÚÕâÁ½ÖÖŬÁ¦ÖУ¬¶¼Ð ......

javaÖеÄfinal¹Ø¼ü×ÖËùÆðµÄ×÷ÓÃ

finalµÄ×÷ÓÃËæ×ÅËùÐÞÊεÄÀàÐͶø²»Í¬
       1¡¢finalÐÞÊÎÀàÖеÄÊôÐÔ»òÕß±äÁ¿
              ÎÞÂÛÊôÐÔÊÇ»ù±¾ÀàÐÍ»¹ÊÇÒýÓÃÀàÐÍ£¬finalËùÆðµÄ×÷Óö¼ÊDZäÁ¿ÀïÃæ´æ·ÅµÄ“Öµ”²»Äܱ䡣
    &n ......

»ùÓÚ Java µÄ½çÃæ²¼¾Ö DSL µÄÉè¼ÆÓëʵÏÖ


http://www.ibm.com/developerworks/cn/java/j-lo-uidsl/index.html
»ùÓÚ Java µÄ½çÃæ²¼¾Ö DSL µÄÉè¼ÆÓëʵÏÖ
 
 
 
¼¶±ð£º Öм¶
Ëï Ãù
µË »Ô

2007 Äê 9 ÔÂ 11 ÈÕ
½çÃæÉè¼ÆÓ¦¸ÃÊÇÒ»Ïî³äÂú´´ÔìÐÔ¡¢¸»ÓÐÀÖȤµÄ¹¤×÷£¬µ«ÊÇÈ´ÍùÍù±»ÈÏΪ·Ç³£µÄ¿ÝÔïºÍ·±Ëö¡£¾¿ÆäÔ­Òò£¬ÊÇÒòΪ½çÃæ²¼¾ÖÁìÓòËù²ÉÓõÄÃè ......

JAVA RPG ÐÇÐÇСÕòv0.3 ¶¨ÆÚ¸üÐÂ

 (2010.02.12) ÐÇÐÇСÕòv0.3 ¶¨ÆÚ¸üÐÂ
ÉùÃ÷£ºÓÎÏ·ËùÓÐËØ²ÄÀ´×ÔÍøÂ磬ÉÙ²¿·ÖÔ´Âë²Î¿¼Loonframework¿ò¼Ü
»ù±¾²Ù×÷£º
ÒÆ¶¯£º← → ↓ ↑
¶Ô»°£º¿Õ¸ñ¼ü
¸üÐÂÈÕÖ¾
2010.02.12 v0.3:
¹¦ÄÜÌí¼Ó:±êÌâ²Ëµ¥,³¡¾°Çл»(¿ÉÒÔ½øÎÝÀ²)
2010.02.11 v0.2:
¹¦ÄÜÌí¼Ó:NPC×ÔÓÉÐÐ×߻Ự£¬±³¾°ÒôÀÖ
2010.02.06 v0 ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ