<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[安道生練功房 - Latest posts for "l98179012"]]></title>
		<link>https://forum.andowson.com/posts/listByUser/93</link>
		<description><![CDATA[Latest posts for "l98179012"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>[新生訓練營 Test]  FLASH ACTIONSCRIPT求助 如何可以把分散的物件控制在方框框中</title>
				<description><![CDATA[ 想請問各位 FLASH ActionScript 高手大大們一下,我的ＦＬＡＳＨ檔案執行後，畫面中的蔥油餅都會分散在不同的位置中，因此小弟想請問FLASH ActionScript 高手大大們，如何修改我的ＦＬＡＳＨ檔案才能讓我執行畫面中蔥油餅分散時，分別處於在個別的兩個框框裡。。 
<br>
請大大們指教一下...謝謝~~ 
<br>]]></description>
				<guid isPermaLink="true">https://forum.andowson.com/posts/preList/537/1064</guid>
				<link>https://forum.andowson.com/posts/preList/537/1064</link>
				<pubDate><![CDATA[Thu, 16 Jun 2011 14:14:55]]> GMT</pubDate>
				<author><![CDATA[ l98179012]]></author>
			</item>
			<item>
				<title>[新生訓練營 Test] Flash ActionScript  互動式教材製作</title>
				<description><![CDATA[ 請問一下, Flash ActionScript 高手大大們一下,可以幫作下方網址的內容嗎?? 
<br>
小弟作了幾天都沒作出來,想尋問各位高手大大們一下,如果可以幫作的話請報個價? 
<br>
<br>
<br>
http://www.paps.kh.edu.tw/aspx/math/fractor/fractor_circle.html]]></description>
				<guid isPermaLink="true">https://forum.andowson.com/posts/preList/494/1020</guid>
				<link>https://forum.andowson.com/posts/preList/494/1020</link>
				<pubDate><![CDATA[Wed, 8 Jun 2011 16:53:49]]> GMT</pubDate>
				<author><![CDATA[ l98179012]]></author>
			</item>
			<item>
				<title>[新生訓練營 Test] 最近看書用eclipse測試lucene的程式碼都有bug?不知那裡出錯了..(程式碼都書本一樣)</title>
				<description><![CDATA[ <pre class="line-numbers"><code class="language-java match-braces"><br>package ch2.lucenedemo.process;<br><br>import java.io.BufferedReader;<br>import java.io.File;<br>import java.io.FileReader;<br>import java.io.IOException;<br><br>import javax.swing.filechooser.FileFilter;<br><br>import jeasy.analysis.MMAnalyzer;<br><br>import org.apache.lucene.document.Document;<br>import org.apache.lucene.document.Field;<br>import org.apache.lucene.index.IndexWriter;<br><br>public class IndexProcesser {<br>	// 成員變數儲存建立的索引檔案存放的位置<br>	private String INDEX_STORE_PATH = "d:\\index";<br><br>	// 建立索引<br>	public void createIndex(String inputDir) {<br>		try {<br>			// MMAnalyzer作為分詞工具建立一個IndexWriter<br>			IndexWriter writer = new IndexWriter(INDEX_STORE_PATH,<br>					new MMAnalyzer(), true);<br>			File filesDir = new File(inputDir);<br>			// 取得所有需要建立索引的檔案陣列<br>			File[] files = filesDir.listFiles();<br>			// 檢查陣列<br>			for (int i = 0; i &lt; files.length; i++) {<br>				// 獲得檔案名<br>				String fileName = files[i].getName();<br>				// 判斷檔案是否為txt類型的檔案<br>				if (fileName.substring(fileName.lastIndexOf("."))<br>						.equals(".txt")) {<br>					// 建立一個新的Document<br>					Document doc = new Document();<br>					// 為檔案名建立一個Field<br>					Field field = new Field("filename", files[i].getName(),<br>							Field.Store.YES, Field.Index.TOKENIZED);<br>					doc.add(field);<br>					// 為檔案內容建立一個Filed<br>					field = new Field("content", loadFileToString(files[i]),<br>							Field.Store.NO, Field.Index.TOKENIZED);<br>					doc.add(field);<br>					// 把Document加入IndexWriter<br>					writer.addDocument(doc);<br>				}<br>			}<br>			// 關閉IndexWriter<br>			writer.close();<br><br>		} catch (Exception e) {<br>			e.printStackTrace();<br>		}<br><br>	}<br><br>	public static void main(String[] args) {<br>		IndexProcesser processor = new IndexProcesser();<br>		processor.createIndex("d:\\testfolder");<br>	}<br>	public String loadFileToString(File file) {<br>		try {<br>			BufferedReader br = new BufferedReader(new FileReader(file));<br>			StringBuffer sb = new StringBuffer();<br>			String line = br.readLine();<br>			while (line != null) {<br>				sb.append(line);<br>				line = br.readLine();<br>			}<br>			br.close();<br>			return sb.toString();<br>		} catch (IOException e) {<br>			e.printStackTrace();<br>			return null;<br>		}<br>	}<br><br>}<br></code></pre>
<br>
麻煩各位大大幫忙小弟如何解決與並還要安裝什麼語言才可測試.. 
<br>
<br>
此外eclipse測試下列三種都會有bug: 
<br>
import org.apache.lucene.document.Document; 
<br>
import org.apache.lucene.document.Field; 
<br>
import org.apache.lucene.index.IndexWriter; 
<br>
不知eclipse還要安裝什麼檔案才可執行]]></description>
				<guid isPermaLink="true">https://forum.andowson.com/posts/preList/470/970</guid>
				<link>https://forum.andowson.com/posts/preList/470/970</link>
				<pubDate><![CDATA[Fri, 21 Jan 2011 14:53:22]]> GMT</pubDate>
				<author><![CDATA[ l98179012]]></author>
			</item>
	</channel>
</rss>