Package | Description |
---|---|
java.applet |
Provides the classes necessary to create an applet and the classes an applet
uses to communicate with its applet context.
|
java.awt |
Contains all of the classes for creating user
interfaces and for painting graphics and images.
|
java.awt.color |
Provides classes for color spaces.
|
java.awt.datatransfer |
Provides interfaces and classes for transferring data
between and within applications.
|
java.awt.dnd |
Drag and Drop is a direct manipulation gesture found in many Graphical
User Interface systems that provides a mechanism to transfer
information between two entities logically associated with presentation
elements in the GUI.
|
java.awt.event |
Provides interfaces and classes for dealing with different
types of events fired by AWT components.
|
java.awt.font |
Provides classes and interface relating to fonts.
|
java.awt.geom |
Provides the Java 2D classes for defining and performing operations
on objects related to two-dimensional geometry.
|
java.awt.im |
Provides classes and interfaces for the input method framework.
|
java.awt.im.spi |
Provides interfaces that enable the development of input methods
that can be used with any Java runtime environment.
|
java.awt.image |
Provides classes for creating and modifying images.
|
java.awt.image.renderable |
Provides classes and interfaces for producing
rendering-independent images.
|
java.awt.print |
Provides classes and interfaces for a general printing API.
|
java.beans |
Contains classes related to developing
beans -- components
based on the JavaBeans™ architecture.
|
java.beans.beancontext |
Provides classes and interfaces relating to bean context.
|
java.io |
Provides for system input and output through data streams,
serialization and the file system.
|
java.lang |
Provides classes that are fundamental to the design of the Java
programming language.
|
java.lang.annotation |
Provides library support for the Java programming language
annotation facility.
|
java.lang.instrument |
Provides services that allow Java programming language agents to instrument programs running on the JVM.
|
java.lang.invoke |
The
java.lang.invoke package contains dynamic language support provided directly by
the Java core class libraries and virtual machine. |
java.lang.management |
Provides the management interfaces for monitoring and management of the
Java virtual machine and other components in the Java runtime.
|
java.lang.ref |
Provides reference-object classes, which support a limited degree of
interaction with the garbage collector.
|
java.lang.reflect |
Provides classes and interfaces for obtaining reflective
information about classes and objects.
|
java.math |
Provides classes for performing arbitrary-precision integer
arithmetic (
BigInteger ) and arbitrary-precision decimal
arithmetic (BigDecimal ). |
java.net |
Provides the classes for implementing networking applications.
|
java.nio |
Defines buffers, which are containers for data, and provides an overview of the
other NIO packages.
|
java.nio.channels |
Defines channels, which represent connections to entities that are capable of
performing I/O operations, such as files and sockets; defines selectors, for
multiplexed, non-blocking I/O operations.
|
java.nio.channels.spi |
Service-provider classes for the
java.nio.channels package. |
java.nio.charset |
Defines charsets, decoders, and encoders, for translating between bytes and
Unicode characters.
|
java.nio.charset.spi |
Service-provider classes for the
java.nio.charset package. |
java.nio.file |
Defines interfaces and classes for the Java virtual machine to access files,
file attributes, and file systems.
|
java.nio.file.attribute |
Interfaces and classes providing access to file and file system attributes.
|
java.nio.file.spi |
Service-provider classes for the
java.nio.file package. |
java.rmi |
Provides the RMI package.
|
java.rmi.activation |
Provides support for RMI Object Activation.
|
java.rmi.dgc |
Provides classes and interface for RMI distributed
garbage-collection (DGC).
|
java.rmi.registry |
Provides a class and two interfaces for the RMI registry.
|
java.rmi.server |
Provides classes and interfaces for supporting the server
side of RMI.
|
java.security |
Provides the classes and interfaces for the security framework.
|
java.security.acl |
The classes and interfaces in this package have been
superseded by classes in the java.security package.
|
java.security.cert |
Provides classes and interfaces for parsing and managing
certificates, certificate revocation lists (CRLs), and
certification paths.
|
java.security.spec |
Provides classes and interfaces for key specifications and algorithm
parameter specifications.
|
java.sql |
Provides the API for accessing and processing data stored in a
data source (usually a relational database) using the
JavaTM programming language.
|
java.text |
Provides classes and interfaces for handling text, dates, numbers, and messages
in a manner independent of natural languages.
|
java.text.spi |
Service provider classes for the classes in the java.text package.
|
java.util |
Contains the collections framework, legacy collection classes, event model,
date and time facilities, internationalization, and miscellaneous utility
classes (a string tokenizer, a random-number generator, and a bit array).
|
java.util.concurrent |
Utility classes commonly useful in concurrent programming.
|
java.util.concurrent.atomic |
A small toolkit of classes that support lock-free thread-safe
programming on single variables.
|
java.util.concurrent.locks |
Interfaces and classes providing a framework for locking and waiting
for conditions that is distinct from built-in synchronization and
monitors.
|
java.util.jar |
Provides classes for reading and writing the JAR (Java ARchive) file
format, which is based on the standard ZIP file format with an
optional manifest file.
|
java.util.logging |
Provides the classes and interfaces of
the JavaTM 2
platform's core logging facilities.
|
java.util.prefs |
This package allows applications to store and retrieve user and system
preference and configuration data.
|
java.util.regex |
Classes for matching character sequences against patterns specified by regular
expressions.
|
java.util.spi |
Service provider classes for the classes in the java.util package.
|
java.util.zip |
Provides classes for reading and writing the standard ZIP and GZIP
file formats.
|
javax.accessibility |
Defines a contract between user-interface components and an assistive technology
that provides access to those components.
|
javax.activation | |
javax.activity |
Contains Activity service related exceptions thrown by the ORB machinery during
unmarshalling.
|
javax.annotation.processing |
Facilities for declaring annotation processors and for
allowing annotation processors to communicate with an annotation processing
tool environment.
|
javax.crypto |
Provides the classes and interfaces for cryptographic operations.
|
javax.crypto.spec |
Provides classes and interfaces for key specifications and algorithm
parameter specifications.
|
javax.imageio |
The main package of the Java Image I/O API.
|
javax.imageio.metadata |
A package of the Java Image I/O API dealing with reading and writing
metadata.
|
javax.imageio.plugins.bmp |
Package containing the public classes used by the built-in BMP plug-in.
|
javax.imageio.plugins.jpeg |
Classes supporting the built-in JPEG plug-in.
|
javax.imageio.spi |
A package of the Java Image I/O API containing the plug-in interfaces
for readers, writers, transcoders, and streams, and a runtime
registry.
|
javax.imageio.stream |
A package of the Java Image I/O API dealing with low-level I/O from
files and streams.
|
javax.lang.model |
Classes and hierarchies of packages used to model the Java
programming language.
|
javax.lang.model.element |
Interfaces used to model elements of the Java programming language.
|
javax.lang.model.type |
Interfaces used to model Java programming language types.
|
javax.lang.model.util |
Utilities to assist in the processing of
program elements and
types.
|
javax.management |
Provides the core classes for the Java Management Extensions.
|
javax.management.loading |
Provides the classes which implement advanced dynamic
loading.
|
javax.management.modelmbean |
Provides the definition of the ModelMBean classes.
|
javax.management.monitor |
Provides the definition of the monitor classes.
|
javax.management.openmbean |
Provides the open data types and Open MBean descriptor classes.
|
javax.management.relation |
Provides the definition of the Relation Service.
|
javax.management.remote |
Interfaces for remote access to
JMX MBean servers.
|
javax.management.remote.rmi |
The RMI connector is a connector for the JMX Remote API that
uses RMI to transmit client requests to a remote MBean server.
|
javax.management.timer |
Provides the definition of the Timer MBean.
|
javax.naming |
Provides the classes and interfaces for accessing naming services.
|
javax.naming.directory |
Extends the javax.naming package to provide functionality
for accessing directory services.
|
javax.naming.event |
Provides support for event notification when accessing naming and
directory services.
|
javax.naming.ldap |
Provides support for LDAPv3 extended operations and controls.
|
javax.naming.spi | |
javax.net |
Provides classes for networking applications.
|
javax.net.ssl |
Provides classes for the secure socket package.
|
javax.print |
Provides the principal classes and interfaces for the
JavaTM Print Service API.
|
javax.print.attribute |
Provides classes and interfaces
that describe the types of JavaTM Print
Service attributes and how they can be collected into attribute sets.
|
javax.print.attribute.standard |
Package javax.print.attribute.standard
contains classes for specific printing attributes.
|
javax.print.event |
Package javax.print.event contains event classes and listener interfaces.
|
javax.rmi |
Contains user APIs for RMI-IIOP.
|
javax.rmi.CORBA |
Contains portability APIs for RMI-IIOP.
|
javax.rmi.ssl |
Provides implementations of
RMIClientSocketFactory
and RMIServerSocketFactory over
the Secure Sockets Layer (SSL) or Transport Layer Security (TLS) protocols. |
javax.script |
The scripting API consists of interfaces and classes that define
Java TM Scripting Engines and provides
a framework for their use in Java applications.
|
javax.security.auth |
This package provides a framework for authentication and
authorization.
|
javax.security.auth.callback |
This package provides the classes necessary for services
to interact with applications in order to retrieve
information (authentication data including usernames
or passwords, for example) or to display information
(error and warning messages, for example).
|
javax.security.auth.kerberos |
This package contains utility classes related to the Kerberos network
authentication protocol.
|
javax.security.auth.login |
This package provides a pluggable authentication framework.
|
javax.security.auth.x500 |
This package contains the classes that should be used to store
X500 Principal and X500 Private Crendentials in a
Subject.
|
javax.security.cert |
Provides classes for public key certificates.
|
javax.security.sasl |
Contains class and interfaces for supporting SASL.
|
javax.sound.midi |
Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI
(Musical Instrument Digital Interface) data.
|
javax.sound.midi.spi |
Supplies interfaces for service providers to implement when
offering new MIDI devices, MIDI file readers and writers, or sound bank readers.
|
javax.sound.sampled |
Provides interfaces and classes for capture, processing, and playback of sampled audio data.
|
javax.sound.sampled.spi |
Supplies abstract classes for service providers to subclass when
offering new audio devices, sound file readers and writers, or audio format converters.
|
javax.sql |
Provides the API for server side data source access and processing from
the JavaTM programming language.
|
javax.sql.rowset |
Standard interfaces and base classes for JDBC
RowSet
implementations. |
javax.sql.rowset.serial |
Provides utility classes to allow serializable mappings between SQL types
and data types in the Java programming language.
|
javax.sql.rowset.spi |
The standard classes and interfaces that a third party vendor has to
use in its implementation of a synchronization provider.
|
javax.swing |
Provides a set of "lightweight"
(all-Java language) components that,
to the maximum degree possible, work the same on all platforms.
|
javax.swing.border |
Provides classes and interface for drawing
specialized borders around a Swing component.
|
javax.swing.colorchooser |
Contains classes and interfaces used by the
JColorChooser
component. |
javax.swing.event |
Provides for events fired by Swing components.
|
javax.swing.filechooser |
Contains classes and interfaces used by the
JFileChooser component. |
javax.swing.plaf |
Provides one interface and many abstract classes that
Swing uses to provide its pluggable look-and-feel capabilities.
|
javax.swing.plaf.basic |
Provides user interface objects built according to the
Basic look and feel.
|
javax.swing.plaf.metal |
Provides user interface objects built according to
the Java look and feel (once codenamed Metal),
which is the default look and feel.
|
javax.swing.plaf.multi |
Provides user interface objects that combine two or more look and feels.
|
javax.swing.plaf.nimbus |
Provides user interface objects built according to the cross-platform
Nimbus look and feel.
|
javax.swing.plaf.synth |
Synth is a skinnable look and feel in which all painting is
delegated.
|
javax.swing.table |
Provides classes and interfaces for dealing with
javax.swing.JTable . |
javax.swing.text |
Provides classes and interfaces that deal with editable
and noneditable text components.
|
javax.swing.text.html |
Provides the class
HTMLEditorKit and supporting classes
for creating HTML text editors. |
javax.swing.text.html.parser |
Provides the default HTML parser, along with support classes.
|
javax.swing.text.rtf |
Provides a class (
RTFEditorKit ) for creating Rich-Text-Format
text editors. |
javax.swing.tree |
Provides classes and interfaces for dealing with
javax.swing.JTree . |
javax.swing.undo |
Allows developers to provide support for undo/redo
in applications such as text editors.
|
javax.tools |
Provides interfaces for tools which can be invoked from a program,
for example, compilers.
|
javax.transaction |
Contains three exceptions thrown by the ORB machinery during unmarshalling.
|
javax.transaction.xa |
Provides the API that defines the contract between the transaction
manager and the resource manager, which allows the transaction
manager to enlist and delist resource objects (supplied by the
resource manager driver) in JTA transactions.
|
javax.xml | |
javax.xml.bind |
Provides a runtime binding framework for client applications including
unmarshalling, marshalling, and validation capabilities.
|
javax.xml.bind.annotation |
Defines annotations for customizing Java program elements to XML Schema mapping.
|
javax.xml.bind.annotation.adapters |
XmlAdapter and its spec-defined
sub-classes to allow arbitrary Java classes to be used with JAXB. |
javax.xml.bind.attachment |
This package is implemented by a MIME-based package processor that
enables the interpretation and creation of optimized binary data
within an MIME-based package format.
|
javax.xml.bind.helpers |
JAXB Provider Use Only: Provides partial default implementations for
some of the javax.xml.bind interfaces.
|
javax.xml.bind.util |
Useful client utility classes.
|
javax.xml.crypto |
Common classes for XML cryptography.
|
javax.xml.crypto.dom |
DOM-specific classes for the
javax.xml.crypto package. |
javax.xml.crypto.dsig |
Classes for generating and validating XML digital
signatures.
|
javax.xml.crypto.dsig.dom |
DOM-specific classes for the
javax.xml.crypto.dsig package. |
javax.xml.crypto.dsig.keyinfo |
Classes for parsing and processing
KeyInfo elements and structures. |
javax.xml.crypto.dsig.spec |
Parameter classes for XML digital signatures.
|
javax.xml.datatype |
XML/Java Type Mappings.
|
javax.xml.namespace |
XML Namespace processing.
|
javax.xml.parsers |
Provides classes allowing the processing of XML documents.
|
javax.xml.soap |
Provides the API for creating and building SOAP messages.
|
javax.xml.stream | |
javax.xml.stream.events | |
javax.xml.stream.util | |
javax.xml.transform |
This package defines the generic APIs for processing transformation
instructions, and performing a transformation from source to result.
|
javax.xml.transform.dom |
This package implements DOM-specific transformation APIs.
|
javax.xml.transform.sax |
This package implements SAX2-specific transformation APIs.
|
javax.xml.transform.stax |
Provides for StAX-specific transformation APIs.
|
javax.xml.transform.stream |
This package implements stream- and URI- specific transformation APIs.
|
javax.xml.validation |
This package provides an API for validation of XML documents.
|
javax.xml.ws |
This package contains the core JAX-WS APIs.
|
javax.xml.ws.handler.soap |
This package defines APIs for SOAP message handlers.
|
javax.xml.ws.http |
This package defines APIs specific to the HTTP binding.
|
javax.xml.ws.soap |
This package defines APIs specific to the SOAP binding.
|
javax.xml.ws.spi |
This package defines SPIs for JAX-WS.
|
javax.xml.ws.spi.http |
Provides HTTP SPI that is used for portable deployment of JAX-WS
web services in containers(for e.g.
|
javax.xml.ws.wsaddressing |
This package defines APIs related to WS-Addressing.
|
javax.xml.xpath |
This package provides an object-model neutral API for the
evaluation of XPath expressions and access to the evaluation
environment.
|
org.ietf.jgss |
This package presents a framework that allows application developers to
make use of security services like authentication, data integrity and
data confidentiality from a variety of underlying security mechanisms
like Kerberos, using a unified API.
|
org.omg.CORBA |
Provides the mapping of the OMG CORBA APIs to the JavaTM
programming language, including the class ORB, which is implemented
so that a programmer can use it as a fully-functional Object Request Broker
(ORB).
|
org.omg.CORBA_2_3 |
The CORBA_2_3 package defines additions to existing CORBA interfaces
in the Java[tm] Standard Edition 6. These changes occurred in recent
revisions to the CORBA API defined by the OMG. The new methods were
added to interfaces derived from the corresponding interfaces in
the CORBA package. This provides backward compatibility and avoids
breaking the JCK tests.
|
org.omg.CORBA_2_3.portable |
Provides methods for the input and output of value types, and contains
other updates to the
org/omg/CORBA/portable package. |
org.omg.CORBA.DynAnyPackage |
Provides the exceptions used with the
DynAny interface
(InvalidValue ,
Invalid , InvalidSeq , and
TypeMismatch ). |
org.omg.CORBA.ORBPackage |
Provides the exception
InvalidName , which is thrown
by the method ORB.resolve_initial_references
and the exception InconsistentTypeCode , which is thrown
by the Dynamic Any creation methods in the ORB class. |
org.omg.CORBA.portable |
Provides a portability layer, that is, a set of ORB APIs
that makes it possible for code generated
by one vendor to run on another vendor's ORB.
|
org.omg.CORBA.TypeCodePackage |
Provides the user-defined exceptions
BadKind
and Bounds , which are thrown by methods in
in the class TypeCode . |
org.omg.CosNaming |
Provides a naming service for Java IDL.
|
org.omg.CosNaming.NamingContextExtPackage |
This package contains the following classes, which are used in
org.omg.CosNaming.NamingContextExt:
|
org.omg.CosNaming.NamingContextPackage |
This package contains Exception classes for the org.omg.CosNaming
package.
|
org.omg.Dynamic |
This package contains the Dynamic module specified in the OMG Portable
Interceptor specification,
http://cgi.omg.org/cgi-bin/doc?ptc/2000-08-06, section 21.9.
|
org.omg.DynamicAny |
Provides classes and interfaces that enable traversal of the data value
associated with an
any at
runtime, and extraction of the primitive constituents of the data value. |
org.omg.DynamicAny.DynAnyFactoryPackage |
This package contains classes and exceptions from the DynAnyFactory
interface of the
DynamicAny module
specified in the OMG The Common Object Request Broker: Architecture and
Specification,
http://cgi.omg.org/cgi-bin/doc?formal/99-10-07, section 9.2.2.
|
org.omg.DynamicAny.DynAnyPackage |
This package contains classes and exceptions from the DynAny
interface of the DynamicAny module
specified in the OMG The Common Object Request Broker: Architecture and
Specification,
http://cgi.omg.org/cgi-bin/doc?formal/99-10-07, section 9.2.
|
org.omg.IOP |
This package contains the IOP module specified in the OMG document
The Common
Object Request Broker: Architecture and Specification,
http://cgi.omg.org/cgi-bin/doc?formal/99-10-07, section 13.6.
|
org.omg.IOP.CodecFactoryPackage |
This package contains the exceptions
specified in the IOP::CodeFactory interface (as part of the Portable
Interceptors spec).
|
org.omg.IOP.CodecPackage |
This package is generated from the IOP::Codec IDL interface
definition.
|
org.omg.Messaging |
This package contains the Messaging module specified in the OMG CORBA
Messaging specification,
http://cgi.omg.org/cgi-bin/doc?formal/99-10-07.
|
org.omg.PortableInterceptor |
Provides a mechanism to register ORB hooks through which ORB services
can intercept the normal flow of execution of the ORB.
|
org.omg.PortableInterceptor.ORBInitInfoPackage |
This package contains the exceptions and typedefs from the ORBInitInfo
local interface of the PortableInterceptor module specified in the OMG
Portable Interceptor specification,
http://cgi.omg.org/cgi-bin/doc?ptc/2000-08-06, section 21.7.2.
|
org.omg.PortableServer |
Provides classes and interfaces for making the server side of your applications
portable across multivendor ORBs.
|
org.omg.PortableServer.CurrentPackage |
Provides method implementations with
access to the identity of the object on which the
method was invoked.
|
org.omg.PortableServer.POAManagerPackage |
Encapsulates the processing
state of the POAs it is associated with.
|
org.omg.PortableServer.POAPackage |
Allows programmers to construct object implementations that are portable
between different ORB products.
|
org.omg.PortableServer.ServantLocatorPackage |
Provides classes and interfaces for locating the servant.
|
org.omg.stub.java.rmi |
Contains RMI-IIOP Stubs for the Remote types that occur in the
java.rmi package.
|
org.w3c.dom |
Provides the interfaces for the Document Object Model (DOM) which is a
component API of the Java API for XML
Processing.
|
org.w3c.dom.bootstrap | |
org.w3c.dom.events | |
org.w3c.dom.ls | |
org.xml.sax |
This package provides the core SAX APIs.
|
org.xml.sax.ext |
This package contains interfaces to SAX2 facilities that
conformant SAX drivers won't necessarily support.
|
org.xml.sax.helpers |
This package contains "helper" classes, including
support for bootstrapping SAX-based applications.
|
Modifier and Type | Class and Description |
---|---|
class |
Applet
An applet is a small program that is intended not to be run on
its own, but rather to be embedded inside another application.
|
protected class |
Applet.AccessibleApplet
This class implements accessibility support for the
Applet class. |
Modifier and Type | Class and Description |
---|---|
class |
AlphaComposite
The
AlphaComposite class implements basic alpha
compositing rules for combining source and destination colors
to achieve blending and transparency effects with graphics and
images. |
class |
AWTError
Thrown when a serious Abstract Window Toolkit error has occurred.
|
class |
AWTEvent
The root event class for all AWT events.
|
class |
AWTEventMulticaster
AWTEventMulticaster implements efficient and thread-safe multi-cast
event dispatching for the AWT events defined in the java.awt.event
package. |
class |
AWTException
Signals that an Absract Window Toolkit exception has occurred.
|
class |
AWTKeyStroke
An
AWTKeyStroke represents a key action on the
keyboard, or equivalent input device. |
class |
AWTPermission
This class is for AWT permissions.
|
class |
BasicStroke
The
BasicStroke class defines a basic set of rendering
attributes for the outlines of graphics primitives, which are rendered
with a Graphics2D object that has its Stroke attribute set to
this BasicStroke . |
class |
BorderLayout
A border layout lays out a container, arranging and resizing
its components to fit in five regions:
north, south, east, west, and center.
|
class |
BufferCapabilities
Capabilities and properties of buffers.
|
static class |
BufferCapabilities.FlipContents
A type-safe enumeration of the possible back buffer contents after
page-flipping
|
class |
Button
This class creates a labeled button.
|
protected class |
Button.AccessibleAWTButton
This class implements accessibility support for the
Button class. |
class |
Canvas
A
Canvas component represents a blank rectangular
area of the screen onto which the application can draw or from
which the application can trap input events from the user. |
protected class |
Canvas.AccessibleAWTCanvas
This class implements accessibility support for the
Canvas class. |
class |
CardLayout
A
CardLayout object is a layout manager for a
container. |
class |
Checkbox
A check box is a graphical component that can be in either an
"on" (
true ) or "off" (false ) state. |
protected class |
Checkbox.AccessibleAWTCheckbox
This class implements accessibility support for the
Checkbox class. |
class |
CheckboxGroup
The
CheckboxGroup class is used to group together
a set of Checkbox buttons. |
class |
CheckboxMenuItem
This class represents a check box that can be included in a menu.
|
protected class |
CheckboxMenuItem.AccessibleAWTCheckboxMenuItem
Inner class of CheckboxMenuItem used to provide default support for
accessibility.
|
class |
Choice
The
Choice class presents a pop-up menu of choices. |
protected class |
Choice.AccessibleAWTChoice
This class implements accessibility support for the
Choice class. |
class |
Color
The
Color class is used to encapsulate colors in the default
sRGB color space or colors in arbitrary color spaces identified by a
ColorSpace . |
class |
Component
A component is an object having a graphical representation
that can be displayed on the screen and that can interact with the
user.
|
protected class |
Component.AccessibleAWTComponent
Inner class of Component used to provide default support for
accessibility.
|
protected class |
Component.AccessibleAWTComponent.AccessibleAWTComponentHandler
Fire PropertyChange listener, if one is registered,
when shown/hidden..
|
protected class |
Component.AccessibleAWTComponent.AccessibleAWTFocusHandler
Fire PropertyChange listener, if one is registered,
when focus events happen
|
protected class |
Component.BltBufferStrategy
Inner class for blitting offscreen surfaces to a component.
|
protected class |
Component.FlipBufferStrategy
Inner class for flipping buffers on a component.
|
class |
ComponentOrientation
The ComponentOrientation class encapsulates the language-sensitive
orientation that is to be used to order the elements of a component
or of text.
|
class |
Container
A generic Abstract Window Toolkit(AWT) container object is a component
that can contain other AWT components.
|
protected class |
Container.AccessibleAWTContainer
Inner class of Container used to provide default support for
accessibility.
|
protected class |
Container.AccessibleAWTContainer.AccessibleContainerHandler
Fire
PropertyChange listener, if one is registered,
when children are added or removed. |
class |
ContainerOrderFocusTraversalPolicy
A FocusTraversalPolicy that determines traversal order based on the order
of child Components in a Container.
|
class |
Cursor
A class to encapsulate the bitmap representation of the mouse cursor.
|
class |
DefaultFocusTraversalPolicy
A FocusTraversalPolicy that determines traversal order based on the order
of child Components in a Container.
|
class |
DefaultKeyboardFocusManager
The default KeyboardFocusManager for AWT applications.
|
class |
Desktop
The
Desktop class allows a Java application to launch
associated applications registered on the native desktop to handle
a URI or a file. |
class |
Dialog
A Dialog is a top-level window with a title and a border
that is typically used to take some form of input from the user.
|
protected class |
Dialog.AccessibleAWTDialog
This class implements accessibility support for the
Dialog class. |
class |
Dimension
The
Dimension class encapsulates the width and
height of a component (in integer precision) in a single object. |
class |
DisplayMode
The
DisplayMode class encapsulates the bit depth, height,
width, and refresh rate of a GraphicsDevice . |
class |
Event
NOTE: The
Event class is obsolete and is
available only for backwards compatilibility. |
class |
EventQueue
EventQueue is a platform-independent class
that queues events, both from the underlying peer classes
and from trusted application classes. |
class |
FileDialog
The
FileDialog class displays a dialog window
from which the user can select a file. |
class |
FlowLayout
A flow layout arranges components in a directional flow, much
like lines of text in a paragraph.
|
class |
FocusTraversalPolicy
A FocusTraversalPolicy defines the order in which Components with a
particular focus cycle root are traversed.
|
class |
Font
The
Font class represents fonts, which are used to
render text in a visible way. |
class |
FontFormatException
Thrown by method createFont in the
Font class to indicate
that the specified font is bad. |
class |
FontMetrics
The
FontMetrics class defines a font metrics object, which
encapsulates information about the rendering of a particular font on a
particular screen. |
class |
Frame
A
Frame is a top-level window with a title and a border. |
protected class |
Frame.AccessibleAWTFrame
This class implements accessibility support for the
Frame class. |
class |
GradientPaint
The
GradientPaint class provides a way to fill
a Shape with a linear color gradient pattern. |
class |
Graphics
The
Graphics class is the abstract base class for
all graphics contexts that allow an application to draw onto
components that are realized on various devices, as well as
onto off-screen images. |
class |
Graphics2D
This
Graphics2D class extends the
Graphics class to provide more sophisticated
control over geometry, coordinate transformations, color management,
and text layout. |
class |
GraphicsConfigTemplate
The
GraphicsConfigTemplate class is used to obtain a valid
GraphicsConfiguration . |
class |
GraphicsConfiguration
The
GraphicsConfiguration class describes the
characteristics of a graphics destination such as a printer or monitor. |
class |
GraphicsDevice
The
GraphicsDevice class describes the graphics devices
that might be available in a particular graphics environment. |
class |
GraphicsEnvironment
The
GraphicsEnvironment class describes the collection
of GraphicsDevice objects and Font objects
available to a Java(tm) application on a particular platform. |
class |
GridBagConstraints
The
GridBagConstraints class specifies constraints
for components that are laid out using the
GridBagLayout class. |
class |
GridBagLayout
The
GridBagLayout class is a flexible layout
manager that aligns components vertically, horizontally or along their
baseline without requiring that the components be of the same size. |
class |
GridBagLayoutInfo
The
GridBagLayoutInfo is an utility class for
GridBagLayout layout manager. |
class |
GridLayout
The
GridLayout class is a layout manager that
lays out a container's components in a rectangular grid. |
class |
HeadlessException
Thrown when code that is dependent on a keyboard, display, or mouse
is called in an environment that does not support a keyboard, display,
or mouse.
|
class |
IllegalComponentStateException
Signals that an AWT component is not in an appropriate state for
the requested operation.
|
class |
Image
The abstract class
Image is the superclass of all
classes that represent graphical images. |
class |
ImageCapabilities
Capabilities and properties of images.
|
class |
Insets
An
Insets object is a representation of the borders
of a container. |
class |
JobAttributes
A set of attributes which control a print job.
|
static class |
JobAttributes.DefaultSelectionType
A type-safe enumeration of possible default selection states.
|
static class |
JobAttributes.DestinationType
A type-safe enumeration of possible job destinations.
|
static class |
JobAttributes.DialogType
A type-safe enumeration of possible dialogs to display to the user.
|
static class |
JobAttributes.MultipleDocumentHandlingType
A type-safe enumeration of possible multiple copy handling states.
|
static class |
JobAttributes.SidesType
A type-safe enumeration of possible multi-page impositions.
|
class |
KeyboardFocusManager
The KeyboardFocusManager is responsible for managing the active and focused
Windows, and the current focus owner.
|
class |
Label
A
Label object is a component for placing text in a
container. |
protected class |
Label.AccessibleAWTLabel
This class implements accessibility support for the
Label class. |
class |
LinearGradientPaint
The
LinearGradientPaint class provides a way to fill
a Shape with a linear color gradient pattern. |
class |
List
The
List component presents the user with a
scrolling list of text items. |
protected class |
List.AccessibleAWTList
This class implements accessibility support for the
List class. |
protected class |
List.AccessibleAWTList.AccessibleAWTListChild
This class implements accessibility support for
List children.
|
class |
MediaTracker
The
MediaTracker class is a utility class to track
the status of a number of media objects. |
class |
Menu
A
Menu object is a pull-down menu component
that is deployed from a menu bar. |
protected class |
Menu.AccessibleAWTMenu
Inner class of Menu used to provide default support for
accessibility.
|
class |
MenuBar
The
MenuBar class encapsulates the platform's
concept of a menu bar bound to a frame. |
protected class |
MenuBar.AccessibleAWTMenuBar
Inner class of MenuBar used to provide default support for
accessibility.
|
class |
MenuComponent
The abstract class
MenuComponent is the superclass
of all menu-related components. |
protected class |
MenuComponent.AccessibleAWTMenuComponent
Inner class of
MenuComponent used to provide
default support for accessibility. |
class |
MenuItem
All items in a menu must belong to the class
MenuItem , or one of its subclasses. |
protected class |
MenuItem.AccessibleAWTMenuItem
Inner class of MenuItem used to provide default support for
accessibility.
|
class |
MenuShortcut
The
MenuShortcut class represents a keyboard accelerator
for a MenuItem. |
class |
MouseInfo
MouseInfo provides methods for getting information about the mouse,
such as mouse pointer location and the number of mouse buttons. |
class |
MultipleGradientPaint
This is the superclass for Paints which use a multiple color
gradient to fill in their raster.
|
class |
PageAttributes
A set of attributes which control the output of a printed page.
|
static class |
PageAttributes.ColorType
A type-safe enumeration of possible color states.
|
static class |
PageAttributes.MediaType
A type-safe enumeration of possible paper sizes.
|
static class |
PageAttributes.OrientationRequestedType
A type-safe enumeration of possible orientations.
|
static class |
PageAttributes.OriginType
A type-safe enumeration of possible origins.
|
static class |
PageAttributes.PrintQualityType
A type-safe enumeration of possible print qualities.
|
class |
Panel
Panel is the simplest container class. |
protected class |
Panel.AccessibleAWTPanel
This class implements accessibility support for the
Panel class. |
class |
Point
A point representing a location in
(x,y) coordinate space,
specified in integer precision. |
class |
PointerInfo
A class that describes the pointer position.
|
class |
Polygon
The
Polygon class encapsulates a description of a
closed, two-dimensional region within a coordinate space. |
class |
PopupMenu
A class that implements a menu which can be dynamically popped up
at a specified position within a component.
|
protected class |
PopupMenu.AccessibleAWTPopupMenu
Inner class of PopupMenu used to provide default support for
accessibility.
|
class |
PrintJob
An abstract class which initiates and executes a print job.
|
class |
RadialGradientPaint
The
RadialGradientPaint class provides a way to fill a shape with
a circular radial color gradient pattern. |
class |
Rectangle
A
Rectangle specifies an area in a coordinate space that is
enclosed by the Rectangle object's upper-left point
(x,y)
in the coordinate space, its width, and its height. |
class |
RenderingHints
The
RenderingHints class defines and manages collections of
keys and associated values which allow an application to provide input
into the choice of algorithms used by other classes which perform
rendering and image manipulation services. |
static class |
RenderingHints.Key
Defines the base type of all keys used along with the
RenderingHints class to control various
algorithm choices in the rendering and imaging pipelines. |
class |
Robot
This class is used to generate native system input events
for the purposes of test automation, self-running demos, and
other applications where control of the mouse and keyboard
is needed.
|
class |
Scrollbar
The
Scrollbar class embodies a scroll bar, a
familiar user-interface object. |
protected class |
Scrollbar.AccessibleAWTScrollBar
This class implements accessibility support for the
Scrollbar class. |
class |
ScrollPane
A container class which implements automatic horizontal and/or
vertical scrolling for a single child component.
|
protected class |
ScrollPane.AccessibleAWTScrollPane
This class implements accessibility support for the
ScrollPane class. |
class |
ScrollPaneAdjustable
This class represents the state of a horizontal or vertical
scrollbar of a
ScrollPane . |
class |
SplashScreen
The splash screen can be displayed at application startup, before the
Java Virtual Machine (JVM) starts.
|
class |
SystemColor
A class to encapsulate symbolic colors representing the color of
native GUI objects on a system.
|
class |
SystemTray
The
SystemTray class represents the system tray for a
desktop. |
class |
TextArea
A
TextArea object is a multi-line region
that displays text. |
protected class |
TextArea.AccessibleAWTTextArea
This class implements accessibility support for the
TextArea class. |
class |
TextComponent
The
TextComponent class is the superclass of
any component that allows the editing of some text. |
protected class |
TextComponent.AccessibleAWTTextComponent
This class implements accessibility support for the
TextComponent class. |
class |
TextField
A
TextField object is a text component
that allows for the editing of a single line of text. |
protected class |
TextField.AccessibleAWTTextField
This class implements accessibility support for the
TextField class. |
class |
TexturePaint
The
TexturePaint class provides a way to fill a
Shape with a texture that is specified as
a BufferedImage . |
class |
Toolkit
This class is the abstract superclass of all actual
implementations of the Abstract Window Toolkit.
|
class |
TrayIcon
A
TrayIcon object represents a tray icon that can be
added to the system tray . |
class |
Window
A
Window object is a top-level window with no borders and no
menubar. |
protected class |
Window.AccessibleAWTWindow
This class implements accessibility support for the
Window class. |
Modifier and Type | Field and Description |
---|---|
Object |
Event.arg
An arbitrary argument of the event.
|
Object |
Event.target
The target component.
|
static Object |
Image.UndefinedProperty
The
UndefinedProperty object should be returned whenever a
property which was not defined for a particular image is fetched. |
static Object |
RenderingHints.VALUE_ALPHA_INTERPOLATION_DEFAULT
Alpha interpolation hint value -- alpha blending algorithms
are chosen by the implementation for a good tradeoff of
performance vs.
|
static Object |
RenderingHints.VALUE_ALPHA_INTERPOLATION_QUALITY
Alpha interpolation hint value -- alpha blending algorithms
are chosen with a preference for precision and visual quality.
|
static Object |
RenderingHints.VALUE_ALPHA_INTERPOLATION_SPEED
Alpha interpolation hint value -- alpha blending algorithms
are chosen with a preference for calculation speed.
|
static Object |
RenderingHints.VALUE_ANTIALIAS_DEFAULT
Antialiasing hint value -- rendering is done with a default
antialiasing mode chosen by the implementation.
|
static Object |
RenderingHints.VALUE_ANTIALIAS_OFF
Antialiasing hint value -- rendering is done without antialiasing.
|
static Object |
RenderingHints.VALUE_ANTIALIAS_ON
Antialiasing hint value -- rendering is done with antialiasing.
|
static Object |
RenderingHints.VALUE_COLOR_RENDER_DEFAULT
Color rendering hint value -- perform color conversion
calculations as chosen by the implementation to represent
the best available tradeoff between performance and
accuracy.
|
static Object |
RenderingHints.VALUE_COLOR_RENDER_QUALITY
Color rendering hint value -- perform the color conversion
calculations with the highest accuracy and visual quality.
|
static Object |
RenderingHints.VALUE_COLOR_RENDER_SPEED
Color rendering hint value -- perform the fastest color
conversion to the format of the output device.
|
static Object |
RenderingHints.VALUE_DITHER_DEFAULT
Dithering hint value -- use a default for dithering chosen by
the implementation.
|
static Object |
RenderingHints.VALUE_DITHER_DISABLE
Dithering hint value -- do not dither when rendering geometry.
|
static Object |
RenderingHints.VALUE_DITHER_ENABLE
Dithering hint value -- dither when rendering geometry, if needed.
|
static Object |
RenderingHints.VALUE_FRACTIONALMETRICS_DEFAULT
Font fractional metrics hint value -- character glyphs are
positioned with accuracy chosen by the implementation.
|
static Object |
RenderingHints.VALUE_FRACTIONALMETRICS_OFF
Font fractional metrics hint value -- character glyphs are
positioned with advance widths rounded to pixel boundaries.
|
static Object |
RenderingHints.VALUE_FRACTIONALMETRICS_ON
Font fractional metrics hint value -- character glyphs are
positioned with sub-pixel accuracy.
|
static Object |
RenderingHints.VALUE_INTERPOLATION_BICUBIC
Interpolation hint value -- the color samples of 9 nearby
integer coordinate samples in the image are interpolated using
a cubic function in both
X and Y to produce
a color sample. |
static Object |
RenderingHints.VALUE_INTERPOLATION_BILINEAR
Interpolation hint value -- the color samples of the 4 nearest
neighboring integer coordinate samples in the image are
interpolated linearly to produce a color sample.
|
static Object |
RenderingHints.VALUE_INTERPOLATION_NEAREST_NEIGHBOR
Interpolation hint value -- the color sample of the nearest
neighboring integer coordinate sample in the image is used.
|
static Object |
RenderingHints.VALUE_RENDER_DEFAULT
Rendering hint value -- rendering algorithms are chosen
by the implementation for a good tradeoff of performance
vs.
|
static Object |
RenderingHints.VALUE_RENDER_QUALITY
Rendering hint value -- rendering algorithms are chosen
with a preference for output quality.
|
static Object |
RenderingHints.VALUE_RENDER_SPEED
Rendering hint value -- rendering algorithms are chosen
with a preference for output speed.
|
static Object |
RenderingHints.VALUE_STROKE_DEFAULT
Stroke normalization control hint value -- geometry may be
modified or left pure depending on the tradeoffs in a given
implementation.
|
static Object |
RenderingHints.VALUE_STROKE_NORMALIZE
Stroke normalization control hint value -- geometry should
be normalized to improve uniformity or spacing of lines and
overall aesthetics.
|
static Object |
RenderingHints.VALUE_STROKE_PURE
Stroke normalization control hint value -- geometry should
be left unmodified and rendered with sub-pixel accuracy.
|
static Object |
RenderingHints.VALUE_TEXT_ANTIALIAS_DEFAULT
Text antialiasing hint value -- text rendering is done according
to the
RenderingHints.KEY_ANTIALIASING hint or a default chosen by the
implementation. |
static Object |
RenderingHints.VALUE_TEXT_ANTIALIAS_GASP
Text antialiasing hint value -- text rendering is requested to
use information in the font resource which specifies for each point
size whether to apply
RenderingHints.VALUE_TEXT_ANTIALIAS_ON or
RenderingHints.VALUE_TEXT_ANTIALIAS_OFF . |
static Object |
RenderingHints.VALUE_TEXT_ANTIALIAS_LCD_HBGR
Text antialiasing hint value -- request that text be displayed
optimised for an LCD display with subpixels in order from display
left to right of B,G,R such that the horizontal subpixel resolution
is three times that of the full pixel horizontal resolution (HBGR).
|
static Object |
RenderingHints.VALUE_TEXT_ANTIALIAS_LCD_HRGB
Text antialiasing hint value -- request that text be displayed
optimised for an LCD display with subpixels in order from display
left to right of R,G,B such that the horizontal subpixel resolution
is three times that of the full pixel horizontal resolution (HRGB).
|
static Object |
RenderingHints.VALUE_TEXT_ANTIALIAS_LCD_VBGR
Text antialiasing hint value -- request that text be displayed
optimised for an LCD display with subpixel organisation from display
top to bottom of B,G,R such that the vertical subpixel resolution is
three times that of the full pixel vertical resolution (VBGR).
|
static Object |
RenderingHints.VALUE_TEXT_ANTIALIAS_LCD_VRGB
Text antialiasing hint value -- request that text be displayed
optimised for an LCD display with subpixel organisation from display
top to bottom of R,G,B such that the vertical subpixel resolution is
three times that of the full pixel vertical resolution (VRGB).
|
static Object |
RenderingHints.VALUE_TEXT_ANTIALIAS_OFF
Text antialiasing hint value -- text rendering is done without
any form of antialiasing.
|
static Object |
RenderingHints.VALUE_TEXT_ANTIALIAS_ON
Text antialiasing hint value -- text rendering is done with
some form of antialiasing.
|
Modifier and Type | Field and Description |
---|---|
protected Map<String,Object> |
Toolkit.desktopProperties |
Modifier and Type | Method and Description |
---|---|
Object |
ImageCapabilities.clone() |
Object |
RenderingHints.clone()
Creates a clone of this
RenderingHints object
that has the same contents as this RenderingHints
object. |
Object |
PageAttributes.clone()
Creates and returns a copy of this PageAttributes.
|
Object |
JobAttributes.clone()
Creates and returns a copy of this
JobAttributes . |
Object |
Insets.clone()
Create a copy of this object.
|
Object |
BufferCapabilities.clone() |
Object |
GridBagConstraints.clone()
Creates a copy of this grid bag constraint.
|
Object |
RenderingHints.get(Object key)
Returns the value to which the specified key is mapped.
|
Object |
BorderLayout.getConstraints(Component comp)
Gets the constraints for the specified component
|
Object |
Toolkit.getDesktopProperty(String propertyName)
Obtains a value for the specified desktop property.
|
Object[] |
MediaTracker.getErrorsAny()
Returns a list of all media that have encountered an error.
|
Object[] |
MediaTracker.getErrorsID(int id)
Returns a list of media with the specified ID that
have encountered an error.
|
abstract Object |
Image.getProperty(String name,
ImageObserver observer)
Gets a property of this image by name.
|
abstract Object |
Graphics2D.getRenderingHint(RenderingHints.Key hintKey)
Returns the value of a single preference for the rendering algorithms.
|
Object[] |
List.getSelectedObjects()
Gets the selected items on this scrolling list in an array of Objects.
|
Object[] |
ItemSelectable.getSelectedObjects()
Returns the selected items or
null if no
items are selected. |
Object[] |
Checkbox.getSelectedObjects()
Returns an array (length 1) containing the checkbox
label or null if the checkbox is not selected.
|
Object[] |
Choice.getSelectedObjects()
Returns an array (length 1) containing the currently selected
item.
|
Object[] |
CheckboxMenuItem.getSelectedObjects()
Returns the an array (length 1) containing the checkbox menu item
label or null if the checkbox is not selected.
|
protected Object |
MenuComponent.getTreeLock()
Gets this component's locking object (the object that owns the thread
sychronization monitor) for AWT component-tree and layout
operations.
|
Object |
Component.getTreeLock()
Gets this component's locking object (the object that owns the thread
synchronization monitor) for AWT component-tree and layout
operations.
|
protected Object |
Toolkit.lazilyLoadDesktopProperty(String name)
an opportunity to lazily evaluate desktop property values.
|
Object |
RenderingHints.put(Object key,
Object value)
Maps the specified
key to the specified
value in this RenderingHints object. |
protected Object |
AWTKeyStroke.readResolve()
Returns a cached instance of
AWTKeyStroke (or a subclass of
AWTKeyStroke ) which is equal to this instance. |
Object |
RenderingHints.remove(Object key)
Removes the key and its corresponding value from this
RenderingHints object. |
Modifier and Type | Method and Description |
---|---|
Set<Map.Entry<Object,Object>> |
RenderingHints.entrySet()
Returns a
Set view of the mappings contained
in this RenderingHints . |
Set<Map.Entry<Object,Object>> |
RenderingHints.entrySet()
Returns a
Set view of the mappings contained
in this RenderingHints . |
Set<Object> |
RenderingHints.keySet()
Returns a
Set view of the Keys contained in this
RenderingHints . |
Collection<Object> |
RenderingHints.values()
Returns a
Collection view of the values
contained in this RenderinHints . |
Modifier and Type | Method and Description |
---|---|
boolean |
Component.action(Event evt,
Object what)
Deprecated.
As of JDK version 1.1,
should register this component as ActionListener on component
which fires action events.
|
void |
Container.add(Component comp,
Object constraints)
Adds the specified component to the end of this container.
|
void |
Container.add(Component comp,
Object constraints,
int index)
Adds the specified component to this container with the specified
constraints at the specified index.
|
protected void |
Container.addImpl(Component comp,
Object constraints,
int index)
Adds the specified component to this container at the specified
index.
|
protected void |
ScrollPane.addImpl(Component comp,
Object constraints,
int index)
Adds the specified component to this scroll pane container.
|
void |
GridBagLayout.addLayoutComponent(Component comp,
Object constraints)
Adds the specified component to the layout, using the specified
constraints object. |
void |
BorderLayout.addLayoutComponent(Component comp,
Object constraints)
Adds the specified component to the layout, using the specified
constraint object.
|
void |
CardLayout.addLayoutComponent(Component comp,
Object constraints)
Adds the specified component to this card layout's internal
table of names.
|
void |
LayoutManager2.addLayoutComponent(Component comp,
Object constraints)
Adds the specified component to the layout, using the specified
constraint object.
|
boolean |
RenderingHints.containsKey(Object key)
Returns
true if this RenderingHints
contains a mapping for the specified key. |
boolean |
RenderingHints.containsValue(Object value)
Returns true if this RenderingHints maps one or more keys to the
specified value.
|
boolean |
Color.equals(Object obj)
Determines whether another object is equal to this
Color . |
boolean |
Dimension.equals(Object obj)
Checks whether two dimension objects have equal values.
|
boolean |
MenuShortcut.equals(Object obj)
Returns whether this MenuShortcut is the same as another:
equality is defined to mean that both MenuShortcuts use the same key
and both either use or don't use the SHIFT key.
|
boolean |
DisplayMode.equals(Object dm)
Indicates whether some other object is "equal to" this one.
|
boolean |
BasicStroke.equals(Object obj)
Tests if a specified object is equal to this
BasicStroke
by first testing if it is a BasicStroke and then comparing
its width, join, cap, miter limit, dash, and dash phase attributes with
those of this BasicStroke . |
boolean |
RenderingHints.equals(Object o)
Compares the specified
Object with this
RenderingHints for equality. |
boolean |
RenderingHints.Key.equals(Object o)
The equals method for all Key objects will return the same
result as the equality operator '=='.
|
boolean |
Font.equals(Object obj)
Compares this
Font object to the specified
Object . |
boolean |
PageAttributes.equals(Object obj)
Determines whether two PageAttributes are equal to each other.
|
boolean |
AWTKeyStroke.equals(Object anObject)
Returns true if this object is identical to the specified object.
|
boolean |
JobAttributes.equals(Object obj)
Determines whether two JobAttributes are equal to each other.
|
boolean |
Insets.equals(Object obj)
Checks whether two insets objects are equal.
|
boolean |
Rectangle.equals(Object obj)
Checks whether two rectangles are equal.
|
boolean |
Point.equals(Object obj)
Determines whether or not two points are equal.
|
boolean |
AlphaComposite.equals(Object obj)
Determines whether the specified object is equal to this
AlphaComposite . |
protected void |
Component.firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Support for reporting bound property changes for Object properties.
|
protected void |
KeyboardFocusManager.firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Fires a PropertyChangeEvent in response to a change in a bound property.
|
protected void |
KeyboardFocusManager.fireVetoableChange(String propertyName,
Object oldValue,
Object newValue)
Fires a PropertyChangeEvent in response to a change in a vetoable
property.
|
Object |
RenderingHints.get(Object key)
Returns the value to which the specified key is mapped.
|
Component |
BorderLayout.getLayoutComponent(Container target,
Object constraints)
Returns the component that corresponds to the given constraint location
based on the target
Container 's component orientation. |
Component |
BorderLayout.getLayoutComponent(Object constraints)
Gets the component that was added using the given constraint
|
boolean |
Component.gotFocus(Event evt,
Object what)
Deprecated.
As of JDK version 1.1,
replaced by processFocusEvent(FocusEvent).
|
abstract boolean |
RenderingHints.Key.isCompatibleValue(Object val)
Returns true if the specified object is a valid value
for this Key.
|
boolean |
Component.lostFocus(Event evt,
Object what)
Deprecated.
As of JDK version 1.1,
replaced by processFocusEvent(FocusEvent).
|
Object |
RenderingHints.put(Object key,
Object value)
Maps the specified
key to the specified
value in this RenderingHints object. |
Object |
RenderingHints.remove(Object key)
Removes the key and its corresponding value from this
RenderingHints object. |
protected void |
Toolkit.setDesktopProperty(String name,
Object newValue)
Sets the named desktop property to the specified value and fires a
property change event to notify any listeners that the value has changed.
|
abstract void |
Graphics2D.setRenderingHint(RenderingHints.Key hintKey,
Object hintValue)
Sets the value of a single preference for the rendering algorithms.
|
void |
AWTEvent.setSource(Object newSource)
Retargets an event to a new source.
|
Constructor and Description |
---|
AWTEvent(Object source,
int id)
Constructs an AWTEvent object with the specified source object and type.
|
Event(Object target,
int id,
Object arg)
NOTE: The
Event class is obsolete and is
available only for backwards compatilibility. |
Event(Object target,
long when,
int id,
int x,
int y,
int key,
int modifiers)
NOTE: The
Event class is obsolete and is
available only for backwards compatilibility. |
Event(Object target,
long when,
int id,
int x,
int y,
int key,
int modifiers,
Object arg)
NOTE: The
Event class is obsolete and is
available only for backwards compatilibility. |
RenderingHints(RenderingHints.Key key,
Object value)
Constructs a new object with the specified key/value pair.
|
Modifier and Type | Class and Description |
---|---|
class |
CMMException
This exception is thrown if the native CMM returns an error.
|
class |
ColorSpace
This abstract class is used to serve as a color space tag to identify the
specific color space of a Color object or, via a ColorModel object,
of an Image, a BufferedImage, or a GraphicsDevice.
|
class |
ICC_ColorSpace
The ICC_ColorSpace class is an implementation of the abstract
ColorSpace class.
|
class |
ICC_Profile
A representation of color profile data for device independent and
device dependent color spaces based on the International Color
Consortium Specification ICC.1:2001-12, File Format for Color Profiles,
(see http://www.color.org).
|
class |
ICC_ProfileGray
A subclass of the ICC_Profile class which represents profiles
which meet the following criteria: the color space type of the
profile is TYPE_GRAY and the profile includes the grayTRCTag and
mediaWhitePointTag tags.
|
class |
ICC_ProfileRGB
The ICC_ProfileRGB class is a subclass of the ICC_Profile class
that represents profiles which meet the following criteria:
The profile's color space type is RGB.
The profile includes the
redColorantTag ,
greenColorantTag , blueColorantTag ,
redTRCTag , greenTRCTag ,
blueTRCTag , and mediaWhitePointTag tags.
The ICC_Profile getInstance method will
return an ICC_ProfileRGB object when these conditions are met. |
class |
ProfileDataException
This exception is thrown when an error occurs in accessing or
processing an ICC_Profile object.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
ICC_Profile.readResolve()
Resolves instances being deserialized into instances registered
with CMM.
|
Modifier and Type | Class and Description |
---|---|
class |
Clipboard
A class that implements a mechanism to transfer data using
cut/copy/paste operations.
|
class |
DataFlavor
A
DataFlavor provides meta information about data. |
class |
FlavorEvent
FlavorEvent is used to notify interested parties
that available DataFlavor s have changed in the
Clipboard (the event source). |
class |
MimeTypeParseException
A class to encapsulate MimeType parsing related exceptions
|
class |
StringSelection
A
Transferable which implements the capability required
to transfer a String . |
class |
SystemFlavorMap
The SystemFlavorMap is a configurable map between "natives" (Strings), which
correspond to platform-specific data formats, and "flavors" (DataFlavors),
which correspond to platform-independent MIME types.
|
class |
UnsupportedFlavorException
Signals that the requested data is not supported in this flavor.
|
Modifier and Type | Method and Description |
---|---|
Object |
DataFlavor.clone()
Returns a clone of this
DataFlavor . |
Object |
Clipboard.getData(DataFlavor flavor)
Returns an object representing the current contents of this clipboard
in the specified
DataFlavor . |
Object |
Transferable.getTransferData(DataFlavor flavor)
Returns an object which represents the data to be transferred.
|
Object |
StringSelection.getTransferData(DataFlavor flavor)
Returns the
Transferable 's data in the requested
DataFlavor if possible. |
Modifier and Type | Method and Description |
---|---|
boolean |
DataFlavor.equals(Object o)
Indicates whether some other object is "equal to" this one.
|
Transferable |
Clipboard.getContents(Object requestor)
Returns a transferable object representing the current contents
of the clipboard.
|
Modifier and Type | Class and Description |
---|---|
class |
DnDConstants
This class contains constant values representing
the type of action(s) to be performed by a Drag and Drop operation.
|
class |
DragGestureEvent
A
DragGestureEvent is passed
to DragGestureListener 's
dragGestureRecognized() method
when a particular DragGestureRecognizer detects that a
platform dependent drag initiating gesture has occurred
on the Component that it is tracking. |
class |
DragGestureRecognizer
The
DragGestureRecognizer is an
abstract base class for the specification
of a platform-dependent listener that can be associated with a particular
Component in order to
identify platform-dependent drag initiating gestures. |
class |
DragSource
The
DragSource is the entity responsible
for the initiation of the Drag
and Drop operation, and may be used in a number of scenarios:
1 default instance per JVM for the lifetime of that JVM. |
class |
DragSourceAdapter
An abstract adapter class for receiving drag source events.
|
class |
DragSourceContext
The
DragSourceContext class is responsible for managing the
initiator side of the Drag and Drop protocol. |
class |
DragSourceDragEvent
The
DragSourceDragEvent is
delivered from the DragSourceContextPeer ,
via the DragSourceContext , to the DragSourceListener
registered with that DragSourceContext and with its associated
DragSource . |
class |
DragSourceDropEvent
The
DragSourceDropEvent is delivered
from the DragSourceContextPeer ,
via the DragSourceContext , to the dragDropEnd
method of DragSourceListener s registered with that
DragSourceContext and with its associated
DragSource . |
class |
DragSourceEvent
This class is the base class for
DragSourceDragEvent and
DragSourceDropEvent . |
class |
DropTarget
The
DropTarget is associated
with a Component when that Component
wishes
to accept drops during Drag and Drop operations. |
protected static class |
DropTarget.DropTargetAutoScroller
this protected nested class implements autoscrolling
|
class |
DropTargetAdapter
An abstract adapter class for receiving drop target events.
|
class |
DropTargetContext
A
DropTargetContext is created
whenever the logical cursor associated
with a Drag and Drop operation coincides with the visible geometry of
a Component associated with a DropTarget . |
protected class |
DropTargetContext.TransferableProxy
TransferableProxy is a helper inner class that implements
Transferable interface and serves as a proxy for another
Transferable object which represents data transfer for
a particular drag-n-drop operation. |
class |
DropTargetDragEvent
The
DropTargetDragEvent is delivered to a
DropTargetListener via its
dragEnter() and dragOver() methods. |
class |
DropTargetDropEvent
The
DropTargetDropEvent is delivered
via the DropTargetListener drop() method. |
class |
DropTargetEvent
The
DropTargetEvent is the base
class for both the DropTargetDragEvent
and the DropTargetDropEvent . |
class |
InvalidDnDOperationException
This exception is thrown by various methods in the java.awt.dnd package.
|
class |
MouseDragGestureRecognizer
This abstract subclass of
DragGestureRecognizer
defines a DragGestureRecognizer
for mouse-based gestures. |
Modifier and Type | Method and Description |
---|---|
Object |
DropTargetContext.TransferableProxy.getTransferData(DataFlavor df)
Returns an object which represents the data provided by
the encapsulated transferable for the requested data flavor.
|
Object[] |
DragGestureEvent.toArray()
Returns an
Object array of the
events comprising the drag gesture. |
Object[] |
DragGestureEvent.toArray(Object[] array)
Returns an array of the events comprising the drag gesture.
|
Modifier and Type | Method and Description |
---|---|
Object[] |
DragGestureEvent.toArray(Object[] array)
Returns an array of the events comprising the drag gesture.
|
Modifier and Type | Class and Description |
---|---|
class |
ActionEvent
A semantic event which indicates that a component-defined action occurred.
|
class |
AdjustmentEvent
The adjustment event emitted by Adjustable objects like
Scrollbar and ScrollPane . |
class |
AWTEventListenerProxy
A class which extends the
EventListenerProxy
specifically for adding an AWTEventListener
for a specific event mask. |
class |
ComponentAdapter
An abstract adapter class for receiving component events.
|
class |
ComponentEvent
A low-level event which indicates that a component moved, changed
size, or changed visibility (also, the root class for the other
component-level events).
|
class |
ContainerAdapter
An abstract adapter class for receiving container events.
|
class |
ContainerEvent
A low-level event which indicates that a container's contents
changed because a component was added or removed.
|
class |
FocusAdapter
An abstract adapter class for receiving keyboard focus events.
|
class |
FocusEvent
A low-level event which indicates that a Component has gained or lost the
input focus.
|
class |
HierarchyBoundsAdapter
An abstract adapter class for receiving ancestor moved and resized events.
|
class |
HierarchyEvent
An event which indicates a change to the
Component
hierarchy to which Component belongs. |
class |
InputEvent
The root event class for all component-level input events.
|
class |
InputMethodEvent
Input method events contain information about text that is being
composed using an input method.
|
class |
InvocationEvent
An event which executes the
run() method on a Runnable
when dispatched by the AWT event dispatcher thread. |
class |
ItemEvent
A semantic event which indicates that an item was selected or deselected.
|
class |
KeyAdapter
An abstract adapter class for receiving keyboard events.
|
class |
KeyEvent
An event which indicates that a keystroke occurred in a component.
|
class |
MouseAdapter
An abstract adapter class for receiving mouse events.
|
class |
MouseEvent
An event which indicates that a mouse action occurred in a component.
|
class |
MouseMotionAdapter
An abstract adapter class for receiving mouse motion events.
|
class |
MouseWheelEvent
An event which indicates that the mouse wheel was rotated in a component.
|
class |
PaintEvent
The component-level paint event.
|
class |
TextEvent
A semantic event which indicates that an object's text changed.
|
class |
WindowAdapter
An abstract adapter class for receiving window events.
|
class |
WindowEvent
A low-level event that indicates that a window has changed its status.
|
Modifier and Type | Field and Description |
---|---|
protected Object |
InvocationEvent.notifier
The (potentially null) Object whose notifyAll() method will be called
immediately after the Runnable.run() method has returned or thrown an exception.
|
Modifier and Type | Method and Description |
---|---|
Object |
ItemEvent.getItem()
Returns the item affected by the event.
|
Constructor and Description |
---|
ActionEvent(Object source,
int id,
String command)
Constructs an
ActionEvent object. |
ActionEvent(Object source,
int id,
String command,
int modifiers)
Constructs an
ActionEvent object with modifier keys. |
ActionEvent(Object source,
int id,
String command,
long when,
int modifiers)
Constructs an
ActionEvent object with the specified
modifier keys and timestamp. |
InvocationEvent(Object source,
int id,
Runnable runnable,
Object notifier,
boolean catchThrowables)
Constructs an
InvocationEvent with the specified
source and ID which will execute the runnable's run
method when dispatched. |
InvocationEvent(Object source,
Runnable runnable)
Constructs an
InvocationEvent with the specified
source which will execute the runnable's run
method when dispatched. |
InvocationEvent(Object source,
Runnable runnable,
Object notifier,
boolean catchThrowables)
Constructs an
InvocationEvent with the specified
source which will execute the runnable's run
method when dispatched. |
ItemEvent(ItemSelectable source,
int id,
Object item,
int stateChange)
Constructs an
ItemEvent object. |
TextEvent(Object source,
int id)
Constructs a
TextEvent object. |
Modifier and Type | Class and Description |
---|---|
class |
FontRenderContext
The
FontRenderContext class is a container for the
information needed to correctly measure text. |
class |
GlyphJustificationInfo
The
GlyphJustificationInfo class represents information
about the justification properties of a glyph. |
class |
GlyphMetrics
The
GlyphMetrics class represents infomation for a
single glyph. |
class |
GlyphVector
A
GlyphVector object is a collection of glyphs
containing geometric information for the placement of each glyph
in a transformed coordinate space which corresponds to the
device on which the GlyphVector is ultimately
displayed. |
class |
GraphicAttribute
This class is used with the CHAR_REPLACEMENT attribute.
|
class |
ImageGraphicAttribute
The
ImageGraphicAttribute class is an implementation of
GraphicAttribute which draws images in
a TextLayout . |
class |
LayoutPath
LayoutPath provides a mapping between locations relative to the
baseline and points in user space.
|
class |
LineBreakMeasurer
The
LineBreakMeasurer class allows styled text to be
broken into lines (or segments) that fit within a particular visual
advance. |
class |
LineMetrics
The
LineMetrics class allows access to the
metrics needed to layout characters along a line
and to layout of a set of lines. |
class |
NumericShaper
The
NumericShaper class is used to convert Latin-1 (European)
digits to other Unicode decimal digits. |
class |
ShapeGraphicAttribute
The
ShapeGraphicAttribute class is an implementation of
GraphicAttribute that draws shapes in a TextLayout . |
class |
TextAttribute
The
TextAttribute class defines attribute keys and
attribute values used for text rendering. |
class |
TextHitInfo
The
TextHitInfo class represents a character position in a
text model, and a bias, or "side," of the character. |
class |
TextLayout
TextLayout is an immutable graphical representation of styled
character data. |
static class |
TextLayout.CaretPolicy
Defines a policy for determining the strong caret location.
|
class |
TextMeasurer
The
TextMeasurer class provides the primitive operations
needed for line break: measuring up to a given advance, determining the
advance of a range of characters, and generating a
TextLayout for a range of characters. |
class |
TransformAttribute
The
TransformAttribute class provides an immutable
wrapper for a transform so that it is safe to use as an attribute. |
Modifier and Type | Method and Description |
---|---|
protected Object |
TextLayout.clone()
Creates a copy of this
TextLayout . |
protected Object |
TextMeasurer.clone() |
Object |
FontRenderContext.getAntiAliasingHint()
Return the text anti-aliasing rendering mode hint used in this
FontRenderContext . |
Object |
FontRenderContext.getFractionalMetricsHint()
Return the text fractional metrics rendering mode hint used in this
FontRenderContext . |
protected Object |
TextAttribute.readResolve()
Resolves instances being deserialized to the predefined constants.
|
Modifier and Type | Method and Description |
---|---|
boolean |
TransformAttribute.equals(Object rhs)
Returns
true if rhs is a TransformAttribute
whose transform is equal to this TransformAttribute 's
transform. |
boolean |
ShapeGraphicAttribute.equals(Object rhs)
Compares this
ShapeGraphicAttribute to the specified
Object . |
boolean |
NumericShaper.equals(Object o)
Returns
true if the specified object is an instance of
NumericShaper and shapes identically to this one,
regardless of the range representations, the bit mask or the
enum. |
boolean |
FontRenderContext.equals(Object obj)
Return true if obj is an instance of FontRenderContext and has the same
transform, antialiasing, and fractional metrics values as this.
|
boolean |
ImageGraphicAttribute.equals(Object rhs)
Compares this
ImageGraphicAttribute to the specified
Object . |
boolean |
TextHitInfo.equals(Object obj)
Returns
true if the specified Object is a
TextHitInfo and equals this TextHitInfo . |
boolean |
TextLayout.equals(Object obj)
Returns
true if the specified Object is a
TextLayout object and if the specified Object
equals this TextLayout . |
Constructor and Description |
---|
FontRenderContext(AffineTransform tx,
Object aaHint,
Object fmHint)
Constructs a
FontRenderContext object from an
optional AffineTransform and two Object
values that determine if the newly constructed object has
anti-aliasing or fractional metrics. |
Modifier and Type | Class and Description |
---|---|
class |
AffineTransform
The
AffineTransform class represents a 2D affine transform
that performs a linear mapping from 2D coordinates to other 2D
coordinates that preserves the "straightness" and
"parallelness" of lines. |
class |
Arc2D
Arc2D is the abstract superclass for all objects that
store a 2D arc defined by a framing rectangle,
start angle, angular extent (length of the arc), and a closure type
(OPEN , CHORD , or PIE ). |
static class |
Arc2D.Double
This class defines an arc specified in
double precision. |
static class |
Arc2D.Float
This class defines an arc specified in
float precision. |
class |
Area
An
Area object stores and manipulates a
resolution-independent description of an enclosed area of
2-dimensional space. |
class |
CubicCurve2D
The
CubicCurve2D class defines a cubic parametric curve
segment in (x,y) coordinate space. |
static class |
CubicCurve2D.Double
A cubic parametric curve segment specified with
double coordinates. |
static class |
CubicCurve2D.Float
A cubic parametric curve segment specified with
float coordinates. |
class |
Dimension2D
The
Dimension2D class is to encapsulate a width
and a height dimension. |
class |
Ellipse2D
The
Ellipse2D class describes an ellipse that is defined
by a framing rectangle. |
static class |
Ellipse2D.Double
The
Double class defines an ellipse specified
in double precision. |
static class |
Ellipse2D.Float
The
Float class defines an ellipse specified
in float precision. |
class |
FlatteningPathIterator
The
FlatteningPathIterator class returns a flattened view of
another PathIterator object. |
class |
GeneralPath
The
GeneralPath class represents a geometric path
constructed from straight lines, and quadratic and cubic
(Bézier) curves. |
class |
IllegalPathStateException
The
IllegalPathStateException represents an
exception that is thrown if an operation is performed on a path
that is in an illegal state with respect to the particular
operation being performed, such as appending a path segment
to a GeneralPath without an initial moveto. |
class |
Line2D
This
Line2D represents a line segment in (x,y)
coordinate space. |
static class |
Line2D.Double
A line segment specified with double coordinates.
|
static class |
Line2D.Float
A line segment specified with float coordinates.
|
class |
NoninvertibleTransformException
The
NoninvertibleTransformException class represents
an exception that is thrown if an operation is performed requiring
the inverse of an AffineTransform object but the
AffineTransform is in a non-invertible state. |
class |
Path2D
The
Path2D class provides a simple, yet flexible
shape which represents an arbitrary geometric path. |
static class |
Path2D.Double
The
Double class defines a geometric path with
coordinates stored in double precision floating point. |
static class |
Path2D.Float
The
Float class defines a geometric path with
coordinates stored in single precision floating point. |
class |
Point2D
The
Point2D class defines a point representing a location
in (x,y) coordinate space. |
static class |
Point2D.Double
The
Double class defines a point specified in
double precision. |
static class |
Point2D.Float
The
Float class defines a point specified in float
precision. |
class |
QuadCurve2D
The
QuadCurve2D class defines a quadratic parametric curve
segment in (x,y) coordinate space. |
static class |
QuadCurve2D.Double
A quadratic parametric curve segment specified with
double coordinates. |
static class |
QuadCurve2D.Float
A quadratic parametric curve segment specified with
float coordinates. |
class |
Rectangle2D
The
Rectangle2D class describes a rectangle
defined by a location (x,y) and dimension
(w x h) . |
static class |
Rectangle2D.Double
The
Double class defines a rectangle specified in
double coordinates. |
static class |
Rectangle2D.Float
The
Float class defines a rectangle specified in float
coordinates. |
class |
RectangularShape
RectangularShape is the base class for a number of
Shape objects whose geometry is defined by a rectangular frame. |
class |
RoundRectangle2D
The
RoundRectangle2D class defines a rectangle with
rounded corners defined by a location (x,y) , a
dimension (w x h) , and the width and height of an arc
with which to round the corners. |
static class |
RoundRectangle2D.Double
The
Double class defines a rectangle with rounded
corners all specified in double coordinates. |
static class |
RoundRectangle2D.Float
The
Float class defines a rectangle with rounded
corners all specified in float coordinates. |
Modifier and Type | Method and Description |
---|---|
Object |
Dimension2D.clone()
Creates a new object of the same class as this object.
|
abstract Object |
Path2D.clone()
Creates a new object of the same class as this object.
|
Object |
Path2D.Float.clone()
Creates a new object of the same class as this object.
|
Object |
Path2D.Double.clone()
Creates a new object of the same class as this object.
|
Object |
Line2D.clone()
Creates a new object of the same class as this object.
|
Object |
RectangularShape.clone()
Creates a new object of the same class and with the same
contents as this object.
|
Object |
QuadCurve2D.clone()
Creates a new object of the same class and with the same contents
as this object.
|
Object |
Area.clone()
Returns an exact copy of this
Area object. |
Object |
CubicCurve2D.clone()
Creates a new object of the same class as this object.
|
Object |
Point2D.clone()
Creates a new object of the same class and with the
same contents as this object.
|
Object |
AffineTransform.clone()
Returns a copy of this
AffineTransform object. |
Modifier and Type | Method and Description |
---|---|
boolean |
Arc2D.equals(Object obj)
Determines whether or not the specified
Object is
equal to this Arc2D . |
boolean |
Ellipse2D.equals(Object obj)
Determines whether or not the specified
Object is
equal to this Ellipse2D . |
boolean |
Rectangle2D.equals(Object obj)
Determines whether or not the specified
Object is
equal to this Rectangle2D . |
boolean |
Point2D.equals(Object obj)
Determines whether or not two points are equal.
|
boolean |
AffineTransform.equals(Object obj)
Returns
true if this AffineTransform
represents the same affine coordinate transform as the specified
argument. |
boolean |
RoundRectangle2D.equals(Object obj)
Determines whether or not the specified
Object is
equal to this RoundRectangle2D . |
Modifier and Type | Class and Description |
---|---|
class |
InputContext
Provides methods to control text input facilities such as input
methods and keyboard layouts.
|
class |
InputMethodHighlight
An InputMethodHighlight is used to describe the highlight
attributes of text being composed.
|
class |
InputSubset
Defines additional Unicode subsets for use by input methods.
|
Modifier and Type | Method and Description |
---|---|
Object |
InputContext.getInputMethodControlObject()
Returns a control object from the current input method, or null.
|
Modifier and Type | Method and Description |
---|---|
Object |
InputMethod.getControlObject()
Returns a control object from this input method, or null.
|
Modifier and Type | Class and Description |
---|---|
class |
AffineTransformOp
This class uses an affine transform to perform a linear mapping from
2D coordinates in the source image or
Raster to 2D coordinates
in the destination image or Raster . |
class |
AreaAveragingScaleFilter
An ImageFilter class for scaling images using a simple area averaging
algorithm that produces smoother results than the nearest neighbor
algorithm.
|
class |
BandCombineOp
This class performs an arbitrary linear combination of the bands
in a
Raster , using a specified matrix. |
class |
BandedSampleModel
This class represents image data which is stored in a band interleaved
fashion and for
which each sample of a pixel occupies one data element of the DataBuffer.
|
class |
BufferedImage
The
BufferedImage subclass describes an Image with an accessible buffer of image data. |
class |
BufferedImageFilter
The
BufferedImageFilter class subclasses an
ImageFilter to provide a simple means of
using a single-source/single-destination image operator
(BufferedImageOp ) to filter a BufferedImage
in the Image Producer/Consumer/Observer
paradigm. |
class |
BufferStrategy
The
BufferStrategy class represents the mechanism with which
to organize complex memory on a particular Canvas or
Window . |
class |
ByteLookupTable
This class defines a lookup table object.
|
class |
ColorConvertOp
This class performs a pixel-by-pixel color conversion of the data in
the source image.
|
class |
ColorModel
The
ColorModel abstract class encapsulates the
methods for translating a pixel value to color components
(for example, red, green, and blue) and an alpha component. |
class |
ComponentColorModel
A
ColorModel class that works with pixel values that
represent color and alpha information as separate samples and that
store each sample in a separate data element. |
class |
ComponentSampleModel
This class represents image data which is stored such that each sample
of a pixel occupies one data element of the DataBuffer.
|
class |
ConvolveOp
This class implements a convolution from the source
to the destination.
|
class |
CropImageFilter
An ImageFilter class for cropping images.
|
class |
DataBuffer
This class exists to wrap one or more data arrays.
|
class |
DataBufferByte
This class extends
DataBuffer and stores data internally as bytes. |
class |
DataBufferDouble
This class extends
DataBuffer and stores data internally
in double form. |
class |
DataBufferFloat
This class extends
DataBuffer and stores data internally
in float form. |
class |
DataBufferInt
This class extends
DataBuffer and stores data internally
as integers. |
class |
DataBufferShort
This class extends
DataBuffer and stores data internally as shorts. |
class |
DataBufferUShort
This class extends
DataBuffer and stores data internally as
shorts. |
class |
DirectColorModel
The
DirectColorModel class is a ColorModel
class that works with pixel values that represent RGB
color and alpha information as separate samples and that pack all
samples for a single pixel into a single int, short, or byte quantity. |
class |
FilteredImageSource
This class is an implementation of the ImageProducer interface which
takes an existing image and a filter object and uses them to produce
image data for a new filtered version of the original image.
|
class |
ImageFilter
This class implements a filter for the set of interface methods that
are used to deliver data from an ImageProducer to an ImageConsumer.
|
class |
ImagingOpException
The
ImagingOpException is thrown if one of the
BufferedImageOp or RasterOp filter methods cannot
process the image. |
class |
IndexColorModel
The
IndexColorModel class is a ColorModel
class that works with pixel values consisting of a
single sample that is an index into a fixed colormap in the default
sRGB color space. |
class |
Kernel
The
Kernel class defines a matrix that describes how a
specified pixel and its surrounding pixels affect the value
computed for the pixel's position in the output image of a filtering
operation. |
class |
LookupOp
This class implements a lookup operation from the source
to the destination.
|
class |
LookupTable
This abstract class defines a lookup table object.
|
class |
MemoryImageSource
This class is an implementation of the ImageProducer interface which
uses an array to produce pixel values for an Image.
|
class |
MultiPixelPackedSampleModel
The
MultiPixelPackedSampleModel class represents
one-banded images and can pack multiple one-sample
pixels into one data element. |
class |
PackedColorModel
The
PackedColorModel class is an abstract
ColorModel class that works with pixel values which represent
color and alpha information as separate samples and which pack all
samples for a single pixel into a single int, short, or byte quantity. |
class |
PixelGrabber
The PixelGrabber class implements an ImageConsumer which can be attached
to an Image or ImageProducer object to retrieve a subset of the pixels
in that image.
|
class |
PixelInterleavedSampleModel
This class represents image data which is stored in a pixel interleaved
fashion and for
which each sample of a pixel occupies one data element of the DataBuffer.
|
class |
Raster
A class representing a rectangular array of pixels.
|
class |
RasterFormatException
The
RasterFormatException is thrown if there is
invalid layout information in the Raster . |
class |
ReplicateScaleFilter
An ImageFilter class for scaling images using the simplest algorithm.
|
class |
RescaleOp
This class performs a pixel-by-pixel rescaling of the data in the
source image by multiplying the sample values for each pixel by a scale
factor and then adding an offset.
|
class |
RGBImageFilter
This class provides an easy way to create an ImageFilter which modifies
the pixels of an image in the default RGB ColorModel.
|
class |
SampleModel
This abstract class defines an interface for extracting samples of pixels
in an image.
|
class |
ShortLookupTable
This class defines a lookup table object.
|
class |
SinglePixelPackedSampleModel
This class represents pixel data packed such that the N samples which make
up a single pixel are stored in a single data array element, and each data
data array element holds samples for only one pixel.
|
class |
VolatileImage
VolatileImage is an image which can lose its
contents at any time due to circumstances beyond the control of the
application (e.g., situations caused by the operating system or by
other applications).
|
class |
WritableRaster
This class extends Raster to provide pixel writing capabilities.
|
Modifier and Type | Field and Description |
---|---|
protected Object |
ReplicateScaleFilter.outpixbuf
A
byte array initialized with a size of
ReplicateScaleFilter.destWidth and used to deliver a row of pixel
data to the ImageConsumer . |
Modifier and Type | Method and Description |
---|---|
Object |
Kernel.clone()
Clones this object.
|
Object |
ImageFilter.clone()
Clones this object.
|
Object |
ComponentColorModel.getDataElements(float[] normComponents,
int normOffset,
Object obj)
Returns a data element array representation of a pixel in this
ColorModel , given an array of normalized color/alpha
components. |
Object |
ColorModel.getDataElements(float[] normComponents,
int normOffset,
Object obj)
Returns a data element array representation of a pixel in this
ColorModel , given an array of normalized color/alpha
components. |
Object |
IndexColorModel.getDataElements(int[] components,
int offset,
Object pixel)
Returns a data element array representation of a pixel in this
ColorModel given an array of unnormalized color/alpha
components. |
Object |
ComponentColorModel.getDataElements(int[] components,
int offset,
Object obj)
Returns a data element array representation of a pixel in this
ColorModel , given an array of unnormalized color/alpha
components. |
Object |
DirectColorModel.getDataElements(int[] components,
int offset,
Object obj)
Returns a data element array representation of a pixel in this
ColorModel , given an array of unnormalized color/alpha
components. |
Object |
ColorModel.getDataElements(int[] components,
int offset,
Object obj)
Returns a data element array representation of a pixel in this
ColorModel , given an array of unnormalized color/alpha
components. |
Object |
Raster.getDataElements(int x,
int y,
int w,
int h,
Object outData)
Returns the pixel data for the specified rectangle of pixels in a
primitive array of type TransferType.
|
Object |
SampleModel.getDataElements(int x,
int y,
int w,
int h,
Object obj,
DataBuffer data)
Returns the pixel data for the specified rectangle of pixels in a
primitive array of type TransferType.
|
Object |
Raster.getDataElements(int x,
int y,
Object outData)
Returns data for a single pixel in a primitive array of type
TransferType.
|
abstract Object |
SampleModel.getDataElements(int x,
int y,
Object obj,
DataBuffer data)
Returns data for a single pixel in a primitive array of type
TransferType.
|
Object |
BandedSampleModel.getDataElements(int x,
int y,
Object obj,
DataBuffer data)
Returns data for a single pixel in a primitive array of type
TransferType.
|
Object |
SinglePixelPackedSampleModel.getDataElements(int x,
int y,
Object obj,
DataBuffer data)
Returns data for a single pixel in a primitive array of type
TransferType.
|
Object |
MultiPixelPackedSampleModel.getDataElements(int x,
int y,
Object obj,
DataBuffer data)
Returns data for a single pixel in a primitive array of type
TransferType.
|
Object |
ComponentSampleModel.getDataElements(int x,
int y,
Object obj,
DataBuffer data)
Returns data for a single pixel in a primitive array of type
TransferType . |
Object |
IndexColorModel.getDataElements(int rgb,
Object pixel)
Returns a data element array representation of a pixel in this
ColorModel, given an integer pixel representation in the
default RGB color model.
|
Object |
ComponentColorModel.getDataElements(int rgb,
Object pixel)
Returns a data element array representation of a pixel in this
ColorModel , given an integer pixel representation
in the default RGB color model. |
Object |
DirectColorModel.getDataElements(int rgb,
Object pixel)
Returns a data element array representation of a pixel in this
ColorModel , given an integer pixel representation in the
default RGB color model. |
Object |
ColorModel.getDataElements(int rgb,
Object pixel)
Returns a data element array representation of a pixel in this
ColorModel , given an integer pixel representation in
the default RGB color model. |
Object |
PixelGrabber.getPixels()
Get the pixel buffer.
|
Object |
BufferedImage.getProperty(String name)
Returns a property of the image by name.
|
Object |
RenderedImage.getProperty(String name)
Gets a property from the property set of this image.
|
Object |
BufferedImage.getProperty(String name,
ImageObserver observer)
Returns a property of the image by name.
|
Modifier and Type | Method and Description |
---|---|
boolean |
PackedColorModel.equals(Object obj)
Tests if the specified
Object is an instance
of PackedColorModel and equals this
PackedColorModel . |
boolean |
SinglePixelPackedSampleModel.equals(Object o) |
boolean |
ComponentColorModel.equals(Object obj)
Compares this color model with another for equality.
|
boolean |
MultiPixelPackedSampleModel.equals(Object o) |
boolean |
ColorModel.equals(Object obj)
Tests if the specified
Object is an instance of
ColorModel and if it equals this
ColorModel . |
boolean |
ComponentSampleModel.equals(Object o) |
int |
ComponentColorModel.getAlpha(Object inData)
Returns the alpha component for the specified pixel, scaled from
0 to 255.
|
int |
DirectColorModel.getAlpha(Object inData)
Returns the alpha component for the specified pixel, scaled
from 0 to 255.
|
int |
ColorModel.getAlpha(Object inData)
Returns the alpha component for the specified pixel, scaled
from 0 to 255.
|
int |
ComponentColorModel.getBlue(Object inData)
Returns the blue color component for the specified pixel, scaled
from 0 to 255 in the default RGB
ColorSpace , sRGB. |
int |
DirectColorModel.getBlue(Object inData)
Returns the blue color component for the specified pixel, scaled
from 0 to 255 in the default RGB
ColorSpace , sRGB. |
int |
ColorModel.getBlue(Object inData)
Returns the blue color component for the specified pixel, scaled
from 0 to 255 in the default RGB
ColorSpace , sRGB. |
int[] |
IndexColorModel.getComponents(Object pixel,
int[] components,
int offset)
Returns an array of unnormalized color/alpha components for
a specified pixel in this
ColorModel . |
int[] |
ComponentColorModel.getComponents(Object pixel,
int[] components,
int offset)
Returns an array of unnormalized color/alpha components given a pixel
in this
ColorModel . |
int[] |
DirectColorModel.getComponents(Object pixel,
int[] components,
int offset)
Returns an array of unnormalized color/alpha components given a pixel
in this
ColorModel . |
int[] |
ColorModel.getComponents(Object pixel,
int[] components,
int offset)
Returns an array of unnormalized color/alpha components given a pixel
in this
ColorModel . |
Object |
ComponentColorModel.getDataElements(float[] normComponents,
int normOffset,
Object obj)
Returns a data element array representation of a pixel in this
ColorModel , given an array of normalized color/alpha
components. |
Object |
ColorModel.getDataElements(float[] normComponents,
int normOffset,
Object obj)
Returns a data element array representation of a pixel in this
ColorModel , given an array of normalized color/alpha
components. |
Object |
IndexColorModel.getDataElements(int[] components,
int offset,
Object pixel)
Returns a data element array representation of a pixel in this
ColorModel given an array of unnormalized color/alpha
components. |
Object |
ComponentColorModel.getDataElements(int[] components,
int offset,
Object obj)
Returns a data element array representation of a pixel in this
ColorModel , given an array of unnormalized color/alpha
components. |
Object |
DirectColorModel.getDataElements(int[] components,
int offset,
Object obj)
Returns a data element array representation of a pixel in this
ColorModel , given an array of unnormalized color/alpha
components. |
Object |
ColorModel.getDataElements(int[] components,
int offset,
Object obj)
Returns a data element array representation of a pixel in this
ColorModel , given an array of unnormalized color/alpha
components. |
Object |
Raster.getDataElements(int x,
int y,
int w,
int h,
Object outData)
Returns the pixel data for the specified rectangle of pixels in a
primitive array of type TransferType.
|
Object |
SampleModel.getDataElements(int x,
int y,
int w,
int h,
Object obj,
DataBuffer data)
Returns the pixel data for the specified rectangle of pixels in a
primitive array of type TransferType.
|
Object |
Raster.getDataElements(int x,
int y,
Object outData)
Returns data for a single pixel in a primitive array of type
TransferType.
|
abstract Object |
SampleModel.getDataElements(int x,
int y,
Object obj,
DataBuffer data)
Returns data for a single pixel in a primitive array of type
TransferType.
|
Object |
BandedSampleModel.getDataElements(int x,
int y,
Object obj,
DataBuffer data)
Returns data for a single pixel in a primitive array of type
TransferType.
|
Object |
SinglePixelPackedSampleModel.getDataElements(int x,
int y,
Object obj,
DataBuffer data)
Returns data for a single pixel in a primitive array of type
TransferType.
|
Object |
MultiPixelPackedSampleModel.getDataElements(int x,
int y,
Object obj,
DataBuffer data)
Returns data for a single pixel in a primitive array of type
TransferType.
|
Object |
ComponentSampleModel.getDataElements(int x,
int y,
Object obj,
DataBuffer data)
Returns data for a single pixel in a primitive array of type
TransferType . |
Object |
IndexColorModel.getDataElements(int rgb,
Object pixel)
Returns a data element array representation of a pixel in this
ColorModel, given an integer pixel representation in the
default RGB color model.
|
Object |
ComponentColorModel.getDataElements(int rgb,
Object pixel)
Returns a data element array representation of a pixel in this
ColorModel , given an integer pixel representation
in the default RGB color model. |
Object |
DirectColorModel.getDataElements(int rgb,
Object pixel)
Returns a data element array representation of a pixel in this
ColorModel , given an integer pixel representation in the
default RGB color model. |
Object |
ColorModel.getDataElements(int rgb,
Object pixel)
Returns a data element array representation of a pixel in this
ColorModel , given an integer pixel representation in
the default RGB color model. |
int |
ComponentColorModel.getGreen(Object inData)
Returns the green color component for the specified pixel, scaled
from 0 to 255 in the default RGB
ColorSpace , sRGB. |
int |
DirectColorModel.getGreen(Object inData)
Returns the green color component for the specified pixel, scaled
from 0 to 255 in the default RGB
ColorSpace , sRGB. |
int |
ColorModel.getGreen(Object inData)
Returns the green color component for the specified pixel, scaled
from 0 to 255 in the default RGB
ColorSpace , sRGB. |
float[] |
ComponentColorModel.getNormalizedComponents(Object pixel,
float[] normComponents,
int normOffset)
Returns an array of all of the color/alpha components in normalized
form, given a pixel in this
ColorModel . |
float[] |
ColorModel.getNormalizedComponents(Object pixel,
float[] normComponents,
int normOffset)
Returns an array of all of the color/alpha components in normalized
form, given a pixel in this
ColorModel . |
int |
ComponentColorModel.getRed(Object inData)
Returns the red color component for the specified pixel, scaled
from 0 to 255 in the default RGB ColorSpace, sRGB.
|
int |
DirectColorModel.getRed(Object inData)
Returns the red color component for the specified pixel, scaled
from 0 to 255 in the default RGB
ColorSpace , sRGB. |
int |
ColorModel.getRed(Object inData)
Returns the red color component for the specified pixel, scaled
from 0 to 255 in the default RGB
ColorSpace , sRGB. |
int |
ComponentColorModel.getRGB(Object inData)
Returns the color/alpha components for the specified pixel in the
default RGB color model format.
|
int |
DirectColorModel.getRGB(Object inData)
Returns the color/alpha components for the specified pixel in the
default RGB color model format.
|
int |
ColorModel.getRGB(Object inData)
Returns the color/alpha components for the specified pixel in the
default RGB color model format.
|
void |
WritableRaster.setDataElements(int x,
int y,
int w,
int h,
Object inData)
Sets the data for a rectangle of pixels from a
primitive array of type TransferType.
|
void |
SampleModel.setDataElements(int x,
int y,
int w,
int h,
Object obj,
DataBuffer data)
Sets the data for a rectangle of pixels in the specified DataBuffer
from a primitive array of type TransferType.
|
void |
WritableRaster.setDataElements(int x,
int y,
Object inData)
Sets the data for a single pixel from a
primitive array of type TransferType.
|
abstract void |
SampleModel.setDataElements(int x,
int y,
Object obj,
DataBuffer data)
Sets the data for a single pixel in the specified DataBuffer from a
primitive array of type TransferType.
|
void |
BandedSampleModel.setDataElements(int x,
int y,
Object obj,
DataBuffer data)
Sets the data for a single pixel in the specified DataBuffer from a
primitive array of type TransferType.
|
void |
SinglePixelPackedSampleModel.setDataElements(int x,
int y,
Object obj,
DataBuffer data)
Sets the data for a single pixel in the specified DataBuffer from a
primitive array of type TransferType.
|
void |
MultiPixelPackedSampleModel.setDataElements(int x,
int y,
Object obj,
DataBuffer data)
Sets the data for a single pixel in the specified
DataBuffer from a primitive array of type
TransferType. |
void |
ComponentSampleModel.setDataElements(int x,
int y,
Object obj,
DataBuffer data)
Sets the data for a single pixel in the specified
DataBuffer from a primitive array of type
TransferType . |
Modifier and Type | Class and Description |
---|---|
class |
ParameterBlock
A
ParameterBlock encapsulates all the information about sources and
parameters (Objects) required by a RenderableImageOp, or other
classes that process images. |
class |
RenderableImageOp
This class handles the renderable aspects of an operation with help
from its associated instance of a ContextualRenderedImageFactory.
|
class |
RenderableImageProducer
An adapter class that implements ImageProducer to allow the
asynchronous production of a RenderableImage.
|
class |
RenderContext
A RenderContext encapsulates the information needed to produce a
specific rendering from a RenderableImage.
|
Modifier and Type | Field and Description |
---|---|
protected Vector<Object> |
ParameterBlock.parameters
A Vector of non-source parameters, stored as arbitrary Objects.
|
protected Vector<Object> |
ParameterBlock.sources
A Vector of sources, stored as arbitrary Objects.
|
Modifier and Type | Method and Description |
---|---|
Object |
RenderContext.clone()
Makes a copy of a RenderContext.
|
Object |
ParameterBlock.clone()
Creates a copy of a
ParameterBlock . |
Object |
ParameterBlock.getObjectParameter(int index)
Gets a parameter as an object.
|
Object |
ContextualRenderedImageFactory.getProperty(ParameterBlock paramBlock,
String name)
Gets the appropriate instance of the property specified by the name
parameter.
|
Object |
RenderableImage.getProperty(String name)
Gets a property from the property set of this image.
|
Object |
RenderableImageOp.getProperty(String name)
Gets a property from the property set of this image.
|
Object |
ParameterBlock.getSource(int index)
Returns a source as a general Object.
|
Object |
ParameterBlock.shallowClone()
Creates a shallow copy of a
ParameterBlock . |
Modifier and Type | Method and Description |
---|---|
Vector<Object> |
ParameterBlock.getParameters()
Returns the entire Vector of parameters.
|
Vector<Object> |
ParameterBlock.getSources()
Returns the entire Vector of sources.
|
Modifier and Type | Method and Description |
---|---|
ParameterBlock |
ParameterBlock.add(Object obj)
Adds an object to the list of parameters.
|
ParameterBlock |
ParameterBlock.addSource(Object source)
Adds an image to end of the list of sources.
|
ParameterBlock |
ParameterBlock.set(Object obj,
int index)
Replaces an Object in the list of parameters.
|
ParameterBlock |
ParameterBlock.setSource(Object source,
int index)
Replaces an entry in the list of source with a new source.
|
Modifier and Type | Method and Description |
---|---|
void |
ParameterBlock.setParameters(Vector<Object> parameters)
Sets the entire Vector of parameters to a given Vector.
|
void |
ParameterBlock.setSources(Vector<Object> sources)
Sets the entire Vector of sources to a given Vector.
|
Constructor and Description |
---|
ParameterBlock(Vector<Object> sources)
Constructs a
ParameterBlock with a given Vector
of sources. |
ParameterBlock(Vector<Object> sources,
Vector<Object> parameters)
Constructs a
ParameterBlock with a given Vector of sources and
Vector of parameters. |
ParameterBlock(Vector<Object> sources,
Vector<Object> parameters)
Constructs a
ParameterBlock with a given Vector of sources and
Vector of parameters. |
Modifier and Type | Class and Description |
---|---|
class |
Book
The
Book class provides a representation of a document in
which pages may have different page formats and page painters. |
class |
PageFormat
The
PageFormat class describes the size and
orientation of a page to be printed. |
class |
Paper
The
Paper class describes the physical characteristics of
a piece of paper. |
class |
PrinterAbortException
The
PrinterAbortException class is a subclass of
PrinterException and is used to indicate that a user
or application has terminated the print job while it was in
the process of printing. |
class |
PrinterException
The
PrinterException class and its subclasses are used
to indicate that an exceptional condition has occurred in the print
system. |
class |
PrinterIOException
The
PrinterIOException class is a subclass of
PrinterException and is used to indicate that an IO error
of some sort has occurred while printing. |
class |
PrinterJob
The
PrinterJob class is the principal class that controls
printing. |
Modifier and Type | Method and Description |
---|---|
Object |
Paper.clone()
Creates a copy of this
Paper with the same contents
as this Paper . |
Object |
PageFormat.clone()
Makes a copy of this
PageFormat with the same
contents as this PageFormat . |
Modifier and Type | Class and Description |
---|---|
class |
BeanDescriptor
A BeanDescriptor provides global information about a "bean",
including its Java class, its displayName, etc.
|
class |
Beans
This class provides some general purpose beans control methods.
|
class |
DefaultPersistenceDelegate
The
DefaultPersistenceDelegate is a concrete implementation of
the abstract PersistenceDelegate class and
is the delegate used by default for classes about
which no information is available. |
class |
Encoder
An
Encoder is a class which can be used to create
files or streams that encode the state of a collection of
JavaBeans in terms of their public APIs. |
class |
EventHandler
The
EventHandler class provides
support for dynamically generating event listeners whose methods
execute a simple statement involving an incoming event object
and a target object. |
class |
EventSetDescriptor
An EventSetDescriptor describes a group of events that a given Java
bean fires.
|
class |
Expression
An
Expression object represents a primitive expression
in which a single method is applied to a target and a set of
arguments to return a result - as in "a.getFoo()" . |
class |
FeatureDescriptor
The FeatureDescriptor class is the common baseclass for PropertyDescriptor,
EventSetDescriptor, and MethodDescriptor, etc.
|
class |
IndexedPropertyChangeEvent
An "IndexedPropertyChange" event gets delivered whenever a component that
conforms to the JavaBeans™ specification (a "bean") changes a bound
indexed property.
|
class |
IndexedPropertyDescriptor
An IndexedPropertyDescriptor describes a property that acts like an
array and has an indexed read and/or indexed write method to access
specific elements of the array.
|
class |
IntrospectionException
Thrown when an exception happens during Introspection.
|
class |
Introspector
The Introspector class provides a standard way for tools to learn about
the properties, events, and methods supported by a target Java Bean.
|
class |
MethodDescriptor
A MethodDescriptor describes a particular method that a Java Bean
supports for external access from other components.
|
class |
ParameterDescriptor
The ParameterDescriptor class allows bean implementors to provide
additional information on each of their parameters, beyond the
low level type information provided by the java.lang.reflect.Method
class.
|
class |
PersistenceDelegate
The PersistenceDelegate class takes the responsibility
for expressing the state of an instance of a given class
in terms of the methods in the class's public API.
|
class |
PropertyChangeEvent
A "PropertyChange" event gets delivered whenever a bean changes a "bound"
or "constrained" property.
|
class |
PropertyChangeListenerProxy
A class which extends the
EventListenerProxy
specifically for adding a PropertyChangeListener
with a "bound" property. |
class |
PropertyChangeSupport
This is a utility class that can be used by beans that support bound
properties.
|
class |
PropertyDescriptor
A PropertyDescriptor describes one property that a Java Bean
exports via a pair of accessor methods.
|
class |
PropertyEditorManager
The PropertyEditorManager can be used to locate a property editor for
any given type name.
|
class |
PropertyEditorSupport
This is a support class to help build property editors.
|
class |
PropertyVetoException
A PropertyVetoException is thrown when a proposed change to a
property represents an unacceptable value.
|
class |
SimpleBeanInfo
This is a support class to make it easier for people to provide
BeanInfo classes.
|
class |
Statement
A
Statement object represents a primitive statement
in which a single method is applied to a target and
a set of arguments - as in "a.setFoo(b)" . |
class |
VetoableChangeListenerProxy
A class which extends the
EventListenerProxy
specifically for adding a VetoableChangeListener
with a "constrained" property. |
class |
VetoableChangeSupport
This is a utility class that can be used by beans that support constrained
properties.
|
class |
XMLDecoder
The
XMLDecoder class is used to read XML documents
created using the XMLEncoder and is used just like
the ObjectInputStream . |
class |
XMLEncoder
The
XMLEncoder class is a complementary alternative to
the ObjectOutputStream and can used to generate
a textual representation of a JavaBean in the same
way that the ObjectOutputStream can
be used to create binary representation of Serializable
objects. |
Modifier and Type | Method and Description |
---|---|
Object |
Encoder.get(Object oldInstance)
Returns a tentative value for
oldInstance in
the environment created by this stream. |
Object[] |
Statement.getArguments()
Returns the arguments for the method to invoke.
|
static Object |
Beans.getInstanceOf(Object bean,
Class<?> targetType)
From a given bean, obtain an object representing a specified
type view of that source object.
|
Object |
PropertyChangeEvent.getNewValue()
Gets the new value for the property, expressed as an Object.
|
Object |
PropertyChangeEvent.getOldValue()
Gets the old value for the property, expressed as an Object.
|
Object |
XMLDecoder.getOwner()
Gets the owner of this decoder.
|
Object |
XMLEncoder.getOwner()
Gets the owner of this encoder.
|
Object |
PropertyChangeEvent.getPropagationId()
The "propagationId" field is reserved for future use.
|
Object |
PropertyEditorSupport.getSource()
Returns the bean that is used as the
source of events.
|
Object |
EventHandler.getTarget()
Returns the object to which this event handler will send a message.
|
Object |
Statement.getTarget()
Returns the target object of this statement.
|
Object |
Expression.getValue()
If the value property of this instance is not already set,
this method dynamically finds the method with the specified
methodName on this target with these arguments and calls it.
|
Object |
PropertyEditor.getValue()
Gets the property value.
|
Object |
PropertyEditorSupport.getValue()
Gets the value of the property.
|
Object |
FeatureDescriptor.getValue(String attributeName)
Retrieve a named attribute with this feature.
|
static Object |
Beans.instantiate(ClassLoader cls,
String beanName)
Instantiate a JavaBean.
|
static Object |
Beans.instantiate(ClassLoader cls,
String beanName,
BeanContext beanContext)
Instantiate a JavaBean.
|
static Object |
Beans.instantiate(ClassLoader cls,
String beanName,
BeanContext beanContext,
AppletInitializer initializer)
Instantiate a bean.
|
Object |
EventHandler.invoke(Object proxy,
Method method,
Object[] arguments)
Extract the appropriate property value from the event and
pass it to the action associated with
this
EventHandler . |
Object |
XMLDecoder.readObject()
Reads the next object from the underlying input stream.
|
Object |
Encoder.remove(Object oldInstance)
Removes the entry for this instance, returning the old entry.
|
Modifier and Type | Method and Description |
---|---|
static <T> T |
EventHandler.create(Class<T> listenerInterface,
Object target,
String action)
Creates an implementation of
listenerInterface in which
all of the methods in the listener interface apply
the handler's action to the target . |
static <T> T |
EventHandler.create(Class<T> listenerInterface,
Object target,
String action,
String eventPropertyName)
/**
Creates an implementation of
listenerInterface in which
all of the methods pass the value of the event
expression, eventPropertyName , to the final method in the
statement, action , which is applied to the target . |
static <T> T |
EventHandler.create(Class<T> listenerInterface,
Object target,
String action,
String eventPropertyName,
String listenerMethodName)
Creates an implementation of
listenerInterface in which
the method named listenerMethodName
passes the value of the event expression, eventPropertyName ,
to the final method in the statement, action , which
is applied to the target . |
static DefaultHandler |
XMLDecoder.createHandler(Object owner,
ExceptionListener el,
ClassLoader cl)
Creates a new handler for SAX parser
that can be used to parse embedded XML archives
created by the
XMLEncoder class. |
PropertyEditor |
PropertyDescriptor.createPropertyEditor(Object bean)
Constructs an instance of a property editor using the current
property editor class.
|
boolean |
IndexedPropertyDescriptor.equals(Object obj)
Compares this
PropertyDescriptor against the specified object. |
boolean |
PropertyDescriptor.equals(Object obj)
Compares this
PropertyDescriptor against the specified object. |
void |
PropertyChangeSupport.fireIndexedPropertyChange(String propertyName,
int index,
Object oldValue,
Object newValue)
Reports a bound indexed property update to listeners
that have been registered to track updates of
all properties or a property with the specified name.
|
void |
PropertyChangeSupport.firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Reports a bound property update to listeners
that have been registered to track updates of
all properties or a property with the specified name.
|
void |
VetoableChangeSupport.fireVetoableChange(String propertyName,
Object oldValue,
Object newValue)
Reports a constrained property update to listeners
that have been registered to track updates of
all properties or a property with the specified name.
|
Object |
Encoder.get(Object oldInstance)
Returns a tentative value for
oldInstance in
the environment created by this stream. |
static Object |
Beans.getInstanceOf(Object bean,
Class<?> targetType)
From a given bean, obtain an object representing a specified
type view of that source object.
|
protected void |
PersistenceDelegate.initialize(Class<?> type,
Object oldInstance,
Object newInstance,
Encoder out)
Produce a series of statements with side effects on
newInstance
so that the new instance becomes equivalent to oldInstance . |
protected void |
DefaultPersistenceDelegate.initialize(Class<?> type,
Object oldInstance,
Object newInstance,
Encoder out)
This default implementation of the
initialize method assumes
all state held in objects of this type is exposed via the
matching pairs of "setter" and "getter" methods in the order
they are returned by the Introspector. |
protected abstract Expression |
PersistenceDelegate.instantiate(Object oldInstance,
Encoder out)
Returns an expression whose value is
oldInstance . |
protected Expression |
DefaultPersistenceDelegate.instantiate(Object oldInstance,
Encoder out)
This default implementation of the
instantiate method returns
an expression containing the predefined method name "new" which denotes a
call to a constructor with the arguments as specified in
the DefaultPersistenceDelegate 's constructor. |
Object |
EventHandler.invoke(Object proxy,
Method method,
Object[] arguments)
Extract the appropriate property value from the event and
pass it to the action associated with
this
EventHandler . |
Object |
EventHandler.invoke(Object proxy,
Method method,
Object[] arguments)
Extract the appropriate property value from the event and
pass it to the action associated with
this
EventHandler . |
static boolean |
Beans.isInstanceOf(Object bean,
Class<?> targetType)
Check if a bean can be viewed as a given target type.
|
protected boolean |
PersistenceDelegate.mutatesTo(Object oldInstance,
Object newInstance)
Returns true if an equivalent copy of
oldInstance may be
created by applying a series of statements to newInstance . |
protected boolean |
DefaultPersistenceDelegate.mutatesTo(Object oldInstance,
Object newInstance)
If the number of arguments in the specified constructor is non-zero and
the class of
oldInstance explicitly declares an "equals" method
this method returns the value of oldInstance.equals(newInstance) . |
Object |
Encoder.remove(Object oldInstance)
Removes the entry for this instance, returning the old entry.
|
void |
Customizer.setObject(Object bean)
Set the object to be customized.
|
void |
XMLDecoder.setOwner(Object owner)
Sets the owner of this decoder to
owner . |
void |
XMLEncoder.setOwner(Object owner)
Sets the owner of this encoder to
owner . |
void |
PropertyChangeEvent.setPropagationId(Object propagationId)
Sets the propagationId object for the event.
|
void |
PropertyEditorSupport.setSource(Object source)
Sets the source bean.
|
void |
Expression.setValue(Object value)
Sets the value of this expression to
value . |
void |
PropertyEditor.setValue(Object value)
Set (or change) the object that is to be edited.
|
void |
PropertyEditorSupport.setValue(Object value)
Set (or change) the object that is to be edited.
|
void |
FeatureDescriptor.setValue(String attributeName,
Object value)
Associate a named attribute with this feature.
|
protected void |
Encoder.writeObject(Object o)
Write the specified object to the output stream.
|
void |
XMLEncoder.writeObject(Object o)
Write an XML representation of the specified object to the output.
|
void |
PersistenceDelegate.writeObject(Object oldInstance,
Encoder out)
The
writeObject is a single entry point to the persistence
and is used by a Encoder in the traditional
mode of delegation. |
Constructor and Description |
---|
EventHandler(Object target,
String action,
String eventPropertyName,
String listenerMethodName)
Creates a new
EventHandler object;
you generally use one of the create methods
instead of invoking this constructor directly. |
Expression(Object value,
Object target,
String methodName,
Object[] arguments)
Creates a new
Expression object with the specified value
for the specified target object to invoke the method
specified by the name and by the array of arguments. |
Expression(Object value,
Object target,
String methodName,
Object[] arguments)
Creates a new
Expression object with the specified value
for the specified target object to invoke the method
specified by the name and by the array of arguments. |
Expression(Object target,
String methodName,
Object[] arguments)
Creates a new
Expression object
for the specified target object to invoke the method
specified by the name and by the array of arguments. |
Expression(Object target,
String methodName,
Object[] arguments)
Creates a new
Expression object
for the specified target object to invoke the method
specified by the name and by the array of arguments. |
IndexedPropertyChangeEvent(Object source,
String propertyName,
Object oldValue,
Object newValue,
int index)
Constructs a new
IndexedPropertyChangeEvent object. |
PropertyChangeEvent(Object source,
String propertyName,
Object oldValue,
Object newValue)
Constructs a new
PropertyChangeEvent . |
PropertyChangeSupport(Object sourceBean)
Constructs a
PropertyChangeSupport object. |
PropertyEditorSupport(Object source)
Constructs a
PropertyEditorSupport object. |
Statement(Object target,
String methodName,
Object[] arguments)
Creates a new
Statement object
for the specified target object to invoke the method
specified by the name and by the array of arguments. |
Statement(Object target,
String methodName,
Object[] arguments)
Creates a new
Statement object
for the specified target object to invoke the method
specified by the name and by the array of arguments. |
VetoableChangeSupport(Object sourceBean)
Constructs a
VetoableChangeSupport object. |
XMLDecoder(InputStream in,
Object owner)
Creates a new input stream for reading archives
created by the
XMLEncoder class. |
XMLDecoder(InputStream in,
Object owner,
ExceptionListener exceptionListener)
Creates a new input stream for reading archives
created by the
XMLEncoder class. |
XMLDecoder(InputStream in,
Object owner,
ExceptionListener exceptionListener,
ClassLoader cl)
Creates a new input stream for reading archives
created by the
XMLEncoder class. |
Modifier and Type | Class and Description |
---|---|
class |
BeanContextChildSupport
This is a general support class to provide support for implementing the
BeanContextChild protocol.
|
class |
BeanContextEvent
BeanContextEvent is the abstract root event class
for all events emitted
from, and pertaining to the semantics of, a BeanContext . |
class |
BeanContextMembershipEvent
A
BeanContextMembershipEvent encapsulates
the list of children added to, or removed from,
the membership of a particular BeanContext . |
class |
BeanContextServiceAvailableEvent
This event type is used by the BeanContextServicesListener in order to
identify the service being registered.
|
class |
BeanContextServiceRevokedEvent
This event type is used by the
BeanContextServiceRevokedListener in order to
identify the service being revoked. |
class |
BeanContextServicesSupport
This helper class provides a utility implementation of the
java.beans.beancontext.BeanContextServices interface.
|
protected class |
BeanContextServicesSupport.BCSSChild |
protected class |
BeanContextServicesSupport.BCSSProxyServiceProvider |
protected static class |
BeanContextServicesSupport.BCSSServiceProvider
subclasses may subclass this nested class to add behaviors for
each BeanContextServicesProvider.
|
class |
BeanContextSupport
This helper class provides a utility implementation of the
java.beans.beancontext.BeanContext interface.
|
protected class |
BeanContextSupport.BCSChild |
protected static class |
BeanContextSupport.BCSIterator
protected final subclass that encapsulates an iterator but implements
a noop remove() method.
|
Modifier and Type | Field and Description |
---|---|
static Object |
BeanContext.globalHierarchyLock
This global lock is used by both
BeanContext
and BeanContextServices implementors
to serialize changes in a BeanContext
hierarchy and any service requests etc. |
Modifier and Type | Method and Description |
---|---|
protected Object[] |
BeanContextSupport.copyChildren()
Gets a copy of the this BeanContext's children.
|
Object |
BeanContextServicesSupport.getService(BeanContextChild child,
Object requestor,
Class serviceClass,
Object serviceSelector,
BeanContextServiceRevokedListener bcsrl)
obtain a service which may be delegated
|
Object |
BeanContextServices.getService(BeanContextChild child,
Object requestor,
Class serviceClass,
Object serviceSelector,
BeanContextServiceRevokedListener bcsrl)
A
BeanContextChild , or any arbitrary object
associated with a BeanContextChild , may obtain
a reference to a currently registered service from its
nesting BeanContextServices
via invocation of this method. |
Object |
BeanContextServicesSupport.BCSSProxyServiceProvider.getService(BeanContextServices bcs,
Object requestor,
Class serviceClass,
Object serviceSelector) |
Object |
BeanContextServiceProvider.getService(BeanContextServices bcs,
Object requestor,
Class serviceClass,
Object serviceSelector)
Invoked by
BeanContextServices , this method
requests an instance of a
service from this BeanContextServiceProvider . |
Object |
BeanContext.instantiateChild(String beanName)
Instantiate the javaBean named as a
child of this
BeanContext . |
Object |
BeanContextSupport.instantiateChild(String beanName)
The instantiateChild method is a convenience hook
in BeanContext to simplify
the task of instantiating a Bean, nested,
into a BeanContext.
|
Object |
BeanContextSupport.BCSIterator.next() |
Object[] |
BeanContextSupport.toArray()
Gets all JavaBean or BeanContext
instances currently nested in this BeanContext.
|
Object[] |
BeanContextMembershipEvent.toArray()
Gets the array of children affected by this event.
|
Object[] |
BeanContextSupport.toArray(Object[] arry)
Gets an array containing all children of
this BeanContext that match
the types contained in arry.
|
Modifier and Type | Method and Description |
---|---|
boolean |
BeanContextSupport.add(Object targetChild)
Adds/nests a child within this BeanContext.
|
protected void |
BeanContextSupport.childDeserializedHook(Object child,
BeanContextSupport.BCSChild bcsc)
Called by readObject with the newly deserialized child and BCSChild.
|
protected void |
BeanContextSupport.childJustAddedHook(Object child,
BeanContextSupport.BCSChild bcsc)
subclasses may override this method to simply extend add() semantics
after the child has been added and before the event notification has
occurred.
|
protected void |
BeanContextSupport.childJustRemovedHook(Object child,
BeanContextSupport.BCSChild bcsc)
subclasses may override this method to simply extend remove() semantics
after the child has been removed and before the event notification has
occurred.
|
protected void |
BeanContextServicesSupport.childJustRemovedHook(Object child,
BeanContextSupport.BCSChild bcsc)
called from superclass child removal operations after a child
has been successfully removed.
|
boolean |
BeanContextSupport.contains(Object o)
Determines whether or not the specified object
is currently a child of this BeanContext.
|
boolean |
BeanContextMembershipEvent.contains(Object child)
Is the child specified affected by the event?
|
boolean |
BeanContextSupport.containsKey(Object o)
Determines whether or not the specified object
is currently a child of this BeanContext.
|
protected BeanContextSupport.BCSChild |
BeanContextSupport.createBCSChild(Object targetChild,
Object peer)
Subclasses can override this method to insert their own subclass
of Child without having to override add() or the other Collection
methods that add children to the set.
|
protected BeanContextSupport.BCSChild |
BeanContextServicesSupport.createBCSChild(Object targetChild,
Object peer)
Subclasses can override this method to insert their own subclass
of Child without having to override add() or the other Collection
methods that add children to the set.
|
void |
BeanContextChildSupport.firePropertyChange(String name,
Object oldValue,
Object newValue)
Report a bound property update to any registered listeners.
|
void |
BeanContextChildSupport.fireVetoableChange(String name,
Object oldValue,
Object newValue)
Report a vetoable property update to any registered listeners.
|
protected static BeanContextChild |
BeanContextSupport.getChildBeanContextChild(Object child)
Gets the BeanContextChild (if any) of the specified child
|
protected static BeanContextMembershipListener |
BeanContextSupport.getChildBeanContextMembershipListener(Object child)
Gets the BeanContextMembershipListener
(if any) of the specified child
|
protected static BeanContextServicesListener |
BeanContextServicesSupport.getChildBeanContextServicesListener(Object child)
Gets the BeanContextServicesListener (if any) of the specified
child.
|
protected static PropertyChangeListener |
BeanContextSupport.getChildPropertyChangeListener(Object child)
Gets the PropertyChangeListener
(if any) of the specified child
|
protected static Serializable |
BeanContextSupport.getChildSerializable(Object child)
Gets the Serializable (if any) associated with the specified Child
|
protected static VetoableChangeListener |
BeanContextSupport.getChildVetoableChangeListener(Object child)
Gets the VetoableChangeListener
(if any) of the specified child
|
protected static Visibility |
BeanContextSupport.getChildVisibility(Object child)
Gets the Component (if any) associated with the specified child.
|
Object |
BeanContextServicesSupport.getService(BeanContextChild child,
Object requestor,
Class serviceClass,
Object serviceSelector,
BeanContextServiceRevokedListener bcsrl)
obtain a service which may be delegated
|
Object |
BeanContextServices.getService(BeanContextChild child,
Object requestor,
Class serviceClass,
Object serviceSelector,
BeanContextServiceRevokedListener bcsrl)
A
BeanContextChild , or any arbitrary object
associated with a BeanContextChild , may obtain
a reference to a currently registered service from its
nesting BeanContextServices
via invocation of this method. |
Object |
BeanContextServicesSupport.BCSSProxyServiceProvider.getService(BeanContextServices bcs,
Object requestor,
Class serviceClass,
Object serviceSelector) |
Object |
BeanContextServiceProvider.getService(BeanContextServices bcs,
Object requestor,
Class serviceClass,
Object serviceSelector)
Invoked by
BeanContextServices , this method
requests an instance of a
service from this BeanContextServiceProvider . |
void |
BeanContextServicesSupport.releaseService(BeanContextChild child,
Object requestor,
Object service)
release a service
|
void |
BeanContextServices.releaseService(BeanContextChild child,
Object requestor,
Object service)
Releases a
BeanContextChild 's
(or any arbitrary object associated with a BeanContextChild)
reference to the specified service by calling releaseService()
on the underlying BeanContextServiceProvider . |
void |
BeanContextServicesSupport.BCSSProxyServiceProvider.releaseService(BeanContextServices bcs,
Object requestor,
Object service) |
void |
BeanContextServiceProvider.releaseService(BeanContextServices bcs,
Object requestor,
Object service)
Invoked by
BeanContextServices ,
this method releases a nested BeanContextChild 's
(or any arbitrary object associated with a
BeanContextChild ) reference to the specified service. |
boolean |
BeanContextSupport.remove(Object targetChild)
Removes a child from this BeanContext.
|
protected boolean |
BeanContextSupport.remove(Object targetChild,
boolean callChildSetBC)
internal remove used when removal caused by
unexpected setBeanContext or
by remove() invocation.
|
Object[] |
BeanContextSupport.toArray(Object[] arry)
Gets an array containing all children of
this BeanContext that match
the types contained in arry.
|
protected boolean |
BeanContextSupport.validatePendingAdd(Object targetChild)
Subclasses of this class may override, or envelope, this method to
add validation behavior for the BeanContext to examine child objects
immediately prior to their being added to the BeanContext.
|
protected boolean |
BeanContextSupport.validatePendingRemove(Object targetChild)
Subclasses of this class may override, or envelope, this method to
add validation behavior for the BeanContext to examine child objects
immediately prior to their being removed from the BeanContext.
|
Constructor and Description |
---|
BeanContextMembershipEvent(BeanContext bc,
Object[] changes)
Contruct a BeanContextMembershipEvent
|
Modifier and Type | Class and Description |
---|---|
class |
BufferedInputStream
A
BufferedInputStream adds
functionality to another input stream-namely,
the ability to buffer the input and to
support the mark and reset
methods. |
class |
BufferedOutputStream
The class implements a buffered output stream.
|
class |
BufferedReader
Reads text from a character-input stream, buffering characters so as to
provide for the efficient reading of characters, arrays, and lines.
|
class |
BufferedWriter
Writes text to a character-output stream, buffering characters so as to
provide for the efficient writing of single characters, arrays, and strings.
|
class |
ByteArrayInputStream
A
ByteArrayInputStream contains
an internal buffer that contains bytes that
may be read from the stream. |
class |
ByteArrayOutputStream
This class implements an output stream in which the data is
written into a byte array.
|
class |
CharArrayReader
This class implements a character buffer that can be used as a
character-input stream.
|
class |
CharArrayWriter
This class implements a character buffer that can be used as an Writer.
|
class |
CharConversionException
Base class for character conversion exceptions.
|
class |
Console
Methods to access the character-based console device, if any, associated
with the current Java virtual machine.
|
class |
DataInputStream
A data input stream lets an application read primitive Java data
types from an underlying input stream in a machine-independent
way.
|
class |
DataOutputStream
A data output stream lets an application write primitive Java data
types to an output stream in a portable way.
|
class |
EOFException
Signals that an end of file or end of stream has been reached
unexpectedly during input.
|
class |
File
An abstract representation of file and directory pathnames.
|
class |
FileDescriptor
Instances of the file descriptor class serve as an opaque handle
to the underlying machine-specific structure representing an open
file, an open socket, or another source or sink of bytes.
|
class |
FileInputStream
A
FileInputStream obtains input bytes
from a file in a file system. |
class |
FileNotFoundException
Signals that an attempt to open the file denoted by a specified pathname
has failed.
|
class |
FileOutputStream
A file output stream is an output stream for writing data to a
File or to a FileDescriptor . |
class |
FilePermission
This class represents access to a file or directory.
|
class |
FileReader
Convenience class for reading character files.
|
class |
FileWriter
Convenience class for writing character files.
|
class |
FilterInputStream
A
FilterInputStream contains
some other input stream, which it uses as
its basic source of data, possibly transforming
the data along the way or providing additional
functionality. |
class |
FilterOutputStream
This class is the superclass of all classes that filter output
streams.
|
class |
FilterReader
Abstract class for reading filtered character streams.
|
class |
FilterWriter
Abstract class for writing filtered character streams.
|
class |
InputStream
This abstract class is the superclass of all classes representing
an input stream of bytes.
|
class |
InputStreamReader
An InputStreamReader is a bridge from byte streams to character streams: It
reads bytes and decodes them into characters using a specified
. |
class |
InterruptedIOException
Signals that an I/O operation has been interrupted.
|
class |
InvalidClassException
Thrown when the Serialization runtime detects one of the following
problems with a Class.
|
class |
InvalidObjectException
Indicates that one or more deserialized objects failed validation
tests.
|
class |
IOError
Thrown when a serious I/O error has occurred.
|
class |
IOException
Signals that an I/O exception of some sort has occurred.
|
class |
LineNumberInputStream
Deprecated.
This class incorrectly assumes that bytes adequately represent
characters. As of JDK 1.1, the preferred way to operate on
character streams is via the new character-stream classes, which
include a class for counting line numbers.
|
class |
LineNumberReader
A buffered character-input stream that keeps track of line numbers.
|
class |
NotActiveException
Thrown when serialization or deserialization is not active.
|
class |
NotSerializableException
Thrown when an instance is required to have a Serializable interface.
|
class |
ObjectInputStream
An ObjectInputStream deserializes primitive data and objects previously
written using an ObjectOutputStream.
|
static class |
ObjectInputStream.GetField
Provide access to the persistent fields read from the input stream.
|
class |
ObjectOutputStream
An ObjectOutputStream writes primitive data types and graphs of Java objects
to an OutputStream.
|
static class |
ObjectOutputStream.PutField
Provide programmatic access to the persistent fields to be written
to ObjectOutput.
|
class |
ObjectStreamClass
Serialization's descriptor for classes.
|
class |
ObjectStreamException
Superclass of all exceptions specific to Object Stream classes.
|
class |
ObjectStreamField
A description of a Serializable field from a Serializable class.
|
class |
OptionalDataException
Exception indicating the failure of an object read operation due to
unread primitive data, or the end of data belonging to a serialized
object in the stream.
|
class |
OutputStream
This abstract class is the superclass of all classes representing
an output stream of bytes.
|
class |
OutputStreamWriter
An OutputStreamWriter is a bridge from character streams to byte streams:
Characters written to it are encoded into bytes using a specified
. |
class |
PipedInputStream
A piped input stream should be connected
to a piped output stream; the piped input
stream then provides whatever data bytes
are written to the piped output stream.
|
class |
PipedOutputStream
A piped output stream can be connected to a piped input stream
to create a communications pipe.
|
class |
PipedReader
Piped character-input streams.
|
class |
PipedWriter
Piped character-output streams.
|
class |
PrintStream
A
PrintStream adds functionality to another output stream,
namely the ability to print representations of various data values
conveniently. |
class |
PrintWriter
Prints formatted representations of objects to a text-output stream.
|
class |
PushbackInputStream
A
PushbackInputStream adds
functionality to another input stream, namely
the ability to "push back" or "unread"
one byte. |
class |
PushbackReader
A character-stream reader that allows characters to be pushed back into the
stream.
|
class |
RandomAccessFile
Instances of this class support both reading and writing to a
random access file.
|
class |
Reader
Abstract class for reading character streams.
|
class |
SequenceInputStream
A
SequenceInputStream represents
the logical concatenation of other input
streams. |
class |
SerializablePermission
This class is for Serializable permissions.
|
class |
StreamCorruptedException
Thrown when control information that was read from an object stream
violates internal consistency checks.
|
class |
StreamTokenizer
The
StreamTokenizer class takes an input stream and
parses it into "tokens", allowing the tokens to be
read one at a time. |
class |
StringBufferInputStream
Deprecated.
This class does not properly convert characters into bytes. As
of JDK 1.1, the preferred way to create a stream from a
string is via the
StringReader class. |
class |
StringReader
A character stream whose source is a string.
|
class |
StringWriter
A character stream that collects its output in a string buffer, which can
then be used to construct a string.
|
class |
SyncFailedException
Signals that a sync operation has failed.
|
class |
UnsupportedEncodingException
The Character Encoding is not supported.
|
class |
UTFDataFormatException
Signals that a malformed string in
modified UTF-8
format has been read in a data
input stream or by any class that implements the data input
interface.
|
class |
WriteAbortedException
Signals that one of the ObjectStreamExceptions was thrown during a
write operation.
|
class |
Writer
Abstract class for writing to character streams.
|
Modifier and Type | Field and Description |
---|---|
protected Object |
Writer.lock
The object used to synchronize operations on this stream.
|
protected Object |
Reader.lock
The object used to synchronize operations on this stream.
|
Modifier and Type | Method and Description |
---|---|
abstract Object |
ObjectInputStream.GetField.get(String name,
Object val)
Get the value of the named Object field from the persistent field.
|
Object |
ObjectInputStream.readObject()
Read an object from the ObjectInputStream.
|
Object |
ObjectInput.readObject()
Read and return an object.
|
protected Object |
ObjectInputStream.readObjectOverride()
This method is called by trusted subclasses of ObjectOutputStream that
constructed ObjectOutputStream using the protected no-arg constructor.
|
Object |
ObjectInputStream.readUnshared()
Reads an "unshared" object from the ObjectInputStream.
|
protected Object |
ObjectOutputStream.replaceObject(Object obj)
This method will allow trusted subclasses of ObjectOutputStream to
substitute one object for another during serialization.
|
protected Object |
ObjectInputStream.resolveObject(Object obj)
This method will allow trusted subclasses of ObjectInputStream to
substitute one object for another during deserialization.
|
Modifier and Type | Method and Description |
---|---|
int |
ObjectStreamField.compareTo(Object obj)
Compare this field with another
ObjectStreamField . |
boolean |
File.equals(Object obj)
Tests this abstract pathname for equality with the given object.
|
boolean |
FilePermission.equals(Object obj)
Checks two FilePermission objects for equality.
|
PrintStream |
PrintStream.format(Locale l,
String format,
Object... args)
Writes a formatted string to this output stream using the specified
format string and arguments.
|
PrintWriter |
PrintWriter.format(Locale l,
String format,
Object... args)
Writes a formatted string to this writer using the specified format
string and arguments.
|
PrintStream |
PrintStream.format(String format,
Object... args)
Writes a formatted string to this output stream using the specified
format string and arguments.
|
Console |
Console.format(String fmt,
Object... args)
Writes a formatted string to this console's output stream using
the specified format string and arguments.
|
PrintWriter |
PrintWriter.format(String format,
Object... args)
Writes a formatted string to this writer using the specified format
string and arguments.
|
abstract Object |
ObjectInputStream.GetField.get(String name,
Object val)
Get the value of the named Object field from the persistent field.
|
void |
PrintStream.print(Object obj)
Prints an object.
|
void |
PrintWriter.print(Object obj)
Prints an object.
|
PrintStream |
PrintStream.printf(Locale l,
String format,
Object... args)
A convenience method to write a formatted string to this output stream
using the specified format string and arguments.
|
PrintWriter |
PrintWriter.printf(Locale l,
String format,
Object... args)
A convenience method to write a formatted string to this writer using
the specified format string and arguments.
|
PrintStream |
PrintStream.printf(String format,
Object... args)
A convenience method to write a formatted string to this output stream
using the specified format string and arguments.
|
Console |
Console.printf(String format,
Object... args)
A convenience method to write a formatted string to this console's
output stream using the specified format string and arguments.
|
PrintWriter |
PrintWriter.printf(String format,
Object... args)
A convenience method to write a formatted string to this writer using
the specified format string and arguments.
|
void |
PrintStream.println(Object x)
Prints an Object and then terminate the line.
|
void |
PrintWriter.println(Object x)
Prints an Object and then terminates the line.
|
abstract void |
ObjectOutputStream.PutField.put(String name,
Object val)
Put the value of the named Object field into the persistent field.
|
String |
Console.readLine(String fmt,
Object... args)
Provides a formatted prompt, then reads a single line of text from the
console.
|
char[] |
Console.readPassword(String fmt,
Object... args)
Provides a formatted prompt, then reads a password or passphrase from
the console with echoing disabled.
|
protected Object |
ObjectOutputStream.replaceObject(Object obj)
This method will allow trusted subclasses of ObjectOutputStream to
substitute one object for another during serialization.
|
protected Object |
ObjectInputStream.resolveObject(Object obj)
This method will allow trusted subclasses of ObjectInputStream to
substitute one object for another during deserialization.
|
void |
ObjectOutput.writeObject(Object obj)
Write an object to the underlying storage or stream.
|
void |
ObjectOutputStream.writeObject(Object obj)
Write the specified object to the ObjectOutputStream.
|
protected void |
ObjectOutputStream.writeObjectOverride(Object obj)
Method used by subclasses to override the default writeObject method.
|
void |
ObjectOutputStream.writeUnshared(Object obj)
Writes an "unshared" object to the ObjectOutputStream.
|
Constructor and Description |
---|
Reader(Object lock)
Creates a new character-stream reader whose critical sections will
synchronize on the given object.
|
Writer(Object lock)
Creates a new character-stream writer whose critical sections will
synchronize on the given object.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractMethodError
Thrown when an application tries to call an abstract method.
|
class |
ArithmeticException
Thrown when an exceptional arithmetic condition has occurred.
|
class |
ArrayIndexOutOfBoundsException
Thrown to indicate that an array has been accessed with an
illegal index.
|
class |
ArrayStoreException
Thrown to indicate that an attempt has been made to store the
wrong type of object into an array of objects.
|
class |
AssertionError
Thrown to indicate that an assertion has failed.
|
class |
Boolean
The Boolean class wraps a value of the primitive type
boolean in an object. |
class |
BootstrapMethodError
Thrown to indicate that an
invokedynamic instruction has
failed to find its bootstrap method,
or the bootstrap method has failed to provide a
call site with a target
of the correct method type. |
class |
Byte
The
Byte class wraps a value of primitive type byte
in an object. |
class |
Character
The
Character class wraps a value of the primitive
type char in an object. |
static class |
Character.Subset
Instances of this class represent particular subsets of the Unicode
character set.
|
static class |
Character.UnicodeBlock
A family of character subsets representing the character blocks in the
Unicode specification.
|
class |
Class<T>
Instances of the class
Class represent classes and
interfaces in a running Java application. |
class |
ClassCastException
Thrown to indicate that the code has attempted to cast an object
to a subclass of which it is not an instance.
|
class |
ClassCircularityError
Thrown when the Java Virtual Machine detects a circularity in the
superclass hierarchy of a class being loaded.
|
class |
ClassFormatError
Thrown when the Java Virtual Machine attempts to read a class
file and determines that the file is malformed or otherwise cannot
be interpreted as a class file.
|
class |
ClassLoader
A class loader is an object that is responsible for loading classes.
|
class |
ClassNotFoundException
Thrown when an application tries to load in a class through its
string name using:
The
forName method in class Class . |
class |
ClassValue<T>
Lazily associate a computed value with (potentially) every type.
|
class |
CloneNotSupportedException
Thrown to indicate that the
clone method in class
Object has been called to clone an object, but that
the object's class does not implement the Cloneable
interface. |
class |
Compiler
The
Compiler class is provided to support Java-to-native-code
compilers and related services. |
class |
Double
The
Double class wraps a value of the primitive type
double in an object. |
class |
Enum<E extends Enum<E>>
This is the common base class of all Java language enumeration types.
|
class |
EnumConstantNotPresentException
Thrown when an application tries to access an enum constant by name
and the enum type contains no constant with the specified name.
|
class |
Error
An
Error is a subclass of Throwable
that indicates serious problems that a reasonable application
should not try to catch. |
class |
Exception
The class
Exception and its subclasses are a form of
Throwable that indicates conditions that a reasonable
application might want to catch. |
class |
ExceptionInInitializerError
Signals that an unexpected exception has occurred in a static initializer.
|
class |
Float
The
Float class wraps a value of primitive type
float in an object. |
class |
IllegalAccessError
Thrown if an application attempts to access or modify a field, or
to call a method that it does not have access to.
|
class |
IllegalAccessException
An IllegalAccessException is thrown when an application tries
to reflectively create an instance (other than an array),
set or get a field, or invoke a method, but the currently
executing method does not have access to the definition of
the specified class, field, method or constructor.
|
class |
IllegalArgumentException
Thrown to indicate that a method has been passed an illegal or
inappropriate argument.
|
class |
IllegalMonitorStateException
Thrown to indicate that a thread has attempted to wait on an
object's monitor or to notify other threads waiting on an object's
monitor without owning the specified monitor.
|
class |
IllegalStateException
Signals that a method has been invoked at an illegal or
inappropriate time.
|
class |
IllegalThreadStateException
Thrown to indicate that a thread is not in an appropriate state
for the requested operation.
|
class |
IncompatibleClassChangeError
Thrown when an incompatible class change has occurred to some class
definition.
|
class |
IndexOutOfBoundsException
Thrown to indicate that an index of some sort (such as to an array, to a
string, or to a vector) is out of range.
|
class |
InheritableThreadLocal<T>
This class extends ThreadLocal to provide inheritance of values
from parent thread to child thread: when a child thread is created, the
child receives initial values for all inheritable thread-local variables
for which the parent has values.
|
class |
InstantiationError
Thrown when an application tries to use the Java
new
construct to instantiate an abstract class or an interface. |
class |
InstantiationException
Thrown when an application tries to create an instance of a class
using the
newInstance method in class
Class , but the specified class object cannot be
instantiated. |
class |
Integer
The
Integer class wraps a value of the primitive type
int in an object. |
class |
InternalError
Thrown to indicate some unexpected internal error has occurred in
the Java Virtual Machine.
|
class |
InterruptedException
Thrown when a thread is waiting, sleeping, or otherwise occupied,
and the thread is interrupted, either before or during the activity.
|
class |
LinkageError
Subclasses of
LinkageError indicate that a class has
some dependency on another class; however, the latter class has
incompatibly changed after the compilation of the former class. |
class |
Long
The
Long class wraps a value of the primitive type long in an object. |
class |
Math
The class
Math contains methods for performing basic
numeric operations such as the elementary exponential, logarithm,
square root, and trigonometric functions. |
class |
NegativeArraySizeException
Thrown if an application tries to create an array with negative size.
|
class |
NoClassDefFoundError
Thrown if the Java Virtual Machine or a
ClassLoader instance
tries to load in the definition of a class (as part of a normal method call
or as part of creating a new instance using the new expression)
and no definition of the class could be found. |
class |
NoSuchFieldError
Thrown if an application tries to access or modify a specified
field of an object, and that object no longer has that field.
|
class |
NoSuchFieldException
Signals that the class doesn't have a field of a specified name.
|
class |
NoSuchMethodError
Thrown if an application tries to call a specified method of a
class (either static or instance), and that class no longer has a
definition of that method.
|
class |
NoSuchMethodException
Thrown when a particular method cannot be found.
|
class |
NullPointerException
Thrown when an application attempts to use
null in a
case where an object is required. |
class |
Number
The abstract class
Number is the superclass of classes
BigDecimal , BigInteger ,
Byte , Double , Float ,
Integer , Long , and Short . |
class |
NumberFormatException
Thrown to indicate that the application has attempted to convert
a string to one of the numeric types, but that the string does not
have the appropriate format.
|
class |
OutOfMemoryError
Thrown when the Java Virtual Machine cannot allocate an object
because it is out of memory, and no more memory could be made
available by the garbage collector.
|
class |
Package
Package objects contain version information
about the implementation and specification of a Java package. |
class |
Process
The
ProcessBuilder.start() and
Runtime.exec
methods create a native process and return an instance of a
subclass of Process that can be used to control the process
and obtain information about it. |
class |
ProcessBuilder
This class is used to create operating system processes.
|
static class |
ProcessBuilder.Redirect
Represents a source of subprocess input or a destination of
subprocess output.
|
class |
ReflectiveOperationException
Common superclass of exceptions thrown by reflective operations in
core reflection.
|
class |
Runtime
Every Java application has a single instance of class
Runtime that allows the application to interface with
the environment in which the application is running. |
class |
RuntimeException
RuntimeException is the superclass of those
exceptions that can be thrown during the normal operation of the
Java Virtual Machine. |
class |
RuntimePermission
This class is for runtime permissions.
|
class |
SecurityException
Thrown by the security manager to indicate a security violation.
|
class |
SecurityManager
The security manager is a class that allows
applications to implement a security policy.
|
class |
Short
The
Short class wraps a value of primitive type short in an object. |
class |
StackOverflowError
Thrown when a stack overflow occurs because an application
recurses too deeply.
|
class |
StackTraceElement
An element in a stack trace, as returned by
Throwable.getStackTrace() . |
class |
StrictMath
The class
StrictMath contains methods for performing basic
numeric operations such as the elementary exponential, logarithm,
square root, and trigonometric functions. |
class |
String
The
String class represents character strings. |
class |
StringBuffer
A thread-safe, mutable sequence of characters.
|
class |
StringBuilder
A mutable sequence of characters.
|
class |
StringIndexOutOfBoundsException
Thrown by
String methods to indicate that an index
is either negative or greater than the size of the string. |
class |
System
The
System class contains several useful class fields
and methods. |
class |
Thread
A thread is a thread of execution in a program.
|
class |
ThreadDeath
An instance of
ThreadDeath is thrown in the victim thread
when the (deprecated) Thread.stop() method is invoked. |
class |
ThreadGroup
A thread group represents a set of threads.
|
class |
ThreadLocal<T>
This class provides thread-local variables.
|
class |
Throwable
The
Throwable class is the superclass of all errors and
exceptions in the Java language. |
class |
TypeNotPresentException
Thrown when an application tries to access a type using a string
representing the type's name, but no definition for the type with
the specified name can be found.
|
class |
UnknownError
Thrown when an unknown but serious exception has occurred in the
Java Virtual Machine.
|
class |
UnsatisfiedLinkError
Thrown if the Java Virtual Machine cannot find an appropriate
native-language definition of a method declared
native . |
class |
UnsupportedClassVersionError
Thrown when the Java Virtual Machine attempts to read a class
file and determines that the major and minor version numbers
in the file are not supported.
|
class |
UnsupportedOperationException
Thrown to indicate that the requested operation is not supported.
|
class |
VerifyError
Thrown when the "verifier" detects that a class file,
though well formed, contains some sort of internal inconsistency
or security problem.
|
class |
VirtualMachineError
Thrown to indicate that the Java Virtual Machine is broken or has
run out of resources necessary for it to continue operating.
|
class |
Void
The
Void class is an uninstantiable placeholder class to hold a
reference to the Class object representing the Java keyword
void. |
Modifier and Type | Method and Description |
---|---|
protected Object |
Thread.clone()
Throws CloneNotSupportedException as a Thread can not be meaningfully
cloned.
|
protected Object |
Object.clone()
Creates and returns a copy of this object.
|
protected Object |
Enum.clone()
Throws CloneNotSupportedException.
|
static Object |
Compiler.command(Object any)
Examines the argument type and its fields and perform some documented
operation.
|
protected Object |
ClassLoader.getClassLoadingLock(String className)
Returns the lock object for class loading operations.
|
T[] |
Class.getEnumConstants()
Returns the elements of this enum class or null if this
Class object does not represent an enum type.
|
Object |
SecurityManager.getSecurityContext()
Creates an object that encapsulates the current execution
environment.
|
Object[] |
Class.getSigners()
Gets the signers of this class.
|
Modifier and Type | Method and Description |
---|---|
StringBuffer |
StringBuffer.append(Object obj) |
StringBuilder |
StringBuilder.append(Object obj) |
static void |
System.arraycopy(Object src,
int srcPos,
Object dest,
int destPos,
int length)
Copies an array from the specified source array, beginning at the
specified position, to the specified position of the destination array.
|
T |
Class.cast(Object obj)
Casts an object to the class or interface represented
by this
Class object. |
void |
SecurityManager.checkConnect(String host,
int port,
Object context)
Throws a
SecurityException if the
specified security context is not allowed to open a socket
connection to the specified host and port number. |
void |
SecurityManager.checkPermission(Permission perm,
Object context)
Throws a
SecurityException if the
specified security context is denied access to the resource
specified by the given permission. |
void |
SecurityManager.checkRead(String file,
Object context)
Throws a
SecurityException if the
specified security context is not allowed to read the file
specified by the string argument. |
boolean |
SecurityManager.checkTopLevelWindow(Object window)
Returns
false if the calling
thread is not trusted to bring up the top-level window indicated
by the window argument. |
static Object |
Compiler.command(Object any)
Examines the argument type and its fields and perform some documented
operation.
|
boolean |
Short.equals(Object obj)
Compares this object to the specified object.
|
boolean |
Character.equals(Object obj)
Compares this object against the specified object.
|
boolean |
Character.Subset.equals(Object obj)
Compares two
Subset objects for equality. |
boolean |
Float.equals(Object obj)
Compares this object against the specified object.
|
boolean |
Double.equals(Object obj)
Compares this object against the specified object.
|
boolean |
Object.equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
boolean |
Byte.equals(Object obj)
Compares this object to the specified object.
|
boolean |
Boolean.equals(Object obj)
Returns
true if and only if the argument is not
null and is a Boolean object that
represents the same boolean value as this object. |
boolean |
Integer.equals(Object obj)
Compares this object to the specified object.
|
boolean |
Enum.equals(Object other)
Returns true if the specified object is equal to this
enum constant.
|
boolean |
Long.equals(Object obj)
Compares this object to the specified object.
|
boolean |
String.equals(Object anObject)
Compares this string to the specified object.
|
boolean |
ProcessBuilder.Redirect.equals(Object obj)
Compares the specified object with this
Redirect for
equality. |
boolean |
StackTraceElement.equals(Object obj)
Returns true if the specified object is another
StackTraceElement instance representing the same execution
point as this instance. |
static String |
String.format(Locale l,
String format,
Object... args)
Returns a formatted string using the specified locale, format string,
and arguments.
|
static String |
String.format(String format,
Object... args)
Returns a formatted string using the specified format string and
arguments.
|
static boolean |
Thread.holdsLock(Object obj)
Returns true if and only if the current thread holds the
monitor lock on the specified object.
|
static int |
System.identityHashCode(Object x)
Returns the same hash code for the given object as
would be returned by the default method hashCode(),
whether or not the given object's class overrides
hashCode().
|
StringBuffer |
StringBuffer.insert(int offset,
Object obj) |
StringBuilder |
StringBuilder.insert(int offset,
Object obj) |
boolean |
Class.isInstance(Object obj)
Determines if the specified
Object is assignment-compatible
with the object represented by this Class . |
protected void |
ClassLoader.setSigners(Class<?> c,
Object[] signers)
Sets the signers of a class.
|
static String |
String.valueOf(Object obj)
Returns the string representation of the
Object argument. |
Constructor and Description |
---|
AssertionError(Object detailMessage)
Constructs an AssertionError with its detail message derived
from the specified object, which is converted to a string as
defined in section 15.18.1.1 of
The Java™ Language Specification.
|
Modifier and Type | Class and Description |
---|---|
class |
AnnotationFormatError
Thrown when the annotation parser attempts to read an annotation
from a class file and determines that the annotation is malformed.
|
class |
AnnotationTypeMismatchException
Thrown to indicate that a program has attempted to access an element of
an annotation whose type has changed after the annotation was compiled
(or serialized).
|
class |
IncompleteAnnotationException
Thrown to indicate that a program has attempted to access an element of
an annotation type that was added to the annotation type definition after
the annotation was compiled (or serialized).
|
Modifier and Type | Method and Description |
---|---|
boolean |
Annotation.equals(Object obj)
Returns true if the specified object represents an annotation
that is logically equivalent to this one.
|
Modifier and Type | Class and Description |
---|---|
class |
ClassDefinition
This class serves as a parameter block to the
Instrumentation.redefineClasses method. |
class |
IllegalClassFormatException
Thrown by an implementation of
ClassFileTransformer.transform
when its input parameters are invalid. |
class |
UnmodifiableClassException
Thrown by an implementation of
Instrumentation.redefineClasses
when one of the specified classes cannot be modified. |
Modifier and Type | Method and Description |
---|---|
long |
Instrumentation.getObjectSize(Object objectToSize)
Returns an implementation-specific approximation of the amount of storage consumed by
the specified object.
|
Modifier and Type | Class and Description |
---|---|
class |
CallSite
|
class |
ConstantCallSite
A
ConstantCallSite is a CallSite whose target is permanent, and can never be changed. |
class |
MethodHandle
A method handle is a typed, directly executable reference to an underlying method,
constructor, field, or similar low-level operation, with optional
transformations of arguments or return values.
|
class |
MethodHandleProxies
This class consists exclusively of static methods that help adapt
method handles to other JVM types, such as interfaces.
|
class |
MethodHandles
This class consists exclusively of static methods that operate on or return
method handles.
|
static class |
MethodHandles.Lookup
A lookup object is a factory for creating method handles,
when the creation requires access checking.
|
class |
MethodType
A method type represents the arguments and return type accepted and
returned by a method handle, or the arguments and return type passed
and expected by a method handle caller.
|
class |
MutableCallSite
A
MutableCallSite is a CallSite whose target variable
behaves like an ordinary field. |
class |
SwitchPoint
A
SwitchPoint is an object which can publish state transitions to other threads. |
class |
VolatileCallSite
A
VolatileCallSite is a CallSite whose target acts like a volatile variable. |
class |
WrongMethodTypeException
Thrown to indicate that code has attempted to call a method handle
via the wrong method type.
|
Modifier and Type | Method and Description |
---|---|
Object |
MethodHandle.invoke(Object... args)
Invokes the method handle, allowing any caller type descriptor,
and optionally performing conversions on arguments and return values.
|
Object |
MethodHandle.invokeExact(Object... args)
Invokes the method handle, allowing any caller type descriptor, but requiring an exact type match.
|
Object |
MethodHandle.invokeWithArguments(List<?> arguments)
Performs a variable arity invocation, passing the arguments in the given array
to the method handle, as if via an inexact
invoke from a call site
which mentions only the type Object , and whose arity is the length
of the argument array. |
Object |
MethodHandle.invokeWithArguments(Object... arguments)
Performs a variable arity invocation, passing the arguments in the given array
to the method handle, as if via an inexact
invoke from a call site
which mentions only the type Object , and whose arity is the length
of the argument array. |
Modifier and Type | Method and Description |
---|---|
MethodHandle |
MethodHandles.Lookup.bind(Object receiver,
String name,
MethodType type)
Produces an early-bound method handle for a non-static method.
|
MethodHandle |
MethodHandle.bindTo(Object x)
Binds a value
x to the first argument of a method handle, without invoking it. |
static MethodHandle |
MethodHandles.constant(Class<?> type,
Object value)
Produces a method handle of the requested return type which returns the given
constant value every time it is invoked.
|
boolean |
MethodType.equals(Object x)
Compares the specified object with this type for equality.
|
static MethodHandle |
MethodHandles.insertArguments(MethodHandle target,
int pos,
Object... values)
Provides a target method handle with one or more bound arguments
in advance of the method handle's invocation.
|
Object |
MethodHandle.invoke(Object... args)
Invokes the method handle, allowing any caller type descriptor,
and optionally performing conversions on arguments and return values.
|
Object |
MethodHandle.invokeExact(Object... args)
Invokes the method handle, allowing any caller type descriptor, but requiring an exact type match.
|
Object |
MethodHandle.invokeWithArguments(Object... arguments)
Performs a variable arity invocation, passing the arguments in the given array
to the method handle, as if via an inexact
invoke from a call site
which mentions only the type Object , and whose arity is the length
of the argument array. |
static boolean |
MethodHandleProxies.isWrapperInstance(Object x)
Determines if the given object was produced by a call to
asInterfaceInstance . |
static MethodHandle |
MethodHandleProxies.wrapperInstanceTarget(Object x)
Produces or recovers a target method handle which is behaviorally
equivalent to the unique method of this wrapper instance.
|
static Class<?> |
MethodHandleProxies.wrapperInstanceType(Object x)
Recovers the unique single-method interface type for which this wrapper instance was created.
|
Modifier and Type | Class and Description |
---|---|
class |
LockInfo
Information about a lock.
|
class |
ManagementFactory
The
ManagementFactory class is a factory class for getting
managed beans for the Java platform. |
class |
ManagementPermission
The permission which the SecurityManager will check when code
that is running with a SecurityManager calls methods defined
in the management interface for the Java platform.
|
class |
MemoryNotificationInfo
The information about a memory notification.
|
class |
MemoryUsage
A MemoryUsage object represents a snapshot of memory usage.
|
class |
MonitorInfo
Information about an object monitor lock.
|
class |
ThreadInfo
Thread information.
|
Modifier and Type | Class and Description |
---|---|
class |
PhantomReference<T>
Phantom reference objects, which are enqueued after the collector
determines that their referents may otherwise be reclaimed.
|
class |
Reference<T>
Abstract base class for reference objects.
|
class |
ReferenceQueue<T>
Reference queues, to which registered reference objects are appended by the
garbage collector after the appropriate reachability changes are detected.
|
class |
SoftReference<T>
Soft reference objects, which are cleared at the discretion of the garbage
collector in response to memory demand.
|
class |
WeakReference<T>
Weak reference objects, which do not prevent their referents from being
made finalizable, finalized, and then reclaimed.
|
Modifier and Type | Class and Description |
---|---|
class |
AccessibleObject
The AccessibleObject class is the base class for Field, Method and
Constructor objects.
|
class |
Array
The
Array class provides static methods to dynamically create and
access Java arrays. |
class |
Constructor<T>
Constructor provides information about, and access to, a single
constructor for a class. |
class |
Field
A
Field provides information about, and dynamic access to, a
single field of a class or an interface. |
class |
GenericSignatureFormatError
Thrown when a syntactically malformed signature attribute is
encountered by a reflective method that needs to interpret the
generic signature information for a type, method or constructor.
|
class |
InvocationTargetException
InvocationTargetException is a checked exception that wraps
an exception thrown by an invoked method or constructor.
|
class |
MalformedParameterizedTypeException
Thrown when a semantically malformed parameterized type is
encountered by a reflective method that needs to instantiate it.
|
class |
Method
A
Method provides information about, and access to, a single method
on a class or interface. |
class |
Modifier
The Modifier class provides
static methods and
constants to decode class and member access modifiers. |
class |
Proxy
Proxy provides static methods for creating dynamic proxy
classes and instances, and it is also the superclass of all
dynamic proxy classes created by those methods. |
class |
ReflectPermission
The Permission class for reflective operations.
|
class |
UndeclaredThrowableException
Thrown by a method invocation on a proxy instance if its invocation
handler's
invoke method throws a
checked exception (a Throwable that is not assignable
to RuntimeException or Error ) that
is not assignable to any of the exception types declared in the
throws clause of the method that was invoked on the
proxy instance and dispatched to the invocation handler. |
Modifier and Type | Method and Description |
---|---|
Object |
Field.get(Object obj)
Returns the value of the field represented by this
Field , on
the specified object. |
static Object |
Array.get(Object array,
int index)
Returns the value of the indexed component in the specified
array object.
|
Object |
Method.getDefaultValue()
Returns the default value for the annotation member represented by
this
Method instance. |
Object |
InvocationHandler.invoke(Object proxy,
Method method,
Object[] args)
Processes a method invocation on a proxy instance and returns
the result.
|
Object |
Method.invoke(Object obj,
Object... args)
Invokes the underlying method represented by this
Method
object, on the specified object with the specified parameters. |
static Object |
Array.newInstance(Class<?> componentType,
int... dimensions)
Creates a new array
with the specified component type and dimensions.
|
static Object |
Array.newInstance(Class<?> componentType,
int length)
Creates a new array with the specified component type and
length.
|
static Object |
Proxy.newProxyInstance(ClassLoader loader,
Class<?>[] interfaces,
InvocationHandler h)
Returns an instance of a proxy class for the specified interfaces
that dispatches method invocations to the specified invocation
handler.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Constructor.equals(Object obj)
Compares this
Constructor against the specified object. |
boolean |
Field.equals(Object obj)
Compares this
Field against the specified object. |
boolean |
Method.equals(Object obj)
Compares this
Method against the specified object. |
Object |
Field.get(Object obj)
Returns the value of the field represented by this
Field , on
the specified object. |
static Object |
Array.get(Object array,
int index)
Returns the value of the indexed component in the specified
array object.
|
boolean |
Field.getBoolean(Object obj)
Gets the value of a static or instance
boolean field. |
static boolean |
Array.getBoolean(Object array,
int index)
Returns the value of the indexed component in the specified
array object, as a
boolean . |
byte |
Field.getByte(Object obj)
Gets the value of a static or instance
byte field. |
static byte |
Array.getByte(Object array,
int index)
Returns the value of the indexed component in the specified
array object, as a
byte . |
char |
Field.getChar(Object obj)
Gets the value of a static or instance field of type
char or of another primitive type convertible to
type char via a widening conversion. |
static char |
Array.getChar(Object array,
int index)
Returns the value of the indexed component in the specified
array object, as a
char . |
double |
Field.getDouble(Object obj)
Gets the value of a static or instance field of type
double or of another primitive type convertible to
type double via a widening conversion. |
static double |
Array.getDouble(Object array,
int index)
Returns the value of the indexed component in the specified
array object, as a
double . |
float |
Field.getFloat(Object obj)
Gets the value of a static or instance field of type
float or of another primitive type convertible to
type float via a widening conversion. |
static float |
Array.getFloat(Object array,
int index)
Returns the value of the indexed component in the specified
array object, as a
float . |
int |
Field.getInt(Object obj)
Gets the value of a static or instance field of type
int or of another primitive type convertible to
type int via a widening conversion. |
static int |
Array.getInt(Object array,
int index)
Returns the value of the indexed component in the specified
array object, as an
int . |
static InvocationHandler |
Proxy.getInvocationHandler(Object proxy)
Returns the invocation handler for the specified proxy instance.
|
static int |
Array.getLength(Object array)
Returns the length of the specified array object, as an
int . |
long |
Field.getLong(Object obj)
Gets the value of a static or instance field of type
long or of another primitive type convertible to
type long via a widening conversion. |
static long |
Array.getLong(Object array,
int index)
Returns the value of the indexed component in the specified
array object, as a
long . |
short |
Field.getShort(Object obj)
Gets the value of a static or instance field of type
short or of another primitive type convertible to
type short via a widening conversion. |
static short |
Array.getShort(Object array,
int index)
Returns the value of the indexed component in the specified
array object, as a
short . |
Object |
InvocationHandler.invoke(Object proxy,
Method method,
Object[] args)
Processes a method invocation on a proxy instance and returns
the result.
|
Object |
InvocationHandler.invoke(Object proxy,
Method method,
Object[] args)
Processes a method invocation on a proxy instance and returns
the result.
|
Object |
Method.invoke(Object obj,
Object... args)
Invokes the underlying method represented by this
Method
object, on the specified object with the specified parameters. |
Object |
Method.invoke(Object obj,
Object... args)
Invokes the underlying method represented by this
Method
object, on the specified object with the specified parameters. |
T |
Constructor.newInstance(Object... initargs)
Uses the constructor represented by this
Constructor object to
create and initialize a new instance of the constructor's
declaring class, with the specified initialization parameters. |
static void |
Array.set(Object array,
int index,
Object value)
Sets the value of the indexed component of the specified array
object to the specified new value.
|
void |
Field.set(Object obj,
Object value)
Sets the field represented by this
Field object on the
specified object argument to the specified new value. |
void |
Field.setBoolean(Object obj,
boolean z)
Sets the value of a field as a
boolean on the specified object. |
static void |
Array.setBoolean(Object array,
int index,
boolean z)
Sets the value of the indexed component of the specified array
object to the specified
boolean value. |
void |
Field.setByte(Object obj,
byte b)
Sets the value of a field as a
byte on the specified object. |
static void |
Array.setByte(Object array,
int index,
byte b)
Sets the value of the indexed component of the specified array
object to the specified
byte value. |
void |
Field.setChar(Object obj,
char c)
Sets the value of a field as a
char on the specified object. |
static void |
Array.setChar(Object array,
int index,
char c)
Sets the value of the indexed component of the specified array
object to the specified
char value. |
void |
Field.setDouble(Object obj,
double d)
Sets the value of a field as a
double on the specified object. |
static void |
Array.setDouble(Object array,
int index,
double d)
Sets the value of the indexed component of the specified array
object to the specified
double value. |
void |
Field.setFloat(Object obj,
float f)
Sets the value of a field as a
float on the specified object. |
static void |
Array.setFloat(Object array,
int index,
float f)
Sets the value of the indexed component of the specified array
object to the specified
float value. |
void |
Field.setInt(Object obj,
int i)
Sets the value of a field as an
int on the specified object. |
static void |
Array.setInt(Object array,
int index,
int i)
Sets the value of the indexed component of the specified array
object to the specified
int value. |
static void |
Array.setLong(Object array,
int index,
long l)
Sets the value of the indexed component of the specified array
object to the specified
long value. |
void |
Field.setLong(Object obj,
long l)
Sets the value of a field as a
long on the specified object. |
static void |
Array.setShort(Object array,
int index,
short s)
Sets the value of the indexed component of the specified array
object to the specified
short value. |
void |
Field.setShort(Object obj,
short s)
Sets the value of a field as a
short on the specified object. |
Modifier and Type | Class and Description |
---|---|
class |
BigDecimal
Immutable, arbitrary-precision signed decimal numbers.
|
class |
BigInteger
Immutable arbitrary-precision integers.
|
class |
MathContext
Immutable objects which encapsulate the context settings which
describe certain rules for numerical operators, such as those
implemented by the
BigDecimal class. |
Modifier and Type | Method and Description |
---|---|
boolean |
BigDecimal.equals(Object x)
Compares this
BigDecimal with the specified
Object for equality. |
boolean |
BigInteger.equals(Object x)
Compares this BigInteger with the specified Object for equality.
|
boolean |
MathContext.equals(Object x)
Compares this
MathContext with the specified
Object for equality. |
Modifier and Type | Class and Description |
---|---|
class |
Authenticator
The class Authenticator represents an object that knows how to obtain
authentication for a network connection.
|
class |
BindException
Signals that an error occurred while attempting to bind a
socket to a local address and port.
|
class |
CacheRequest
Represents channels for storing resources in the
ResponseCache.
|
class |
CacheResponse
Represent channels for retrieving resources from the
ResponseCache.
|
class |
ContentHandler
The abstract class
ContentHandler is the superclass
of all classes that read an Object from a
URLConnection . |
class |
CookieHandler
A CookieHandler object provides a callback mechanism to hook up a
HTTP state management policy implementation into the HTTP protocol
handler.
|
class |
CookieManager
CookieManager provides a concrete implementation of
CookieHandler ,
which separates the storage of cookies from the policy surrounding accepting
and rejecting cookies. |
class |
DatagramPacket
This class represents a datagram packet.
|
class |
DatagramSocket
This class represents a socket for sending and receiving datagram packets.
|
class |
DatagramSocketImpl
Abstract datagram and multicast socket implementation base class.
|
class |
HttpCookie
An HttpCookie object represents an http cookie, which carries state
information between server and user agent.
|
class |
HttpRetryException
Thrown to indicate that a HTTP request needs to be retried
but cannot be retried automatically, due to streaming mode
being enabled.
|
class |
HttpURLConnection
A URLConnection with support for HTTP-specific features.
|
class |
IDN
Provides methods to convert internationalized domain names (IDNs) between
a normal Unicode representation and an ASCII Compatible Encoding (ACE) representation.
|
class |
Inet4Address
This class represents an Internet Protocol version 4 (IPv4) address.
|
class |
Inet6Address
This class represents an Internet Protocol version 6 (IPv6) address.
|
class |
InetAddress
This class represents an Internet Protocol (IP) address.
|
class |
InetSocketAddress
This class implements an IP Socket Address (IP address + port number)
It can also be a pair (hostname + port number), in which case an attempt
will be made to resolve the hostname.
|
class |
InterfaceAddress
This class represents a Network Interface address.
|
class |
JarURLConnection
A URL Connection to a Java ARchive (JAR) file or an entry in a JAR
file.
|
class |
MalformedURLException
Thrown to indicate that a malformed URL has occurred.
|
class |
MulticastSocket
The multicast datagram socket class is useful for sending
and receiving IP multicast packets.
|
class |
NetPermission
This class is for various network permissions.
|
class |
NetworkInterface
This class represents a Network Interface made up of a name,
and a list of IP addresses assigned to this interface.
|
class |
NoRouteToHostException
Signals that an error occurred while attempting to connect a
socket to a remote address and port.
|
class |
PasswordAuthentication
The class PasswordAuthentication is a data holder that is used by
Authenticator.
|
class |
PortUnreachableException
Signals that an ICMP Port Unreachable message has been
received on a connected datagram.
|
class |
ProtocolException
Thrown to indicate that there is an error in the underlying
protocol, such as a TCP error.
|
class |
ProxySelector
Selects the proxy server to use, if any, when connecting to the
network resource referenced by a URL.
|
class |
ResponseCache
Represents implementations of URLConnection caches.
|
class |
SecureCacheResponse
Represents a cache response originally retrieved through secure
means, such as TLS.
|
class |
ServerSocket
This class implements server sockets.
|
class |
Socket
This class implements client sockets (also called just
"sockets").
|
class |
SocketAddress
This class represents a Socket Address with no protocol attachment.
|
class |
SocketException
Thrown to indicate that there is an error creating or accessing a Socket.
|
class |
SocketImpl
The abstract class
SocketImpl is a common superclass
of all classes that actually implement sockets. |
class |
SocketPermission
This class represents access to a network via sockets.
|
class |
SocketTimeoutException
Signals that a timeout has occurred on a socket read or accept.
|
class |
StandardSocketOptions
Defines the standard socket options.
|
class |
UnknownHostException
Thrown to indicate that the IP address of a host could not be determined.
|
class |
UnknownServiceException
Thrown to indicate that an unknown service exception has
occurred.
|
class |
URI
Represents a Uniform Resource Identifier (URI) reference.
|
class |
URISyntaxException
Checked exception thrown to indicate that a string could not be parsed as a
URI reference.
|
class |
URL
Class
URL represents a Uniform Resource
Locator, a pointer to a "resource" on the World
Wide Web. |
class |
URLClassLoader
This class loader is used to load classes and resources from a search
path of URLs referring to both JAR files and directories.
|
class |
URLConnection
The abstract class
URLConnection is the superclass
of all classes that represent a communications link between the
application and a URL. |
class |
URLDecoder
Utility class for HTML form decoding.
|
class |
URLEncoder
Utility class for HTML form encoding.
|
class |
URLStreamHandler
The abstract class
URLStreamHandler is the common
superclass for all stream protocol handlers. |
Modifier and Type | Method and Description |
---|---|
Object |
HttpCookie.clone()
Create and return a copy of this object.
|
Object |
URLConnection.getContent()
Retrieves the contents of this URL connection.
|
Object |
URL.getContent()
Gets the contents of this URL.
|
Object |
URLConnection.getContent(Class[] classes)
Retrieves the contents of this URL connection.
|
Object |
URL.getContent(Class[] classes)
Gets the contents of this URL.
|
abstract Object |
ContentHandler.getContent(URLConnection urlc)
Given a URL connect stream positioned at the beginning of the
representation of an object, this method reads that stream and
creates an object from it.
|
Object |
ContentHandler.getContent(URLConnection urlc,
Class[] classes)
Given a URL connect stream positioned at the beginning of the
representation of an object, this method reads that stream and
creates an object that matches one of the types specified.
|
Object |
SocketOptions.getOption(int optID)
Fetch the value of an option.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SocketPermission.equals(Object obj)
Checks two SocketPermission objects for equality.
|
boolean |
Proxy.equals(Object obj)
Compares this object against the specified object.
|
boolean |
URL.equals(Object obj)
Compares this URL for equality with another object.
|
boolean |
NetworkInterface.equals(Object obj)
Compares this object against the specified object.
|
boolean |
HttpCookie.equals(Object obj)
Test the equality of two http cookies.
|
boolean |
Inet6Address.equals(Object obj)
Compares this object against the specified object.
|
boolean |
Inet4Address.equals(Object obj)
Compares this object against the specified object.
|
boolean |
InetSocketAddress.equals(Object obj)
Compares this object against the specified object.
|
boolean |
InetAddress.equals(Object obj)
Compares this object against the specified object.
|
boolean |
URI.equals(Object ob)
Tests this URI for equality with another object.
|
boolean |
InterfaceAddress.equals(Object obj)
Compares this object against the specified object.
|
void |
SocketOptions.setOption(int optID,
Object value)
Enable/disable the option specified by optID.
|
Modifier and Type | Class and Description |
---|---|
class |
Buffer
A container for data of a specific primitive type.
|
class |
BufferOverflowException
Unchecked exception thrown when a relative put operation reaches
the target buffer's limit.
|
class |
BufferUnderflowException
Unchecked exception thrown when a relative get operation reaches
the source buffer's limit.
|
class |
ByteBuffer
A byte buffer.
|
class |
ByteOrder
A typesafe enumeration for byte orders.
|
class |
CharBuffer
A char buffer.
|
class |
DoubleBuffer
A double buffer.
|
class |
FloatBuffer
A float buffer.
|
class |
IntBuffer
An int buffer.
|
class |
InvalidMarkException
Unchecked exception thrown when an attempt is made to reset a buffer
when its mark is not defined.
|
class |
LongBuffer
A long buffer.
|
class |
MappedByteBuffer
A direct byte buffer whose content is a memory-mapped region of a file.
|
class |
ReadOnlyBufferException
Unchecked exception thrown when a content-mutation method such as
put or compact is invoked upon a read-only buffer.
|
class |
ShortBuffer
A short buffer.
|
Modifier and Type | Method and Description |
---|---|
abstract Object |
Buffer.array()
Returns the array that backs this
buffer (optional operation).
|
Modifier and Type | Method and Description |
---|---|
boolean |
ByteBuffer.equals(Object ob)
Tells whether or not this buffer is equal to another object.
|
boolean |
CharBuffer.equals(Object ob)
Tells whether or not this buffer is equal to another object.
|
boolean |
DoubleBuffer.equals(Object ob)
Tells whether or not this buffer is equal to another object.
|
boolean |
FloatBuffer.equals(Object ob)
Tells whether or not this buffer is equal to another object.
|
boolean |
LongBuffer.equals(Object ob)
Tells whether or not this buffer is equal to another object.
|
boolean |
IntBuffer.equals(Object ob)
Tells whether or not this buffer is equal to another object.
|
boolean |
ShortBuffer.equals(Object ob)
Tells whether or not this buffer is equal to another object.
|
Modifier and Type | Class and Description |
---|---|
class |
AcceptPendingException
Unchecked exception thrown when an attempt is made to initiate an accept
operation on a channel and a previous accept operation has not completed.
|
class |
AlreadyConnectedException
Unchecked exception thrown when an attempt is made to connect a
SocketChannel that is already connected. |
class |
AsynchronousChannelGroup
A grouping of asynchronous channels for the purpose of resource sharing.
|
class |
AsynchronousCloseException
Checked exception received by a thread when another thread closes the
channel or the part of the channel upon which it is blocked in an I/O
operation.
|
class |
AsynchronousFileChannel
An asynchronous channel for reading, writing, and manipulating a file.
|
class |
AsynchronousServerSocketChannel
An asynchronous channel for stream-oriented listening sockets.
|
class |
AsynchronousSocketChannel
An asynchronous channel for stream-oriented connecting sockets.
|
class |
CancelledKeyException
Unchecked exception thrown when an attempt is made to use
a selection key that is no longer valid.
|
class |
Channels
Utility methods for channels and streams.
|
class |
ClosedByInterruptException
Checked exception received by a thread when another thread interrupts it
while it is blocked in an I/O operation upon a channel.
|
class |
ClosedChannelException
Checked exception thrown when an attempt is made to invoke or complete an
I/O operation upon channel that is closed, or at least closed to that
operation.
|
class |
ClosedSelectorException
Unchecked exception thrown when an attempt is made to invoke an I/O
operation upon a closed selector.
|
class |
ConnectionPendingException
Unchecked exception thrown when an attempt is made to connect a
SocketChannel for which a non-blocking connection operation is already in
progress. |
class |
DatagramChannel
A selectable channel for datagram-oriented sockets.
|
class |
FileChannel
A channel for reading, writing, mapping, and manipulating a file.
|
static class |
FileChannel.MapMode
A typesafe enumeration for file-mapping modes.
|
class |
FileLock
A token representing a lock on a region of a file.
|
class |
FileLockInterruptionException
Checked exception received by a thread when another thread interrupts it
while it is waiting to acquire a file lock.
|
class |
IllegalBlockingModeException
Unchecked exception thrown when a blocking-mode-specific operation
is invoked upon a channel in the incorrect blocking mode.
|
class |
IllegalChannelGroupException
Unchecked exception thrown when an attempt is made to open a channel
in a group that was not created by the same provider.
|
class |
IllegalSelectorException
Unchecked exception thrown when an attempt is made to register a channel
with a selector that was not created by the provider that created the
channel.
|
class |
InterruptedByTimeoutException
Checked exception received by a thread when a timeout elapses before an
asynchronous operation completes.
|
class |
MembershipKey
A token representing the membership of an Internet Protocol (IP) multicast
group.
|
class |
NoConnectionPendingException
Unchecked exception thrown when the
finishConnect method of a SocketChannel is invoked without first
successfully invoking its connect method. |
class |
NonReadableChannelException
Unchecked exception thrown when an attempt is made to read
from a channel that was not originally opened for reading.
|
class |
NonWritableChannelException
Unchecked exception thrown when an attempt is made to write
to a channel that was not originally opened for writing.
|
class |
NotYetBoundException
Unchecked exception thrown when an attempt is made to invoke an I/O
operation upon a server socket channel that is not yet bound.
|
class |
NotYetConnectedException
Unchecked exception thrown when an attempt is made to invoke an I/O
operation upon a socket channel that is not yet connected.
|
class |
OverlappingFileLockException
Unchecked exception thrown when an attempt is made to acquire a lock on a
region of a file that overlaps a region already locked by the same Java
virtual machine, or when another thread is already waiting to lock an
overlapping region of the same file.
|
class |
Pipe
A pair of channels that implements a unidirectional pipe.
|
static class |
Pipe.SinkChannel
A channel representing the writable end of a
Pipe . |
static class |
Pipe.SourceChannel
A channel representing the readable end of a
Pipe . |
class |
ReadPendingException
Unchecked exception thrown when an attempt is made to read from an
asynchronous socket channel and a previous read has not completed.
|
class |
SelectableChannel
A channel that can be multiplexed via a
Selector . |
class |
SelectionKey
A token representing the registration of a
SelectableChannel with a
Selector . |
class |
Selector
A multiplexor of
SelectableChannel objects. |
class |
ServerSocketChannel
A selectable channel for stream-oriented listening sockets.
|
class |
ShutdownChannelGroupException
Unchecked exception thrown when an attempt is made to construct a channel in
a group that is shutdown or the completion handler for an I/O operation
cannot be invoked because the channel group has terminated.
|
class |
SocketChannel
A selectable channel for stream-oriented connecting sockets.
|
class |
UnresolvedAddressException
Unchecked exception thrown when an attempt is made to invoke a network
operation upon an unresolved socket address.
|
class |
UnsupportedAddressTypeException
Unchecked exception thrown when an attempt is made to bind or connect
to a socket address of a type that is not supported.
|
class |
WritePendingException
Unchecked exception thrown when an attempt is made to write to an
asynchronous socket channel and a previous write has not completed.
|
Modifier and Type | Method and Description |
---|---|
Object |
SelectionKey.attach(Object ob)
Attaches the given object to this key.
|
Object |
SelectionKey.attachment()
Retrieves the current attachment.
|
abstract Object |
SelectableChannel.blockingLock()
Retrieves the object upon which the
configureBlocking and register methods synchronize. |
Modifier and Type | Method and Description |
---|---|
Object |
SelectionKey.attach(Object ob)
Attaches the given object to this key.
|
abstract SelectionKey |
SelectableChannel.register(Selector sel,
int ops,
Object att)
Registers this channel with the given selector, returning a selection
key.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractInterruptibleChannel
Base implementation class for interruptible channels.
|
class |
AbstractSelectableChannel
Base implementation class for selectable channels.
|
class |
AbstractSelectionKey
Base implementation class for selection keys.
|
class |
AbstractSelector
Base implementation class for selectors.
|
class |
AsynchronousChannelProvider
Service-provider class for asynchronous channels.
|
class |
SelectorProvider
Service-provider class for selectors and selectable channels.
|
Modifier and Type | Method and Description |
---|---|
Object |
AbstractSelectableChannel.blockingLock() |
Modifier and Type | Method and Description |
---|---|
protected abstract SelectionKey |
AbstractSelector.register(AbstractSelectableChannel ch,
int ops,
Object att)
Registers the given channel with this selector.
|
SelectionKey |
AbstractSelectableChannel.register(Selector sel,
int ops,
Object att)
Registers this channel with the given selector, returning a selection key.
|
Modifier and Type | Class and Description |
---|---|
class |
CharacterCodingException
Checked exception thrown when a character encoding
or decoding error occurs.
|
class |
Charset
A named mapping between sequences of sixteen-bit Unicode code units and sequences of
bytes.
|
class |
CharsetDecoder
An engine that can transform a sequence of bytes in a specific charset into a sequence of
sixteen-bit Unicode characters.
|
class |
CharsetEncoder
An engine that can transform a sequence of sixteen-bit Unicode characters into a sequence of
bytes in a specific charset.
|
class |
CoderMalfunctionError
Error thrown when the
decodeLoop method of
a CharsetDecoder , or the encodeLoop method of a CharsetEncoder , throws an unexpected
exception. |
class |
CoderResult
A description of the result state of a coder.
|
class |
CodingErrorAction
A typesafe enumeration for coding-error actions.
|
class |
IllegalCharsetNameException
Unchecked exception thrown when a string that is not a
legal charset name is used as such.
|
class |
MalformedInputException
Checked exception thrown when an input byte sequence is not legal for given
charset, or an input character sequence is not a legal sixteen-bit Unicode
sequence.
|
class |
StandardCharsets
Constant definitions for the standard
Charsets . |
class |
UnmappableCharacterException
Checked exception thrown when an input character (or byte) sequence
is valid but cannot be mapped to an output byte (or character)
sequence.
|
class |
UnsupportedCharsetException
Unchecked exception thrown when no support is available
for a requested charset.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Charset.equals(Object ob)
Tells whether or not this object is equal to another.
|
Modifier and Type | Class and Description |
---|---|
class |
CharsetProvider
Charset service-provider class.
|
Modifier and Type | Class and Description |
---|---|
class |
AccessDeniedException
Checked exception thrown when a file system operation is denied, typically
due to a file permission or other access check.
|
class |
AtomicMoveNotSupportedException
Checked exception thrown when a file cannot be moved as an atomic file system
operation.
|
class |
ClosedDirectoryStreamException
Unchecked exception thrown when an attempt is made to invoke an operation on
a directory stream that is closed.
|
class |
ClosedFileSystemException
Unchecked exception thrown when an attempt is made to invoke an operation on
a file and the file system is closed.
|
class |
ClosedWatchServiceException
Unchecked exception thrown when an attempt is made to invoke an operation on
a watch service that is closed.
|
class |
DirectoryIteratorException
Runtime exception thrown if an I/O error is encountered when iterating over
the entries in a directory.
|
class |
DirectoryNotEmptyException
Checked exception thrown when a file system operation fails because a
directory is not empty.
|
class |
FileAlreadyExistsException
Checked exception thrown when an attempt is made to create a file or
directory and a file of that name already exists.
|
class |
Files
This class consists exclusively of static methods that operate on files,
directories, or other types of files.
|
class |
FileStore
Storage for files.
|
class |
FileSystem
Provides an interface to a file system and is the factory for objects to
access files and other objects in the file system.
|
class |
FileSystemAlreadyExistsException
Runtime exception thrown when an attempt is made to create a file system that
already exists.
|
class |
FileSystemException
Thrown when a file system operation fails on one or two files.
|
class |
FileSystemLoopException
Checked exception thrown when a file system loop, or cycle, is encountered.
|
class |
FileSystemNotFoundException
Runtime exception thrown when a file system cannot be found.
|
class |
FileSystems
Factory methods for file systems.
|
class |
InvalidPathException
Unchecked exception thrown when path string cannot be converted into a
Path because the path string contains invalid characters, or
the path string is invalid for other file system specific reasons. |
class |
LinkPermission
The
Permission class for link creation operations. |
class |
NoSuchFileException
Checked exception thrown when an attempt is made to access a file that does
not exist.
|
class |
NotDirectoryException
Checked exception thrown when a file system operation, intended for a
directory, fails because the file is not a directory.
|
class |
NotLinkException
Checked exception thrown when a file system operation fails because a file
is not a symbolic link.
|
class |
Paths
|
class |
ProviderMismatchException
Unchecked exception thrown when an attempt is made to invoke a method on an
object created by one file system provider with a parameter created by a
different file system provider.
|
class |
ProviderNotFoundException
Runtime exception thrown when a provider of the required type cannot be found.
|
class |
ReadOnlyFileSystemException
Unchecked exception thrown when an attempt is made to update an object
associated with a
read-only FileSystem . |
class |
SimpleFileVisitor<T>
A simple visitor of files with default behavior to visit all files and to
re-throw I/O errors.
|
class |
StandardWatchEventKinds
Defines the standard event kinds.
|
Modifier and Type | Field and Description |
---|---|
static WatchEvent.Kind<Object> |
StandardWatchEventKinds.OVERFLOW
A special event to indicate that events may have been lost or
discarded.
|
Modifier and Type | Method and Description |
---|---|
static Object |
Files.getAttribute(Path path,
String attribute,
LinkOption... options)
Reads the value of a file attribute.
|
abstract Object |
FileStore.getAttribute(String attribute)
Reads the value of a file store attribute.
|
Modifier and Type | Method and Description |
---|---|
static Map<String,Object> |
Files.readAttributes(Path path,
String attributes,
LinkOption... options)
Reads a set of file attributes as a bulk operation.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Path.equals(Object other)
Tests this path for equality with the given object.
|
static Path |
Files.setAttribute(Path path,
String attribute,
Object value,
LinkOption... options)
Sets the value of a file attribute.
|
Modifier and Type | Class and Description |
---|---|
class |
AclEntry
An entry in an access control list (ACL).
|
static class |
AclEntry.Builder
A builder of
AclEntry objects. |
class |
FileTime
Represents the value of a file's time stamp attribute.
|
class |
PosixFilePermissions
This class consists exclusively of static methods that operate on sets of
PosixFilePermission objects. |
class |
UserPrincipalLookupService
An object to lookup user and group principals by name.
|
class |
UserPrincipalNotFoundException
Checked exception thrown when a lookup of
UserPrincipal fails because
the principal does not exist. |
Modifier and Type | Method and Description |
---|---|
Object |
BasicFileAttributes.fileKey()
Returns an object that uniquely identifies the given file, or
null if a file key is not available. |
Modifier and Type | Method and Description |
---|---|
boolean |
AclEntry.equals(Object ob)
Compares the specified object with this ACL entry for equality.
|
boolean |
FileTime.equals(Object obj)
Tests this
FileTime for equality with the given object. |
Modifier and Type | Class and Description |
---|---|
class |
FileSystemProvider
Service-provider class for file systems.
|
class |
FileTypeDetector
A file type detector for probing a file to guess its file type.
|
Modifier and Type | Method and Description |
---|---|
abstract Map<String,Object> |
FileSystemProvider.readAttributes(Path path,
String attributes,
LinkOption... options)
Reads a set of file attributes as a bulk operation.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
FileSystemProvider.setAttribute(Path path,
String attribute,
Object value,
LinkOption... options)
Sets the value of a file attribute.
|
Modifier and Type | Class and Description |
---|---|
class |
AccessException
An
AccessException is thrown by certain methods of the
java.rmi.Naming class (specifically bind ,
rebind , and unbind ) and methods of the
java.rmi.activation.ActivationSystem interface to
indicate that the caller does not have permission to perform the action
requested by the method call. |
class |
AlreadyBoundException
An
AlreadyBoundException is thrown if an attempt
is made to bind an object in the registry to a name that already
has an associated binding. |
class |
ConnectException
A
ConnectException is thrown if a connection is refused
to the remote host for a remote method call. |
class |
ConnectIOException
A
ConnectIOException is thrown if an
IOException occurs while making a connection
to the remote host for a remote method call. |
class |
MarshalledObject<T>
A
MarshalledObject contains a byte stream with the serialized
representation of an object given to its constructor. |
class |
Naming
The
Naming class provides methods for storing and obtaining
references to remote objects in a remote object registry. |
class |
NoSuchObjectException
A
NoSuchObjectException is thrown if an attempt is made to
invoke a method on an object that no longer exists in the remote virtual
machine. |
class |
NotBoundException
A
NotBoundException is thrown if an attempt
is made to lookup or unbind in the registry a name that has
no associated binding. |
class |
RemoteException
A
RemoteException is the common superclass for a number of
communication-related exceptions that may occur during the execution of a
remote method call. |
class |
RMISecurityException
Deprecated.
Use
SecurityException instead.
Application code should never directly reference this class, and
RMISecurityManager no longer throws this subclass of
java.lang.SecurityException . |
class |
RMISecurityManager
A subclass of
SecurityManager used by RMI applications that use
downloaded code. |
class |
ServerError
A
ServerError is thrown as a result of a remote method
invocation when an Error is thrown while processing
the invocation on the server, either while unmarshalling the arguments,
executing the remote method itself, or marshalling the return value. |
class |
ServerException
A
ServerException is thrown as a result of a remote method
invocation when a RemoteException is thrown while processing
the invocation on the server, either while unmarshalling the arguments or
executing the remote method itself. |
class |
ServerRuntimeException
Deprecated.
no replacement
|
class |
StubNotFoundException
A
StubNotFoundException is thrown if a valid stub class
could not be found for a remote object when it is exported. |
class |
UnexpectedException
An
UnexpectedException is thrown if the client of a
remote method call receives, as a result of the call, a checked
exception that is not among the checked exception types declared in the
throws clause of the method in the remote interface. |
class |
UnmarshalException
An
UnmarshalException can be thrown while unmarshalling the
parameters or results of a remote method call if any of the following
conditions occur:
if an exception occurs while unmarshalling the call header
if the protocol for the return value is invalid
if a java.io.IOException occurs unmarshalling
parameters (on the server side) or the return value (on the client side). |
Modifier and Type | Method and Description |
---|---|
boolean |
MarshalledObject.equals(Object obj)
Compares this
MarshalledObject to another object. |
Modifier and Type | Class and Description |
---|---|
class |
Activatable
The
Activatable class provides support for remote
objects that require persistent access over time and that
can be activated by the system. |
class |
ActivateFailedException
This exception is thrown by the RMI runtime when activation
fails during a remote call to an activatable object.
|
class |
ActivationDesc
An activation descriptor contains the information necessary to
activate an object:
the object's group identifier,
the object's fully-qualified class name,
the object's code location (the location of the class), a codebase URL
path,
the object's restart "mode", and,
a "marshalled" object that can contain object specific
initialization data.
|
class |
ActivationException
General exception used by the activation interfaces.
|
class |
ActivationGroup
An
ActivationGroup is responsible for creating new
instances of "activatable" objects in its group, informing its
ActivationMonitor when either: its object's become
active or inactive, or the group as a whole becomes inactive. |
class |
ActivationGroup_Stub
ActivationGroup_Stub is a stub class
for the subclasses of java.rmi.activation.ActivationGroup
that are exported as a java.rmi.server.UnicastRemoteObject . |
class |
ActivationGroupDesc
An activation group descriptor contains the information necessary to
create/recreate an activation group in which to activate objects.
|
static class |
ActivationGroupDesc.CommandEnvironment
Startup options for ActivationGroup implementations.
|
class |
ActivationGroupID
The identifier for a registered activation group serves several
purposes:
identifies the group uniquely within the activation system, and
contains a reference to the group's activation system so that the
group can contact its activation system when necessary.
|
class |
ActivationID
Activation makes use of special identifiers to denote remote
objects that can be activated over time.
|
class |
UnknownGroupException
An
UnknownGroupException is thrown by methods of classes and
interfaces in the java.rmi.activation package when the
ActivationGroupID parameter to the method is determined to be
invalid, i.e., not known by the ActivationSystem . |
class |
UnknownObjectException
An
UnknownObjectException is thrown by methods of classes and
interfaces in the java.rmi.activation package when the
ActivationID parameter to the method is determined to be
invalid. |
Modifier and Type | Method and Description |
---|---|
boolean |
ActivationGroupID.equals(Object obj)
Compares two group identifiers for content equality.
|
boolean |
ActivationGroupDesc.equals(Object obj)
Compares two activation group descriptors for content equality.
|
boolean |
ActivationGroupDesc.CommandEnvironment.equals(Object obj)
Compares two command environments for content equality.
|
boolean |
ActivationDesc.equals(Object obj)
Compares two activation descriptors for content equality.
|
boolean |
ActivationID.equals(Object obj)
Compares two activation ids for content equality.
|
Modifier and Type | Class and Description |
---|---|
class |
Lease
A lease contains a unique VM identifier and a lease duration.
|
class |
VMID
A VMID is a identifier that is unique across all Java virtual
machines.
|
Modifier and Type | Method and Description |
---|---|
boolean |
VMID.equals(Object obj)
Compare this VMID to another, and return true if they are the
same identifier.
|
Modifier and Type | Class and Description |
---|---|
class |
LocateRegistry
LocateRegistry is used to obtain a reference to a bootstrap
remote object registry on a particular host (including the local host), or
to create a remote object registry that accepts calls on a specific port. |
Modifier and Type | Class and Description |
---|---|
class |
ExportException
An
ExportException is a RemoteException
thrown if an attempt to export a remote object fails. |
class |
LogStream
Deprecated.
no replacement
|
class |
ObjID
An
ObjID is used to identify a remote object exported
to an RMI runtime. |
class |
Operation
Deprecated.
no replacement
|
class |
RemoteObject
The
RemoteObject class implements the
java.lang.Object behavior for remote objects. |
class |
RemoteObjectInvocationHandler
An implementation of the
InvocationHandler interface for
use with Java Remote Method Invocation (Java RMI). |
class |
RemoteServer
The
RemoteServer class is the common superclass to server
implementations and provides the framework to support a wide range
of remote reference semantics. |
class |
RemoteStub
The
RemoteStub class is the common superclass to client
stubs and provides the framework to support a wide range of remote
reference semantics. |
class |
RMIClassLoader
RMIClassLoader comprises static methods to support
dynamic class loading with RMI. |
class |
RMIClassLoaderSpi
RMIClassLoaderSpi is the service provider interface for
RMIClassLoader . |
class |
RMISocketFactory
An
RMISocketFactory instance is used by the RMI runtime
in order to obtain client and server sockets for RMI calls. |
class |
ServerCloneException
A
ServerCloneException is thrown if a remote exception occurs
during the cloning of a UnicastRemoteObject . |
class |
ServerNotActiveException
An
ServerNotActiveException is an Exception
thrown during a call to RemoteServer.getClientHost if
the getClientHost method is called outside of servicing a remote
method call. |
class |
SkeletonMismatchException
Deprecated.
no replacement. Skeletons are no longer required for remote
method calls in the Java 2 platform v1.2 and greater.
|
class |
SkeletonNotFoundException
Deprecated.
no replacement. Skeletons are no longer required for remote
method calls in the Java 2 platform v1.2 and greater.
|
class |
SocketSecurityException
An obsolete subclass of
ExportException . |
class |
UID
A
UID represents an identifier that is unique over time
with respect to the host it is generated on, or one of 216
"well-known" identifiers. |
class |
UnicastRemoteObject
Used for exporting a remote object with JRMP and obtaining a stub
that communicates to the remote object.
|
Modifier and Type | Method and Description |
---|---|
Object |
UnicastRemoteObject.clone()
Returns a clone of the remote object that is distinct from
the original.
|
static Object |
RMIClassLoader.getSecurityContext(ClassLoader loader)
Deprecated.
no replacement. As of the Java 2 platform v1.2, RMI no
longer uses this method to obtain a class loader's security context.
|
Object |
LoaderHandler.getSecurityContext(ClassLoader loader)
Deprecated.
no replacement
|
Object |
RemoteObjectInvocationHandler.invoke(Object proxy,
Method method,
Object[] args)
Processes a method invocation made on the encapsulating
proxy instance,
proxy , and returns the result. |
Object |
RemoteRef.invoke(Remote obj,
Method method,
Object[] params,
long opnum)
Invoke a method.
|
Modifier and Type | Method and Description |
---|---|
boolean |
RemoteObject.equals(Object obj)
Compares two remote objects for equality.
|
boolean |
UID.equals(Object obj)
Compares the specified object with this
UID for
equality. |
boolean |
ObjID.equals(Object obj)
Compares the specified object with this
ObjID for
equality. |
RemoteStub |
ServerRef.exportObject(Remote obj,
Object data)
Creates a client stub object for the supplied Remote object.
|
Object |
RemoteObjectInvocationHandler.invoke(Object proxy,
Method method,
Object[] args)
Processes a method invocation made on the encapsulating
proxy instance,
proxy , and returns the result. |
Object |
RemoteObjectInvocationHandler.invoke(Object proxy,
Method method,
Object[] args)
Processes a method invocation made on the encapsulating
proxy instance,
proxy , and returns the result. |
Object |
RemoteRef.invoke(Remote obj,
Method method,
Object[] params,
long opnum)
Invoke a method.
|
Modifier and Type | Class and Description |
---|---|
class |
AccessControlContext
An AccessControlContext is used to make system resource access decisions
based on the context it encapsulates.
|
class |
AccessControlException
This exception is thrown by the AccessController to indicate
that a requested access (to a critical system resource such as the
file system or the network) is denied.
|
class |
AccessController
The AccessController class is used for access control operations
and decisions.
|
class |
AlgorithmParameterGenerator
The
AlgorithmParameterGenerator class is used to generate a
set of
parameters to be used with a certain algorithm. |
class |
AlgorithmParameterGeneratorSpi
This class defines the Service Provider Interface (SPI)
for the
AlgorithmParameterGenerator class, which
is used to generate a set of parameters to be used with a certain algorithm. |
class |
AlgorithmParameters
This class is used as an opaque representation of cryptographic parameters.
|
class |
AlgorithmParametersSpi
This class defines the Service Provider Interface (SPI)
for the
AlgorithmParameters class, which is used to manage
algorithm parameters. |
class |
AllPermission
The AllPermission is a permission that implies all other permissions.
|
class |
AuthProvider
This class defines login and logout methods for a provider.
|
class |
BasicPermission
The BasicPermission class extends the Permission class, and
can be used as the base class for permissions that want to
follow the same naming convention as BasicPermission.
|
class |
CodeSigner
This class encapsulates information about a code signer.
|
class |
CodeSource
This class extends the concept of a codebase to
encapsulate not only the location (URL) but also the certificate chains
that were used to verify signed code originating from that location.
|
class |
DigestException
This is the generic Message Digest exception.
|
class |
DigestInputStream
A transparent stream that updates the associated message digest using
the bits going through the stream.
|
class |
DigestOutputStream
A transparent stream that updates the associated message digest using
the bits going through the stream.
|
class |
GeneralSecurityException
The
GeneralSecurityException class is a generic
security exception class that provides type safety for all the
security-related exception classes that extend from it. |
class |
GuardedObject
A GuardedObject is an object that is used to protect access to
another object.
|
class |
Identity
Deprecated.
This class is no longer used. Its functionality has been
replaced by
java.security.KeyStore , the
java.security.cert package, and
java.security.Principal . |
class |
IdentityScope
Deprecated.
This class is no longer used. Its functionality has been
replaced by
java.security.KeyStore , the
java.security.cert package, and
java.security.Principal . |
class |
InvalidAlgorithmParameterException
This is the exception for invalid or inappropriate algorithm parameters.
|
class |
InvalidKeyException
This is the exception for invalid Keys (invalid encoding, wrong
length, uninitialized, etc).
|
class |
InvalidParameterException
This exception, designed for use by the JCA/JCE engine classes,
is thrown when an invalid parameter is passed
to a method.
|
class |
KeyException
This is the basic key exception.
|
class |
KeyFactory
Key factories are used to convert keys (opaque
cryptographic keys of type
Key ) into key specifications
(transparent representations of the underlying key material), and vice
versa. |
class |
KeyFactorySpi
This class defines the Service Provider Interface (SPI)
for the
KeyFactory class. |
class |
KeyManagementException
This is the general key management exception for all operations
dealing with key management.
|
class |
KeyPair
This class is a simple holder for a key pair (a public key and a
private key).
|
class |
KeyPairGenerator
The KeyPairGenerator class is used to generate pairs of
public and private keys.
|
class |
KeyPairGeneratorSpi
This class defines the Service Provider Interface (SPI)
for the
KeyPairGenerator class, which is used to generate
pairs of public and private keys. |
class |
KeyRep
Standardized representation for serialized Key objects.
|
class |
KeyStore
This class represents a storage facility for cryptographic
keys and certificates.
|
static class |
KeyStore.Builder
A description of a to-be-instantiated KeyStore object.
|
static class |
KeyStore.CallbackHandlerProtection
A ProtectionParameter encapsulating a CallbackHandler.
|
static class |
KeyStore.PasswordProtection
A password-based implementation of
ProtectionParameter . |
static class |
KeyStore.PrivateKeyEntry
A
KeyStore entry that holds a PrivateKey
and corresponding certificate chain. |
static class |
KeyStore.SecretKeyEntry
A
KeyStore entry that holds a SecretKey . |
static class |
KeyStore.TrustedCertificateEntry
A
KeyStore entry that holds a trusted
Certificate . |
class |
KeyStoreException
This is the generic KeyStore exception.
|
class |
KeyStoreSpi
This class defines the Service Provider Interface (SPI)
for the
KeyStore class. |
class |
MessageDigest
This MessageDigest class provides applications the functionality of a
message digest algorithm, such as SHA-1 or SHA-256.
|
class |
MessageDigestSpi
This class defines the Service Provider Interface (SPI)
for the
MessageDigest class, which provides the functionality
of a message digest algorithm, such as MD5 or SHA. |
class |
NoSuchAlgorithmException
This exception is thrown when a particular cryptographic algorithm is
requested but is not available in the environment.
|
class |
NoSuchProviderException
This exception is thrown when a particular security provider is
requested but is not available in the environment.
|
class |
Permission
Abstract class for representing access to a system resource.
|
class |
PermissionCollection
Abstract class representing a collection of Permission objects.
|
class |
Permissions
This class represents a heterogeneous collection of Permissions.
|
class |
Policy
A Policy object is responsible for determining whether code executing
in the Java runtime environment has permission to perform a
security-sensitive operation.
|
class |
PolicySpi
This class defines the Service Provider Interface (SPI)
for the
Policy class. |
class |
PrivilegedActionException
This exception is thrown by
doPrivileged(PrivilegedExceptionAction) and
doPrivileged(PrivilegedExceptionAction,
AccessControlContext context) to indicate
that the action being performed threw a checked exception. |
class |
ProtectionDomain
This ProtectionDomain class encapsulates the characteristics of a domain,
which encloses a set of classes whose instances are granted a set
of permissions when being executed on behalf of a given set of Principals.
|
static class |
Provider.Service
The description of a security service.
|
class |
ProviderException
A runtime exception for Provider exceptions (such as
misconfiguration errors or unrecoverable internal errors),
which may be subclassed by Providers to
throw specialized, provider-specific runtime errors.
|
class |
SecureClassLoader
This class extends ClassLoader with additional support for defining
classes with an associated code source and permissions which are
retrieved by the system policy by default.
|
class |
SecureRandom
This class provides a cryptographically strong random number
generator (RNG).
|
class |
SecureRandomSpi
This class defines the Service Provider Interface (SPI)
for the
SecureRandom class. |
class |
Security
This class centralizes all security properties and common security
methods.
|
class |
SecurityPermission
This class is for security permissions.
|
class |
Signature
The Signature class is used to provide applications the functionality
of a digital signature algorithm.
|
class |
SignatureException
This is the generic Signature exception.
|
class |
SignatureSpi
This class defines the Service Provider Interface (SPI)
for the
Signature class, which is used to provide the
functionality of a digital signature algorithm. |
class |
SignedObject
SignedObject is a class for the purpose of creating authentic
runtime objects whose integrity cannot be compromised without being
detected.
|
class |
Signer
Deprecated.
This class is no longer used. Its functionality has been
replaced by
java.security.KeyStore , the
java.security.cert package, and
java.security.Principal . |
class |
Timestamp
This class encapsulates information about a signed timestamp.
|
class |
UnrecoverableEntryException
This exception is thrown if an entry in the keystore cannot be recovered.
|
class |
UnrecoverableKeyException
This exception is thrown if a key in the keystore cannot be recovered.
|
class |
UnresolvedPermission
The UnresolvedPermission class is used to hold Permissions that
were "unresolved" when the Policy was initialized.
|
class |
URIParameter
A parameter that contains a URI pointing to data intended for a
PolicySpi or ConfigurationSpi implementation.
|
Modifier and Type | Method and Description |
---|---|
Object |
MessageDigestSpi.clone()
Returns a clone if the implementation is cloneable.
|
Object |
MessageDigest.clone()
Returns a clone if the implementation is cloneable.
|
Object |
Signature.clone()
Returns a clone if the implementation is cloneable.
|
Object |
SignatureSpi.clone()
Returns a clone if the implementation is cloneable.
|
protected abstract Object |
SignatureSpi.engineGetParameter(String param)
Deprecated.
|
Object |
Provider.get(Object key) |
Object |
GuardedObject.getObject()
Retrieves the guarded object, or throws an exception if access
to the guarded object is denied by the guard.
|
Object |
SignedObject.getObject()
Retrieves the encapsulated object.
|
Object |
Signature.getParameter(String param)
Deprecated.
|
Object |
Provider.Service.newInstance(Object constructorParameter)
Return a new instance of the implementation described by this
service.
|
Object |
Provider.put(Object key,
Object value)
Sets the
key property to have the specified
value . |
protected Object |
KeyRep.readResolve()
Resolve the Key object.
|
Object |
Provider.remove(Object key)
Removes the
key property (and its corresponding
value ). |
Modifier and Type | Method and Description |
---|---|
Enumeration<Object> |
Provider.elements() |
Set<Map.Entry<Object,Object>> |
Provider.entrySet()
Returns an unmodifiable Set view of the property entries contained
in this Provider.
|
Set<Map.Entry<Object,Object>> |
Provider.entrySet()
Returns an unmodifiable Set view of the property entries contained
in this Provider.
|
Enumeration<Object> |
Provider.keys() |
Set<Object> |
Provider.keySet()
Returns an unmodifiable Set view of the property keys contained in
this provider.
|
Collection<Object> |
Provider.values()
Returns an unmodifiable Collection view of the property values
contained in this provider.
|
Modifier and Type | Method and Description |
---|---|
void |
Guard.checkGuard(Object object)
Determines whether or not to allow access to the guarded object
object . |
void |
Permission.checkGuard(Object object)
Implements the guard interface for a permission.
|
protected abstract void |
SignatureSpi.engineSetParameter(String param,
Object value)
Deprecated.
Replaced by
engineSetParameter . |
boolean |
Identity.equals(Object identity)
Deprecated.
Tests for equality between the specified object and this identity.
|
boolean |
AccessControlContext.equals(Object obj)
Checks two AccessControlContext objects for equality.
|
boolean |
Principal.equals(Object another)
Compares this principal to the specified object.
|
boolean |
CodeSigner.equals(Object obj)
Tests for equality between the specified object and this
code signer.
|
boolean |
AllPermission.equals(Object obj)
Checks two AllPermission objects for equality.
|
abstract boolean |
Permission.equals(Object obj)
Checks two Permission objects for equality.
|
boolean |
Timestamp.equals(Object obj)
Tests for equality between the specified object and this
timestamp.
|
boolean |
BasicPermission.equals(Object obj)
Checks two BasicPermission objects for equality.
|
boolean |
UnresolvedPermission.equals(Object obj)
Checks two UnresolvedPermission objects for equality.
|
boolean |
CodeSource.equals(Object obj)
Tests for equality between the specified object and this
object.
|
Object |
Provider.get(Object key) |
Object |
Provider.Service.newInstance(Object constructorParameter)
Return a new instance of the implementation described by this
service.
|
Object |
Provider.put(Object key,
Object value)
Sets the
key property to have the specified
value . |
Object |
Provider.remove(Object key)
Removes the
key property (and its corresponding
value ). |
void |
Signature.setParameter(String param,
Object value)
Deprecated.
Use
setParameter . |
boolean |
Provider.Service.supportsParameter(Object parameter)
Test whether this Service can use the specified parameter.
|
Constructor and Description |
---|
GuardedObject(Object object,
Guard guard)
Constructs a GuardedObject using the specified object and guard.
|
Modifier and Type | Class and Description |
---|---|
class |
AclNotFoundException
This is an exception that is thrown whenever a reference is made to a
non-existent ACL (Access Control List).
|
class |
LastOwnerException
This is an exception that is thrown whenever an attempt is made to delete
the last owner of an Access Control List.
|
class |
NotOwnerException
This is an exception that is thrown whenever the modification of an object
(such as an Access Control List) is only allowed to be done by an owner of
the object, but the Principal attempting the modification is not an owner.
|
Modifier and Type | Method and Description |
---|---|
Object |
AclEntry.clone()
Clones this ACL entry.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Permission.equals(Object another)
Returns true if the object passed matches the permission represented
in this interface.
|
Modifier and Type | Class and Description |
---|---|
class |
Certificate
Abstract class for managing a variety of identity certificates.
|
protected static class |
Certificate.CertificateRep
Alternate Certificate class for serialization.
|
class |
CertificateFactory
This class defines the functionality of a certificate factory, which is
used to generate certificate, certification path (
CertPath )
and certificate revocation list (CRL) objects from their encodings. |
class |
CertificateFactorySpi
This class defines the Service Provider Interface (SPI)
for the
CertificateFactory class. |
class |
CertificateRevokedException
An exception that indicates an X.509 certificate is revoked.
|
class |
CertPath
An immutable sequence of certificates (a certification path).
|
protected static class |
CertPath.CertPathRep
Alternate
CertPath class for serialization. |
class |
CertPathBuilder
A class for building certification paths (also known as certificate chains).
|
class |
CertPathBuilderException
An exception indicating one of a variety of problems encountered when
building a certification path with a
CertPathBuilder . |
class |
CertPathBuilderSpi
The Service Provider Interface (SPI)
for the
CertPathBuilder class. |
class |
CertPathValidator
A class for validating certification paths (also known as certificate
chains).
|
class |
CertPathValidatorException
An exception indicating one of a variety of problems encountered when
validating a certification path.
|
class |
CertPathValidatorSpi
The Service Provider Interface (SPI)
for the
CertPathValidator class. |
class |
CertStore
A class for retrieving
Certificate s and CRL s
from a repository. |
class |
CertStoreException
An exception indicating one of a variety of problems retrieving
certificates and CRLs from a
CertStore . |
class |
CertStoreSpi
The Service Provider Interface (SPI)
for the
CertStore class. |
class |
CollectionCertStoreParameters
Parameters used as input for the Collection
CertStore
algorithm. |
class |
CRL
This class is an abstraction of certificate revocation lists (CRLs) that
have different formats but important common uses.
|
class |
CRLException
CRL (Certificate Revocation List) Exception.
|
class |
LDAPCertStoreParameters
Parameters used as input for the LDAP
CertStore algorithm. |
class |
PKIXBuilderParameters
Parameters used as input for the PKIX
CertPathBuilder
algorithm. |
class |
PKIXCertPathBuilderResult
This class represents the successful result of the PKIX certification
path builder algorithm.
|
class |
PKIXCertPathChecker
An abstract class that performs one or more checks on an
X509Certificate . |
class |
PKIXCertPathValidatorResult
This class represents the successful result of the PKIX certification
path validation algorithm.
|
class |
PKIXParameters
Parameters used as input for the PKIX
CertPathValidator
algorithm. |
class |
PolicyQualifierInfo
An immutable policy qualifier represented by the ASN.1 PolicyQualifierInfo
structure.
|
class |
TrustAnchor
A trust anchor or most-trusted Certification Authority (CA).
|
class |
X509Certificate
Abstract class for X.509 certificates.
|
class |
X509CertSelector
A
CertSelector that selects X509Certificates that
match all specified criteria. |
class |
X509CRL
Abstract class for an X.509 Certificate Revocation List (CRL).
|
class |
X509CRLEntry
Abstract class for a revoked certificate in a CRL (Certificate
Revocation List).
|
class |
X509CRLSelector
A
CRLSelector that selects X509CRLs that
match all specified criteria. |
Modifier and Type | Method and Description |
---|---|
Object |
LDAPCertStoreParameters.clone()
Returns a copy of this object.
|
Object |
PKIXCertPathValidatorResult.clone()
Returns a copy of this object.
|
Object |
PKIXParameters.clone()
Makes a copy of this
PKIXParameters object. |
Object |
CertStoreParameters.clone()
Makes a copy of this
CertStoreParameters . |
Object |
CertPathBuilderResult.clone()
Makes a copy of this
CertPathBuilderResult . |
Object |
CertPathValidatorResult.clone()
Makes a copy of this
CertPathValidatorResult . |
Object |
CertPathParameters.clone()
Makes a copy of this
CertPathParameters . |
Object |
CertSelector.clone()
Makes a copy of this
CertSelector . |
Object |
PKIXCertPathChecker.clone()
Returns a clone of this object.
|
Object |
CollectionCertStoreParameters.clone()
Returns a copy of this object.
|
Object |
CRLSelector.clone()
Makes a copy of this
CRLSelector . |
Object |
X509CertSelector.clone()
Returns a copy of this object.
|
Object |
X509CRLSelector.clone()
Returns a copy of this object.
|
protected Object |
CertPath.CertPathRep.readResolve()
Returns a
CertPath constructed from the type and data. |
protected Object |
Certificate.CertificateRep.readResolve()
Resolve the Certificate Object.
|
protected Object |
CertPath.writeReplace()
Replaces the
CertPath to be serialized with a
CertPathRep object. |
protected Object |
Certificate.writeReplace()
Replace the Certificate to be serialized.
|
Modifier and Type | Method and Description |
---|---|
Collection<Object> |
X509CRLSelector.getIssuerNames()
Returns a copy of the issuerNames criterion.
|
Modifier and Type | Method and Description |
---|---|
boolean |
CertPath.equals(Object other)
Compares this certification path for equality with the specified
object.
|
boolean |
X509CRL.equals(Object other)
Compares this CRL for equality with the given
object.
|
boolean |
X509CRLEntry.equals(Object other)
Compares this CRL entry for equality with the given
object.
|
boolean |
Certificate.equals(Object other)
Compares this certificate for equality with the specified
object.
|
Modifier and Type | Class and Description |
---|---|
class |
DSAParameterSpec
This class specifies the set of parameters used with the DSA algorithm.
|
class |
DSAPrivateKeySpec
This class specifies a DSA private key with its associated parameters.
|
class |
DSAPublicKeySpec
This class specifies a DSA public key with its associated parameters.
|
class |
ECFieldF2m
This immutable class defines an elliptic curve (EC)
characteristic 2 finite field.
|
class |
ECFieldFp
This immutable class defines an elliptic curve (EC) prime
finite field.
|
class |
ECGenParameterSpec
This immutable class specifies the set of parameters used for
generating elliptic curve (EC) domain parameters.
|
class |
ECParameterSpec
This immutable class specifies the set of domain parameters
used with elliptic curve cryptography (ECC).
|
class |
ECPoint
This immutable class represents a point on an elliptic curve (EC)
in affine coordinates.
|
class |
ECPrivateKeySpec
This immutable class specifies an elliptic curve private key with
its associated parameters.
|
class |
ECPublicKeySpec
This immutable class specifies an elliptic curve public key with
its associated parameters.
|
class |
EllipticCurve
This immutable class holds the necessary values needed to represent
an elliptic curve.
|
class |
EncodedKeySpec
This class represents a public or private key in encoded format.
|
class |
InvalidKeySpecException
This is the exception for invalid key specifications.
|
class |
InvalidParameterSpecException
This is the exception for invalid parameter specifications.
|
class |
MGF1ParameterSpec
This class specifies the set of parameters used with mask generation
function MGF1 in OAEP Padding and RSA-PSS signature scheme, as
defined in the
PKCS #1 v2.1
standard.
|
class |
PKCS8EncodedKeySpec
This class represents the ASN.1 encoding of a private key,
encoded according to the ASN.1 type
PrivateKeyInfo . |
class |
PSSParameterSpec
This class specifies a parameter spec for RSA-PSS signature scheme,
as defined in the
PKCS#1 v2.1
standard.
|
class |
RSAKeyGenParameterSpec
This class specifies the set of parameters used to generate an RSA
key pair.
|
class |
RSAMultiPrimePrivateCrtKeySpec
This class specifies an RSA multi-prime private key, as defined in the
PKCS#1 v2.1, using the Chinese Remainder Theorem (CRT) information
values for efficiency.
|
class |
RSAOtherPrimeInfo
This class represents the triplet (prime, exponent, and coefficient)
inside RSA's OtherPrimeInfo structure, as defined in the PKCS#1 v2.1.
|
class |
RSAPrivateCrtKeySpec
This class specifies an RSA private key, as defined in the PKCS#1
standard, using the Chinese Remainder Theorem (CRT) information values for
efficiency.
|
class |
RSAPrivateKeySpec
This class specifies an RSA private key.
|
class |
RSAPublicKeySpec
This class specifies an RSA public key.
|
class |
X509EncodedKeySpec
This class represents the ASN.1 encoding of a public key,
encoded according to the ASN.1 type
SubjectPublicKeyInfo . |
Modifier and Type | Method and Description |
---|---|
boolean |
ECPoint.equals(Object obj)
Compares this elliptic curve point for equality with
the specified object.
|
boolean |
ECFieldFp.equals(Object obj)
Compares this prime finite field for equality with the
specified object.
|
boolean |
ECFieldF2m.equals(Object obj)
Compares this finite field for equality with the
specified object.
|
boolean |
EllipticCurve.equals(Object obj)
Compares this elliptic curve for equality with the
specified object.
|
Modifier and Type | Class and Description |
---|---|
class |
BatchUpdateException
The subclass of
SQLException thrown when an error
occurs during a batch update operation. |
class |
DataTruncation
An exception thrown as a
DataTruncation exception
(on writes) or reported as a
DataTruncation warning (on reads)
when a data values is unexpectedly truncated for reasons other than its having
execeeded MaxFieldSize . |
class |
DriverManager
The basic service for managing a set of JDBC drivers.
NOTE: The DataSource interface, new in the
JDBC 2.0 API, provides another way to connect to a data source. |
class |
DriverPropertyInfo
Driver properties for making a connection.
|
class |
SQLClientInfoException
The subclass of
SQLException is thrown when one or more client info properties
could not be set on a Connection . |
class |
SQLDataException
The subclass of
SQLException thrown when the SQLState class value
is '22', or under vendor-specified conditions. |
class |
SQLException
An exception that provides information on a database access
error or other errors.
|
class |
SQLFeatureNotSupportedException
The subclass of
SQLException thrown when the SQLState class value is '0A'
( the value is 'zero' A). |
class |
SQLIntegrityConstraintViolationException
The subclass of
SQLException thrown when the SQLState class value
is '23', or under vendor-specified conditions. |
class |
SQLInvalidAuthorizationSpecException
The subclass of
SQLException thrown when the SQLState class value
is '28', or under vendor-specified conditions. |
class |
SQLNonTransientConnectionException
The subclass of
SQLException thrown for the SQLState
class value '08', or under vendor-specified conditions. |
class |
SQLNonTransientException
The subclass of
SQLException thrown when an instance where a retry
of the same operation would fail unless the cause of the SQLException
is corrected. |
class |
SQLPermission
The permission for which the
SecurityManager will check
when code that is running in an applet, or an application with a
SecurityManager enabled, calls the
DriverManager.setLogWriter method,
DriverManager.setLogStream (deprecated) method,
SyncFactory.setJNDIContext method,
SyncFactory.setLogger method,
Connection.setNetworktimeout method,
or the Connection.abort method. |
class |
SQLRecoverableException
The subclass of
SQLException thrown in situations where a
previously failed operation might be able to succeed if the application performs
some recovery steps and retries the entire transaction or in the case of a
distributed transaction, the transaction branch. |
class |
SQLSyntaxErrorException
The subclass of
SQLException thrown when the SQLState class value
is '42', or under vendor-specified conditions. |
class |
SQLTimeoutException
The subclass of
SQLException thrown when the timeout specified by Statement
has expired. |
class |
SQLTransactionRollbackException
The subclass of
SQLException thrown when the SQLState class value
is '40', or under vendor-specified conditions. |
class |
SQLTransientConnectionException
The subclass of
SQLException for the SQLState class
value '08', or under vendor-specified conditions. |
class |
SQLTransientException
The subclass of
SQLException is thrown in situations where a
previoulsy failed operation might be able to succeed when the operation is
retried without any intervention by application-level functionality. |
class |
SQLWarning
An exception that provides information on database access
warnings.
|
class |
Time
A thin wrapper around the
java.util.Date class that allows the JDBC
API to identify this as an SQL TIME value. |
class |
Types
The class that defines the constants that are used to identify generic
SQL types, called JDBC types.
|
Modifier and Type | Method and Description |
---|---|
Object |
Array.getArray()
Retrieves the contents of the SQL
ARRAY value designated
by this
Array object in the form of an array in the Java
programming language. |
Object |
Array.getArray(long index,
int count)
Retrieves a slice of the SQL
ARRAY
value designated by this Array object, beginning with the
specified index and containing up to count
successive elements of the SQL array. |
Object |
Array.getArray(long index,
int count,
Map<String,Class<?>> map)
Retreives a slice of the SQL
ARRAY value
designated by this Array object, beginning with the specified
index and containing up to count
successive elements of the SQL array. |
Object |
Array.getArray(Map<String,Class<?>> map)
Retrieves the contents of the SQL
ARRAY value designated by this
Array object. |
Object[] |
Struct.getAttributes()
Produces the ordered values of the attributes of the SQL
structured type that this
Struct object represents. |
Object[] |
Struct.getAttributes(Map<String,Class<?>> map)
Produces the ordered values of the attributes of the SQL
structured type that this
Struct object represents. |
Object |
Ref.getObject()
Retrieves the SQL structured type instance referenced by
this
Ref object. |
Object |
CallableStatement.getObject(int parameterIndex)
Retrieves the value of the designated parameter as an
Object
in the Java programming language. |
Object |
ResultSet.getObject(int columnIndex)
Gets the value of the designated column in the current row
of this
ResultSet object as
an Object in the Java programming language. |
Object |
CallableStatement.getObject(int parameterIndex,
Map<String,Class<?>> map)
Returns an object representing the value of OUT parameter
parameterIndex and uses map for the custom
mapping of the parameter value. |
Object |
ResultSet.getObject(int columnIndex,
Map<String,Class<?>> map)
Retrieves the value of the designated column in the current row
of this
ResultSet object as an Object
in the Java programming language. |
Object |
Ref.getObject(Map<String,Class<?>> map)
Retrieves the referenced object and maps it to a Java type
using the given type map.
|
Object |
CallableStatement.getObject(String parameterName)
Retrieves the value of a parameter as an
Object in the Java
programming language. |
Object |
ResultSet.getObject(String columnLabel)
Gets the value of the designated column in the current row
of this
ResultSet object as
an Object in the Java programming language. |
Object |
CallableStatement.getObject(String parameterName,
Map<String,Class<?>> map)
Returns an object representing the value of OUT parameter
parameterName and uses map for the custom
mapping of the parameter value. |
Object |
ResultSet.getObject(String columnLabel,
Map<String,Class<?>> map)
Retrieves the value of the designated column in the current row
of this
ResultSet object as an Object
in the Java programming language. |
Object |
SQLInput.readObject()
Reads the datum at the head of the stream and returns it as an
Object in the Java programming language. |
Modifier and Type | Method and Description |
---|---|
Array |
Connection.createArrayOf(String typeName,
Object[] elements)
Factory method for creating Array objects.
|
Struct |
Connection.createStruct(String typeName,
Object[] attributes)
Factory method for creating Struct objects.
|
boolean |
RowId.equals(Object obj)
Compares this
RowId to the specified object. |
boolean |
Timestamp.equals(Object ts)
Tests to see if this
Timestamp object is
equal to the given object. |
void |
PreparedStatement.setObject(int parameterIndex,
Object x)
Sets the value of the designated parameter using the given object.
|
void |
PreparedStatement.setObject(int parameterIndex,
Object x,
int targetSqlType)
Sets the value of the designated parameter with the given object.
|
void |
PreparedStatement.setObject(int parameterIndex,
Object x,
int targetSqlType,
int scaleOrLength)
Sets the value of the designated parameter with the given object.
|
void |
Ref.setObject(Object value)
Sets the structured type value that this
Ref
object references to the given instance of Object . |
void |
CallableStatement.setObject(String parameterName,
Object x)
Sets the value of the designated parameter with the given object.
|
void |
CallableStatement.setObject(String parameterName,
Object x,
int targetSqlType)
Sets the value of the designated parameter with the given object.
|
void |
CallableStatement.setObject(String parameterName,
Object x,
int targetSqlType,
int scale)
Sets the value of the designated parameter with the given object.
|
void |
ResultSet.updateObject(int columnIndex,
Object x)
Updates the designated column with an
Object value. |
void |
ResultSet.updateObject(int columnIndex,
Object x,
int scaleOrLength)
Updates the designated column with an
Object value. |
void |
ResultSet.updateObject(String columnLabel,
Object x)
Updates the designated column with an
Object value. |
void |
ResultSet.updateObject(String columnLabel,
Object x,
int scaleOrLength)
Updates the designated column with an
Object value. |
Modifier and Type | Class and Description |
---|---|
class |
Annotation
An Annotation object is used as a wrapper for a text attribute value if
the attribute has annotation characteristics.
|
static class |
AttributedCharacterIterator.Attribute
Defines attribute keys that are used to identify text attributes.
|
class |
AttributedString
An AttributedString holds text and related attribute information.
|
class |
Bidi
This class implements the Unicode Bidirectional Algorithm.
|
class |
BreakIterator
The
BreakIterator class implements methods for finding
the location of boundaries in text. |
class |
ChoiceFormat
A
ChoiceFormat allows you to attach a format to a range of numbers. |
class |
CollationElementIterator
The
CollationElementIterator class is used as an iterator
to walk through each character of an international string. |
class |
CollationKey
A
CollationKey represents a String under the
rules of a specific Collator object. |
class |
Collator
The
Collator class performs locale-sensitive
String comparison. |
class |
DateFormat
DateFormat is an abstract class for date/time formatting subclasses which
formats and parses dates or time in a language-independent manner. |
static class |
DateFormat.Field
Defines constants that are used as attribute keys in the
AttributedCharacterIterator returned
from DateFormat.formatToCharacterIterator and as
field identifiers in FieldPosition . |
class |
DateFormatSymbols
DateFormatSymbols is a public class for encapsulating
localizable date-time formatting data, such as the names of the
months, the names of the days of the week, and the time zone data. |
class |
DecimalFormat
DecimalFormat is a concrete subclass of
NumberFormat that formats decimal numbers. |
class |
DecimalFormatSymbols
This class represents the set of symbols (such as the decimal separator,
the grouping separator, and so on) needed by
DecimalFormat
to format numbers. |
class |
FieldPosition
FieldPosition is a simple class used by Format
and its subclasses to identify fields in formatted output. |
class |
Format
Format is an abstract base class for formatting locale-sensitive
information such as dates, messages, and numbers. |
static class |
Format.Field
Defines constants that are used as attribute keys in the
AttributedCharacterIterator returned
from Format.formatToCharacterIterator and as
field identifiers in FieldPosition . |
class |
MessageFormat
MessageFormat provides a means to produce concatenated
messages in a language-neutral way. |
static class |
MessageFormat.Field
Defines constants that are used as attribute keys in the
AttributedCharacterIterator returned
from MessageFormat.formatToCharacterIterator . |
class |
Normalizer
This class provides the method
normalize which transforms Unicode
text into an equivalent composed or decomposed form, allowing for easier
sorting and searching of text. |
class |
NumberFormat
NumberFormat is the abstract base class for all number
formats. |
static class |
NumberFormat.Field
Defines constants that are used as attribute keys in the
AttributedCharacterIterator returned
from NumberFormat.formatToCharacterIterator and as
field identifiers in FieldPosition . |
class |
ParseException
Signals that an error has been reached unexpectedly
while parsing.
|
class |
ParsePosition
ParsePosition is a simple class used by Format
and its subclasses to keep track of the current position during parsing. |
class |
RuleBasedCollator
The
RuleBasedCollator class is a concrete subclass of
Collator that provides a simple, data-driven, table
collator. |
class |
SimpleDateFormat
SimpleDateFormat is a concrete class for formatting and
parsing dates in a locale-sensitive manner. |
class |
StringCharacterIterator
StringCharacterIterator implements the
CharacterIterator protocol for a String . |
Modifier and Type | Method and Description |
---|---|
Object |
DecimalFormatSymbols.clone()
Standard override.
|
Object |
NumberFormat.clone()
Overrides Cloneable
|
Object |
RuleBasedCollator.clone()
Standard override; no change in semantics.
|
Object |
DateFormatSymbols.clone()
Overrides Cloneable
|
Object |
CharacterIterator.clone()
Create a copy of this iterator
|
Object |
Format.clone()
Creates and returns a copy of this object.
|
Object |
ChoiceFormat.clone()
Overrides Cloneable
|
Object |
DecimalFormat.clone()
Standard override; no change in semantics.
|
Object |
StringCharacterIterator.clone()
Creates a copy of this iterator.
|
Object |
MessageFormat.clone()
Creates and returns a copy of this object.
|
Object |
SimpleDateFormat.clone()
Creates a copy of this
SimpleDateFormat . |
Object |
Collator.clone()
Overrides Cloneable
|
Object |
DateFormat.clone()
Overrides Cloneable
|
Object |
BreakIterator.clone()
Create a copy of this iterator
|
Object |
AttributedCharacterIterator.getAttribute(AttributedCharacterIterator.Attribute attribute)
Returns the value of the named
attribute for the current character. |
Object[] |
ChoiceFormat.getFormats()
Get the formats passed in the constructor.
|
Object |
Annotation.getValue()
Returns the value of the attribute, which may be null.
|
Object[] |
MessageFormat.parse(String source)
Parses text from the beginning of the given string to produce an object
array.
|
Object[] |
MessageFormat.parse(String source,
ParsePosition pos)
Parses the string.
|
Object |
Format.parseObject(String source)
Parses text from the beginning of the given string to produce an object.
|
Object |
NumberFormat.parseObject(String source,
ParsePosition pos)
Parses text from a string to produce a
Number . |
abstract Object |
Format.parseObject(String source,
ParsePosition pos)
Parses text from a string to produce an object.
|
Object |
MessageFormat.parseObject(String source,
ParsePosition pos)
Parses text from a string to produce an object array.
|
Object |
DateFormat.parseObject(String source,
ParsePosition pos)
Parses text from a string to produce a
Date . |
protected Object |
NumberFormat.Field.readResolve()
Resolves instances being deserialized to the predefined constants.
|
protected Object |
AttributedCharacterIterator.Attribute.readResolve()
Resolves instances being deserialized to the predefined constants.
|
protected Object |
MessageFormat.Field.readResolve()
Resolves instances being deserialized to the predefined constants.
|
protected Object |
DateFormat.Field.readResolve()
Resolves instances being deserialized to the predefined constants.
|
Modifier and Type | Method and Description |
---|---|
Map<AttributedCharacterIterator.Attribute,Object> |
AttributedCharacterIterator.getAttributes()
Returns a map with the attributes defined on the current
character.
|
Modifier and Type | Method and Description |
---|---|
void |
AttributedString.addAttribute(AttributedCharacterIterator.Attribute attribute,
Object value)
Adds an attribute to the entire string.
|
void |
AttributedString.addAttribute(AttributedCharacterIterator.Attribute attribute,
Object value,
int beginIndex,
int endIndex)
Adds an attribute to a subrange of the string.
|
int |
Collator.compare(Object o1,
Object o2)
Compares its two arguments for order.
|
boolean |
DecimalFormatSymbols.equals(Object obj)
Override equals.
|
boolean |
NumberFormat.equals(Object obj)
Overrides equals
|
boolean |
RuleBasedCollator.equals(Object obj)
Compares the equality of two collation objects.
|
boolean |
DateFormatSymbols.equals(Object obj)
Override equals
|
boolean |
ChoiceFormat.equals(Object obj)
Equality comparision between two
|
boolean |
DecimalFormat.equals(Object obj)
Overrides equals
|
boolean |
StringCharacterIterator.equals(Object obj)
Compares the equality of two StringCharacterIterator objects.
|
boolean |
AttributedCharacterIterator.Attribute.equals(Object obj)
Compares two objects for equality.
|
boolean |
ParsePosition.equals(Object obj)
Overrides equals
|
boolean |
FieldPosition.equals(Object obj)
Overrides equals
|
boolean |
MessageFormat.equals(Object obj)
Equality comparison between two message format objects
|
boolean |
SimpleDateFormat.equals(Object obj)
Compares the given object with this
SimpleDateFormat for
equality. |
boolean |
Collator.equals(Object that)
Compares the equality of two Collators.
|
boolean |
DateFormat.equals(Object obj)
Overrides equals
|
String |
Format.format(Object obj)
Formats an object to produce a string.
|
StringBuffer |
MessageFormat.format(Object[] arguments,
StringBuffer result,
FieldPosition pos)
Formats an array of objects and appends the
MessageFormat 's
pattern, with format elements replaced by the formatted objects, to the
provided StringBuffer . |
StringBuffer |
NumberFormat.format(Object number,
StringBuffer toAppendTo,
FieldPosition pos)
Formats a number and appends the resulting text to the given string
buffer.
|
abstract StringBuffer |
Format.format(Object obj,
StringBuffer toAppendTo,
FieldPosition pos)
Formats an object and appends the resulting text to a given string
buffer.
|
StringBuffer |
DecimalFormat.format(Object number,
StringBuffer toAppendTo,
FieldPosition pos)
Formats a number and appends the resulting text to the given string
buffer.
|
StringBuffer |
MessageFormat.format(Object arguments,
StringBuffer result,
FieldPosition pos)
Formats an array of objects and appends the
MessageFormat 's
pattern, with format elements replaced by the formatted objects, to the
provided StringBuffer . |
StringBuffer |
DateFormat.format(Object obj,
StringBuffer toAppendTo,
FieldPosition fieldPosition)
Overrides Format.
|
static String |
MessageFormat.format(String pattern,
Object... arguments)
Creates a MessageFormat with the given pattern and uses it
to format the given arguments.
|
AttributedCharacterIterator |
Format.formatToCharacterIterator(Object obj)
Formats an Object producing an
AttributedCharacterIterator . |
AttributedCharacterIterator |
DecimalFormat.formatToCharacterIterator(Object obj)
Formats an Object producing an
AttributedCharacterIterator . |
AttributedCharacterIterator |
MessageFormat.formatToCharacterIterator(Object arguments)
Formats an array of objects and inserts them into the
MessageFormat 's pattern, producing an
AttributedCharacterIterator . |
AttributedCharacterIterator |
SimpleDateFormat.formatToCharacterIterator(Object obj)
Formats an Object producing an
AttributedCharacterIterator . |
static void |
Bidi.reorderVisually(byte[] levels,
int levelStart,
Object[] objects,
int objectStart,
int count)
Reorder the objects in the array into visual order based on their levels.
|
Constructor and Description |
---|
Annotation(Object value)
Constructs an annotation record with the given value, which
may be null.
|
Modifier and Type | Class and Description |
---|---|
class |
BreakIteratorProvider
An abstract class for service providers that
provide concrete implementations of the
BreakIterator class. |
class |
CollatorProvider
An abstract class for service providers that
provide concrete implementations of the
Collator class. |
class |
DateFormatProvider
An abstract class for service providers that
provide concrete implementations of the
DateFormat class. |
class |
DateFormatSymbolsProvider
An abstract class for service providers that
provide instances of the
DateFormatSymbols class. |
class |
DecimalFormatSymbolsProvider
An abstract class for service providers that
provide instances of the
DecimalFormatSymbols class. |
class |
NumberFormatProvider
An abstract class for service providers that
provide concrete implementations of the
NumberFormat class. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractCollection<E>
This class provides a skeletal implementation of the Collection
interface, to minimize the effort required to implement this interface.
|
class |
AbstractList<E>
This class provides a skeletal implementation of the
List
interface to minimize the effort required to implement this interface
backed by a "random access" data store (such as an array). |
class |
AbstractMap<K,V>
This class provides a skeletal implementation of the Map
interface, to minimize the effort required to implement this interface.
|
static class |
AbstractMap.SimpleEntry<K,V>
An Entry maintaining a key and a value.
|
static class |
AbstractMap.SimpleImmutableEntry<K,V>
An Entry maintaining an immutable key and value.
|
class |
AbstractQueue<E>
This class provides skeletal implementations of some
Queue
operations. |
class |
AbstractSequentialList<E>
This class provides a skeletal implementation of the List
interface to minimize the effort required to implement this interface
backed by a "sequential access" data store (such as a linked list).
|
class |
AbstractSet<E>
This class provides a skeletal implementation of the Set
interface to minimize the effort required to implement this
interface.
|
class |
ArrayDeque<E>
Resizable-array implementation of the
Deque interface. |
class |
ArrayList<E>
Resizable-array implementation of the List interface.
|
class |
Arrays
This class contains various methods for manipulating arrays (such as
sorting and searching).
|
class |
BitSet
This class implements a vector of bits that grows as needed.
|
class |
Calendar
The
Calendar class is an abstract class that provides methods
for converting between a specific instant in time and a set of calendar fields such as YEAR , MONTH ,
DAY_OF_MONTH , HOUR , and so on, and for
manipulating the calendar fields, such as getting the date of the next
week. |
class |
Collections
This class consists exclusively of static methods that operate on or return
collections.
|
class |
ConcurrentModificationException
This exception may be thrown by methods that have detected concurrent
modification of an object when such modification is not permissible.
|
class |
Currency
Represents a currency.
|
class |
Date
The class
Date represents a specific instant
in time, with millisecond precision. |
class |
Dictionary<K,V>
The
Dictionary class is the abstract parent of any
class, such as Hashtable , which maps keys to values. |
class |
DuplicateFormatFlagsException
Unchecked exception thrown when duplicate flags are provided in the format
specifier.
|
class |
EmptyStackException
Thrown by methods in the
Stack class to indicate
that the stack is empty. |
class |
EnumMap<K extends Enum<K>,V>
A specialized
Map implementation for use with enum type keys. |
class |
EnumSet<E extends Enum<E>>
A specialized
Set implementation for use with enum types. |
class |
EventListenerProxy<T extends EventListener>
An abstract wrapper class for an
EventListener class
which associates a set of additional parameters with the listener. |
class |
EventObject
The root class from which all event state objects shall be derived.
|
class |
FormatFlagsConversionMismatchException
Unchecked exception thrown when a conversion and flag are incompatible.
|
class |
FormattableFlags
FomattableFlags are passed to the
Formattable.formatTo() method and modify the output format for Formattables. |
class |
Formatter
An interpreter for printf-style format strings.
|
class |
FormatterClosedException
Unchecked exception thrown when the formatter has been closed.
|
class |
GregorianCalendar
GregorianCalendar is a concrete subclass of
Calendar and provides the standard calendar system
used by most of the world. |
class |
HashMap<K,V>
Hash table based implementation of the Map interface.
|
class |
HashSet<E>
This class implements the Set interface, backed by a hash table
(actually a HashMap instance).
|
class |
Hashtable<K,V>
This class implements a hash table, which maps keys to values.
|
class |
IdentityHashMap<K,V>
This class implements the Map interface with a hash table, using
reference-equality in place of object-equality when comparing keys (and
values).
|
class |
IllegalFormatCodePointException
Unchecked exception thrown when a character with an invalid Unicode code
point as defined by
Character.isValidCodePoint(int) is passed to the
Formatter . |
class |
IllegalFormatConversionException
Unchecked exception thrown when the argument corresponding to the format
specifier is of an incompatible type.
|
class |
IllegalFormatException
Unchecked exception thrown when a format string contains an illegal syntax
or a format specifier that is incompatible with the given arguments.
|
class |
IllegalFormatFlagsException
Unchecked exception thrown when an illegal combination flags is given.
|
class |
IllegalFormatPrecisionException
Unchecked exception thrown when the precision is a negative value other than
-1, the conversion does not support a precision, or the value is
otherwise unsupported.
|
class |
IllegalFormatWidthException
Unchecked exception thrown when the format width is a negative value other
than -1 or is otherwise unsupported.
|
class |
IllformedLocaleException
Thrown by methods in
Locale and Locale.Builder to
indicate that an argument is not a well-formed BCP 47 tag. |
class |
InputMismatchException
Thrown by a
Scanner to indicate that the token
retrieved does not match the pattern for the expected type, or
that the token is out of range for the expected type. |
class |
InvalidPropertiesFormatException
Thrown to indicate that an operation could not complete because
the input did not conform to the appropriate XML document type
for a collection of properties, as per the
Properties
specification. |
class |
LinkedHashMap<K,V>
Hash table and linked list implementation of the Map interface,
with predictable iteration order.
|
class |
LinkedHashSet<E>
Hash table and linked list implementation of the Set interface,
with predictable iteration order.
|
class |
LinkedList<E>
Doubly-linked list implementation of the
List and Deque
interfaces. |
class |
ListResourceBundle
ListResourceBundle is an abstract subclass of
ResourceBundle that manages resources for a locale
in a convenient and easy to use list. |
class |
Locale
A
Locale object represents a specific geographical, political,
or cultural region. |
static class |
Locale.Builder
Builder is used to build instances of Locale
from values configured by the setters. |
class |
MissingFormatArgumentException
Unchecked exception thrown when there is a format specifier which does not
have a corresponding argument or if an argument index refers to an argument
that does not exist.
|
class |
MissingFormatWidthException
Unchecked exception thrown when the format width is required.
|
class |
MissingResourceException
Signals that a resource is missing.
|
class |
NoSuchElementException
Thrown by the
nextElement method of an
Enumeration to indicate that there are no more
elements in the enumeration. |
class |
Objects
This class consists of
static utility methods for operating
on objects. |
class |
Observable
This class represents an observable object, or "data"
in the model-view paradigm.
|
class |
PriorityQueue<E>
An unbounded priority queue based on a priority heap.
|
class |
Properties
The
Properties class represents a persistent set of
properties. |
class |
PropertyPermission
This class is for property permissions.
|
class |
PropertyResourceBundle
PropertyResourceBundle is a concrete subclass of
ResourceBundle that manages resources for a locale
using a set of static strings from a property file. |
class |
Random
An instance of this class is used to generate a stream of
pseudorandom numbers.
|
class |
ResourceBundle
Resource bundles contain locale-specific objects.
|
static class |
ResourceBundle.Control
ResourceBundle.Control defines a set of callback methods
that are invoked by the ResourceBundle.getBundle factory
methods during the bundle loading process. |
class |
Scanner
A simple text scanner which can parse primitive types and strings using
regular expressions.
|
class |
ServiceConfigurationError
Error thrown when something goes wrong while loading a service provider.
|
class |
ServiceLoader<S>
A simple service-provider loading facility.
|
class |
SimpleTimeZone
SimpleTimeZone is a concrete subclass of TimeZone
that represents a time zone for use with a Gregorian calendar. |
class |
Stack<E>
The
Stack class represents a last-in-first-out
(LIFO) stack of objects. |
class |
StringTokenizer
The string tokenizer class allows an application to break a
string into tokens.
|
class |
Timer
A facility for threads to schedule tasks for future execution in a
background thread.
|
class |
TimerTask
A task that can be scheduled for one-time or repeated execution by a Timer.
|
class |
TimeZone
TimeZone represents a time zone offset, and also figures out daylight
savings. |
class |
TooManyListenersException
The
TooManyListenersException Exception is used as part of
the Java Event model to annotate and implement a unicast special case of
a multicast Event Source. |
class |
TreeMap<K,V>
A Red-Black tree based
NavigableMap implementation. |
class |
TreeSet<E>
A
NavigableSet implementation based on a TreeMap . |
class |
UnknownFormatConversionException
Unchecked exception thrown when an unknown conversion is given.
|
class |
UnknownFormatFlagsException
Unchecked exception thrown when an unknown flag is given.
|
class |
UUID
A class that represents an immutable universally unique identifier (UUID).
|
class |
Vector<E>
The
Vector class implements a growable array of
objects. |
class |
WeakHashMap<K,V>
Hash table based implementation of the Map interface, with
weak keys.
|
Modifier and Type | Field and Description |
---|---|
protected Object[] |
Vector.elementData
The array buffer into which the components of the vector are
stored.
|
protected Object |
EventObject.source
The object on which the Event initially occurred.
|
Modifier and Type | Method and Description |
---|---|
static <T extends Object & Comparable<? super T>> |
Collections.max(Collection<? extends T> coll)
Returns the maximum element of the given collection, according to the
natural ordering of its elements.
|
static <T extends Object & Comparable<? super T>> |
Collections.min(Collection<? extends T> coll)
Returns the minimum element of the given collection, according to the
natural ordering of its elements.
|
Modifier and Type | Method and Description |
---|---|
Object |
Locale.clone()
Overrides Cloneable.
|
Object |
BitSet.clone()
Cloning this
BitSet produces a new BitSet
that is equal to it. |
Object |
Calendar.clone()
Creates and returns a copy of this object.
|
Object |
LinkedList.clone()
Returns a shallow copy of this
LinkedList . |
Object |
IdentityHashMap.clone()
Returns a shallow copy of this identity hash map: the keys and values
themselves are not cloned.
|
Object |
SimpleTimeZone.clone()
Returns a clone of this
SimpleTimeZone instance. |
Object |
TimeZone.clone()
Creates a copy of this
TimeZone . |
protected Object |
AbstractMap.clone()
Returns a shallow copy of this AbstractMap instance: the keys
and values themselves are not cloned.
|
Object |
TreeMap.clone()
Returns a shallow copy of this
TreeMap instance. |
Object |
TreeSet.clone()
Returns a shallow copy of this
TreeSet instance. |
Object |
ArrayList.clone()
Returns a shallow copy of this ArrayList instance.
|
Object |
Vector.clone()
Returns a clone of this vector.
|
Object |
Hashtable.clone()
Creates a shallow copy of this hashtable.
|
Object |
Date.clone()
Return a copy of this object.
|
Object |
GregorianCalendar.clone() |
Object |
HashSet.clone()
Returns a shallow copy of this HashSet instance: the elements
themselves are not cloned.
|
Object |
HashMap.clone()
Returns a shallow copy of this HashMap instance: the keys and
values themselves are not cloned.
|
static <T> T[] |
Arrays.copyOf(T[] original,
int newLength)
Copies the specified array, truncating or padding with nulls (if necessary)
so the copy has the specified length.
|
static <T,U> T[] |
Arrays.copyOf(U[] original,
int newLength,
Class<? extends T[]> newType)
Copies the specified array, truncating or padding with nulls (if necessary)
so the copy has the specified length.
|
static <T> T[] |
Arrays.copyOfRange(T[] original,
int from,
int to)
Copies the specified range of the specified array into a new array.
|
static <T,U> T[] |
Arrays.copyOfRange(U[] original,
int from,
int to,
Class<? extends T[]> newType)
Copies the specified range of the specified array into a new array.
|
protected abstract Object[][] |
ListResourceBundle.getContents()
Returns an array in which each item is a pair of objects in an
Object array. |
Object |
ResourceBundle.getObject(String key)
Gets an object for the given key from this resource bundle or one of its parents.
|
Object |
EventObject.getSource()
The object on which the Event initially occurred.
|
protected abstract Object |
ResourceBundle.handleGetObject(String key)
Gets an object for the given key from this resource bundle.
|
Object |
ListResourceBundle.handleGetObject(String key) |
Object |
PropertyResourceBundle.handleGetObject(String key) |
Object |
StringTokenizer.nextElement()
Returns the same value as the
nextToken method,
except that its declared return value is Object rather than
String . |
Object |
Properties.setProperty(String key,
String value)
Calls the Hashtable method
put . |
Object[] |
AbstractCollection.toArray()
Returns an array containing all of the elements in this collection.
|
Object[] |
Collection.toArray()
Returns an array containing all of the elements in this collection.
|
Object[] |
LinkedList.toArray()
Returns an array containing all of the elements in this list
in proper sequence (from first to last element).
|
Object[] |
Set.toArray()
Returns an array containing all of the elements in this set.
|
Object[] |
ArrayList.toArray()
Returns an array containing all of the elements in this list
in proper sequence (from first to last element).
|
Object[] |
Vector.toArray()
Returns an array containing all of the elements in this Vector
in the correct order.
|
Object[] |
ArrayDeque.toArray()
Returns an array containing all of the elements in this deque
in proper sequence (from first to last element).
|
Object[] |
PriorityQueue.toArray()
Returns an array containing all of the elements in this queue.
|
Object[] |
List.toArray()
Returns an array containing all of the elements in this list in proper
sequence (from first to last element).
|
<T> T[] |
AbstractCollection.toArray(T[] a)
Returns an array containing all of the elements in this collection;
the runtime type of the returned array is that of the specified array.
|
<T> T[] |
Collection.toArray(T[] a)
Returns an array containing all of the elements in this collection;
the runtime type of the returned array is that of the specified array.
|
<T> T[] |
LinkedList.toArray(T[] a)
Returns an array containing all of the elements in this list in
proper sequence (from first to last element); the runtime type of
the returned array is that of the specified array.
|
<T> T[] |
Set.toArray(T[] a)
Returns an array containing all of the elements in this set; the
runtime type of the returned array is that of the specified array.
|
<T> T[] |
ArrayList.toArray(T[] a)
Returns an array containing all of the elements in this list in proper
sequence (from first to last element); the runtime type of the returned
array is that of the specified array.
|
<T> T[] |
Vector.toArray(T[] a)
Returns an array containing all of the elements in this Vector in the
correct order; the runtime type of the returned array is that of the
specified array.
|
<T> T[] |
ArrayDeque.toArray(T[] a)
Returns an array containing all of the elements in this deque in
proper sequence (from first to last element); the runtime type of the
returned array is that of the specified array.
|
<T> T[] |
PriorityQueue.toArray(T[] a)
Returns an array containing all of the elements in this queue; the
runtime type of the returned array is that of the specified array.
|
<T> T[] |
List.toArray(T[] a)
Returns an array containing all of the elements in this list in
proper sequence (from first to last element); the runtime type of
the returned array is that of the specified array.
|
Modifier and Type | Method and Description |
---|---|
static <T> boolean |
Collections.addAll(Collection<? super T> c,
T... elements)
Adds all of the specified elements to the specified collection.
|
boolean |
Calendar.after(Object when)
Returns whether this
Calendar represents a time
after the time represented by the specified
Object . |
static <T> List<T> |
Arrays.asList(T... a)
Returns a fixed-size list backed by the specified array.
|
boolean |
Calendar.before(Object when)
Returns whether this
Calendar represents a time
before the time represented by the specified
Object . |
static int |
Arrays.binarySearch(Object[] a,
int fromIndex,
int toIndex,
Object key)
Searches a range of
the specified array for the specified object using the binary
search algorithm.
|
static int |
Arrays.binarySearch(Object[] a,
int fromIndex,
int toIndex,
Object key)
Searches a range of
the specified array for the specified object using the binary
search algorithm.
|
static int |
Arrays.binarySearch(Object[] a,
Object key)
Searches the specified array for the specified object using the binary
search algorithm.
|
static int |
Arrays.binarySearch(Object[] a,
Object key)
Searches the specified array for the specified object using the binary
search algorithm.
|
static <T> int |
Arrays.binarySearch(T[] a,
int fromIndex,
int toIndex,
T key,
Comparator<? super T> c)
Searches a range of
the specified array for the specified object using the binary
search algorithm.
|
static <T> int |
Arrays.binarySearch(T[] a,
T key,
Comparator<? super T> c)
Searches the specified array for the specified object using the binary
search algorithm.
|
boolean |
AbstractCollection.contains(Object o)
Returns true if this collection contains the specified element.
|
boolean |
Collection.contains(Object o)
Returns true if this collection contains the specified element.
|
boolean |
LinkedList.contains(Object o)
Returns
true if this list contains the specified element. |
boolean |
TreeSet.contains(Object o)
Returns
true if this set contains the specified element. |
boolean |
Set.contains(Object o)
Returns true if this set contains the specified element.
|
boolean |
ArrayList.contains(Object o)
Returns true if this list contains the specified element.
|
boolean |
Vector.contains(Object o)
Returns
true if this vector contains the specified element. |
boolean |
ArrayDeque.contains(Object o)
Returns true if this deque contains the specified element.
|
boolean |
Deque.contains(Object o)
Returns true if this deque contains the specified element.
|
boolean |
Hashtable.contains(Object value)
Tests if some key maps into the specified value in this hashtable.
|
boolean |
PriorityQueue.contains(Object o)
Returns
true if this queue contains the specified element. |
boolean |
HashSet.contains(Object o)
Returns true if this set contains the specified element.
|
boolean |
List.contains(Object o)
Returns true if this list contains the specified element.
|
boolean |
WeakHashMap.containsKey(Object key)
Returns true if this map contains a mapping for the
specified key.
|
boolean |
IdentityHashMap.containsKey(Object key)
Tests whether the specified object reference is a key in this identity
hash map.
|
boolean |
AbstractMap.containsKey(Object key)
Returns true if this map contains a mapping for the specified
key.
|
boolean |
TreeMap.containsKey(Object key)
Returns
true if this map contains a mapping for the specified
key. |
boolean |
Map.containsKey(Object key)
Returns true if this map contains a mapping for the specified
key.
|
boolean |
Hashtable.containsKey(Object key)
Tests if the specified object is a key in this hashtable.
|
boolean |
EnumMap.containsKey(Object key)
Returns true if this map contains a mapping for the specified
key.
|
boolean |
HashMap.containsKey(Object key)
Returns true if this map contains a mapping for the
specified key.
|
boolean |
WeakHashMap.containsValue(Object value)
Returns true if this map maps one or more keys to the
specified value.
|
boolean |
IdentityHashMap.containsValue(Object value)
Tests whether the specified object reference is a value in this identity
hash map.
|
boolean |
AbstractMap.containsValue(Object value)
Returns true if this map maps one or more keys to the
specified value.
|
boolean |
TreeMap.containsValue(Object value)
Returns
true if this map maps one or more keys to the
specified value. |
boolean |
Map.containsValue(Object value)
Returns true if this map maps one or more keys to the
specified value.
|
boolean |
Hashtable.containsValue(Object value)
Returns true if this hashtable maps one or more keys to this value.
|
boolean |
LinkedHashMap.containsValue(Object value)
Returns true if this map maps one or more keys to the
specified value.
|
boolean |
EnumMap.containsValue(Object value)
Returns true if this map maps one or more keys to the
specified value.
|
boolean |
HashMap.containsValue(Object value)
Returns true if this map maps one or more keys to the
specified value.
|
void |
Vector.copyInto(Object[] anArray)
Copies the components of this vector into the specified array.
|
static <T> T[] |
Arrays.copyOf(T[] original,
int newLength)
Copies the specified array, truncating or padding with nulls (if necessary)
so the copy has the specified length.
|
static <T,U> T[] |
Arrays.copyOf(U[] original,
int newLength,
Class<? extends T[]> newType)
Copies the specified array, truncating or padding with nulls (if necessary)
so the copy has the specified length.
|
static <T> T[] |
Arrays.copyOfRange(T[] original,
int from,
int to)
Copies the specified range of the specified array into a new array.
|
static <T,U> T[] |
Arrays.copyOfRange(U[] original,
int from,
int to,
Class<? extends T[]> newType)
Copies the specified range of the specified array into a new array.
|
static boolean |
Arrays.deepEquals(Object[] a1,
Object[] a2)
Returns true if the two specified arrays are deeply
equal to one another.
|
static boolean |
Arrays.deepEquals(Object[] a1,
Object[] a2)
Returns true if the two specified arrays are deeply
equal to one another.
|
static boolean |
Objects.deepEquals(Object a,
Object b)
Returns
true if the arguments are deeply equal to each other
and false otherwise. |
static int |
Arrays.deepHashCode(Object[] a)
Returns a hash code based on the "deep contents" of the specified
array.
|
static String |
Arrays.deepToString(Object[] a)
Returns a string representation of the "deep contents" of the specified
array.
|
boolean |
Locale.equals(Object obj)
Returns true if this Locale is equal to another object.
|
boolean |
BitSet.equals(Object obj)
Compares this object against the specified object.
|
boolean |
Comparator.equals(Object obj)
Indicates whether some other object is "equal to" this
comparator.
|
boolean |
Collection.equals(Object o)
Compares the specified object with this collection for equality.
|
boolean |
Calendar.equals(Object obj)
Compares this
Calendar to the specified
Object . |
boolean |
AbstractList.equals(Object o)
Compares the specified object with this list for equality.
|
boolean |
UUID.equals(Object obj)
Compares this object to the specified object.
|
boolean |
IdentityHashMap.equals(Object o)
Compares the specified object with this map for equality.
|
boolean |
SimpleTimeZone.equals(Object obj)
Compares the equality of two
SimpleTimeZone objects. |
boolean |
AbstractSet.equals(Object o)
Compares the specified object with this set for equality.
|
boolean |
AbstractMap.equals(Object o)
Compares the specified object with this map for equality.
|
boolean |
AbstractMap.SimpleEntry.equals(Object o)
Compares the specified object with this entry for equality.
|
boolean |
AbstractMap.SimpleImmutableEntry.equals(Object o)
Compares the specified object with this entry for equality.
|
boolean |
Set.equals(Object o)
Compares the specified object with this set for equality.
|
boolean |
Map.equals(Object o)
Compares the specified object with this map for equality.
|
boolean |
Map.Entry.equals(Object o)
Compares the specified object with this entry for equality.
|
boolean |
Vector.equals(Object o)
Compares the specified Object with this Vector for equality.
|
boolean |
Hashtable.equals(Object o)
Compares the specified Object with this Map for equality,
as per the definition in the Map interface.
|
boolean |
Date.equals(Object obj)
Compares two dates for equality.
|
boolean |
GregorianCalendar.equals(Object obj)
Compares this
GregorianCalendar to the specified
Object . |
boolean |
PropertyPermission.equals(Object obj)
Checks two PropertyPermission objects for equality.
|
boolean |
EnumMap.equals(Object o)
Compares the specified object with this map for equality.
|
boolean |
List.equals(Object o)
Compares the specified object with this list for equality.
|
static boolean |
Arrays.equals(Object[] a,
Object[] a2)
Returns true if the two specified arrays of Objects are
equal to one another.
|
static boolean |
Arrays.equals(Object[] a,
Object[] a2)
Returns true if the two specified arrays of Objects are
equal to one another.
|
static boolean |
Objects.equals(Object a,
Object b)
Returns
true if the arguments are equal to each other
and false otherwise. |
static void |
Arrays.fill(Object[] a,
int fromIndex,
int toIndex,
Object val)
Assigns the specified Object reference to each element of the specified
range of the specified array of Objects.
|
static void |
Arrays.fill(Object[] a,
int fromIndex,
int toIndex,
Object val)
Assigns the specified Object reference to each element of the specified
range of the specified array of Objects.
|
static void |
Arrays.fill(Object[] a,
Object val)
Assigns the specified Object reference to each element of the specified
array of Objects.
|
static void |
Arrays.fill(Object[] a,
Object val)
Assigns the specified Object reference to each element of the specified
array of Objects.
|
Formatter |
Formatter.format(Locale l,
String format,
Object... args)
Writes a formatted string to this object's destination using the
specified locale, format string, and arguments.
|
Formatter |
Formatter.format(String format,
Object... args)
Writes a formatted string to this object's destination using the
specified format string and arguments.
|
static int |
Collections.frequency(Collection<?> c,
Object o)
Returns the number of elements in the specified collection equal to the
specified object.
|
V |
WeakHashMap.get(Object key)
Returns the value to which the specified key is mapped,
or
null if this map contains no mapping for the key. |
V |
IdentityHashMap.get(Object key)
Returns the value to which the specified key is mapped,
or
null if this map contains no mapping for the key. |
V |
AbstractMap.get(Object key)
Returns the value to which the specified key is mapped,
or
null if this map contains no mapping for the key. |
V |
TreeMap.get(Object key)
Returns the value to which the specified key is mapped,
or
null if this map contains no mapping for the key. |
V |
Map.get(Object key)
Returns the value to which the specified key is mapped,
or
null if this map contains no mapping for the key. |
V |
Hashtable.get(Object key)
Returns the value to which the specified key is mapped,
or
null if this map contains no mapping for the key. |
V |
LinkedHashMap.get(Object key)
Returns the value to which the specified key is mapped,
or
null if this map contains no mapping for the key. |
V |
EnumMap.get(Object key)
Returns the value to which the specified key is mapped,
or
null if this map contains no mapping for the key. |
V |
HashMap.get(Object key)
Returns the value to which the specified key is mapped,
or
null if this map contains no mapping for the key. |
abstract V |
Dictionary.get(Object key)
Returns the value to which the key is mapped in this dictionary.
|
static int |
Objects.hash(Object... values)
Generates a hash code for a sequence of input values.
|
static int |
Objects.hashCode(Object o)
Returns the hash code of a non-
null argument and 0 for
a null argument. |
static int |
Arrays.hashCode(Object[] a)
Returns a hash code based on the contents of the specified array.
|
int |
AbstractList.indexOf(Object o)
Returns the index of the first occurrence of the specified element
in this list, or -1 if this list does not contain the element.
|
int |
LinkedList.indexOf(Object o)
Returns the index of the first occurrence of the specified element
in this list, or -1 if this list does not contain the element.
|
int |
ArrayList.indexOf(Object o)
Returns the index of the first occurrence of the specified element
in this list, or -1 if this list does not contain the element.
|
int |
Vector.indexOf(Object o)
Returns the index of the first occurrence of the specified element
in this vector, or -1 if this vector does not contain the element.
|
int |
List.indexOf(Object o)
Returns the index of the first occurrence of the specified element
in this list, or -1 if this list does not contain the element.
|
int |
Vector.indexOf(Object o,
int index)
Returns the index of the first occurrence of the specified element in
this vector, searching forwards from
index , or returns -1 if
the element is not found. |
int |
AbstractList.lastIndexOf(Object o)
Returns the index of the last occurrence of the specified element
in this list, or -1 if this list does not contain the element.
|
int |
LinkedList.lastIndexOf(Object o)
Returns the index of the last occurrence of the specified element
in this list, or -1 if this list does not contain the element.
|
int |
ArrayList.lastIndexOf(Object o)
Returns the index of the last occurrence of the specified element
in this list, or -1 if this list does not contain the element.
|
int |
Vector.lastIndexOf(Object o)
Returns the index of the last occurrence of the specified element
in this vector, or -1 if this vector does not contain the element.
|
int |
List.lastIndexOf(Object o)
Returns the index of the last occurrence of the specified element
in this list, or -1 if this list does not contain the element.
|
int |
Vector.lastIndexOf(Object o,
int index)
Returns the index of the last occurrence of the specified element in
this vector, searching backwards from
index , or returns -1 if
the element is not found. |
void |
Observable.notifyObservers(Object arg)
If this object has changed, as indicated by the
hasChanged method, then notify all of its observers
and then call the clearChanged method to indicate
that this object has no longer changed. |
boolean |
AbstractCollection.remove(Object o)
Removes a single instance of the specified element from this
collection, if it is present (optional operation).
|
V |
WeakHashMap.remove(Object key)
Removes the mapping for a key from this weak hash map if it is present.
|
boolean |
Collection.remove(Object o)
Removes a single instance of the specified element from this
collection, if it is present (optional operation).
|
boolean |
LinkedList.remove(Object o)
Removes the first occurrence of the specified element from this list,
if it is present.
|
V |
IdentityHashMap.remove(Object key)
Removes the mapping for this key from this map if present.
|
V |
AbstractMap.remove(Object key)
Removes the mapping for a key from this map if it is present
(optional operation).
|
V |
TreeMap.remove(Object key)
Removes the mapping for this key from this TreeMap if present.
|
boolean |
TreeSet.remove(Object o)
Removes the specified element from this set if it is present.
|
boolean |
Set.remove(Object o)
Removes the specified element from this set if it is present
(optional operation).
|
V |
Map.remove(Object key)
Removes the mapping for a key from this map if it is present
(optional operation).
|
boolean |
ArrayList.remove(Object o)
Removes the first occurrence of the specified element from this list,
if it is present.
|
boolean |
Vector.remove(Object o)
Removes the first occurrence of the specified element in this Vector
If the Vector does not contain the element, it is unchanged.
|
boolean |
ArrayDeque.remove(Object o)
Removes a single instance of the specified element from this deque.
|
boolean |
Deque.remove(Object o)
Removes the first occurrence of the specified element from this deque.
|
V |
Hashtable.remove(Object key)
Removes the key (and its corresponding value) from this
hashtable.
|
boolean |
PriorityQueue.remove(Object o)
Removes a single instance of the specified element from this queue,
if it is present.
|
V |
EnumMap.remove(Object key)
Removes the mapping for this key from this map if present.
|
boolean |
HashSet.remove(Object o)
Removes the specified element from this set if it is present.
|
boolean |
List.remove(Object o)
Removes the first occurrence of the specified element from this list,
if it is present (optional operation).
|
V |
HashMap.remove(Object key)
Removes the mapping for the specified key from this map if present.
|
abstract V |
Dictionary.remove(Object key)
Removes the
key (and its corresponding
value ) from this dictionary. |
boolean |
Vector.removeElement(Object obj)
Removes the first (lowest-indexed) occurrence of the argument
from this vector.
|
boolean |
LinkedList.removeFirstOccurrence(Object o)
Removes the first occurrence of the specified element in this
list (when traversing the list from head to tail).
|
boolean |
ArrayDeque.removeFirstOccurrence(Object o)
Removes the first occurrence of the specified element in this
deque (when traversing the deque from head to tail).
|
boolean |
Deque.removeFirstOccurrence(Object o)
Removes the first occurrence of the specified element from this deque.
|
boolean |
LinkedList.removeLastOccurrence(Object o)
Removes the last occurrence of the specified element in this
list (when traversing the list from head to tail).
|
boolean |
ArrayDeque.removeLastOccurrence(Object o)
Removes the last occurrence of the specified element in this
deque (when traversing the deque from head to tail).
|
boolean |
Deque.removeLastOccurrence(Object o)
Removes the last occurrence of the specified element from this deque.
|
int |
Stack.search(Object o)
Returns the 1-based position where an object is on this stack.
|
static void |
Arrays.sort(Object[] a)
Sorts the specified array of objects into ascending order, according
to the natural ordering of its elements.
|
static void |
Arrays.sort(Object[] a,
int fromIndex,
int toIndex)
Sorts the specified range of the specified array of objects into
ascending order, according to the
natural ordering of its
elements.
|
static <T> void |
Arrays.sort(T[] a,
Comparator<? super T> c)
Sorts the specified array of objects according to the order induced by
the specified comparator.
|
static <T> void |
Arrays.sort(T[] a,
int fromIndex,
int toIndex,
Comparator<? super T> c)
Sorts the specified range of the specified array of objects according
to the order induced by the specified comparator.
|
<T> T[] |
AbstractCollection.toArray(T[] a)
Returns an array containing all of the elements in this collection;
the runtime type of the returned array is that of the specified array.
|
<T> T[] |
Collection.toArray(T[] a)
Returns an array containing all of the elements in this collection;
the runtime type of the returned array is that of the specified array.
|
<T> T[] |
LinkedList.toArray(T[] a)
Returns an array containing all of the elements in this list in
proper sequence (from first to last element); the runtime type of
the returned array is that of the specified array.
|
<T> T[] |
Set.toArray(T[] a)
Returns an array containing all of the elements in this set; the
runtime type of the returned array is that of the specified array.
|
<T> T[] |
ArrayList.toArray(T[] a)
Returns an array containing all of the elements in this list in proper
sequence (from first to last element); the runtime type of the returned
array is that of the specified array.
|
<T> T[] |
Vector.toArray(T[] a)
Returns an array containing all of the elements in this Vector in the
correct order; the runtime type of the returned array is that of the
specified array.
|
<T> T[] |
ArrayDeque.toArray(T[] a)
Returns an array containing all of the elements in this deque in
proper sequence (from first to last element); the runtime type of the
returned array is that of the specified array.
|
<T> T[] |
PriorityQueue.toArray(T[] a)
Returns an array containing all of the elements in this queue; the
runtime type of the returned array is that of the specified array.
|
<T> T[] |
List.toArray(T[] a)
Returns an array containing all of the elements in this list in
proper sequence (from first to last element); the runtime type of
the returned array is that of the specified array.
|
static String |
Objects.toString(Object o)
Returns the result of calling
toString for a non-null argument and "null" for a null argument. |
static String |
Arrays.toString(Object[] a)
Returns a string representation of the contents of the specified array.
|
static String |
Objects.toString(Object o,
String nullDefault)
Returns the result of calling
toString on the first
argument if the first argument is not null and returns
the second argument otherwise. |
void |
Observer.update |