如何下载 Java EE 7 API 文档 (zip)?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/24392602/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to download Java EE 7 API Documentation (zip)?
提问by silver
I can only get to the online version here:
http://www.oracle.com/technetwork/java/javaee/documentation/index.html
I tried checking the Java EE Downloads page:
http://www.oracle.com/technetwork/java/javaee/downloads/index.html
But unfortunately, I cannot seem to find a link to download just the Java EE 7 API Documentation.
Is there a way to download it in .zip for offline reference?
我只能在此处
访问在线版本:http: //www.oracle.com/technetwork/java/javaee/documentation/index.html
我尝试查看 Java EE 下载页面:
http: //www.oracle.com/ technetwork/java/javaee/downloads/index.html
但不幸的是,我似乎找不到只下载 Java EE 7 API 文档的链接。
有没有办法以 .zip 格式下载以供离线参考?
采纳答案by Sam Berry
The docs are included in the SDK. You can download the SDK here:
文档包含在 SDK 中。您可以在此处下载 SDK:
http://www.oracle.com/technetwork/java/javaee/downloads/java-ee-sdk-7-downloads-1956236.html
http://www.oracle.com/technetwork/java/javaee/downloads/java-ee-sdk-7-downloads-1956236.html
API docs can be found under glassfish4/docs/api
.
API 文档可以在 下找到glassfish4/docs/api
。
回答by Xavi
Visit the Java EE Download Site and scroll down to the component downloads. There should be a Java EE 7 API Documentation with a download button right next to it.
访问 Java EE 下载站点并向下滚动到组件下载。应该有一个 Java EE 7 API 文档,旁边有一个下载按钮。
回答by gaelicyoda
The documentation is also included as part of the Java EE 7 SDK bundle (update 1, at the time of writing), just in case you've already downloaded that:
该文档还包含在 Java EE 7 SDK 包(更新 1,在撰写本文时)的一部分,以防万一您已经下载了:
http://www.oracle.com/technetwork/java/javaee/downloads/java-ee-sdk-7-downloads-1956236.html
http://www.oracle.com/technetwork/java/javaee/downloads/java-ee-sdk-7-downloads-1956236.html
You'll find it in the zip @ java_ee_sdk-7u1.zip!\glassfish4\docs\api
你会在 zip @ 中找到它 java_ee_sdk-7u1.zip!\glassfish4\docs\api
(That version will be out of date eventually, so the main EE SDK download page is here when that happens: http://www.oracle.com/technetwork/java/javaee/downloads/index.html)
(该版本最终会过时,因此当发生这种情况时,主要的 EE SDK 下载页面在这里:http: //www.oracle.com/technetwork/java/javaee/downloads/index.html)