我有一个用户界面,允许用户进行字符串操作(除其他外)。在幕后,我调用静态方法(例如 java.lang.String.toUpperCase()
、 java.lang.String.toLowerCase()
、 java.lang.String.regionMatches()
等)。
UI 旨在由非编程人员使用,并显示诸如他们需要提供的进行字符串操作的参数之类的内容。我想为用户提供一些帮助,并且想知道从 Oracle Javadoc 复制并粘贴参数描述并包含在我的帮助中是否合法(例如,regionMatches)
参数:
- toffset - 该字符串中子区域的起始偏移量。
- 其他 - 字符串参数。
- offset - 字符串参数中子区域的起始偏移量。
- len - 要比较的字符数。
感谢您提供有关此的任何信息。
最佳答案
来自Oracle's Java SE Documentation Legal Notices page :
许可限制保证/间接损害免责声明
This software and related documentation are provided under a license agreement
containing restrictions on use and disclosure and are protected by intellectual
property laws. Except as expressly permitted in your license agreement or
allowed by law, you may not use, copy, reproduce, translate, broadcast, modify,
license, transmit, distribute, exhibit, perform, publish, or display any part,
in any form, or by any means. Reverse engineering, disassembly, or decompilation
of this software, unless required by law for interoperability, is prohibited.
基于此,我想说您不能合法地复制和粘贴 Oracle 文档,但 IANAL 和您应该咨询律师以获得真正的法律意见。
分享并享受。
关于java - 在我的 UI 中复制并显示 Oracle 的 API Javadoc 是否可以,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27061613/