|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.gjt.btools.license.License
Provides access to the full descriptions of various licenses.
Field Summary | |
static int |
Artistic
The Artistic License. |
static int |
BSD
The BSD License. |
static int |
GPL
The GNU General Public License. |
static int |
LGPL
The GNU Lesser General Public License. |
Constructor Summary | |
License()
|
Method Summary | |
static java.io.BufferedReader |
getReader(int license)
Returns an open reader to the full description of the given license. |
static java.net.URL |
getResource(int license)
Returns an URL to a resource that contains a full description of the given license. |
static javax.swing.JTextArea |
getViewer(int license)
Returns an uneditable text area displaying the full description of the given license. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int GPL
public static final int LGPL
public static final int BSD
public static final int Artistic
Constructor Detail |
public License()
Method Detail |
public static java.net.URL getResource(int license)
license
- specifies which license to locate; this must
be one of the static license constants defined in this class.
public static java.io.BufferedReader getReader(int license)
license
- specifies which license to read; this must
be one of the static license constants defined in this class.
public static javax.swing.JTextArea getViewer(int license)
license
- specifies which license to display; this must
be one of the static license constants defined in this class.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |