Jump to content

Template:JavaAPI

From Wikiversity

{{{class}}}



This template links to the following URL: http://download.oracle.com/javase/7/docs/api/{{{package}}}/{{{class}}}.html

The visible name of the link is also {{{class}}} (unless {{{method}}} is specified).

The parameters of the template are:

  • package (with '/' as the separator character, not dots; example: java/awt/event)
  • class

Optional parameters are:

  • method and signature (until a #replace: function becomes available all spaces in the signature have to be replaced with "%20" manually)
  • version (the version defaults to the most recent version of Java published by the maintainer of Java)
  • vendor (the default is Oracle; the only alternative is currently GNU)

Example:

{{JavaAPI|package=javax/swing/table|class=DefaultTableCellRenderer|method=getTableCellRendererComponent|signature=javax.swing.JTable,%20java.lang.Object,%20boolean,%20boolean,%20int,%20int}}