followith

          BlogJava 首頁(yè) 新隨筆 聯(lián)系 聚合 管理
            2 Posts :: 0 Stories :: 0 Comments :: 0 Trackbacks

          2010年2月3日 #

          Java IO Introduction 

          Most applications need to process some input and produce some output based on that input. The purpose of the Java IO package (java.io) is to make that possible in Java.

          大多數(shù)的應(yīng)用往往需要訪問(wèn)一些輸入,并且根據(jù)輸入來(lái)產(chǎn)生相應(yīng)的輸出。Java IO包使這一切在java中變得可能。

          If you look at the Java IO classes in the java.io package the vast amount of choices can be rather confusing. What is the purpose of all these classes? Which one should you choose for a given task? How do you create your own classes to plugin? etc. The purpose of this tutorial is to try to give you an overview of how all these classes are grouped, and the purpose behind them, so you don't have to wonder whether you chose the right class, or whether a class already exists for your purpose.

          如果你瀏覽過(guò)Java IO包,其下大量可供選擇的類一定讓你覺(jué)得相當(dāng)困惑和混淆:到底這些類都是應(yīng)用在什么場(chǎng)合呢?對(duì)于一種特定的情況我們因該如何選擇適合自己的類?如何創(chuàng)建一個(gè)自定義的類作為插件使用呢?....
          本教程的目標(biāo)就是希望通過(guò)本教程對(duì)于IO的概述,可以對(duì)如何選擇一個(gè)恰當(dāng)?shù)念悾骋粋€(gè)既定類是否滿足你的需求做出判斷。


          The Scope of the Java IO (java.io) Package

          The java.io package doesn't actually address all types of input and output. For instance, input from and output to a GUI or web page is not covered in the Java IO package. Those types of input are covered elsewhere, for instance by the JFC classes in the Swing project, or the Servlet and HTTP packages in the Java Enterprise Edition.

          The Java IO package is primarily focused on input and output to files, network streams, internal memory buffers etc.

          事實(shí)上,java.io包并不能解決所有類型的輸入、輸出。比如說(shuō),基于GUI和web頁(yè)面的輸入、輸出就不在java.io包的處理范圍內(nèi)。這些類型的輸入、輸出在其他方面比如Swing里面的JFC類,Servlet,java企業(yè)版里面的HTTP包被解決。
          Java IO包主要關(guān)注文件的輸入、輸出,網(wǎng)絡(luò)流以及內(nèi)存緩沖等。

          The Scope of this Java IO Tutorial

          Below is a table of contents of the topics and classes covered in this tutorial. The coverage of the classes is not just an API listing. You can get that from Sun's official Java Doc's. Rather each text is a short introduction to the class, its purpose, and a few examples of how to use it. In other words, some of the stuff you don't find in Sun's official Java Doc's.

          下面的表格列出了本教程中涵蓋的內(nèi)容標(biāo)題和類,這不僅僅是一個(gè)API的list。

           
          posted @ 2010-02-03 12:37 牧野流云 閱讀(174) | 評(píng)論 (0)編輯 收藏

              閑來(lái)無(wú)事,準(zhǔn)備把Java IO Tutotial這個(gè)系列的文章翻譯一下,順便把IO的相關(guān)內(nèi)容復(fù)習(xí)一下,溫故而知新嘛。
          英語(yǔ)丟了好長(zhǎng)時(shí)間咯......慚愧啊。

          posted @ 2010-02-03 11:20 牧野流云 閱讀(110) | 評(píng)論 (0)編輯 收藏

          僅列出標(biāo)題  
          主站蜘蛛池模板: 孝义市| 墨江| 蕲春县| 商南县| 体育| 延津县| 务川| 清流县| 揭阳市| 堆龙德庆县| 太仆寺旗| 台中市| 建昌县| 枞阳县| 宁乡县| 阳春市| 长沙市| 德州市| 鄱阳县| 莒南县| 揭阳市| 岱山县| 二连浩特市| 鹰潭市| 蒙城县| 绩溪县| 隆德县| 彰化县| 大足县| 自贡市| 金阳县| 桃源县| 灵丘县| 梁平县| 涞水县| 星子县| 蕉岭县| 毕节市| 西安市| 白沙| 峨边|