001-01-07 Anthony Green <green@redhat.com>

* Makefile.am (texinfo): Add texinfo target for generating texinfo
        documentation.
	* Makefile.in: Rebuilt.

	* scripts/TexinfoDoclet.java: New file.

	* doc/java-applet.texi, doc/java-lang-reflect.texi,
	doc/java-awt-color.texi, doc/java-lang.texi,
	doc/java-awt-datatransfer.texi, doc/java-math.texi,
        doc/java-awt-event.texi, doc/java-net.texi,
	doc/java-awt-geom.texi, doc/java-security-spec.texi,
	doc/java-awt-image.texi, doc/java-security.texi,
	doc/java-awt-peer.texi, doc/java-sql.texi, doc/java-awt.texi,
	doc/java-text.texi, doc/java-beans-beancontext.texi,
        doc/java-util-jar.texi, doc/java-beans.texi,
	doc/java-util-zip.texi, doc/java-io.texi, doc/java-util.texi,
	doc/java-lang-ref.texi: New files.

From-SVN: r38789
This commit is contained in:
Anthony Green 2001-01-08 00:27:51 +00:00 committed by Anthony Green
parent 18f988a06b
commit 6a9d31a7d4
27 changed files with 18487 additions and 2 deletions

View File

@ -1,3 +1,23 @@
2001-01-07 Anthony Green <green@redhat.com>
* Makefile.am (texinfo): Add texinfo target for generating texinfo
documentation.
* Makefile.in: Rebuilt.
* scripts/TexinfoDoclet.java: New file.
* doc/java-applet.texi, doc/java-lang-reflect.texi,
doc/java-awt-color.texi, doc/java-lang.texi,
doc/java-awt-datatransfer.texi, doc/java-math.texi,
doc/java-awt-event.texi, doc/java-net.texi,
doc/java-awt-geom.texi, doc/java-security-spec.texi,
doc/java-awt-image.texi, doc/java-security.texi,
doc/java-awt-peer.texi, doc/java-sql.texi, doc/java-awt.texi,
doc/java-text.texi, doc/java-beans-beancontext.texi,
doc/java-util-jar.texi, doc/java-beans.texi,
doc/java-util-zip.texi, doc/java-io.texi, doc/java-util.texi,
doc/java-lang-ref.texi: New files.
2001-01-07 Anthony Green <green@redhat.com>
* java/net/URLConnection.java (setDoOutput): URLConnection's may

View File

@ -135,7 +135,7 @@ EXTRA_libgcj_la_SOURCES = boehm.cc nogc.cc posix-threads.cc no-threads.cc \
$(c_source_files) $(java_source_files) $(built_java_source_files)
libgcj_la_DEPENDENCIES = libgcj.jar $(javao_files) \
$(c_files) $(GCOBJS) $(THREADOBJS) $(LIBLTDL)
# Include THREADLIBS here to ensure that the correct version of
# certain linuxthread functions get linked:
libgcj_la_LIBADD = $(javao_files) $(c_files) $(GCOBJS) \
@ -1322,6 +1322,44 @@ gnu/gcj/xlib/natXUnmapEvent.cc
## ################################################################
##
## javadoc to texinfo conversion
##
TexinfoDoclet.class: $(srcdir)/scripts/TexinfoDoclet.java
javac -d . $(srcdir)/scripts/TexinfoDoclet.java
texinfo: TexinfoDoclet.class
langsource=`ls $(srcdir)/java/lang/*.java`; \
lang=`echo $$langsource | sed -e 's/[^ ].*EcosProcess.java//g' | sed -e 's/[^ ].*PosixProcess.java//g'`; \
javadoc -outfile $(srcdir)/doc/java-lang.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $$lang
javadoc -outfile $(srcdir)/doc/java-lang-ref.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/lang/ref/*.java
javadoc -outfile $(srcdir)/doc/java-lang-reflect.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/lang/reflect/*.java
javadoc -outfile $(srcdir)/doc/java-applet.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/applet/*.java
javadoc -outfile $(srcdir)/doc/java-awt.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/awt/*.java
javadoc -outfile $(srcdir)/doc/java-awt-color.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/awt/color/*.java
javadoc -outfile $(srcdir)/doc/java-awt-datatransfer.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/awt/datatransfer/*.java
javadoc -outfile $(srcdir)/doc/java-awt-event.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/awt/event/*.java
javadoc -outfile $(srcdir)/doc/java-awt-geom.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/awt/geom/*.java
javadoc -outfile $(srcdir)/doc/java-awt-image.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/awt/image/*.java
javadoc -outfile $(srcdir)/doc/java-awt-peer.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/awt/peer/*.java
javadoc -outfile $(srcdir)/doc/java-beans.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/beans/*.java
javadoc -outfile $(srcdir)/doc/java-beans-beancontext.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/beans/beancontext/*.java
javadoc -outfile $(srcdir)/doc/java-io.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/io/*.java
javadoc -outfile $(srcdir)/doc/java-math.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/math/*.java
javadoc -outfile $(srcdir)/doc/java-net.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/net/*.java
javadoc -outfile $(srcdir)/doc/java-security.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/security/*.java
javadoc -outfile $(srcdir)/doc/java-security-cert.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/security-cert/*.java
javadoc -outfile $(srcdir)/doc/java-security-spec.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/security/spec/*.java
javadoc -outfile $(srcdir)/doc/java-security-interfaces.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/security/spec/interfaces/*.java
javadoc -outfile $(srcdir)/doc/java-sql.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/sql/*.java
javadoc -outfile $(srcdir)/doc/java-text.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/text/*.java
javadoc -outfile $(srcdir)/doc/java-util.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/util/*.java
javadoc -outfile $(srcdir)/doc/java-util-jar.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/util/jar/*.java
javadoc -outfile $(srcdir)/doc/java-util-zip.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/util/zip/*.java
## ################################################################
##
## Dependency tracking madness.
##

View File

@ -1198,7 +1198,7 @@ libgcj-test.spec.in libgcj.spec.in
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
TAR = tar
TAR = gtar
GZIP_ENV = --best
DIST_SUBDIRS = @DIRLTDL@ testsuite gcj include @DIRLTDL@ gcj include
DEP_FILES = .deps/$(srcdir)/$(CONVERT_DIR)/gen-from-JIS.P \
@ -2494,6 +2494,38 @@ $(CONVERT_DIR)/make-trie.o: $(srcdir)/$(CONVERT_DIR)/make-trie.c
@NATIVE_TRUE@@MAINTAINER_MODE_TRUE@$(srcdir)/$(CONVERT_DIR)/Unicode_to_JIS.cc: ./gen-from-JIS$(EXEEXT)
@NATIVE_TRUE@@MAINTAINER_MODE_TRUE@ ./gen-from-JIS toJIS>$(srcdir)/$(CONVERT_DIR)/Unicode_to_JIS.cc
TexinfoDoclet.class: $(srcdir)/scripts/TexinfoDoclet.java
javac -d . $(srcdir)/scripts/TexinfoDoclet.java
texinfo: TexinfoDoclet.class
langsource=`ls $(srcdir)/java/lang/*.java`; \
lang=`echo $$langsource | sed -e 's/[^ ].*EcosProcess.java//g' | sed -e 's/[^ ].*PosixProcess.java//g'`; \
javadoc -outfile $(srcdir)/doc/java-lang.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $$lang
javadoc -outfile $(srcdir)/doc/java-lang-ref.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/lang/ref/*.java
javadoc -outfile $(srcdir)/doc/java-lang-reflect.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/lang/reflect/*.java
javadoc -outfile $(srcdir)/doc/java-applet.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/applet/*.java
javadoc -outfile $(srcdir)/doc/java-awt.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/awt/*.java
javadoc -outfile $(srcdir)/doc/java-awt-color.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/awt/color/*.java
javadoc -outfile $(srcdir)/doc/java-awt-datatransfer.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/awt/datatransfer/*.java
javadoc -outfile $(srcdir)/doc/java-awt-event.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/awt/event/*.java
javadoc -outfile $(srcdir)/doc/java-awt-geom.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/awt/geom/*.java
javadoc -outfile $(srcdir)/doc/java-awt-image.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/awt/image/*.java
javadoc -outfile $(srcdir)/doc/java-awt-peer.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/awt/peer/*.java
javadoc -outfile $(srcdir)/doc/java-beans.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/beans/*.java
javadoc -outfile $(srcdir)/doc/java-beans-beancontext.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/beans/beancontext/*.java
javadoc -outfile $(srcdir)/doc/java-io.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/io/*.java
javadoc -outfile $(srcdir)/doc/java-math.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/math/*.java
javadoc -outfile $(srcdir)/doc/java-net.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/net/*.java
javadoc -outfile $(srcdir)/doc/java-security.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/security/*.java
javadoc -outfile $(srcdir)/doc/java-security-cert.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/security-cert/*.java
javadoc -outfile $(srcdir)/doc/java-security-spec.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/security/spec/*.java
javadoc -outfile $(srcdir)/doc/java-security-interfaces.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/security/spec/interfaces/*.java
javadoc -outfile $(srcdir)/doc/java-sql.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/sql/*.java
javadoc -outfile $(srcdir)/doc/java-text.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/text/*.java
javadoc -outfile $(srcdir)/doc/java-util.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/util/*.java
javadoc -outfile $(srcdir)/doc/java-util-jar.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/util/jar/*.java
javadoc -outfile $(srcdir)/doc/java-util-zip.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/util/zip/*.java
-include deps.mk
all-recursive: $(nat_headers) $(x_nat_headers)

View File

@ -0,0 +1,141 @@
@deftypemethod AppletContext {public AudioClip} getAudioClip (java.net.URL@w{ }@var{url})
Returns an audio clip from the specified URL.
@end deftypemethod
@deftypemethod AppletContext {public Image} getImage (java.net.URL@w{ }@var{url})
Returns an image from the specified URL. Note that the image is not
actually retrieved until the applet attempts to display it, so this
method returns immediately.
@end deftypemethod
@deftypemethod AppletContext {public Applet} getApplet (java.lang.String@w{ }@var{name})
Returns the applet in the document for this object that has the
specified name.
@end deftypemethod
@deftypemethod AppletContext {public Enumeration} getApplets ()
Returns a list of all the applets in the document for this object.
@end deftypemethod
@deftypemethod AppletContext {public void} showDocument (java.net.URL@w{ }@var{url})
Displays the web page pointed to by the specified URL in the window
for this object. This page replaces the document that is currently
there.
@end deftypemethod
@deftypemethod AppletContext {public void} showDocument (java.net.URL@w{ }@var{url}, java.lang.String@w{ }@var{target})
Displays the web page pointed to be the sepcified URL in the window
with the specified name. The standard names "_top", "_blank",
"_parent", and "_self" are allowed.
@end deftypemethod
@deftypemethod AppletContext {public void} showStatus (java.lang.String@w{ }@var{message})
Displays the specified message in the status window if that window
exists.
@end deftypemethod
@deftypemethod Applet {public URL} getDocumentBase ()
Returns the URL of the document this applet is embedded in.
@end deftypemethod
@deftypemethod Applet {public URL} getCodeBase ()
Returns the URL of the code base for this applet.
@end deftypemethod
@deftypemethod Applet {public String} getParameter (java.lang.String@w{ }@var{name})
Returns the value of the specified parameter that was specified in
the &lt;APPLET&gt; tag for this applet.
@end deftypemethod
@deftypemethod Applet {public AppletContext} getAppletContext ()
Returns the applet context for this applet.
@end deftypemethod
@deftypemethod Applet {public boolean} isActive ()
Tests whether or not this applet is currently active.
@end deftypemethod
@deftypemethod Applet {public void} resize (int@w{ }@var{width}, int@w{ }@var{height})
Requests that the applet window for this applet be resized.
@end deftypemethod
@deftypemethod Applet {public void} resize (java.awt.Dimension@w{ }@var{dim})
Requests that the applet window for this applet be resized.
@end deftypemethod
@deftypemethod Applet {public AudioClip} getAudioClip (java.net.URL@w{ }@var{url})
Returns an audio clip from the specified URL.
@end deftypemethod
@deftypemethod Applet {public AudioClip} getAudioClip (java.net.URL@w{ }@var{url}, java.lang.String@w{ }@var{name})
Returns an audio clip from the specified URL and name
@end deftypemethod
@deftypemethod Applet {public void} play (java.net.URL@w{ }@var{url})
Loads and plays the audio clip pointed to by the specified URL.
@end deftypemethod
@deftypemethod Applet {public void} play (java.net.URL@w{ }@var{url}, java.lang.String@w{ }@var{name})
Loads and plays the audio clip pointed to by the specified URL.
@end deftypemethod
@deftypemethod Applet {public Image} getImage (java.net.URL@w{ }@var{url})
Returns an image from the specified URL. Note that the image is not
actually retrieved until the applet attempts to display it, so this
method returns immediately.
@end deftypemethod
@deftypemethod Applet {public Image} getImage (java.net.URL@w{ }@var{url}, java.lang.String@w{ }@var{name})
Returns an image from the specified URL. Note that the image is not
actually retrieved until the applet attempts to display it, so this
method returns immediately.
@end deftypemethod
@deftypemethod Applet {public Locale} getLocale ()
Returns the locale for this applet, if it has been set. If no applet
specific locale has been set, the default locale is returned.
@end deftypemethod
@deftypemethod Applet {public String} getAppletInfo ()
Returns a descriptive string with applet defined information. The
implementation in this class returns @code{null}. Applets who
wish to return this information should override.
@end deftypemethod
@deftypemethod Applet {public String} getParameterInfo ()
Returns a list of parameters this applet supports. Each element of
the array is a list of three strings with the name of the parameter,
the data type or valid values, and a description. This method is
optional and the default implementation returns @code{null}.
@end deftypemethod
@deftypemethod Applet {public void} init ()
This method is called when the applet is first loaded. The default
implementation does nothing. Applets that wish to do one time
initialization should override.
@end deftypemethod
@deftypemethod Applet {public void} destroy ()
This method is called when the applet is being unloaded. The default
implementation does nothing. Applets that need to clean up resources
on exit should override.
@end deftypemethod
@deftypemethod Applet {public void} start ()
This method is called when the applet should start running. This is
normally each time a web page containing it is loaded. The default
implemention does nothing. Subclasses should override.
@end deftypemethod
@deftypemethod Applet {public void} stop ()
This method is called when the applet should stop running. This is
normally when the next web page is loaded. The default implementation
does nothing.
@end deftypemethod
@deftypemethod Applet {public final void} setStub (java.applet.AppletStub@w{ }@var{stub})
The browser calls this method to set the applet's stub, which is the
low level interface to the browser.
@end deftypemethod
@deftypemethod AppletStub {public URL} getDocumentBase ()
Returns the URL of the document this applet is embedded in.
@end deftypemethod
@deftypemethod AppletStub {public URL} getCodeBase ()
Returns the URL of the code base for this applet.
@end deftypemethod
@deftypemethod AppletStub {public String} getParameter (java.lang.String@w{ }@var{name})
Returns the value of the specified parameter that was specified in
the &lt;APPLET&gt; tag for this applet.
@end deftypemethod
@deftypemethod AppletStub {public AppletContext} getAppletContext ()
Returns the applet context for this applet.
@end deftypemethod
@deftypemethod AppletStub {public boolean} isActive ()
Tests whether or not this applet is currently active.
@end deftypemethod
@deftypemethod AppletStub {public void} appletResize (int@w{ }@var{width}, int@w{ }@var{height})
Requests that the applet window for this applet be resized.
@end deftypemethod
@deftypemethod AudioClip {public void} play ()
Plays the audio clip starting from the beginning.
@end deftypemethod
@deftypemethod AudioClip {public void} stop ()
Stops playing this audio clip. There is no mechanism for restarting
at the point where the clip is stopped.
@end deftypemethod
@deftypemethod AudioClip {public void} loop ()
Plays this audio clip in a continuous loop.
@end deftypemethod

View File

@ -0,0 +1,48 @@
@deftypemethod ColorSpace {public static ColorSpace} getInstance (int@w{ }@var{colorspace})
@end deftypemethod
@deftypemethod ColorSpace {public boolean} isCS_sRGB ()
@end deftypemethod
@deftypemethod ColorSpace {public abstract float} toRGB (float[]@w{ }@var{colorvalue})
@end deftypemethod
@deftypemethod ColorSpace {public abstract float} fromRGB (float[]@w{ }@var{rgbvalue})
@end deftypemethod
@deftypemethod ColorSpace {public abstract float} toCIEXYZ (float[]@w{ }@var{colorvalue})
@end deftypemethod
@deftypemethod ColorSpace {public abstract float} fromCIEXYZ (float[]@w{ }@var{colorvalue})
@end deftypemethod
@deftypemethod ColorSpace {public int} getType ()
@end deftypemethod
@deftypemethod ColorSpace {public int} getNumComponents ()
@end deftypemethod
@deftypemethod ColorSpace {public String} getName (int@w{ }@var{idx})
@end deftypemethod
@deftypemethod ColorSpace {public String} toString ()
@end deftypemethod
@deftypemethod ICC_ColorSpace {public ICC_Profile} getProfile ()
@end deftypemethod
@deftypemethod ICC_ColorSpace {public float} toRGB (float[]@w{ }@var{colorvalue})
@end deftypemethod
@deftypemethod ICC_ColorSpace {public float} fromRGB (float[]@w{ }@var{rgbvalue})
@end deftypemethod
@deftypemethod ICC_ColorSpace {public float} toCIEXYZ (float[]@w{ }@var{colorvalue})
@end deftypemethod
@deftypemethod ICC_ColorSpace {public float} fromCIEXYZ (float[]@w{ }@var{colorvalue})
@end deftypemethod
@deftypemethod ICC_Profile {public int} getNumComponents ()
@end deftypemethod

View File

View File

@ -0,0 +1,357 @@
@deftypemethod ActionEvent {public String} getActionCommand ()
@end deftypemethod
@deftypemethod ActionEvent {public int} getModifiers ()
@end deftypemethod
@deftypemethod ActionEvent {public String} paramString ()
@end deftypemethod
@deftypemethod ActionListener {public void} actionPerformed (java.awt.event.ActionEvent@w{ }@var{e})
@end deftypemethod
@deftypemethod AdjustmentEvent {public Adjustable} getAdjustable ()
@end deftypemethod
@deftypemethod AdjustmentEvent {public int} getAdjustmentType ()
@end deftypemethod
@deftypemethod AdjustmentEvent {public int} getValue ()
@end deftypemethod
@deftypemethod AdjustmentEvent {public String} paramString ()
@end deftypemethod
@deftypemethod AdjustmentListener {public void} adjustmentValueChanged (java.awt.event.AdjustmentEvent@w{ }@var{e})
@end deftypemethod
@deftypemethod AWTEventListener {public void} eventDispatched (java.awt.AWTEvent@w{ }@var{e})
@end deftypemethod
@deftypemethod ComponentAdapter {public void} componentHidden (java.awt.event.ComponentEvent@w{ }@var{e})
@end deftypemethod
@deftypemethod ComponentAdapter {public void} componentMoved (java.awt.event.ComponentEvent@w{ }@var{e})
@end deftypemethod
@deftypemethod ComponentAdapter {public void} componentResized (java.awt.event.ComponentEvent@w{ }@var{e})
@end deftypemethod
@deftypemethod ComponentAdapter {public void} componentShown (java.awt.event.ComponentEvent@w{ }@var{e})
@end deftypemethod
@deftypemethod ComponentEvent {public Component} getComponent ()
@end deftypemethod
@deftypemethod ComponentEvent {public String} paramString ()
@end deftypemethod
@deftypemethod ComponentListener {public void} componentHidden (java.awt.event.ComponentEvent@w{ }@var{e})
@end deftypemethod
@deftypemethod ComponentListener {public void} componentMoved (java.awt.event.ComponentEvent@w{ }@var{e})
@end deftypemethod
@deftypemethod ComponentListener {public void} componentResized (java.awt.event.ComponentEvent@w{ }@var{e})
@end deftypemethod
@deftypemethod ComponentListener {public void} componentShown (java.awt.event.ComponentEvent@w{ }@var{e})
@end deftypemethod
@deftypemethod ContainerAdapter {public void} componentAdded (java.awt.event.ContainerEvent@w{ }@var{e})
@end deftypemethod
@deftypemethod ContainerAdapter {public void} componentRemoved (java.awt.event.ContainerEvent@w{ }@var{e})
@end deftypemethod
@deftypemethod ContainerEvent {public Component} getChild ()
@end deftypemethod
@deftypemethod ContainerEvent {public Component} getContainer ()
@end deftypemethod
@deftypemethod ContainerEvent {public String} paramString ()
@end deftypemethod
@deftypemethod ContainerListener {public void} componentAdded (java.awt.event.ContainerEvent@w{ }@var{e})
@end deftypemethod
@deftypemethod ContainerListener {public void} componentRemoved (java.awt.event.ContainerEvent@w{ }@var{e})
@end deftypemethod
@deftypemethod FocusAdapter {public void} focusGained (java.awt.event.FocusEvent@w{ }@var{e})
@end deftypemethod
@deftypemethod FocusAdapter {public void} focusLost (java.awt.event.FocusEvent@w{ }@var{e})
@end deftypemethod
@deftypemethod FocusEvent {public boolean} isTemporary ()
@end deftypemethod
@deftypemethod FocusEvent {public String} paramString ()
@end deftypemethod
@deftypemethod FocusListener {public void} focusGained (java.awt.event.FocusEvent@w{ }@var{e})
@end deftypemethod
@deftypemethod FocusListener {public void} focusLost (java.awt.event.FocusEvent@w{ }@var{e})
@end deftypemethod
@deftypemethod HierarchyBoundsAdapter {public void} ancestorMoved (java.awt.event.HierarchyEvent@w{ }@var{e})
@end deftypemethod
@deftypemethod HierarchyBoundsAdapter {public void} ancestorResized (java.awt.event.HierarchyEvent@w{ }@var{e})
@end deftypemethod
@deftypemethod HierarchyBoundsListener {public void} ancestorMoved (java.awt.event.HierarchyEvent@w{ }@var{e})
@end deftypemethod
@deftypemethod HierarchyBoundsListener {public void} ancestorResized (java.awt.event.HierarchyEvent@w{ }@var{e})
@end deftypemethod
@deftypemethod HierarchyEvent {public Component} getComponent ()
@end deftypemethod
@deftypemethod HierarchyEvent {public Component} getChanged ()
@end deftypemethod
@deftypemethod HierarchyEvent {public Container} getChangedParent ()
@end deftypemethod
@deftypemethod HierarchyEvent {public long} getChangeFlags ()
@end deftypemethod
@deftypemethod HierarchyEvent {public String} paramString ()
@end deftypemethod
@deftypemethod HierarchyListener {public void} hierarchyChanged (java.awt.event.HierarchyEvent@w{ }@var{e})
@end deftypemethod
@deftypemethod InputEvent {public boolean} isShiftDown ()
@end deftypemethod
@deftypemethod InputEvent {public boolean} isControlDown ()
@end deftypemethod
@deftypemethod InputEvent {public boolean} isMetaDown ()
@end deftypemethod
@deftypemethod InputEvent {public boolean} isAltDown ()
@end deftypemethod
@deftypemethod InputEvent {public boolean} isAltGraphDown ()
@end deftypemethod
@deftypemethod InputEvent {public long} getWhen ()
@end deftypemethod
@deftypemethod InputEvent {public int} getModifiers ()
@end deftypemethod
@deftypemethod InputEvent {public boolean} isConsumed ()
@end deftypemethod
@deftypemethod InputEvent {public void} consume ()
@end deftypemethod
@deftypemethod InputMethodListener {public void} caretPositionChanged (java.awt.event.InputMethodEvent@w{ }@var{e})
@end deftypemethod
@deftypemethod InputMethodListener {public void} inputMethodTextChanged (java.awt.event.InputMethodEvent@w{ }@var{e})
@end deftypemethod
@deftypemethod InvocationEvent {public void} dispatch ()
@end deftypemethod
@deftypemethod InvocationEvent {public Exception} getException ()
@end deftypemethod
@deftypemethod InvocationEvent {public String} paramString ()
@end deftypemethod
@deftypemethod ItemEvent {public Object} getItem ()
@end deftypemethod
@deftypemethod ItemEvent {public ItemSelectable} getItemSelectable ()
@end deftypemethod
@deftypemethod ItemEvent {public int} getStateChange ()
@end deftypemethod
@deftypemethod ItemEvent {public String} paramString ()
@end deftypemethod
@deftypemethod ItemListener {public void} itemStateChanged (java.awt.event.ItemEvent@w{ }@var{e})
@end deftypemethod
@deftypemethod KeyAdapter {public void} keyPressed (java.awt.event.KeyEvent@w{ }@var{w})
@end deftypemethod
@deftypemethod KeyAdapter {public void} keyReleased (java.awt.event.KeyEvent@w{ }@var{w})
@end deftypemethod
@deftypemethod KeyAdapter {public void} keyTyped (java.awt.event.KeyEvent@w{ }@var{w})
@end deftypemethod
@deftypemethod KeyEvent {public int} getKeyCode ()
@end deftypemethod
@deftypemethod KeyEvent {public char} getKeyChar ()
@end deftypemethod
@deftypemethod KeyEvent {public void} setKeyCode (int@w{ }@var{keyCode})
@end deftypemethod
@deftypemethod KeyEvent {public void} setKeyChar (char@w{ }@var{keyChar})
@end deftypemethod
@deftypemethod KeyEvent {public void} setModifiers (int@w{ }@var{modifiers})
@end deftypemethod
@deftypemethod KeyEvent {public static String} getKeyText (int@w{ }@var{keyCode})
@end deftypemethod
@deftypemethod KeyEvent {public static String} getKeyModifiersText (int@w{ }@var{modifiers})
@end deftypemethod
@deftypemethod KeyEvent {public boolean} isActionKey ()
@end deftypemethod
@deftypemethod KeyEvent {public String} paramString ()
@end deftypemethod
@deftypemethod KeyListener {public void} keyPressed (java.awt.event.KeyEvent@w{ }@var{w})
@end deftypemethod
@deftypemethod KeyListener {public void} keyReleased (java.awt.event.KeyEvent@w{ }@var{w})
@end deftypemethod
@deftypemethod KeyListener {public void} keyTyped (java.awt.event.KeyEvent@w{ }@var{w})
@end deftypemethod
@deftypemethod MouseAdapter {public void} mouseClicked (java.awt.event.MouseEvent@w{ }@var{e})
@end deftypemethod
@deftypemethod MouseAdapter {public void} mouseEntered (java.awt.event.MouseEvent@w{ }@var{e})
@end deftypemethod
@deftypemethod MouseAdapter {public void} mouseExited (java.awt.event.MouseEvent@w{ }@var{e})
@end deftypemethod
@deftypemethod MouseAdapter {public void} mousePressed (java.awt.event.MouseEvent@w{ }@var{e})
@end deftypemethod
@deftypemethod MouseAdapter {public void} mouseReleased (java.awt.event.MouseEvent@w{ }@var{e})
@end deftypemethod
@deftypemethod MouseEvent {public int} getClickCount ()
@end deftypemethod
@deftypemethod MouseEvent {public Point} getPoint ()
@end deftypemethod
@deftypemethod MouseEvent {public int} getX ()
@end deftypemethod
@deftypemethod MouseEvent {public int} getY ()
@end deftypemethod
@deftypemethod MouseEvent {public boolean} isPopupTrigger ()
@end deftypemethod
@deftypemethod MouseEvent {public String} paramString ()
@end deftypemethod
@deftypemethod MouseEvent {public void} translatePoint (int@w{ }@var{x}, int@w{ }@var{y})
@end deftypemethod
@deftypemethod MouseListener {public void} mouseClicked (java.awt.event.MouseEvent@w{ }@var{e})
@end deftypemethod
@deftypemethod MouseListener {public void} mouseEntered (java.awt.event.MouseEvent@w{ }@var{e})
@end deftypemethod
@deftypemethod MouseListener {public void} mouseExited (java.awt.event.MouseEvent@w{ }@var{e})
@end deftypemethod
@deftypemethod MouseListener {public void} mousePressed (java.awt.event.MouseEvent@w{ }@var{e})
@end deftypemethod
@deftypemethod MouseListener {public void} mouseReleased (java.awt.event.MouseEvent@w{ }@var{e})
@end deftypemethod
@deftypemethod MouseMotionAdapter {public void} mouseDragged (java.awt.event.MouseEvent@w{ }@var{e})
@end deftypemethod
@deftypemethod MouseMotionAdapter {public void} mouseMoved (java.awt.event.MouseEvent@w{ }@var{e})
@end deftypemethod
@deftypemethod MouseMotionListener {public void} mouseDragged (java.awt.event.MouseEvent@w{ }@var{e})
@end deftypemethod
@deftypemethod MouseMotionListener {public void} mouseMoved (java.awt.event.MouseEvent@w{ }@var{e})
@end deftypemethod
@deftypemethod PaintEvent {public Rectangle} getUpdateRect ()
@end deftypemethod
@deftypemethod PaintEvent {public String} paramString ()
@end deftypemethod
@deftypemethod PaintEvent {public void} setUpdateRect (java.awt.Rectangle@w{ }@var{updateRect})
@end deftypemethod
@deftypemethod TextEvent {public String} paramString ()
@end deftypemethod
@deftypemethod TextListener {public void} textValueChanged (java.awt.event.TextEvent@w{ }@var{w})
@end deftypemethod
@deftypemethod WindowAdapter {public void} windowActivated (java.awt.event.WindowEvent@w{ }@var{w})
@end deftypemethod
@deftypemethod WindowAdapter {public void} windowClosed (java.awt.event.WindowEvent@w{ }@var{w})
@end deftypemethod
@deftypemethod WindowAdapter {public void} windowClosing (java.awt.event.WindowEvent@w{ }@var{w})
@end deftypemethod
@deftypemethod WindowAdapter {public void} windowDeactivated (java.awt.event.WindowEvent@w{ }@var{w})
@end deftypemethod
@deftypemethod WindowAdapter {public void} windowDeiconified (java.awt.event.WindowEvent@w{ }@var{w})
@end deftypemethod
@deftypemethod WindowAdapter {public void} windowIconified (java.awt.event.WindowEvent@w{ }@var{w})
@end deftypemethod
@deftypemethod WindowAdapter {public void} windowOpened (java.awt.event.WindowEvent@w{ }@var{w})
@end deftypemethod
@deftypemethod WindowEvent {public Window} getWindow ()
@end deftypemethod
@deftypemethod WindowEvent {public String} paramString ()
@end deftypemethod
@deftypemethod WindowListener {public void} windowActivated (java.awt.event.WindowEvent@w{ }@var{w})
@end deftypemethod
@deftypemethod WindowListener {public void} windowClosed (java.awt.event.WindowEvent@w{ }@var{w})
@end deftypemethod
@deftypemethod WindowListener {public void} windowClosing (java.awt.event.WindowEvent@w{ }@var{w})
@end deftypemethod
@deftypemethod WindowListener {public void} windowDeactivated (java.awt.event.WindowEvent@w{ }@var{w})
@end deftypemethod
@deftypemethod WindowListener {public void} windowDeiconified (java.awt.event.WindowEvent@w{ }@var{w})
@end deftypemethod
@deftypemethod WindowListener {public void} windowIconified (java.awt.event.WindowEvent@w{ }@var{w})
@end deftypemethod
@deftypemethod WindowListener {public void} windowOpened (java.awt.event.WindowEvent@w{ }@var{w})
@end deftypemethod

View File

@ -0,0 +1,576 @@
@deftypemethod AffineTransform {public static AffineTransform} getTranslateInstance (double@w{ }@var{tx}, double@w{ }@var{ty})
@end deftypemethod
@deftypemethod AffineTransform {public static AffineTransform} getRotateInstance (double@w{ }@var{theta})
@end deftypemethod
@deftypemethod AffineTransform {public static AffineTransform} getRotateInstance (double@w{ }@var{theta}, double@w{ }@var{x}, double@w{ }@var{y})
@end deftypemethod
@deftypemethod AffineTransform {public static AffineTransform} getScaleInstance (double@w{ }@var{sx}, double@w{ }@var{sy})
@end deftypemethod
@deftypemethod AffineTransform {public static AffineTransform} getShearInstance (double@w{ }@var{shx}, double@w{ }@var{shy})
@end deftypemethod
@deftypemethod AffineTransform {public int} getType ()
@end deftypemethod
@deftypemethod AffineTransform {public double} getDeterminant ()
@end deftypemethod
@deftypemethod AffineTransform {public void} getMatrix (double[]@w{ }@var{flatmatrix})
@end deftypemethod
@deftypemethod AffineTransform {public double} getScaleX ()
@end deftypemethod
@deftypemethod AffineTransform {public double} getScaleY ()
@end deftypemethod
@deftypemethod AffineTransform {public double} getShearX ()
@end deftypemethod
@deftypemethod AffineTransform {public double} getShearY ()
@end deftypemethod
@deftypemethod AffineTransform {public double} getTranslateX ()
@end deftypemethod
@deftypemethod AffineTransform {public double} getTranslateY ()
@end deftypemethod
@deftypemethod AffineTransform {public void} translate (double@w{ }@var{tx}, double@w{ }@var{ty})
@end deftypemethod
@deftypemethod AffineTransform {public void} rotate (double@w{ }@var{theta})
@end deftypemethod
@deftypemethod AffineTransform {public void} rotate (double@w{ }@var{theta}, double@w{ }@var{x}, double@w{ }@var{y})
@end deftypemethod
@deftypemethod AffineTransform {public void} scale (double@w{ }@var{sx}, double@w{ }@var{sy})
@end deftypemethod
@deftypemethod AffineTransform {public void} shear (double@w{ }@var{shx}, double@w{ }@var{shy})
@end deftypemethod
@deftypemethod AffineTransform {public void} setToIdentity ()
@end deftypemethod
@deftypemethod AffineTransform {public void} setToTranslation (double@w{ }@var{tx}, double@w{ }@var{ty})
@end deftypemethod
@deftypemethod AffineTransform {public void} setToRotation (double@w{ }@var{theta})
@end deftypemethod
@deftypemethod AffineTransform {public void} setToScale (double@w{ }@var{sx}, double@w{ }@var{sy})
@end deftypemethod
@deftypemethod AffineTransform {public void} setToShear (double@w{ }@var{shx}, double@w{ }@var{shy})
@end deftypemethod
@deftypemethod AffineTransform {public void} setTransform (java.awt.geom.AffineTransform@w{ }@var{tx})
@end deftypemethod
@deftypemethod AffineTransform {public void} setTransform (double@w{ }@var{m00}, double@w{ }@var{m10}, double@w{ }@var{m01}, double@w{ }@var{m11}, double@w{ }@var{m02}, double@w{ }@var{m12})
@end deftypemethod
@deftypemethod AffineTransform {public void} concatenate (java.awt.geom.AffineTransform@w{ }@var{tx})
@end deftypemethod
@deftypemethod AffineTransform {public void} preConcatenate (java.awt.geom.AffineTransform@w{ }@var{tx})
@end deftypemethod
@deftypemethod AffineTransform {public AffineTransform} createInverse () @*throws NoninvertibleTransformException
@end deftypemethod
@deftypemethod AffineTransform {public Point2D} transform (java.awt.geom.Point2D@w{ }@var{src}, java.awt.geom.Point2D@w{ }@var{dst})
@end deftypemethod
@deftypemethod AffineTransform {public void} transform (java.awt.geom.Point2D[]@w{ }@var{src}, int@w{ }@var{srcOff}, java.awt.geom.Point2D[]@w{ }@var{dst}, int@w{ }@var{dstOff}, int@w{ }@var{num})
@end deftypemethod
@deftypemethod AffineTransform {public void} transform (float[]@w{ }@var{srcPts}, int@w{ }@var{srcOff}, float[]@w{ }@var{dstPts}, int@w{ }@var{dstOff}, int@w{ }@var{num})
@end deftypemethod
@deftypemethod AffineTransform {public void} transform (double[]@w{ }@var{srcPts}, int@w{ }@var{srcOff}, double[]@w{ }@var{dstPts}, int@w{ }@var{dstOff}, int@w{ }@var{num})
@end deftypemethod
@deftypemethod AffineTransform {public void} transform (float[]@w{ }@var{srcPts}, int@w{ }@var{srcOff}, double[]@w{ }@var{dstPts}, int@w{ }@var{dstOff}, int@w{ }@var{num})
@end deftypemethod
@deftypemethod AffineTransform {public void} transform (double[]@w{ }@var{srcPts}, int@w{ }@var{srcOff}, float[]@w{ }@var{dstPts}, int@w{ }@var{dstOff}, int@w{ }@var{num})
@end deftypemethod
@deftypemethod AffineTransform {public Point2D} inverseTransform (java.awt.geom.Point2D@w{ }@var{src}, java.awt.geom.Point2D@w{ }@var{dst}) @*throws NoninvertibleTransformException
@end deftypemethod
@deftypemethod AffineTransform {public void} inverseTransform (double[]@w{ }@var{srcPts}, int@w{ }@var{srcOff}, double[]@w{ }@var{dstPts}, int@w{ }@var{dstOff}, int@w{ }@var{num}) @*throws NoninvertibleTransformException
@end deftypemethod
@deftypemethod AffineTransform {public Point2D} deltaTransform (java.awt.geom.Point2D@w{ }@var{src}, java.awt.geom.Point2D@w{ }@var{dst})
@end deftypemethod
@deftypemethod AffineTransform {public void} deltaTransform (double[]@w{ }@var{srcPts}, int@w{ }@var{srcOff}, double[]@w{ }@var{dstPts}, int@w{ }@var{dstOff}, int@w{ }@var{num})
@end deftypemethod
@deftypemethod AffineTransform {public Shape} createTransformedShape (java.awt.Shape@w{ }@var{pSrc})
@end deftypemethod
@deftypemethod AffineTransform {public String} toString ()
@end deftypemethod
@deftypemethod AffineTransform {public boolean} isIdentity ()
@end deftypemethod
@deftypemethod AffineTransform {public Object} clone ()
@end deftypemethod
@deftypemethod AffineTransform {public int} hashCode ()
@end deftypemethod
@deftypemethod AffineTransform {public boolean} equals (java.lang.Object@w{ }@var{obj})
@end deftypemethod
@deftypemethod Dimension2D {public abstract double} getWidth ()
@end deftypemethod
@deftypemethod Dimension2D {public abstract double} getHeight ()
@end deftypemethod
@deftypemethod Dimension2D {public abstract void} setSize (double@w{ }@var{width}, double@w{ }@var{height})
@end deftypemethod
@deftypemethod Dimension2D {public void} setSize (java.awt.geom.Dimension2D@w{ }@var{dim})
@end deftypemethod
@deftypemethod Dimension2D {public Object} clone ()
@end deftypemethod
@deftypemethod Ellipse2D {public boolean} contains (double@w{ }@var{x}, double@w{ }@var{y})
@end deftypemethod
@deftypemethod Ellipse2D {public boolean} contains (double@w{ }@var{x}, double@w{ }@var{y}, double@w{ }@var{w}, double@w{ }@var{h})
@end deftypemethod
@deftypemethod Ellipse2D {public PathIterator} getPathIterator (java.awt.geom.AffineTransform@w{ }@var{at})
@end deftypemethod
@deftypemethod Ellipse2D {public boolean} intersects (double@w{ }@var{x}, double@w{ }@var{y}, double@w{ }@var{w}, double@w{ }@var{h})
@end deftypemethod
@deftypemethod Ellipse2D.Double {public Rectangle2D} getBounds2D ()
@end deftypemethod
@deftypemethod Ellipse2D.Double {public double} getHeight ()
@end deftypemethod
@deftypemethod Ellipse2D.Double {public double} getWidth ()
@end deftypemethod
@deftypemethod Ellipse2D.Double {public double} getX ()
@end deftypemethod
@deftypemethod Ellipse2D.Double {public double} getY ()
@end deftypemethod
@deftypemethod Ellipse2D.Double {public boolean} isEmpty ()
@end deftypemethod
@deftypemethod Ellipse2D.Double {public void} setFrame (double@w{ }@var{x}, double@w{ }@var{y}, double@w{ }@var{w}, double@w{ }@var{h})
@end deftypemethod
@deftypemethod Ellipse2D.Float {public Rectangle2D} getBounds2D ()
@end deftypemethod
@deftypemethod Ellipse2D.Float {public double} getHeight ()
@end deftypemethod
@deftypemethod Ellipse2D.Float {public double} getWidth ()
@end deftypemethod
@deftypemethod Ellipse2D.Float {public double} getX ()
@end deftypemethod
@deftypemethod Ellipse2D.Float {public double} getY ()
@end deftypemethod
@deftypemethod Ellipse2D.Float {public boolean} isEmpty ()
@end deftypemethod
@deftypemethod Ellipse2D.Float {public void} setFrame (float@w{ }@var{x}, float@w{ }@var{y}, float@w{ }@var{w}, float@w{ }@var{h})
@end deftypemethod
@deftypemethod Ellipse2D.Float {public void} setFrame (double@w{ }@var{x}, double@w{ }@var{y}, double@w{ }@var{w}, double@w{ }@var{h})
@end deftypemethod
@deftypemethod PathIterator {public int} currentSegment (double[]@w{ }@var{coords})
@end deftypemethod
@deftypemethod PathIterator {public int} currentSegment (float[]@w{ }@var{coords})
@end deftypemethod
@deftypemethod PathIterator {public int} getWindingRule ()
@end deftypemethod
@deftypemethod PathIterator {public boolean} isDone ()
@end deftypemethod
@deftypemethod PathIterator {public void} next ()
@end deftypemethod
@deftypemethod Point2D {public abstract double} getX ()
@end deftypemethod
@deftypemethod Point2D {public abstract double} getY ()
@end deftypemethod
@deftypemethod Point2D {public abstract void} setLocation (double@w{ }@var{x}, double@w{ }@var{y})
@end deftypemethod
@deftypemethod Point2D {public void} setLocation (java.awt.geom.Point2D@w{ }@var{pt})
@end deftypemethod
@deftypemethod Point2D {public static double} distanceSq (double@w{ }@var{X1}, double@w{ }@var{Y1}, double@w{ }@var{X2}, double@w{ }@var{Y2})
@end deftypemethod
@deftypemethod Point2D {public static double} distance (double@w{ }@var{X1}, double@w{ }@var{Y1}, double@w{ }@var{X2}, double@w{ }@var{Y2})
@end deftypemethod
@deftypemethod Point2D {public double} distanceSq (double@w{ }@var{PX}, double@w{ }@var{PY})
@end deftypemethod
@deftypemethod Point2D {public double} distance (double@w{ }@var{PX}, double@w{ }@var{PY})
@end deftypemethod
@deftypemethod Point2D {public double} distanceSq (java.awt.geom.Point2D@w{ }@var{pt})
@end deftypemethod
@deftypemethod Point2D {public double} distance (java.awt.geom.Point2D@w{ }@var{pt})
@end deftypemethod
@deftypemethod Point2D {public int} hashCode ()
@end deftypemethod
@deftypemethod Point2D {public Object} clone ()
@end deftypemethod
@deftypemethod Point2D {public boolean} equals (java.lang.Object@w{ }@var{o})
@end deftypemethod
@deftypemethod Point2D.Double {public double} getX ()
@end deftypemethod
@deftypemethod Point2D.Double {public double} getY ()
@end deftypemethod
@deftypemethod Point2D.Double {public void} setLocation (double@w{ }@var{x}, double@w{ }@var{y})
@end deftypemethod
@deftypemethod Point2D.Double {public String} toString ()
@end deftypemethod
@deftypemethod Point2D.Float {public double} getX ()
@end deftypemethod
@deftypemethod Point2D.Float {public double} getY ()
@end deftypemethod
@deftypemethod Point2D.Float {public void} setLocation (double@w{ }@var{x}, double@w{ }@var{y})
@end deftypemethod
@deftypemethod Point2D.Float {public void} setLocation (float@w{ }@var{x}, float@w{ }@var{y})
@end deftypemethod
@deftypemethod Point2D.Float {public String} toString ()
@end deftypemethod
@deftypemethod Rectangle2D {public abstract void} setRect (double@w{ }@var{x}, double@w{ }@var{y}, double@w{ }@var{w}, double@w{ }@var{h})
Set the bounding box of this rectangle.
@end deftypemethod
@deftypemethod Rectangle2D {public void} setRect (java.awt.geom.Rectangle2D@w{ }@var{r})
Set the bounding box of this rectangle.
@end deftypemethod
@deftypemethod Rectangle2D {public boolean} intersectsLine (double@w{ }@var{x1}, double@w{ }@var{y1}, double@w{ }@var{x2}, double@w{ }@var{y2})
Returns true if line segment intersects interior of this
rectangle.
@end deftypemethod
@deftypemethod Rectangle2D {public abstract int} outcode (double@w{ }@var{x}, double@w{ }@var{y})
Return true if line segment intersects interior of this
rectangle.
@end deftypemethod
@deftypemethod Rectangle2D {public int} outcode (java.awt.geom.Point2D@w{ }@var{p})
@end deftypemethod
@deftypemethod Rectangle2D {public void} setFrame (double@w{ }@var{x}, double@w{ }@var{y}, double@w{ }@var{w}, double@w{ }@var{h})
Set bounding frame for this rectangle.
@end deftypemethod
@deftypemethod Rectangle2D {public Rectangle2D} getBounds2D ()
@end deftypemethod
@deftypemethod Rectangle2D {public boolean} contains (double@w{ }@var{x}, double@w{ }@var{y})
@end deftypemethod
@deftypemethod Rectangle2D {public boolean} intersects (double@w{ }@var{x}, double@w{ }@var{y}, double@w{ }@var{w}, double@w{ }@var{h})
@end deftypemethod
@deftypemethod Rectangle2D {public boolean} contains (double@w{ }@var{x}, double@w{ }@var{y}, double@w{ }@var{w}, double@w{ }@var{h})
@end deftypemethod
@deftypemethod Rectangle2D {public abstract Rectangle2D} createIntersection (java.awt.geom.Rectangle2D@w{ }@var{r})
@end deftypemethod
@deftypemethod Rectangle2D {public static void} intersect (java.awt.geom.Rectangle2D@w{ }@var{src1}, java.awt.geom.Rectangle2D@w{ }@var{src2}, java.awt.geom.Rectangle2D@w{ }@var{dest})
@end deftypemethod
@deftypemethod Rectangle2D {public abstract Rectangle2D} createUnion (java.awt.geom.Rectangle2D@w{ }@var{r})
@end deftypemethod
@deftypemethod Rectangle2D {public static void} union (java.awt.geom.Rectangle2D@w{ }@var{src1}, java.awt.geom.Rectangle2D@w{ }@var{src2}, java.awt.geom.Rectangle2D@w{ }@var{dest})
@end deftypemethod
@deftypemethod Rectangle2D {public void} add (double@w{ }@var{newx}, double@w{ }@var{newy})
@end deftypemethod
@deftypemethod Rectangle2D {public void} add (java.awt.geom.Point2D@w{ }@var{p})
@end deftypemethod
@deftypemethod Rectangle2D {public void} add (java.awt.geom.Rectangle2D@w{ }@var{r})
@end deftypemethod
@deftypemethod Rectangle2D {public PathIterator} getPathIterator (java.awt.geom.AffineTransform@w{ }@var{at})
@end deftypemethod
@deftypemethod Rectangle2D.Double {public double} getX ()
@end deftypemethod
@deftypemethod Rectangle2D.Double {public double} getY ()
@end deftypemethod
@deftypemethod Rectangle2D.Double {public double} getWidth ()
@end deftypemethod
@deftypemethod Rectangle2D.Double {public double} getHeight ()
@end deftypemethod
@deftypemethod Rectangle2D.Double {public boolean} isEmpty ()
@end deftypemethod
@deftypemethod Rectangle2D.Double {public void} setRect (double@w{ }@var{x}, double@w{ }@var{y}, double@w{ }@var{w}, double@w{ }@var{h})
@end deftypemethod
@deftypemethod Rectangle2D.Double {public void} setRect (java.awt.geom.Rectangle2D@w{ }@var{r})
@end deftypemethod
@deftypemethod Rectangle2D.Double {public int} outcode (double@w{ }@var{x}, double@w{ }@var{y})
@end deftypemethod
@deftypemethod Rectangle2D.Double {public Rectangle2D} getBounds2D ()
@end deftypemethod
@deftypemethod Rectangle2D.Double {public Rectangle2D} createIntersection (java.awt.geom.Rectangle2D@w{ }@var{r})
@end deftypemethod
@deftypemethod Rectangle2D.Double {public Rectangle2D} createUnion (java.awt.geom.Rectangle2D@w{ }@var{r})
@end deftypemethod
@deftypemethod Rectangle2D.Double {public String} toString ()
@end deftypemethod
@deftypemethod Rectangle2D.Float {public double} getX ()
@end deftypemethod
@deftypemethod Rectangle2D.Float {public double} getY ()
@end deftypemethod
@deftypemethod Rectangle2D.Float {public double} getWidth ()
@end deftypemethod
@deftypemethod Rectangle2D.Float {public double} getHeight ()
@end deftypemethod
@deftypemethod Rectangle2D.Float {public boolean} isEmpty ()
@end deftypemethod
@deftypemethod Rectangle2D.Float {public void} setRect (double@w{ }@var{x}, double@w{ }@var{y}, double@w{ }@var{w}, double@w{ }@var{h})
@end deftypemethod
@deftypemethod Rectangle2D.Float {public void} setRect (java.awt.geom.Rectangle2D@w{ }@var{r})
@end deftypemethod
@deftypemethod Rectangle2D.Float {public int} outcode (double@w{ }@var{x}, double@w{ }@var{y})
@end deftypemethod
@deftypemethod Rectangle2D.Float {public Rectangle2D} getBounds2D ()
@end deftypemethod
@deftypemethod Rectangle2D.Float {public Rectangle2D} createIntersection (java.awt.geom.Rectangle2D@w{ }@var{r})
@end deftypemethod
@deftypemethod Rectangle2D.Float {public Rectangle2D} createUnion (java.awt.geom.Rectangle2D@w{ }@var{r})
@end deftypemethod
@deftypemethod Rectangle2D.Float {public String} toString ()
@end deftypemethod
@deftypemethod RectangularShape {public abstract double} getX ()
@end deftypemethod
@deftypemethod RectangularShape {public abstract double} getY ()
@end deftypemethod
@deftypemethod RectangularShape {public abstract double} getWidth ()
@end deftypemethod
@deftypemethod RectangularShape {public abstract double} getHeight ()
@end deftypemethod
@deftypemethod RectangularShape {public double} getMinX ()
@end deftypemethod
@deftypemethod RectangularShape {public double} getMinY ()
@end deftypemethod
@deftypemethod RectangularShape {public double} getMaxX ()
@end deftypemethod
@deftypemethod RectangularShape {public double} getMaxY ()
@end deftypemethod
@deftypemethod RectangularShape {public double} getCenterX ()
@end deftypemethod
@deftypemethod RectangularShape {public double} getCenterY ()
@end deftypemethod
@deftypemethod RectangularShape {public Rectangle2D} getFrame ()
@end deftypemethod
@deftypemethod RectangularShape {public abstract boolean} isEmpty ()
@end deftypemethod
@deftypemethod RectangularShape {public abstract void} setFrame (double@w{ }@var{x}, double@w{ }@var{y}, double@w{ }@var{w}, double@w{ }@var{h})
@end deftypemethod
@deftypemethod RectangularShape {public void} setFrame (java.awt.geom.Point2D@w{ }@var{loc}, java.awt.geom.Dimension2D@w{ }@var{size})
@end deftypemethod
@deftypemethod RectangularShape {public void} setFrame (java.awt.geom.Rectangle2D@w{ }@var{r})
@end deftypemethod
@deftypemethod RectangularShape {public void} setFrameFromDiagonal (double@w{ }@var{x1}, double@w{ }@var{y1}, double@w{ }@var{x2}, double@w{ }@var{y2})
@end deftypemethod
@deftypemethod RectangularShape {public void} setFrameFromDiagonal (java.awt.geom.Point2D@w{ }@var{p1}, java.awt.geom.Point2D@w{ }@var{p2})
@end deftypemethod
@deftypemethod RectangularShape {public void} setFrameFromCenter (double@w{ }@var{centerX}, double@w{ }@var{centerY}, double@w{ }@var{cornerX}, double@w{ }@var{cornerY})
@end deftypemethod
@deftypemethod RectangularShape {public void} setFrameFromCenter (java.awt.geom.Point2D@w{ }@var{center}, java.awt.geom.Point2D@w{ }@var{corner})
@end deftypemethod
@deftypemethod RectangularShape {public boolean} contains (java.awt.geom.Point2D@w{ }@var{p})
@end deftypemethod
@deftypemethod RectangularShape {public boolean} intersects (java.awt.geom.Rectangle2D@w{ }@var{r})
@end deftypemethod
@deftypemethod RectangularShape {public boolean} contains (java.awt.geom.Rectangle2D@w{ }@var{r})
@end deftypemethod
@deftypemethod RectangularShape {public Rectangle} getBounds ()
@end deftypemethod
@deftypemethod RectangularShape {public PathIterator} getPathIterator (java.awt.geom.AffineTransform@w{ }@var{at}, double@w{ }@var{flatness})
@end deftypemethod
@deftypemethod RectangularShape {public Object} clone ()
@end deftypemethod
@deftypemethod RoundRectangle2D {public abstract double} getArcHeight ()
Return the arc height of this round rectangle.
@end deftypemethod
@deftypemethod RoundRectangle2D {public abstract double} getArcWidth ()
Return the arc width of this round rectangle.
@end deftypemethod
@deftypemethod RoundRectangle2D {public abstract void} setRoundRect (double@w{ }@var{x}, double@w{ }@var{y}, double@w{ }@var{w}, double@w{ }@var{h}, double@w{ }@var{arcWidth}, double@w{ }@var{arcHeight})
Set the values of this round rectangle
@end deftypemethod
@deftypemethod RoundRectangle2D {public boolean} contains (double@w{ }@var{x}, double@w{ }@var{y})
Return true if this object contains the specified point.
@end deftypemethod
@deftypemethod RoundRectangle2D {public boolean} contains (double@w{ }@var{x}, double@w{ }@var{y}, double@w{ }@var{w}, double@w{ }@var{h})
Return true if this object contains the specified rectangle
@end deftypemethod
@deftypemethod RoundRectangle2D {public PathIterator} getPathIterator (java.awt.geom.AffineTransform@w{ }@var{at})
Return a new path iterator which iterates over this rectangle.
@end deftypemethod
@deftypemethod RoundRectangle2D {public boolean} intersects (double@w{ }@var{x}, double@w{ }@var{y}, double@w{ }@var{w}, double@w{ }@var{h})
Return true if the given rectangle intersects this shape.
@end deftypemethod
@deftypemethod RoundRectangle2D {public void} setFrame (double@w{ }@var{x}, double@w{ }@var{y}, double@w{ }@var{w}, double@w{ }@var{h})
Set the boundary of this round rectangle.
@end deftypemethod
@deftypemethod RoundRectangle2D {public void} setRoundRect (java.awt.geom.RoundRectangle2D@w{ }@var{rr})
Set the values of this round rectangle to be the same as those
of the argument.
@end deftypemethod
@deftypemethod RoundRectangle2D.Float {public double} getArcHeight ()
@end deftypemethod
@deftypemethod RoundRectangle2D.Float {public double} getArcWidth ()
@end deftypemethod
@deftypemethod RoundRectangle2D.Float {public Rectangle2D} getBounds2D ()
@end deftypemethod
@deftypemethod RoundRectangle2D.Float {public double} getX ()
@end deftypemethod
@deftypemethod RoundRectangle2D.Float {public double} getY ()
@end deftypemethod
@deftypemethod RoundRectangle2D.Float {public double} getWidth ()
@end deftypemethod
@deftypemethod RoundRectangle2D.Float {public double} getHeight ()
@end deftypemethod
@deftypemethod RoundRectangle2D.Float {public boolean} isEmpty ()
@end deftypemethod
@deftypemethod RoundRectangle2D.Float {public void} setRoundRect (float@w{ }@var{x}, float@w{ }@var{y}, float@w{ }@var{w}, float@w{ }@var{h}, float@w{ }@var{arcWidth}, float@w{ }@var{arcHeight})
@end deftypemethod
@deftypemethod RoundRectangle2D.Float {public void} setRoundRect (double@w{ }@var{x}, double@w{ }@var{y}, double@w{ }@var{w}, double@w{ }@var{h}, double@w{ }@var{arcWidth}, double@w{ }@var{arcHeight})
@end deftypemethod
@deftypemethod RoundRectangle2D.Double {public double} getArcHeight ()
@end deftypemethod
@deftypemethod RoundRectangle2D.Double {public double} getArcWidth ()
@end deftypemethod
@deftypemethod RoundRectangle2D.Double {public Rectangle2D} getBounds2D ()
@end deftypemethod
@deftypemethod RoundRectangle2D.Double {public double} getX ()
@end deftypemethod
@deftypemethod RoundRectangle2D.Double {public double} getY ()
@end deftypemethod
@deftypemethod RoundRectangle2D.Double {public double} getWidth ()
@end deftypemethod
@deftypemethod RoundRectangle2D.Double {public double} getHeight ()
@end deftypemethod
@deftypemethod RoundRectangle2D.Double {public boolean} isEmpty ()
@end deftypemethod
@deftypemethod RoundRectangle2D.Double {public void} setRoundRect (double@w{ }@var{x}, double@w{ }@var{y}, double@w{ }@var{w}, double@w{ }@var{h}, double@w{ }@var{arcWidth}, double@w{ }@var{arcHeight})
@end deftypemethod

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,265 @@
@deftypemethod ButtonPeer {public void} setLabel (java.lang.String@w{ }@var{label})
@end deftypemethod
@deftypemethod CheckboxMenuItemPeer {public void} setState (boolean@w{ }@var{state})
@end deftypemethod
@deftypemethod CheckboxPeer {public void} setCheckboxGroup (java.awt.CheckboxGroup@w{ }@var{group})
@end deftypemethod
@deftypemethod CheckboxPeer {public void} setLabel (java.lang.String@w{ }@var{label})
@end deftypemethod
@deftypemethod CheckboxPeer {public void} setState (boolean@w{ }@var{state})
@end deftypemethod
@deftypemethod ChoicePeer {public void} add (java.lang.String@w{ }@var{item}, int@w{ }@var{index})
@end deftypemethod
@deftypemethod ChoicePeer {public void} remove (int@w{ }@var{index})
@end deftypemethod
@deftypemethod ChoicePeer {public void} select (int@w{ }@var{index})
@end deftypemethod
@deftypemethod ComponentPeer {public int} checkImage (java.awt.Image@w{ }@var{img}, int@w{ }@var{width}, int@w{ }@var{height}, java.awt.image.ImageObserver@w{ }@var{o})
@end deftypemethod
@deftypemethod ComponentPeer {public Image} createImage (java.awt.image.ImageProducer@w{ }@var{prod})
@end deftypemethod
@deftypemethod ComponentPeer {public Image} createImage (int@w{ }@var{width}, int@w{ }@var{height})
@end deftypemethod
@deftypemethod ComponentPeer {public void} dispose ()
@end deftypemethod
@deftypemethod ComponentPeer {public GraphicsConfiguration} getGraphicsConfiguration ()
Get the graphics configuration of the component. The color model
of the component can be derived from the configuration.
@end deftypemethod
@deftypemethod ComponentPeer {public FontMetrics} getFontMetrics (java.awt.Font@w{ }@var{f})
@end deftypemethod
@deftypemethod ComponentPeer {public Graphics} getGraphics ()
@end deftypemethod
@deftypemethod ComponentPeer {public Point} getLocationOnScreen ()
@end deftypemethod
@deftypemethod ComponentPeer {public Dimension} getMinimumSize ()
@end deftypemethod
@deftypemethod ComponentPeer {public Dimension} getPreferredSize ()
@end deftypemethod
@deftypemethod ComponentPeer {public Toolkit} getToolkit ()
@end deftypemethod
@deftypemethod ComponentPeer {public void} handleEvent (java.awt.AWTEvent@w{ }@var{e})
@end deftypemethod
@deftypemethod ComponentPeer {public boolean} isFocusTraversable ()
@end deftypemethod
@deftypemethod ComponentPeer {public void} paint (java.awt.Graphics@w{ }@var{graphics})
@end deftypemethod
@deftypemethod ComponentPeer {public boolean} prepareImage (java.awt.Image@w{ }@var{img}, int@w{ }@var{width}, int@w{ }@var{height}, java.awt.image.ImageObserver@w{ }@var{o})
@end deftypemethod
@deftypemethod ComponentPeer {public void} print (java.awt.Graphics@w{ }@var{graphics})
@end deftypemethod
@deftypemethod ComponentPeer {public void} repaint (long@w{ }@var{tm}, int@w{ }@var{x}, int@w{ }@var{y}, int@w{ }@var{width}, int@w{ }@var{height})
@end deftypemethod
@deftypemethod ComponentPeer {public void} requestFocus ()
@end deftypemethod
@deftypemethod ComponentPeer {public void} setBackground (java.awt.Color@w{ }@var{color})
@end deftypemethod
@deftypemethod ComponentPeer {public void} setBounds (int@w{ }@var{x}, int@w{ }@var{y}, int@w{ }@var{width}, int@w{ }@var{height})
@end deftypemethod
@deftypemethod ComponentPeer {public void} setCursor (java.awt.Cursor@w{ }@var{cursor})
@end deftypemethod
@deftypemethod ComponentPeer {public void} setEnabled (boolean@w{ }@var{enabled})
@end deftypemethod
@deftypemethod ComponentPeer {public void} setEventMask (long@w{ }@var{eventMask})
@end deftypemethod
@deftypemethod ComponentPeer {public void} setFont (java.awt.Font@w{ }@var{font})
@end deftypemethod
@deftypemethod ComponentPeer {public void} setForeground (java.awt.Color@w{ }@var{color})
@end deftypemethod
@deftypemethod ComponentPeer {public void} setVisible (boolean@w{ }@var{visible})
@end deftypemethod
@deftypemethod ContainerPeer {public Insets} getInsets ()
@end deftypemethod
@deftypemethod ContainerPeer {public void} beginValidate ()
@end deftypemethod
@deftypemethod ContainerPeer {public void} endValidate ()
@end deftypemethod
@deftypemethod DialogPeer {public void} setResizable (boolean@w{ }@var{resizeable})
@end deftypemethod
@deftypemethod DialogPeer {public void} setTitle (java.lang.String@w{ }@var{title})
@end deftypemethod
@deftypemethod FileDialogPeer {public void} setDirectory (java.lang.String@w{ }@var{dir})
@end deftypemethod
@deftypemethod FileDialogPeer {public void} setFile (java.lang.String@w{ }@var{file})
@end deftypemethod
@deftypemethod FileDialogPeer {public void} setFilenameFilter (java.io.FilenameFilter@w{ }@var{filter})
@end deftypemethod
@deftypemethod FramePeer {public void} setIconImage (java.awt.Image@w{ }@var{image})
@end deftypemethod
@deftypemethod FramePeer {public void} setMenuBar (java.awt.MenuBar@w{ }@var{mb})
@end deftypemethod
@deftypemethod FramePeer {public void} setResizable (boolean@w{ }@var{resizable})
@end deftypemethod
@deftypemethod FramePeer {public void} setTitle (java.lang.String@w{ }@var{title})
@end deftypemethod
@deftypemethod LabelPeer {public void} setAlignment (int@w{ }@var{alignment})
@end deftypemethod
@deftypemethod LabelPeer {public void} setText (java.lang.String@w{ }@var{text})
@end deftypemethod
@deftypemethod ListPeer {public void} add (java.lang.String@w{ }@var{item}, int@w{ }@var{index})
@end deftypemethod
@deftypemethod ListPeer {public void} delItems (int@w{ }@var{start_index}, int@w{ }@var{end_index})
@end deftypemethod
@deftypemethod ListPeer {public void} deselect (int@w{ }@var{index})
@end deftypemethod
@deftypemethod ListPeer {public int} getSelectedIndexes ()
@end deftypemethod
@deftypemethod ListPeer {public void} makeVisible (int@w{ }@var{index})
@end deftypemethod
@deftypemethod ListPeer {public void} removeAll ()
@end deftypemethod
@deftypemethod ListPeer {public void} select (int@w{ }@var{index})
@end deftypemethod
@deftypemethod ListPeer {public void} setMultipleMode (boolean@w{ }@var{multipleMode})
@end deftypemethod
@deftypemethod MenuBarPeer {public void} addHelpMenu (java.awt.Menu@w{ }@var{menu})
@end deftypemethod
@deftypemethod MenuBarPeer {public void} add (java.awt.Menu@w{ }@var{menu})
@end deftypemethod
@deftypemethod MenuBarPeer {public void} remove (int@w{ }@var{index})
@end deftypemethod
@deftypemethod MenuComponentPeer {public void} dispose ()
@end deftypemethod
@deftypemethod MenuItemPeer {public void} setEnabled (boolean@w{ }@var{enabled})
@end deftypemethod
@deftypemethod MenuItemPeer {public void} setLabel (java.lang.String@w{ }@var{text})
@end deftypemethod
@deftypemethod MenuPeer {public void} add (java.awt.MenuItem@w{ }@var{item})
@end deftypemethod
@deftypemethod MenuPeer {public void} addSeparator ()
@end deftypemethod
@deftypemethod MenuPeer {public void} remove (int@w{ }@var{index})
@end deftypemethod
@deftypemethod PopupMenuPeer {public void} show (java.awt.Event@w{ }@var{e})
@end deftypemethod
@deftypemethod ScrollbarPeer {public void} setLineIncrement (int@w{ }@var{increment})
@end deftypemethod
@deftypemethod ScrollbarPeer {public void} setPageIncrement (int@w{ }@var{increment})
@end deftypemethod
@deftypemethod ScrollbarPeer {public void} setValues (int@w{ }@var{value}, int@w{ }@var{visible}, int@w{ }@var{minimum}, int@w{ }@var{maximum})
@end deftypemethod
@deftypemethod ScrollPanePeer {public void} childResized (int@w{ }@var{width}, int@w{ }@var{height})
@end deftypemethod
@deftypemethod ScrollPanePeer {public int} getHScrollbarHeight ()
@end deftypemethod
@deftypemethod ScrollPanePeer {public int} getVScrollbarWidth ()
@end deftypemethod
@deftypemethod ScrollPanePeer {public void} setScrollPosition (int@w{ }@var{x}, int@w{ }@var{y})
@end deftypemethod
@deftypemethod ScrollPanePeer {public void} setUnitIncrement (java.awt.Adjustable@w{ }@var{adj}, int@w{ }@var{increment})
@end deftypemethod
@deftypemethod ScrollPanePeer {public void} setValue (java.awt.Adjustable@w{ }@var{adj}, int@w{ }@var{value})
@end deftypemethod
@deftypemethod TextAreaPeer {public void} insert (java.lang.String@w{ }@var{text}, int@w{ }@var{pos})
@end deftypemethod
@deftypemethod TextAreaPeer {public void} replaceRange (java.lang.String@w{ }@var{text}, int@w{ }@var{start}, int@w{ }@var{end})
@end deftypemethod
@deftypemethod TextComponentPeer {public int} getCaretPosition ()
@end deftypemethod
@deftypemethod TextComponentPeer {public int} getSelectionEnd ()
@end deftypemethod
@deftypemethod TextComponentPeer {public int} getSelectionStart ()
@end deftypemethod
@deftypemethod TextComponentPeer {public String} getText ()
@end deftypemethod
@deftypemethod TextComponentPeer {public void} select (int@w{ }@var{start}, int@w{ }@var{end})
@end deftypemethod
@deftypemethod TextComponentPeer {public void} setCaretPosition (int@w{ }@var{pos})
@end deftypemethod
@deftypemethod TextComponentPeer {public void} setEditable (boolean@w{ }@var{editable})
@end deftypemethod
@deftypemethod TextComponentPeer {public void} setText (java.lang.String@w{ }@var{text})
@end deftypemethod
@deftypemethod TextFieldPeer {public void} setEchoChar (char@w{ }@var{echo})
@end deftypemethod
@deftypemethod WindowPeer {public void} toBack ()
@end deftypemethod
@deftypemethod WindowPeer {public void} toFront ()
@end deftypemethod

2757
libjava/doc/java-awt.texi Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,543 @@
@deftypemethod BeanContextChildComponentProxy {public Component} getComponent ()
Get the @code{Component} associated with this @code{BeanContextChild}.
@end deftypemethod
@deftypemethod BeanContextChild {public void} setBeanContext (java.beans.beancontext.BeanContext@w{ }@var{parent}) @*throws PropertyVetoException
Set the parent @code{BeanContext}.
This method is called from @code{BeanContext.add()} and
should not be called directly.
When this Object is being added to a new BeanContext or moved
from an old one, a non-null value will be passed in.
When this Object is being removed from the current
@code{BeanContext}, @code{setBeanContext()} will
receive the parameter @code{null}.
When being removed from the current @code{BeanContext},
it is the @code{BeanContextChild}'s responsibility to
release all services it has obtained.
This change should generate @code{PropertyChangeEvent}
and @code{VetoableChangeEvent}s with the property name
"beanContext". If the change is vetoed, it must re-throw the
exception and not change anything. In this way, the parent
@code{BeanContextChild}, who has registered himself with
you, will have a chance to remove this child from its
collection.
If the Bean does not wish to change the parent or be removed
from one, it may throw the @code{PropertyVetoException}.
If you veto a @code{setBeanContext(null)} call, then you
should try your hardest to remedy whatever problem is keeping
you from being removed from the @code{BeanContext} so
that you can <em>not</em> veto it the next time.
Otherwise, nasty pathological recursion stuff could occur in
certain situations.
If you do veto the change, you must first back out any changes
you made prior to the veto. Best not to make any such changes
prior to the veto in the first place.
This method is called from @code{BeanContext.add()} and
should not be called directly.
@end deftypemethod
@deftypemethod BeanContextChild {public BeanContext} getBeanContext ()
Get the parent @code{BeanContext}.
@end deftypemethod
@deftypemethod BeanContextChild {public void} addPropertyChangeListener (java.lang.String@w{ }@var{prop}, java.beans.PropertyChangeListener@w{ }@var{listener})
Add a listener that will be notified when a specific property changes.
@end deftypemethod
@deftypemethod BeanContextChild {public void} removePropertyChangeListener (java.lang.String@w{ }@var{prop}, java.beans.PropertyChangeListener@w{ }@var{listener})
Remove a listener to a certain property.
@end deftypemethod
@deftypemethod BeanContextChild {public void} addVetoableChangeListener (java.lang.String@w{ }@var{prop}, java.beans.VetoableChangeListener@w{ }@var{listener})
Add a listener that will be notified when a specific property
change is requested (a PropertyVetoException may be thrown) as
well as after the change is successfully made.
@end deftypemethod
@deftypemethod BeanContextChild {public void} removeVetoableChangeListener (java.lang.String@w{ }@var{prop}, java.beans.VetoableChangeListener@w{ }@var{listener})
Remove a listener to a certain property.
@end deftypemethod
@deftypemethod BeanContextChildSupport {public void} setBeanContext (java.beans.beancontext.BeanContext@w{ }@var{newBeanContext}) @*throws PropertyVetoException
Set the parent @code{BeanContext}.
When this Object is being added to a new BeanContext or moved
from an old one, a non-null value will be passed in.
When this Object is being removed from the current
@code{BeanContext}, @code{setBeanContext()} will
receive the parameter @code{null}.
Order of events:
@itemize @bullet
@item
If the new @code{BeanContext} is the same as the old
one, nothing happens.
@item
If the change has not been rejected or vetoed before, call
@code{validatePendingSetBeanContext()}. If this call
returns @code{false}, the change is rejected and a
@code{PropertyVetoException} is thrown.
@item
If the change has not been rejected or vetoed before,
@code{VetoableChangeEvent}s are fired with the name
@code{"beanContext"}, using the
@code{fireVetoableChange()} method. If a veto
occurs, reversion events are fired using the same method,
the change is rejected, and the veto is rethrown.
@item
@code{releaseBeanContextResources()} is called.
@item
The change is made.
@item
@code{PropertyChangeEvent}s are fired using the
@code{firePropertyChange()} method.
@item
@code{initializeBeanContextResources()} is called.
@end itemize
@end deftypemethod
@deftypemethod BeanContextChildSupport {public BeanContext} getBeanContext ()
Get the parent @code{BeanContext}.
@end deftypemethod
@deftypemethod BeanContextChildSupport {public BeanContextChild} getBeanContextChildPeer ()
Get the peer (or @code{this} if there is no peer).
@end deftypemethod
@deftypemethod BeanContextChildSupport {public boolean} isDelegated ()
Determine whether there is a peer.
This is true iff @code{getBeanContextChildPeer() == this}.
@end deftypemethod
@deftypemethod BeanContextChildSupport {public void} addPropertyChangeListener (java.lang.String@w{ }@var{propertyName}, java.beans.PropertyChangeListener@w{ }@var{listener})
Add a listener that will be notified when a specific property changes.
@end deftypemethod
@deftypemethod BeanContextChildSupport {public void} removePropertyChangeListener (java.lang.String@w{ }@var{propertyName}, java.beans.PropertyChangeListener@w{ }@var{listener})
Remove a listener to a certain property.
@end deftypemethod
@deftypemethod BeanContextChildSupport {public void} addVetoableChangeListener (java.lang.String@w{ }@var{propertyName}, java.beans.VetoableChangeListener@w{ }@var{listener})
Add a listener that will be notified when a specific property
change is requested (a PropertyVetoException may be thrown) as
well as after the change is successfully made.
@end deftypemethod
@deftypemethod BeanContextChildSupport {public void} removeVetoableChangeListener (java.lang.String@w{ }@var{propertyName}, java.beans.VetoableChangeListener@w{ }@var{listener})
Remove a listener to a certain property.
@end deftypemethod
@deftypemethod BeanContextChildSupport {public void} firePropertyChange (java.lang.String@w{ }@var{propertyName}, java.lang.Object@w{ }@var{oldVal}, java.lang.Object@w{ }@var{newVal})
Fire a property change.
@end deftypemethod
@deftypemethod BeanContextChildSupport {public void} fireVetoableChange (java.lang.String@w{ }@var{propertyName}, java.lang.Object@w{ }@var{oldVal}, java.lang.Object@w{ }@var{newVal}) @*throws PropertyVetoException
Fire a vetoable property change.
@end deftypemethod
@deftypemethod BeanContextChildSupport {public void} serviceRevoked (java.beans.beancontext.BeanContextServiceRevokedEvent@w{ }@var{event})
Called by @code{BeanContextServices.revokeService()} to indicate that a service has been revoked.
If you have a reference to such a service, it should be
discarded and may no longer function properly.
@code{getService()} will no longer work on the specified
service class after this event has been fired.
<EM>This method is meant to be overriden.</EM>
@code{BeanContextChildSupport}'s implementation does
nothing.
@end deftypemethod
@deftypemethod BeanContextChildSupport {public void} serviceAvailable (java.beans.beancontext.BeanContextServiceAvailableEvent@w{ }@var{event})
Called by @code{BeanContextServices} whenever a service is made available.
<EM>This method is meant to be overriden.</EM>
@code{BeanContextChildSupport}'s implementation does
nothing.
@end deftypemethod
@deftypemethod BeanContextChildSupport {public boolean} validatePendingSetBeanContext (java.beans.beancontext.BeanContext@w{ }@var{newBeanContext})
Called by @code{setBeanContext()} to determine whether the set should be rejected.
<EM>This method is meant to be overriden.</EM>
@code{BeanContextChildSupport}'s implementation simply
returns @code{true}.
@end deftypemethod
@deftypemethod BeanContextChildSupport {protected void} releaseBeanContextResources ()
Called by @code{setBeanContext()} to release resources of a what will soon no longer be the parent.
<EM>This method is meant to be overriden.</EM>
@code{BeanContextChildSupport}'s implementation does
nothing.
@end deftypemethod
@deftypemethod BeanContextChildSupport {protected void} initializeBeanContextResources ()
Called by @code{setBeanContext()} to grab resources when the parent has been set.
<EM>This method is meant to be overriden.</EM>
@code{BeanContextChildSupport}'s implementation does
nothing.
@end deftypemethod
@deftypemethod BeanContextContainerProxy {public Container} getContainer ()
Get the @code{Container} associated with this @code{BeanContext}.
@end deftypemethod
@deftypemethod BeanContextEvent {public BeanContext} getBeanContext ()
Get the @code{BeanContext} that originated this event.
@end deftypemethod
@deftypemethod BeanContextEvent {public BeanContext} getPropagatedFrom ()
Get the most recent propagator of this event.
If this value is @code{null}, you have received the event
straight from the source.
@end deftypemethod
@deftypemethod BeanContextEvent {public boolean} isPropagated ()
Tell whether this event has been propagated.
@end deftypemethod
@deftypemethod BeanContextEvent {public void} setPropagatedFrom (java.beans.beancontext.BeanContext@w{ }@var{propagator})
Set the most recent propagator of this event.
@end deftypemethod
@deftypemethod BeanContext {public Object} instantiateChild (java.lang.String@w{ }@var{beanName}) @*throws IOException, ClassNotFoundException
Instantiate a Bean using this Bean's @code{ClassLoader}
and this @code{BeanContext} as the parent.
This method exists mainly so that @code{BeanContext}
implementations can perform extra actions on Beans that are
created within them.
@end deftypemethod
@deftypemethod BeanContext {public URL} getResource (java.lang.String@w{ }@var{resourceName}, java.beans.beancontext.BeanContextChild@w{ }@var{requestor})
Get a resource. The @code{BeanContext} will typically
call @code{ClassLoader.getResource()}, but may do it any
way it wants to. This allows a @code{BeanContext} to
have its own set of resources separate from the rest of the
system.
Beans should call this method on their parent rather than the
associated @code{ClassLoader} method.
I am assuming, but am not entirely sure, that if a
@code{BeanContext} cannot find a resource, its
responsibility is to call the @code{getResource} method
of its parent @code{BeanContext}.
@end deftypemethod
@deftypemethod BeanContext {public InputStream} getResourceAsStream (java.lang.String@w{ }@var{resourceName}, java.beans.beancontext.BeanContextChild@w{ }@var{requestor})
Get a resource as a stream. The @code{BeanContext} will
typically call @code{ClassLoader.getResourceAsStream()},
but may do it any way it wants to. This allows a
@code{BeanContext}'s children to have their own set of
resources separate from the rest of the system.
Beans should call this method on their parent rather than the
associated @code{ClassLoader} method.
I am assuming, but am not entirely sure, that if a
@code{BeanContext} cannot find a resource, its
responsibility is to call the @code{getResourceAsStream}
method of its parent @code{BeanContext}.
@end deftypemethod
@deftypemethod BeanContext {public void} addBeanContextMembershipListener (java.beans.beancontext.BeanContextMembershipListener@w{ }@var{listener})
Add a listener on changes to the membership of this
@code{BeanContext} object.
@end deftypemethod
@deftypemethod BeanContext {public void} removeBeanContextMembershipListener (java.beans.beancontext.BeanContextMembershipListener@w{ }@var{listener})
Remove a listener on changes to the membership of this
@code{BeanContext} object.
@end deftypemethod
@deftypemethod BeanContextMembershipEvent {public int} size ()
The number of children removed or added.
@end deftypemethod
@deftypemethod BeanContextMembershipEvent {public Iterator} iterator ()
An iterator that will step through all the children.
@end deftypemethod
@deftypemethod BeanContextMembershipEvent {public Object} toArray ()
An array of the children.
@end deftypemethod
@deftypemethod BeanContextMembershipEvent {public boolean} contains (java.lang.Object@w{ }@var{child})
Tell whether the @code{Object} is one of the children added or removed.
@end deftypemethod
@deftypemethod BeanContextMembershipListener {public void} childrenAdded (java.beans.beancontext.BeanContextMembershipEvent@w{ }@var{event})
When beans are added to a @code{BeanContext},
this method is called to fire the event.
@end deftypemethod
@deftypemethod BeanContextMembershipListener {public void} childrenRemoved (java.beans.beancontext.BeanContextMembershipEvent@w{ }@var{event})
When beans are removed from a @code{BeanContext},
this method is called to fire the event.
@end deftypemethod
@deftypemethod BeanContextProxy {public BeanContextChild} getBeanContextProxy ()
Return the @code{BeanContextChild} associated with this
@code{Object}.
@end deftypemethod
@deftypemethod BeanContextServiceAvailableEvent {public Iterator} getCurrentServiceSelectors ()
Get the current service selectors of the service class.
This is identical to @code{getSourceAsBeanContextServices().getCurrentServiceSelectors(getServiceClass())}
@end deftypemethod
@deftypemethod BeanContextServiceAvailableEvent {public Class} getServiceClass ()
Get the newly available service class.
@end deftypemethod
@deftypemethod BeanContextServiceAvailableEvent {public BeanContextServices} getSourceAsBeanContextServices ()
Get the @code{BeanContextServices} through which the new service is available.
@end deftypemethod
@deftypemethod BeanContextServiceProviderBeanInfo {public BeanInfo} getServicesBeanInfo ()
Get @code{BeanInfo}s for all of the service classes of this @code{BeanInfoServiceProvider}.
@end deftypemethod
@deftypemethod BeanContextServiceProvider {public Object} getService (java.beans.beancontext.BeanContextServices@w{ }@var{services}, java.lang.Object@w{ }@var{requestor}, java.lang.Class@w{ }@var{serviceClass}, java.lang.Object@w{ }@var{serviceSelector})
Get a service.
Called from @code{BeanContextServices.getService().
If the requested service class is not available, or if this
@code{BeanContextServiceProvider} chooses not honor the
request for some reason, then this method will return
@code{null}.
This method may throw unchecked exceptions, so watch out.
@end deftypemethod
@deftypemethod BeanContextServiceProvider {public void} releaseService (java.beans.beancontext.BeanContextServices@w{ }@var{services}, java.lang.Object@w{ }@var{requestor}, java.lang.Object@w{ }@var{service})
Release the service.
Called by @code{BeanContextServices.releaseService()}.
Most @code{BeanContextServiceProvider}s won't have to do
anything here.
@end deftypemethod
@deftypemethod BeanContextServiceProvider {public Iterator} getCurrentServiceSelectors (java.beans.beancontext.BeanContextServices@w{ }@var{services}, java.lang.Class@w{ }@var{serviceClass})
Get a list of valid service selectors for the specified service class.
This method is called from
@code{BeanContextServices.getCurrentServiceSelectors()}.
If the specified service class does not have a finite number of
valid service selectors, it should return @code{null}.
If it takes a general @code{Integer} parameter, for
example, you may as well return @code{null} or the poor
soul who called this method will be iterating all day.
If it has no valid service selectors, it should still return an empty
@code{Iterator}.
@end deftypemethod
@deftypemethod BeanContextServiceRevokedEvent {public Class} getServiceClass ()
Get the revoked service class.
@end deftypemethod
@deftypemethod BeanContextServiceRevokedEvent {public boolean} isServiceClass (java.lang.Class@w{ }@var{c})
Tell whether the revoked service class is the same as the specified class.
Identical to @code{getServiceClass().equals(c)}.
@end deftypemethod
@deftypemethod BeanContextServiceRevokedEvent {public BeanContextServices} getSourceAsBeanContextServices ()
Get the @code{BeanContextServices} through which the service was available.
@end deftypemethod
@deftypemethod BeanContextServiceRevokedEvent {public boolean} isCurrentServiceInvalidNow ()
Tell whether current instances of the revoked service are usable or not.
This is determined by whether the service was revoked
immediately.
@end deftypemethod
@deftypemethod BeanContextServiceRevokedListener {public void} serviceRevoked (java.beans.beancontext.BeanContextServiceRevokedEvent@w{ }@var{event})
Called by @code{BeanContextServices.revokeService()} to indicate that a service has been revoked.
If you have a reference to such a service, it should be
discarded and may no longer function properly.
@code{getService()} will no longer work on the specified
service class after this event has been fired.
@end deftypemethod
@deftypemethod BeanContextServices {public boolean} addService (java.lang.Class@w{ }@var{serviceClass}, java.beans.beancontext.BeanContextServiceProvider@w{ }@var{provider})
Register a service to make it available to others.
This class may refuse to add the service based on whatever
information it can gather, including whether the service
provider is trusted.
@end deftypemethod
@deftypemethod BeanContextServices {public void} revokeService (java.lang.Class@w{ }@var{serviceClass}, java.beans.beancontext.BeanContextServiceProvider@w{ }@var{provider}, boolean@w{ }@var{revokeNow})
Make it so that no one else can use this service.
If @code{revokeNow} is @code{false}, the only
effect of this method is to make all subsequent calls to
@code{getService()} on this service class fail.
If it is @code{true}, a message is also sent out to all
listeners on the service and all references to it are released.
@end deftypemethod
@deftypemethod BeanContextServices {public void} releaseService (java.beans.beancontext.BeanContextChild@w{ }@var{requestorChild}, java.lang.Object@w{ }@var{requestor}, java.lang.Object@w{ }@var{service})
Release your copy of this service.
If all copies of the service's class have been relinquished by
the requestor, the @code{BeanContextServiceRevokedListener}
previously registered by @code{getService()} will be
unregistered.
@end deftypemethod
@deftypemethod BeanContextServices {public Object} getService (java.beans.beancontext.BeanContextChild@w{ }@var{requestorChild}, java.lang.Object@w{ }@var{requestor}, java.lang.Class@w{ }@var{serviceClass}, java.lang.Object@w{ }@var{serviceSelector}, java.beans.beancontext.BeanContextServiceRevokedListener@w{ }@var{listener})
Get a service from this @code{BeanContextServices}.
The specified listener will be registered to receive a
revocation notice for the specified serviceClass. One
notification per service class per requestor object will be
sent.
The listener will be unregistered when all services that were
obtained by that requestor for that service class are released.
If the requested service class is not available, or if this
@code{BeanContextServices} object chooses not honor the
request because the service class has been revoked or for some
other reason, then this method will return @code{null}.
This method may throw unchecked exceptions, so watch out.
@end deftypemethod
@deftypemethod BeanContextServices {public Iterator} getCurrentServiceClasses ()
Get a list of all service classes supported.
This method must synchronize on
@code{BeanContext.globalHierarchyLock}.
@end deftypemethod
@deftypemethod BeanContextServices {public Iterator} getCurrentServiceSelectors (java.lang.Class@w{ }@var{serviceClass})
Get a list of valid service selectors for the specified service class.
If the specified service class does not have a finite number of
valid service selectors, it should return @code{null}.
If it takes a general @code{Integer} parameter, for
example, you may as well return @code{null} or the poor
soul who called this method will be iterating all day.
If it has no valid service selectors, it should still return an empty
@code{Iterator}.
@end deftypemethod
@deftypemethod BeanContextServices {public boolean} hasService (java.lang.Class@w{ }@var{serviceClass})
Tell whether the specified service class is available.
Iff getService() could return a non-null value for the
specified service, this method will return @code{true}.
@end deftypemethod
@deftypemethod BeanContextServices {public void} addBeanContextServicesListener (java.beans.beancontext.BeanContextServicesListener@w{ }@var{listener})
Add a listener on all adds and removes of services.
@end deftypemethod
@deftypemethod BeanContextServices {public void} removeBeanContextServicesListener (java.beans.beancontext.BeanContextServicesListener@w{ }@var{listener})
Remove a listener on all adds and removes of services.
@end deftypemethod
@deftypemethod BeanContextServicesListener {public void} serviceAvailable (java.beans.beancontext.BeanContextServiceAvailableEvent@w{ }@var{event})
Called by @code{BeanContextServices} whenever a service is made available.
@end deftypemethod

810
libjava/doc/java-beans.texi Normal file
View File

@ -0,0 +1,810 @@
@deftypemethod BeanDescriptor {public Class} getBeanClass ()
Get the Bean's class.
@end deftypemethod
@deftypemethod BeanDescriptor {public Class} getCustomizerClass ()
Get the Bean's customizer's class.
@end deftypemethod
@deftypemethod BeanInfo {public BeanDescriptor} getBeanDescriptor ()
Get the general description of this Bean type.
@end deftypemethod
@deftypemethod BeanInfo {public EventSetDescriptor} getEventSetDescriptors ()
Get the events this Bean type fires.
@end deftypemethod
@deftypemethod BeanInfo {public int} getDefaultEventIndex ()
Get the "default" event, basically the one a RAD tool
user is most likely to select.
@end deftypemethod
@deftypemethod BeanInfo {public PropertyDescriptor} getPropertyDescriptors ()
Get the properties (get/set method pairs) this Bean
type supports.
@end deftypemethod
@deftypemethod BeanInfo {public int} getDefaultPropertyIndex ()
Get the "default" property, basically the one a RAD
tool user is most likely to select.
@end deftypemethod
@deftypemethod BeanInfo {public MethodDescriptor} getMethodDescriptors ()
Get the methods this Bean type supports.
@end deftypemethod
@deftypemethod BeanInfo {public BeanInfo} getAdditionalBeanInfo ()
Get additional BeanInfos representing this Bean.
In this version of JavaBeans, this method is used so
that space and time can be saved by reading a BeanInfo
for each class in the hierarchy (super, super(super),
and so on).
The order of precedence when two pieces of BeanInfo
conflict (such as two PropertyDescriptors that have
the same name), in order from highest precedence to
lowest, is:
@itemize @bullet
@item
This BeanInfo object.
@item
@code{getAdditionalBeanInfo()[getAdditionalBeanInfo().length]}
@item
...
@item
@code{getAdditionalBeanInfo()[1]}
@item
@code{getAdditionalBeanInfo()[0]}
@end itemize
<STRONG>Spec Note:</STRONG> It is possible that
returning @code{null} from this method could
stop Introspection in its tracks, but it is unclear
from the spec whether this is the case.
@end deftypemethod
@deftypemethod BeanInfo {public Image} getIcon (int@w{ }@var{iconType})
Get a visual icon for this Bean.
A Bean does not have to support icons, and if it does
support icons, it does not have to support every single
type. Sun recommends that if you only support one
type, you support 16x16 color. Sun also notes that you
should try to use a type (like GIF) that allows for
transparent pixels, so that the background of the RAD
tool can show through.
<STRONG>Spec Note:</STRONG> If you do not support the
type of icon that is being asked for, but you do
support another type, it is unclear whether you should
return the other type or not. I would presume not.
@end deftypemethod
@deftypemethod Beans {public static Object} instantiate (java.lang.ClassLoader@w{ }@var{cl}, java.lang.String@w{ }@var{beanName}) @*throws IOException, ClassNotFoundException
Allows you to instantiate a Bean. This method takes
a ClassLoader from which to read the Bean and the
name of the Bean.
The Bean name should be a dotted name, like a class.
It can represent several things. Beans will search
for the Bean using the name like this:
@itemize @bullet
@item
Searches for a serialized instance of the Bean
using getResource(), mangling the Bean name by
replacing the dots with slashes and appending .ser
(for example, gnu.beans.BlahDeBlah would cause
Beans to search for gnu/beans/BlahDeBlah.ser using
getResource()).
@item
Searches for the Bean class using the beanName,
and then instantiates it with the no-arg constructor.
At that point, if it is an Applet, it provides it
with AppletContext and AppletStub, and then calls
init().
@end itemize
@end deftypemethod
@deftypemethod Beans {public static Object} getInstanceOf (java.lang.Object@w{ }@var{bean}, java.lang.Class@w{ }@var{newClass})
Get the Bean as a different class type.
This should be used instead of casting to get a new
type view of a Bean, because in the future there may
be new types of Bean, even Beans spanning multiple
Objects.
@end deftypemethod
@deftypemethod Beans {public static boolean} isInstanceOf (java.lang.Object@w{ }@var{bean}, java.lang.Class@w{ }@var{newBeanClass})
Determine whether the Bean can be cast to a different
class type.
This should be used instead of instanceof to determine
a Bean's castability, because in the future there may
be new types of Bean, even Beans spanning multiple
Objects.
@end deftypemethod
@deftypemethod Beans {public static boolean} isGuiAvailable ()
Find out whether the GUI is available to use.
Defaults to true.
@end deftypemethod
@deftypemethod Beans {public static boolean} isDesignTime ()
Find out whether it is design time. Design time means
we are in a RAD tool.
Defaults to false.
@end deftypemethod
@deftypemethod Beans {public static void} setGuiAvailable (boolean@w{ }@var{guiAvailable}) @*throws SecurityException
Set whether the GUI is available to use.
@end deftypemethod
@deftypemethod Beans {public static void} setDesignTime (boolean@w{ }@var{designTime}) @*throws SecurityException
Set whether it is design time. Design time means we
are in a RAD tool.
@end deftypemethod
@deftypemethod Customizer {public void} setObject (java.lang.Object@w{ }@var{bean})
Set the object to Customize. This will always be a
Bean that had a BeanDescriptor indicating this
Customizer.
@end deftypemethod
@deftypemethod Customizer {public void} addPropertyChangeListener (java.beans.PropertyChangeListener@w{ }@var{l})
Add a PropertyChangeListener.
@end deftypemethod
@deftypemethod Customizer {public void} removePropertyChangeListener (java.beans.PropertyChangeListener@w{ }@var{l})
Remove a PropertyChangeListener.
@end deftypemethod
@deftypemethod DesignMode {public void} setDesignTime (boolean@w{ }@var{designTime})
The environment will call this method on your
@code{BeanContextChild} when it is registered in a parent
@code{BeanContext} or when behavior needs to switch from
design time to runtime behavior (or vice versa).
@code{BeanContext}s are required to fire
@code{PropertyChangeEvent}s when properties change.
@code{designTime} is a property, and therefore when you
implement @code{setDesignTime()}, you need to fire a
@code{PropertyChangeEvent} with the old value, the new
value and using @code{PROPERTYNAME} as the property name.
@end deftypemethod
@deftypemethod DesignMode {public boolean} isDesignTime ()
This method should tell whether it is design time or runtime.
@end deftypemethod
@deftypemethod EventSetDescriptor {public Class} getListenerType ()
Get the class that contains the event firing methods.
@end deftypemethod
@deftypemethod EventSetDescriptor {public Method} getListenerMethods ()
Get the event firing methods.
@end deftypemethod
@deftypemethod EventSetDescriptor {public MethodDescriptor} getListenerMethodDescriptors ()
Get the event firing methods as MethodDescriptors.
@end deftypemethod
@deftypemethod EventSetDescriptor {public Method} getAddListenerMethod ()
Get the add listener method.
@end deftypemethod
@deftypemethod EventSetDescriptor {public Method} getRemoveListenerMethod ()
Get the remove listener method.
@end deftypemethod
@deftypemethod EventSetDescriptor {public void} setUnicast (boolean@w{ }@var{unicast})
Set whether or not multiple listeners may be added.
@end deftypemethod
@deftypemethod EventSetDescriptor {public boolean} isUnicast ()
Get whether or not multiple listeners may be added. (Defaults to false.)
@end deftypemethod
@deftypemethod EventSetDescriptor {public void} setInDefaultEventSet (boolean@w{ }@var{inDefaultEventSet})
Set whether or not this is in the default event set.
@end deftypemethod
@deftypemethod EventSetDescriptor {public boolean} isInDefaultEventSet ()
Get whether or not this is in the default event set. (Defaults to true.)
@end deftypemethod
@deftypemethod FeatureDescriptor {public String} getName ()
Get the programmatic name of this feature.
@end deftypemethod
@deftypemethod FeatureDescriptor {public void} setName (java.lang.String@w{ }@var{name})
Set the programmatic name of this feature.
@end deftypemethod
@deftypemethod FeatureDescriptor {public String} getDisplayName ()
Get the localized (display) name of this feature.
@end deftypemethod
@deftypemethod FeatureDescriptor {public void} setDisplayName (java.lang.String@w{ }@var{displayName})
Set the localized (display) name of this feature.
@end deftypemethod
@deftypemethod FeatureDescriptor {public String} getShortDescription ()
Get the localized short description for this feature.
@end deftypemethod
@deftypemethod FeatureDescriptor {public void} setShortDescription (java.lang.String@w{ }@var{shortDescription})
Set the localized short description for this feature.
@end deftypemethod
@deftypemethod FeatureDescriptor {public boolean} isExpert ()
Indicates whether this feature is for expert use only.
@end deftypemethod
@deftypemethod FeatureDescriptor {public void} setExpert (boolean@w{ }@var{expert})
Set whether this feature is for expert use only.
@end deftypemethod
@deftypemethod FeatureDescriptor {public boolean} isHidden ()
Indicates whether this feature is for use by tools only.
If it is for use by tools only, then it should not be displayed.
@end deftypemethod
@deftypemethod FeatureDescriptor {public void} setHidden (boolean@w{ }@var{hidden})
Set whether this feature is for use by tools only.
If it is for use by tools only, then it should not be displayed.
@end deftypemethod
@deftypemethod FeatureDescriptor {public Object} getValue (java.lang.String@w{ }@var{name})
Get an arbitrary value set with setValue().
@end deftypemethod
@deftypemethod FeatureDescriptor {public void} setValue (java.lang.String@w{ }@var{name}, java.lang.Object@w{ }@var{value})
Set an arbitrary string-value pair with this feature.
@end deftypemethod
@deftypemethod FeatureDescriptor {public Enumeration} attributeNames ()
Get a list of the programmatic key names set with setValue().
@end deftypemethod
@deftypemethod IndexedPropertyDescriptor {public Class} getIndexedPropertyType ()
@end deftypemethod
@deftypemethod IndexedPropertyDescriptor {public Method} getIndexedReadMethod ()
@end deftypemethod
@deftypemethod IndexedPropertyDescriptor {public Method} getIndexedWriteMethod ()
@end deftypemethod
@deftypemethod Introspector {public static BeanInfo} getBeanInfo (java.lang.Class@w{ }@var{beanClass}) @*throws IntrospectionException
Get the BeanInfo for class @code{beanClass},
first by looking for explicit information, next by
using standard design patterns to determine
information about the class.
@end deftypemethod
@deftypemethod Introspector {public static BeanInfo} getBeanInfo (java.lang.Class@w{ }@var{beanClass}, java.lang.Class@w{ }@var{stopClass}) @*throws IntrospectionException
Get the BeanInfo for class @code{beanClass},
first by looking for explicit information, next by
using standard design patterns to determine
information about the class. It crawls up the
inheritance tree until it hits @code{topClass}.
@end deftypemethod
@deftypemethod Introspector {public static String} getBeanInfoSearchPath ()
Get the search path for BeanInfo classes.
@end deftypemethod
@deftypemethod Introspector {public static void} setBeanInfoSearchPath (java.lang.String[]@w{ }@var{beanInfoSearchPath})
Set the search path for BeanInfo classes.
@end deftypemethod
@deftypemethod Introspector {public static String} decapitalize (java.lang.String@w{ }@var{name})
A helper method to convert a name to standard Java
naming conventions: anything with two capitals as the
first two letters remains the same, otherwise the
first letter is decapitalized. URL = URL, I = i,
MyMethod = myMethod.
@end deftypemethod
@deftypemethod MethodDescriptor {public ParameterDescriptor} getParameterDescriptors ()
Get the parameter descriptors from this method.
Since MethodDescriptor has no way of determining what
the parameter names were, this defaults to null.
@end deftypemethod
@deftypemethod MethodDescriptor {public Method} getMethod ()
Get the method this MethodDescriptor represents.
@end deftypemethod
@deftypemethod PropertyChangeEvent {public String} getPropertyName ()
Get the property name.
@end deftypemethod
@deftypemethod PropertyChangeEvent {public Object} getOldValue ()
Get the property's old value.
@end deftypemethod
@deftypemethod PropertyChangeEvent {public Object} getNewValue ()
Get the property's new value.
@end deftypemethod
@deftypemethod PropertyChangeEvent {public void} setPropagationId (java.lang.Object@w{ }@var{propagationId})
Set the propagation ID. This is a way for the event
to be passed from hand to hand and retain a little
extra state. Right now it is unused, but it should
be propagated anyway so that future versions of
JavaBeans can use it, for God knows what.
@end deftypemethod
@deftypemethod PropertyChangeEvent {public Object} getPropagationId ()
Get the propagation ID.
@end deftypemethod
@deftypemethod PropertyChangeListener {public void} propertyChange (java.beans.PropertyChangeEvent@w{ }@var{e})
Fired after a Bean's property has changed.
@end deftypemethod
@deftypemethod PropertyChangeSupport {public void} addPropertyChangeListener (java.beans.PropertyChangeListener@w{ }@var{l})
Adds a PropertyChangeListener to the list of listeners.
All property change events will be sent to this listener.
The listener add is not unique: that is, <em>n</em> adds with
the same listener will result in <em>n</em> events being sent
to that listener for every property change.
Adding a null listener will cause undefined behavior.
@end deftypemethod
@deftypemethod PropertyChangeSupport {public void} addPropertyChangeListener (java.lang.String@w{ }@var{propertyName}, java.beans.PropertyChangeListener@w{ }@var{l})
Adds a PropertyChangeListener listening on the specified property.
Events will be sent to the listener for that particular property.
The listener add is not unique; that is, <em>n</em> adds on a
particular property for a particular listener will result in
<em>n</em> events being sent to that listener when that
property is changed.
The effect is cumulative, too; if you are registered to listen
to receive events on all property changes, and then you
register on a particular property, you will receive change
events for that property twice.
Adding a null listener will cause undefined behavior.
@end deftypemethod
@deftypemethod PropertyChangeSupport {public void} removePropertyChangeListener (java.beans.PropertyChangeListener@w{ }@var{l})
Removes a PropertyChangeListener from the list of listeners.
If any specific properties are being listened on, they must
be deregistered by themselves; this will only remove the
general listener to all properties.
If @code{add()} has been called multiple times for a
particular listener, @code{remove()} will have to be
called the same number of times to deregister it.
@end deftypemethod
@deftypemethod PropertyChangeSupport {public void} removePropertyChangeListener (java.lang.String@w{ }@var{propertyName}, java.beans.PropertyChangeListener@w{ }@var{l})
Removes a PropertyChangeListener from listening to a specific property.
If @code{add()} has been called multiple times for a
particular listener on a property, @code{remove()} will
have to be called the same number of times to deregister it.
@end deftypemethod
@deftypemethod PropertyChangeSupport {public void} firePropertyChange (java.beans.PropertyChangeEvent@w{ }@var{event})
Fire a PropertyChangeEvent to all the listeners.
@end deftypemethod
@deftypemethod PropertyChangeSupport {public void} firePropertyChange (java.lang.String@w{ }@var{propertyName}, java.lang.Object@w{ }@var{oldVal}, java.lang.Object@w{ }@var{newVal})
Fire a PropertyChangeEvent containing the old and new values of the property to all the listeners.
@end deftypemethod
@deftypemethod PropertyChangeSupport {public void} firePropertyChange (java.lang.String@w{ }@var{propertyName}, boolean@w{ }@var{oldVal}, boolean@w{ }@var{newVal})
Fire a PropertyChangeEvent containing the old and new values of the property to all the listeners.
@end deftypemethod
@deftypemethod PropertyChangeSupport {public void} firePropertyChange (java.lang.String@w{ }@var{propertyName}, int@w{ }@var{oldVal}, int@w{ }@var{newVal})
Fire a PropertyChangeEvent containing the old and new values of the property to all the listeners.
@end deftypemethod
@deftypemethod PropertyChangeSupport {public boolean} hasListeners (java.lang.String@w{ }@var{propertyName})
Tell whether the specified property is being listened on or not.
This will only return @code{true} if there are listeners
on all properties or if there is a listener specifically on this
property.
@end deftypemethod
@deftypemethod PropertyDescriptor {public Class} getPropertyType ()
Get the property type.
This is the type the get method returns and the set method
takes in.
@end deftypemethod
@deftypemethod PropertyDescriptor {public Method} getReadMethod ()
Get the get method. Why they call it readMethod here and
get everywhere else is beyond me.
@end deftypemethod
@deftypemethod PropertyDescriptor {public Method} getWriteMethod ()
Get the set method. Why they call it writeMethod here and
set everywhere else is beyond me.
@end deftypemethod
@deftypemethod PropertyDescriptor {public boolean} isBound ()
Get whether the property is bound. Defaults to false.
@end deftypemethod
@deftypemethod PropertyDescriptor {public void} setBound (boolean@w{ }@var{bound})
Set whether the property is bound.
As long as the the bean implements addPropertyChangeListener() and
removePropertyChangeListener(), setBound(true) may safely be called.
If these things are not true, then the behavior of the system
will be undefined.
When a property is bound, its set method is required to fire the
@code{PropertyChangeListener.propertyChange())} event
after the value has changed.
@end deftypemethod
@deftypemethod PropertyDescriptor {public boolean} isConstrained ()
Get whether the property is constrained. Defaults to false.
@end deftypemethod
@deftypemethod PropertyDescriptor {public void} setConstrained (boolean@w{ }@var{constrained})
Set whether the property is constrained.
If the set method throws @code{java.beans.PropertyVetoException}
(or subclass thereof) and the bean implements addVetoableChangeListener()
and removeVetoableChangeListener(), then setConstrained(true) may safely
be called. Otherwise, the system behavior is undefined.
<B>Spec note:</B> given those strict parameters, it would be nice if it
got set automatically by detection, but oh well.
When a property is constrained, its set method is required to:
@itemize @bullet
@item
Fire the @code{VetoableChangeListener.vetoableChange()}
event notifying others of the change and allowing them a chance to
say it is a bad thing.
@item
If any of the listeners throws a PropertyVetoException, then
it must fire another vetoableChange() event notifying the others
of a reversion to the old value (though, of course, the change
was never made). Then it rethrows the PropertyVetoException and
exits.
@item
If all has gone well to this point, the value may be changed.
@end itemize
@end deftypemethod
@deftypemethod PropertyDescriptor {public Class} getPropertyEditorClass ()
Get the PropertyEditor class. Defaults to null.
@end deftypemethod
@deftypemethod PropertyDescriptor {public void} setPropertyEditorClass (java.lang.Class@w{ }@var{propertyEditorClass})
Set the PropertyEditor class. If the class does not implement
the PropertyEditor interface, you will likely get an exception
late in the game.
@end deftypemethod
@deftypemethod PropertyEditor {public void} setValue (java.lang.Object@w{ }@var{value})
Called by the RAD tool to set the value of this property for the PropertyEditor.
If the property type is native, it should be wrapped in the appropriate
wrapper type.
@end deftypemethod
@deftypemethod PropertyEditor {public Object} getValue ()
Accessor method to get the current value the PropertyEditor is working with.
If the property type is native, it will be wrapped in the appropriate
wrapper type.
@end deftypemethod
@deftypemethod PropertyEditor {public void} setAsText (java.lang.String@w{ }@var{text}) @*throws IllegalArgumentException
Set the value of this property using a String.
Whether or not this PropertyEditor is editing a String type, this converts
the String into the type of the PropertyEditor.
@end deftypemethod
@deftypemethod PropertyEditor {public String} getAsText ()
Get the value of this property in String format.
Many times this can simply use Object.toString().
Return null if you do not support getAsText()/setAsText().
@code{setAsText(getAsText())} should be valid; i.e. the stuff you spit out in
getAsText() should be able to go into setAsText().
@end deftypemethod
@deftypemethod PropertyEditor {public String} getTags ()
Get a list of possible Strings which this property type can have.
The value of these will be used by the RAD tool to construct some sort
of list box or to check text box input, and the resulting String passed
to setAsText() should be one of these. Note, however, that like most things
with this mammoth, unwieldy interface, this is not guaranteed. Thus, you
must check the value in setAsText() anyway.
@end deftypemethod
@deftypemethod PropertyEditor {public boolean} isPaintable ()
The RAD tool calls this to find out whether the PropertyEditor can paint itself.
@end deftypemethod
@deftypemethod PropertyEditor {public void} paintValue (java.awt.Graphics@w{ }@var{g}, java.awt.Rectangle@w{ }@var{bounds})
The RAD tool calls this to paint the actual value of the property.
The Graphics context will have the same current font, color, etc. as the
parent Container. You may safely change the font, color, etc. and not
change them back.
This method should do a silent no-op if isPaintable() is false.
@end deftypemethod
@deftypemethod PropertyEditor {public boolean} supportsCustomEditor ()
The RAD tool calls this to find out whether the PropertyEditor supports a custom component to edit and display itself.
@end deftypemethod
@deftypemethod PropertyEditor {public Component} getCustomEditor ()
The RAD tool calls this to grab the component that can edit this type.
The component may be painted anywhere the RAD tool wants to paint it--
even in its own window.
The component must hook up with the PropertyEditor and, whenever a
change to the value is made, fire a PropertyChangeEvent to the source.
@end deftypemethod
@deftypemethod PropertyEditor {public void} addPropertyChangeListener (java.beans.PropertyChangeListener@w{ }@var{listener})
Adds a property change listener to this PropertyEditor.
@end deftypemethod
@deftypemethod PropertyEditor {public void} removePropertyChangeListener (java.beans.PropertyChangeListener@w{ }@var{listener})
Removes a property change listener from this PropertyEditor.
@end deftypemethod
@deftypemethod PropertyEditor {public String} getJavaInitializationString ()
Get a Java language-specific String which could be used to create an Object
of the specified type. Every PropertyEditor must support this.
The reason for this is that while most RAD tools will serialize the Beans
and deserialize them at runtime, some RAD tools will generate code that
creates the Beans. Examples of Java initialization strings would be:
@itemize @bullet
@item
@code{2}
@item
@code{"I am a String"}
@item
@code{new MyObject(2, "String", new StringBuffer())}
@end itemize
@end deftypemethod
@deftypemethod PropertyEditorManager {public static void} registerEditor (java.lang.Class@w{ }@var{editedClass}, java.lang.Class@w{ }@var{editorClass})
Register an editor for a class. Replaces old editor
if there was one registered before.
@end deftypemethod
@deftypemethod PropertyEditorManager {public static PropertyEditor} findEditor (java.lang.Class@w{ }@var{editedClass})
Returns a new instance of the property editor for the
specified class.
@end deftypemethod
@deftypemethod PropertyEditorManager {public static String} getEditorSearchPath ()
Get the editor search path.
As a minor departure from the spec, the default value
for the editor search path is "gnu.java.beans.editors",
"sun.beans.editors".
@end deftypemethod
@deftypemethod PropertyEditorManager {public static void} setEditorSearchPath (java.lang.String[]@w{ }@var{editorSearchPath})
Set the editor search path.
@end deftypemethod
@deftypemethod PropertyEditorSupport {public void} setValue (java.lang.Object@w{ }@var{val})
Set the current value of the property.
<STRONG>Implementation Note</STRONG> Sun does not
state what exactly this version of the method does.
Thus, in this implementation, it sets the value, and
then if the old and new values are different, it
fires a property change event with no property name
and the old and new values.
@end deftypemethod
@deftypemethod PropertyEditorSupport {public Object} getValue ()
Get the current value of the property.
@end deftypemethod
@deftypemethod PropertyEditorSupport {public boolean} isPaintable ()
Get whether this object is paintable or not.
@end deftypemethod
@deftypemethod PropertyEditorSupport {public void} paintValue (java.awt.Graphics@w{ }@var{g}, java.awt.Rectangle@w{ }@var{r})
Paint this object. This class does nothing in
this method.
@end deftypemethod
@deftypemethod PropertyEditorSupport {public String} getJavaInitializationString ()
Get the Java initialization String for the current
value of the Object. This class returns gibberish or
null (though the spec does not say which).
<STRONG>Implementation Note:</STRONG> This class
returns the string "@$#^" to make sure the code will
be broken, so that you will know to override it when
you create your own property editor.
@end deftypemethod
@deftypemethod PropertyEditorSupport {public String} getAsText ()
Get the value as text.
In this class, you cannot count on getAsText() doing
anything useful, although in this implementation I
do toString().
@end deftypemethod
@deftypemethod PropertyEditorSupport {public void} setAsText (java.lang.String@w{ }@var{s}) @*throws IllegalArgumentException
Set the value as text.
In this class, you cannot count on setAsText() doing
anything useful across implementations.
<STRONG>Implementation Note:</STRONG> In this
implementation it checks if the String is "null", and
if it is, sets the value to null, otherwise it throws
an IllegalArgumentException.
@end deftypemethod
@deftypemethod PropertyEditorSupport {public String} getTags ()
Returns a list of possible choices for the value.
@end deftypemethod
@deftypemethod PropertyEditorSupport {public Component} getCustomEditor ()
Return a custom component to edit the value.
@end deftypemethod
@deftypemethod PropertyEditorSupport {public boolean} supportsCustomEditor ()
Find out whether this property editor supports a
custom component to edit its value.
@end deftypemethod
@deftypemethod PropertyEditorSupport {public void} addPropertyChangeListener (java.beans.PropertyChangeListener@w{ }@var{l})
Add a property change listener to this property editor.
@end deftypemethod
@deftypemethod PropertyEditorSupport {public void} removePropertyChangeListener (java.beans.PropertyChangeListener@w{ }@var{l})
Remove a property change listener from this property editor.
@end deftypemethod
@deftypemethod PropertyEditorSupport {public void} firePropertyChange ()
Notify people that we've changed, although we don't
tell them just how. The only thing I can think of to
send in the event is the new value (since the old value
is unavailable and there is no property name).
I confess I do not understand the point of this method.
@end deftypemethod
@deftypemethod PropertyVetoException {public PropertyChangeEvent} getPropertyChangeEvent ()
Get the PropertyChange event that was vetoed.
@end deftypemethod
@deftypemethod SimpleBeanInfo {public BeanDescriptor} getBeanDescriptor ()
Force Introspection of the general bean info.
@end deftypemethod
@deftypemethod SimpleBeanInfo {public EventSetDescriptor} getEventSetDescriptors ()
Force Introspection of the events this Bean type
fires.
@end deftypemethod
@deftypemethod SimpleBeanInfo {public int} getDefaultEventIndex ()
Say that there is no "default" event set.
@end deftypemethod
@deftypemethod SimpleBeanInfo {public PropertyDescriptor} getPropertyDescriptors ()
Force Introspection of the Bean properties.
@end deftypemethod
@deftypemethod SimpleBeanInfo {public int} getDefaultPropertyIndex ()
Say that there is no "default" property.
@end deftypemethod
@deftypemethod SimpleBeanInfo {public MethodDescriptor} getMethodDescriptors ()
Force Introspection of the Bean's methods.
@end deftypemethod
@deftypemethod SimpleBeanInfo {public BeanInfo} getAdditionalBeanInfo ()
Tell the Introspector to go look for other BeanInfo
itself.
@end deftypemethod
@deftypemethod SimpleBeanInfo {public Image} getIcon (int@w{ }@var{iconType})
Say that this Bean has no icons.
@end deftypemethod
@deftypemethod SimpleBeanInfo {public Image} loadImage (java.lang.String@w{ }@var{location})
Helper method to load an image using the Bean class
getResource() method on the BeanInfo class (using
getClass(), since you'll extend this class to get
the BeanInfo). Basically it's assumed that the Bean
and its BeanInfo are both loaded by the same
ClassLoader, generally a reasonable assumption.
@end deftypemethod
@deftypemethod VetoableChangeListener {public void} vetoableChange (java.beans.PropertyChangeEvent@w{ }@var{e}) @*throws PropertyVetoException
Fired before a Bean's property changes.
@end deftypemethod
@deftypemethod VetoableChangeSupport {public void} addVetoableChangeListener (java.beans.VetoableChangeListener@w{ }@var{l})
Adds a VetoableChangeListener to the list of listeners.
All property change events will be sent to this listener.
The listener add is not unique: that is, <em>n</em> adds with
the same listener will result in <em>n</em> events being sent
to that listener for every property change.
Adding a null listener will cause undefined behavior.
@end deftypemethod
@deftypemethod VetoableChangeSupport {public void} addVetoableChangeListener (java.lang.String@w{ }@var{propertyName}, java.beans.VetoableChangeListener@w{ }@var{l})
Adds a VetoableChangeListener listening on the specified property.
Events will be sent to the listener for that particular property.
The listener add is not unique; that is, <em>n</em> adds on a
particular property for a particular listener will result in
<em>n</em> events being sent to that listener when that
property is changed.
The effect is cumulative, too; if you are registered to listen
to receive events on all property changes, and then you
register on a particular property, you will receive change
events for that property twice.
Adding a null listener will cause undefined behavior.
@end deftypemethod
@deftypemethod VetoableChangeSupport {public void} removeVetoableChangeListener (java.beans.VetoableChangeListener@w{ }@var{l})
Removes a VetoableChangeListener from the list of listeners.
If any specific properties are being listened on, they must
be deregistered by themselves; this will only remove the
general listener to all properties.
If @code{add()} has been called multiple times for a
particular listener, @code{remove()} will have to be
called the same number of times to deregister it.
@end deftypemethod
@deftypemethod VetoableChangeSupport {public void} removeVetoableChangeListener (java.lang.String@w{ }@var{propertyName}, java.beans.VetoableChangeListener@w{ }@var{l})
Removes a VetoableChangeListener from listening to a specific property.
If @code{add()} has been called multiple times for a
particular listener on a property, @code{remove()} will
have to be called the same number of times to deregister it.
@end deftypemethod
@deftypemethod VetoableChangeSupport {public void} fireVetoableChange (java.beans.PropertyChangeEvent@w{ }@var{proposedChange}) @*throws PropertyVetoException
Fire a VetoableChangeEvent to all the listeners.
If any listener objects, a reversion event will be sent to
those listeners who received the initial event.
@end deftypemethod
@deftypemethod VetoableChangeSupport {public void} fireVetoableChange (java.lang.String@w{ }@var{propertyName}, java.lang.Object@w{ }@var{oldVal}, java.lang.Object@w{ }@var{newVal}) @*throws PropertyVetoException
Fire a VetoableChangeEvent containing the old and new values of the property to all the listeners.
If any listener objects, a reversion event will be sent to
those listeners who received the initial event.
@end deftypemethod
@deftypemethod VetoableChangeSupport {public void} fireVetoableChange (java.lang.String@w{ }@var{propertyName}, boolean@w{ }@var{oldVal}, boolean@w{ }@var{newVal}) @*throws PropertyVetoException
Fire a VetoableChangeEvent containing the old and new values of the property to all the listeners.
If any listener objects, a reversion event will be sent to
those listeners who received the initial event.
@end deftypemethod
@deftypemethod VetoableChangeSupport {public void} fireVetoableChange (java.lang.String@w{ }@var{propertyName}, int@w{ }@var{oldVal}, int@w{ }@var{newVal}) @*throws PropertyVetoException
Fire a VetoableChangeEvent containing the old and new values of the property to all the listeners.
If any listener objects, a reversion event will be sent to
those listeners who received the initial event.
@end deftypemethod
@deftypemethod VetoableChangeSupport {public boolean} hasListeners (java.lang.String@w{ }@var{propertyName})
Tell whether the specified property is being listened on or not.
This will only return @code{true} if there are listeners
on all properties or if there is a listener specifically on this
property.
@end deftypemethod
@deftypemethod Visibility {public boolean} needsGui ()
Tells whether the Bean can run without a GUI or not.
@end deftypemethod
@deftypemethod Visibility {public boolean} avoidingGui ()
Tells whether Bean is trying not to use the GUI.
If needsGui() is true, this method should always return false.
@end deftypemethod
@deftypemethod Visibility {public void} dontUseGui ()
Tells the Bean not to use GUI methods.
If needsGUI() is false, then after this method is called,
avoidingGui() should return true.
@end deftypemethod
@deftypemethod Visibility {public void} okToUseGui ()
Tells the Bean it may use the GUI.
The Bean is not required to use the GUI in this case, it is
merely being <EM>permitted</EM> to use it. If needsGui() is
false, avoidingGui() may return true or false after this method
is called.
@end deftypemethod

2592
libjava/doc/java-io.texi Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,34 @@
@deftypemethod PhantomReference {public Object} get ()
Returns the object, this reference refers to.
@end deftypemethod
@deftypemethod Reference {public Object} get ()
Returns the object, this reference refers to.
@end deftypemethod
@deftypemethod Reference {public void} clear ()
Clears the reference, so that it doesn't refer to its object
anymore. For soft and weak references this is called by the
garbage collection. For phantom references you should call
this when enqueuing the reference.
@end deftypemethod
@deftypemethod Reference {public boolean} isEnqueued ()
Tells if the object is enqueued on a reference queue.
@end deftypemethod
@deftypemethod Reference {public boolean} enqueue ()
Enqueue an object on a reference queue. This is normally executed
by the garbage collection.
@end deftypemethod
@deftypemethod ReferenceQueue {public synchronized Reference} poll ()
Checks if there is a reference on the queue, returning it
immediately. The reference will be dequeued.
@end deftypemethod
@deftypemethod ReferenceQueue {public synchronized Reference} remove (long@w{ }@var{timeout}) @*throws InterruptedException
Removes a reference from the queue, blocking for @code{timeout}
until a reference is enqueued.
@end deftypemethod
@deftypemethod ReferenceQueue {public Reference} remove () @*throws InterruptedException
Removes a reference from the queue, blocking until a reference is
enqueued.
@end deftypemethod
@deftypemethod SoftReference {public Object} get ()
Returns the object, this reference refers to.
@end deftypemethod

View File

@ -0,0 +1,294 @@
@deftypemethod AccessibleObject {public boolean} isAccessible ()
@end deftypemethod
@deftypemethod AccessibleObject {public static void} setAccessible (java.lang.reflect.AccessibleObject[]@w{ }@var{array}, boolean@w{ }@var{flag})
@end deftypemethod
@deftypemethod AccessibleObject {public void} setAccessible (boolean@w{ }@var{flag})
@end deftypemethod
@deftypemethod Array {public static native Object} newInstance (java.lang.Class@w{ }@var{componentType}, int@w{ }@var{length})
@end deftypemethod
@deftypemethod Array {public static native Object} newInstance (java.lang.Class@w{ }@var{elementType}, int[]@w{ }@var{dimensions})
@end deftypemethod
@deftypemethod Array {public static native int} getLength (java.lang.Object@w{ }@var{array})
@end deftypemethod
@deftypemethod Array {public static native Object} get (java.lang.Object@w{ }@var{array}, int@w{ }@var{index})
@end deftypemethod
@deftypemethod Array {public static native char} getChar (java.lang.Object@w{ }@var{array}, int@w{ }@var{index})
@end deftypemethod
@deftypemethod Array {public static native byte} getByte (java.lang.Object@w{ }@var{array}, int@w{ }@var{index})
@end deftypemethod
@deftypemethod Array {public static native short} getShort (java.lang.Object@w{ }@var{array}, int@w{ }@var{index})
@end deftypemethod
@deftypemethod Array {public static native int} getInt (java.lang.Object@w{ }@var{array}, int@w{ }@var{index})
@end deftypemethod
@deftypemethod Array {public static native long} getLong (java.lang.Object@w{ }@var{array}, int@w{ }@var{index})
@end deftypemethod
@deftypemethod Array {public static native float} getFloat (java.lang.Object@w{ }@var{array}, int@w{ }@var{index})
@end deftypemethod
@deftypemethod Array {public static native double} getDouble (java.lang.Object@w{ }@var{array}, int@w{ }@var{index})
@end deftypemethod
@deftypemethod Array {public static native boolean} getBoolean (java.lang.Object@w{ }@var{array}, int@w{ }@var{index})
@end deftypemethod
@deftypemethod Array {public static void} set (java.lang.Object@w{ }@var{array}, int@w{ }@var{index}, java.lang.Object@w{ }@var{value})
@end deftypemethod
@deftypemethod Array {public static native void} setByte (java.lang.Object@w{ }@var{array}, int@w{ }@var{index}, byte@w{ }@var{value})
@end deftypemethod
@deftypemethod Array {public static native void} setShort (java.lang.Object@w{ }@var{array}, int@w{ }@var{index}, short@w{ }@var{value})
@end deftypemethod
@deftypemethod Array {public static native void} setInt (java.lang.Object@w{ }@var{array}, int@w{ }@var{index}, int@w{ }@var{value})
@end deftypemethod
@deftypemethod Array {public static native void} setLong (java.lang.Object@w{ }@var{array}, int@w{ }@var{index}, long@w{ }@var{value})
@end deftypemethod
@deftypemethod Array {public static native void} setFloat (java.lang.Object@w{ }@var{array}, int@w{ }@var{index}, float@w{ }@var{value})
@end deftypemethod
@deftypemethod Array {public static native void} setDouble (java.lang.Object@w{ }@var{array}, int@w{ }@var{index}, double@w{ }@var{value})
@end deftypemethod
@deftypemethod Array {public static native void} setChar (java.lang.Object@w{ }@var{array}, int@w{ }@var{index}, char@w{ }@var{value})
@end deftypemethod
@deftypemethod Array {public static native void} setBoolean (java.lang.Object@w{ }@var{array}, int@w{ }@var{index}, boolean@w{ }@var{value})
@end deftypemethod
@deftypemethod Constructor {public boolean} equals (java.lang.Object@w{ }@var{obj})
@end deftypemethod
@deftypemethod Constructor {public Class} getDeclaringClass ()
@end deftypemethod
@deftypemethod Constructor {public Class} getExceptionTypes ()
@end deftypemethod
@deftypemethod Constructor {public native int} getModifiers ()
@end deftypemethod
@deftypemethod Constructor {public String} getName ()
@end deftypemethod
@deftypemethod Constructor {public Class} getParameterTypes ()
@end deftypemethod
@deftypemethod Constructor {public int} hashCode ()
@end deftypemethod
@deftypemethod Constructor {public native Object} newInstance (java.lang.Object[]@w{ }@var{args}) @*throws InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException
@end deftypemethod
@deftypemethod Constructor {public String} toString ()
@end deftypemethod
@deftypemethod Field {public boolean} equals (java.lang.Object@w{ }@var{fld})
@end deftypemethod
@deftypemethod Field {public Class} getDeclaringClass ()
@end deftypemethod
@deftypemethod Field {public native String} getName ()
@end deftypemethod
@deftypemethod Field {public native Class} getType ()
@end deftypemethod
@deftypemethod Field {public native int} getModifiers ()
@end deftypemethod
@deftypemethod Field {public int} hashCode ()
@end deftypemethod
@deftypemethod Field {public boolean} getBoolean (java.lang.Object@w{ }@var{obj}) @*throws IllegalArgumentException, IllegalAccessException
@end deftypemethod
@deftypemethod Field {public char} getChar (java.lang.Object@w{ }@var{obj}) @*throws IllegalArgumentException, IllegalAccessException
@end deftypemethod
@deftypemethod Field {public byte} getByte (java.lang.Object@w{ }@var{obj}) @*throws IllegalArgumentException, IllegalAccessException
@end deftypemethod
@deftypemethod Field {public short} getShort (java.lang.Object@w{ }@var{obj}) @*throws IllegalArgumentException, IllegalAccessException
@end deftypemethod
@deftypemethod Field {public int} getInt (java.lang.Object@w{ }@var{obj}) @*throws IllegalArgumentException, IllegalAccessException
@end deftypemethod
@deftypemethod Field {public long} getLong (java.lang.Object@w{ }@var{obj}) @*throws IllegalArgumentException, IllegalAccessException
@end deftypemethod
@deftypemethod Field {public float} getFloat (java.lang.Object@w{ }@var{obj}) @*throws IllegalArgumentException, IllegalAccessException
@end deftypemethod
@deftypemethod Field {public double} getDouble (java.lang.Object@w{ }@var{obj}) @*throws IllegalArgumentException, IllegalAccessException
@end deftypemethod
@deftypemethod Field {public Object} get (java.lang.Object@w{ }@var{obj}) @*throws IllegalArgumentException, IllegalAccessException
@end deftypemethod
@deftypemethod Field {public native Object} get (java.lang.Class@w{ }@var{caller}, java.lang.Object@w{ }@var{obj}) @*throws IllegalArgumentException, IllegalAccessException
@end deftypemethod
@deftypemethod Field {public void} setByte (java.lang.Object@w{ }@var{obj}, byte@w{ }@var{b}) @*throws IllegalArgumentException, IllegalAccessException
@end deftypemethod
@deftypemethod Field {public void} setShort (java.lang.Object@w{ }@var{obj}, short@w{ }@var{s}) @*throws IllegalArgumentException, IllegalAccessException
@end deftypemethod
@deftypemethod Field {public void} setInt (java.lang.Object@w{ }@var{obj}, int@w{ }@var{i}) @*throws IllegalArgumentException, IllegalAccessException
@end deftypemethod
@deftypemethod Field {public void} setLong (java.lang.Object@w{ }@var{obj}, long@w{ }@var{l}) @*throws IllegalArgumentException, IllegalAccessException
@end deftypemethod
@deftypemethod Field {public void} setFloat (java.lang.Object@w{ }@var{obj}, float@w{ }@var{f}) @*throws IllegalArgumentException, IllegalAccessException
@end deftypemethod
@deftypemethod Field {public void} setDouble (java.lang.Object@w{ }@var{obj}, double@w{ }@var{d}) @*throws IllegalArgumentException, IllegalAccessException
@end deftypemethod
@deftypemethod Field {public void} setChar (java.lang.Object@w{ }@var{obj}, char@w{ }@var{c}) @*throws IllegalArgumentException, IllegalAccessException
@end deftypemethod
@deftypemethod Field {public void} setBoolean (java.lang.Object@w{ }@var{obj}, boolean@w{ }@var{b}) @*throws IllegalArgumentException, IllegalAccessException
@end deftypemethod
@deftypemethod Field {public native void} setByte (java.lang.Class@w{ }@var{caller}, java.lang.Object@w{ }@var{obj}, byte@w{ }@var{b}) @*throws IllegalArgumentException, IllegalAccessException
@end deftypemethod
@deftypemethod Field {public native void} setShort (java.lang.Class@w{ }@var{caller}, java.lang.Object@w{ }@var{obj}, short@w{ }@var{s}) @*throws IllegalArgumentException, IllegalAccessException
@end deftypemethod
@deftypemethod Field {public native void} setInt (java.lang.Class@w{ }@var{caller}, java.lang.Object@w{ }@var{obj}, int@w{ }@var{i}) @*throws IllegalArgumentException, IllegalAccessException
@end deftypemethod
@deftypemethod Field {public native void} setLong (java.lang.Class@w{ }@var{caller}, java.lang.Object@w{ }@var{obj}, long@w{ }@var{l}) @*throws IllegalArgumentException, IllegalAccessException
@end deftypemethod
@deftypemethod Field {public native void} setFloat (java.lang.Class@w{ }@var{caller}, java.lang.Object@w{ }@var{obj}, float@w{ }@var{f}) @*throws IllegalArgumentException, IllegalAccessException
@end deftypemethod
@deftypemethod Field {public native void} setDouble (java.lang.Class@w{ }@var{caller}, java.lang.Object@w{ }@var{obj}, double@w{ }@var{d}) @*throws IllegalArgumentException, IllegalAccessException
@end deftypemethod
@deftypemethod Field {public native void} setChar (java.lang.Class@w{ }@var{caller}, java.lang.Object@w{ }@var{obj}, char@w{ }@var{c}) @*throws IllegalArgumentException, IllegalAccessException
@end deftypemethod
@deftypemethod Field {public native void} setBoolean (java.lang.Class@w{ }@var{caller}, java.lang.Object@w{ }@var{obj}, boolean@w{ }@var{b}) @*throws IllegalArgumentException, IllegalAccessException
@end deftypemethod
@deftypemethod Field {public void} set (java.lang.Object@w{ }@var{object}, java.lang.Object@w{ }@var{value}) @*throws IllegalArgumentException, IllegalAccessException
@end deftypemethod
@deftypemethod Field {public void} set (java.lang.Class@w{ }@var{caller}, java.lang.Object@w{ }@var{object}, java.lang.Object@w{ }@var{value}) @*throws IllegalArgumentException, IllegalAccessException
@end deftypemethod
@deftypemethod Field {public String} toString ()
@end deftypemethod
@deftypemethod InvocationTargetException {public Throwable} getTargetException ()
@end deftypemethod
@deftypemethod InvocationTargetException {public void} printStackTrace ()
@end deftypemethod
@deftypemethod InvocationTargetException {public void} printStackTrace (java.io.PrintStream@w{ }@var{s})
@end deftypemethod
@deftypemethod InvocationTargetException {public void} printStackTrace (java.io.PrintWriter@w{ }@var{wr})
@end deftypemethod
@deftypemethod Member {public Class} getDeclaringClass ()
@end deftypemethod
@deftypemethod Member {public int} getModifiers ()
@end deftypemethod
@deftypemethod Member {public String} getName ()
@end deftypemethod
@deftypemethod Method {public boolean} equals (java.lang.Object@w{ }@var{obj})
@end deftypemethod
@deftypemethod Method {public Class} getDeclaringClass ()
@end deftypemethod
@deftypemethod Method {public Class} getExceptionTypes ()
@end deftypemethod
@deftypemethod Method {public native int} getModifiers ()
@end deftypemethod
@deftypemethod Method {public native String} getName ()
@end deftypemethod
@deftypemethod Method {public Class} getParameterTypes ()
@end deftypemethod
@deftypemethod Method {public Class} getReturnType ()
@end deftypemethod
@deftypemethod Method {public int} hashCode ()
@end deftypemethod
@deftypemethod Method {public native Object} invoke (java.lang.Object@w{ }@var{obj}, java.lang.Object[]@w{ }@var{args}) @*throws IllegalAccessException, IllegalArgumentException, InvocationTargetException
@end deftypemethod
@deftypemethod Method {public String} toString ()
@end deftypemethod
@deftypemethod Modifier {public static boolean} isAbstract (int@w{ }@var{mod})
@end deftypemethod
@deftypemethod Modifier {public static boolean} isFinal (int@w{ }@var{mod})
@end deftypemethod
@deftypemethod Modifier {public static boolean} isInterface (int@w{ }@var{mod})
@end deftypemethod
@deftypemethod Modifier {public static boolean} isNative (int@w{ }@var{mod})
@end deftypemethod
@deftypemethod Modifier {public static boolean} isPrivate (int@w{ }@var{mod})
@end deftypemethod
@deftypemethod Modifier {public static boolean} isProtected (int@w{ }@var{mod})
@end deftypemethod
@deftypemethod Modifier {public static boolean} isPublic (int@w{ }@var{mod})
@end deftypemethod
@deftypemethod Modifier {public static boolean} isStatic (int@w{ }@var{mod})
@end deftypemethod
@deftypemethod Modifier {public static boolean} isStrict (int@w{ }@var{mod})
@end deftypemethod
@deftypemethod Modifier {public static boolean} isSynchronized (int@w{ }@var{mod})
@end deftypemethod
@deftypemethod Modifier {public static boolean} isTransient (int@w{ }@var{mod})
@end deftypemethod
@deftypemethod Modifier {public static boolean} isVolatile (int@w{ }@var{mod})
@end deftypemethod
@deftypemethod Modifier {public static String} toString (int@w{ }@var{mod})
@end deftypemethod

855
libjava/doc/java-lang.texi Normal file
View File

@ -0,0 +1,855 @@
@deftypemethod Process {public abstract void} destroy ()
@end deftypemethod
@deftypemethod Process {public abstract int} exitValue ()
@end deftypemethod
@deftypemethod Process {public abstract InputStream} getErrorStream ()
@end deftypemethod
@deftypemethod Process {public abstract InputStream} getInputStream ()
@end deftypemethod
@deftypemethod Process {public abstract OutputStream} getOutputStream ()
@end deftypemethod
@deftypemethod Process {public abstract int} waitFor () @*throws InterruptedException
@end deftypemethod
@deftypemethod Runnable {public void} run ()
@end deftypemethod
@deftypemethod Runtime {public Process} exec (java.lang.String@w{ }@var{prog}) @*throws IOException
@end deftypemethod
@deftypemethod Runtime {public Process} exec (java.lang.String@w{ }@var{prog}, java.lang.String[]@w{ }@var{envp}) @*throws IOException
@end deftypemethod
@deftypemethod Runtime {public Process} exec (java.lang.String[]@w{ }@var{progarray}) @*throws IOException
@end deftypemethod
@deftypemethod Runtime {public Process} exec (java.lang.String[]@w{ }@var{progarray}, java.lang.String[]@w{ }@var{envp}) @*throws IOException
@end deftypemethod
@deftypemethod Runtime {public native void} exit (int@w{ }@var{status})
@end deftypemethod
@deftypemethod Runtime {public native long} freeMemory ()
@end deftypemethod
@deftypemethod Runtime {public native void} gc ()
@end deftypemethod
@deftypemethod Runtime {public InputStream} getLocalizedInputStream (java.io.InputStream@w{ }@var{in})
@end deftypemethod
@deftypemethod Runtime {public OutputStream} getLocalizedOutputStream (java.io.OutputStream@w{ }@var{out})
@end deftypemethod
@deftypemethod Runtime {public static Runtime} getRuntime ()
@end deftypemethod
@deftypemethod Runtime {public void} load (java.lang.String@w{ }@var{pathname})
@end deftypemethod
@deftypemethod Runtime {public void} loadLibrary (java.lang.String@w{ }@var{libname})
@end deftypemethod
@deftypemethod Runtime {public native void} runFinalization ()
@end deftypemethod
@deftypemethod Runtime {public static void} runFinalizersOnExit (boolean@w{ }@var{run})
@end deftypemethod
@deftypemethod Runtime {public native long} totalMemory ()
@end deftypemethod
@deftypemethod Runtime {public native void} traceInstructions (boolean@w{ }@var{on})
@end deftypemethod
@deftypemethod Runtime {public native void} traceMethodCalls (boolean@w{ }@var{on})
@end deftypemethod
@deftypemethod SecurityManager {public void} checkAccept (java.lang.String@w{ }@var{host}, int@w{ }@var{port})
@end deftypemethod
@deftypemethod SecurityManager {public void} checkAccess (java.lang.Thread@w{ }@var{thrd})
@end deftypemethod
@deftypemethod SecurityManager {public void} checkAccess (java.lang.ThreadGroup@w{ }@var{thrdGroup})
@end deftypemethod
@deftypemethod SecurityManager {public void} checkAwtEventQueueAccess ()
@end deftypemethod
@deftypemethod SecurityManager {public void} checkConnect (java.lang.String@w{ }@var{host}, int@w{ }@var{prt})
@end deftypemethod
@deftypemethod SecurityManager {public void} checkConnect (java.lang.String@w{ }@var{host}, int@w{ }@var{prt}, java.lang.Object@w{ }@var{ctx})
@end deftypemethod
@deftypemethod SecurityManager {public void} checkCreateClassLoader ()
@end deftypemethod
@deftypemethod SecurityManager {public void} checkDelete (java.lang.String@w{ }@var{fileName})
@end deftypemethod
@deftypemethod SecurityManager {public void} checkExec (java.lang.String@w{ }@var{prog})
@end deftypemethod
@deftypemethod SecurityManager {public void} checkExit (int@w{ }@var{stat})
@end deftypemethod
@deftypemethod SecurityManager {public void} checkLink (java.lang.String@w{ }@var{lib})
@end deftypemethod
@deftypemethod SecurityManager {public void} checkListen (int@w{ }@var{lport})
@end deftypemethod
@deftypemethod SecurityManager {public void} checkMemberAccess (java.lang.Class@w{ }@var{cl}, int@w{ }@var{mtype})
@end deftypemethod
@deftypemethod SecurityManager {public void} checkMulticast (java.net.InetAddress@w{ }@var{maddr})
@end deftypemethod
@deftypemethod SecurityManager {public void} checkMulticast (java.net.InetAddress@w{ }@var{maddr}, byte@w{ }@var{ttl})
@end deftypemethod
@deftypemethod SecurityManager {public void} checkPackageAccess (java.lang.String@w{ }@var{pkg})
@end deftypemethod
@deftypemethod SecurityManager {public void} checkPackageDefinition (java.lang.String@w{ }@var{pkg})
@end deftypemethod
@deftypemethod SecurityManager {public void} checkPermission (java.security.Permission@w{ }@var{perm})
@end deftypemethod
@deftypemethod SecurityManager {public void} checkPrintJobAccess ()
@end deftypemethod
@deftypemethod SecurityManager {public void} checkPropertiesAccess ()
@end deftypemethod
@deftypemethod SecurityManager {public void} checkPropertyAccess (java.lang.String@w{ }@var{prop})
@end deftypemethod
@deftypemethod SecurityManager {public void} checkPropertyAccess (java.lang.String@w{ }@var{prop}, java.lang.String@w{ }@var{defval})
@end deftypemethod
@deftypemethod SecurityManager {public void} checkRead (java.io.FileDescriptor@w{ }@var{fd})
@end deftypemethod
@deftypemethod SecurityManager {public void} checkRead (java.lang.String@w{ }@var{fileName})
@end deftypemethod
@deftypemethod SecurityManager {public void} checkRead (java.lang.String@w{ }@var{fileName}, java.lang.Object@w{ }@var{ctx})
@end deftypemethod
@deftypemethod SecurityManager {public void} checkSecurityAccess (java.lang.String@w{ }@var{action})
@end deftypemethod
@deftypemethod SecurityManager {public void} checkSetFactory ()
@end deftypemethod
@deftypemethod SecurityManager {public void} checkSystemClipboardAccess ()
@end deftypemethod
@deftypemethod SecurityManager {public boolean} checkTopLevelWindow (java.lang.Object@w{ }@var{window})
@end deftypemethod
@deftypemethod SecurityManager {public void} checkWrite (java.io.FileDescriptor@w{ }@var{fd})
@end deftypemethod
@deftypemethod SecurityManager {public void} checkWrite (java.lang.String@w{ }@var{fileName})
@end deftypemethod
@deftypemethod SecurityManager {protected int} classDepth (java.lang.String@w{ }@var{className})
@end deftypemethod
@deftypemethod SecurityManager {protected int} classLoaderDepth ()
@end deftypemethod
@deftypemethod SecurityManager {protected ClassLoader} currentClassLoader ()
@end deftypemethod
@deftypemethod SecurityManager {protected Class} currentLoadedClass ()
@end deftypemethod
@deftypemethod SecurityManager {protected Class} getClassContext ()
@end deftypemethod
@deftypemethod SecurityManager {public boolean} getInCheck ()
@end deftypemethod
@deftypemethod SecurityManager {public Object} getSecurityContext ()
@end deftypemethod
@deftypemethod SecurityManager {public ThreadGroup} getThreadGroup ()
@end deftypemethod
@deftypemethod SecurityManager {protected boolean} inClass (java.lang.String@w{ }@var{className})
@end deftypemethod
@deftypemethod SecurityManager {protected boolean} inClassLoader ()
@end deftypemethod
@deftypemethod Short {public byte} byteValue ()
@end deftypemethod
@deftypemethod Short {public short} shortValue ()
@end deftypemethod
@deftypemethod Short {public int} intValue ()
@end deftypemethod
@deftypemethod Short {public long} longValue ()
@end deftypemethod
@deftypemethod Short {public float} floatValue ()
@end deftypemethod
@deftypemethod Short {public double} doubleValue ()
@end deftypemethod
@deftypemethod Short {public static Short} decode (java.lang.String@w{ }@var{str}) @*throws NumberFormatException
@end deftypemethod
@deftypemethod Short {public static short} parseShort (java.lang.String@w{ }@var{str}, int@w{ }@var{radix}) @*throws NumberFormatException
@end deftypemethod
@deftypemethod Short {public static short} parseShort (java.lang.String@w{ }@var{str}) @*throws NumberFormatException
@end deftypemethod
@deftypemethod Short {public static Short} valueOf (java.lang.String@w{ }@var{str}, int@w{ }@var{radix}) @*throws NumberFormatException
@end deftypemethod
@deftypemethod Short {public static Short} valueOf (java.lang.String@w{ }@var{str}) @*throws NumberFormatException
@end deftypemethod
@deftypemethod Short {public int} compareTo (java.lang.Short@w{ }@var{anotherShort})
@end deftypemethod
@deftypemethod Short {public int} compareTo (java.lang.Object@w{ }@var{o}) @*throws ClassCastException
@end deftypemethod
@deftypemethod Short {public boolean} equals (java.lang.Object@w{ }@var{obj})
@end deftypemethod
@deftypemethod Short {public int} hashCode ()
@end deftypemethod
@deftypemethod Short {public String} toString ()
@end deftypemethod
@deftypemethod Short {public static String} toString (short@w{ }@var{value})
@end deftypemethod
@deftypemethod String {public static String} copyValueOf (char[]@w{ }@var{data})
@end deftypemethod
@deftypemethod String {public static String} copyValueOf (char[]@w{ }@var{data}, int@w{ }@var{offset}, int@w{ }@var{count})
@end deftypemethod
@deftypemethod String {public String} toString ()
@end deftypemethod
@deftypemethod String {public native boolean} equals (java.lang.Object@w{ }@var{anObject})
@end deftypemethod
@deftypemethod String {public native int} hashCode ()
@end deftypemethod
@deftypemethod String {public int} length ()
@end deftypemethod
@deftypemethod String {public native char} charAt (int@w{ }@var{index})
@end deftypemethod
@deftypemethod String {public native void} getChars (int@w{ }@var{srcBegin}, int@w{ }@var{srcEnd}, char[]@w{ }@var{dst}, int@w{ }@var{dstBegin})
@end deftypemethod
@deftypemethod String {public byte} getBytes ()
@end deftypemethod
@deftypemethod String {public native byte} getBytes (java.lang.String@w{ }@var{enc}) @*throws UnsupportedEncodingException
@end deftypemethod
@deftypemethod String {public native void} getBytes (int@w{ }@var{srcBegin}, int@w{ }@var{srcEnd}, byte[]@w{ }@var{dst}, int@w{ }@var{dstBegin})
@end deftypemethod
@deftypemethod String {public native char} toCharArray ()
@end deftypemethod
@deftypemethod String {public native boolean} equalsIgnoreCase (java.lang.String@w{ }@var{anotherString})
@end deftypemethod
@deftypemethod String {public native int} compareTo (java.lang.String@w{ }@var{anotherString})
@end deftypemethod
@deftypemethod String {public int} compareTo (java.lang.Object@w{ }@var{obj})
@end deftypemethod
@deftypemethod String {public int} compareToIgnoreCase (java.lang.String@w{ }@var{str})
@end deftypemethod
@deftypemethod String {public native boolean} regionMatches (int@w{ }@var{toffset}, java.lang.String@w{ }@var{other}, int@w{ }@var{ooffset}, int@w{ }@var{len})
@end deftypemethod
@deftypemethod String {public native boolean} regionMatches (boolean@w{ }@var{ignoreCase}, int@w{ }@var{toffset}, java.lang.String@w{ }@var{other}, int@w{ }@var{ooffset}, int@w{ }@var{len})
@end deftypemethod
@deftypemethod String {public boolean} startsWith (java.lang.String@w{ }@var{prefix})
@end deftypemethod
@deftypemethod String {public native boolean} startsWith (java.lang.String@w{ }@var{prefix}, int@w{ }@var{toffset})
@end deftypemethod
@deftypemethod String {public boolean} endsWith (java.lang.String@w{ }@var{suffix})
@end deftypemethod
@deftypemethod String {public int} indexOf (int@w{ }@var{ch})
@end deftypemethod
@deftypemethod String {public native int} indexOf (int@w{ }@var{ch}, int@w{ }@var{fromIndex})
@end deftypemethod
@deftypemethod String {public int} indexOf (java.lang.String@w{ }@var{str})
@end deftypemethod
@deftypemethod String {public native int} indexOf (java.lang.String@w{ }@var{str}, int@w{ }@var{fromIndex})
@end deftypemethod
@deftypemethod String {public int} lastIndexOf (int@w{ }@var{ch})
@end deftypemethod
@deftypemethod String {public native int} lastIndexOf (int@w{ }@var{ch}, int@w{ }@var{fromIndex})
@end deftypemethod
@deftypemethod String {public int} lastIndexOf (java.lang.String@w{ }@var{str})
@end deftypemethod
@deftypemethod String {public int} lastIndexOf (java.lang.String@w{ }@var{str}, int@w{ }@var{fromIndex})
@end deftypemethod
@deftypemethod String {public String} substring (int@w{ }@var{beginIndex})
@end deftypemethod
@deftypemethod String {public native String} substring (int@w{ }@var{beginIndex}, int@w{ }@var{endIndex})
@end deftypemethod
@deftypemethod String {public native String} concat (java.lang.String@w{ }@var{str})
@end deftypemethod
@deftypemethod String {public native String} replace (char@w{ }@var{oldChar}, char@w{ }@var{newChar})
@end deftypemethod
@deftypemethod String {public native String} toLowerCase (java.util.Locale@w{ }@var{locale})
@end deftypemethod
@deftypemethod String {public native String} toUpperCase (java.util.Locale@w{ }@var{locale})
@end deftypemethod
@deftypemethod String {public String} toLowerCase ()
@end deftypemethod
@deftypemethod String {public String} toUpperCase ()
@end deftypemethod
@deftypemethod String {public native String} trim ()
@end deftypemethod
@deftypemethod String {public static String} valueOf (java.lang.Object@w{ }@var{obj})
@end deftypemethod
@deftypemethod String {public static String} valueOf (char[]@w{ }@var{data})
@end deftypemethod
@deftypemethod String {public static native String} valueOf (char[]@w{ }@var{data}, int@w{ }@var{offset}, int@w{ }@var{count})
@end deftypemethod
@deftypemethod String {public static String} valueOf (boolean@w{ }@var{b})
@end deftypemethod
@deftypemethod String {public static native String} valueOf (char@w{ }@var{c})
@end deftypemethod
@deftypemethod String {public static String} valueOf (int@w{ }@var{i})
@end deftypemethod
@deftypemethod String {public static String} valueOf (long@w{ }@var{l})
@end deftypemethod
@deftypemethod String {public static String} valueOf (float@w{ }@var{f})
@end deftypemethod
@deftypemethod String {public static String} valueOf (double@w{ }@var{d})
@end deftypemethod
@deftypemethod String {public native String} intern ()
@end deftypemethod
@deftypemethod StringBuffer {public StringBuffer} append (boolean@w{ }@var{bool})
Append the @code{String} value of the argument to this @code{StringBuffer}.
Uses @code{String.valueOf()} to convert to
@code{String}.
@end deftypemethod
@deftypemethod StringBuffer {public synchronized StringBuffer} append (char@w{ }@var{ch})
Append the @code{char} to this @code{StringBuffer}.
@end deftypemethod
@deftypemethod StringBuffer {public StringBuffer} append (int@w{ }@var{inum})
Append the @code{String} value of the argument to this @code{StringBuffer}.
Uses @code{String.valueOf()} to convert to
@code{String}.
@end deftypemethod
@deftypemethod StringBuffer {public StringBuffer} append (long@w{ }@var{lnum})
Append the @code{String} value of the argument to this @code{StringBuffer}.
Uses @code{String.valueOf()} to convert to
@code{String}.
@end deftypemethod
@deftypemethod StringBuffer {public StringBuffer} append (float@w{ }@var{fnum})
Append the @code{String} value of the argument to this @code{StringBuffer}.
Uses @code{String.valueOf()} to convert to
@code{String}.
@end deftypemethod
@deftypemethod StringBuffer {public StringBuffer} append (double@w{ }@var{dnum})
Append the @code{String} value of the argument to this @code{StringBuffer}.
Uses @code{String.valueOf()} to convert to
@code{String}.
@end deftypemethod
@deftypemethod StringBuffer {public StringBuffer} append (java.lang.Object@w{ }@var{obj})
Append the @code{String} value of the argument to this @code{StringBuffer}.
Uses @code{String.valueOf()} to convert to
@code{String}.
@end deftypemethod
@deftypemethod StringBuffer {public synchronized StringBuffer} append (java.lang.String@w{ }@var{str})
Append the @code{String} to this @code{StringBuffer}.
@end deftypemethod
@deftypemethod StringBuffer {public StringBuffer} append (char[]@w{ }@var{data})
Append the @code{char} array to this @code{StringBuffer}.
@end deftypemethod
@deftypemethod StringBuffer {public synchronized StringBuffer} append (char[]@w{ }@var{data}, int@w{ }@var{offset}, int@w{ }@var{count})
Append the @code{char} array to this @code{StringBuffer}.
@end deftypemethod
@deftypemethod StringBuffer {public int} capacity ()
Get the total number of characters this @code{StringBuffer}
can support before it must be grown. Not to be confused with
<em>length</em>.
@end deftypemethod
@deftypemethod StringBuffer {public synchronized char} charAt (int@w{ }@var{index})
Get the character at the specified index.
@end deftypemethod
@deftypemethod StringBuffer {public synchronized StringBuffer} delete (int@w{ }@var{start}, int@w{ }@var{end})
Delete characters from this @code{StringBuffer}.
@code{delete(10, 12)} will delete 10 and 11, but not 12.
@end deftypemethod
@deftypemethod StringBuffer {public StringBuffer} deleteCharAt (int@w{ }@var{index})
Delete a character from this @code{StringBuffer}.
@end deftypemethod
@deftypemethod StringBuffer {public synchronized void} ensureCapacity (int@w{ }@var{minimumCapacity})
Increase the capacity of this @code{StringBuffer}.
This will ensure that an expensive growing operation will not occur
until @code{minimumCapacity} is reached.
If the capacity is actually already greater than @code{minimumCapacity}
@end deftypemethod
@deftypemethod StringBuffer {public synchronized void} getChars (int@w{ }@var{srcOffset}, int@w{ }@var{srcEnd}, char[]@w{ }@var{dst}, int@w{ }@var{dstOffset})
Get the specified array of characters.
The characters will be copied into the array you pass in.
@end deftypemethod
@deftypemethod StringBuffer {public StringBuffer} insert (int@w{ }@var{offset}, boolean@w{ }@var{bool})
Insert the @code{String} value of the argument into this @code{StringBuffer}.
Uses @code{String.valueOf()} to convert to
@code{String}.
@end deftypemethod
@deftypemethod StringBuffer {public synchronized StringBuffer} insert (int@w{ }@var{offset}, char@w{ }@var{ch})
Insert the @code{char} argument into this @code{StringBuffer}.
@end deftypemethod
@deftypemethod StringBuffer {public StringBuffer} insert (int@w{ }@var{offset}, int@w{ }@var{inum})
Insert the @code{String} value of the argument into this @code{StringBuffer}.
Uses @code{String.valueOf()} to convert to
@code{String}.
@end deftypemethod
@deftypemethod StringBuffer {public StringBuffer} insert (int@w{ }@var{offset}, long@w{ }@var{lnum})
Insert the @code{String} value of the argument into this @code{StringBuffer}.
Uses @code{String.valueOf()} to convert to
@code{String}.
@end deftypemethod
@deftypemethod StringBuffer {public StringBuffer} insert (int@w{ }@var{offset}, float@w{ }@var{fnum})
Insert the @code{String} value of the argument into this @code{StringBuffer}.
Uses @code{String.valueOf()} to convert to
@code{String}.
@end deftypemethod
@deftypemethod StringBuffer {public StringBuffer} insert (int@w{ }@var{offset}, double@w{ }@var{dnum})
Insert the @code{String} value of the argument into this @code{StringBuffer}.
Uses @code{String.valueOf()} to convert to
@code{String}.
@end deftypemethod
@deftypemethod StringBuffer {public StringBuffer} insert (int@w{ }@var{offset}, java.lang.Object@w{ }@var{obj})
Insert the @code{String} value of the argument into this @code{StringBuffer}.
Uses @code{String.valueOf()} to convert to
@code{String}.
@end deftypemethod
@deftypemethod StringBuffer {public synchronized StringBuffer} insert (int@w{ }@var{offset}, java.lang.String@w{ }@var{str})
Insert the @code{String} argument into this @code{StringBuffer}.
@end deftypemethod
@deftypemethod StringBuffer {public StringBuffer} insert (int@w{ }@var{offset}, char[]@w{ }@var{data})
Insert the @code{char[]} argument into this
@code{StringBuffer}.
@end deftypemethod
@deftypemethod StringBuffer {public synchronized StringBuffer} insert (int@w{ }@var{offset}, char[]@w{ }@var{str}, int@w{ }@var{str_offset}, int@w{ }@var{len})
Insert the @code{char[]} argument into this
@code{StringBuffer}.
@end deftypemethod
@deftypemethod StringBuffer {public int} length ()
Get the length of the @code{String} this
@code{StringBuffer} would create. Not to be confused with the
<em>capacity</em> of the @code{StringBuffer}.
@end deftypemethod
@deftypemethod StringBuffer {public synchronized StringBuffer} replace (int@w{ }@var{start}, int@w{ }@var{end}, java.lang.String@w{ }@var{str})
Replace characters between index @code{start} (inclusive) and
@code{end} (exclusive) with @code{str}. If @code{end}
is larger than the size of this StringBuffer, all characters after
@code{start} are replaced.
@end deftypemethod
@deftypemethod StringBuffer {public synchronized StringBuffer} reverse ()
Reverse the characters in this StringBuffer.
@end deftypemethod
@deftypemethod StringBuffer {public synchronized void} setCharAt (int@w{ }@var{index}, char@w{ }@var{ch})
Set the character at the specified index.
@end deftypemethod
@deftypemethod StringBuffer {public synchronized void} setLength (int@w{ }@var{newLength})
Set the length of this StringBuffer.
If the new length is greater than the current length, all the new
characters are set to '\0'.
If the new length is less than the current length, the first
@code{newLength} characters of the old array will be
@end deftypemethod
@deftypemethod StringBuffer {public String} substring (int@w{ }@var{beginIndex})
Creates a substring of this StringBuffer, starting at a specified index
and ending at the end of this StringBuffer.
@end deftypemethod
@deftypemethod StringBuffer {public synchronized String} substring (int@w{ }@var{beginIndex}, int@w{ }@var{endIndex})
Creates a substring of this StringBuffer, starting at a specified index
and ending at one character before a specified index.
@end deftypemethod
@deftypemethod StringBuffer {public String} toString ()
Convert this @code{StringBuffer} to a @code{String}.
@end deftypemethod
@deftypemethod System {public static native void} arraycopy (java.lang.Object@w{ }@var{src}, int@w{ }@var{srcOffset}, java.lang.Object@w{ }@var{dst}, int@w{ }@var{dstOffset}, int@w{ }@var{count})
@end deftypemethod
@deftypemethod System {public static native long} currentTimeMillis ()
@end deftypemethod
@deftypemethod System {public static void} exit (int@w{ }@var{status})
@end deftypemethod
@deftypemethod System {public static void} gc ()
@end deftypemethod
@deftypemethod System {public static String} getenv (java.lang.String@w{ }@var{name})
@end deftypemethod
@deftypemethod System {public static Properties} getProperties ()
@end deftypemethod
@deftypemethod System {public static String} getProperty (java.lang.String@w{ }@var{property})
@end deftypemethod
@deftypemethod System {public static String} getProperty (java.lang.String@w{ }@var{property}, java.lang.String@w{ }@var{defval})
@end deftypemethod
@deftypemethod System {public static SecurityManager} getSecurityManager ()
@end deftypemethod
@deftypemethod System {public static native int} identityHashCode (java.lang.Object@w{ }@var{obj})
@end deftypemethod
@deftypemethod System {public static void} load (java.lang.String@w{ }@var{pathname})
@end deftypemethod
@deftypemethod System {public static void} loadLibrary (java.lang.String@w{ }@var{libname})
@end deftypemethod
@deftypemethod System {public static void} runFinalization ()
@end deftypemethod
@deftypemethod System {public static void} runFinalizersOnExit (boolean@w{ }@var{run})
@end deftypemethod
@deftypemethod System {public static native void} setErr (java.io.PrintStream@w{ }@var{newErr})
@end deftypemethod
@deftypemethod System {public static native void} setIn (java.io.InputStream@w{ }@var{newIn})
@end deftypemethod
@deftypemethod System {public static native void} setOut (java.io.PrintStream@w{ }@var{newOut})
@end deftypemethod
@deftypemethod System {public static void} setProperties (java.util.Properties@w{ }@var{props})
@end deftypemethod
@deftypemethod System {public static String} setProperty (java.lang.String@w{ }@var{key}, java.lang.String@w{ }@var{value})
@end deftypemethod
@deftypemethod System {public static void} setSecurityManager (java.lang.SecurityManager@w{ }@var{s})
@end deftypemethod
@deftypemethod Thread {public static int} activeCount ()
@end deftypemethod
@deftypemethod Thread {public final void} checkAccess ()
@end deftypemethod
@deftypemethod Thread {public native int} countStackFrames ()
@end deftypemethod
@deftypemethod Thread {public static native Thread} currentThread ()
@end deftypemethod
@deftypemethod Thread {public native void} destroy ()
@end deftypemethod
@deftypemethod Thread {public static void} dumpStack ()
@end deftypemethod
@deftypemethod Thread {public static int} enumerate (java.lang.Thread[]@w{ }@var{threads})
@end deftypemethod
@deftypemethod Thread {public final String} getName ()
@end deftypemethod
@deftypemethod Thread {public final int} getPriority ()
@end deftypemethod
@deftypemethod Thread {public final ThreadGroup} getThreadGroup ()
@end deftypemethod
@deftypemethod Thread {public native void} interrupt ()
@end deftypemethod
@deftypemethod Thread {public static boolean} interrupted ()
@end deftypemethod
@deftypemethod Thread {public boolean} isInterrupted ()
@end deftypemethod
@deftypemethod Thread {public final boolean} isAlive ()
@end deftypemethod
@deftypemethod Thread {public final boolean} isDaemon ()
@end deftypemethod
@deftypemethod Thread {public final void} join () @*throws InterruptedException
@end deftypemethod
@deftypemethod Thread {public final void} join (long@w{ }@var{timeout}) @*throws InterruptedException
@end deftypemethod
@deftypemethod Thread {public final native void} join (long@w{ }@var{timeout}, int@w{ }@var{nanos}) @*throws InterruptedException
@end deftypemethod
@deftypemethod Thread {public final native void} resume ()
@end deftypemethod
@deftypemethod Thread {public void} run ()
@end deftypemethod
@deftypemethod Thread {public final void} setDaemon (boolean@w{ }@var{status})
@end deftypemethod
@deftypemethod Thread {public synchronized ClassLoader} getContextClassLoader ()
@end deftypemethod
@deftypemethod Thread {public synchronized void} setContextClassLoader (java.lang.ClassLoader@w{ }@var{cl})
@end deftypemethod
@deftypemethod Thread {public final void} setName (java.lang.String@w{ }@var{n})
@end deftypemethod
@deftypemethod Thread {public final native void} setPriority (int@w{ }@var{newPriority})
@end deftypemethod
@deftypemethod Thread {public static void} sleep (long@w{ }@var{timeout}) @*throws InterruptedException
@end deftypemethod
@deftypemethod Thread {public static native void} sleep (long@w{ }@var{timeout}, int@w{ }@var{nanos}) @*throws InterruptedException
@end deftypemethod
@deftypemethod Thread {public native synchronized void} start ()
@end deftypemethod
@deftypemethod Thread {public final void} stop ()
@end deftypemethod
@deftypemethod Thread {public final native synchronized void} stop (java.lang.Throwable@w{ }@var{e})
@end deftypemethod
@deftypemethod Thread {public final native void} suspend ()
@end deftypemethod
@deftypemethod Thread {public String} toString ()
@end deftypemethod
@deftypemethod Thread {public static native void} yield ()
@end deftypemethod
@deftypemethod ThreadGroup {public final String} getName ()
Get the name of this ThreadGroup.
@end deftypemethod
@deftypemethod ThreadGroup {public final ThreadGroup} getParent ()
Get the parent of this ThreadGroup.
@end deftypemethod
@deftypemethod ThreadGroup {public final synchronized void} setMaxPriority (int@w{ }@var{maxpri})
Set the maximum priority for Threads in this ThreadGroup. setMaxPriority
can only be used to reduce the current maximum. If maxpri
is greater than the current Maximum, the current value is not changed.
Calling this does not effect threads already in this ThreadGroup.
@end deftypemethod
@deftypemethod ThreadGroup {public final int} getMaxPriority ()
Get the maximum priority of Threads in this ThreadGroup.
@end deftypemethod
@deftypemethod ThreadGroup {public final void} setDaemon (boolean@w{ }@var{daemon})
Set whether this ThreadGroup is a daemon group. A daemon
group will be destroyed when its last thread is stopped and
its last thread group is destroyed.
@end deftypemethod
@deftypemethod ThreadGroup {public final boolean} isDaemon ()
Tell whether this ThreadGroup is a daemon group. A daemon
group will be destroyed when its last thread is stopped and
its last thread group is destroyed.
@end deftypemethod
@deftypemethod ThreadGroup {public synchronized boolean} isDestroyed ()
Tell whether this ThreadGroup has been destroyed or not.
@end deftypemethod
@deftypemethod ThreadGroup {public final boolean} parentOf (java.lang.ThreadGroup@w{ }@var{tg})
Check whether this ThreadGroup is an ancestor of the
specified ThreadGroup, or if they are the same.
@end deftypemethod
@deftypemethod ThreadGroup {public synchronized int} activeCount ()
Return the total number of active threads in this ThreadGroup
and all its descendants.
This cannot return an exact number, since the status of threads
may change after they were counted. But it should be pretty
close.
@end deftypemethod
@deftypemethod ThreadGroup {public synchronized int} activeGroupCount ()
Get the number of active groups in this ThreadGroup. This group
itself is not included in the count.
@end deftypemethod
@deftypemethod ThreadGroup {public int} enumerate (java.lang.Thread[]@w{ }@var{threads})
Copy all of the active Threads from this ThreadGroup and
its descendants into the specified array. If the array is
not big enough to hold all the Threads, extra Threads will
simply not be copied.
@end deftypemethod
@deftypemethod ThreadGroup {public int} enumerate (java.lang.Thread[]@w{ }@var{threads}, boolean@w{ }@var{useDescendants})
Copy all of the active Threads from this ThreadGroup and,
if desired, from its descendants, into the specified array.
If the array is not big enough to hold all the Threads,
extra Threads will simply not be copied.
@end deftypemethod
@deftypemethod ThreadGroup {public int} enumerate (java.lang.ThreadGroup[]@w{ }@var{groups})
Copy all active ThreadGroups that are descendants of this
ThreadGroup into the specified array. If the array is not
large enough to hold all active ThreadGroups, extra
ThreadGroups simply will not be copied.
@end deftypemethod
@deftypemethod ThreadGroup {public int} enumerate (java.lang.ThreadGroup[]@w{ }@var{groups}, boolean@w{ }@var{recurse})
Copy all active ThreadGroups that are children of this
ThreadGroup into the specified array, and if desired, also
copy all active descendants into the array. If the array
is not large enough to hold all active ThreadGroups, extra
ThreadGroups simply will not be copied.
@end deftypemethod
@deftypemethod ThreadGroup {public final synchronized void} interrupt ()
Interrupt all Threads in this ThreadGroup and its sub-groups.
@end deftypemethod
@deftypemethod ThreadGroup {public final synchronized void} stop ()
Stop all Threads in this ThreadGroup and its descendants.
@end deftypemethod
@deftypemethod ThreadGroup {public final synchronized void} suspend ()
Suspend all Threads in this ThreadGroup and its descendants.
@end deftypemethod
@deftypemethod ThreadGroup {public final synchronized void} resume ()
Resume all Threads in this ThreadGroup and its descendants.
@end deftypemethod
@deftypemethod ThreadGroup {public final synchronized void} destroy ()
Destroy this ThreadGroup. There can be no Threads in it,
and none of its descendants (sub-groups) may have Threads in them.
All its descendants will be destroyed as well.
@end deftypemethod
@deftypemethod ThreadGroup {public void} list ()
Print out information about this ThreadGroup to System.out.
@end deftypemethod
@deftypemethod ThreadGroup {public void} uncaughtException (java.lang.Thread@w{ }@var{thread}, java.lang.Throwable@w{ }@var{t})
When a Thread in this ThreadGroup does not catch an exception,
this method of the ThreadGroup is called.
ThreadGroup's implementation does the following:<BR>
@itemize @bullet
@item
If there is a parent ThreadGroup, call uncaughtException()
in the parent.
@item
If the Throwable passed is a ThreadDeath, don't do
anything.
@item
Otherwise, call @code{exception.printStackTrace().}
@end itemize
@end deftypemethod
@deftypemethod ThreadGroup {public boolean} allowThreadSuspension (boolean@w{ }@var{allow})
Tell the VM whether it may suspend Threads in low memory
situations.
@end deftypemethod
@deftypemethod ThreadGroup {public String} toString ()
Get a human-readable representation of this ThreadGroup.
@end deftypemethod
@deftypemethod ThreadGroup {public final void} checkAccess ()
Find out if the current Thread can modify this ThreadGroup.
Calls the current SecurityManager's checkAccess() method to
find out. If there is none, it assumes everything's OK.
@end deftypemethod
@deftypemethod Throwable {public native Throwable} fillInStackTrace ()
@end deftypemethod
@deftypemethod Throwable {public String} getLocalizedMessage ()
@end deftypemethod
@deftypemethod Throwable {public String} getMessage ()
@end deftypemethod
@deftypemethod Throwable {public void} printStackTrace ()
@end deftypemethod
@deftypemethod Throwable {public void} printStackTrace (java.io.PrintStream@w{ }@var{ps})
@end deftypemethod
@deftypemethod Throwable {public void} printStackTrace (java.io.PrintWriter@w{ }@var{wr})
@end deftypemethod
@deftypemethod Throwable {public String} toString ()
@end deftypemethod

206
libjava/doc/java-math.texi Normal file
View File

@ -0,0 +1,206 @@
@deftypemethod BigDecimal {public static BigDecimal} valueOf (long@w{ }@var{val})
@end deftypemethod
@deftypemethod BigDecimal {public static BigDecimal} valueOf (long@w{ }@var{val}, int@w{ }@var{scale}) @*throws NumberFormatException
@end deftypemethod
@deftypemethod BigDecimal {public BigDecimal} add (java.math.BigDecimal@w{ }@var{val})
@end deftypemethod
@deftypemethod BigDecimal {public BigDecimal} subtract (java.math.BigDecimal@w{ }@var{val})
@end deftypemethod
@deftypemethod BigDecimal {public BigDecimal} multiply (java.math.BigDecimal@w{ }@var{val})
@end deftypemethod
@deftypemethod BigDecimal {public BigDecimal} divide (java.math.BigDecimal@w{ }@var{val}, int@w{ }@var{roundingMode}) @*throws ArithmeticException, IllegalArgumentException
@end deftypemethod
@deftypemethod BigDecimal {public BigDecimal} divide (java.math.BigDecimal@w{ }@var{val}, int@w{ }@var{newScale}, int@w{ }@var{roundingMode}) @*throws ArithmeticException, IllegalArgumentException
@end deftypemethod
@deftypemethod BigDecimal {public int} compareTo (java.math.BigDecimal@w{ }@var{val})
@end deftypemethod
@deftypemethod BigDecimal {public int} compareTo (java.lang.Object@w{ }@var{val})
@end deftypemethod
@deftypemethod BigDecimal {public boolean} equals (java.lang.Object@w{ }@var{o})
@end deftypemethod
@deftypemethod BigDecimal {public int} hashCode ()
@end deftypemethod
@deftypemethod BigDecimal {public BigDecimal} max (java.math.BigDecimal@w{ }@var{val})
@end deftypemethod
@deftypemethod BigDecimal {public BigDecimal} min (java.math.BigDecimal@w{ }@var{val})
@end deftypemethod
@deftypemethod BigDecimal {public BigDecimal} movePointLeft (int@w{ }@var{n})
@end deftypemethod
@deftypemethod BigDecimal {public BigDecimal} movePointRight (int@w{ }@var{n})
@end deftypemethod
@deftypemethod BigDecimal {public int} signum ()
@end deftypemethod
@deftypemethod BigDecimal {public int} scale ()
@end deftypemethod
@deftypemethod BigDecimal {public BigDecimal} abs ()
@end deftypemethod
@deftypemethod BigDecimal {public BigDecimal} negate ()
@end deftypemethod
@deftypemethod BigDecimal {public String} toString ()
@end deftypemethod
@deftypemethod BigDecimal {public BigInteger} toBigInteger ()
@end deftypemethod
@deftypemethod BigDecimal {public int} intValue ()
@end deftypemethod
@deftypemethod BigDecimal {public long} longValue ()
@end deftypemethod
@deftypemethod BigDecimal {public float} floatValue ()
@end deftypemethod
@deftypemethod BigDecimal {public double} doubleValue ()
@end deftypemethod
@deftypemethod BigInteger {public static BigInteger} valueOf (long@w{ }@var{val})
@end deftypemethod
@deftypemethod BigInteger {public int} signum ()
@end deftypemethod
@deftypemethod BigInteger {public int} compareTo (java.lang.Object@w{ }@var{obj})
@end deftypemethod
@deftypemethod BigInteger {public int} compareTo (java.math.BigInteger@w{ }@var{val})
@end deftypemethod
@deftypemethod BigInteger {public BigInteger} min (java.math.BigInteger@w{ }@var{val})
@end deftypemethod
@deftypemethod BigInteger {public BigInteger} max (java.math.BigInteger@w{ }@var{val})
@end deftypemethod
@deftypemethod BigInteger {public BigInteger} add (java.math.BigInteger@w{ }@var{val})
@end deftypemethod
@deftypemethod BigInteger {public BigInteger} subtract (java.math.BigInteger@w{ }@var{val})
@end deftypemethod
@deftypemethod BigInteger {public BigInteger} multiply (java.math.BigInteger@w{ }@var{y})
@end deftypemethod
@deftypemethod BigInteger {public BigInteger} divide (java.math.BigInteger@w{ }@var{val})
@end deftypemethod
@deftypemethod BigInteger {public BigInteger} remainder (java.math.BigInteger@w{ }@var{val})
@end deftypemethod
@deftypemethod BigInteger {public BigInteger} divideAndRemainder (java.math.BigInteger@w{ }@var{val})
@end deftypemethod
@deftypemethod BigInteger {public BigInteger} mod (java.math.BigInteger@w{ }@var{m})
@end deftypemethod
@deftypemethod BigInteger {public BigInteger} pow (int@w{ }@var{exponent})
Calculate the integral power of a BigInteger.
@end deftypemethod
@deftypemethod BigInteger {public BigInteger} modInverse (java.math.BigInteger@w{ }@var{y})
@end deftypemethod
@deftypemethod BigInteger {public BigInteger} modPow (java.math.BigInteger@w{ }@var{exponent}, java.math.BigInteger@w{ }@var{m})
@end deftypemethod
@deftypemethod BigInteger {public BigInteger} gcd (java.math.BigInteger@w{ }@var{y})
@end deftypemethod
@deftypemethod BigInteger {public boolean} isProbablePrime (int@w{ }@var{certainty})
@end deftypemethod
@deftypemethod BigInteger {public BigInteger} shiftLeft (int@w{ }@var{n})
@end deftypemethod
@deftypemethod BigInteger {public BigInteger} shiftRight (int@w{ }@var{n})
@end deftypemethod
@deftypemethod BigInteger {public String} toString ()
@end deftypemethod
@deftypemethod BigInteger {public String} toString (int@w{ }@var{radix})
@end deftypemethod
@deftypemethod BigInteger {public int} intValue ()
@end deftypemethod
@deftypemethod BigInteger {public long} longValue ()
@end deftypemethod
@deftypemethod BigInteger {public int} hashCode ()
@end deftypemethod
@deftypemethod BigInteger {public boolean} equals (java.lang.Object@w{ }@var{obj})
@end deftypemethod
@deftypemethod BigInteger {public double} doubleValue ()
@end deftypemethod
@deftypemethod BigInteger {public float} floatValue ()
@end deftypemethod
@deftypemethod BigInteger {public BigInteger} abs ()
@end deftypemethod
@deftypemethod BigInteger {public BigInteger} negate ()
@end deftypemethod
@deftypemethod BigInteger {public int} bitLength ()
Calculates ceiling(log2(this < 0 ? -this : this+1))
See Common Lisp: the Language, 2nd ed, p. 361.
@end deftypemethod
@deftypemethod BigInteger {public byte} toByteArray ()
@end deftypemethod
@deftypemethod BigInteger {public BigInteger} and (java.math.BigInteger@w{ }@var{y})
Return the logical (bit-wise) "and" of two BigIntegers.
@end deftypemethod
@deftypemethod BigInteger {public BigInteger} or (java.math.BigInteger@w{ }@var{y})
Return the logical (bit-wise) "(inclusive) or" of two BigIntegers.
@end deftypemethod
@deftypemethod BigInteger {public BigInteger} xor (java.math.BigInteger@w{ }@var{y})
Return the logical (bit-wise) "exclusive or" of two BigIntegers.
@end deftypemethod
@deftypemethod BigInteger {public BigInteger} not ()
Return the logical (bit-wise) negation of a BigInteger.
@end deftypemethod
@deftypemethod BigInteger {public BigInteger} andNot (java.math.BigInteger@w{ }@var{val})
@end deftypemethod
@deftypemethod BigInteger {public BigInteger} clearBit (int@w{ }@var{n})
@end deftypemethod
@deftypemethod BigInteger {public BigInteger} setBit (int@w{ }@var{n})
@end deftypemethod
@deftypemethod BigInteger {public boolean} testBit (int@w{ }@var{n})
@end deftypemethod
@deftypemethod BigInteger {public BigInteger} flipBit (int@w{ }@var{n})
@end deftypemethod
@deftypemethod BigInteger {public int} getLowestSetBit ()
@end deftypemethod
@deftypemethod BigInteger {public int} bitCount ()
Count one bits in a BigInteger.
If argument is negative, count zero bits instead.
@end deftypemethod

558
libjava/doc/java-net.texi Normal file
View File

@ -0,0 +1,558 @@
@deftypemethod ContentHandlerFactory {public ContentHandler} createContentHandler (java.lang.String@w{ }@var{mimetype})
@end deftypemethod
@deftypemethod ContentHandler {public abstract Object} getContent (java.net.URLConnection@w{ }@var{urlc}) @*throws IOException
@end deftypemethod
@deftypemethod DatagramPacket {public synchronized InetAddress} getAddress ()
@end deftypemethod
@deftypemethod DatagramPacket {public synchronized int} getPort ()
@end deftypemethod
@deftypemethod DatagramPacket {public synchronized byte} getData ()
@end deftypemethod
@deftypemethod DatagramPacket {public synchronized int} getOffset ()
@end deftypemethod
@deftypemethod DatagramPacket {public synchronized int} getLength ()
@end deftypemethod
@deftypemethod DatagramPacket {public synchronized void} setAddress (java.net.InetAddress@w{ }@var{iaddr})
@end deftypemethod
@deftypemethod DatagramPacket {public synchronized void} setPort (int@w{ }@var{iport})
@end deftypemethod
@deftypemethod DatagramPacket {public synchronized void} setData (byte[]@w{ }@var{buf})
@end deftypemethod
@deftypemethod DatagramPacket {public synchronized void} setData (byte[]@w{ }@var{buf}, int@w{ }@var{offset}, int@w{ }@var{length})
@end deftypemethod
@deftypemethod DatagramPacket {public synchronized void} setLength (int@w{ }@var{length})
@end deftypemethod
@deftypemethod DatagramSocketImpl {protected abstract void} bind (int@w{ }@var{lport}, java.net.InetAddress@w{ }@var{laddr}) @*throws SocketException
@end deftypemethod
@deftypemethod DatagramSocketImpl {protected abstract void} close ()
@end deftypemethod
@deftypemethod DatagramSocketImpl {protected abstract void} create () @*throws SocketException
@end deftypemethod
@deftypemethod DatagramSocketImpl {protected abstract int} peek (java.net.InetAddress@w{ }@var{i}) @*throws IOException
@end deftypemethod
@deftypemethod DatagramSocketImpl {protected abstract void} send (java.net.DatagramPacket@w{ }@var{p}) @*throws IOException
@end deftypemethod
@deftypemethod DatagramSocketImpl {protected abstract void} receive (java.net.DatagramPacket@w{ }@var{p}) @*throws IOException
@end deftypemethod
@deftypemethod DatagramSocketImpl {protected abstract void} setTTL (byte@w{ }@var{ttl}) @*throws IOException
@end deftypemethod
@deftypemethod DatagramSocketImpl {protected abstract byte} getTTL () @*throws IOException
@end deftypemethod
@deftypemethod DatagramSocketImpl {protected abstract void} setTimeToLive (int@w{ }@var{ttl}) @*throws IOException
@end deftypemethod
@deftypemethod DatagramSocketImpl {protected abstract int} getTimeToLive () @*throws IOException
@end deftypemethod
@deftypemethod DatagramSocketImpl {protected abstract void} join (java.net.InetAddress@w{ }@var{inetaddr}) @*throws IOException
@end deftypemethod
@deftypemethod DatagramSocketImpl {protected abstract void} leave (java.net.InetAddress@w{ }@var{inetaddr}) @*throws IOException
@end deftypemethod
@deftypemethod DatagramSocketImpl {public abstract Object} getOption (int@w{ }@var{optID}) @*throws SocketException
@end deftypemethod
@deftypemethod DatagramSocketImpl {public abstract void} setOption (int@w{ }@var{optID}, java.lang.Object@w{ }@var{value}) @*throws SocketException
@end deftypemethod
@deftypemethod DatagramSocketImpl {protected FileDescriptor} getFileDescriptor ()
@end deftypemethod
@deftypemethod DatagramSocketImpl {protected int} getLocalPort ()
@end deftypemethod
@deftypemethod DatagramSocket {public void} close ()
@end deftypemethod
@deftypemethod DatagramSocket {public InetAddress} getLocalAddress ()
@end deftypemethod
@deftypemethod DatagramSocket {public int} getLocalPort ()
@end deftypemethod
@deftypemethod DatagramSocket {public synchronized int} getSoTimeout () @*throws SocketException
@end deftypemethod
@deftypemethod DatagramSocket {public synchronized void} receive (java.net.DatagramPacket@w{ }@var{p}) @*throws IOException
@end deftypemethod
@deftypemethod DatagramSocket {public void} send (java.net.DatagramPacket@w{ }@var{p}) @*throws IOException
@end deftypemethod
@deftypemethod DatagramSocket {public synchronized void} setSoTimeout (int@w{ }@var{timeout}) @*throws SocketException
@end deftypemethod
@deftypemethod FileNameMap {public String} getContentTypeFor (java.lang.String@w{ }@var{fileName})
@end deftypemethod
@deftypemethod HttpURLConnection {public abstract void} disconnect ()
@end deftypemethod
@deftypemethod HttpURLConnection {public abstract boolean} usingProxy ()
@end deftypemethod
@deftypemethod HttpURLConnection {public static void} setFollowRedirects (boolean@w{ }@var{set})
@end deftypemethod
@deftypemethod HttpURLConnection {public static boolean} getFollowRedirects ()
@end deftypemethod
@deftypemethod HttpURLConnection {public void} setRequestMethod (java.lang.String@w{ }@var{method}) @*throws ProtocolException
@end deftypemethod
@deftypemethod HttpURLConnection {public String} getRequestMethod ()
@end deftypemethod
@deftypemethod HttpURLConnection {public int} getResponseCode () @*throws IOException
@end deftypemethod
@deftypemethod HttpURLConnection {public String} getResponseMessage () @*throws IOException
@end deftypemethod
@deftypemethod InetAddress {public boolean} isMulticastAddress ()
@end deftypemethod
@deftypemethod InetAddress {public String} getHostName ()
@end deftypemethod
@deftypemethod InetAddress {public byte} getAddress ()
@end deftypemethod
@deftypemethod InetAddress {public String} getHostAddress ()
@end deftypemethod
@deftypemethod InetAddress {public int} hashCode ()
@end deftypemethod
@deftypemethod InetAddress {public boolean} equals (java.lang.Object@w{ }@var{obj})
@end deftypemethod
@deftypemethod InetAddress {public String} toString ()
@end deftypemethod
@deftypemethod InetAddress {public static InetAddress} getByName (java.lang.String@w{ }@var{host}) @*throws UnknownHostException
@end deftypemethod
@deftypemethod InetAddress {public static InetAddress} getAllByName (java.lang.String@w{ }@var{host}) @*throws UnknownHostException
@end deftypemethod
@deftypemethod InetAddress {public static InetAddress} getLocalHost () @*throws UnknownHostException
@end deftypemethod
@deftypemethod JarURLConnection {public URL} getJarFileURL ()
@end deftypemethod
@deftypemethod JarURLConnection {public String} getEntryName ()
@end deftypemethod
@deftypemethod JarURLConnection {public synchronized void} connect () @*throws IOException
@end deftypemethod
@deftypemethod JarURLConnection {public InputStream} getInputStream () @*throws IOException
@end deftypemethod
@deftypemethod JarURLConnection {public JarEntry} getJarEntry () @*throws IOException
@end deftypemethod
@deftypemethod JarURLConnection {public abstract JarFile} getJarFile () @*throws IOException
@end deftypemethod
@deftypemethod JarURLConnection {public String} getHeaderField (java.lang.String@w{ }@var{name})
@end deftypemethod
@deftypemethod JarURLConnection {public String} getHeaderField (int@w{ }@var{n})
@end deftypemethod
@deftypemethod JarURLConnection {public String} getHeaderFieldKey (int@w{ }@var{n})
@end deftypemethod
@deftypemethod MulticastSocket {public InetAddress} getInterface () @*throws SocketException
@end deftypemethod
@deftypemethod MulticastSocket {public byte} getTTL () @*throws IOException
@end deftypemethod
@deftypemethod MulticastSocket {public int} getTimeToLive () @*throws IOException
@end deftypemethod
@deftypemethod MulticastSocket {public void} setInterface (java.net.InetAddress@w{ }@var{inf}) @*throws SocketException
@end deftypemethod
@deftypemethod MulticastSocket {public void} setTTL (byte@w{ }@var{ttl}) @*throws IOException
@end deftypemethod
@deftypemethod MulticastSocket {public void} setTimeToLive (int@w{ }@var{ttl}) @*throws IOException
@end deftypemethod
@deftypemethod MulticastSocket {public void} joinGroup (java.net.InetAddress@w{ }@var{mcastaddr}) @*throws IOException
@end deftypemethod
@deftypemethod MulticastSocket {public void} leaveGroup (java.net.InetAddress@w{ }@var{mcastaddr}) @*throws IOException
@end deftypemethod
@deftypemethod MulticastSocket {public synchronized void} send (java.net.DatagramPacket@w{ }@var{p}, byte@w{ }@var{ttl}) @*throws IOException
@end deftypemethod
@deftypemethod ServerSocket {public InetAddress} getInetAddress ()
@end deftypemethod
@deftypemethod ServerSocket {public int} getLocalPort ()
@end deftypemethod
@deftypemethod ServerSocket {public Socket} accept () @*throws IOException
@end deftypemethod
@deftypemethod ServerSocket {protected final void} implAccept (java.net.Socket@w{ }@var{s}) @*throws IOException
@end deftypemethod
@deftypemethod ServerSocket {public void} close () @*throws IOException
@end deftypemethod
@deftypemethod ServerSocket {public synchronized void} setSoTimeout (int@w{ }@var{timeout}) @*throws SocketException
@end deftypemethod
@deftypemethod ServerSocket {public synchronized int} getSoTimeout () @*throws SocketException
@end deftypemethod
@deftypemethod ServerSocket {public String} toString ()
@end deftypemethod
@deftypemethod ServerSocket {public static synchronized void} setSocketFactory (java.net.SocketImplFactory@w{ }@var{fac}) @*throws IOException
@end deftypemethod
@deftypemethod SocketImplFactory {public SocketImpl} createSocketImpl ()
@end deftypemethod
@deftypemethod SocketImpl {protected abstract void} create (boolean@w{ }@var{stream}) @*throws IOException
@end deftypemethod
@deftypemethod SocketImpl {protected abstract void} connect (java.lang.String@w{ }@var{host}, int@w{ }@var{port}) @*throws IOException
@end deftypemethod
@deftypemethod SocketImpl {protected abstract void} connect (java.net.InetAddress@w{ }@var{host}, int@w{ }@var{port}) @*throws IOException
@end deftypemethod
@deftypemethod SocketImpl {protected abstract void} bind (java.net.InetAddress@w{ }@var{host}, int@w{ }@var{port}) @*throws IOException
@end deftypemethod
@deftypemethod SocketImpl {protected abstract void} listen (int@w{ }@var{backlog}) @*throws IOException
@end deftypemethod
@deftypemethod SocketImpl {protected abstract void} accept (java.net.SocketImpl@w{ }@var{s}) @*throws IOException
@end deftypemethod
@deftypemethod SocketImpl {protected abstract InputStream} getInputStream () @*throws IOException
@end deftypemethod
@deftypemethod SocketImpl {protected abstract OutputStream} getOutputStream () @*throws IOException
@end deftypemethod
@deftypemethod SocketImpl {protected abstract int} available () @*throws IOException
@end deftypemethod
@deftypemethod SocketImpl {protected abstract void} close () @*throws IOException
@end deftypemethod
@deftypemethod SocketImpl {protected FileDescriptor} getFileDescriptor ()
@end deftypemethod
@deftypemethod SocketImpl {protected InetAddress} getInetAddress ()
@end deftypemethod
@deftypemethod SocketImpl {protected int} getPort ()
@end deftypemethod
@deftypemethod SocketImpl {protected int} getLocalPort ()
@end deftypemethod
@deftypemethod SocketImpl {public abstract Object} getOption (int@w{ }@var{optID}) @*throws SocketException
@end deftypemethod
@deftypemethod SocketImpl {public abstract void} setOption (int@w{ }@var{optID}, java.lang.Object@w{ }@var{value}) @*throws SocketException
@end deftypemethod
@deftypemethod SocketImpl {public String} toString ()
@end deftypemethod
@deftypemethod Socket {public InetAddress} getInetAddress ()
@end deftypemethod
@deftypemethod Socket {public InetAddress} getLocalAddress ()
@end deftypemethod
@deftypemethod Socket {public int} getPort ()
@end deftypemethod
@deftypemethod Socket {public int} getLocalPort ()
@end deftypemethod
@deftypemethod Socket {public InputStream} getInputStream () @*throws IOException
@end deftypemethod
@deftypemethod Socket {public OutputStream} getOutputStream () @*throws IOException
@end deftypemethod
@deftypemethod Socket {public void} setTcpNoDelay (boolean@w{ }@var{on}) @*throws SocketException
@end deftypemethod
@deftypemethod Socket {public boolean} getTcpNoDelay () @*throws SocketException
@end deftypemethod
@deftypemethod Socket {public void} setSoLinger (boolean@w{ }@var{on}, int@w{ }@var{linger}) @*throws SocketException
@end deftypemethod
@deftypemethod Socket {public int} getSoLinger () @*throws SocketException
@end deftypemethod
@deftypemethod Socket {public synchronized void} setSoTimeout (int@w{ }@var{timeout}) @*throws SocketException
@end deftypemethod
@deftypemethod Socket {public synchronized int} getSoTimeout () @*throws SocketException
@end deftypemethod
@deftypemethod Socket {public void} setSendBufferSize (int@w{ }@var{size}) @*throws SocketException
@end deftypemethod
@deftypemethod Socket {public int} getSendBufferSize () @*throws SocketException
@end deftypemethod
@deftypemethod Socket {public void} setReceiveBufferSize (int@w{ }@var{size}) @*throws SocketException
@end deftypemethod
@deftypemethod Socket {public int} getReceiveBufferSize () @*throws SocketException
@end deftypemethod
@deftypemethod Socket {public synchronized void} close () @*throws IOException
@end deftypemethod
@deftypemethod Socket {public String} toString ()
@end deftypemethod
@deftypemethod Socket {public static synchronized void} setSocketImplFactory (java.net.SocketImplFactory@w{ }@var{fac}) @*throws IOException
@end deftypemethod
@deftypemethod SocketOptions {public void} setOption (int@w{ }@var{optID}, java.lang.Object@w{ }@var{value}) @*throws SocketException
@end deftypemethod
@deftypemethod SocketOptions {public Object} getOption (int@w{ }@var{optID}) @*throws SocketException
@end deftypemethod
@deftypemethod URLClassLoader {protected void} addURL (java.net.URL@w{ }@var{url})
@end deftypemethod
@deftypemethod URLClassLoader {public URL} getURLs ()
@end deftypemethod
@deftypemethod URLClassLoader {public Enumeration} findResources (java.lang.String@w{ }@var{name})
@end deftypemethod
@deftypemethod URLClassLoader {public URL} findResource (java.lang.String@w{ }@var{name})
@end deftypemethod
@deftypemethod URLClassLoader {protected Class} findClass (java.lang.String@w{ }@var{name}) @*throws ClassNotFoundException
@end deftypemethod
@deftypemethod URLConnection {public abstract void} connect () @*throws IOException
@end deftypemethod
@deftypemethod URLConnection {public URL} getURL ()
@end deftypemethod
@deftypemethod URLConnection {public int} getContentLength ()
@end deftypemethod
@deftypemethod URLConnection {public String} getContentType ()
@end deftypemethod
@deftypemethod URLConnection {public String} getContentEncoding ()
@end deftypemethod
@deftypemethod URLConnection {public long} getExpiration ()
@end deftypemethod
@deftypemethod URLConnection {public long} getDate ()
@end deftypemethod
@deftypemethod URLConnection {public long} getLastModified ()
@end deftypemethod
@deftypemethod URLConnection {public String} getHeaderField (int@w{ }@var{n})
@end deftypemethod
@deftypemethod URLConnection {public String} getHeaderField (java.lang.String@w{ }@var{name})
@end deftypemethod
@deftypemethod URLConnection {public int} getHeaderFieldInt (java.lang.String@w{ }@var{name}, int@w{ }@var{val})
@end deftypemethod
@deftypemethod URLConnection {public long} getHeaderFieldDate (java.lang.String@w{ }@var{name}, long@w{ }@var{val})
@end deftypemethod
@deftypemethod URLConnection {public String} getHeaderFieldKey (int@w{ }@var{n})
@end deftypemethod
@deftypemethod URLConnection {public Object} getContent () @*throws IOException
@end deftypemethod
@deftypemethod URLConnection {public InputStream} getInputStream () @*throws IOException
@end deftypemethod
@deftypemethod URLConnection {public OutputStream} getOutputStream () @*throws IOException
@end deftypemethod
@deftypemethod URLConnection {public String} toString ()
@end deftypemethod
@deftypemethod URLConnection {public void} setDoInput (boolean@w{ }@var{doinput})
@end deftypemethod
@deftypemethod URLConnection {public boolean} getDoInput ()
@end deftypemethod
@deftypemethod URLConnection {public void} setDoOutput (boolean@w{ }@var{dooutput})
@end deftypemethod
@deftypemethod URLConnection {public boolean} getDoOutput ()
@end deftypemethod
@deftypemethod URLConnection {public void} setAllowUserInteraction (boolean@w{ }@var{allowuserinteraction})
@end deftypemethod
@deftypemethod URLConnection {public boolean} getAllowUserInteraction ()
@end deftypemethod
@deftypemethod URLConnection {public static void} setDefaultAllowUserInteraction (boolean@w{ }@var{defaultallowuserinteraction})
@end deftypemethod
@deftypemethod URLConnection {public static boolean} getDefaultAllowUserInteraction ()
@end deftypemethod
@deftypemethod URLConnection {public void} setUseCaches (boolean@w{ }@var{usecaches})
@end deftypemethod
@deftypemethod URLConnection {public boolean} getUseCaches ()
@end deftypemethod
@deftypemethod URLConnection {public void} setIfModifiedSince (long@w{ }@var{ifmodifiedsince})
@end deftypemethod
@deftypemethod URLConnection {public long} getIfModifiedSince ()
@end deftypemethod
@deftypemethod URLConnection {public boolean} getDefaultUseCaches ()
@end deftypemethod
@deftypemethod URLConnection {public void} setDefaultUseCaches (boolean@w{ }@var{defaultusecaches})
@end deftypemethod
@deftypemethod URLConnection {public void} setRequestProperty (java.lang.String@w{ }@var{key}, java.lang.String@w{ }@var{value})
@end deftypemethod
@deftypemethod URLConnection {public String} getRequestProperty (java.lang.String@w{ }@var{key})
@end deftypemethod
@deftypemethod URLConnection {public static void} setDefaultRequestProperty (java.lang.String@w{ }@var{key}, java.lang.String@w{ }@var{value})
@end deftypemethod
@deftypemethod URLConnection {public static String} getDefaultRequestProperty (java.lang.String@w{ }@var{key})
@end deftypemethod
@deftypemethod URLConnection {public static void} setContentHandlerFactory (java.net.ContentHandlerFactory@w{ }@var{fac})
@end deftypemethod
@deftypemethod URLConnection {protected static String} guessContentTypeFromName (java.lang.String@w{ }@var{fname})
@end deftypemethod
@deftypemethod URLConnection {public static FileNameMap} getFileNameMap ()
@end deftypemethod
@deftypemethod URLConnection {public static void} setFileNameMap (java.net.FileNameMap@w{ }@var{map})
@end deftypemethod
@deftypemethod URLDecoder {public static String} decode (java.lang.String@w{ }@var{s}) @*throws Exception
@end deftypemethod
@deftypemethod URLEncoder {public static String} encode (java.lang.String@w{ }@var{s})
@end deftypemethod
@deftypemethod URL {public boolean} equals (java.lang.Object@w{ }@var{obj})
@end deftypemethod
@deftypemethod URL {public final Object} getContent () @*throws IOException
@end deftypemethod
@deftypemethod URL {public String} getFile ()
@end deftypemethod
@deftypemethod URL {public String} getHost ()
@end deftypemethod
@deftypemethod URL {public int} getPort ()
@end deftypemethod
@deftypemethod URL {public String} getProtocol ()
@end deftypemethod
@deftypemethod URL {public String} getRef ()
@end deftypemethod
@deftypemethod URL {public int} hashCode ()
@end deftypemethod
@deftypemethod URL {public URLConnection} openConnection () @*throws IOException
@end deftypemethod
@deftypemethod URL {public final InputStream} openStream () @*throws IOException
@end deftypemethod
@deftypemethod URL {public boolean} sameFile (java.net.URL@w{ }@var{other})
@end deftypemethod
@deftypemethod URL {protected void} set (java.lang.String@w{ }@var{protocol}, java.lang.String@w{ }@var{host}, int@w{ }@var{port}, java.lang.String@w{ }@var{file}, java.lang.String@w{ }@var{ref})
@end deftypemethod
@deftypemethod URL {public static synchronized void} setURLStreamHandlerFactory (java.net.URLStreamHandlerFactory@w{ }@var{fac})
@end deftypemethod
@deftypemethod URL {public String} toExternalForm ()
@end deftypemethod
@deftypemethod URL {public String} toString ()
@end deftypemethod
@deftypemethod URLStreamHandlerFactory {public URLStreamHandler} createURLStreamHandler (java.lang.String@w{ }@var{protocol})
@end deftypemethod
@deftypemethod URLStreamHandler {protected abstract URLConnection} openConnection (java.net.URL@w{ }@var{u}) @*throws IOException
@end deftypemethod
@deftypemethod URLStreamHandler {protected void} parseURL (java.net.URL@w{ }@var{u}, java.lang.String@w{ }@var{spec}, int@w{ }@var{start}, int@w{ }@var{limit})
@end deftypemethod
@deftypemethod URLStreamHandler {protected void} setURL (java.net.URL@w{ }@var{u}, java.lang.String@w{ }@var{protocol}, java.lang.String@w{ }@var{host}, int@w{ }@var{port}, java.lang.String@w{ }@var{file}, java.lang.String@w{ }@var{ref})
@end deftypemethod
@deftypemethod URLStreamHandler {protected String} toExternalForm (java.net.URL@w{ }@var{u})
@end deftypemethod

View File

View File

@ -0,0 +1,354 @@
@deftypemethod BasicPermission {public boolean} implies (java.security.Permission@w{ }@var{perm})
This method tests to see if the specified permission is implied by
this permission. This will be true if the following conditions are met:
@itemize @bullet
@item
The specified object is an instance of @code{BasicPermission},
or a subclass.
@item
The name of the specified permission is identical to this permission's
name or the name of the specified permission satisfies a wildcard match
on this permission.
@end itemize
@end deftypemethod
@deftypemethod BasicPermission {public boolean} equals (java.lang.Object@w{ }@var{obj})
This method tests to see if this object is equal to the specified
@code{Object}. This will be true if and only if the specified
object meets the following conditions:
@itemize @bullet
@item
It is an instance of @code{BasicPermission}, or a subclass.
@item
It has the same name as this permission.
@end itemize
@end deftypemethod
@deftypemethod BasicPermission {public int} hashCode ()
This method returns a hash code for this permission object. The hash
code returned is the value returned by calling the @code{hashCode}
method on the @code{String} that is the name of this permission.
@end deftypemethod
@deftypemethod BasicPermission {public String} getActions ()
This method returns a list of the actions associated with this
permission. This method always returns the empty string ("") since
this class ignores actions.
@end deftypemethod
@deftypemethod BasicPermission {public PermissionCollection} newPermissionCollection ()
This method returns an instance of @code{PermissionCollection}
suitable for storing @code{BasicPermission} objects. This returns
be a sub class of @code{PermissionCollection}
that allows for an efficient and consistent implementation of
the @code{implies} method. The collection doesn't handle subclasses
of BasicPermission correctly; they must override this method.
@end deftypemethod
@deftypemethod DigestOutputStream {public MessageDigest} getMessageDigest ()
Returns the MessageDigest associated with this DigestOutputStream
@end deftypemethod
@deftypemethod DigestOutputStream {public void} setMessageDigest (java.security.MessageDigest@w{ }@var{digest})
Sets the current MessageDigest to current parameter
@end deftypemethod
@deftypemethod DigestOutputStream {public void} write (int@w{ }@var{b}) @*throws IOException
Updates the hash if the on flag is true and then writes a byte to
the underlying output stream.
@end deftypemethod
@deftypemethod DigestOutputStream {public void} write (byte[]@w{ }@var{b}, int@w{ }@var{off}, int@w{ }@var{len}) @*throws IOException
Updates the hash if the on flag is true and then writes the bytes
to the underlying output stream.
@end deftypemethod
@deftypemethod DigestOutputStream {public void} on (boolean@w{ }@var{on})
Sets the flag specifying if this DigestOutputStream updates the
digest in the write() methods. The default is on;
@end deftypemethod
@deftypemethod DigestOutputStream {public String} toString ()
Converts the output stream and underlying message digest to a string.
@end deftypemethod
@deftypemethod Guard {public void} checkGuard (java.lang.Object@w{ }@var{obj}) @*throws SecurityException
This method tests whether or not access is allowed to the specified
guarded object. Access is allowed if this method returns silently. If
access is denied, an exception is generated.
@end deftypemethod
@deftypemethod Key {public String} getAlgorithm ()
@end deftypemethod
@deftypemethod Key {public String} getFormat ()
@end deftypemethod
@deftypemethod Key {public byte} getEncoded ()
@end deftypemethod
@deftypemethod KeyPairGenerator {public static KeyPairGenerator} getInstance (java.lang.String@w{ }@var{algorithm}) @*throws NoSuchAlgorithmException
@end deftypemethod
@deftypemethod KeyPairGenerator {public static KeyPairGenerator} getInstance (java.lang.String@w{ }@var{algorithm}, java.lang.String@w{ }@var{provider}) @*throws NoSuchAlgorithmException, NoSuchProviderException
@end deftypemethod
@deftypemethod KeyPairGenerator {public String} getAlgorithm ()
@end deftypemethod
@deftypemethod KeyPairGenerator {public abstract void} initialize (int@w{ }@var{strength}, java.security.SecureRandom@w{ }@var{random})
@end deftypemethod
@deftypemethod KeyPairGenerator {public abstract KeyPair} generateKeyPair ()
@end deftypemethod
@deftypemethod KeyPairGeneratorSpi {public abstract void} initialize (int@w{ }@var{keysize}, java.security.SecureRandom@w{ }@var{random})
@end deftypemethod
@deftypemethod KeyPairGeneratorSpi {public abstract KeyPair} generateKeyPair ()
@end deftypemethod
@deftypemethod KeyPair {public PublicKey} getPublic ()
@end deftypemethod
@deftypemethod KeyPair {public PrivateKey} getPrivate ()
@end deftypemethod
@deftypemethod MessageDigest {public static MessageDigest} getInstance (java.lang.String@w{ }@var{algorithm}) @*throws NoSuchAlgorithmException
@end deftypemethod
@deftypemethod MessageDigest {public static MessageDigest} getInstance (java.lang.String@w{ }@var{algorithm}, java.lang.String@w{ }@var{provider}) @*throws NoSuchAlgorithmException, NoSuchProviderException
@end deftypemethod
@deftypemethod MessageDigest {public void} update (byte@w{ }@var{input})
@end deftypemethod
@deftypemethod MessageDigest {public void} update (byte[]@w{ }@var{input}, int@w{ }@var{offset}, int@w{ }@var{len})
@end deftypemethod
@deftypemethod MessageDigest {public void} update (byte[]@w{ }@var{input})
@end deftypemethod
@deftypemethod MessageDigest {public byte} digest ()
@end deftypemethod
@deftypemethod MessageDigest {public byte} digest (byte[]@w{ }@var{input})
@end deftypemethod
@deftypemethod MessageDigest {public String} toString ()
@end deftypemethod
@deftypemethod MessageDigest {public static boolean} isEqual (byte[]@w{ }@var{digesta}, byte[]@w{ }@var{digestb})
@end deftypemethod
@deftypemethod MessageDigest {public void} reset ()
@end deftypemethod
@deftypemethod MessageDigest {public final String} getAlgorithm ()
@end deftypemethod
@deftypemethod MessageDigest {protected abstract void} engineUpdate (byte@w{ }@var{input})
@end deftypemethod
@deftypemethod MessageDigest {protected abstract void} engineUpdate (byte[]@w{ }@var{input}, int@w{ }@var{offset}, int@w{ }@var{len})
@end deftypemethod
@deftypemethod MessageDigest {protected abstract byte} engineDigest ()
@end deftypemethod
@deftypemethod MessageDigest {protected abstract void} engineReset ()
@end deftypemethod
@deftypemethod MessageDigest {public Object} clone () @*throws CloneNotSupportedException
@end deftypemethod
@deftypemethod PermissionCollection {public boolean} isReadOnly ()
This method tests whether or not this @code{PermissionCollection}
object is read only.
@end deftypemethod
@deftypemethod PermissionCollection {public void} setReadOnly ()
This method sets this @code{PermissionCollection} object to be
read only. No further permissions can be added to it after calling this
method.
@end deftypemethod
@deftypemethod PermissionCollection {public abstract void} add (java.security.Permission@w{ }@var{perm}) @*throws SecurityException, IllegalArgumentException
This method adds a new @code{Permission} object to the collection.
@end deftypemethod
@deftypemethod PermissionCollection {public abstract Enumeration} elements ()
This method returns an @code{Enumeration} of all the objects in
this collection.
@end deftypemethod
@deftypemethod PermissionCollection {public abstract boolean} implies (java.security.Permission@w{ }@var{perm})
This method tests whether the specified @code{Permission} object is
implied by this collection of @code{Permission} objects.
@end deftypemethod
@deftypemethod PermissionCollection {public String} toString ()
This method returns a @code{String} representation of this
collection. It will print the class name and has code in the same
manner as @code{Object.toString()} then print a listing of all
the @code{Permission} objects contained.
@end deftypemethod
@deftypemethod Permission {public String} getName ()
This method returns the name of this @code{Permission}
@end deftypemethod
@deftypemethod Permission {public abstract String} getActions ()
This method returns the list of actions for this @code{Permission}
as a @code{String}.
@end deftypemethod
@deftypemethod Permission {public void} checkGuard (java.lang.Object@w{ }@var{obj}) @*throws SecurityException
This method implements the @code{Guard} interface for this class.
It calls the @code{checkPermission} method in
@code{SecurityManager} with this @code{Permission} as its
argument. This method returns silently if the security check succeeds
or throws an exception if it fails.
@end deftypemethod
@deftypemethod Permission {public abstract boolean} implies (java.security.Permission@w{ }@var{perm})
This method tests whether this @code{Permission} implies that the
specified @code{Permission} is also granted.
@end deftypemethod
@deftypemethod Permission {public abstract int} hashCode ()
This method returns a hash code for this @code{Permission}.
@end deftypemethod
@deftypemethod Permission {public String} toString ()
This method returns a @code{String} representation of this
@code{Permission} object.
@end deftypemethod
@deftypemethod Permission {public PermissionCollection} newPermissionCollection ()
This method returns an empty @code{PermissionCollection} object
that can store permissions of this type, or @code{null} if no
such collection is defined.
@end deftypemethod
@deftypemethod Principal {public String} getName ()
This method returns a @code{String} that names this
@code{Principal}.
@end deftypemethod
@deftypemethod Principal {public boolean} equals (java.lang.Object@w{ }@var{obj})
This method tests another @code{Principal} object for equality
with this one.
@end deftypemethod
@deftypemethod Principal {public int} hashCode ()
This method returns a hash code value for this @code{Principal}.
@end deftypemethod
@deftypemethod Principal {public String} toString ()
This method returns a @code{String} representation of this
@code{Principal}.
@end deftypemethod
@deftypemethod Provider {public String} getName ()
This method returns the name assigned to this @code{Provider}.
@end deftypemethod
@deftypemethod Provider {public double} getVersion ()
This method retunrs the version number of this @code{Provider}.
@end deftypemethod
@deftypemethod Provider {public String} getInfo ()
This method returns a textual description of the @code{Provider}.
@end deftypemethod
@deftypemethod Provider {public Object} put (java.lang.Object@w{ }@var{key}, java.lang.Object@w{ }@var{value})
This method sets the specified key to have the specified value.
@end deftypemethod
@deftypemethod Provider {public Object} remove (java.lang.Object@w{ }@var{key})
This method removes the specified key entry (and its associated value)
from the property mapping list.
@end deftypemethod
@deftypemethod Provider {public void} clear ()
This method clears the entire property list such that it no longer
contains the properties used to look up the services provided by
the @code{Provider}.
@end deftypemethod
@deftypemethod Provider {public String} toString ()
This method returns a @code{String} representation of this
object. This will include the @code{Provider} name and
version number.
@end deftypemethod
@deftypemethod Security {public static int} insertProviderAt (java.security.Provider@w{ }@var{provider}, int@w{ }@var{position})
@end deftypemethod
@deftypemethod Security {public static int} addProvider (java.security.Provider@w{ }@var{provider})
@end deftypemethod
@deftypemethod Security {public static void} removeProvider (java.lang.String@w{ }@var{name})
@end deftypemethod
@deftypemethod Security {public static Provider} getProviders ()
@end deftypemethod
@deftypemethod Security {public static Provider} getProvider (java.lang.String@w{ }@var{name})
@end deftypemethod
@deftypemethod Security {public static String} getProperty (java.lang.String@w{ }@var{key})
@end deftypemethod
@deftypemethod Security {public static void} setProperty (java.lang.String@w{ }@var{key}, java.lang.String@w{ }@var{value})
@end deftypemethod
@deftypemethod Signature {public static Signature} getInstance (java.lang.String@w{ }@var{algorithm}) @*throws NoSuchAlgorithmException
@end deftypemethod
@deftypemethod Signature {public static Signature} getInstance (java.lang.String@w{ }@var{algorithm}, java.lang.String@w{ }@var{provider}) @*throws NoSuchAlgorithmException, NoSuchProviderException
@end deftypemethod
@deftypemethod Signature {public final void} initVerify (java.security.PublicKey@w{ }@var{publicKey}) @*throws InvalidKeyException
@end deftypemethod
@deftypemethod Signature {public final void} initSign (java.security.PrivateKey@w{ }@var{privateKey}) @*throws InvalidKeyException
@end deftypemethod
@deftypemethod Signature {public final byte} sign () @*throws SignatureException
@end deftypemethod
@deftypemethod Signature {public final boolean} verify (byte[]@w{ }@var{signature}) @*throws SignatureException
@end deftypemethod
@deftypemethod Signature {public final void} update (byte@w{ }@var{b}) @*throws SignatureException
@end deftypemethod
@deftypemethod Signature {public final void} update (byte[]@w{ }@var{data}) @*throws SignatureException
@end deftypemethod
@deftypemethod Signature {public final void} update (byte[]@w{ }@var{data}, int@w{ }@var{off}, int@w{ }@var{len}) @*throws SignatureException
@end deftypemethod
@deftypemethod Signature {public final String} getAlgorithm ()
@end deftypemethod
@deftypemethod Signature {public String} toString ()
@end deftypemethod
@deftypemethod Signature {public final void} setParameter (java.lang.String@w{ }@var{param}, java.lang.Object@w{ }@var{value}) @*throws InvalidParameterException
@end deftypemethod
@deftypemethod Signature {public final Object} getParameter (java.lang.String@w{ }@var{param}) @*throws InvalidParameterException
@end deftypemethod
@deftypemethod Signature {protected abstract void} engineInitVerify (java.security.PublicKey@w{ }@var{publicKey}) @*throws InvalidKeyException
@end deftypemethod
@deftypemethod Signature {protected abstract void} engineInitSign (java.security.PrivateKey@w{ }@var{privateKey}) @*throws InvalidKeyException
@end deftypemethod
@deftypemethod Signature {protected abstract void} engineUpdate (byte@w{ }@var{b}) @*throws SignatureException
@end deftypemethod
@deftypemethod Signature {protected abstract void} engineUpdate (byte[]@w{ }@var{b}, int@w{ }@var{off}, int@w{ }@var{len}) @*throws SignatureException
@end deftypemethod
@deftypemethod Signature {protected abstract byte} engineSign () @*throws SignatureException
@end deftypemethod
@deftypemethod Signature {protected abstract boolean} engineVerify (byte[]@w{ }@var{sigBytes}) @*throws SignatureException
@end deftypemethod
@deftypemethod Signature {protected abstract void} engineSetParameter (java.lang.String@w{ }@var{param}, java.lang.Object@w{ }@var{value}) @*throws InvalidParameterException
@end deftypemethod
@deftypemethod Signature {protected abstract Object} engineGetParameter (java.lang.String@w{ }@var{param}) @*throws InvalidParameterException
@end deftypemethod
@deftypemethod Signature {public Object} clone () @*throws CloneNotSupportedException
@end deftypemethod

2892
libjava/doc/java-sql.texi Normal file

File diff suppressed because it is too large Load Diff

859
libjava/doc/java-text.texi Normal file
View File

@ -0,0 +1,859 @@
@deftypemethod BreakIterator {public abstract int} current ()
@end deftypemethod
@deftypemethod BreakIterator {public abstract int} first ()
@end deftypemethod
@deftypemethod BreakIterator {public abstract int} following (int@w{ }@var{pos})
@end deftypemethod
@deftypemethod BreakIterator {public static synchronized Locale} getAvailableLocales ()
@end deftypemethod
@deftypemethod BreakIterator {public static BreakIterator} getCharacterInstance ()
@end deftypemethod
@deftypemethod BreakIterator {public static BreakIterator} getCharacterInstance (java.util.Locale@w{ }@var{loc})
@end deftypemethod
@deftypemethod BreakIterator {public static BreakIterator} getLineInstance ()
@end deftypemethod
@deftypemethod BreakIterator {public static BreakIterator} getLineInstance (java.util.Locale@w{ }@var{loc})
@end deftypemethod
@deftypemethod BreakIterator {public static BreakIterator} getSentenceInstance ()
@end deftypemethod
@deftypemethod BreakIterator {public static BreakIterator} getSentenceInstance (java.util.Locale@w{ }@var{loc})
@end deftypemethod
@deftypemethod BreakIterator {public abstract CharacterIterator} getText ()
@end deftypemethod
@deftypemethod BreakIterator {public static BreakIterator} getWordInstance ()
@end deftypemethod
@deftypemethod BreakIterator {public static BreakIterator} getWordInstance (java.util.Locale@w{ }@var{loc})
@end deftypemethod
@deftypemethod BreakIterator {public boolean} isBoundary (int@w{ }@var{pos})
@end deftypemethod
@deftypemethod BreakIterator {public abstract int} last ()
@end deftypemethod
@deftypemethod BreakIterator {public abstract int} next ()
@end deftypemethod
@deftypemethod BreakIterator {public abstract int} next (int@w{ }@var{n})
@end deftypemethod
@deftypemethod BreakIterator {public int} preceding (int@w{ }@var{pos})
@end deftypemethod
@deftypemethod BreakIterator {public abstract int} previous ()
@end deftypemethod
@deftypemethod BreakIterator {public void} setText (java.lang.String@w{ }@var{newText})
@end deftypemethod
@deftypemethod BreakIterator {public abstract void} setText (java.text.CharacterIterator@w{ }@var{newText})
@end deftypemethod
@deftypemethod CharacterIterator {public Object} clone ()
@end deftypemethod
@deftypemethod CharacterIterator {public char} current ()
@end deftypemethod
@deftypemethod CharacterIterator {public char} first ()
@end deftypemethod
@deftypemethod CharacterIterator {public int} getBeginIndex ()
@end deftypemethod
@deftypemethod CharacterIterator {public int} getEndIndex ()
@end deftypemethod
@deftypemethod CharacterIterator {public int} getIndex ()
@end deftypemethod
@deftypemethod CharacterIterator {public char} last ()
@end deftypemethod
@deftypemethod CharacterIterator {public char} next ()
@end deftypemethod
@deftypemethod CharacterIterator {public char} previous ()
@end deftypemethod
@deftypemethod CharacterIterator {public char} setIndex (int@w{ }@var{idx})
@end deftypemethod
@deftypemethod ChoiceFormat {public void} applyPattern (java.lang.String@w{ }@var{newPattern})
@end deftypemethod
@deftypemethod ChoiceFormat {public Object} clone ()
@end deftypemethod
@deftypemethod ChoiceFormat {public boolean} equals (java.lang.Object@w{ }@var{obj})
@end deftypemethod
@deftypemethod ChoiceFormat {public StringBuffer} format (long@w{ }@var{num}, java.lang.StringBuffer@w{ }@var{appendBuf}, java.text.FieldPosition@w{ }@var{pos})
@end deftypemethod
@deftypemethod ChoiceFormat {public StringBuffer} format (double@w{ }@var{num}, java.lang.StringBuffer@w{ }@var{appendBuf}, java.text.FieldPosition@w{ }@var{pos})
@end deftypemethod
@deftypemethod ChoiceFormat {public Object} getFormats ()
@end deftypemethod
@deftypemethod ChoiceFormat {public double} getLimits ()
@end deftypemethod
@deftypemethod ChoiceFormat {public int} hashCode ()
@end deftypemethod
@deftypemethod ChoiceFormat {public static final double} nextDouble (double@w{ }@var{d})
@end deftypemethod
@deftypemethod ChoiceFormat {public static double} nextDouble (double@w{ }@var{d}, boolean@w{ }@var{next})
@end deftypemethod
@deftypemethod ChoiceFormat {public Number} parse (java.lang.String@w{ }@var{sourceStr}, java.text.ParsePosition@w{ }@var{pos})
@end deftypemethod
@deftypemethod ChoiceFormat {public static final double} previousDouble (double@w{ }@var{d})
@end deftypemethod
@deftypemethod ChoiceFormat {public void} setChoices (double[]@w{ }@var{choiceLimits}, java.lang.String[]@w{ }@var{choiceFormats})
@end deftypemethod
@deftypemethod ChoiceFormat {public String} toPattern ()
@end deftypemethod
@deftypemethod CollationElementIterator {public int} next ()
@end deftypemethod
@deftypemethod CollationElementIterator {public static final int} primaryOrder (int@w{ }@var{order})
@end deftypemethod
@deftypemethod CollationElementIterator {public void} reset ()
@end deftypemethod
@deftypemethod CollationElementIterator {public static final short} secondaryOrder (int@w{ }@var{order})
@end deftypemethod
@deftypemethod CollationElementIterator {public static final short} tertiaryOrder (int@w{ }@var{order})
@end deftypemethod
@deftypemethod CollationKey {public int} compareTo (java.text.CollationKey@w{ }@var{target})
@end deftypemethod
@deftypemethod CollationKey {public int} compareTo (java.lang.Object@w{ }@var{o})
@end deftypemethod
@deftypemethod CollationKey {public boolean} equals (java.lang.Object@w{ }@var{obj})
@end deftypemethod
@deftypemethod CollationKey {public String} getSourceString ()
@end deftypemethod
@deftypemethod CollationKey {public int} hashCode ()
@end deftypemethod
@deftypemethod CollationKey {public byte} toByteArray ()
@end deftypemethod
@deftypemethod Collator {public abstract int} compare (java.lang.String@w{ }@var{source}, java.lang.String@w{ }@var{target})
@end deftypemethod
@deftypemethod Collator {public int} compare (java.lang.Object@w{ }@var{o1}, java.lang.Object@w{ }@var{o2})
@end deftypemethod
@deftypemethod Collator {public boolean} equals (java.lang.Object@w{ }@var{obj})
@end deftypemethod
@deftypemethod Collator {public boolean} equals (java.lang.String@w{ }@var{source}, java.lang.String@w{ }@var{target})
@end deftypemethod
@deftypemethod Collator {public Object} clone ()
@end deftypemethod
@deftypemethod Collator {public static synchronized Locale} getAvailableLocales ()
@end deftypemethod
@deftypemethod Collator {public abstract CollationKey} getCollationKey (java.lang.String@w{ }@var{source})
@end deftypemethod
@deftypemethod Collator {public synchronized int} getDecomposition ()
@end deftypemethod
@deftypemethod Collator {public static Collator} getInstance ()
@end deftypemethod
@deftypemethod Collator {public static Collator} getInstance (java.util.Locale@w{ }@var{loc})
@end deftypemethod
@deftypemethod Collator {public synchronized int} getStrength ()
@end deftypemethod
@deftypemethod Collator {public abstract int} hashCode ()
@end deftypemethod
@deftypemethod Collator {public synchronized void} setDecomposition (int@w{ }@var{mode})
@end deftypemethod
@deftypemethod Collator {public synchronized void} setStrength (int@w{ }@var{strength})
@end deftypemethod
@deftypemethod DateFormat {public boolean} equals (java.lang.Object@w{ }@var{obj})
@end deftypemethod
@deftypemethod DateFormat {public Object} clone ()
@end deftypemethod
@deftypemethod DateFormat {public final StringBuffer} format (java.lang.Object@w{ }@var{obj}, java.lang.StringBuffer@w{ }@var{buf}, java.text.FieldPosition@w{ }@var{pos})
@end deftypemethod
@deftypemethod DateFormat {public final String} format (java.util.Date@w{ }@var{date})
@end deftypemethod
@deftypemethod DateFormat {public abstract StringBuffer} format (java.util.Date@w{ }@var{date}, java.lang.StringBuffer@w{ }@var{buf}, java.text.FieldPosition@w{ }@var{pos})
@end deftypemethod
@deftypemethod DateFormat {public static Locale} getAvailableLocales ()
@end deftypemethod
@deftypemethod DateFormat {public Calendar} getCalendar ()
@end deftypemethod
@deftypemethod DateFormat {public static final DateFormat} getDateInstance ()
@end deftypemethod
@deftypemethod DateFormat {public static final DateFormat} getDateInstance (int@w{ }@var{style})
@end deftypemethod
@deftypemethod DateFormat {public static final DateFormat} getDateInstance (int@w{ }@var{style}, java.util.Locale@w{ }@var{loc})
@end deftypemethod
@deftypemethod DateFormat {public static final DateFormat} getDateTimeInstance ()
@end deftypemethod
@deftypemethod DateFormat {public static final DateFormat} getDateTimeInstance (int@w{ }@var{dateStyle}, int@w{ }@var{timeStyle})
@end deftypemethod
@deftypemethod DateFormat {public static final DateFormat} getDateTimeInstance (int@w{ }@var{dateStyle}, int@w{ }@var{timeStyle}, java.util.Locale@w{ }@var{loc})
@end deftypemethod
@deftypemethod DateFormat {public static final DateFormat} getInstance ()
@end deftypemethod
@deftypemethod DateFormat {public NumberFormat} getNumberFormat ()
@end deftypemethod
@deftypemethod DateFormat {public static final DateFormat} getTimeInstance ()
@end deftypemethod
@deftypemethod DateFormat {public static final DateFormat} getTimeInstance (int@w{ }@var{style})
@end deftypemethod
@deftypemethod DateFormat {public static final DateFormat} getTimeInstance (int@w{ }@var{style}, java.util.Locale@w{ }@var{loc})
@end deftypemethod
@deftypemethod DateFormat {public TimeZone} getTimeZone ()
@end deftypemethod
@deftypemethod DateFormat {public int} hashCode ()
@end deftypemethod
@deftypemethod DateFormat {public boolean} isLenient ()
@end deftypemethod
@deftypemethod DateFormat {public Date} parse (java.lang.String@w{ }@var{source}) @*throws ParseException
@end deftypemethod
@deftypemethod DateFormat {public abstract Date} parse (java.lang.String@w{ }@var{source}, java.text.ParsePosition@w{ }@var{pos})
@end deftypemethod
@deftypemethod DateFormat {public Object} parseObject (java.lang.String@w{ }@var{source}, java.text.ParsePosition@w{ }@var{pos})
@end deftypemethod
@deftypemethod DateFormat {public void} setCalendar (java.util.Calendar@w{ }@var{calendar})
@end deftypemethod
@deftypemethod DateFormat {public void} setLenient (boolean@w{ }@var{lenient})
@end deftypemethod
@deftypemethod DateFormat {public void} setNumberFormat (java.text.NumberFormat@w{ }@var{numberFormat})
@end deftypemethod
@deftypemethod DateFormat {public void} setTimeZone (java.util.TimeZone@w{ }@var{timeZone})
@end deftypemethod
@deftypemethod DateFormatSymbols {public String} getAmPmStrings ()
@end deftypemethod
@deftypemethod DateFormatSymbols {public String} getEras ()
@end deftypemethod
@deftypemethod DateFormatSymbols {public String} getLocalPatternChars ()
@end deftypemethod
@deftypemethod DateFormatSymbols {public String} getMonths ()
@end deftypemethod
@deftypemethod DateFormatSymbols {public String} getShortMonths ()
@end deftypemethod
@deftypemethod DateFormatSymbols {public String} getShortWeekdays ()
@end deftypemethod
@deftypemethod DateFormatSymbols {public String} getWeekdays ()
@end deftypemethod
@deftypemethod DateFormatSymbols {public String} getZoneStrings ()
@end deftypemethod
@deftypemethod DateFormatSymbols {public void} setAmPmStrings (java.lang.String[]@w{ }@var{value})
@end deftypemethod
@deftypemethod DateFormatSymbols {public void} setEras (java.lang.String[]@w{ }@var{value})
@end deftypemethod
@deftypemethod DateFormatSymbols {public void} setLocalPatternChars (java.lang.String@w{ }@var{value})
@end deftypemethod
@deftypemethod DateFormatSymbols {public void} setMonths (java.lang.String[]@w{ }@var{value})
@end deftypemethod
@deftypemethod DateFormatSymbols {public void} setShortMonths (java.lang.String[]@w{ }@var{value})
@end deftypemethod
@deftypemethod DateFormatSymbols {public void} setShortWeekdays (java.lang.String[]@w{ }@var{value})
@end deftypemethod
@deftypemethod DateFormatSymbols {public void} setWeekdays (java.lang.String[]@w{ }@var{value})
@end deftypemethod
@deftypemethod DateFormatSymbols {public void} setZoneStrings (java.lang.String[][]@w{ }@var{value})
@end deftypemethod
@deftypemethod DateFormatSymbols {public boolean} equals (java.lang.Object@w{ }@var{obj})
@end deftypemethod
@deftypemethod DateFormatSymbols {public Object} clone ()
@end deftypemethod
@deftypemethod DateFormatSymbols {public int} hashCode ()
@end deftypemethod
@deftypemethod DecimalFormat {public void} applyLocalizedPattern (java.lang.String@w{ }@var{pattern})
@end deftypemethod
@deftypemethod DecimalFormat {public void} applyPattern (java.lang.String@w{ }@var{pattern})
@end deftypemethod
@deftypemethod DecimalFormat {public Object} clone ()
@end deftypemethod
@deftypemethod DecimalFormat {public boolean} equals (java.lang.Object@w{ }@var{obj})
@end deftypemethod
@deftypemethod DecimalFormat {public StringBuffer} format (double@w{ }@var{number}, java.lang.StringBuffer@w{ }@var{dest}, java.text.FieldPosition@w{ }@var{fieldPos})
@end deftypemethod
@deftypemethod DecimalFormat {public StringBuffer} format (long@w{ }@var{number}, java.lang.StringBuffer@w{ }@var{dest}, java.text.FieldPosition@w{ }@var{fieldPos})
@end deftypemethod
@deftypemethod DecimalFormat {public DecimalFormatSymbols} getDecimalFormatSymbols ()
@end deftypemethod
@deftypemethod DecimalFormat {public int} getGroupingSize ()
@end deftypemethod
@deftypemethod DecimalFormat {public int} getMultiplier ()
@end deftypemethod
@deftypemethod DecimalFormat {public String} getNegativePrefix ()
@end deftypemethod
@deftypemethod DecimalFormat {public String} getNegativeSuffix ()
@end deftypemethod
@deftypemethod DecimalFormat {public String} getPositivePrefix ()
@end deftypemethod
@deftypemethod DecimalFormat {public String} getPositiveSuffix ()
@end deftypemethod
@deftypemethod DecimalFormat {public int} hashCode ()
@end deftypemethod
@deftypemethod DecimalFormat {public boolean} isDecimalSeparatorAlwaysShown ()
@end deftypemethod
@deftypemethod DecimalFormat {public Number} parse (java.lang.String@w{ }@var{str}, java.text.ParsePosition@w{ }@var{pos})
@end deftypemethod
@deftypemethod DecimalFormat {public void} setDecimalFormatSymbols (java.text.DecimalFormatSymbols@w{ }@var{newSymbols})
@end deftypemethod
@deftypemethod DecimalFormat {public void} setDecimalSeparatorAlwaysShown (boolean@w{ }@var{newValue})
@end deftypemethod
@deftypemethod DecimalFormat {public void} setGroupingSize (int@w{ }@var{groupSize})
@end deftypemethod
@deftypemethod DecimalFormat {public void} setMaximumFractionDigits (int@w{ }@var{newValue})
@end deftypemethod
@deftypemethod DecimalFormat {public void} setMaximumIntegerDigits (int@w{ }@var{newValue})
@end deftypemethod
@deftypemethod DecimalFormat {public void} setMinimumFractionDigits (int@w{ }@var{newValue})
@end deftypemethod
@deftypemethod DecimalFormat {public void} setMinimumIntegerDigits (int@w{ }@var{newValue})
@end deftypemethod
@deftypemethod DecimalFormat {public void} setMultiplier (int@w{ }@var{newValue})
@end deftypemethod
@deftypemethod DecimalFormat {public void} setNegativePrefix (java.lang.String@w{ }@var{newValue})
@end deftypemethod
@deftypemethod DecimalFormat {public void} setNegativeSuffix (java.lang.String@w{ }@var{newValue})
@end deftypemethod
@deftypemethod DecimalFormat {public void} setPositivePrefix (java.lang.String@w{ }@var{newValue})
@end deftypemethod
@deftypemethod DecimalFormat {public void} setPositiveSuffix (java.lang.String@w{ }@var{newValue})
@end deftypemethod
@deftypemethod DecimalFormat {public String} toLocalizedPattern ()
@end deftypemethod
@deftypemethod DecimalFormat {public String} toPattern ()
@end deftypemethod
@deftypemethod DecimalFormatSymbols {public Object} clone ()
@end deftypemethod
@deftypemethod DecimalFormatSymbols {public boolean} equals (java.lang.Object@w{ }@var{obj})
@end deftypemethod
@deftypemethod DecimalFormatSymbols {public String} getCurrencySymbol ()
@end deftypemethod
@deftypemethod DecimalFormatSymbols {public char} getDecimalSeparator ()
@end deftypemethod
@deftypemethod DecimalFormatSymbols {public char} getDigit ()
@end deftypemethod
@deftypemethod DecimalFormatSymbols {public char} getGroupingSeparator ()
@end deftypemethod
@deftypemethod DecimalFormatSymbols {public String} getInfinity ()
@end deftypemethod
@deftypemethod DecimalFormatSymbols {public String} getInternationalCurrencySymbol ()
@end deftypemethod
@deftypemethod DecimalFormatSymbols {public char} getMinusSign ()
@end deftypemethod
@deftypemethod DecimalFormatSymbols {public char} getMonetaryDecimalSeparator ()
@end deftypemethod
@deftypemethod DecimalFormatSymbols {public String} getNaN ()
@end deftypemethod
@deftypemethod DecimalFormatSymbols {public char} getPatternSeparator ()
@end deftypemethod
@deftypemethod DecimalFormatSymbols {public char} getPercent ()
@end deftypemethod
@deftypemethod DecimalFormatSymbols {public char} getPerMill ()
@end deftypemethod
@deftypemethod DecimalFormatSymbols {public char} getZeroDigit ()
@end deftypemethod
@deftypemethod DecimalFormatSymbols {public int} hashCode ()
@end deftypemethod
@deftypemethod DecimalFormatSymbols {public void} setCurrencySymbol (java.lang.String@w{ }@var{currency})
@end deftypemethod
@deftypemethod DecimalFormatSymbols {public void} setDecimalSeparator (char@w{ }@var{decimalSep})
@end deftypemethod
@deftypemethod DecimalFormatSymbols {public void} setDigit (char@w{ }@var{digit})
@end deftypemethod
@deftypemethod DecimalFormatSymbols {public void} setGroupingSeparator (char@w{ }@var{groupSep})
@end deftypemethod
@deftypemethod DecimalFormatSymbols {public void} setInfinity (java.lang.String@w{ }@var{infinity})
@end deftypemethod
@deftypemethod DecimalFormatSymbols {public void} setInternationalCurrencySymbol (java.lang.String@w{ }@var{currency})
@end deftypemethod
@deftypemethod DecimalFormatSymbols {public void} setMinusSign (char@w{ }@var{minusSign})
@end deftypemethod
@deftypemethod DecimalFormatSymbols {public void} setMonetaryDecimalSeparator (char@w{ }@var{decimalSep})
@end deftypemethod
@deftypemethod DecimalFormatSymbols {public void} setNaN (java.lang.String@w{ }@var{nan})
@end deftypemethod
@deftypemethod DecimalFormatSymbols {public void} setPatternSeparator (char@w{ }@var{patternSep})
@end deftypemethod
@deftypemethod DecimalFormatSymbols {public void} setPercent (char@w{ }@var{percent})
@end deftypemethod
@deftypemethod DecimalFormatSymbols {public void} setPerMill (char@w{ }@var{perMill})
@end deftypemethod
@deftypemethod DecimalFormatSymbols {public void} setZeroDigit (char@w{ }@var{zeroDigit})
@end deftypemethod
@deftypemethod FieldPosition {public int} getField ()
@end deftypemethod
@deftypemethod FieldPosition {public int} getBeginIndex ()
@end deftypemethod
@deftypemethod FieldPosition {public int} getEndIndex ()
@end deftypemethod
@deftypemethod FieldPosition {public void} setBeginIndex (int@w{ }@var{index})
@end deftypemethod
@deftypemethod FieldPosition {public void} setEndIndex (int@w{ }@var{index})
@end deftypemethod
@deftypemethod FieldPosition {public boolean} equals (java.lang.Object@w{ }@var{obj})
@end deftypemethod
@deftypemethod Format {public abstract StringBuffer} format (java.lang.Object@w{ }@var{obj}, java.lang.StringBuffer@w{ }@var{sbuf}, java.text.FieldPosition@w{ }@var{pos})
@end deftypemethod
@deftypemethod Format {public final String} format (java.lang.Object@w{ }@var{obj})
@end deftypemethod
@deftypemethod Format {public abstract Object} parseObject (java.lang.String@w{ }@var{source}, java.text.ParsePosition@w{ }@var{pos})
@end deftypemethod
@deftypemethod Format {public Object} parseObject (java.lang.String@w{ }@var{source}) @*throws ParseException
@end deftypemethod
@deftypemethod Format {public Object} clone ()
@end deftypemethod
@deftypemethod MessageFormat {public void} applyPattern (java.lang.String@w{ }@var{newPattern})
@end deftypemethod
@deftypemethod MessageFormat {public Object} clone ()
@end deftypemethod
@deftypemethod MessageFormat {public boolean} equals (java.lang.Object@w{ }@var{obj})
@end deftypemethod
@deftypemethod MessageFormat {public static String} format (java.lang.String@w{ }@var{pattern}, java.lang.Object[]@w{ }@var{arguments})
@end deftypemethod
@deftypemethod MessageFormat {public final StringBuffer} format (java.lang.Object[]@w{ }@var{arguments}, java.lang.StringBuffer@w{ }@var{appendBuf}, java.text.FieldPosition@w{ }@var{ignore})
@end deftypemethod
@deftypemethod MessageFormat {public final StringBuffer} format (java.lang.Object@w{ }@var{singleArg}, java.lang.StringBuffer@w{ }@var{appendBuf}, java.text.FieldPosition@w{ }@var{ignore})
@end deftypemethod
@deftypemethod MessageFormat {public Format} getFormats ()
@end deftypemethod
@deftypemethod MessageFormat {public Locale} getLocale ()
@end deftypemethod
@deftypemethod MessageFormat {public int} hashCode ()
@end deftypemethod
@deftypemethod MessageFormat {public Object} parse (java.lang.String@w{ }@var{sourceStr}, java.text.ParsePosition@w{ }@var{pos})
@end deftypemethod
@deftypemethod MessageFormat {public Object} parse (java.lang.String@w{ }@var{sourceStr}) @*throws ParseException
@end deftypemethod
@deftypemethod MessageFormat {public Object} parseObject (java.lang.String@w{ }@var{sourceStr}, java.text.ParsePosition@w{ }@var{pos})
@end deftypemethod
@deftypemethod MessageFormat {public void} setFormat (int@w{ }@var{variableNum}, java.text.Format@w{ }@var{newFormat})
@end deftypemethod
@deftypemethod MessageFormat {public void} setFormats (java.text.Format[]@w{ }@var{newFormats})
@end deftypemethod
@deftypemethod MessageFormat {public void} setLocale (java.util.Locale@w{ }@var{loc})
@end deftypemethod
@deftypemethod MessageFormat {public String} toPattern ()
@end deftypemethod
@deftypemethod NumberFormat {public final String} format (long@w{ }@var{number})
@end deftypemethod
@deftypemethod NumberFormat {public final StringBuffer} format (java.lang.Object@w{ }@var{obj}, java.lang.StringBuffer@w{ }@var{sbuf}, java.text.FieldPosition@w{ }@var{pos})
@end deftypemethod
@deftypemethod NumberFormat {public abstract StringBuffer} format (double@w{ }@var{number}, java.lang.StringBuffer@w{ }@var{sbuf}, java.text.FieldPosition@w{ }@var{pos})
@end deftypemethod
@deftypemethod NumberFormat {public abstract StringBuffer} format (long@w{ }@var{number}, java.lang.StringBuffer@w{ }@var{sbuf}, java.text.FieldPosition@w{ }@var{pos})
@end deftypemethod
@deftypemethod NumberFormat {public Object} clone ()
@end deftypemethod
@deftypemethod NumberFormat {public boolean} equals (java.lang.Object@w{ }@var{obj})
@end deftypemethod
@deftypemethod NumberFormat {public static Locale} getAvailableLocales ()
@end deftypemethod
@deftypemethod NumberFormat {public static final NumberFormat} getCurrencyInstance ()
@end deftypemethod
@deftypemethod NumberFormat {public static NumberFormat} getCurrencyInstance (java.util.Locale@w{ }@var{loc})
@end deftypemethod
@deftypemethod NumberFormat {public static final NumberFormat} getInstance ()
@end deftypemethod
@deftypemethod NumberFormat {public static NumberFormat} getInstance (java.util.Locale@w{ }@var{loc})
@end deftypemethod
@deftypemethod NumberFormat {public int} getMaximumFractionDigits ()
@end deftypemethod
@deftypemethod NumberFormat {public int} getMaximumIntegerDigits ()
@end deftypemethod
@deftypemethod NumberFormat {public int} getMinimumFractionDigits ()
@end deftypemethod
@deftypemethod NumberFormat {public int} getMinimumIntegerDigits ()
@end deftypemethod
@deftypemethod NumberFormat {public static final NumberFormat} getNumberInstance ()
@end deftypemethod
@deftypemethod NumberFormat {public static NumberFormat} getNumberInstance (java.util.Locale@w{ }@var{loc})
@end deftypemethod
@deftypemethod NumberFormat {public static final NumberFormat} getPercentInstance ()
@end deftypemethod
@deftypemethod NumberFormat {public static NumberFormat} getPercentInstance (java.util.Locale@w{ }@var{loc})
@end deftypemethod
@deftypemethod NumberFormat {public int} hashCode ()
@end deftypemethod
@deftypemethod NumberFormat {public boolean} isGroupingUsed ()
@end deftypemethod
@deftypemethod NumberFormat {public boolean} isParseIntegerOnly ()
@end deftypemethod
@deftypemethod NumberFormat {public abstract Number} parse (java.lang.String@w{ }@var{sourceStr}, java.text.ParsePosition@w{ }@var{pos})
@end deftypemethod
@deftypemethod NumberFormat {public Number} parse (java.lang.String@w{ }@var{sourceStr}) @*throws ParseException
@end deftypemethod
@deftypemethod NumberFormat {public final Object} parseObject (java.lang.String@w{ }@var{sourceStr}, java.text.ParsePosition@w{ }@var{pos})
@end deftypemethod
@deftypemethod NumberFormat {public void} setGroupingUsed (boolean@w{ }@var{newValue})
@end deftypemethod
@deftypemethod NumberFormat {public void} setMaximumFractionDigits (int@w{ }@var{newValue})
@end deftypemethod
@deftypemethod NumberFormat {public void} setMaximumIntegerDigits (int@w{ }@var{newValue})
@end deftypemethod
@deftypemethod NumberFormat {public void} setMinimumFractionDigits (int@w{ }@var{newValue})
@end deftypemethod
@deftypemethod NumberFormat {public void} setMinimumIntegerDigits (int@w{ }@var{newValue})
@end deftypemethod
@deftypemethod NumberFormat {public void} setParseIntegerOnly (boolean@w{ }@var{value})
@end deftypemethod
@deftypemethod NumberFormat {public final String} format (double@w{ }@var{number})
@end deftypemethod
@deftypemethod ParseException {public int} getErrorOffset ()
@end deftypemethod
@deftypemethod ParsePosition {public int} getIndex ()
@end deftypemethod
@deftypemethod ParsePosition {public void} setIndex (int@w{ }@var{index})
@end deftypemethod
@deftypemethod ParsePosition {public int} getErrorIndex ()
@end deftypemethod
@deftypemethod ParsePosition {public void} setErrorIndex (int@w{ }@var{ei})
@end deftypemethod
@deftypemethod ParsePosition {public boolean} equals (java.lang.Object@w{ }@var{obj})
@end deftypemethod
@deftypemethod RuleBasedCollator {public Object} clone ()
@end deftypemethod
@deftypemethod RuleBasedCollator {public int} compare (java.lang.String@w{ }@var{source}, java.lang.String@w{ }@var{target})
@end deftypemethod
@deftypemethod RuleBasedCollator {public boolean} equals (java.lang.Object@w{ }@var{obj})
@end deftypemethod
@deftypemethod RuleBasedCollator {public CollationElementIterator} getCollationElementIterator (java.lang.String@w{ }@var{source})
@end deftypemethod
@deftypemethod RuleBasedCollator {public CollationElementIterator} getCollationElementIterator (java.text.CharacterIterator@w{ }@var{source})
@end deftypemethod
@deftypemethod RuleBasedCollator {public CollationKey} getCollationKey (java.lang.String@w{ }@var{source})
@end deftypemethod
@deftypemethod RuleBasedCollator {public String} getRules ()
@end deftypemethod
@deftypemethod RuleBasedCollator {public int} hashCode ()
@end deftypemethod
@deftypemethod SimpleDateFormat {public String} toString ()
@end deftypemethod
@deftypemethod SimpleDateFormat {public String} toPattern ()
This method returns a string with the formatting pattern being used
by this object. This string is unlocalized.
@end deftypemethod
@deftypemethod SimpleDateFormat {public String} toLocalizedPattern ()
This method returns a string with the formatting pattern being used
by this object. This string is localized.
@end deftypemethod
@deftypemethod SimpleDateFormat {public void} applyPattern (java.lang.String@w{ }@var{pattern})
This method sets the formatting pattern that should be used by this
object. This string is not localized.
@end deftypemethod
@deftypemethod SimpleDateFormat {public void} applyLocalizedPattern (java.lang.String@w{ }@var{pattern})
This method sets the formatting pattern that should be used by this
object. This string is localized.
@end deftypemethod
@deftypemethod SimpleDateFormat {public Date} get2DigitYearStart ()
Returns the start of the century used for two digit years.
@end deftypemethod
@deftypemethod SimpleDateFormat {public void} set2DigitYearStart (java.util.Date@w{ }@var{date})
Sets the start of the century used for two digit years.
@end deftypemethod
@deftypemethod SimpleDateFormat {public DateFormatSymbols} getDateFormatSymbols ()
This method returns the format symbol information used for parsing
and formatting dates.
@end deftypemethod
@deftypemethod SimpleDateFormat {public void} setDateFormatSymbols (java.text.DateFormatSymbols@w{ }@var{formatData})
This method sets the format symbols information used for parsing
and formatting dates.
@end deftypemethod
@deftypemethod SimpleDateFormat {public boolean} equals (java.lang.Object@w{ }@var{o})
This methods tests whether the specified object is equal to this
object. This will be true if and only if the specified object:
@itemize @bullet
@item
Is not @code{null}.
@item
Is an instance of @code{SimpleDateFormat}.
@item
Is equal to this object at the superclass (i.e., @code{DateFormat})
level.
@item
Has the same formatting pattern.
@item
Is using the same formatting symbols.
@item
Is using the same century for two digit years.
@end itemize
@end deftypemethod
@deftypemethod SimpleDateFormat {public StringBuffer} format (java.util.Date@w{ }@var{date}, java.lang.StringBuffer@w{ }@var{buffer}, java.text.FieldPosition@w{ }@var{pos})
Formats the date input according to the format string in use,
appending to the specified StringBuffer. The input StringBuffer
is returned as output for convenience.
@end deftypemethod
@deftypemethod SimpleDateFormat {public Date} parse (java.lang.String@w{ }@var{dateStr}, java.text.ParsePosition@w{ }@var{pos})
This method parses the specified string into a date.
@end deftypemethod
@deftypemethod StringCharacterIterator {public Object} clone ()
@end deftypemethod
@deftypemethod StringCharacterIterator {public char} current ()
@end deftypemethod
@deftypemethod StringCharacterIterator {public boolean} equals (java.lang.Object@w{ }@var{obj})
@end deftypemethod
@deftypemethod StringCharacterIterator {public char} first ()
@end deftypemethod
@deftypemethod StringCharacterIterator {public int} getBeginIndex ()
@end deftypemethod
@deftypemethod StringCharacterIterator {public int} getEndIndex ()
@end deftypemethod
@deftypemethod StringCharacterIterator {public int} getIndex ()
@end deftypemethod
@deftypemethod StringCharacterIterator {public int} hashCode ()
@end deftypemethod
@deftypemethod StringCharacterIterator {public char} last ()
@end deftypemethod
@deftypemethod StringCharacterIterator {public char} next ()
@end deftypemethod
@deftypemethod StringCharacterIterator {public char} previous ()
@end deftypemethod
@deftypemethod StringCharacterIterator {public char} setIndex (int@w{ }@var{idx})
@end deftypemethod
@deftypemethod StringCharacterIterator {public void} setText (java.lang.String@w{ }@var{text})
@end deftypemethod

View File

@ -0,0 +1,188 @@
@deftypemethod Attributes {public String} getValue (java.lang.String@w{ }@var{name})
Gets the value of an attribute name given as a String.
@end deftypemethod
@deftypemethod Attributes {public String} getValue (java.util.jar.Attributes.Name@w{ }@var{name})
Gets the value of the given attribute name.
@end deftypemethod
@deftypemethod Attributes {public String} putValue (java.lang.String@w{ }@var{name}, java.lang.String@w{ }@var{value})
Stores an attribute name (represented by a String) and value in this
Attributes map.
When the (case insensitive string) name already exists the value is
replaced and the old value is returned.
@end deftypemethod
@deftypemethod Attributes {public Object} clone ()
Return a clone of this attribute map.
@end deftypemethod
@deftypemethod Attributes {public void} clear ()
Removes all attributes.
@end deftypemethod
@deftypemethod Attributes {public boolean} containsKey (java.lang.Object@w{ }@var{attrName})
Checks to see if there is an attribute with the specified name.
XXX - what if the object is a String?
@end deftypemethod
@deftypemethod Attributes {public boolean} containsValue (java.lang.Object@w{ }@var{attrValue})
Checks to see if there is an attribute name with the specified value.
@end deftypemethod
@deftypemethod Attributes {public Set} entrySet ()
Gives a Set of attribute name and values pairs as MapEntries.
@end deftypemethod
@deftypemethod Attributes {public boolean} equals (java.lang.Object@w{ }@var{o})
Checks to see if two Attributes are equal. The supplied object must be
a real instance of Attributes and contain the same attribute name/value
pairs.
@end deftypemethod
@deftypemethod Attributes {public Object} get (java.lang.Object@w{ }@var{attrName})
Gets the value of a specified attribute name.
XXX - what if the object is a String?
@end deftypemethod
@deftypemethod Attributes {public int} hashCode ()
Returns the hashcode of the attribute name/value map.
@end deftypemethod
@deftypemethod Attributes {public boolean} isEmpty ()
Returns true if there are no attributes set, false otherwise.
@end deftypemethod
@deftypemethod Attributes {public Set} keySet ()
Gives a Set of all the values of defined attribute names.
@end deftypemethod
@deftypemethod Attributes {public Object} put (java.lang.Object@w{ }@var{name}, java.lang.Object@w{ }@var{value})
Adds or replaces a attribute name/value pair.
XXX - What if the name is a string? What if the name is neither a Name
nor a String? What if the value is not a string?
@end deftypemethod
@deftypemethod Attributes {public void} putAll (java.util.Map@w{ }@var{attr})
Adds or replaces all attribute name/value pairs from another
Attributes object to this one. The supplied Map must be an instance of
Attributes.
@end deftypemethod
@deftypemethod Attributes {public Object} remove (java.lang.Object@w{ }@var{name})
Remove a attribute name/value pair.
XXX - What if the name is a String?
@end deftypemethod
@deftypemethod Attributes {public int} size ()
Returns the number of defined attribute name/value pairs.
@end deftypemethod
@deftypemethod Attributes {public Collection} values ()
Returns all the values of the defined attribute name/value pairs as a
Collection.
@end deftypemethod
@deftypemethod Attributes.Name {public int} hashCode ()
Returns the hash code of the (lowercase) String representation of
this Name.
@end deftypemethod
@deftypemethod Attributes.Name {public boolean} equals (java.lang.Object@w{ }@var{o})
Checks if another object is equal to this Name object.
Another object is equal to this Name object if it is an instance of
Name and the (lowercase) string representation of the name is equal.
@end deftypemethod
@deftypemethod Attributes.Name {public String} toString ()
Returns the string representation of this Name as given to the
constructor (not neccesarily the lower case representation).
@end deftypemethod
@deftypemethod JarEntry {public Attributes} getAttributes () @*throws IOException
Returns a copy of the Attributes set for this entry.
When no Attributes are set in the manifest null is returned.
@end deftypemethod
@deftypemethod JarEntry {public Certificate} getCertificates ()
Returns a copy of the certificates set for this entry.
When no certificates are set or when not all data of this entry has
been read null is returned.
To make sure that this call returns a valid value you must read all
data from the JarInputStream for this entry.
When you don't need the data for an entry but want to know the
certificates that are set for the entry then you can skip all data by
calling @code{skip(entry.getSize())} on the JarInputStream for
the entry.
@end deftypemethod
@deftypemethod JarFile {public Enumeration} entries () @*throws IllegalStateException
Returns a enumeration of all the entries in the JarFile.
Note that also the Jar META-INF entries are returned.
@end deftypemethod
@deftypemethod JarFile {public ZipEntry} getEntry (java.lang.String@w{ }@var{name})
XXX
It actually returns a JarEntry not a zipEntry
@end deftypemethod
@deftypemethod JarFile {public synchronized InputStream} getInputStream (java.util.zip.ZipEntry@w{ }@var{entry}) @*throws ZipException, IOException
XXX should verify the inputstream
@end deftypemethod
@deftypemethod JarFile {public JarEntry} getJarEntry (java.lang.String@w{ }@var{name})
Returns the JarEntry that belongs to the name if such an entry
exists in the JarFile. Returns null otherwise
Convenience method that just casts the result from @code{getEntry}
to a JarEntry.
@end deftypemethod
@deftypemethod JarFile {public Manifest} getManifest ()
Returns the manifest for this JarFile or null when the JarFile does not
contain a manifest file.
@end deftypemethod
@deftypemethod JarInputStream {protected ZipEntry} createZipEntry (java.lang.String@w{ }@var{name})
Creates a JarEntry for a particular name and consults the manifest
for the Attributes of the entry.
Used by @code{ZipEntry.getNextEntry()}
@end deftypemethod
@deftypemethod JarInputStream {public Manifest} getManifest ()
Returns the Manifest for the jar file or null if there was no Manifest.
@end deftypemethod
@deftypemethod JarInputStream {public ZipEntry} getNextEntry () @*throws IOException
Returns the next entry or null when there are no more entries.
Does actually return a JarEntry, if you don't want to cast it yourself
use @code{getNextJarEntry()}. Does not return any entries found
at the beginning of the ZipFile that are special
(those that start with "META-INF/").
@end deftypemethod
@deftypemethod JarInputStream {public JarEntry} getNextJarEntry () @*throws IOException
Returns the next jar entry or null when there are no more entries.
@end deftypemethod
@deftypemethod JarInputStream {public int} read (byte[]@w{ }@var{buf}, int@w{ }@var{off}, int@w{ }@var{len}) @*throws IOException
XXX
@end deftypemethod
@deftypemethod JarOutputStream {public void} putNextEntry (java.util.zip.ZipEntry@w{ }@var{entry}) @*throws IOException
Prepares the JarOutputStream for writing the next entry.
This implementation just calls @code{super.putNextEntre()}.
@end deftypemethod
@deftypemethod Manifest {public Attributes} getMainAttributes ()
Gets the main attributes of this Manifest.
@end deftypemethod
@deftypemethod Manifest {public Map} getEntries ()
Gets a map of entry Strings to Attributes for all the entries described
in this manifest. Adding, changing or removing from this entries map
changes the entries of this manifest.
@end deftypemethod
@deftypemethod Manifest {public Attributes} getAttributes (java.lang.String@w{ }@var{entryName})
Returns the Attributes associated with the Entry.
Implemented as:
@code{return (Attributes)getEntries().get(entryName)}
@end deftypemethod
@deftypemethod Manifest {public void} clear ()
Clears the main attributes and removes all the entries from the
manifest.
@end deftypemethod
@deftypemethod Manifest {public void} read (java.io.InputStream@w{ }@var{in}) @*throws IOException
XXX
@end deftypemethod
@deftypemethod Manifest {public void} write (java.io.OutputStream@w{ }@var{out}) @*throws IOException
XXX
@end deftypemethod
@deftypemethod Manifest {public Object} clone ()
Makes a deep copy of the main attributes, but a shallow copy of
the other entries. This means that you can freely add, change or remove
the main attributes or the entries of the new manifest without effecting
the original manifest, but adding, changing or removing attributes from
a particular entry also changes the attributes of that entry in the
original manifest. Calls @code{new Manifest(this)}.
@end deftypemethod
@deftypemethod Manifest {public boolean} equals (java.lang.Object@w{ }@var{o})
Checks if another object is equal to this Manifest object.
Another Object is equal to this Manifest object if it is an instance of
Manifest and the main attributes and the entries of the other manifest
are equal to this one.
@end deftypemethod
@deftypemethod Manifest {public int} hashCode ()
Calculates the hash code of the manifest. Implemented by a xor of the
hash code of the main attributes with the hash code of the entries map.
@end deftypemethod

View File

@ -0,0 +1,352 @@
@deftypemethod Adler32 {public void} reset ()
Resets the Adler32 data checksum as if no update was ever called.
@end deftypemethod
@deftypemethod Adler32 {public void} update (int@w{ }@var{bval})
Adds one byte to the data checksum.
@end deftypemethod
@deftypemethod Adler32 {public void} update (byte[]@w{ }@var{buffer})
Adds the complete byte array to the data checksum.
@end deftypemethod
@deftypemethod Adler32 {public void} update (byte[]@w{ }@var{buf}, int@w{ }@var{off}, int@w{ }@var{len})
Adds the byte array to the data checksum.
@end deftypemethod
@deftypemethod Adler32 {public long} getValue ()
Returns the Adler32 data checksum computed so far.
@end deftypemethod
@deftypemethod CheckedInputStream {public Checksum} getChecksum ()
Returns the Checksum object used. To get the data checksum computed so
far call @code{getChecksum.getValue()}.
@end deftypemethod
@deftypemethod CheckedInputStream {public int} read () @*throws IOException
Reads one byte, updates the checksum and returns the read byte
(or -1 when the end of file was reached).
@end deftypemethod
@deftypemethod CheckedInputStream {public int} read (byte[]@w{ }@var{buf}, int@w{ }@var{off}, int@w{ }@var{len}) @*throws IOException
Reads at most len bytes in the supplied buffer and updates the checksum
with it. Returns the number of bytes actually read or -1 when the end
of file was reached.
@end deftypemethod
@deftypemethod CheckedInputStream {public long} skip (long@w{ }@var{n}) @*throws IOException
Skips n bytes by reading them in a temporary buffer and updating the
the checksum with that buffer. Returns the actual number of bytes skiped
which can be less then requested when the end of file is reached.
@end deftypemethod
@deftypemethod CheckedOutputStream {public Checksum} getChecksum ()
Returns the Checksum object used. To get the data checksum computed so
far call @code{getChecksum.getValue()}.
@end deftypemethod
@deftypemethod CheckedOutputStream {public void} write (int@w{ }@var{bval}) @*throws IOException
Writes one byte to the OutputStream and updates the Checksum.
@end deftypemethod
@deftypemethod CheckedOutputStream {public void} write (byte[]@w{ }@var{buf}, int@w{ }@var{off}, int@w{ }@var{len}) @*throws IOException
Writes the byte array to the OutputStream and updates the Checksum.
@end deftypemethod
@deftypemethod Checksum {public long} getValue ()
Returns the data checksum computed so far.
@end deftypemethod
@deftypemethod Checksum {public void} reset ()
Resets the data checksum as if no update was ever called.
@end deftypemethod
@deftypemethod Checksum {public void} update (int@w{ }@var{bval})
Adds one byte to the data checksum.
@end deftypemethod
@deftypemethod Checksum {public void} update (byte[]@w{ }@var{buf}, int@w{ }@var{off}, int@w{ }@var{len})
Adds the byte array to the data checksum.
@end deftypemethod
@deftypemethod CRC32 {public long} getValue ()
Returns the CRC32 data checksum computed so far.
@end deftypemethod
@deftypemethod CRC32 {public void} reset ()
Resets the CRC32 data checksum as if no update was ever called.
@end deftypemethod
@deftypemethod CRC32 {public void} update (int@w{ }@var{bval})
@end deftypemethod
@deftypemethod CRC32 {public void} update (byte[]@w{ }@var{buf}, int@w{ }@var{off}, int@w{ }@var{len})
Adds the byte array to the data checksum.
@end deftypemethod
@deftypemethod CRC32 {public void} update (byte[]@w{ }@var{buf})
Adds the complete byte array to the data checksum.
@end deftypemethod
@deftypemethod Deflater {public int} deflate (byte[]@w{ }@var{buf})
@end deftypemethod
@deftypemethod Deflater {public native int} deflate (byte[]@w{ }@var{buf}, int@w{ }@var{off}, int@w{ }@var{len})
@end deftypemethod
@deftypemethod Deflater {public native void} end ()
@end deftypemethod
@deftypemethod Deflater {protected void} finalize ()
@end deftypemethod
@deftypemethod Deflater {public native void} finish ()
@end deftypemethod
@deftypemethod Deflater {public synchronized boolean} finished ()
@end deftypemethod
@deftypemethod Deflater {public native int} getAdler ()
@end deftypemethod
@deftypemethod Deflater {public native int} getTotalIn ()
@end deftypemethod
@deftypemethod Deflater {public native int} getTotalOut ()
@end deftypemethod
@deftypemethod Deflater {public native boolean} needsInput ()
@end deftypemethod
@deftypemethod Deflater {public native void} reset ()
@end deftypemethod
@deftypemethod Deflater {public void} setDictionary (byte[]@w{ }@var{buf})
@end deftypemethod
@deftypemethod Deflater {public native void} setDictionary (byte[]@w{ }@var{buf}, int@w{ }@var{off}, int@w{ }@var{len})
@end deftypemethod
@deftypemethod Deflater {public void} setInput (byte[]@w{ }@var{buf})
@end deftypemethod
@deftypemethod Deflater {public native void} setInput (byte[]@w{ }@var{buf}, int@w{ }@var{off}, int@w{ }@var{len})
@end deftypemethod
@deftypemethod Deflater {public synchronized void} setLevel (int@w{ }@var{lvl})
@end deftypemethod
@deftypemethod Deflater {public synchronized void} setStrategy (int@w{ }@var{stgy})
@end deftypemethod
@deftypemethod DeflaterOutputStream {public void} close () @*throws IOException
@end deftypemethod
@deftypemethod DeflaterOutputStream {protected void} deflate () @*throws IOException
@end deftypemethod
@deftypemethod DeflaterOutputStream {public void} finish () @*throws IOException
@end deftypemethod
@deftypemethod DeflaterOutputStream {public void} write (int@w{ }@var{bval}) @*throws IOException
@end deftypemethod
@deftypemethod DeflaterOutputStream {public void} write (byte[]@w{ }@var{buf}, int@w{ }@var{off}, int@w{ }@var{len}) @*throws IOException
@end deftypemethod
@deftypemethod GZIPInputStream {public void} close () @*throws IOException
@end deftypemethod
@deftypemethod GZIPInputStream {public int} read (byte[]@w{ }@var{buf}, int@w{ }@var{off}, int@w{ }@var{len}) @*throws IOException
@end deftypemethod
@deftypemethod GZIPOutputStream {public void} close () @*throws IOException
@end deftypemethod
@deftypemethod GZIPOutputStream {public void} finish () @*throws IOException
@end deftypemethod
@deftypemethod GZIPOutputStream {public synchronized void} write (byte[]@w{ }@var{buf}) @*throws IOException
@end deftypemethod
@deftypemethod GZIPOutputStream {public synchronized void} write (byte[]@w{ }@var{buf}, int@w{ }@var{off}, int@w{ }@var{len}) @*throws IOException
@end deftypemethod
@deftypemethod InflaterInputStream {protected void} fill () @*throws IOException
@end deftypemethod
@deftypemethod InflaterInputStream {public int} read () @*throws IOException
@end deftypemethod
@deftypemethod InflaterInputStream {public int} read (byte[]@w{ }@var{buf}, int@w{ }@var{off}, int@w{ }@var{len}) @*throws IOException
@end deftypemethod
@deftypemethod InflaterInputStream {public void} close () @*throws IOException
@end deftypemethod
@deftypemethod InflaterInputStream {public int} available () @*throws IOException
@end deftypemethod
@deftypemethod InflaterInputStream {public long} skip (long@w{ }@var{n}) @*throws IOException
@end deftypemethod
@deftypemethod Inflater {public native void} end ()
@end deftypemethod
@deftypemethod Inflater {protected void} finalize ()
@end deftypemethod
@deftypemethod Inflater {public synchronized boolean} finished ()
@end deftypemethod
@deftypemethod Inflater {public native int} getAdler ()
@end deftypemethod
@deftypemethod Inflater {public native int} getRemaining ()
@end deftypemethod
@deftypemethod Inflater {public native int} getTotalIn ()
@end deftypemethod
@deftypemethod Inflater {public native int} getTotalOut ()
@end deftypemethod
@deftypemethod Inflater {public int} inflate (byte[]@w{ }@var{buf}) @*throws DataFormatException
@end deftypemethod
@deftypemethod Inflater {public native int} inflate (byte[]@w{ }@var{buf}, int@w{ }@var{off}, int@w{ }@var{len}) @*throws DataFormatException
@end deftypemethod
@deftypemethod Inflater {public synchronized boolean} needsDictionary ()
@end deftypemethod
@deftypemethod Inflater {public synchronized boolean} needsInput ()
@end deftypemethod
@deftypemethod Inflater {public native void} reset ()
@end deftypemethod
@deftypemethod Inflater {public void} setDictionary (byte[]@w{ }@var{buf})
@end deftypemethod
@deftypemethod Inflater {public native void} setDictionary (byte[]@w{ }@var{buf}, int@w{ }@var{off}, int@w{ }@var{len})
@end deftypemethod
@deftypemethod Inflater {public void} setInput (byte[]@w{ }@var{buf})
@end deftypemethod
@deftypemethod Inflater {public native void} setInput (byte[]@w{ }@var{buf}, int@w{ }@var{off}, int@w{ }@var{len})
@end deftypemethod
@deftypemethod ZipEntry {public Object} clone ()
Creates a clone of this ZipEntry. Calls @code{new ZipEntry (this)}
and creates a clone of the contents of the extra byte array field.
@end deftypemethod
@deftypemethod ZipEntry {public String} getComment ()
@end deftypemethod
@deftypemethod ZipEntry {public long} getCompressedSize ()
@end deftypemethod
@deftypemethod ZipEntry {public long} getCrc ()
@end deftypemethod
@deftypemethod ZipEntry {public byte} getExtra ()
@end deftypemethod
@deftypemethod ZipEntry {public int} getMethod ()
@end deftypemethod
@deftypemethod ZipEntry {public String} getName ()
@end deftypemethod
@deftypemethod ZipEntry {public long} getSize ()
@end deftypemethod
@deftypemethod ZipEntry {public long} getTime ()
@end deftypemethod
@deftypemethod ZipEntry {public boolean} isDirectory ()
@end deftypemethod
@deftypemethod ZipEntry {public void} setComment (java.lang.String@w{ }@var{comment})
@end deftypemethod
@deftypemethod ZipEntry {public void} setCompressedSize (long@w{ }@var{compressedSize})
Sets the compressedSize of this ZipEntry.
The new size must be between 0 and 0xffffffffL.
@end deftypemethod
@deftypemethod ZipEntry {public void} setCrc (long@w{ }@var{crc})
@end deftypemethod
@deftypemethod ZipEntry {public void} setExtra (byte[]@w{ }@var{extra})
@end deftypemethod
@deftypemethod ZipEntry {public void} setMethod (int@w{ }@var{method})
@end deftypemethod
@deftypemethod ZipEntry {public void} setSize (long@w{ }@var{size})
@end deftypemethod
@deftypemethod ZipEntry {public void} setTime (long@w{ }@var{time})
@end deftypemethod
@deftypemethod ZipEntry {public String} toString ()
@end deftypemethod
@deftypemethod ZipEntry {public int} hashCode ()
Returns the hashcode of the name of this ZipEntry.
@end deftypemethod
@deftypemethod ZipFile {public Enumeration} entries ()
@end deftypemethod
@deftypemethod ZipFile {public void} close () @*throws IOException
@end deftypemethod
@deftypemethod ZipFile {public ZipEntry} getEntry (java.lang.String@w{ }@var{name})
@end deftypemethod
@deftypemethod ZipFile {public InputStream} getInputStream (java.util.zip.ZipEntry@w{ }@var{ze}) @*throws IOException
@end deftypemethod
@deftypemethod ZipFile {public String} getName ()
@end deftypemethod
@deftypemethod ZipFile {public int} size ()
Returns the number of entries in this ZipFile.
@end deftypemethod
@deftypemethod ZipFile {protected void} finalize () @*throws IOException
@end deftypemethod
@deftypemethod ZipInputStream {public ZipEntry} getNextEntry () @*throws IOException
@end deftypemethod
@deftypemethod ZipInputStream {protected void} fill () @*throws IOException
@end deftypemethod
@deftypemethod ZipInputStream {protected ZipEntry} createZipEntry (java.lang.String@w{ }@var{name})
Creates a new ZipEntry with the given name.
Used by ZipInputStream when normally @code{new ZipEntry (name)}
would be called. This gives subclasses such as JarInputStream a change
to override this method and add aditional information to the ZipEntry
(subclass).
@end deftypemethod
@deftypemethod ZipInputStream {public int} read (byte[]@w{ }@var{b}, int@w{ }@var{off}, int@w{ }@var{len}) @*throws IOException
@end deftypemethod
@deftypemethod ZipInputStream {public long} skip (long@w{ }@var{n}) @*throws IOException
@end deftypemethod
@deftypemethod ZipInputStream {public int} available ()
Returns 0 if the ZipInputStream is closed and 1 otherwise.
@end deftypemethod
@deftypemethod ZipInputStream {public void} closeEntry () @*throws IOException
@end deftypemethod
@deftypemethod ZipInputStream {public void} close () @*throws IOException
Closes this InflaterInputStream.
@end deftypemethod
@deftypemethod ZipOutputStream {public void} close () @*throws IOException
@end deftypemethod
@deftypemethod ZipOutputStream {public void} closeEntry () @*throws IOException
@end deftypemethod
@deftypemethod ZipOutputStream {public void} finish () @*throws IOException
@end deftypemethod
@deftypemethod ZipOutputStream {public void} putNextEntry (java.util.zip.ZipEntry@w{ }@var{entry}) @*throws IOException
@end deftypemethod
@deftypemethod ZipOutputStream {public void} setLevel (int@w{ }@var{level})
@end deftypemethod
@deftypemethod ZipOutputStream {public void} setMethod (int@w{ }@var{method})
@end deftypemethod
@deftypemethod ZipOutputStream {public void} setComment (java.lang.String@w{ }@var{comment})
@end deftypemethod
@deftypemethod ZipOutputStream {public synchronized void} write (byte[]@w{ }@var{buf}, int@w{ }@var{off}, int@w{ }@var{len}) @*throws IOException
@end deftypemethod

2425
libjava/doc/java-util.texi Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,140 @@
/* Copyright (C) 2001 Free Software Foundation
This file is part of libgcj.
This software is copyrighted work licensed under the terms of the
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
details. */
import java.io.*;
import com.sun.javadoc.*;
public class TexinfoDoclet
{
static PrintStream outfile;
public static int optionLength(String option)
{
if (option.equals("-outfile"))
return 2;
return 0;
}
private static String replace (String s, String text, String replacement)
{
int i = s.indexOf (text);
while (i != -1)
{
s = s.substring(0, i) + replacement + s.substring(i+text.length());
i = s.indexOf (text);
}
return s;
}
private static String texify (String s)
{
if (s.indexOf('<') == -1)
return s;
s = replace (s, "<code>", "@code{");
s = replace (s, "</code>", "}");
s = replace (s, "<ol>", "\n@itemize @bullet\n");
s = replace (s, "</ol>", "\n@end itemize\n");
s = replace (s, "<ul>", "\n@itemize @bullet\n");
s = replace (s, "</ul>", "\n@end itemize\n");
s = replace (s, "<li>", "\n@item\n");
s = replace (s, "</li>", "\n");
s = replace (s, "<p>", "\n\n");
s = replace (s, "<CODE>", "@code{");
s = replace (s, "</CODE>", "}");
s = replace (s, "<OL>", "\n@itemize @bullet\n");
s = replace (s, "</OL>", "\n@end itemize\n");
s = replace (s, "<UL>", "\n@itemize @bullet\n");
s = replace (s, "</UL>", "\n@end itemize\n");
s = replace (s, "<LI>", "\n@item\n");
s = replace (s, "</LI>", "\n");
s = replace (s, "<P>", "\n\n");
return s;
}
private static void emitMethod (ClassDoc c, MethodDoc m)
{
outfile.print ("@deftypemethod " + c.typeName()
+ " {" + m.modifiers()
+ " " + m.returnType().typeName()
+ "} " + m.name());
outfile.print (" (");
Parameter p[] = m.parameters();
boolean first = true;
for (int i = 0; i < p.length; i++)
{
if (!first)
outfile.print (", ");
outfile.print (p[i].typeName()
+ "@w{ }@var{"
+ p[i].name()
+ "}");
first = false;
}
outfile.print (") ");
ClassDoc exceptions[] = m.thrownExceptions();
if (exceptions.length > 0)
{
outfile.print ("@*throws ");
first = true;
for (int i = 0; i < exceptions.length; i++)
{
if (!first)
outfile.print (", ");
outfile.print (exceptions[i].typeName());
first = false;
}
}
outfile.println ("");
outfile.println (texify (m.commentText()));
outfile.println ("@end deftypemethod");
}
private static void emitClass (ClassDoc c)
{
MethodDoc[] methods = c.methods();
for (int i = 0; i < methods.length; i++)
{
emitMethod (c, methods[i]);
}
}
public static boolean start (RootDoc root)
{
String options[][] = root.options ();
for (int i = 0; i < options.length; i++)
{
try
{
if (options[i][0].equals ("-outfile"))
{
outfile = new PrintStream (new FileOutputStream (options[i][1]));
}
} catch (java.io.IOException e) {
System.err.println ("Can't write to file " + options[i][1]);
return false;
}
}
ClassDoc[] classes = root.classes();
for (int i = 0; i < classes.length; i++)
{
emitClass (classes[i]);
}
return true;
}
}