followith

          BlogJava 首頁 新隨筆 聯系 聚合 管理
            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.

          大多數的應用往往需要訪問一些輸入,并且根據輸入來產生相應的輸出。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.

          如果你瀏覽過Java IO包,其下大量可供選擇的類一定讓你覺得相當困惑和混淆:到底這些類都是應用在什么場合呢?對于一種特定的情況我們因該如何選擇適合自己的類?如何創建一個自定義的類作為插件使用呢?....
          本教程的目標就是希望通過本教程對于IO的概述,可以對如何選擇一個恰當的類,某一個既定類是否滿足你的需求做出判斷。


          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.

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

          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.

          下面的表格列出了本教程中涵蓋的內容標題和類,這不僅僅是一個API的list。

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

              閑來無事,準備把Java IO Tutotial這個系列的文章翻譯一下,順便把IO的相關內容復習一下,溫故而知新嘛。
          英語丟了好長時間咯......慚愧啊。

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

          主站蜘蛛池模板: 云和县| 屏边| 永宁县| 银川市| 三台县| 闵行区| 马关县| 峨山| 桦南县| 徐州市| 沂水县| 永兴县| 腾冲县| 甘泉县| 蓝田县| 小金县| 陇西县| 屯昌县| 元阳县| 五莲县| 东乌珠穆沁旗| 兴文县| 卢湾区| 康保县| 米易县| 新昌县| 克拉玛依市| 洛扎县| 富锦市| 堆龙德庆县| 龙州县| 澜沧| 台前县| 毕节市| 万荣县| 武鸣县| 射洪县| 察雅县| 聂荣县| 伊宁市| 洛浦县|