|
| 1 | +/* |
| 2 | + * Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved. |
| 3 | + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
| 4 | + * |
| 5 | + * This code is free software; you can redistribute it and/or modify it |
| 6 | + * under the terms of the GNU General Public License version 2 only, as |
| 7 | + * published by the Free Software Foundation. |
| 8 | + * |
| 9 | + * This code is distributed in the hope that it will be useful, but WITHOUT |
| 10 | + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
| 11 | + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
| 12 | + * version 2 for more details (a copy is included in the LICENSE file that |
| 13 | + * accompanied this code). |
| 14 | + * |
| 15 | + * You should have received a copy of the GNU General Public License version |
| 16 | + * 2 along with this work; if not, write to the Free Software Foundation, |
| 17 | + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
| 18 | + * |
| 19 | + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
| 20 | + * or visit www.oracle.com if you need additional information or have any |
| 21 | + * questions. |
| 22 | + */ |
| 23 | + |
| 24 | +package pkg; |
| 25 | + |
| 26 | +/** |
| 27 | + *This class has <a href="{@docRoot}/pkg/J1.html#functions">various functions</a>, |
| 28 | + * see <a href="ftp://www.example.com/">FTP Site</a>, |
| 29 | + * <a href="file:///path/to/somefile">file service</a> for further information |
| 30 | + *<a id="functions">various functions</a> |
| 31 | + *<ul> |
| 32 | + *<li>function1</li> |
| 33 | + *<li>function2</li> |
| 34 | + *<li>function3</li> |
| 35 | + *</ul> |
| 36 | + *<a id="methods">special methods</a> |
| 37 | + *<ul> |
| 38 | + *<li>method1</li> |
| 39 | + *<li>method2</li> |
| 40 | + *<li>method3</li> |
| 41 | + *</ul> |
| 42 | + */ |
| 43 | +public class J1 { |
| 44 | + /** |
| 45 | + *fields. |
| 46 | + */ |
| 47 | + protected Object field1; |
| 48 | + |
| 49 | + /** |
| 50 | + *<a href="{@docRoot}/pkg/J1.html#functions">Creates an instance which has various functions.</a> |
| 51 | + */ |
| 52 | + public J1(){ |
| 53 | + } |
| 54 | + |
| 55 | + /** |
| 56 | + *This is a<a href="#methods">special method</a>. |
| 57 | + *@param p1 arg1 |
| 58 | + */ |
| 59 | + public void method1(int p1){ |
| 60 | + } |
| 61 | + |
| 62 | + /** |
| 63 | + *See <a href="ftp://www.example.com/">FTP Site</a> for more information. |
| 64 | + *@param p1 arg1 |
| 65 | + */ |
| 66 | + public void method2(int p1){ |
| 67 | + } |
| 68 | + |
| 69 | + /** |
| 70 | + *See <a href="file:///path/to/somefile">file service</a> for more information. |
| 71 | + *@param p1 arg1 |
| 72 | + */ |
| 73 | + public void method3(int p1){ |
| 74 | + } |
| 75 | +} |
0 commit comments