隨筆-10  評論-3  文章-0  trackbacks-0
              不知不覺又停了N天學習,看來堅持對偶來說真是難于登天啊。。。

          The javac compiler always looks for files in the current directory, but the java interpreter only looks into the current directory if the "." directory is on the class path. If you have no class path set, this is not a problem—the default class path consists of the "." directory. But if you have set the class path and forgot to include the "." directory, then your programs will compile without error, but they won't run.

          Features tagged as public can be used by any class. Private features can be used only by the class that defines them. If you don't specify either public or private, then the feature (that is, the class, method, or variable) can be accessed by all methods in the same package.

          Comment Extraction

          Here, docDirectory is the name of the directory where you want the HTML files to go. Follow these steps:

          1.
          Change to the directory that contains the source files you want to document. If you have nested packages to document, such as com.horstmann.corejava, you must be working in the directory that contains the subdirectory com. (This is the directory that contains the overview.html file if you supplied one.)

          2.
          Run the command


          javadoc -d docDirectory nameOfPackage

          for a single package. Or run


          javadoc -d docDirectory nameOfPackage1 nameOfPackage2...

          to document multiple packages. If your files are in the default package, then instead run


          javadoc -d docDirectory *.java





          posted on 2010-12-10 12:00 li40204 閱讀(165) 評論(0)  編輯  收藏 所屬分類: Java
          主站蜘蛛池模板: 三亚市| 岳阳县| 密云县| 怀柔区| 陕西省| 静乐县| 昌吉市| 福安市| 武定县| 高陵县| 区。| 突泉县| 元氏县| 大港区| 基隆市| 保定市| 平利县| 德令哈市| 西畴县| 彭山县| 建德市| 和硕县| 尤溪县| 博客| 弋阳县| 青铜峡市| 湘潭市| 沿河| 夏津县| 宿州市| 永胜县| 虎林市| 甘洛县| 宕昌县| 富裕县| 新宁县| 惠州市| 邵东县| 星子县| 保康县| 聂拉木县|