license.java

来自「《移动Agent技术》一书的所有章节源代码。」· Java 代码 · 共 64 行

JAVA
64
字号
package org.bouncycastle;/** * The Bouncy Castle License * * Copyright (c) 2000 The Legion Of The Bouncy Castle (http://www.bouncycastle.org) * <p> * Permission is hereby granted, free of charge, to any person obtaining a copy of this software  * and associated documentation files (the "Software"), to deal in the Software without restriction,  * including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,  * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, * subject to the following conditions: * <p> * The above copyright notice and this permission notice shall be included in all copies or substantial * portions of the Software. * <p> * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER * DEALINGS IN THE SOFTWARE. */public class LICENSE{    public static String licenseText =      "Copyright (c) 2000 The Legion Of The Bouncy Castle (http://www.bouncycastle.org) "      + System.getProperty("line.separator")      + System.getProperty("line.separator")      + "Permission is hereby granted, free of charge, to any person obtaining a copy of this software "      + System.getProperty("line.separator")      + "and associated documentation files (the \"Software\"), to deal in the Software without restriction, "      + System.getProperty("line.separator")      + "including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, "      + System.getProperty("line.separator")      + "and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,"      + System.getProperty("line.separator")      + "subject to the following conditions:"      + System.getProperty("line.separator")      + System.getProperty("line.separator")      + "The above copyright notice and this permission notice shall be included in all copies or substantial"      + System.getProperty("line.separator")      + "portions of the Software."      + System.getProperty("line.separator")      + System.getProperty("line.separator")      + "THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,"      + System.getProperty("line.separator")      + "INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR"      + System.getProperty("line.separator")      + "PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE"      + System.getProperty("line.separator")      + "LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR"      + System.getProperty("line.separator")      + "OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER"      + System.getProperty("line.separator")      + "DEALINGS IN THE SOFTWARE.";    public static void main(        String[]    args)    {        System.out.println(licenseText);    }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?