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.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.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.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.time |
The main API for dates, times, instants, and durations.
|
||||||
java.time.chrono |
Generic API for calendar systems other than the default ISO.
|
||||||
java.time.format |
Provides classes to print and parse dates and times.
|
||||||
java.time.temporal |
Access to date and time using fields and units, and date time adjusters.
|
||||||
java.time.zone |
Support for time-zones and their rules.
|
||||||
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.stream |
Classes to support functional-style operations on streams of elements, such
as map-reduce transformations on collections.
|
||||||
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 | |||||||
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.event |
A package of the Java Image I/O API dealing with synchronous
notification of events during the reading and writing of images.
|
||||||
javax.imageio.metadata |
A package of the Java Image I/O API dealing with reading and writing
metadata.
|
||||||
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.jws | |||||||
javax.jws.soap | |||||||
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.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.spi |
This package provides the interface to be used for
implementing pluggable authentication modules.
|
||||||
javax.security.auth.x500 |
This package contains the classes that should be used to store
X500 Principal and X500 Private Credentials 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.sampled |
Provides interfaces and classes for capture, processing, and playback of sampled audio data.
|
||||||
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.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.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 |
This package defines APIs for message handlers.
|
||||||
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. servlet containers).
|
||||||
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.
|
||||||
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:
AddressHelper
StringNameHelper
URLStringHelper
InvalidAddress
Package Specification
For a precise list of supported sections of official specifications with which
the Java[tm] Platform, Standard Edition 6 ORB complies, see
org.omg.CosNaming.NamingContextPackage |
|
This package contains Exception classes for the org.omg.CosNaming
package.
| ||||
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,
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,
org.omg.IOP |
| This package contains the IOP module specified in the OMG document
The Common
Object Request Broker: Architecture and Specification,
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,
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,
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.portable |
Provides classes and interfaces for making the server side of your applications
portable across multivendor ORBs.
|
||||||
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).
|
||||||
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 | Method and Description |
---|---|
String |
Applet.getAppletInfo()
Returns information about this applet.
|
String |
Applet.getParameter(String name)
Returns the value of the named parameter in the HTML tag.
|
String |
AppletStub.getParameter(String name)
Returns the value of the named parameter in the HTML tag.
|
String[][] |
Applet.getParameterInfo()
Returns information about the parameters that are understood by
this applet.
|
Modifier and Type | Method and Description |
---|---|
Iterator<String> |
AppletContext.getStreamKeys()
Finds all the keys of the streams in this applet context.
|
Modifier and Type | Method and Description |
---|---|
Applet |
AppletContext.getApplet(String name)
Finds and returns the applet in the document represented by this
applet context with the given name.
|
AudioClip |
Applet.getAudioClip(URL url,
String name)
Returns the
AudioClip object specified by the
URL and name arguments. |
Image |
Applet.getImage(URL url,
String name)
Returns an
Image object that can then be painted on
the screen. |
String |
Applet.getParameter(String name)
Returns the value of the named parameter in the HTML tag.
|
String |
AppletStub.getParameter(String name)
Returns the value of the named parameter in the HTML tag.
|
InputStream |
AppletContext.getStream(String key)
Returns the stream to which specified key is associated within this
applet context.
|
void |
Applet.play(URL url,
String name)
Plays the audio clip given the URL and a specifier that is
relative to it.
|
void |
AppletContext.setStream(String key,
InputStream stream)
Associates the specified stream with the specified key in this
applet context.
|
void |
AppletContext.showDocument(URL url,
String target)
Requests that the browser or applet viewer show the Web page
indicated by the
url argument. |
void |
Applet.showStatus(String msg)
Requests that the argument string be displayed in the
"status window".
|
void |
AppletContext.showStatus(String status)
Requests that the argument string be displayed in the
"status window".
|
Modifier and Type | Field and Description |
---|---|
static String |
BorderLayout.AFTER_LAST_LINE
Synonym for PAGE_END.
|
static String |
BorderLayout.AFTER_LINE_ENDS
Synonym for LINE_END.
|
static String |
BorderLayout.BEFORE_FIRST_LINE
Synonym for PAGE_START.
|
static String |
BorderLayout.BEFORE_LINE_BEGINS
Synonym for LINE_START.
|
static String |
BorderLayout.CENTER
The center layout constraint (middle of container).
|
static String |
Font.DIALOG
A String constant for the canonical family name of the
logical font "Dialog".
|
static String |
Font.DIALOG_INPUT
A String constant for the canonical family name of the
logical font "DialogInput".
|
static String |
BorderLayout.EAST
The east layout constraint (right side of container).
|
static String |
BorderLayout.LINE_END
The component goes at the end of the line direction for the
layout.
|
static String |
BorderLayout.LINE_START
The component goes at the beginning of the line direction for the
layout.
|
static String |
Font.MONOSPACED
A String constant for the canonical family name of the
logical font "Monospaced".
|
protected String |
Cursor.name
The user-visible name of the cursor.
|
protected String |
Font.name
The logical name of this
Font , as passed to the
constructor. |
static String |
BorderLayout.NORTH
The north layout constraint (top of container).
|
static String |
BorderLayout.PAGE_END
The component comes after the last line of the layout's content.
|
static String |
BorderLayout.PAGE_START
The component comes before the first line of the layout's content.
|
static String |
Font.SANS_SERIF
A String constant for the canonical family name of the
logical font "SansSerif".
|
static String |
Font.SERIF
A String constant for the canonical family name of the
logical font "Serif".
|
static String |
BorderLayout.SOUTH
The south layout constraint (bottom of container).
|
static String |
BorderLayout.WEST
The west layout constraint (left side of container).
|
Modifier and Type | Field and Description |
---|---|
protected Map<String,Object> |
Toolkit.desktopProperties |
Modifier and Type | Method and Description |
---|---|
String |
Checkbox.AccessibleAWTCheckbox.getAccessibleActionDescription(int i)
Return a description of the specified action of the object.
|
String |
MenuItem.AccessibleAWTMenuItem.getAccessibleActionDescription(int i)
Return a description of the specified action of the object.
|
String |
Choice.AccessibleAWTChoice.getAccessibleActionDescription(int i)
Returns a description of the specified action of the object.
|
String |
CheckboxMenuItem.AccessibleAWTCheckboxMenuItem.getAccessibleActionDescription(int i)
Return a description of the specified action of the object.
|
String |
Button.AccessibleAWTButton.getAccessibleActionDescription(int i)
Return a description of the specified action of the object.
|
String |
Component.AccessibleAWTComponent.getAccessibleDescription()
Gets the accessible description of this object.
|
String |
MenuComponent.AccessibleAWTMenuComponent.getAccessibleDescription()
Gets the accessible description of this object.
|
String |
Component.AccessibleAWTComponent.getAccessibleName()
Gets the accessible name of this object.
|
String |
MenuComponent.AccessibleAWTMenuComponent.getAccessibleName()
Gets the accessible name of this object.
|
String |
MenuItem.AccessibleAWTMenuItem.getAccessibleName()
Get the accessible name of this object.
|
String |
Label.AccessibleAWTLabel.getAccessibleName()
Get the accessible name of this object.
|
String |
Button.AccessibleAWTButton.getAccessibleName()
Get the accessible name of this object.
|
String |
MenuItem.getActionCommand()
Gets the command name of the action event that is fired
by this menu item.
|
String |
TrayIcon.getActionCommand()
Returns the command name of the action event fired by this tray icon.
|
String |
Button.getActionCommand()
Returns the command name of the action event fired by this button.
|
String |
TextComponent.AccessibleAWTTextComponent.getAfterIndex(int part,
int index)
Returns the String after a given index.
|
String |
TextComponent.AccessibleAWTTextComponent.getAtIndex(int part,
int index)
Returns the String at a given index.
|
abstract String[] |
GraphicsEnvironment.getAvailableFontFamilyNames()
Returns an array containing the names of all font families in this
GraphicsEnvironment localized for the default locale,
as returned by Locale.getDefault() . |
abstract String[] |
GraphicsEnvironment.getAvailableFontFamilyNames(Locale l)
Returns an array containing the names of all font families in this
GraphicsEnvironment localized for the specified locale. |
String |
TextComponent.AccessibleAWTTextComponent.getBeforeIndex(int part,
int index)
Returns the String before a given index.
|
String |
FileDialog.getDirectory()
Gets the directory of this file dialog.
|
String |
Font.getFamily()
Returns the family name of this
Font . |
String |
Font.getFamily(Locale l)
Returns the family name of this
Font , localized for
the specified locale. |
String |
FileDialog.getFile()
Gets the selected file of this file dialog.
|
String |
JobAttributes.getFileName()
Specifies the file name for the output file for jobs using these
attributes.
|
abstract String[] |
Toolkit.getFontList()
Deprecated.
|
String |
Font.getFontName()
Returns the font face name of this
Font . |
String |
Font.getFontName(Locale l)
Returns the font face name of the
Font , localized
for the specified locale. |
abstract String |
GraphicsDevice.getIDstring()
Returns the identification string associated with this
GraphicsDevice . |
String |
Choice.getItem(int index)
Gets the string at the specified index in this
Choice menu. |
String |
List.getItem(int index)
Gets the item associated with the specified index.
|
String[] |
List.getItems()
Gets the items in the list.
|
String |
Checkbox.getLabel()
Gets the label of this check box.
|
String |
MenuItem.getLabel()
Gets the label for this menu item.
|
String |
Button.getLabel()
Gets the label of this button.
|
String |
HeadlessException.getMessage() |
String |
Component.getName()
Gets the name of the component.
|
String |
MenuComponent.getName()
Gets the name of the menu component.
|
String |
Cursor.getName()
Returns the name of this cursor.
|
String |
Font.getName()
Returns the logical name of this
Font . |
String |
JobAttributes.getPrinter()
Returns the destination printer for jobs using these attributes.
|
static String |
Toolkit.getProperty(String key,
String defaultValue)
Gets a property with the specified key and default.
|
String |
Font.getPSName()
Returns the postscript name of this
Font . |
String |
Choice.getSelectedItem()
Gets a representation of the current choice as a string.
|
String |
List.getSelectedItem()
Gets the selected item on this scrolling list.
|
String[] |
List.getSelectedItems()
Gets the selected items on this scrolling list.
|
String |
TextComponent.getSelectedText()
Returns the selected text from the text that is
presented by this text component.
|
String |
TextComponent.AccessibleAWTTextComponent.getSelectedText()
Returns the portion of the text that is selected.
|
String |
Label.getText()
Gets the text of this label.
|
String |
TextComponent.getText()
Returns the text that is presented by this text component.
|
String |
Frame.getTitle()
Gets the title of the frame.
|
String |
Dialog.getTitle()
Gets the title of the dialog.
|
String |
TrayIcon.getToolTip()
Returns the tooltip string associated with this
TrayIcon . |
String |
Window.getWarningString()
Gets the warning string that is displayed with this window.
|
protected String |
Component.paramString()
Returns a string representing the state of this component.
|
protected String |
Checkbox.paramString()
Returns a string representing the state of this
Checkbox . |
protected String |
MenuComponent.paramString()
Returns a string representing the state of this
MenuComponent . |
String |
MenuItem.paramString()
Returns a string representing the state of this
MenuItem . |
protected String |
TextArea.paramString()
Returns a string representing the state of this
TextArea . |
protected String |
Frame.paramString()
Returns a string representing the state of this
Frame . |
protected String |
Choice.paramString()
Returns a string representing the state of this
Choice
menu. |
protected String |
Label.paramString()
Returns a string representing the state of this
Label . |
String |
CheckboxMenuItem.paramString()
Returns a string representing the state of this
CheckBoxMenuItem . |
protected String |
Container.paramString()
Returns a string representing the state of this
Container . |
String |
Menu.paramString()
Returns a string representing the state of this
Menu . |
String |
ScrollPane.paramString()
Returns a string representing the state of this
ScrollPane . |
protected String |
List.paramString()
Returns the parameter string representing the state of this
scrolling list.
|
protected String |
Scrollbar.paramString()
Returns a string representing the state of this
Scrollbar . |
String |
AWTEvent.paramString()
Returns a string representing the state of this
Event . |
protected String |
TextField.paramString()
Returns a string representing the state of this
TextField . |
protected String |
FileDialog.paramString()
Returns a string representing the state of this
FileDialog
window. |
protected String |
Dialog.paramString()
Returns a string representing the state of this dialog.
|
protected String |
MenuShortcut.paramString()
Returns the parameter string representing the state of this
MenuShortcut.
|
protected String |
TextComponent.paramString()
Returns a string representing the state of this
TextComponent . |
protected String |
Button.paramString()
Returns a string representing the state of this
Button . |
String |
ScrollPaneAdjustable.paramString()
Returns a string representing the state of this scrollbar.
|
protected String |
Event.paramString()
NOTE: The
Event class is obsolete and is
available only for backwards compatibility. |
String |
PageAttributes.toString()
Returns a string representation of this PageAttributes.
|
String |
Component.toString()
Returns a string representation of this component and its values.
|
String |
Insets.toString()
Returns a string representation of this
Insets object. |
String |
MenuComponent.toString()
Returns a representation of this menu component as a string.
|
String |
Cursor.toString()
Returns a string representation of this cursor.
|
String |
RenderingHints.toString()
Returns a rather long string representation of the hashmap
which contains the mappings of keys to values for this
RenderingHints object. |
String |
FlowLayout.toString()
Returns a string representation of this
FlowLayout
object and its values. |
String |
Robot.toString()
Returns a string representation of this Robot.
|
String |
Graphics.toString()
Returns a
String object representing this
Graphics object's value. |
String |
CheckboxGroup.toString()
Returns a string representation of this check box group,
including the value of its current selection.
|
String |
Point.toString()
Returns a string representation of this point and its location
in the
(x,y) coordinate space. |
String |
Dimension.toString()
Returns a string representation of the values of this
Dimension object's height and
width fields. |
String |
AWTEvent.toString()
Returns a String representation of this object.
|
String |
SystemColor.toString()
Returns a string representation of this
Color 's values. |
String |
AWTKeyStroke.toString()
Returns a string that displays and identifies this object's properties.
|
String |
Font.toString()
Converts this
Font object to a String
representation. |
String |
JobAttributes.toString()
Returns a string representation of this JobAttributes.
|
String |
MenuShortcut.toString()
Returns an internationalized description of the MenuShortcut.
|
String |
GridLayout.toString()
Returns the string representation of this grid layout's values.
|
String |
BorderLayout.toString()
Returns a string representation of the state of this border layout.
|
String |
ScrollPaneAdjustable.toString()
Returns a string representation of this scrollbar and its values.
|
String |
Event.toString()
NOTE: The
Event class is obsolete and is
available only for backwards compatibility. |
String |
GridBagLayout.toString()
Returns a string representation of this grid bag layout's values.
|
String |
Color.toString()
Returns a string representation of this
Color . |
String |
CardLayout.toString()
Returns a string representation of the state of this card layout.
|
String |
FontMetrics.toString()
Returns a representation of this
FontMetrics
object's values as a String . |
String |
Rectangle.toString()
Returns a
String representing this
Rectangle and its values. |
Modifier and Type | Method and Description |
---|---|
void |
Choice.add(String item)
Adds an item to this
Choice menu. |
void |
Menu.add(String label)
Adds an item with the specified label to this menu.
|
void |
List.add(String item)
Adds the specified item to the end of scrolling list.
|
Component |
Container.add(String name,
Component comp)
Adds the specified component to this container.
|
void |
List.add(String item,
int index)
Adds the specified item to the the scrolling list
at the position indicated by the index.
|
void |
Choice.addItem(String item)
Obsolete as of Java 2 platform v1.1.
|
void |
List.addItem(String item)
Deprecated.
replaced by
add(String) . |
void |
List.addItem(String item,
int index)
Deprecated.
replaced by
add(String, int) . |
void |
FlowLayout.addLayoutComponent(String name,
Component comp)
Adds the specified component to the layout.
|
void |
LayoutManager.addLayoutComponent(String name,
Component comp)
If the layout manager uses a per-component string,
adds the component
comp to the layout,
associating it
with the string specified by name . |
void |
GridLayout.addLayoutComponent(String name,
Component comp)
Adds the specified component with the specified name to the layout.
|
void |
BorderLayout.addLayoutComponent(String name,
Component comp)
Deprecated.
replaced by
addLayoutComponent(Component, Object) . |
void |
GridBagLayout.addLayoutComponent(String name,
Component comp)
Has no effect, since this layout manager does not use a per-component string.
|
void |
CardLayout.addLayoutComponent(String name,
Component comp)
Deprecated.
replaced by
addLayoutComponent(Component, Object) . |
void |
Component.addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Adds a PropertyChangeListener to the listener list for a specific
property.
|
void |
Window.addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Adds a PropertyChangeListener to the listener list for a specific
property.
|
void |
KeyboardFocusManager.addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Adds a PropertyChangeListener to the listener list for a specific
property.
|
void |
Container.addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Adds a PropertyChangeListener to the listener list for a specific
property.
|
void |
SystemTray.addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Adds a
PropertyChangeListener to the list of listeners for the
specific property. |
void |
Toolkit.addPropertyChangeListener(String name,
PropertyChangeListener pcl)
Adds the specified property change listener for the named desktop
property.
|
void |
KeyboardFocusManager.addVetoableChangeListener(String propertyName,
VetoableChangeListener listener)
Adds a VetoableChangeListener to the listener list for a specific
property.
|
void |
TextArea.append(String str)
Appends the given text to the text area's current text.
|
void |
TextArea.appendText(String str)
Deprecated.
As of JDK version 1.1,
replaced by
append(String) . |
void |
Window.applyResourceBundle(String rbName)
Deprecated.
As of J2SE 1.4, replaced by
Component.applyComponentOrientation . |
int |
Font.canDisplayUpTo(String str)
Indicates whether or not this
Font can display a
specified String . |
Cursor |
Toolkit.createCustomCursor(Image cursor,
Point hotSpot,
String name)
Creates a new custom cursor object.
|
GlyphVector |
Font.createGlyphVector(FontRenderContext frc,
String str)
Creates a
GlyphVector by
mapping characters to glyphs one-to-one based on the
Unicode cmap in this Font . |
abstract Image |
Toolkit.createImage(String filename)
Returns an image which gets pixel data from the specified file.
|
static Font |
Font.decode(String str)
Returns the
Font that the str
argument describes. |
static Color |
Color.decode(String nm)
Converts a
String to an integer and returns the
specified opaque Color . |
void |
TrayIcon.displayMessage(String caption,
String text,
TrayIcon.MessageType messageType)
Displays a popup message near the tray icon.
|
abstract void |
Graphics2D.drawString(String str,
float x,
float y)
Renders the text specified by the specified
String ,
using the current text attribute state in the Graphics2D context. |
abstract void |
Graphics.drawString(String str,
int x,
int y)
Draws the text given by the specified string, using this
graphics context's current font and color.
|
abstract void |
Graphics2D.drawString(String str,
int x,
int y)
Renders the text of the specified
String , using the
current text attribute state in the Graphics2D context. |
protected void |
Component.firePropertyChange(String propertyName,
boolean oldValue,
boolean newValue)
Support for reporting bound property changes for boolean properties.
|
void |
Component.firePropertyChange(String propertyName,
byte oldValue,
byte newValue)
Reports a bound property change.
|
void |
Component.firePropertyChange(String propertyName,
char oldValue,
char newValue)
Reports a bound property change.
|
void |
Component.firePropertyChange(String propertyName,
double oldValue,
double newValue)
Reports a bound property change.
|
void |
Component.firePropertyChange(String propertyName,
float oldValue,
float newValue)
Reports a bound property change.
|
protected void |
Component.firePropertyChange(String propertyName,
int oldValue,
int newValue)
Support for reporting bound property changes for integer properties.
|
void |
Component.firePropertyChange(String propertyName,
long oldValue,
long newValue)
Reports a bound property change.
|
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.
|
void |
Component.firePropertyChange(String propertyName,
short oldValue,
short newValue)
Reports a bound property change.
|
protected void |
KeyboardFocusManager.fireVetoableChange(String propertyName,
Object oldValue,
Object newValue)
Fires a PropertyChangeEvent in response to a change in a vetoable
property.
|
static AWTKeyStroke |
AWTKeyStroke.getAWTKeyStroke(String s)
Parses a string and returns an
AWTKeyStroke . |
static Color |
Color.getColor(String nm)
Finds a color in the system properties.
|
static Color |
Color.getColor(String nm,
Color v)
Finds a color in the system properties.
|
static Color |
Color.getColor(String nm,
int v)
Finds a color in the system properties.
|
Object |
Toolkit.getDesktopProperty(String propertyName)
Obtains a value for the specified desktop property.
|
static Font |
Font.getFont(String nm)
Returns a
Font object from the system properties list. |
static Font |
Font.getFont(String nm,
Font font)
Gets the specified
Font from the system properties
list. |
protected abstract java.awt.peer.FontPeer |
Toolkit.getFontPeer(String name,
int style)
Deprecated.
see java.awt.GraphicsEnvironment#getAllFonts
|
abstract Image |
Toolkit.getImage(String filename)
Returns an image which gets pixel data from the specified file,
whose format can be either GIF, JPEG or PNG.
|
LineMetrics |
Font.getLineMetrics(String str,
FontRenderContext frc)
|
LineMetrics |
FontMetrics.getLineMetrics(String str,
Graphics context)
|
LineMetrics |
Font.getLineMetrics(String str,
int beginIndex,
int limit,
FontRenderContext frc)
Returns a
LineMetrics object created with the
specified arguments. |
LineMetrics |
FontMetrics.getLineMetrics(String str,
int beginIndex,
int limit,
Graphics context)
|
PrintJob |
Toolkit.getPrintJob(Frame frame,
String jobtitle,
JobAttributes jobAttributes,
PageAttributes pageAttributes)
Gets a
PrintJob object which is the result of initiating
a print operation on the toolkit's platform. |
abstract PrintJob |
Toolkit.getPrintJob(Frame frame,
String jobtitle,
Properties props)
Gets a
PrintJob object which is the result of initiating
a print operation on the toolkit's platform. |
abstract Object |
Image.getProperty(String name,
ImageObserver observer)
Gets a property of this image by name.
|
static String |
Toolkit.getProperty(String key,
String defaultValue)
Gets a property with the specified key and default.
|
PropertyChangeListener[] |
Component.getPropertyChangeListeners(String propertyName)
Returns an array of all the listeners which have been associated
with the named property.
|
PropertyChangeListener[] |
KeyboardFocusManager.getPropertyChangeListeners(String propertyName)
Returns an array of all the
PropertyChangeListener s
associated with the named property. |
PropertyChangeListener[] |
SystemTray.getPropertyChangeListeners(String propertyName)
Returns an array of all the listeners that have been associated
with the named property.
|
PropertyChangeListener[] |
Toolkit.getPropertyChangeListeners(String propertyName)
Returns an array of all property change listeners
associated with the specified name of a desktop property.
|
Rectangle2D |
Font.getStringBounds(String str,
FontRenderContext frc)
Returns the logical bounds of the specified
String in
the specified FontRenderContext . |
Rectangle2D |
FontMetrics.getStringBounds(String str,
Graphics context)
Returns the bounds of the specified
String in the
specified Graphics context. |
Rectangle2D |
Font.getStringBounds(String str,
int beginIndex,
int limit,
FontRenderContext frc)
Returns the logical bounds of the specified
String in
the specified FontRenderContext . |
Rectangle2D |
FontMetrics.getStringBounds(String str,
int beginIndex,
int limit,
Graphics context)
Returns the bounds of the specified
String in the
specified Graphics context. |
static Cursor |
Cursor.getSystemCustomCursor(String name)
Returns a system-specific custom cursor object matching the
specified name.
|
VetoableChangeListener[] |
KeyboardFocusManager.getVetoableChangeListeners(String propertyName)
Returns an array of all the
VetoableChangeListener s
associated with the named property. |
void |
TextArea.insert(String str,
int pos)
Inserts the specified text at the specified position
in this text area.
|
void |
Choice.insert(String item,
int index)
Inserts the item into this choice at the specified position.
|
void |
Menu.insert(String label,
int index)
Inserts a menu item with the specified label into this menu
at the specified position.
|
void |
TextArea.insertText(String str,
int pos)
Deprecated.
As of JDK version 1.1,
replaced by
insert(String, int) . |
protected Object |
Toolkit.lazilyLoadDesktopProperty(String name)
an opportunity to lazily evaluate desktop property values.
|
void |
Choice.remove(String item)
Removes the first occurrence of
item
from the Choice menu. |
void |
List.remove(String item)
Removes the first occurrence of an item from the list.
|
void |
Component.removePropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Removes a
PropertyChangeListener from the listener
list for a specific property. |
void |
KeyboardFocusManager.removePropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Removes a PropertyChangeListener from the listener list for a specific
property.
|
void |
SystemTray.removePropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Removes a
PropertyChangeListener from the listener list
for a specific property. |
void |
Toolkit.removePropertyChangeListener(String name,
PropertyChangeListener pcl)
Removes the specified property change listener for the named
desktop property.
|
void |
KeyboardFocusManager.removeVetoableChangeListener(String propertyName,
VetoableChangeListener listener)
Removes a VetoableChangeListener from the listener list for a specific
property.
|
void |
List.replaceItem(String newValue,
int index)
Replaces the item at the specified index in the scrolling list
with the new string.
|
void |
TextArea.replaceRange(String str,
int start,
int end)
Replaces text between the indicated start and end positions
with the specified replacement text.
|
void |
TextArea.replaceText(String str,
int start,
int end)
Deprecated.
As of JDK version 1.1,
replaced by
replaceRange(String, int, int) . |
protected static void |
AWTEventMulticaster.save(ObjectOutputStream s,
String k,
EventListener l) |
protected void |
AWTEventMulticaster.saveInternal(ObjectOutputStream s,
String k) |
void |
Choice.select(String str)
Sets the selected item in this
Choice menu
to be the item whose name is equal to the specified string. |
void |
MenuItem.setActionCommand(String command)
Sets the command name of the action event that is fired
by this menu item.
|
void |
TrayIcon.setActionCommand(String command)
Sets the command name for the action event fired by this tray
icon.
|
void |
Button.setActionCommand(String command)
Sets the command name for the action event fired
by this button.
|
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.
|
void |
FileDialog.setDirectory(String dir)
Sets the directory of this file dialog window to be the
specified directory.
|
void |
FileDialog.setFile(String file)
Sets the selected file for this file dialog window to be the
specified file.
|
void |
JobAttributes.setFileName(String fileName)
Specifies the file name for the output file for jobs using these
attributes.
|
void |
Checkbox.setLabel(String label)
Sets this check box's label to be the string argument.
|
void |
MenuItem.setLabel(String label)
Sets the label for this menu item to the specified label.
|
void |
Button.setLabel(String label)
Sets the button's label to be the specified string.
|
void |
Component.setName(String name)
Sets the name of the component to the specified string.
|
void |
MenuComponent.setName(String name)
Sets the name of the component to the specified string.
|
void |
JobAttributes.setPrinter(String printer)
Specifies the destination printer for jobs using these attributes.
|
void |
Label.setText(String text)
Sets the text for this label to the specified text.
|
void |
TextField.setText(String t)
Sets the text that is presented by this
text component to be the specified text.
|
void |
TextComponent.setText(String t)
Sets the text that is presented by this
text component to be the specified text.
|
void |
Frame.setTitle(String title)
Sets the title for this frame to the specified string.
|
void |
Dialog.setTitle(String title)
Sets the title of the Dialog.
|
void |
TrayIcon.setToolTip(String tooltip)
Sets the tooltip string for this
TrayIcon . |
void |
CardLayout.show(Container parent,
String name)
Flips to the component that was added to this layout with the
specified
name , using addLayoutComponent . |
int |
FontMetrics.stringWidth(String str)
Returns the total advance width for showing the specified
String in this Font . |
static Component.BaselineResizeBehavior |
Component.BaselineResizeBehavior.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Window.Type |
Window.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TrayIcon.MessageType |
TrayIcon.MessageType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MultipleGradientPaint.CycleMethod |
MultipleGradientPaint.CycleMethod.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MultipleGradientPaint.ColorSpaceType |
MultipleGradientPaint.ColorSpaceType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Dialog.ModalityType |
Dialog.ModalityType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Dialog.ModalExclusionType |
Dialog.ModalExclusionType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Desktop.Action |
Desktop.Action.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GraphicsDevice.WindowTranslucency |
GraphicsDevice.WindowTranslucency.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
Constructor and Description |
---|
AWTError(String msg)
Constructs an instance of
AWTError with the specified
detail message. |
AWTException(String msg)
Constructs an instance of
AWTException with the
specified detail message. |
AWTPermission(String name)
Creates a new
AWTPermission with the specified name. |
AWTPermission(String name,
String actions)
Creates a new
AWTPermission object with the specified name. |
Button(String label)
Constructs a button with the specified label.
|
Checkbox(String label)
Creates a check box with the specified label.
|
Checkbox(String label,
boolean state)
Creates a check box with the specified label
and sets the specified state.
|
Checkbox(String label,
boolean state,
CheckboxGroup group)
Constructs a Checkbox with the specified label, set to the
specified state, and in the specified check box group.
|
Checkbox(String label,
CheckboxGroup group,
boolean state)
Creates a check box with the specified label, in the specified
check box group, and set to the specified state.
|
CheckboxMenuItem(String label)
Create a check box menu item with the specified label.
|
CheckboxMenuItem(String label,
boolean state)
Create a check box menu item with the specified label and state.
|
Cursor(String name)
Creates a new custom cursor object with the specified name.
|
Dialog(Dialog owner,
String title)
Constructs an initially invisible, modeless
Dialog
with the specified owner Dialog and title. |
Dialog(Dialog owner,
String title,
boolean modal)
Constructs an initially invisible
Dialog with the
specified owner Dialog , title, and modality. |
Dialog(Dialog owner,
String title,
boolean modal,
GraphicsConfiguration gc)
Constructs an initially invisible
Dialog with the
specified owner Dialog , title, modality and
GraphicsConfiguration . |
Dialog(Frame owner,
String title)
Constructs an initially invisible, modeless
Dialog with
the specified owner Frame and title. |
Dialog(Frame owner,
String title,
boolean modal)
Constructs an initially invisible
Dialog with the
specified owner Frame , title and modality. |
Dialog(Frame owner,
String title,
boolean modal,
GraphicsConfiguration gc)
Constructs an initially invisible
Dialog with the specified owner
Frame , title, modality, and GraphicsConfiguration . |
Dialog(Window owner,
String title)
Constructs an initially invisible, modeless
Dialog with
the specified owner Window and title. |
Dialog(Window owner,
String title,
Dialog.ModalityType modalityType)
Constructs an initially invisible
Dialog with the
specified owner Window , title and modality. |
Dialog(Window owner,
String title,
Dialog.ModalityType modalityType,
GraphicsConfiguration gc)
Constructs an initially invisible
Dialog with the
specified owner Window , title, modality and
GraphicsConfiguration . |
FileDialog(Dialog parent,
String title)
Creates a file dialog window with the specified title for loading
a file.
|
FileDialog(Dialog parent,
String title,
int mode)
Creates a file dialog window with the specified title for loading
or saving a file.
|
FileDialog(Frame parent,
String title)
Creates a file dialog window with the specified title for loading
a file.
|
FileDialog(Frame parent,
String title,
int mode)
Creates a file dialog window with the specified title for loading
or saving a file.
|
Font(String name,
int style,
int size)
Creates a new
Font from the specified name, style and
point size. |
FontFormatException(String reason)
Report a FontFormatException for the reason specified.
|
Frame(String title)
Constructs a new, initially invisible
Frame object
with the specified title. |
Frame(String title,
GraphicsConfiguration gc)
Constructs a new, initially invisible
Frame object
with the specified title and a
GraphicsConfiguration . |
HeadlessException(String msg) |
IllegalComponentStateException(String s)
Constructs an IllegalComponentStateException with the specified detail
message.
|
JobAttributes(int copies,
JobAttributes.DefaultSelectionType defaultSelection,
JobAttributes.DestinationType destination,
JobAttributes.DialogType dialog,
String fileName,
int maxPage,
int minPage,
JobAttributes.MultipleDocumentHandlingType multipleDocumentHandling,
int[][] pageRanges,
String printer,
JobAttributes.SidesType sides)
Constructs a
JobAttributes instance with the
specified values for every attribute. |
Label(String text)
Constructs a new label with the specified string of text,
left justified.
|
Label(String text,
int alignment)
Constructs a new label that presents the specified string of
text with the specified alignment.
|
Menu(String label)
Constructs a new menu with the specified label.
|
Menu(String label,
boolean tearOff)
Constructs a new menu with the specified label,
indicating whether the menu can be torn off.
|
MenuItem(String label)
Constructs a new MenuItem with the specified label
and no keyboard shortcut.
|
MenuItem(String label,
MenuShortcut s)
Create a menu item with an associated keyboard shortcut.
|
PopupMenu(String label)
Creates a new popup menu with the specified name.
|
TextArea(String text)
Constructs a new text area with the specified text.
|
TextArea(String text,
int rows,
int columns)
Constructs a new text area with the specified text,
and with the specified number of rows and columns.
|
TextArea(String text,
int rows,
int columns,
int scrollbars)
Constructs a new text area with the specified text,
and with the rows, columns, and scroll bar visibility
as specified.
|
TextField(String text)
Constructs a new text field initialized with the specified text.
|
TextField(String text,
int columns)
Constructs a new text field initialized with the specified text
to be displayed, and wide enough to hold the specified
number of columns.
|
TrayIcon(Image image,
String tooltip)
Creates a
TrayIcon with the specified image and
tooltip text. |
TrayIcon(Image image,
String tooltip,
PopupMenu popup)
Creates a
TrayIcon with the specified image,
tooltip and popup menu. |
Modifier and Type | Method and Description |
---|---|
String |
ColorSpace.getName(int idx)
Returns the name of the component given the component index.
|
Modifier and Type | Method and Description |
---|---|
static ICC_Profile |
ICC_Profile.getInstance(String fileName)
Constructs an ICC_Profile corresponding to the data in a file.
|
void |
ICC_Profile.write(String fileName)
Write this ICC_Profile to a file.
|
Constructor and Description |
---|
CMMException(String s)
Constructs a CMMException with the specified detail message.
|
ProfileDataException(String s)
Constructs a ProfileDataException with the specified detail message.
|
Modifier and Type | Field and Description |
---|---|
static String |
DataFlavor.javaJVMLocalObjectMimeType
To transfer a reference to an arbitrary Java object reference that
has no associated MIME Content-type, across a
Transferable
interface WITHIN THE SAME JVM, a DataFlavor
with this type/subtype is used, with a representationClass
equal to the type of the class/interface being passed across the
Transferable . |
static String |
DataFlavor.javaRemoteObjectMimeType
In order to pass a live link to a Remote object via a Drag and Drop
ACTION_LINK operation a Mime Content Type of
application/x-java-remote-object should be used,
where the representation class of the DataFlavor
represents the type of the Remote interface to be
transferred. |
static String |
DataFlavor.javaSerializedObjectMimeType
A MIME Content-Type of application/x-java-serialized-object represents
a graph of Java object(s) that have been made persistent.
|
Modifier and Type | Method and Description |
---|---|
static String |
SystemFlavorMap.decodeJavaMIMEType(String nat)
Decodes a
String native for use as a Java MIME type. |
static String |
SystemFlavorMap.encodeDataFlavor(DataFlavor flav)
Encodes a
DataFlavor for use as a String
native. |
static String |
SystemFlavorMap.encodeJavaMIMEType(String mimeType)
Encodes a MIME type for use as a
String native. |
String |
DataFlavor.getDefaultRepresentationClassAsString() |
String |
DataFlavor.getHumanPresentableName()
Returns the human presentable name for the data format that this
DataFlavor represents. |
String |
DataFlavor.getMimeType()
Returns the MIME type string for this
DataFlavor . |
String |
Clipboard.getName()
Returns the name of this clipboard object.
|
String |
DataFlavor.getParameter(String paramName)
Returns the human presentable name for this
DataFlavor
if paramName equals "humanPresentableName". |
String |
DataFlavor.getPrimaryType()
Returns the primary MIME type for this
DataFlavor . |
String |
DataFlavor.getSubType()
Returns the sub MIME type of this
DataFlavor . |
protected String |
DataFlavor.normalizeMimeType(String mimeType)
Deprecated.
|
protected String |
DataFlavor.normalizeMimeTypeParameter(String parameterName,
String parameterValue)
Deprecated.
|
String |
DataFlavor.toString()
String representation of this
DataFlavor and its
parameters. |
Modifier and Type | Method and Description |
---|---|
Map<String,DataFlavor> |
FlavorMap.getFlavorsForNatives(String[] natives)
Returns a
Map of the specified String natives
to their corresponding DataFlavor . |
Map<String,DataFlavor> |
SystemFlavorMap.getFlavorsForNatives(String[] natives)
Returns a
Map of the specified String natives
to their most preferred DataFlavor . |
List<String> |
SystemFlavorMap.getNativesForFlavor(DataFlavor flav)
Returns a
List of String natives to which the
specified DataFlavor can be translated by the data transfer
subsystem. |
List<String> |
FlavorTable.getNativesForFlavor(DataFlavor flav)
Returns a
List of String natives to which the
specified DataFlavor corresponds. |
Map<DataFlavor,String> |
FlavorMap.getNativesForFlavors(DataFlavor[] flavors)
Returns a
Map of the specified DataFlavor s to
their corresponding String native. |
Map<DataFlavor,String> |
SystemFlavorMap.getNativesForFlavors(DataFlavor[] flavors)
Returns a
Map of the specified DataFlavor s to
their most preferred String native. |
Modifier and Type | Method and Description |
---|---|
void |
SystemFlavorMap.addFlavorForUnencodedNative(String nat,
DataFlavor flav)
Adds a mapping from a single
String native to a single
DataFlavor . |
void |
SystemFlavorMap.addUnencodedNativeForFlavor(DataFlavor flav,
String nat)
Adds a mapping from the specified
DataFlavor (and all
DataFlavor s equal to the specified DataFlavor )
to the specified String native. |
static DataFlavor |
SystemFlavorMap.decodeDataFlavor(String nat)
Decodes a
String native for use as a
DataFlavor . |
static String |
SystemFlavorMap.decodeJavaMIMEType(String nat)
Decodes a
String native for use as a Java MIME type. |
static String |
SystemFlavorMap.encodeJavaMIMEType(String mimeType)
Encodes a MIME type for use as a
String native. |
boolean |
DataFlavor.equals(String s)
Deprecated.
As inconsistent with
hashCode() contract,
use isMimeTypeEqual(String) instead. |
List<DataFlavor> |
SystemFlavorMap.getFlavorsForNative(String nat)
Returns a
List of DataFlavor s to which the
specified String native can be translated by the data
transfer subsystem. |
List<DataFlavor> |
FlavorTable.getFlavorsForNative(String nat)
Returns a
List of DataFlavor s to which the
specified String corresponds. |
Map<String,DataFlavor> |
FlavorMap.getFlavorsForNatives(String[] natives)
Returns a
Map of the specified String natives
to their corresponding DataFlavor . |
Map<String,DataFlavor> |
SystemFlavorMap.getFlavorsForNatives(String[] natives)
Returns a
Map of the specified String natives
to their most preferred DataFlavor . |
String |
DataFlavor.getParameter(String paramName)
Returns the human presentable name for this
DataFlavor
if paramName equals "humanPresentableName". |
static boolean |
SystemFlavorMap.isJavaMIMEType(String str)
Returns whether the specified
String is an encoded Java
MIME type. |
boolean |
DataFlavor.isMimeTypeEqual(String mimeType)
Returns whether the string representation of the MIME type passed in
is equivalent to the MIME type of this
DataFlavor . |
protected String |
DataFlavor.normalizeMimeType(String mimeType)
Deprecated.
|
protected String |
DataFlavor.normalizeMimeTypeParameter(String parameterName,
String parameterValue)
Deprecated.
|
void |
SystemFlavorMap.setFlavorsForNative(String nat,
DataFlavor[] flavors)
Discards the current mappings for the specified
String
native, and creates new mappings to the specified
DataFlavor s. |
void |
DataFlavor.setHumanPresentableName(String humanPresentableName)
Sets the human presentable name for the data format that this
DataFlavor represents. |
void |
SystemFlavorMap.setNativesForFlavor(DataFlavor flav,
String[] natives)
Discards the current mappings for the specified
DataFlavor
and all DataFlavor s equal to the specified
DataFlavor , and creates new mappings to the
specified String natives. |
protected static Class<?> |
DataFlavor.tryToLoadClass(String className,
ClassLoader fallback)
Tries to load a class from: the bootstrap loader, the system loader,
the context loader (if one is present) and finally the loader specified.
|
Constructor and Description |
---|
Clipboard(String name)
Creates a clipboard object.
|
DataFlavor(Class<?> representationClass,
String humanPresentableName)
Constructs a
DataFlavor that represents a Java class. |
DataFlavor(String mimeType)
Constructs a
DataFlavor from a mimeType string. |
DataFlavor(String mimeType,
String humanPresentableName)
Constructs a
DataFlavor that represents a
MimeType . |
DataFlavor(String mimeType,
String humanPresentableName,
ClassLoader classLoader)
Constructs a
DataFlavor that represents a
MimeType . |
MimeTypeParseException(String s)
Constructs a MimeTypeParseException with the specified detail message.
|
StringSelection(String data)
Creates a
Transferable capable of transferring
the specified String . |
Constructor and Description |
---|
InvalidDnDOperationException(String msg)
Create an Exception with its own descriptive message
|
Modifier and Type | Method and Description |
---|---|
String |
ActionEvent.getActionCommand()
Returns the command string associated with this action.
|
static String |
KeyEvent.getKeyModifiersText(int modifiers)
Returns a
String describing the modifier key(s),
such as "Shift", or "Ctrl+Shift". |
static String |
KeyEvent.getKeyText(int keyCode)
Returns a String describing the keyCode, such as "HOME", "F1" or "A".
|
static String |
InputEvent.getModifiersExText(int modifiers)
Returns a String describing the extended modifier keys and
mouse buttons, such as "Shift", "Button1", or "Ctrl+Shift".
|
static String |
MouseEvent.getMouseModifiersText(int modifiers)
Returns a
String instance describing the modifier keys and
mouse buttons that were down during the event, such as "Shift",
or "Ctrl+Shift". |
String |
InputMethodEvent.paramString()
Returns a parameter string identifying this event.
|
String |
ActionEvent.paramString()
Returns a parameter string identifying this action event.
|
String |
ComponentEvent.paramString()
Returns a parameter string identifying this event.
|
String |
MouseWheelEvent.paramString()
Returns a parameter string identifying this event.
|
String |
FocusEvent.paramString()
Returns a parameter string identifying this event.
|
String |
InvocationEvent.paramString()
Returns a parameter string identifying this event.
|
String |
TextEvent.paramString()
Returns a parameter string identifying this text event.
|
String |
AdjustmentEvent.paramString() |
String |
MouseEvent.paramString()
Returns a parameter string identifying this event.
|
String |
KeyEvent.paramString()
Returns a parameter string identifying this event.
|
String |
HierarchyEvent.paramString()
Returns a parameter string identifying this event.
|
String |
PaintEvent.paramString() |
String |
ContainerEvent.paramString()
Returns a parameter string identifying this event.
|
String |
WindowEvent.paramString()
Returns a parameter string identifying this event.
|
String |
ItemEvent.paramString()
Returns a parameter string identifying this item 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. |
Modifier and Type | Method and Description |
---|---|
String[] |
MultipleMaster.getDesignAxisNames()
Returns the name for each design axis.
|
String |
TextHitInfo.toString()
Returns a
String representing the hit for debugging
use only. |
String |
NumericShaper.toString()
Returns a
String that describes this shaper. |
String |
TextLayout.toString()
Returns debugging information for this
TextLayout . |
Modifier and Type | Method and Description |
---|---|
byte[] |
OpenType.getFontTable(String strSfntTag)
Returns the table as an array of bytes for a specified tag.
|
byte[] |
OpenType.getFontTable(String strSfntTag,
int offset,
int count)
Returns a subset of the table as an array of bytes
for a specified tag.
|
int |
OpenType.getFontTableSize(String strSfntTag)
Returns the size of the table for a specified tag.
|
static NumericShaper.Range |
NumericShaper.Range.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
Constructor and Description |
---|
TextAttribute(String name)
Constructs a
TextAttribute with the specified name. |
TextLayout(String string,
Font font,
FontRenderContext frc)
|
TextLayout(String string,
Map<? extends AttributedCharacterIterator.Attribute,?> attributes,
FontRenderContext frc)
Constructs a
TextLayout from a String
and an attribute set. |
Modifier and Type | Method and Description |
---|---|
String |
Rectangle2D.Float.toString()
Returns the
String representation of this
Rectangle2D . |
String |
Rectangle2D.Double.toString()
Returns the
String representation of this
Rectangle2D . |
String |
Point2D.Float.toString()
Returns a
String that represents the value
of this Point2D . |
String |
Point2D.Double.toString()
Returns a
String that represents the value
of this Point2D . |
String |
AffineTransform.toString()
Returns a
String that represents the value of this
Object . |
Constructor and Description |
---|
IllegalPathStateException(String s)
Constructs an
IllegalPathStateException with the
specified detail message. |
NoninvertibleTransformException(String s)
Constructs an instance of
NoninvertibleTransformException
with the specified detail message. |
Modifier and Type | Method and Description |
---|---|
String |
InputMethodDescriptor.getInputMethodDisplayName(Locale inputLocale,
Locale displayLanguage)
Returns the user-visible name of the corresponding
input method for the given input locale in the language in which
the name will be displayed.
|
Modifier and Type | Method and Description |
---|---|
JFrame |
InputMethodContext.createInputMethodJFrame(String title,
boolean attachToInputContext)
Creates a top-level Swing JFrame for use by the input method.
|
Window |
InputMethodContext.createInputMethodWindow(String title,
boolean attachToInputContext)
Creates a top-level window for use by the input method.
|
Modifier and Type | Method and Description |
---|---|
String[] |
RenderedImage.getPropertyNames()
Returns an array of names recognized by
getProperty(String)
or null , if no property names are recognized. |
String[] |
BufferedImage.getPropertyNames()
Returns an array of names recognized by
getProperty(String)
or null , if no property names are recognized. |
String |
IndexColorModel.toString()
Returns the
String representation of the contents of
this ColorModel object. |
String |
ColorModel.toString()
Returns the
String representation of the contents of
this ColorModel object. |
String |
DirectColorModel.toString()
Returns a
String that represents this
DirectColorModel . |
String |
BufferedImage.toString()
Returns a
String representation of this
BufferedImage object and its values. |
Modifier and Type | Method and Description |
---|---|
Object |
RenderedImage.getProperty(String name)
Gets a property from the property set of this image.
|
Object |
BufferedImage.getProperty(String name)
Returns a property of the image by name.
|
Object |
BufferedImage.getProperty(String name,
ImageObserver observer)
Returns a property of the image by name.
|
Constructor and Description |
---|
ImagingOpException(String s)
Constructs an
ImagingOpException object with the
specified message. |
RasterFormatException(String s)
Constructs a new
RasterFormatException with the
specified message. |
Modifier and Type | Field and Description |
---|---|
static String |
RenderableImage.HINTS_OBSERVED
String constant that can be used to identify a property on
a RenderedImage obtained via the createRendering or
createScaledRendering methods.
|
Modifier and Type | Method and Description |
---|---|
String[] |
ContextualRenderedImageFactory.getPropertyNames()
Returns a list of names recognized by getProperty.
|
String[] |
RenderableImageOp.getPropertyNames()
Return a list of names recognized by getProperty.
|
String[] |
RenderableImage.getPropertyNames()
Returns a list of names recognized by getProperty.
|
Modifier and Type | Method and Description |
---|---|
Object |
ContextualRenderedImageFactory.getProperty(ParameterBlock paramBlock,
String name)
Gets the appropriate instance of the property specified by the name
parameter.
|
Object |
RenderableImageOp.getProperty(String name)
Gets a property from the property set of this image.
|
Object |
RenderableImage.getProperty(String name)
Gets a property from the property set of this image.
|
Modifier and Type | Method and Description |
---|---|
abstract String |
PrinterJob.getJobName()
Gets the name of the document to be printed.
|
abstract String |
PrinterJob.getUserName()
Gets the name of the printing user.
|
Modifier and Type | Method and Description |
---|---|
static StreamPrintServiceFactory[] |
PrinterJob.lookupStreamPrintServices(String mimeType)
A convenience method which locates factories for stream print
services which can image 2D graphics.
|
abstract void |
PrinterJob.setJobName(String jobName)
Sets the name of the document to be printed.
|
Constructor and Description |
---|
PrinterAbortException(String msg)
Constructs a new
PrinterAbortException with
the specified detail message. |
PrinterException(String msg)
Constructs a new
PrinterException object
with the specified detail message. |
Modifier and Type | Field and Description |
---|---|
static String |
DesignMode.PROPERTYNAME
The standard value of the propertyName as fired from a BeanContext or
other source of PropertyChangeEvents.
|
Modifier and Type | Method and Description |
---|---|
static String |
Introspector.decapitalize(String name)
Utility method to take a string and convert it to normal Java variable
name capitalization.
|
String |
EventHandler.getAction()
Returns the name of the target's writable property
that this event handler will set,
or the name of the method that this event handler
will invoke on the target.
|
String |
PropertyEditorSupport.getAsText()
Gets the property value as a string suitable for presentation
to a human to edit.
|
String |
PropertyEditor.getAsText()
Gets the property value as text.
|
static String[] |
Introspector.getBeanInfoSearchPath()
Gets the list of package names that will be used for
finding BeanInfo classes.
|
String |
FeatureDescriptor.getDisplayName()
Gets the localized display name of this feature.
|
static String[] |
PropertyEditorManager.getEditorSearchPath()
Gets the package names that will be searched for property editors.
|
String |
EventHandler.getEventPropertyName()
Returns the property of the event that should be
used in the action applied to the target.
|
String |
PropertyEditorSupport.getJavaInitializationString()
This method is intended for use when generating Java code to set
the value of the property.
|
String |
PropertyEditor.getJavaInitializationString()
Returns a fragment of Java code that can be used to set a property
to match the editors current state.
|
String |
EventHandler.getListenerMethodName()
Returns the name of the method that will trigger the action.
|
String |
Statement.getMethodName()
Returns the name of the method to invoke.
|
String |
FeatureDescriptor.getName()
Gets the programmatic name of this feature.
|
String |
VetoableChangeListenerProxy.getPropertyName()
Returns the name of the named property associated with the listener.
|
String |
PropertyChangeListenerProxy.getPropertyName()
Returns the name of the named property associated with the listener.
|
String |
PropertyChangeEvent.getPropertyName()
Gets the programmatic name of the property that was changed.
|
String |
FeatureDescriptor.getShortDescription()
Gets the short description of this feature.
|
String[] |
PropertyEditorSupport.getTags()
If the property value must be one of a set of known tagged values,
then this method should return an array of the tag values.
|
String[] |
PropertyEditor.getTags()
If the property value must be one of a set of known tagged values,
then this method should return an array of the tags.
|
String |
FeatureDescriptor.toString()
Returns a string representation of the object.
|
String |
Statement.toString()
Prints the value of this statement using a Java-style syntax.
|
String |
PropertyChangeEvent.toString()
Returns a string representation of the object.
|
String |
Expression.toString()
Prints the value of this expression using a Java-style syntax.
|
Modifier and Type | Method and Description |
---|---|
Enumeration<String> |
FeatureDescriptor.attributeNames()
Gets an enumeration of the locale-independent names of this
feature.
|
Modifier and Type | Method and Description |
---|---|
void |
PropertyChangeSupport.addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Add a PropertyChangeListener for a specific property.
|
void |
VetoableChangeSupport.addVetoableChangeListener(String propertyName,
VetoableChangeListener listener)
Add a VetoableChangeListener for a specific property.
|
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 String |
Introspector.decapitalize(String name)
Utility method to take a string and convert it to normal Java variable
name capitalization.
|
void |
PropertyChangeSupport.fireIndexedPropertyChange(String propertyName,
int index,
boolean oldValue,
boolean newValue)
Reports a boolean 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.fireIndexedPropertyChange(String propertyName,
int index,
int oldValue,
int newValue)
Reports an integer 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.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,
boolean oldValue,
boolean newValue)
Reports a boolean bound 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,
int oldValue,
int newValue)
Reports an integer bound 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,
boolean oldValue,
boolean newValue)
Reports a boolean constrained 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,
int oldValue,
int newValue)
Reports an integer constrained 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.
|
PropertyChangeListener[] |
PropertyChangeSupport.getPropertyChangeListeners(String propertyName)
Returns an array of all the listeners which have been associated
with the named property.
|
Object |
FeatureDescriptor.getValue(String attributeName)
Retrieve a named attribute with this feature.
|
VetoableChangeListener[] |
VetoableChangeSupport.getVetoableChangeListeners(String propertyName)
Returns an array of all the listeners which have been associated
with the named property.
|
boolean |
VetoableChangeSupport.hasListeners(String propertyName)
Check if there are any listeners for a specific property, including
those registered on all properties.
|
boolean |
PropertyChangeSupport.hasListeners(String propertyName)
Check if there are any listeners for a specific property, including
those registered on all properties.
|
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.
|
Image |
SimpleBeanInfo.loadImage(String resourceName)
This is a utility method to help in loading icon images.
|
void |
PropertyChangeSupport.removePropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Remove a PropertyChangeListener for a specific property.
|
void |
VetoableChangeSupport.removeVetoableChangeListener(String propertyName,
VetoableChangeListener listener)
Remove a VetoableChangeListener for a specific property.
|
void |
PropertyEditorSupport.setAsText(String text)
Sets the property value by parsing a given String.
|
void |
PropertyEditor.setAsText(String text)
Set the property value by parsing a given String.
|
static void |
Introspector.setBeanInfoSearchPath(String[] path)
Change the list of package names that will be used for
finding BeanInfo classes.
|
void |
FeatureDescriptor.setDisplayName(String displayName)
Sets the localized display name of this feature.
|
static void |
PropertyEditorManager.setEditorSearchPath(String[] path)
Change the list of package names that will be used for
finding property editors.
|
void |
FeatureDescriptor.setName(String name)
Sets the programmatic name of this feature.
|
void |
FeatureDescriptor.setShortDescription(String text)
You can associate a short descriptive string with a feature.
|
void |
FeatureDescriptor.setValue(String attributeName,
Object value)
Associate a named attribute with this feature.
|
Constructor and Description |
---|
DefaultPersistenceDelegate(String[] constructorPropertyNames)
Creates a default persistence delegate for a class with a
constructor whose arguments are the values of the property
names as specified by
constructorPropertyNames . |
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. |
EventSetDescriptor(Class<?> sourceClass,
String eventSetName,
Class<?> listenerType,
String listenerMethodName)
Creates an EventSetDescriptor assuming that you are
following the most simple standard design pattern where a named
event "fred" is (1) delivered as a call on the single method of
interface FredListener, (2) has a single argument of type FredEvent,
and (3) where the FredListener may be registered with a call on an
addFredListener method of the source component and removed with a
call on a removeFredListener method.
|
EventSetDescriptor(Class<?> sourceClass,
String eventSetName,
Class<?> listenerType,
String[] listenerMethodNames,
String addListenerMethodName,
String removeListenerMethodName)
Creates an EventSetDescriptor from scratch using
string names.
|
EventSetDescriptor(Class<?> sourceClass,
String eventSetName,
Class<?> listenerType,
String[] listenerMethodNames,
String addListenerMethodName,
String removeListenerMethodName)
Creates an EventSetDescriptor from scratch using
string names.
|
EventSetDescriptor(Class<?> sourceClass,
String eventSetName,
Class<?> listenerType,
String[] listenerMethodNames,
String addListenerMethodName,
String removeListenerMethodName,
String getListenerMethodName)
This constructor creates an EventSetDescriptor from scratch using
string names.
|
EventSetDescriptor(Class<?> sourceClass,
String eventSetName,
Class<?> listenerType,
String[] listenerMethodNames,
String addListenerMethodName,
String removeListenerMethodName,
String getListenerMethodName)
This constructor creates an EventSetDescriptor from scratch using
string names.
|
EventSetDescriptor(String eventSetName,
Class<?> listenerType,
Method[] listenerMethods,
Method addListenerMethod,
Method removeListenerMethod)
Creates an EventSetDescriptor from scratch using
java.lang.reflect.Method and java.lang.Class objects.
|
EventSetDescriptor(String eventSetName,
Class<?> listenerType,
Method[] listenerMethods,
Method addListenerMethod,
Method removeListenerMethod,
Method getListenerMethod)
This constructor creates an EventSetDescriptor from scratch using
java.lang.reflect.Method and java.lang.Class objects.
|
EventSetDescriptor(String eventSetName,
Class<?> listenerType,
MethodDescriptor[] listenerMethodDescriptors,
Method addListenerMethod,
Method removeListenerMethod)
Creates an EventSetDescriptor from scratch using
java.lang.reflect.MethodDescriptor and java.lang.Class
objects.
|
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. |
IndexedPropertyChangeEvent(Object source,
String propertyName,
Object oldValue,
Object newValue,
int index)
Constructs a new
IndexedPropertyChangeEvent object. |
IndexedPropertyDescriptor(String propertyName,
Class<?> beanClass)
This constructor constructs an IndexedPropertyDescriptor for a property
that follows the standard Java conventions by having getFoo and setFoo
accessor methods, for both indexed access and array access.
|
IndexedPropertyDescriptor(String propertyName,
Class<?> beanClass,
String readMethodName,
String writeMethodName,
String indexedReadMethodName,
String indexedWriteMethodName)
This constructor takes the name of a simple property, and method
names for reading and writing the property, both indexed
and non-indexed.
|
IndexedPropertyDescriptor(String propertyName,
Method readMethod,
Method writeMethod,
Method indexedReadMethod,
Method indexedWriteMethod)
This constructor takes the name of a simple property, and Method
objects for reading and writing the property.
|
IntrospectionException(String mess)
Constructs an
IntrospectionException with a
detailed message. |
PropertyChangeEvent(Object source,
String propertyName,
Object oldValue,
Object newValue)
Constructs a new
PropertyChangeEvent . |
PropertyChangeListenerProxy(String propertyName,
PropertyChangeListener listener)
Constructor which binds the
PropertyChangeListener
to a specific property. |
PropertyDescriptor(String propertyName,
Class<?> beanClass)
Constructs a PropertyDescriptor for a property that follows
the standard Java convention by having getFoo and setFoo
accessor methods.
|
PropertyDescriptor(String propertyName,
Class<?> beanClass,
String readMethodName,
String writeMethodName)
This constructor takes the name of a simple property, and method
names for reading and writing the property.
|
PropertyDescriptor(String propertyName,
Method readMethod,
Method writeMethod)
This constructor takes the name of a simple property, and Method
objects for reading and writing the property.
|
PropertyVetoException(String mess,
PropertyChangeEvent evt)
Constructs a
PropertyVetoException with a
detailed message. |
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. |
VetoableChangeListenerProxy(String propertyName,
VetoableChangeListener listener)
Constructor which binds the
VetoableChangeListener
to a specific property. |
XMLEncoder(OutputStream out,
String charset,
boolean declaration,
int indentation)
Creates a new XML encoder to write out JavaBeans
to the stream
out using the given charset
starting from the given indentation . |
Modifier and Type | Method and Description |
---|---|
void |
BeanContextChild.addPropertyChangeListener(String name,
PropertyChangeListener pcl)
Adds a
PropertyChangeListener
to this BeanContextChild
in order to receive a PropertyChangeEvent
whenever the specified property has changed. |
void |
BeanContextChildSupport.addPropertyChangeListener(String name,
PropertyChangeListener pcl)
Add a PropertyChangeListener for a specific property.
|
void |
BeanContextChild.addVetoableChangeListener(String name,
VetoableChangeListener vcl)
Adds a
VetoableChangeListener to
this BeanContextChild
to receive events whenever the specified property changes. |
void |
BeanContextChildSupport.addVetoableChangeListener(String name,
VetoableChangeListener vcl)
Add a VetoableChangeListener for a specific property.
|
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.
|
URL |
BeanContextSupport.getResource(String name,
BeanContextChild bcc) |
URL |
BeanContext.getResource(String name,
BeanContextChild bcc)
Analagous to
java.lang.ClassLoader.getResource() , this
method allows a BeanContext implementation to interpose
behavior between the child Component
and underlying ClassLoader . |
InputStream |
BeanContextSupport.getResourceAsStream(String name,
BeanContextChild bcc) |
InputStream |
BeanContext.getResourceAsStream(String name,
BeanContextChild bcc)
Analagous to
java.lang.ClassLoader.getResourceAsStream() ,
this method allows a BeanContext implementation
to interpose behavior between the child Component
and underlying ClassLoader . |
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 |
BeanContext.instantiateChild(String beanName)
Instantiate the javaBean named as a
child of this
BeanContext . |
void |
BeanContextChild.removePropertyChangeListener(String name,
PropertyChangeListener pcl)
Removes a
PropertyChangeListener from this
BeanContextChild so that it no longer
receives PropertyChangeEvents when the
specified property is changed. |
void |
BeanContextChildSupport.removePropertyChangeListener(String name,
PropertyChangeListener pcl)
Remove a PropertyChangeListener for a specific property.
|
void |
BeanContextChild.removeVetoableChangeListener(String name,
VetoableChangeListener vcl)
Removes a
VetoableChangeListener from this
BeanContextChild so that it no longer receives
events when the specified property changes. |
void |
BeanContextChildSupport.removeVetoableChangeListener(String name,
VetoableChangeListener vcl)
Removes a
VetoableChangeListener . |
Modifier and Type | Field and Description |
---|---|
protected String |
StringBufferInputStream.buffer
Deprecated.
The string from which bytes are read.
|
String |
InvalidClassException.classname
Name of the invalid class.
|
static String |
File.pathSeparator
The system-dependent path-separator character, represented as a string
for convenience.
|
static String |
File.separator
The system-dependent default name-separator character, represented as a
string for convenience.
|
String |
StreamTokenizer.sval
If the current token is a word token, this field contains a
string giving the characters of the word token.
|
Modifier and Type | Method and Description |
---|---|
String |
File.getAbsolutePath()
Returns the absolute pathname string of this abstract pathname.
|
String |
FilePermission.getActions()
Returns the "canonical string representation" of the actions.
|
String |
File.getCanonicalPath()
Returns the canonical pathname string of this abstract pathname.
|
String |
OutputStreamWriter.getEncoding()
Returns the name of the character encoding being used by this stream.
|
String |
InputStreamReader.getEncoding()
Returns the name of the character encoding being used by this stream.
|
String |
WriteAbortedException.getMessage()
Produce the message and include the message from the nested
exception, if there is one.
|
String |
InvalidClassException.getMessage()
Produce the message and include the classname, if present.
|
String |
ObjectStreamField.getName()
Get the name of this field.
|
String |
ObjectStreamClass.getName()
Returns the name of the class described by this descriptor.
|
String |
File.getName()
Returns the name of the file or directory denoted by this abstract
pathname.
|
String |
File.getParent()
Returns the pathname string of this abstract pathname's parent, or
null if this pathname does not name a parent directory. |
String |
File.getPath()
Converts this abstract pathname into a pathname string.
|
String |
ObjectStreamField.getTypeString()
Return the JVM type signature.
|
String[] |
File.list()
Returns an array of strings naming the files and directories in the
directory denoted by this abstract pathname.
|
String[] |
File.list(FilenameFilter filter)
Returns an array of strings naming the files and directories in the
directory denoted by this abstract pathname that satisfy the specified
filter.
|
String |
LineNumberReader.readLine()
Read a line of text.
|
String |
DataInputStream.readLine()
Deprecated.
This method does not properly convert bytes to characters.
As of JDK 1.1, the preferred way to read lines of text is via the
BufferedReader.readLine() method. Programs that use the
DataInputStream class to read lines can be converted to use
the BufferedReader class by replacing code of the form:
with:DataInputStream d = new DataInputStream(in); BufferedReader d = new BufferedReader(new InputStreamReader(in)); |
String |
BufferedReader.readLine()
Reads a line of text.
|
String |
RandomAccessFile.readLine()
Reads the next line of text from this file.
|
String |
Console.readLine()
Reads a single line of text from the console.
|
String |
ObjectInputStream.readLine()
Deprecated.
This method does not properly convert bytes to characters.
see DataInputStream for the details and alternatives.
|
String |
DataInput.readLine()
Reads the next line of text from the input stream.
|
String |
Console.readLine(String fmt,
Object... args)
Provides a formatted prompt, then reads a single line of text from the
console.
|
String |
DataInputStream.readUTF()
See the general contract of the
readUTF
method of DataInput . |
String |
RandomAccessFile.readUTF()
Reads in a string from this file.
|
String |
ObjectInputStream.readUTF()
Reads a String in
modified UTF-8
format.
|
String |
DataInput.readUTF()
Reads in a string that has been encoded using a
modified UTF-8
format.
|
static String |
DataInputStream.readUTF(DataInput in)
Reads from the
stream
in a representation
of a Unicode character string encoded in
modified UTF-8 format;
this string of characters is then returned as a String . |
String |
StringWriter.toString()
Return the buffer's current value as a string.
|
String |
ObjectStreamField.toString()
Return a string that describes this field.
|
String |
ObjectStreamClass.toString()
Return a string describing this ObjectStreamClass.
|
String |
File.toString()
Returns the pathname string of this abstract pathname.
|
String |
StreamTokenizer.toString()
Returns the string representation of the current stream token and
the line number it occurs on.
|
String |
ByteArrayOutputStream.toString()
Converts the buffer's contents into a string decoding bytes using the
platform's default character set.
|
String |
CharArrayWriter.toString()
Converts input data to a string.
|
String |
ByteArrayOutputStream.toString(int hibyte)
Deprecated.
This method does not properly convert bytes into characters.
As of JDK 1.1, the preferred way to do this is via the
toString(String enc) method, which takes an encoding-name
argument, or the toString() method, which uses the
platform's default character encoding. |
String |
ByteArrayOutputStream.toString(String charsetName)
Converts the buffer's contents into a string by decoding the bytes using
the named
charset . |
Modifier and Type | Method and Description |
---|---|
Stream<String> |
BufferedReader.lines()
Returns a
Stream , the elements of which are lines read from
this BufferedReader . |
Modifier and Type | Method and Description |
---|---|
boolean |
FilenameFilter.accept(File dir,
String name)
Tests if a specified file should be included in a file list.
|
static File |
File.createTempFile(String prefix,
String suffix)
Creates an empty file in the default temporary-file directory, using
the given prefix and suffix to generate its name.
|
static File |
File.createTempFile(String prefix,
String suffix,
File directory)
Creates a new empty file in the specified directory, using the
given prefix and suffix strings to generate its name.
|
abstract boolean |
ObjectInputStream.GetField.defaulted(String name)
Return true if the named field is defaulted and has no value in this
stream.
|
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(Locale l,
String format,
Object... args)
Writes a formatted string to this 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.
|
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.
|
abstract boolean |
ObjectInputStream.GetField.get(String name,
boolean val)
Get the value of the named boolean field from the persistent field.
|
abstract byte |
ObjectInputStream.GetField.get(String name,
byte val)
Get the value of the named byte field from the persistent field.
|
abstract char |
ObjectInputStream.GetField.get(String name,
char val)
Get the value of the named char field from the persistent field.
|
abstract double |
ObjectInputStream.GetField.get(String name,
double val)
Get the value of the named double field from the persistent field.
|
abstract float |
ObjectInputStream.GetField.get(String name,
float val)
Get the value of the named float field from the persistent field.
|
abstract int |
ObjectInputStream.GetField.get(String name,
int val)
Get the value of the named int field from the persistent field.
|
abstract long |
ObjectInputStream.GetField.get(String name,
long val)
Get the value of the named long field from the persistent field.
|
abstract Object |
ObjectInputStream.GetField.get(String name,
Object val)
Get the value of the named Object field from the persistent field.
|
abstract short |
ObjectInputStream.GetField.get(String name,
short val)
Get the value of the named short field from the persistent field.
|
ObjectStreamField |
ObjectStreamClass.getField(String name)
Get the field of this class by name.
|
void |
PrintWriter.print(String s)
Prints a string.
|
void |
PrintStream.print(String s)
Prints a string.
|
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(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(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.
|
void |
PrintWriter.println(String x)
Prints a String and then terminates the line.
|
void |
PrintStream.println(String x)
Prints a String and then terminate the line.
|
abstract void |
ObjectOutputStream.PutField.put(String name,
boolean val)
Put the value of the named boolean field into the persistent field.
|
abstract void |
ObjectOutputStream.PutField.put(String name,
byte val)
Put the value of the named byte field into the persistent field.
|
abstract void |
ObjectOutputStream.PutField.put(String name,
char val)
Put the value of the named char field into the persistent field.
|
abstract void |
ObjectOutputStream.PutField.put(String name,
double val)
Put the value of the named double field into the persistent field.
|
abstract void |
ObjectOutputStream.PutField.put(String name,
float val)
Put the value of the named float field into the persistent field.
|
abstract void |
ObjectOutputStream.PutField.put(String name,
int val)
Put the value of the named int field into the persistent field.
|
abstract void |
ObjectOutputStream.PutField.put(String name,
long val)
Put the value of the named long field into the persistent field.
|
abstract void |
ObjectOutputStream.PutField.put(String name,
Object val)
Put the value of the named Object field into the persistent field.
|
abstract void |
ObjectOutputStream.PutField.put(String name,
short val)
Put the value of the named short 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 Class<?> |
ObjectInputStream.resolveProxyClass(String[] interfaces)
Returns a proxy class that implements the interfaces named in a proxy
class descriptor; subclasses may implement this method to read custom
data from the stream along with the descriptors for dynamic proxy
classes, allowing them to use an alternate loading mechanism for the
interfaces and the proxy class.
|
String |
ByteArrayOutputStream.toString(String charsetName)
Converts the buffer's contents into a string by decoding the bytes using
the named
charset . |
void |
StringWriter.write(String str)
Write a string.
|
void |
PrintWriter.write(String s)
Writes a string.
|
void |
Writer.write(String str)
Writes a string.
|
void |
StringWriter.write(String str,
int off,
int len)
Write a portion of a string.
|
void |
BufferedWriter.write(String s,
int off,
int len)
Writes a portion of a String.
|
void |
PrintWriter.write(String s,
int off,
int len)
Writes a portion of a string.
|
void |
Writer.write(String str,
int off,
int len)
Writes a portion of a string.
|
void |
OutputStreamWriter.write(String str,
int off,
int len)
Writes a portion of a string.
|
void |
FilterWriter.write(String str,
int off,
int len)
Writes a portion of a string.
|
void |
CharArrayWriter.write(String str,
int off,
int len)
Write a portion of a string to the buffer.
|
void |
DataOutput.writeBytes(String s)
Writes a string to the output stream.
|
void |
ObjectOutputStream.writeBytes(String str)
Writes a String as a sequence of bytes.
|
void |
DataOutputStream.writeBytes(String s)
Writes out the string to the underlying output stream as a
sequence of bytes.
|
void |
RandomAccessFile.writeBytes(String s)
Writes the string to the file as a sequence of bytes.
|
void |
DataOutput.writeChars(String s)
Writes every character in the string
s ,
to the output stream, in order,
two bytes per character. |
void |
ObjectOutputStream.writeChars(String str)
Writes a String as a sequence of chars.
|
void |
DataOutputStream.writeChars(String s)
Writes a string to the underlying output stream as a sequence of
characters.
|
void |
RandomAccessFile.writeChars(String s)
Writes a string to the file as a sequence of characters.
|
void |
DataOutput.writeUTF(String s)
Writes two bytes of length information
to the output stream, followed
by the
modified UTF-8
representation
of every character in the string
s . |
void |
ObjectOutputStream.writeUTF(String str)
Primitive data write of this String in
modified UTF-8
format.
|
void |
DataOutputStream.writeUTF(String str)
Writes a string to the underlying output stream using
modified UTF-8
encoding in a machine-independent manner.
|
void |
RandomAccessFile.writeUTF(String str)
Writes a string to the file using
modified UTF-8
encoding in a machine-independent manner.
|
Constructor and Description |
---|
CharConversionException(String s)
This provides a detailed message.
|
EOFException(String s)
Constructs an
EOFException with the specified detail
message. |
File(File parent,
String child)
Creates a new
File instance from a parent abstract
pathname and a child pathname string. |
File(String pathname)
Creates a new
File instance by converting the given
pathname string into an abstract pathname. |
File(String parent,
String child)
Creates a new
File instance from a parent pathname string
and a child pathname string. |
FileInputStream(String name)
Creates a
FileInputStream by
opening a connection to an actual file,
the file named by the path name name
in the file system. |
FileNotFoundException(String s)
Constructs a
FileNotFoundException with the
specified detail message. |
FileOutputStream(String name)
Creates a file output stream to write to the file with the
specified name.
|
FileOutputStream(String name,
boolean append)
Creates a file output stream to write to the file with the specified
name.
|
FilePermission(String path,
String actions)
Creates a new FilePermission object with the specified actions.
|
FileReader(String fileName)
Creates a new FileReader, given the name of the
file to read from.
|
FileWriter(String fileName)
Constructs a FileWriter object given a file name.
|
FileWriter(String fileName,
boolean append)
Constructs a FileWriter object given a file name with a boolean
indicating whether or not to append the data written.
|
InputStreamReader(InputStream in,
String charsetName)
Creates an InputStreamReader that uses the named charset.
|
InterruptedIOException(String s)
Constructs an
InterruptedIOException with the
specified detail message. |
InvalidClassException(String reason)
Report an InvalidClassException for the reason specified.
|
InvalidClassException(String cname,
String reason)
Constructs an InvalidClassException object.
|
InvalidObjectException(String reason)
Constructs an
InvalidObjectException . |
IOException(String message)
Constructs an
IOException with the specified detail message. |
IOException(String message,
Throwable cause)
Constructs an
IOException with the specified detail message
and cause. |
NotActiveException(String reason)
Constructor to create a new NotActiveException with the reason given.
|
NotSerializableException(String classname)
Constructs a NotSerializableException object with message string.
|
ObjectStreamException(String classname)
Create an ObjectStreamException with the specified argument.
|
ObjectStreamField(String name,
Class<?> type)
Create a Serializable field with the specified type.
|
ObjectStreamField(String name,
Class<?> type,
boolean unshared)
Creates an ObjectStreamField representing a serializable field with the
given name and type.
|
OutputStreamWriter(OutputStream out,
String charsetName)
Creates an OutputStreamWriter that uses the named charset.
|
PrintStream(File file,
String csn)
Creates a new print stream, without automatic line flushing, with the
specified file and charset.
|
PrintStream(OutputStream out,
boolean autoFlush,
String encoding)
Creates a new print stream.
|
PrintStream(String fileName)
Creates a new print stream, without automatic line flushing, with the
specified file name.
|
PrintStream(String fileName,
String csn)
Creates a new print stream, without automatic line flushing, with the
specified file name and charset.
|
PrintWriter(File file,
String csn)
Creates a new PrintWriter, without automatic line flushing, with the
specified file and charset.
|
PrintWriter(String fileName)
Creates a new PrintWriter, without automatic line flushing, with the
specified file name.
|
PrintWriter(String fileName,
String csn)
Creates a new PrintWriter, without automatic line flushing, with the
specified file name and charset.
|
RandomAccessFile(File file,
String mode)
Creates a random access file stream to read from, and optionally to
write to, the file specified by the
File argument. |
RandomAccessFile(String name,
String mode)
Creates a random access file stream to read from, and optionally
to write to, a file with the specified name.
|
SerializablePermission(String name)
Creates a new SerializablePermission with the specified name.
|
SerializablePermission(String name,
String actions)
Creates a new SerializablePermission object with the specified name.
|
StreamCorruptedException(String reason)
Create a StreamCorruptedException and list a reason why thrown.
|
StringBufferInputStream(String s)
Deprecated.
Creates a string input stream to read data from the specified string.
|
StringReader(String s)
Creates a new string reader.
|
SyncFailedException(String desc)
Constructs an SyncFailedException with a detail message.
|
UncheckedIOException(String message,
IOException cause)
Constructs an instance of this class.
|
UnsupportedEncodingException(String s)
Constructs an UnsupportedEncodingException with a detail message.
|
UTFDataFormatException(String s)
Constructs a
UTFDataFormatException with the
specified detail message. |
WriteAbortedException(String s,
Exception ex)
Constructs a WriteAbortedException with a string describing
the exception and the exception causing the abort.
|
Modifier and Type | Field and Description |
---|---|
static Comparator<String> |
String.CASE_INSENSITIVE_ORDER
A Comparator that orders
String objects as by
compareToIgnoreCase . |
Modifier and Type | Method and Description | ||||
---|---|---|---|---|---|
static String |
System.clearProperty(String key)
Removes the system property indicated by the specified key.
|
||||
String |
String.concat(String str)
Concatenates the specified string to the end of this string.
|
||||
String |
EnumConstantNotPresentException.constantName()
Returns the name of the missing enum constant.
|
||||
static String |
String.copyValueOf(char[] data)
Equivalent to
valueOf(char[]) . |
||||
static String |
String.copyValueOf(char[] data,
int offset,
int count)
Equivalent to
valueOf(char[], int, int) . |
||||
protected String |
ClassLoader.findLibrary(String libname)
Returns the absolute path name of a native library.
|
||||
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.
|
||||
String |
Class.getCanonicalName()
Returns the canonical name of the underlying class as
defined by the Java Language Specification.
|
||||
String |
StackTraceElement.getClassName()
Returns the fully qualified name of the class containing the
execution point represented by this stack trace element.
|
||||
static String |
System.getenv(String name)
Gets the value of the specified environment variable.
|
||||
String |
StackTraceElement.getFileName()
Returns the name of the source file containing the execution point
represented by this stack trace element.
|
||||
String |
Package.getImplementationTitle()
Return the title of this package.
|
||||
String |
Package.getImplementationVendor()
Returns the name of the organization,
vendor or company that provided this implementation.
|
||||
String |
Package.getImplementationVersion()
Return the version of this implementation.
|
||||
String |
Throwable.getLocalizedMessage()
Creates a localized description of this throwable.
|
||||
String |
Throwable.getMessage()
Returns the detail message string of this throwable.
|
||||
String |
StackTraceElement.getMethodName()
Returns the name of the method containing the execution point
represented by this stack trace element.
|
||||
String |
Class.getName()
Returns the name of the entity (class, interface, array class,
primitive type, or void) represented by this
Class object,
as a String . |
||||
String |
Package.getName()
Return the name of this package.
|
||||
String |
Thread.getName()
Returns this thread's name.
|
||||
String |
ThreadGroup.getName()
Returns the name of this thread group.
|
||||
static String |
Character.getName(int codePoint)
Returns the Unicode name of the specified character
codePoint , or null if the code point is
unassigned . |
||||
static String |
System.getProperty(String key)
Gets the system property indicated by the specified key.
|
||||
static String |
System.getProperty(String key,
String def)
Gets the system property indicated by the specified key.
|
||||
String |
Class.getSimpleName()
Returns the simple name of the underlying class as given in the
source code.
|
||||
String |
Package.getSpecificationTitle()
Return the title of the specification that this package implements.
|
||||
String |
Package.getSpecificationVendor()
Return the name of the organization, vendor,
or company that owns and maintains the specification
of the classes that implement this package.
|
||||
String |
Package.getSpecificationVersion()
Returns the version number of the specification
that this package implements.
|
||||
String |
Class.getTypeName()
Return an informative string for the name of this type.
|
||||
String |
String.intern()
Returns a canonical representation for the string object.
|
||||
static String |
String.join(CharSequence delimiter,
CharSequence... elements)
Returns a new String composed of copies of the
CharSequence elements joined together with a copy of
the specified delimiter . |
||||
static String |
String.join(CharSequence delimiter,
Iterable<? extends CharSequence> elements)
Returns a new
String composed of copies of the
CharSequence elements joined together with a copy of the
specified delimiter . |
||||
static String |
System.lineSeparator()
Returns the system-dependent line separator string.
|
||||
static String |
System.mapLibraryName(String libname)
Maps a library name into a platform-specific string representing
a native library.
|
||||
String |
Enum.name()
Returns the name of this enum constant, exactly as declared in its
enum declaration.
|
||||
String |
String.replace(char oldChar,
char newChar)
Returns a string resulting from replacing all occurrences of
oldChar in this string with newChar . |
||||
String |
String.replace(CharSequence target,
CharSequence replacement)
Replaces each substring of this string that matches the literal target
sequence with the specified literal replacement sequence.
|
||||
String |
String.replaceAll(String regex,
String replacement)
Replaces each substring of this string that matches the given
String String. | replaceFirst(String regex,
String replacement)
Replaces the first substring of this string that matches the given
static String System. |
setProperty(String key,
String value)
Sets the system property indicated by the specified key.
| ||
String[] |
String.split(String regex)
| ||||
String |
String.substring(int beginIndex)
Returns a string that is a substring of this string.
|
||||
String |
StringBuffer.substring(int start,
int end) |
||||
String |
String.substring(int beginIndex,
int endIndex)
Returns a string that is a substring of this string.
|
||||
static String |
Integer.toBinaryString(int i)
Returns a string representation of the integer argument as an
unsigned integer in base 2.
|
||||
static String |
Long.toBinaryString(long i)
Returns a string representation of the
long
argument as an unsigned integer in base 2. |
||||
String |
Class.toGenericString()
Returns a string describing this
Class , including
information about modifiers and type parameters. |
||||
static String |
Double.toHexString(double d)
Returns a hexadecimal string representation of the
double argument. |
||||
static String |
Float.toHexString(float f)
Returns a hexadecimal string representation of the
float argument. |
||||
static String |
Integer.toHexString(int i)
Returns a string representation of the integer argument as an
unsigned integer in base 16.
|
||||
static String |
Long.toHexString(long i)
Returns a string representation of the
long
argument as an unsigned integer in base 16. |
||||
String |
String.toLowerCase()
Converts all of the characters in this
String to lower
case using the rules of the default locale. |
||||
String |
String.toLowerCase(Locale locale)
Converts all of the characters in this
String to lower
case using the rules of the given Locale . |
||||
static String |
Integer.toOctalString(int i)
Returns a string representation of the integer argument as an
unsigned integer in base 8.
|
||||
static String |
Long.toOctalString(long i)
Returns a string representation of the
long
argument as an unsigned integer in base 8. |
||||
String |
Double.toString()
Returns a string representation of this
Double object. |
||||
String |
Short.toString()
Returns a
String object representing this
Short 's value. |
||||
String |
Boolean.toString()
Returns a
String object representing this Boolean's
value. |
||||
String |
Long.toString()
Returns a
String object representing this
Long 's value. |
||||
String |
Character.toString()
Returns a
String object representing this
Character 's value. |
||||
String |
Character.Subset.toString()
Returns the name of this subset.
|
||||
String |
StackTraceElement.toString()
Returns a string representation of this stack trace element.
|
||||
String |
Class.toString()
Converts the object to a string.
|
||||
String |
Enum.toString()
Returns the name of this enum constant, as contained in the
declaration.
|
||||
String |
Package.toString()
Returns the string representation of this Package.
|
||||
String |
Byte.toString()
Returns a
String object representing this
Byte 's value. |
||||
String |
StringBuffer.toString() |
||||
String |
Integer.toString()
Returns a
String object representing this
Integer 's value. |
||||
String |
String.toString()
This object (which is already a string!)
|
||||
String |
CharSequence.toString()
Returns a string containing the characters in this sequence in the same
order as this sequence.
|
||||
String |
Object.toString()
Returns a string representation of the object.
|
||||
String |
Thread.toString()
Returns a string representation of this thread, including the
thread's name, priority, and thread group.
|
||||
String |
ThreadGroup.toString()
Returns a string representation of this Thread group.
|
||||
String |
Throwable.toString()
Returns a short description of this throwable.
|
||||
String |
Float.toString()
Returns a string representation of this
Float object. |
||||
String |
StringBuilder.toString() |
||||
static String |
Boolean.toString(boolean b)
Returns a
String object representing the specified
boolean. |
||||
static String |
Byte.toString(byte b)
Returns a new
String object representing the
specified byte . |
||||
static String |
Character.toString(char c)
Returns a
String object representing the
specified char . |
||||
static String |
Double.toString(double d)
Returns a string representation of the
double
argument. |
||||
static String |
Float.toString(float f)
Returns a string representation of the
float
argument. |
||||
static String |
Integer.toString(int i)
Returns a
String object representing the
specified integer. |
||||
static String |
Integer.toString(int i,
int radix)
Returns a string representation of the first argument in the
radix specified by the second argument.
|
||||
static String |
Long.toString(long i)
Returns a
String object representing the specified
long . |
||||
static String |
Long.toString(long i,
int radix)
Returns a string representation of the first argument in the
radix specified by the second argument.
|
||||
static String |
Short.toString(short s)
Returns a new
String object representing the
specified short . |
||||
static String |
Integer.toUnsignedString(int i)
Returns a string representation of the argument as an unsigned
decimal value.
|
||||
static String |
Integer.toUnsignedString(int i,
int radix)
Returns a string representation of the first argument as an
unsigned integer value in the radix specified by the second
argument.
|
||||
static String |
Long.toUnsignedString(long i)
Returns a string representation of the argument as an unsigned
decimal value.
|
||||
static String |
Long.toUnsignedString(long i,
int radix)
Returns a string representation of the first argument as an
unsigned integer value in the radix specified by the second
argument.
|
||||
String |
String.toUpperCase()
Converts all of the characters in this
String to upper
case using the rules of the default locale. |
||||
String |
String.toUpperCase(Locale locale)
Converts all of the characters in this
String to upper
case using the rules of the given Locale . |
||||
String |
String.trim()
Returns a string whose value is this string, with any leading and trailing
whitespace removed.
|
||||
String |
TypeNotPresentException.typeName()
Returns the fully qualified name of the unavailable type.
|
||||
static String |
String.valueOf(boolean b)
Returns the string representation of the
boolean argument. |
||||
static String |
String.valueOf(char c)
Returns the string representation of the
char
argument. |
||||
static String |
String.valueOf(char[] data)
Returns the string representation of the
char array
argument. |
||||
static String |
String.valueOf(char[] data,
int offset,
int count)
Returns the string representation of a specific subarray of the
char array argument. |
||||
static String |
String.valueOf(double d)
Returns the string representation of the
double argument. |
||||
static String |
String.valueOf(float f)
Returns the string representation of the
float argument. |
||||
static String |
String.valueOf(int i)
Returns the string representation of the
int argument. |
||||
static String |
String.valueOf(long l)
Returns the string representation of the
long argument. |
||||
static String |
String.valueOf(Object obj)
Returns the string representation of the
Object argument. |
Modifier and Type | Method and Description |
---|---|
List<String> |
ProcessBuilder.command()
Returns this process builder's operating system program and
arguments.
|
Map<String,String> |
ProcessBuilder.environment()
Returns a string map view of this process builder's environment.
|
Map<String,String> |
ProcessBuilder.environment()
Returns a string map view of this process builder's environment.
|
static Map<String,String> |
System.getenv()
Returns an unmodifiable string map view of the current system environment.
|
static Map<String,String> |
System.getenv()
Returns an unmodifiable string map view of the current system environment.
|
Modifier and Type | Method and Description | ||||
---|---|---|---|---|---|
StringBuffer |
StringBuffer.append(String str) |
||||
StringBuilder |
StringBuilder.append(String str) |
||||
void |
SecurityManager.checkAccept(String host,
int port)
Throws a
SecurityException if the
calling thread is not permitted to accept a socket connection from
the specified host and port number. |
||||
void |
SecurityManager.checkConnect(String host,
int port)
Throws a
SecurityException if the
calling thread is not allowed to open a socket connection to the
specified host and port number. |
||||
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.checkDelete(String file)
Throws a
SecurityException if the
calling thread is not allowed to delete the specified file. |
||||
void |
SecurityManager.checkExec(String cmd)
Throws a
SecurityException if the
calling thread is not allowed to create a subprocess. |
||||
void |
SecurityManager.checkLink(String lib)
Throws a
SecurityException if the
calling thread is not allowed to dynamic link the library code
specified by the string argument file. |
||||
void |
SecurityManager.checkPackageAccess(String pkg)
Throws a
SecurityException if the
calling thread is not allowed to access the package specified by
the argument. |
||||
void |
SecurityManager.checkPackageDefinition(String pkg)
Throws a
SecurityException if the
calling thread is not allowed to define classes in the package
specified by the argument. |
||||
void |
SecurityManager.checkPropertyAccess(String key)
Throws a
SecurityException if the
calling thread is not allowed to access the system property with
the specified key name. |
||||
void |
SecurityManager.checkRead(String file)
Throws a
SecurityException if the
calling thread is not allowed to read the file specified by the
string argument. |
||||
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. |
||||
void |
SecurityManager.checkSecurityAccess(String target)
Determines whether the permission with the specified permission target
name should be granted or denied.
|
||||
void |
SecurityManager.checkWrite(String file)
Throws a
SecurityException if the
calling thread is not allowed to write to the file specified by
the string argument. |
||||
protected int |
SecurityManager.classDepth(String name)
Deprecated.
This type of security checking is not recommended.
It is recommended that the
checkPermission
call be used instead. |
||||
static String |
System.clearProperty(String key)
Removes the system property indicated by the specified key.
|
||||
ProcessBuilder |
ProcessBuilder.command(String... command)
Sets this process builder's operating system program and
arguments.
|
||||
int |
String.compareTo(String anotherString)
Compares two strings lexicographically.
|
||||
int |
String.compareToIgnoreCase(String str)
Compares two strings lexicographically, ignoring case
differences.
|
||||
static boolean |
Compiler.compileClasses(String string)
Compiles all classes whose name matches the specified string.
|
||||
String |
String.concat(String str)
Concatenates the specified string to the end of this string.
|
||||
static Short |
Short.decode(String nm)
Decodes a
String into a Short . |
||||
static Long |
Long.decode(String nm)
Decodes a
String into a Long . |
||||
static Byte |
Byte.decode(String nm)
Decodes a
String into a Byte . |
||||
static Integer |
Integer.decode(String nm)
Decodes a
String into an Integer . |
||||
protected Class<?> |
ClassLoader.defineClass(String name,
byte[] b,
int off,
int len)
Converts an array of bytes into an instance of class Class.
|
||||
protected Class<?> |
ClassLoader.defineClass(String name,
byte[] b,
int off,
int len,
ProtectionDomain protectionDomain)
Converts an array of bytes into an instance of class Class,
with an optional ProtectionDomain.
|
||||
protected Class<?> |
ClassLoader.defineClass(String name,
ByteBuffer b,
ProtectionDomain protectionDomain)
Converts a
ByteBuffer
into an instance of class Class,
with an optional ProtectionDomain. |
||||
protected Package |
ClassLoader.definePackage(String name,
String specTitle,
String specVersion,
String specVendor,
String implTitle,
String implVersion,
String implVendor,
URL sealBase)
Defines a package by name in this ClassLoader.
|
||||
boolean |
String.endsWith(String suffix)
Tests if this string ends with the specified suffix.
|
||||
boolean |
String.equalsIgnoreCase(String anotherString)
Compares this
String to another String , ignoring case
considerations. |
||||
Process |
Runtime.exec(String command)
Executes the specified string command in a separate process.
|
||||
Process |
Runtime.exec(String[] cmdarray)
Executes the specified command and arguments in a separate process.
|
||||
Process |
Runtime.exec(String[] cmdarray,
String[] envp)
Executes the specified command and arguments in a separate process
with the specified environment.
|
||||
Process |
Runtime.exec(String[] cmdarray,
String[] envp)
Executes the specified command and arguments in a separate process
with the specified environment.
|
||||
Process |
Runtime.exec(String[] cmdarray,
String[] envp,
File dir)
Executes the specified command and arguments in a separate process with
the specified environment and working directory.
|
||||
Process |
Runtime.exec(String[] cmdarray,
String[] envp,
File dir)
Executes the specified command and arguments in a separate process with
the specified environment and working directory.
|
||||
Process |
Runtime.exec(String command,
String[] envp)
Executes the specified string command in a separate process with the
specified environment.
|
||||
Process |
Runtime.exec(String command,
String[] envp)
Executes the specified string command in a separate process with the
specified environment.
|
||||
Process |
Runtime.exec(String command,
String[] envp,
File dir)
Executes the specified string command in a separate process with the
specified environment and working directory.
|
||||
Process |
Runtime.exec(String command,
String[] envp,
File dir)
Executes the specified string command in a separate process with the
specified environment and working directory.
|
||||
protected Class<?> |
ClassLoader.findClass(String name)
Finds the class with the specified binary name.
|
||||
protected String |
ClassLoader.findLibrary(String libname)
Returns the absolute path name of a native library.
|
||||
protected Class<?> |
ClassLoader.findLoadedClass(String name)
Returns the class with the given binary name if this
loader has been recorded by the Java virtual machine as an initiating
loader of a class with that binary name.
|
||||
protected URL |
ClassLoader.findResource(String name)
Finds the resource with the given name.
|
||||
protected Enumeration<URL> |
ClassLoader.findResources(String name)
Returns an enumeration of
URL objects
representing all the resources with the given name. |
||||
protected Class<?> |
ClassLoader.findSystemClass(String name)
Finds a class with the specified binary name,
loading it if necessary.
|
||||
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 Character.UnicodeBlock |
Character.UnicodeBlock.forName(String blockName)
Returns the UnicodeBlock with the given name.
|
||||
static Character.UnicodeScript |
Character.UnicodeScript.forName(String scriptName)
Returns the UnicodeScript constant with the given Unicode script
name or the script name alias.
|
||||
static Class<?> |
Class.forName(String className)
Returns the
Class object associated with the class or
interface with the given string name. |
||||
static Class<?> |
Class.forName(String name,
boolean initialize,
ClassLoader loader)
Returns the
Class object associated with the class or
interface with the given string name, using the given class loader. |
||||
static boolean |
Boolean.getBoolean(String name)
Returns
true if and only if the system property
named by the argument exists and is equal to the string
"true" . |
||||
byte[] |
String.getBytes(String charsetName)
Encodes this
String into a sequence of bytes using the named
charset, storing the result into a new byte array. |
||||
protected Object |
ClassLoader.getClassLoadingLock(String className)
Returns the lock object for class loading operations.
|
||||
Field |
Class.getDeclaredField(String name)
Returns a
Field object that reflects the specified declared
field of the class or interface represented by this Class
object. |
||||
Method |
Class.getDeclaredMethod(String name,
Class<?>... parameterTypes)
Returns a
Method object that reflects the specified
declared method of the class or interface represented by this
Class object. |
||||
static String |
System.getenv(String name)
Gets the value of the specified environment variable.
|
||||
Field |
Class.getField(String name)
Returns a
Field object that reflects the specified public member
field of the class or interface represented by this Class
object. |
||||
static Integer |
Integer.getInteger(String nm)
Determines the integer value of the system property with the
specified name.
|
||||
static Integer |
Integer.getInteger(String nm,
int val)
Determines the integer value of the system property with the
specified name.
|
||||
static Integer |
Integer.getInteger(String nm,
Integer val)
Returns the integer value of the system property with the
specified name.
|
||||
static Long |
Long.getLong(String nm)
Determines the
long value of the system property
with the specified name. |
||||
static Long |
Long.getLong(String nm,
long val)
Determines the
long value of the system property
with the specified name. |
||||
static Long |
Long.getLong(String nm,
Long val)
Returns the
long value of the system property with
the specified name. |
||||
Method |
Class.getMethod(String name,
Class<?>... parameterTypes)
Returns a
Method object that reflects the specified public
member method of the class or interface represented by this
Class object. |
||||
protected Package |
ClassLoader.getPackage(String name)
Returns a Package that has been defined by this class loader
or any of its ancestors.
|
||||
static Package |
Package.getPackage(String name)
Find a package by name in the callers
ClassLoader instance. |
||||
static String |
System.getProperty(String key)
Gets the system property indicated by the specified key.
|
||||
static String |
System.getProperty(String key,
String def)
Gets the system property indicated by the specified key.
|
||||
URL |
ClassLoader.getResource(String name)
Finds the resource with the given name.
|
||||
URL |
Class.getResource(String name)
Finds a resource with a given name.
|
||||
InputStream |
ClassLoader.getResourceAsStream(String name)
Returns an input stream for reading the specified resource.
|
||||
InputStream |
Class.getResourceAsStream(String name)
Finds a resource with a given name.
|
||||
Enumeration<URL> |
ClassLoader.getResources(String name)
Finds all the resources with the given name.
|
||||
static URL |
ClassLoader.getSystemResource(String name)
Find a resource of the specified name from the search path used to load
classes.
|
||||
static InputStream |
ClassLoader.getSystemResourceAsStream(String name)
Open for reading, a resource of the specified name from the search path
used to load classes.
|
||||
static Enumeration<URL> |
ClassLoader.getSystemResources(String name)
Finds all resources of the specified name from the search path used to
load classes.
|
||||
protected boolean |
SecurityManager.inClass(String name)
Deprecated.
This type of security checking is not recommended.
It is recommended that the
checkPermission
call be used instead. |
||||
int |
StringBuffer.indexOf(String str) |
||||
int |
String.indexOf(String str)
Returns the index within this string of the first occurrence of the
specified substring.
|
||||
int |
StringBuilder.indexOf(String str) |
||||
int |
StringBuffer.indexOf(String str,
int fromIndex) |
||||
int |
String.indexOf(String str,
int fromIndex)
Returns the index within this string of the first occurrence of the
specified substring, starting at the specified index.
|
||||
int |
StringBuilder.indexOf(String str,
int fromIndex) |
||||
StringBuffer |
StringBuffer.insert(int offset,
String str) |
||||
StringBuilder |
StringBuilder.insert(int offset,
String str) |
||||
boolean |
Package.isCompatibleWith(String desired)
Compare this package's specification version with a
desired version.
|
||||
int |
StringBuffer.lastIndexOf(String str) |
||||
int |
String.lastIndexOf(String str)
Returns the index within this string of the last occurrence of the
specified substring.
|
||||
int |
StringBuilder.lastIndexOf(String str) |
||||
int |
StringBuffer.lastIndexOf(String str,
int fromIndex) |
||||
int |
String.lastIndexOf(String str,
int fromIndex)
Returns the index within this string of the last occurrence of the
specified substring, searching backward starting at the specified index.
|
||||
int |
StringBuilder.lastIndexOf(String str,
int fromIndex) |
||||
void |
Runtime.load(String filename)
Loads the native library specified by the filename argument.
|
||||
static void |
System.load(String filename)
Loads the native library specified by the filename argument.
|
||||
Class<?> |
ClassLoader.loadClass(String name)
Loads the class with the specified binary name.
|
||||
protected Class<?> |
ClassLoader.loadClass(String name,
boolean resolve)
Loads the class with the specified binary name.
|
||||
void |
Runtime.loadLibrary(String libname)
Loads the native library specified by the
libname
argument. |
||||
static void |
System.loadLibrary(String libname)
Loads the native library specified by the
libname
argument. |
||||
static String |
System.mapLibraryName(String libname)
Maps a library name into a platform-specific string representing
a native library.
|
||||
boolean |
String.matches(String regex)
Tells whether or not this string matches the given
static boolean Boolean. |
parseBoolean(String s)
Parses the string argument as a boolean.
| |||
static byte |
Byte.parseByte(String s)
Parses the string argument as a signed decimal
byte . |
||||
static byte |
Byte.parseByte(String s,
int radix)
Parses the string argument as a signed
byte in the
radix specified by the second argument. |
||||
static double |
Double.parseDouble(String s)
Returns a new
double initialized to the value
represented by the specified String , as performed
by the valueOf method of class
Double . |
||||
static float |
Float.parseFloat(String s)
Returns a new
float initialized to the value
represented by the specified String , as performed
by the valueOf method of class Float . |
||||
static int |
Integer.parseInt(String s)
Parses the string argument as a signed decimal integer.
|
||||
static int |
Integer.parseInt(String s,
int radix)
Parses the string argument as a signed integer in the radix
specified by the second argument.
|
||||
static long |
Long.parseLong(String s)
Parses the string argument as a signed decimal
long . |
||||
static long |
Long.parseLong(String s,
int radix)
Parses the string argument as a signed
long in the
radix specified by the second argument. |
||||
static short |
Short.parseShort(String s)
Parses the string argument as a signed decimal
short . |
||||
static short |
Short.parseShort(String s,
int radix)
Parses the string argument as a signed
short in the
radix specified by the second argument. |
||||
static int |
Integer.parseUnsignedInt(String s)
Parses the string argument as an unsigned decimal integer.
|
||||
static int |
Integer.parseUnsignedInt(String s,
int radix)
Parses the string argument as an unsigned integer in the radix
specified by the second argument.
|
||||
static long |
Long.parseUnsignedLong(String s)
Parses the string argument as an unsigned decimal
long . |
||||
static long |
Long.parseUnsignedLong(String s,
int radix)
Parses the string argument as an unsigned
long in the
radix specified by the second argument. |
||||
boolean |
String.regionMatches(boolean ignoreCase,
int toffset,
String other,
int ooffset,
int len)
Tests if two string regions are equal.
|
||||
boolean |
String.regionMatches(int toffset,
String other,
int ooffset,
int len)
Tests if two string regions are equal.
|
||||
StringBuffer |
StringBuffer.replace(int start,
int end,
String str) |
||||
StringBuilder |
StringBuilder.replace(int start,
int end,
String str) |
||||
String |
String.replaceAll(String regex,
String replacement)
Replaces each substring of this string that matches the given
String String. | replaceFirst(String regex,
String replacement)
Replaces the first substring of this string that matches the given
void ClassLoader. |
setClassAssertionStatus(String className,
boolean enabled)
Sets the desired assertion status for the named top-level class in this
class loader and any nested classes contained therein.
| ||
void |
Thread.setName(String name)
Changes the name of this thread to be equal to the argument
name . |
||||
void |
ClassLoader.setPackageAssertionStatus(String packageName,
boolean enabled)
Sets the package default assertion status for the named package.
|
||||
static String |
System.setProperty(String key,
String value)
Sets the system property indicated by the specified key.
|
||||
String[] |
String.split(String regex)
Splits this string around matches of the given
String[] String. | split(String regex,
int limit)
Splits this string around matches of the given
boolean String. |
startsWith(String prefix)
Tests if this string starts with the specified prefix.
| ||
boolean |
String.startsWith(String prefix,
int toffset)
Tests if the substring of this string beginning at the
specified index starts with the specified prefix.
|
||||
static <T extends Enum<T>> |
Enum.valueOf(Class<T> enumType,
String name)
Returns the enum constant of the specified enum type with the
specified name.
|
||||
static ProcessBuilder.Redirect.Type |
ProcessBuilder.Redirect.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
||||
static Double |
Double.valueOf(String s)
Returns a
Double object holding the
double value represented by the argument string
s . |
||||
static Short |
Short.valueOf(String s)
Returns a
Short object holding the
value given by the specified String . |
||||
static Boolean |
Boolean.valueOf(String s)
Returns a
Boolean with a value represented by the
specified string. |
||||
static Long |
Long.valueOf(String s)
Returns a
Long object holding the value
of the specified String . |
||||
static Character.UnicodeScript |
Character.UnicodeScript.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
||||
static Byte |
Byte.valueOf(String s)
Returns a
Byte object holding the value
given by the specified String . |
||||
static Integer |
Integer.valueOf(String s)
Returns an
Integer object holding the
value of the specified String . |
||||
static Thread.State |
Thread.State.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
||||
static Float |
Float.valueOf(String s)
Returns a
Float object holding the
float value represented by the argument string
s . |
||||
static Short |
Short.valueOf(String s,
int radix)
Returns a
Short object holding the value
extracted from the specified String when parsed
with the radix given by the second argument. |
||||
static Long |
Long.valueOf(String s,
int radix)
Returns a
Long object holding the value
extracted from the specified String when parsed
with the radix given by the second argument. |
||||
static Byte |
Byte.valueOf(String s,
int radix)
Returns a
Byte object holding the value
extracted from the specified String when parsed
with the radix given by the second argument. |
||||
static Integer |
Integer.valueOf(String s,
int radix)
Returns an
Integer object holding the value
extracted from the specified String when parsed
with the radix given by the second argument. |
Modifier and Type | Method and Description |
---|---|
ProcessBuilder |
ProcessBuilder.command(List<String> command)
Sets this process builder's operating system program and
arguments.
|
Constructor and Description |
---|
AbstractMethodError(String s)
Constructs an
AbstractMethodError with the specified
detail message. |
ArithmeticException(String s)
Constructs an
ArithmeticException with the specified
detail message. |
ArrayIndexOutOfBoundsException(String s)
Constructs an
ArrayIndexOutOfBoundsException class
with the specified detail message. |
ArrayStoreException(String s)
Constructs an
ArrayStoreException with the specified
detail message. |
AssertionError(String message,
Throwable cause)
Constructs a new
AssertionError with the specified
detail message and cause. |
Boolean(String s)
Allocates a
Boolean object representing the value
true if the string argument is not null
and is equal, ignoring case, to the string "true" . |
BootstrapMethodError(String s)
Constructs a
BootstrapMethodError with the specified
detail message. |
BootstrapMethodError(String s,
Throwable cause)
Constructs a
BootstrapMethodError with the specified
detail message and cause. |
Byte(String s)
Constructs a newly allocated
Byte object that
represents the byte value indicated by the
String parameter. |
ClassCastException(String s)
Constructs a
ClassCastException with the specified
detail message. |
ClassCircularityError(String s)
Constructs a
ClassCircularityError with the specified detail
message. |
ClassFormatError(String s)
Constructs a
ClassFormatError with the specified
detail message. |
ClassNotFoundException(String s)
Constructs a
ClassNotFoundException with the
specified detail message. |
ClassNotFoundException(String s,
Throwable ex)
Constructs a
ClassNotFoundException with the
specified detail message and optional exception that was
raised while loading the class. |
CloneNotSupportedException(String s)
Constructs a
CloneNotSupportedException with the
specified detail message. |
Double(String s)
Constructs a newly allocated
Double object that
represents the floating-point value of type double
represented by the string. |
Enum(String name,
int ordinal)
Sole constructor.
|
EnumConstantNotPresentException(Class<? extends Enum> enumType,
String constantName)
Constructs an EnumConstantNotPresentException for the
specified constant.
|
Error(String message)
Constructs a new error with the specified detail message.
|
Error(String message,
Throwable cause)
Constructs a new error with the specified detail message and
cause.
|
Error(String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace)
Constructs a new error with the specified detail message,
cause, suppression enabled or disabled, and writable stack
trace enabled or disabled.
|
Exception(String message)
Constructs a new exception with the specified detail message.
|
Exception(String message,
Throwable cause)
Constructs a new exception with the specified detail message and
cause.
|
Exception(String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace)
Constructs a new exception with the specified detail message,
cause, suppression enabled or disabled, and writable stack
trace enabled or disabled.
|
ExceptionInInitializerError(String s)
Constructs an ExceptionInInitializerError with the specified detail
message string.
|
Float(String s)
Constructs a newly allocated
Float object that
represents the floating-point value of type float
represented by the string. |
IllegalAccessError(String s)
Constructs an
IllegalAccessError with the specified
detail message. |
IllegalAccessException(String s)
Constructs an
IllegalAccessException with a detail message. |
IllegalArgumentException(String s)
Constructs an
IllegalArgumentException with the
specified detail message. |
IllegalArgumentException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and
cause.
|
IllegalMonitorStateException(String s)
Constructs an
IllegalMonitorStateException with the
specified detail message. |
IllegalStateException(String s)
Constructs an IllegalStateException with the specified detail
message.
|
IllegalStateException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and
cause.
|
IllegalThreadStateException(String s)
Constructs an
IllegalThreadStateException with the
specified detail message. |
IncompatibleClassChangeError(String s)
Constructs an
IncompatibleClassChangeError with the
specified detail message. |
IndexOutOfBoundsException(String s)
Constructs an
IndexOutOfBoundsException with the
specified detail message. |
InstantiationError(String s)
Constructs an
InstantiationError with the specified
detail message. |
InstantiationException(String s)
Constructs an
InstantiationException with the
specified detail message. |
Integer(String s)
Constructs a newly allocated
Integer object that
represents the int value indicated by the
String parameter. |
InternalError(String message)
Constructs an
InternalError with the specified
detail message. |
InternalError(String message,
Throwable cause)
Constructs an
InternalError with the specified detail
message and cause. |
InterruptedException(String s)
Constructs an
InterruptedException with the
specified detail message. |
LinkageError(String s)
Constructs a
LinkageError with the specified detail
message. |
LinkageError(String s,
Throwable cause)
Constructs a
LinkageError with the specified detail
message and cause. |
Long(String s)
Constructs a newly allocated
Long object that
represents the long value indicated by the
String parameter. |
NegativeArraySizeException(String s)
Constructs a
NegativeArraySizeException with the
specified detail message. |
NoClassDefFoundError(String s)
Constructs a
NoClassDefFoundError with the specified
detail message. |
NoSuchFieldError(String s)
Constructs a
NoSuchFieldError with the specified
detail message. |
NoSuchFieldException(String s)
Constructor with a detail message.
|
NoSuchMethodError(String s)
Constructs a
NoSuchMethodError with the
specified detail message. |
NoSuchMethodException(String s)
Constructs a
NoSuchMethodException with a detail message. |
NullPointerException(String s)
Constructs a
NullPointerException with the specified
detail message. |
NumberFormatException(String s)
Constructs a
NumberFormatException with the
specified detail message. |
OutOfMemoryError(String s)
Constructs an
OutOfMemoryError with the specified
detail message. |
ProcessBuilder(String... command)
Constructs a process builder with the specified operating
system program and arguments.
|
ReflectiveOperationException(String message)
Constructs a new exception with the specified detail message.
|
ReflectiveOperationException(String message,
Throwable cause)
Constructs a new exception with the specified detail message
and cause.
|
RuntimeException(String message)
Constructs a new runtime exception with the specified detail message.
|
RuntimeException(String message,
Throwable cause)
Constructs a new runtime exception with the specified detail message and
cause.
|
RuntimeException(String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace)
Constructs a new runtime exception with the specified detail
message, cause, suppression enabled or disabled, and writable
stack trace enabled or disabled.
|
RuntimePermission(String name)
Creates a new RuntimePermission with the specified name.
|
RuntimePermission(String name,
String actions)
Creates a new RuntimePermission object with the specified name.
|
SecurityException(String s)
Constructs a
SecurityException with the specified
detail message. |
SecurityException(String message,
Throwable cause)
Creates a
SecurityException with the specified
detail message and cause. |
Short(String s)
Constructs a newly allocated
Short object that
represents the short value indicated by the
String parameter. |
StackOverflowError(String s)
Constructs a
StackOverflowError with the specified
detail message. |
StackTraceElement(String declaringClass,
String methodName,
String fileName,
int lineNumber)
Creates a stack trace element representing the specified execution
point.
|
String(byte[] bytes,
int offset,
int length,
String charsetName)
Constructs a new
String by decoding the specified subarray of
bytes using the specified charset. |
String(byte[] bytes,
String charsetName)
Constructs a new
String by decoding the specified array of bytes
using the specified charset. |
String(String original)
Initializes a newly created
String object so that it represents
the same sequence of characters as the argument; in other words, the
newly created string is a copy of the argument string. |
StringBuffer(String str)
Constructs a string buffer initialized to the contents of the
specified string.
|
StringBuilder(String str)
Constructs a string builder initialized to the contents of the
specified string.
|
StringIndexOutOfBoundsException(String s)
Constructs a
StringIndexOutOfBoundsException with
the specified detail message. |
Subset(String name)
Constructs a new
Subset instance. |
Thread(Runnable target,
String name)
Allocates a new
Thread object. |
Thread(String name)
Allocates a new
Thread object. |
Thread(ThreadGroup group,
Runnable target,
String name)
Allocates a new
Thread object so that it has target
as its run object, has the specified name as its name,
and belongs to the thread group referred to by group . |
Thread(ThreadGroup group,
Runnable target,
String name,
long stackSize)
Allocates a new
Thread object so that it has target
as its run object, has the specified name as its name,
and belongs to the thread group referred to by group , and has
the specified stack size. |
Thread(ThreadGroup group,
String name)
Allocates a new
Thread object. |
ThreadGroup(String name)
Constructs a new thread group.
|
ThreadGroup(ThreadGroup parent,
String name)
Creates a new thread group.
|
Throwable(String message)
Constructs a new throwable with the specified detail message.
|
Throwable(String message,
Throwable cause)
Constructs a new throwable with the specified detail message and
cause.
|
Throwable(String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace)
Constructs a new throwable with the specified detail message,
cause, suppression enabled or
disabled, and writable stack trace enabled or disabled.
|
TypeNotPresentException(String typeName,
Throwable cause)
Constructs a TypeNotPresentException for the named type
with the specified cause.
|
UnknownError(String s)
Constructs an
UnknownError with the specified detail
message. |
UnsatisfiedLinkError(String s)
Constructs an
UnsatisfiedLinkError with the
specified detail message. |
UnsupportedClassVersionError(String s)
Constructs a
UnsupportedClassVersionError with
the specified detail message. |
UnsupportedOperationException(String message)
Constructs an UnsupportedOperationException with the specified
detail message.
|
UnsupportedOperationException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and
cause.
|
VerifyError(String s)
Constructs an
VerifyError with the specified detail message. |
VirtualMachineError(String message)
Constructs a
VirtualMachineError with the specified
detail message. |
VirtualMachineError(String message,
Throwable cause)
Constructs a
VirtualMachineError with the specified
detail message and cause. |
Constructor and Description |
---|
ProcessBuilder(List<String> command)
Constructs a process builder with the specified operating
system program and arguments.
|
Modifier and Type | Method and Description |
---|---|
String |
IncompleteAnnotationException.elementName()
Returns the name of the missing element.
|
String |
AnnotationTypeMismatchException.foundType()
Returns the type of data found in the incorrectly typed element.
|
String |
Annotation.toString()
Returns a string representation of this annotation.
|
Modifier and Type | Method and Description |
---|---|
static RetentionPolicy |
RetentionPolicy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ElementType |
ElementType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
Constructor and Description |
---|
AnnotationFormatError(String message)
Constructs a new AnnotationFormatError with the specified
detail message.
|
AnnotationFormatError(String message,
Throwable cause)
Constructs a new AnnotationFormatError with the specified
detail message and cause.
|
AnnotationTypeMismatchException(Method element,
String foundType)
Constructs an AnnotationTypeMismatchException for the specified
annotation type element and found data type.
|
IncompleteAnnotationException(Class<? extends Annotation> annotationType,
String elementName)
Constructs an IncompleteAnnotationException to indicate that
the named element was missing from the specified annotation type.
|
Modifier and Type | Method and Description |
---|---|
void |
Instrumentation.setNativeMethodPrefix(ClassFileTransformer transformer,
String prefix)
This method modifies the failure handling of
native method resolution by allowing retry
with a prefix applied to the name.
|
byte[] |
ClassFileTransformer.transform(ClassLoader loader,
String className,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] classfileBuffer)
The implementation of this method may transform the supplied class file and
return a new replacement class file.
|
Constructor and Description |
---|
IllegalClassFormatException(String s)
Constructs an
IllegalClassFormatException with the
specified detail message. |
UnmodifiableClassException(String s)
Constructs an
UnmodifiableClassException with the
specified detail message. |
Modifier and Type | Method and Description |
---|---|
String |
SerializedLambda.getCapturingClass()
Get the name of the class that captured this lambda.
|
String |
SerializedLambda.getFunctionalInterfaceClass()
Get the name of the invoked type to which this
lambda has been converted
|
String |
SerializedLambda.getFunctionalInterfaceMethodName()
Get the name of the primary method for the functional interface
to which this lambda has been converted.
|
String |
SerializedLambda.getFunctionalInterfaceMethodSignature()
Get the signature of the primary method for the functional
interface to which this lambda has been converted.
|
String |
SerializedLambda.getImplClass()
Get the name of the class containing the implementation
method.
|
String |
SerializedLambda.getImplMethodName()
Get the name of the implementation method.
|
String |
SerializedLambda.getImplMethodSignature()
Get the signature of the implementation method.
|
String |
SerializedLambda.getInstantiatedMethodType()
Get the signature of the primary functional interface method
after type variables are substituted with their instantiation
from the capture site.
|
String |
MethodHandleInfo.getName()
Returns the name of the cracked method handle's underlying member.
|
static String |
MethodHandleInfo.referenceKindToString(int referenceKind)
Returns the descriptive name of the given reference kind,
as defined in the table above.
|
String |
MethodType.toMethodDescriptorString()
Produces a bytecode descriptor representation of the method type.
|
String |
MethodHandles.Lookup.toString()
Displays the name of the class from which lookups are to be made.
|
String |
MethodHandle.toString()
Returns a string representation of the method handle,
starting with the string
"MethodHandle" and
ending with the string representation of the method handle's type. |
String |
SerializedLambda.toString() |
String |
MethodType.toString()
Returns a string representation of the method type,
of the form
"(PT0,PT1...)RT" . |
static String |
MethodHandleInfo.toString(int kind,
Class<?> defc,
String name,
MethodType type)
Returns a string representation for a
MethodHandleInfo ,
given the four parts of its symbolic reference. |
Modifier and Type | Method and Description |
---|---|
static CallSite |
LambdaMetafactory.altMetafactory(MethodHandles.Lookup caller,
String invokedName,
MethodType invokedType,
Object... args)
Facilitates the creation of simple "function objects" that implement one
or more interfaces by delegation to a provided
MethodHandle ,
after appropriate type adaptation and partial evaluation of arguments. |
MethodHandle |
MethodHandles.Lookup.bind(Object receiver,
String name,
MethodType type)
Produces an early-bound method handle for a non-static method.
|
MethodHandle |
MethodHandles.Lookup.findGetter(Class<?> refc,
String name,
Class<?> type)
Produces a method handle giving read access to a non-static field.
|
MethodHandle |
MethodHandles.Lookup.findSetter(Class<?> refc,
String name,
Class<?> type)
Produces a method handle giving write access to a non-static field.
|
MethodHandle |
MethodHandles.Lookup.findSpecial(Class<?> refc,
String name,
MethodType type,
Class<?> specialCaller)
Produces an early-bound method handle for a virtual method.
|
MethodHandle |
MethodHandles.Lookup.findStatic(Class<?> refc,
String name,
MethodType type)
Produces a method handle for a static method.
|
MethodHandle |
MethodHandles.Lookup.findStaticGetter(Class<?> refc,
String name,
Class<?> type)
Produces a method handle giving read access to a static field.
|
MethodHandle |
MethodHandles.Lookup.findStaticSetter(Class<?> refc,
String name,
Class<?> type)
Produces a method handle giving write access to a static field.
|
MethodHandle |
MethodHandles.Lookup.findVirtual(Class<?> refc,
String name,
MethodType type)
Produces a method handle for a virtual method.
|
static MethodType |
MethodType.fromMethodDescriptorString(String descriptor,
ClassLoader loader)
Finds or creates an instance of a method type, given the spelling of its bytecode descriptor.
|
static CallSite |
LambdaMetafactory.metafactory(MethodHandles.Lookup caller,
String invokedName,
MethodType invokedType,
MethodType samMethodType,
MethodHandle implMethod,
MethodType instantiatedMethodType)
Facilitates the creation of simple "function objects" that implement one
or more interfaces by delegation to a provided
MethodHandle ,
after appropriate type adaptation and partial evaluation of arguments. |
static String |
MethodHandleInfo.toString(int kind,
Class<?> defc,
String name,
MethodType type)
Returns a string representation for a
MethodHandleInfo ,
given the four parts of its symbolic reference. |
Constructor and Description |
---|
LambdaConversionException(String message)
Constructs a
LambdaConversionException with a message. |
LambdaConversionException(String message,
Throwable cause)
Constructs a
LambdaConversionException with a message and cause. |
LambdaConversionException(String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace)
Constructs a
LambdaConversionException with a message,
cause, and other settings. |
SerializedLambda(Class<?> capturingClass,
String functionalInterfaceClass,
String functionalInterfaceMethodName,
String functionalInterfaceMethodSignature,
int implMethodKind,
String implClass,
String implMethodName,
String implMethodSignature,
String instantiatedMethodType,
Object[] capturedArgs)
Create a
SerializedLambda from the low-level information present
at the lambda factory site. |
WrongMethodTypeException(String s)
Constructs a
WrongMethodTypeException with the specified
detail message. |
Modifier and Type | Field and Description |
---|---|
static String |
ManagementFactory.CLASS_LOADING_MXBEAN_NAME
String representation of the
ObjectName for the
ClassLoadingMXBean . |
static String |
ManagementFactory.COMPILATION_MXBEAN_NAME
String representation of the
ObjectName for the
CompilationMXBean . |
static String |
ManagementFactory.GARBAGE_COLLECTOR_MXBEAN_DOMAIN_TYPE
The domain name and the type key property in
the ObjectName for a
GarbageCollectorMXBean . |
static String |
MemoryNotificationInfo.MEMORY_COLLECTION_THRESHOLD_EXCEEDED
Notification type denoting that
the memory usage of a memory pool is greater than or equal to its
collection usage threshold after the Java virtual machine
has expended effort in recycling unused objects in that
memory pool.
|
static String |
ManagementFactory.MEMORY_MANAGER_MXBEAN_DOMAIN_TYPE
The domain name and the type key property in
the ObjectName for a
MemoryManagerMXBean . |
static String |
ManagementFactory.MEMORY_MXBEAN_NAME
String representation of the
ObjectName for the
MemoryMXBean . |
static String |
ManagementFactory.MEMORY_POOL_MXBEAN_DOMAIN_TYPE
The domain name and the type key property in
the ObjectName for a
MemoryPoolMXBean . |
static String |
MemoryNotificationInfo.MEMORY_THRESHOLD_EXCEEDED
Notification type denoting that
the memory usage of a memory pool has
reached or exceeded its
usage threshold value.
|
static String |
ManagementFactory.OPERATING_SYSTEM_MXBEAN_NAME
String representation of the
ObjectName for the
OperatingSystemMXBean . |
static String |
ManagementFactory.RUNTIME_MXBEAN_NAME
String representation of the
ObjectName for the
RuntimeMXBean . |
static String |
ManagementFactory.THREAD_MXBEAN_NAME
String representation of the
ObjectName for the
ThreadMXBean . |
Modifier and Type | Method and Description |
---|---|
String |
OperatingSystemMXBean.getArch()
Returns the operating system architecture.
|
String |
RuntimeMXBean.getBootClassPath()
Returns the boot class path that is used by the bootstrap class loader
to search for class files.
|
String |
LockInfo.getClassName()
Returns the fully qualified name of the class of the lock object.
|
String |
RuntimeMXBean.getClassPath()
Returns the Java class path that is used by the system class loader
to search for class files.
|
String |
RuntimeMXBean.getLibraryPath()
Returns the Java library path.
|
String |
ThreadInfo.getLockName()
Returns the
string representation
of an object for which the thread associated with this
ThreadInfo is blocked waiting. |
String |
ThreadInfo.getLockOwnerName()
Returns the name of the thread which owns the object
for which the thread associated with this ThreadInfo
is blocked waiting.
|
String |
PlatformLoggingMXBean.getLoggerLevel(String loggerName)
Gets the name of the log level associated with the specified logger.
|
String |
RuntimeMXBean.getManagementSpecVersion()
Returns the version of the specification for the management interface
implemented by the running Java virtual machine.
|
String[] |
MemoryPoolMXBean.getMemoryManagerNames()
Returns the name of memory managers that manages this memory pool.
|
String[] |
MemoryManagerMXBean.getMemoryPoolNames()
Returns the name of memory pools that this memory manager manages.
|
String |
CompilationMXBean.getName()
Returns the name of the Just-in-time (JIT) compiler.
|
String |
OperatingSystemMXBean.getName()
Returns the operating system name.
|
String |
RuntimeMXBean.getName()
Returns the name representing the running Java virtual machine.
|
String |
MemoryPoolMXBean.getName()
Returns the name representing this memory pool.
|
String |
BufferPoolMXBean.getName()
Returns the name representing this buffer pool.
|
String |
MemoryManagerMXBean.getName()
Returns the name representing this memory manager.
|
String |
PlatformLoggingMXBean.getParentLoggerName(String loggerName)
Returns the name of the
parent
for the specified logger.
|
String |
MemoryNotificationInfo.getPoolName()
Returns the name of the memory pool that triggers this notification.
|
String |
RuntimeMXBean.getSpecName()
Returns the Java virtual machine specification name.
|
String |
RuntimeMXBean.getSpecVendor()
Returns the Java virtual machine specification vendor.
|
String |
RuntimeMXBean.getSpecVersion()
Returns the Java virtual machine specification version.
|
String |
ThreadInfo.getThreadName()
Returns the name of the thread associated with this ThreadInfo.
|
String |
OperatingSystemMXBean.getVersion()
Returns the operating system version.
|
String |
RuntimeMXBean.getVmName()
Returns the Java virtual machine implementation name.
|
String |
RuntimeMXBean.getVmVendor()
Returns the Java virtual machine implementation vendor.
|
String |
RuntimeMXBean.getVmVersion()
Returns the Java virtual machine implementation version.
|
String |
MemoryType.toString()
Returns the string representation of this MemoryType.
|
String |
ThreadInfo.toString()
Returns a string representation of this thread info.
|
String |
LockInfo.toString()
Returns a string representation of a lock.
|
String |
MemoryUsage.toString()
Returns a descriptive representation of this memory usage.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
RuntimeMXBean.getInputArguments()
Returns the input arguments passed to the Java virtual machine
which does not include the arguments to the main method.
|
List<String> |
PlatformLoggingMXBean.getLoggerNames()
Returns the list of the currently registered
logger names.
|
Map<String,String> |
RuntimeMXBean.getSystemProperties()
Returns a map of names and values of all system properties.
|
Map<String,String> |
RuntimeMXBean.getSystemProperties()
Returns a map of names and values of all system properties.
|
Modifier and Type | Method and Description |
---|---|
String |
PlatformLoggingMXBean.getLoggerLevel(String loggerName)
Gets the name of the log level associated with the specified logger.
|
String |
PlatformLoggingMXBean.getParentLoggerName(String loggerName)
Returns the name of the
parent
for the specified logger.
|
static <T> T |
ManagementFactory.newPlatformMXBeanProxy(MBeanServerConnection connection,
String mxbeanName,
Class<T> mxbeanInterface)
Returns a proxy for a platform MXBean interface of a
given MXBean name
that forwards its method calls through the given
MBeanServerConnection.
|
void |
PlatformLoggingMXBean.setLoggerLevel(String loggerName,
String levelName)
Sets the specified logger to the specified new
level.
|
static MemoryType |
MemoryType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
Constructor and Description |
---|
LockInfo(String className,
int identityHashCode)
Constructs a LockInfo object.
|
ManagementPermission(String name)
Constructs a ManagementPermission with the specified name.
|
ManagementPermission(String name,
String actions)
Constructs a new ManagementPermission object.
|
MemoryNotificationInfo(String poolName,
MemoryUsage usage,
long count)
Constructs a MemoryNotificationInfo object.
|
MonitorInfo(String className,
int identityHashCode,
int stackDepth,
StackTraceElement stackFrame)
Construct a MonitorInfo object.
|
Modifier and Type | Method and Description |
---|---|
String |
Parameter.getName()
Returns the name of the parameter.
|
String |
Method.getName()
Returns the name of the method represented by this
Method
object, as a String . |
String |
Member.getName()
Returns the simple name of the underlying member or constructor
represented by this Member.
|
abstract String |
Executable.getName()
Returns the name of the executable represented by this object.
|
String |
TypeVariable.getName()
Returns the name of this type variable, as it occurs in the source code.
|
String |
Field.getName()
Returns the name of the field represented by this
Field object. |
String |
Constructor.getName()
Returns the name of this constructor, as a string.
|
default String |
Type.getTypeName()
Returns a string describing this type, including information
about any type parameters.
|
String |
Method.toGenericString()
Returns a string describing this
Method , including
type parameters. |
abstract String |
Executable.toGenericString()
Returns a string describing this
Executable , including
any type parameters. |
String |
Field.toGenericString()
Returns a string describing this
Field , including
its generic type. |
String |
Constructor.toGenericString()
Returns a string describing this
Constructor ,
including type parameters. |
String |
Parameter.toString()
Returns a string describing this parameter.
|
String |
Method.toString()
Returns a string describing this
Method . |
String |
Field.toString()
Returns a string describing this
Field . |
String |
Constructor.toString()
Returns a string describing this
Constructor . |
static String |
Modifier.toString(int mod)
Return a string describing the access modifier flags in
the specified modifier.
|
Constructor and Description |
---|
GenericSignatureFormatError(String message)
Constructs a new
GenericSignatureFormatError with the
specified message. |
InvocationTargetException(Throwable target,
String s)
Constructs a InvocationTargetException with a target exception
and a detail message.
|
MalformedParametersException(String reason)
Create a
MalformedParametersException . |
ReflectPermission(String name)
Constructs a ReflectPermission with the specified name.
|
ReflectPermission(String name,
String actions)
Constructs a ReflectPermission with the specified name and actions.
|
UndeclaredThrowableException(Throwable undeclaredThrowable,
String s)
Constructs an
UndeclaredThrowableException with the
specified Throwable and a detail message. |
Modifier and Type | Method and Description |
---|---|
String |
BigDecimal.toEngineeringString()
Returns a string representation of this
BigDecimal ,
using engineering notation if an exponent is needed. |
String |
BigDecimal.toPlainString()
Returns a string representation of this
BigDecimal
without an exponent field. |
String |
BigDecimal.toString()
Returns the string representation of this
BigDecimal ,
using scientific notation if an exponent is needed. |
String |
BigInteger.toString()
Returns the decimal String representation of this BigInteger.
|
String |
MathContext.toString()
Returns the string representation of this
MathContext . |
String |
BigInteger.toString(int radix)
Returns the String representation of this BigInteger in the
given radix.
|
Modifier and Type | Method and Description |
---|---|
static RoundingMode |
RoundingMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
Constructor and Description |
---|
BigDecimal(String val)
Translates the string representation of a
BigDecimal
into a BigDecimal . |
BigDecimal(String val,
MathContext mc)
Translates the string representation of a
BigDecimal
into a BigDecimal , accepting the same strings as the
BigDecimal.BigDecimal(String) constructor, with rounding
according to the context settings. |
BigInteger(String val)
Translates the decimal String representation of a BigInteger into a
BigInteger.
|
BigInteger(String val,
int radix)
Translates the String representation of a BigInteger in the
specified radix into a BigInteger.
|
MathContext(String val)
Constructs a new
MathContext from a string. |
Modifier and Type | Field and Description |
---|---|
protected String |
HttpURLConnection.method
The HTTP method (GET,POST,PUT,etc.).
|
protected String |
HttpURLConnection.responseMessage
The HTTP response message.
|
Modifier and Type | Method and Description |
---|---|
static String |
URLDecoder.decode(String s)
Deprecated.
The resulting string may vary depending on the platform's
default encoding. Instead, use the decode(String,String) method
to specify the encoding.
|
static String |
URLDecoder.decode(String s,
String enc)
Decodes a
application/x-www-form-urlencoded string using a specific
encoding scheme. |
static String |
URLEncoder.encode(String s)
Deprecated.
The resulting string may vary depending on the platform's
default encoding. Instead, use the encode(String,String)
method to specify the encoding.
|
static String |
URLEncoder.encode(String s,
String enc)
Translates a string into
application/x-www-form-urlencoded
format using a specific encoding scheme. |
String |
URLPermission.getActions()
Returns the normalized method list and request
header list, in the form:
"method-names : header-names"
where method-names is the list of methods separated by commas
and header-names is the list of permitted headers separated by commas.
|
String |
SocketPermission.getActions()
Returns the canonical string representation of the actions.
|
String |
URI.getAuthority()
Returns the decoded authority component of this URI.
|
String |
URL.getAuthority()
Gets the authority part of this
URL . |
String |
InetAddress.getCanonicalHostName()
Gets the fully qualified domain name for this IP address.
|
abstract String |
SecureCacheResponse.getCipherSuite()
Returns the cipher suite in use on the original connection that
retrieved the network resource.
|
String |
HttpCookie.getComment()
Returns the comment describing the purpose of this cookie, or
null if the cookie has no comment. |
String |
HttpCookie.getCommentURL()
Returns the comment URL describing the purpose of this cookie, or
null if the cookie has no comment URL. |
String |
URLConnection.getContentEncoding()
Returns the value of the
content-encoding header field. |
String |
URLConnection.getContentType()
Returns the value of the
content-type header field. |
String |
FileNameMap.getContentTypeFor(String fileName)
Gets the MIME type for the specified file name.
|
static String |
URLConnection.getDefaultRequestProperty(String key)
Deprecated.
The instance specific getRequestProperty method
should be used after an appropriate instance of URLConnection
is obtained.
|
String |
NetworkInterface.getDisplayName()
Get the display name of this network interface.
|
String |
HttpCookie.getDomain()
Returns the domain name set for this cookie.
|
String |
JarURLConnection.getEntryName()
Return the entry name for this connection.
|
String |
URL.getFile()
Gets the file name of this
URL . |
String |
URI.getFragment()
Returns the decoded fragment component of this URI.
|
String |
URLConnection.getHeaderField(int n)
Returns the value for the
n th header field. |
String |
HttpURLConnection.getHeaderField(int n)
Returns the value for the
n th header field. |
String |
URLConnection.getHeaderField(String name)
Returns the value of the named header field.
|
String |
URLConnection.getHeaderFieldKey(int n)
Returns the key for the
n th header field. |
String |
HttpURLConnection.getHeaderFieldKey(int n)
Returns the key for the
n th header field. |
String |
URI.getHost()
Returns the host component of this URI.
|
String |
URL.getHost()
Gets the host name of this
URL , if applicable. |
String |
Inet6Address.getHostAddress()
Returns the IP address string in textual presentation.
|
String |
InetAddress.getHostAddress()
Returns the IP address string in textual presentation.
|
String |
Inet4Address.getHostAddress()
Returns the IP address string in textual presentation form.
|
String |
InetSocketAddress.getHostName()
Gets the
hostname . |
String |
InetAddress.getHostName()
Gets the host name for this IP address.
|
String |
InetSocketAddress.getHostString()
Returns the hostname, or the String form of the address if it
doesn't have a hostname (it was created using a literal).
|
String |
URISyntaxException.getInput()
Returns the input string.
|
String |
HttpRetryException.getLocation()
Returns the value of the Location header field if the
error resulted from redirection.
|
String |
URISyntaxException.getMessage()
Returns a string describing the parse error.
|
String |
NetworkInterface.getName()
Get the name of this network interface.
|
String |
HttpCookie.getName()
Returns the name of the cookie.
|
String |
URI.getPath()
Returns the decoded path component of this URI.
|
String |
HttpCookie.getPath()
Returns the path on the server to which the browser returns this cookie.
|
String |
URL.getPath()
Gets the path part of this
URL . |
String |
HttpCookie.getPortlist()
Returns the port list attribute of the cookie
|
String |
URL.getProtocol()
Gets the protocol name of this
URL . |
String |
URI.getQuery()
Returns the decoded query component of this URI.
|
String |
URL.getQuery()
Gets the query part of this
URL . |
String |
URI.getRawAuthority()
Returns the raw authority component of this URI.
|
String |
URI.getRawFragment()
Returns the raw fragment component of this URI.
|
String |
URI.getRawPath()
Returns the raw path component of this URI.
|
String |
URI.getRawQuery()
Returns the raw query component of this URI.
|
String |
URI.getRawSchemeSpecificPart()
Returns the raw scheme-specific part of this URI.
|
String |
URI.getRawUserInfo()
Returns the raw user-information component of this URI.
|
String |
URISyntaxException.getReason()
Returns a string explaining why the input string could not be parsed.
|
String |
HttpRetryException.getReason()
Returns a string explaining why the http request could
not be retried.
|
String |
URL.getRef()
Gets the anchor (also known as the "reference") of this
URL . |
protected String |
Authenticator.getRequestingHost()
Gets the
hostname of the
site or proxy requesting authentication, or null
if not available. |
protected String |
Authenticator.getRequestingPrompt()
Gets the prompt string given by the requestor.
|
protected String |
Authenticator.getRequestingProtocol()
Give the protocol that's requesting the connection.
|
protected String |
Authenticator.getRequestingScheme()
Gets the scheme of the requestor (the HTTP scheme
for an HTTP firewall, for example).
|
String |
HttpURLConnection.getRequestMethod()
Get the request method.
|
String |
URLConnection.getRequestProperty(String key)
Returns the value of the named general request property for this
connection.
|
String |
HttpURLConnection.getResponseMessage()
Gets the HTTP response message, if any, returned along with the
response code from a server.
|
String |
URI.getScheme()
Returns the scheme component of this URI.
|
String |
URI.getSchemeSpecificPart()
Returns the decoded scheme-specific part of this URI.
|
String |
URI.getUserInfo()
Returns the decoded user-information component of this URI.
|
String |
URL.getUserInfo()
Gets the userInfo part of this
URL . |
String |
PasswordAuthentication.getUserName()
Returns the user name.
|
String |
HttpCookie.getValue()
Returns the value of the cookie.
|
static String |
URLConnection.guessContentTypeFromName(String fname)
Tries to determine the content type of an object, based
on the specified "file" component of a URL.
|
static String |
URLConnection.guessContentTypeFromStream(InputStream is)
Tries to determine the type of an input stream based on the
characters at the beginning of the input stream.
|
String |
ProtocolFamily.name()
Returns the name of the protocol family.
|
String |
SocketOption.name()
Returns the name of the socket option.
|
static String |
IDN.toASCII(String input)
Translates a string from Unicode to ASCII Compatible Encoding (ACE),
as defined by the ToASCII operation of RFC 3490.
|
static String |
IDN.toASCII(String input,
int flag)
Translates a string from Unicode to ASCII Compatible Encoding (ACE),
as defined by the ToASCII operation of RFC 3490.
|
String |
URI.toASCIIString()
Returns the content of this URI as a US-ASCII string.
|
String |
URL.toExternalForm()
Constructs a string representation of this
URL . |
protected String |
URLStreamHandler.toExternalForm(URL u)
Converts a
URL of a specific protocol to a
String . |
String |
URLConnection.toString()
Returns a
String representation of this URL connection. |
String |
InetSocketAddress.toString()
Constructs a string representation of this InetSocketAddress.
|
String |
SocketImpl.toString()
Returns the address and port of this socket as a
String . |
String |
Socket.toString()
Converts this socket to a
String . |
String |
URI.toString()
Returns the content of this URI as a string.
|
String |
InterfaceAddress.toString()
Converts this Interface address to a
String . |
String |
Proxy.toString()
Constructs a string representation of this Proxy.
|
String |
InetAddress.toString()
Converts this IP address to a
String . |
String |
NetworkInterface.toString() |
String |
ServerSocket.toString()
Returns the implementation address and implementation port of
this socket as a
String . |
String |
HttpCookie.toString()
Constructs a cookie header string representation of this cookie,
which is in the format defined by corresponding cookie specification,
but without the leading "Cookie:" token.
|
String |
URL.toString()
Constructs a string representation of this
URL . |
static String |
IDN.toUnicode(String input)
Translates a string from ASCII Compatible Encoding (ACE) to Unicode,
as defined by the ToUnicode operation of RFC 3490.
|
static String |
IDN.toUnicode(String input,
int flag)
Translates a string from ASCII Compatible Encoding (ACE) to Unicode,
as defined by the ToUnicode operation of RFC 3490.
|
Modifier and Type | Method and Description |
---|---|
abstract Map<String,List<String>> |
CookieHandler.get(URI uri,
Map<String,List<String>> requestHeaders)
Gets all the applicable cookies from a cookie cache for the
specified uri in the request header.
|
abstract Map<String,List<String>> |
CookieHandler.get(URI uri,
Map<String,List<String>> requestHeaders)
Gets all the applicable cookies from a cookie cache for the
specified uri in the request header.
|
Map<String,List<String>> |
CookieManager.get(URI uri,
Map<String,List<String>> requestHeaders) |
Map<String,List<String>> |
CookieManager.get(URI uri,
Map<String,List<String>> requestHeaders) |
Map<String,List<String>> |
URLConnection.getHeaderFields()
Returns an unmodifiable Map of the header fields.
|
Map<String,List<String>> |
URLConnection.getHeaderFields()
Returns an unmodifiable Map of the header fields.
|
abstract Map<String,List<String>> |
CacheResponse.getHeaders()
Returns the response headers as a Map.
|
abstract Map<String,List<String>> |
CacheResponse.getHeaders()
Returns the response headers as a Map.
|
Map<String,List<String>> |
URLConnection.getRequestProperties()
Returns an unmodifiable Map of general request
properties for this connection.
|
Map<String,List<String>> |
URLConnection.getRequestProperties()
Returns an unmodifiable Map of general request
properties for this connection.
|
Modifier and Type | Method and Description |
---|---|
void |
URLConnection.addRequestProperty(String key,
String value)
Adds a general request property specified by a
key-value pair.
|
protected abstract void |
SocketImpl.connect(String host,
int port)
Connects this socket to the specified port on the named host.
|
static URI |
URI.create(String str)
Creates a URI by parsing the given string.
|
ContentHandler |
ContentHandlerFactory.createContentHandler(String mimetype)
Creates a new
ContentHandler to read an object from
a URLStreamHandler . |
static InetSocketAddress |
InetSocketAddress.createUnresolved(String host,
int port)
Creates an unresolved socket address from a hostname and a port number.
|
URLStreamHandler |
URLStreamHandlerFactory.createURLStreamHandler(String protocol)
Creates a new
URLStreamHandler instance with the specified
protocol. |
static String |
URLDecoder.decode(String s)
Deprecated.
The resulting string may vary depending on the platform's
default encoding. Instead, use the decode(String,String) method
to specify the encoding.
|
static String |
URLDecoder.decode(String s,
String enc)
Decodes a
application/x-www-form-urlencoded string using a specific
encoding scheme. |
protected Package |
URLClassLoader.definePackage(String name,
Manifest man,
URL url)
Defines a new package by name in this ClassLoader.
|
static boolean |
HttpCookie.domainMatches(String domain,
String host)
The utility method to check whether a host name is in a domain or not.
|
static String |
URLEncoder.encode(String s)
Deprecated.
The resulting string may vary depending on the platform's
default encoding. Instead, use the encode(String,String)
method to specify the encoding.
|
static String |
URLEncoder.encode(String s,
String enc)
Translates a string into
application/x-www-form-urlencoded
format using a specific encoding scheme. |
protected Class<?> |
URLClassLoader.findClass(String name)
Finds and loads the class with the specified name from the URL search
path.
|
URL |
URLClassLoader.findResource(String name)
Finds the resource with the specified name on the URL search path.
|
Enumeration<URL> |
URLClassLoader.findResources(String name)
Returns an Enumeration of URLs representing all of the resources
on the URL search path having the specified name.
|
abstract CacheResponse |
ResponseCache.get(URI uri,
String rqstMethod,
Map<String,List<String>> rqstHeaders)
Retrieve the cached response based on the requesting uri,
request method and request headers.
|
static InetAddress[] |
InetAddress.getAllByName(String host)
Given the name of a host, returns an array of its IP addresses,
based on the configured name service on the system.
|
static InetAddress |
InetAddress.getByAddress(String host,
byte[] addr)
Creates an InetAddress based on the provided host name and IP address.
|
static Inet6Address |
Inet6Address.getByAddress(String host,
byte[] addr,
int scope_id)
Create an Inet6Address in the exact manner of
InetAddress.getByAddress(String,byte[]) except that the IPv6 scope_id is
set to the given numeric value. |
static Inet6Address |
Inet6Address.getByAddress(String host,
byte[] addr,
NetworkInterface nif)
Create an Inet6Address in the exact manner of
InetAddress.getByAddress(String,byte[]) except that the IPv6 scope_id is
set to the value corresponding to the given interface for the address
type specified in addr . |
static InetAddress |
InetAddress.getByName(String host)
Determines the IP address of a host, given the host's name.
|
static NetworkInterface |
NetworkInterface.getByName(String name)
Searches for the network interface with the specified name.
|
String |
FileNameMap.getContentTypeFor(String fileName)
Gets the MIME type for the specified file name.
|
static String |
URLConnection.getDefaultRequestProperty(String key)
Deprecated.
The instance specific getRequestProperty method
should be used after an appropriate instance of URLConnection
is obtained.
|
String |
URLConnection.getHeaderField(String name)
Returns the value of the named header field.
|
long |
URLConnection.getHeaderFieldDate(String name,
long Default)
Returns the value of the named field parsed as date.
|
long |
HttpURLConnection.getHeaderFieldDate(String name,
long Default) |
int |
URLConnection.getHeaderFieldInt(String name,
int Default)
Returns the value of the named field parsed as a number.
|
long |
URLConnection.getHeaderFieldLong(String name,
long Default)
Returns the value of the named field parsed as a number.
|
String |
URLConnection.getRequestProperty(String key)
Returns the value of the named general request property for this
connection.
|
InputStream |
URLClassLoader.getResourceAsStream(String name)
Returns an input stream for reading the specified resource.
|
static String |
URLConnection.guessContentTypeFromName(String fname)
Tries to determine the content type of an object, based
on the specified "file" component of a URL.
|
static List<HttpCookie> |
HttpCookie.parse(String header)
Constructs cookies from set-cookie or set-cookie2 header string.
|
protected void |
URLStreamHandler.parseURL(URL u,
String spec,
int start,
int limit)
Parses the string representation of a
URL into a
URL object. |
static PasswordAuthentication |
Authenticator.requestPasswordAuthentication(InetAddress addr,
int port,
String protocol,
String prompt,
String scheme)
Ask the authenticator that has been registered with the system
for a password.
|
static PasswordAuthentication |
Authenticator.requestPasswordAuthentication(String host,
InetAddress addr,
int port,
String protocol,
String prompt,
String scheme)
Ask the authenticator that has been registered with the system
for a password.
|
static PasswordAuthentication |
Authenticator.requestPasswordAuthentication(String host,
InetAddress addr,
int port,
String protocol,
String prompt,
String scheme,
URL url,
Authenticator.RequestorType reqType)
Ask the authenticator that has been registered with the system
for a password.
|
URI |
URI.resolve(String str)
Constructs a new URI by parsing the given string and then resolving it
against this URI.
|
void |
HttpCookie.setComment(String purpose)
Specifies a comment that describes a cookie's purpose.
|
void |
HttpCookie.setCommentURL(String purpose)
Specifies a comment URL that describes a cookie's purpose.
|
static void |
URLConnection.setDefaultRequestProperty(String key,
String value)
Deprecated.
The instance specific setRequestProperty method
should be used after an appropriate instance of URLConnection
is obtained. Invoking this method will have no effect.
|
void |
HttpCookie.setDomain(String pattern)
Specifies the domain within which this cookie should be presented.
|
void |
HttpCookie.setPath(String uri)
Specifies a path for the cookie to which the client should return
the cookie.
|
void |
HttpCookie.setPortlist(String ports)
Specify the portlist of the cookie, which restricts the port(s)
to which a cookie may be sent back in a Cookie header.
|
void |
HttpURLConnection.setRequestMethod(String method)
Set the method for the URL request, one of:
GET
POST
HEAD
OPTIONS
PUT
DELETE
TRACE
are legal, subject to protocol restrictions.
|
void |
URLConnection.setRequestProperty(String key,
String value)
Sets the general request property.
|
protected void |
URLStreamHandler.setURL(URL u,
String protocol,
String host,
int port,
String file,
String ref)
Deprecated.
Use setURL(URL, String, String, int, String, String, String,
String);
|
protected void |
URLStreamHandler.setURL(URL u,
String protocol,
String host,
int port,
String authority,
String userInfo,
String path,
String query,
String ref)
Sets the fields of the
URL argument to the indicated values. |
void |
HttpCookie.setValue(String newValue)
Assigns a new value to a cookie after the cookie is created.
|
static String |
IDN.toASCII(String input)
Translates a string from Unicode to ASCII Compatible Encoding (ACE),
as defined by the ToASCII operation of RFC 3490.
|
static String |
IDN.toASCII(String input,
int flag)
Translates a string from Unicode to ASCII Compatible Encoding (ACE),
as defined by the ToASCII operation of RFC 3490.
|
static String |
IDN.toUnicode(String input)
Translates a string from ASCII Compatible Encoding (ACE) to Unicode,
as defined by the ToUnicode operation of RFC 3490.
|
static String |
IDN.toUnicode(String input,
int flag)
Translates a string from ASCII Compatible Encoding (ACE) to Unicode,
as defined by the ToUnicode operation of RFC 3490.
|
static StandardProtocolFamily |
StandardProtocolFamily.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Proxy.Type |
Proxy.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Authenticator.RequestorType |
Authenticator.RequestorType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
Modifier and Type | Method and Description |
---|---|
abstract Map<String,List<String>> |
CookieHandler.get(URI uri,
Map<String,List<String>> requestHeaders)
Gets all the applicable cookies from a cookie cache for the
specified uri in the request header.
|
abstract Map<String,List<String>> |
CookieHandler.get(URI uri,
Map<String,List<String>> requestHeaders)
Gets all the applicable cookies from a cookie cache for the
specified uri in the request header.
|
Map<String,List<String>> |
CookieManager.get(URI uri,
Map<String,List<String>> requestHeaders) |
Map<String,List<String>> |
CookieManager.get(URI uri,
Map<String,List<String>> requestHeaders) |
abstract CacheResponse |
ResponseCache.get(URI uri,
String rqstMethod,
Map<String,List<String>> rqstHeaders)
Retrieve the cached response based on the requesting uri,
request method and request headers.
|
abstract CacheResponse |
ResponseCache.get(URI uri,
String rqstMethod,
Map<String,List<String>> rqstHeaders)
Retrieve the cached response based on the requesting uri,
request method and request headers.
|
abstract void |
CookieHandler.put(URI uri,
Map<String,List<String>> responseHeaders)
Sets all the applicable cookies, examples are response header
fields that are named Set-Cookie2, present in the response
headers into a cookie cache.
|
abstract void |
CookieHandler.put(URI uri,
Map<String,List<String>> responseHeaders)
Sets all the applicable cookies, examples are response header
fields that are named Set-Cookie2, present in the response
headers into a cookie cache.
|
void |
CookieManager.put(URI uri,
Map<String,List<String>> responseHeaders) |
void |
CookieManager.put(URI uri,
Map<String,List<String>> responseHeaders) |
Constructor and Description |
---|
BindException(String msg)
Constructs a new BindException with the specified detail
message as to why the bind error occurred.
|
ConnectException(String msg)
Constructs a new ConnectException with the specified detail
message as to why the connect error occurred.
|
HttpCookie(String name,
String value)
Constructs a cookie with a specified name and value.
|
HttpRetryException(String detail,
int code)
Constructs a new
HttpRetryException from the
specified response code and exception detail message |
HttpRetryException(String detail,
int code,
String location)
Constructs a new
HttpRetryException with detail message
responseCode and the contents of the Location response header field. |
InetSocketAddress(String hostname,
int port)
Creates a socket address from a hostname and a port number.
|
MalformedURLException(String msg)
Constructs a
MalformedURLException with the
specified detail message. |
NetPermission(String name)
Creates a new NetPermission with the specified name.
|
NetPermission(String name,
String actions)
Creates a new NetPermission object with the specified name.
|
NoRouteToHostException(String msg)
Constructs a new NoRouteToHostException with the specified detail
message as to why the remote host cannot be reached.
|
PasswordAuthentication(String userName,
char[] password)
Creates a new
PasswordAuthentication object from the given
user name and password. |
PortUnreachableException(String msg)
Constructs a new
PortUnreachableException with a
detail message. |
ProtocolException(String host)
Constructs a new
ProtocolException with the
specified detail message. |
Socket(String host,
int port)
Creates a stream socket and connects it to the specified port
number on the named host.
|
Socket(String host,
int port,
boolean stream)
Deprecated.
Use DatagramSocket instead for UDP transport.
|
Socket(String host,
int port,
InetAddress localAddr,
int localPort)
Creates a socket and connects it to the specified remote host on
the specified remote port.
|
SocketException(String msg)
Constructs a new
SocketException with the
specified detail message. |
SocketPermission(String host,
String action)
Creates a new SocketPermission object with the specified actions.
|
SocketTimeoutException(String msg)
Constructs a new SocketTimeoutException with a detail
message.
|
UnknownHostException(String host)
Constructs a new
UnknownHostException with the
specified detail message. |
UnknownServiceException(String msg)
Constructs a new
UnknownServiceException with the
specified detail message. |
URI(String str)
Constructs a URI by parsing the given string.
|
URI(String scheme,
String ssp,
String fragment)
Constructs a URI from the given components.
|
URI(String scheme,
String userInfo,
String host,
int port,
String path,
String query,
String fragment)
Constructs a hierarchical URI from the given components.
|
URI(String scheme,
String host,
String path,
String fragment)
Constructs a hierarchical URI from the given components.
|
URI(String scheme,
String authority,
String path,
String query,
String fragment)
Constructs a hierarchical URI from the given components.
|
URISyntaxException(String input,
String reason)
Constructs an instance from the given input string and reason.
|
URISyntaxException(String input,
String reason,
int index)
Constructs an instance from the given input string, reason, and error
index.
|
URL(String spec)
Creates a
URL object from the String
representation. |
URL(String protocol,
String host,
int port,
String file)
Creates a
URL object from the specified
protocol , host , port
number, and file . |
URL(String protocol,
String host,
int port,
String file,
URLStreamHandler handler)
Creates a
URL object from the specified
protocol , host , port
number, file , and handler . |
URL(String protocol,
String host,
String file)
Creates a URL from the specified
protocol
name, host name, and file name. |
URL(URL context,
String spec)
Creates a URL by parsing the given spec within a specified context.
|
URL(URL context,
String spec,
URLStreamHandler handler)
Creates a URL by parsing the given spec with the specified handler
within a specified context.
|
URLPermission(String url)
Creates a URLPermission with the given url string and unrestricted
methods and request headers by invoking the two argument
constructor as follows: URLPermission(url, "*:*")
|
URLPermission(String url,
String actions)
Creates a new URLPermission from a url string and which permits the given
request methods and user-settable request headers.
|
Modifier and Type | Method and Description |
---|---|
String |
ShortBuffer.toString()
Returns a string summarizing the state of this buffer.
|
String |
CharBuffer.toString()
Returns a string containing the characters in this buffer.
|
String |
LongBuffer.toString()
Returns a string summarizing the state of this buffer.
|
String |
FloatBuffer.toString()
Returns a string summarizing the state of this buffer.
|
String |
DoubleBuffer.toString()
Returns a string summarizing the state of this buffer.
|
String |
ByteOrder.toString()
Constructs a string describing this object.
|
String |
IntBuffer.toString()
Returns a string summarizing the state of this buffer.
|
String |
ByteBuffer.toString()
Returns a string summarizing the state of this buffer.
|
Modifier and Type | Method and Description |
---|---|
CharBuffer |
CharBuffer.put(String src)
Relative bulk put method (optional operation).
|
CharBuffer |
CharBuffer.put(String src,
int start,
int end)
Relative bulk put method (optional operation).
|
Modifier and Type | Method and Description |
---|---|
String |
FileChannel.MapMode.toString()
Returns a string describing this file-mapping mode.
|
String |
FileLock.toString()
Returns a string describing the range, type, and validity of this lock.
|
Modifier and Type | Method and Description |
---|---|
static Reader |
Channels.newReader(ReadableByteChannel ch,
String csName)
Constructs a reader that decodes bytes from the given channel according
to the named charset.
|
static Writer |
Channels.newWriter(WritableByteChannel ch,
String csName)
Constructs a writer that encodes characters according to the named
charset and writes the resulting bytes to the given channel.
|
Modifier and Type | Method and Description |
---|---|
String |
Charset.displayName()
Returns this charset's human-readable name for the default locale.
|
String |
Charset.displayName(Locale locale)
Returns this charset's human-readable name for the given locale.
|
String |
UnsupportedCharsetException.getCharsetName()
Retrieves the name of the unsupported charset.
|
String |
IllegalCharsetNameException.getCharsetName()
Retrieves the illegal charset name.
|
String |
MalformedInputException.getMessage()
Returns the message.
|
String |
UnmappableCharacterException.getMessage()
Returns the message.
|
String |
Charset.name()
Returns this charset's canonical name.
|
String |
CharsetDecoder.replacement()
Returns this decoder's replacement value.
|
String |
CodingErrorAction.toString()
Returns a string describing this action.
|
String |
Charset.toString()
Returns a string describing this charset.
|
String |
CoderResult.toString()
Returns a string describing this coder result.
|
Modifier and Type | Method and Description |
---|---|
Set<String> |
Charset.aliases()
Returns a set containing this charset's aliases.
|
static SortedMap<String,Charset> |
Charset.availableCharsets()
Constructs a sorted map from canonical charset names to charset objects.
|
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
Charset.encode(String str)
Convenience method that encodes a string into bytes in this charset.
|
static Charset |
Charset.forName(String charsetName)
Returns a charset object for the named charset.
|
protected void |
CharsetDecoder.implReplaceWith(String newReplacement)
Reports a change to this decoder's replacement value.
|
static boolean |
Charset.isSupported(String charsetName)
Tells whether the named charset is supported.
|
CharsetDecoder |
CharsetDecoder.replaceWith(String newReplacement)
Changes this decoder's replacement value.
|
Constructor and Description |
---|
Charset(String canonicalName,
String[] aliases)
Initializes a new charset with the given canonical name and alias
set.
|
Charset(String canonicalName,
String[] aliases)
Initializes a new charset with the given canonical name and alias
set.
|
IllegalCharsetNameException(String charsetName)
Constructs an instance of this class.
|
UnsupportedCharsetException(String charsetName)
Constructs an instance of this class.
|
Modifier and Type | Method and Description |
---|---|
abstract Charset |
CharsetProvider.charsetForName(String charsetName)
Retrieves a charset for the given charset name.
|
Modifier and Type | Method and Description |
---|---|
String |
FileSystemException.getFile()
Returns the file used to create this exception.
|
String |
InvalidPathException.getInput()
Returns the input string.
|
String |
InvalidPathException.getMessage()
Returns a string describing the error.
|
String |
FileSystemException.getMessage()
Returns the detail message string.
|
String |
FileSystemException.getOtherFile()
Returns the other file used to create this exception.
|
String |
InvalidPathException.getReason()
Returns a string explaining why the input string was rejected.
|
String |
FileSystemException.getReason()
Returns the string explaining why the file system operation failed.
|
abstract String |
FileSystem.getSeparator()
Returns the name separator, represented as a string.
|
String |
WatchEvent.Kind.name()
Returns the name of the event kind.
|
String |
WatchEvent.Modifier.name()
Returns the name of the modifier.
|
abstract String |
FileStore.name()
Returns the name of this file store.
|
static String |
Files.probeContentType(Path path)
Probes the content type of a file.
|
String |
Path.toString()
Returns the string representation of this path.
|
abstract String |
FileStore.type()
Returns the type of this file store.
|
Modifier and Type | Method and Description |
---|---|
static Stream<String> |
Files.lines(Path path)
Read all lines from a file as a
Stream . |
static Stream<String> |
Files.lines(Path path,
Charset cs)
Read all lines from a file as a
Stream . |
static List<String> |
Files.readAllLines(Path path)
Read all lines from a file.
|
static List<String> |
Files.readAllLines(Path path,
Charset cs)
Read all lines from a file.
|
static Map<String,Object> |
Files.readAttributes(Path path,
String attributes,
LinkOption... options)
Reads a set of file attributes as a bulk operation.
|
abstract Set<String> |
FileSystem.supportedFileAttributeViews()
Returns the set of the
names of the file
attribute views supported by this FileSystem . |
Modifier and Type | Method and Description |
---|---|
static Path |
Files.createTempDirectory(Path dir,
String prefix,
FileAttribute<?>... attrs)
Creates a new directory in the specified directory, using the given
prefix to generate its name.
|
static Path |
Files.createTempDirectory(String prefix,
FileAttribute<?>... attrs)
Creates a new directory in the default temporary-file directory, using
the given prefix to generate its name.
|
static Path |
Files.createTempFile(Path dir,
String prefix,
String suffix,
FileAttribute<?>... attrs)
Creates a new empty file in the specified directory, using the given
prefix and suffix strings to generate its name.
|
static Path |
Files.createTempFile(String prefix,
String suffix,
FileAttribute<?>... attrs)
Creates an empty file in the default temporary-file directory, using
the given prefix and suffix to generate its name.
|
boolean |
Path.endsWith(String other)
Tests if this path ends with a
Path , constructed by converting
the given path string, in exactly the manner specified by the endsWith(Path) method. |
static Path |
Paths.get(String first,
String... more)
Converts a path string, or a sequence of strings that when joined form
a path string, to a
Path . |
static Path |
Paths.get(String first,
String... more)
Converts a path string, or a sequence of strings that when joined form
a path string, to a
Path . |
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.
|
abstract Path |
FileSystem.getPath(String first,
String... more)
Converts a path string, or a sequence of strings that when joined form
a path string, to a
Path . |
abstract Path |
FileSystem.getPath(String first,
String... more)
Converts a path string, or a sequence of strings that when joined form
a path string, to a
Path . |
abstract PathMatcher |
FileSystem.getPathMatcher(String syntaxAndPattern)
Returns a
PathMatcher that performs match operations on the
String representation of Path objects by interpreting a
given pattern. |
static DirectoryStream<Path> |
Files.newDirectoryStream(Path dir,
String glob)
Opens a directory, returning a
DirectoryStream to iterate over
the entries in the directory. |
static Map<String,Object> |
Files.readAttributes(Path path,
String attributes,
LinkOption... options)
Reads a set of file attributes as a bulk operation.
|
Path |
Path.resolve(String other)
Converts a given path string to a
Path and resolves it against
this Path in exactly the manner specified by the resolve method. |
Path |
Path.resolveSibling(String other)
Converts a given path string to a
Path and resolves it against
this path's parent path in exactly the manner
specified by the resolveSibling method. |
static Path |
Files.setAttribute(Path path,
String attribute,
Object value,
LinkOption... options)
Sets the value of a file attribute.
|
boolean |
Path.startsWith(String other)
Tests if this path starts with a
Path , constructed by converting
the given path string, in exactly the manner specified by the startsWith(Path) method. |
abstract boolean |
FileStore.supportsFileAttributeView(String name)
Tells whether or not this file store supports the file attributes
identified by the given file attribute view.
|
static FileVisitResult |
FileVisitResult.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StandardOpenOption |
StandardOpenOption.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccessMode |
AccessMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileVisitOption |
FileVisitOption.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LinkOption |
LinkOption.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StandardCopyOption |
StandardCopyOption.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
Modifier and Type | Method and Description |
---|---|
static FileSystem |
FileSystems.newFileSystem(URI uri,
Map<String,?> env)
|
static FileSystem |
FileSystems.newFileSystem(URI uri,
Map<String,?> env,
ClassLoader loader)
Constructs a new file system that is identified by a
URI
This method first attempts to locate an installed provider in exactly
the same manner as the newFileSystem(URI,Map)
method. |
Constructor and Description |
---|
AccessDeniedException(String file)
Constructs an instance of this class.
|
AccessDeniedException(String file,
String other,
String reason)
Constructs an instance of this class.
|
AtomicMoveNotSupportedException(String source,
String target,
String reason)
Constructs an instance of this class.
|
DirectoryNotEmptyException(String dir)
Constructs an instance of this class.
|
FileAlreadyExistsException(String file)
Constructs an instance of this class.
|
FileAlreadyExistsException(String file,
String other,
String reason)
Constructs an instance of this class.
|
FileSystemAlreadyExistsException(String msg)
Constructs an instance of this class.
|
FileSystemException(String file)
Constructs an instance of this class.
|
FileSystemException(String file,
String other,
String reason)
Constructs an instance of this class.
|
FileSystemLoopException(String file)
Constructs an instance of this class.
|
FileSystemNotFoundException(String msg)
Constructs an instance of this class.
|
InvalidPathException(String input,
String reason)
Constructs an instance from the given input string and reason.
|
InvalidPathException(String input,
String reason,
int index)
Constructs an instance from the given input string, reason, and error
index.
|
LinkPermission(String name)
Constructs a
LinkPermission with the specified name. |
LinkPermission(String name,
String actions)
Constructs a
LinkPermission with the specified name. |
NoSuchFileException(String file)
Constructs an instance of this class.
|
NoSuchFileException(String file,
String other,
String reason)
Constructs an instance of this class.
|
NotDirectoryException(String file)
Constructs an instance of this class.
|
NotLinkException(String file)
Constructs an instance of this class.
|
NotLinkException(String file,
String other,
String reason)
Constructs an instance of this class.
|
ProviderMismatchException(String msg)
Constructs an instance of this class.
|
ProviderNotFoundException(String msg)
Constructs an instance of this class.
|
Modifier and Type | Method and Description |
---|---|
String |
UserPrincipalNotFoundException.getName()
Returns the user principal name if this exception was created with the
user principal name that was not found, otherwise null.
|
String |
BasicFileAttributeView.name()
Returns the name of the attribute view.
|
String |
AttributeView.name()
Returns the name of the attribute view.
|
String |
FileAttribute.name()
Returns the attribute name.
|
String |
PosixFileAttributeView.name()
Returns the name of the attribute view.
|
String |
FileOwnerAttributeView.name()
Returns the name of the attribute view.
|
String |
AclFileAttributeView.name()
Returns the name of the attribute view.
|
String |
UserDefinedFileAttributeView.name()
Returns the name of this attribute view.
|
String |
DosFileAttributeView.name()
Returns the name of the attribute view.
|
String |
FileTime.toString()
Returns the string representation of this
FileTime . |
String |
AclEntry.toString()
Returns the string representation of this ACL entry.
|
static String |
PosixFilePermissions.toString(Set<PosixFilePermission> perms)
Returns the
String representation of a set of permissions. |
Modifier and Type | Method and Description |
---|---|
List<String> |
UserDefinedFileAttributeView.list()
Returns a list containing the names of the user-defined attributes.
|
Modifier and Type | Method and Description |
---|---|
void |
UserDefinedFileAttributeView.delete(String name)
Deletes a user-defined attribute.
|
static Set<PosixFilePermission> |
PosixFilePermissions.fromString(String perms)
Returns the set of permissions corresponding to a given
String
representation. |
abstract GroupPrincipal |
UserPrincipalLookupService.lookupPrincipalByGroupName(String group)
Lookup a group principal by group name.
|
abstract UserPrincipal |
UserPrincipalLookupService.lookupPrincipalByName(String name)
Lookup a user principal by name.
|
int |
UserDefinedFileAttributeView.read(String name,
ByteBuffer dst)
Read the value of a user-defined attribute into a buffer.
|
int |
UserDefinedFileAttributeView.size(String name)
Returns the size of the value of a user-defined attribute.
|
static AclEntryPermission |
AclEntryPermission.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AclEntryFlag |
AclEntryFlag.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AclEntryType |
AclEntryType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PosixFilePermission |
PosixFilePermission.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
int |
UserDefinedFileAttributeView.write(String name,
ByteBuffer src)
Writes the value of a user-defined attribute from a buffer.
|
Constructor and Description |
---|
UserPrincipalNotFoundException(String name)
Constructs an instance of this class.
|
Modifier and Type | Method and Description |
---|---|
abstract String |
FileSystemProvider.getScheme()
Returns the URI scheme that identifies this provider.
|
abstract String |
FileTypeDetector.probeContentType(Path path)
Probes the given file to guess its content 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 Map<String,Object> |
FileSystemProvider.readAttributes(Path path,
String attributes,
LinkOption... options)
Reads a set of file attributes as a bulk operation.
|
abstract void |
FileSystemProvider.setAttribute(Path path,
String attribute,
Object value,
LinkOption... options)
Sets the value of a file attribute.
|
Modifier and Type | Method and Description |
---|---|
FileSystem |
FileSystemProvider.newFileSystem(Path path,
Map<String,?> env)
Constructs a new
FileSystem to access the contents of a file as a
file system. |
abstract FileSystem |
FileSystemProvider.newFileSystem(URI uri,
Map<String,?> env)
Constructs a new
FileSystem object identified by a URI. |
Modifier and Type | Method and Description |
---|---|
String |
RemoteException.getMessage()
Returns the detail message, including the message from the cause, if
any, of this exception.
|
static String[] |
Naming.list(String name)
Returns an array of the names bound in the registry.
|
Modifier and Type | Method and Description |
---|---|
static void |
Naming.bind(String name,
Remote obj)
Binds the specified
name to a remote object. |
static String[] |
Naming.list(String name)
Returns an array of the names bound in the registry.
|
static Remote |
Naming.lookup(String name)
Returns a reference, a stub, for the remote object associated
with the specified
name . |
static void |
Naming.rebind(String name,
Remote obj)
Rebinds the specified name to a new remote object.
|
static void |
Naming.unbind(String name)
Destroys the binding for the specified name that is associated
with a remote object.
|
Constructor and Description |
---|
AccessException(String s)
Constructs an
AccessException with the specified
detail message. |
AccessException(String s,
Exception ex)
Constructs an
AccessException with the specified
detail message and nested exception. |
AlreadyBoundException(String s)
Constructs an
AlreadyBoundException with the specified
detail message. |
ConnectException(String s)
Constructs a
ConnectException with the specified
detail message. |
ConnectException(String s,
Exception ex)
Constructs a
ConnectException with the specified
detail message and nested exception. |
ConnectIOException(String s)
Constructs a
ConnectIOException with the specified
detail message. |
ConnectIOException(String s,
Exception ex)
Constructs a
ConnectIOException with the specified
detail message and nested exception. |
MarshalException(String s)
Constructs a
MarshalException with the specified
detail message. |
MarshalException(String s,
Exception ex)
Constructs a
MarshalException with the specified
detail message and nested exception. |
NoSuchObjectException(String s)
Constructs a
NoSuchObjectException with the specified
detail message. |
NotBoundException(String s)
Constructs a
NotBoundException with the specified
detail message. |
RemoteException(String s)
Constructs a
RemoteException with the specified
detail message. |
RemoteException(String s,
Throwable cause)
Constructs a
RemoteException with the specified detail
message and cause. |
RMISecurityException(String name)
Deprecated.
no replacement
|
RMISecurityException(String name,
String arg)
Deprecated.
no replacement
|
ServerError(String s,
Error err)
Constructs a
ServerError with the specified
detail message and nested error. |
ServerException(String s)
Constructs a
ServerException with the specified
detail message. |
ServerException(String s,
Exception ex)
Constructs a
ServerException with the specified
detail message and nested exception. |
ServerRuntimeException(String s,
Exception ex)
Deprecated.
no replacement
|
StubNotFoundException(String s)
Constructs a
StubNotFoundException with the specified
detail message. |
StubNotFoundException(String s,
Exception ex)
Constructs a
StubNotFoundException with the specified
detail message and nested exception. |
UnexpectedException(String s)
Constructs an
UnexpectedException with the specified
detail message. |
UnexpectedException(String s,
Exception ex)
Constructs a
UnexpectedException with the specified
detail message and nested exception. |
UnknownHostException(String s)
Constructs an
UnknownHostException with the specified
detail message. |
UnknownHostException(String s,
Exception ex)
Constructs an
UnknownHostException with the specified
detail message and nested exception. |
UnmarshalException(String s)
Constructs an
UnmarshalException with the specified
detail message. |
UnmarshalException(String s,
Exception ex)
Constructs an
UnmarshalException with the specified
detail message and nested exception. |
Modifier and Type | Method and Description |
---|---|
String |
ActivationGroupDesc.getClassName()
Returns the group's class name (possibly
null ). |
String |
ActivationDesc.getClassName()
Returns the class name for the object specified by this
descriptor.
|
String[] |
ActivationGroupDesc.CommandEnvironment.getCommandOptions()
Fetch the configured java command options.
|
String |
ActivationGroupDesc.CommandEnvironment.getCommandPath()
Fetch the configured path-qualified java command name.
|
String |
ActivationGroupDesc.getLocation()
Returns the group's code location.
|
String |
ActivationDesc.getLocation()
Returns the code location for the object specified by
this descriptor.
|
String |
ActivationException.getMessage()
Returns the detail message, including the message from the cause, if
any, of this exception.
|
Modifier and Type | Method and Description |
---|---|
static ActivationID |
Activatable.exportObject(Remote obj,
String location,
MarshalledObject<?> data,
boolean restart,
int port)
Registers an activation descriptor (with the specified location,
data, and restart mode) for the specified object, and exports that
object with the specified port.
|
static ActivationID |
Activatable.exportObject(Remote obj,
String location,
MarshalledObject<?> data,
boolean restart,
int port,
RMIClientSocketFactory csf,
RMIServerSocketFactory ssf)
Registers an activation descriptor (with the specified location,
data, and restart mode) for the specified object, and exports that
object with the specified port, and the specified client and server
socket factories.
|
Constructor and Description |
---|
Activatable(String location,
MarshalledObject<?> data,
boolean restart,
int port)
Constructs an activatable remote object by registering
an activation descriptor (with the specified location, data, and
restart mode) for this object, and exporting the object with the
specified port.
|
Activatable(String location,
MarshalledObject<?> data,
boolean restart,
int port,
RMIClientSocketFactory csf,
RMIServerSocketFactory ssf)
Constructs an activatable remote object by registering
an activation descriptor (with the specified location, data, and
restart mode) for this object, and exporting the object with the
specified port, and specified client and server socket factories.
|
ActivateFailedException(String s)
Constructs an
ActivateFailedException with the specified
detail message. |
ActivateFailedException(String s,
Exception ex)
Constructs an
ActivateFailedException with the specified
detail message and nested exception. |
ActivationDesc(ActivationGroupID groupID,
String className,
String location,
MarshalledObject<?> data)
Constructs an object descriptor for an object whose class name
is
className that can be loaded from the
code location and whose initialization
information is data . |
ActivationDesc(ActivationGroupID groupID,
String className,
String location,
MarshalledObject<?> data,
boolean restart)
Constructs an object descriptor for an object whose class name
is
className that can be loaded from the
code location and whose initialization
information is data . |
ActivationDesc(String className,
String location,
MarshalledObject<?> data)
Constructs an object descriptor for an object whose class name
is
className , that can be loaded from the
code location and whose initialization
information is data . |
ActivationDesc(String className,
String location,
MarshalledObject<?> data,
boolean restart)
Constructs an object descriptor for an object whose class name
is
className , that can be loaded from the
code location and whose initialization
information is data . |
ActivationException(String s)
Constructs an
ActivationException with the specified
detail message. |
ActivationException(String s,
Throwable cause)
Constructs an
ActivationException with the specified
detail message and cause. |
ActivationGroupDesc(String className,
String location,
MarshalledObject<?> data,
Properties overrides,
ActivationGroupDesc.CommandEnvironment cmd)
Specifies an alternate group implementation and execution
environment to be used for the group.
|
CommandEnvironment(String cmdpath,
String[] argv)
Create a CommandEnvironment with all the necessary
information.
|
CommandEnvironment(String cmdpath,
String[] argv)
Create a CommandEnvironment with all the necessary
information.
|
UnknownGroupException(String s)
Constructs an
UnknownGroupException with the specified
detail message. |
UnknownObjectException(String s)
Constructs an
UnknownObjectException with the specified
detail message. |
Modifier and Type | Method and Description |
---|---|
String |
VMID.toString()
Return string representation of this VMID.
|
Modifier and Type | Method and Description |
---|---|
String[] |
Registry.list()
Returns an array of the names bound in this registry.
|
Modifier and Type | Method and Description |
---|---|
void |
Registry.bind(String name,
Remote obj)
Binds a remote reference to the specified
name in
this registry. |
static Registry |
LocateRegistry.getRegistry(String host)
Returns a reference to the remote object
Registry on the
specified host on the default registry port of 1099. |
static Registry |
LocateRegistry.getRegistry(String host,
int port)
Returns a reference to the remote object
Registry on the
specified host and port . |
static Registry |
LocateRegistry.getRegistry(String host,
int port,
RMIClientSocketFactory csf)
Returns a locally created remote reference to the remote object
Registry on the specified host and
port . |
Remote |
Registry.lookup(String name)
Returns the remote reference bound to the specified
name in this registry. |
void |
Registry.rebind(String name,
Remote obj)
Replaces the binding for the specified
name in
this registry with the supplied remote reference. |
Registry |
RegistryHandler.registryStub(String host,
int port)
Deprecated.
no replacement. As of the Java 2 platform v1.2, RMI no
longer uses the
RegistryHandler to obtain the registry's
stub. |
void |
Registry.unbind(String name)
Removes the binding for the specified
name in
this registry. |
Modifier and Type | Field and Description |
---|---|
static String |
LoaderHandler.packagePrefix
Deprecated.
package of system
LoaderHandler implementation. |
static String |
RemoteRef.packagePrefix
Initialize the server package prefix: assumes that the
implementation of server ref classes (e.g., UnicastRef,
UnicastServerRef) are located in the package defined by the
prefix.
|
Modifier and Type | Method and Description |
---|---|
abstract String |
RMIClassLoaderSpi.getClassAnnotation(Class<?> cl)
Provides the implementation for
RMIClassLoader.getClassAnnotation(Class) . |
static String |
RMIClassLoader.getClassAnnotation(Class<?> cl)
Returns the annotation string (representing a location for
the class definition) that RMI will use to annotate the class
descriptor when marshalling objects of the given class.
|
String |
ServerRef.getClientHost()
Deprecated.
Returns the hostname of the current client.
|
static String |
RemoteServer.getClientHost()
Returns a string representation of the client host for the
remote method invocation being processed in the current thread.
|
String |
ServerCloneException.getMessage()
Returns the detail message, including the message from the cause, if
any, of this exception.
|
String |
Operation.getOperation()
Deprecated.
no replacement
|
String |
RemoteRef.getRefClass(ObjectOutput out)
Returns the class name of the ref type to be serialized onto
the stream 'out'.
|
String |
RemoteRef.remoteToString()
Returns a String that represents the reference of this remote
object.
|
String |
Operation.toString()
Deprecated.
no replacement
|
String |
LogStream.toString()
Deprecated.
no replacement
|
String |
UID.toString()
Returns a string representation of this
UID . |
String |
RemoteObject.toString()
Returns a String that represents the value of this remote object.
|
String |
ObjID.toString()
Returns a string representation of this object identifier.
|
Modifier and Type | Method and Description |
---|---|
abstract Socket |
RMISocketFactory.createSocket(String host,
int port)
Creates a client socket connected to the specified host and port.
|
Socket |
RMIClientSocketFactory.createSocket(String host,
int port)
Create a client socket connected to the specified host and port.
|
abstract ClassLoader |
RMIClassLoaderSpi.getClassLoader(String codebase)
Provides the implementation for
RMIClassLoader.getClassLoader(String) . |
static ClassLoader |
RMIClassLoader.getClassLoader(String codebase)
Returns a class loader that loads classes from the given codebase
URL path.
|
static Class<?> |
RMIClassLoader.loadClass(String name)
Deprecated.
replaced by
loadClass(String,String) method |
Class<?> |
LoaderHandler.loadClass(String name)
Deprecated.
no replacement
|
static Class<?> |
RMIClassLoader.loadClass(String codebase,
String name)
Loads a class from a codebase URL path.
|
abstract Class<?> |
RMIClassLoaderSpi.loadClass(String codebase,
String name,
ClassLoader defaultLoader)
Provides the implementation for
RMIClassLoader.loadClass(URL,String) ,
RMIClassLoader.loadClass(String,String) , and
RMIClassLoader.loadClass(String,String,ClassLoader) . |
static Class<?> |
RMIClassLoader.loadClass(String codebase,
String name,
ClassLoader defaultLoader)
Loads a class from a codebase URL path, optionally using the
supplied loader.
|
static Class<?> |
RMIClassLoader.loadClass(URL codebase,
String name)
Loads a class from a codebase URL.
|
Class<?> |
LoaderHandler.loadClass(URL codebase,
String name)
Deprecated.
no replacement
|
abstract Class<?> |
RMIClassLoaderSpi.loadProxyClass(String codebase,
String[] interfaces,
ClassLoader defaultLoader)
Provides the implementation for
RMIClassLoader.loadProxyClass(String,String[],ClassLoader) . |
abstract Class<?> |
RMIClassLoaderSpi.loadProxyClass(String codebase,
String[] interfaces,
ClassLoader defaultLoader)
Provides the implementation for
RMIClassLoader.loadProxyClass(String,String[],ClassLoader) . |
static Class<?> |
RMIClassLoader.loadProxyClass(String codebase,
String[] interfaces,
ClassLoader defaultLoader)
Loads a dynamic proxy class (see
Proxy )
that implements a set of interfaces with the given names
from a codebase URL path. |
static Class<?> |
RMIClassLoader.loadProxyClass(String codebase,
String[] interfaces,
ClassLoader defaultLoader)
Loads a dynamic proxy class (see
Proxy )
that implements a set of interfaces with the given names
from a codebase URL path. |
static LogStream |
LogStream.log(String name)
Deprecated.
no replacement
|
static int |
LogStream.parseLevel(String s)
Deprecated.
no replacement
|
Constructor and Description |
---|
ExportException(String s)
Constructs an
ExportException with the specified
detail message. |
ExportException(String s,
Exception ex)
Constructs an
ExportException with the specified
detail message and nested exception. |
Operation(String op)
Deprecated.
no replacement
|
ServerCloneException(String s)
Constructs a
ServerCloneException with the specified
detail message. |
ServerCloneException(String s,
Exception cause)
Constructs a
ServerCloneException with the specified
detail message and cause. |
ServerNotActiveException(String s)
Constructs an
ServerNotActiveException with the specified
detail message. |
SkeletonMismatchException(String s)
Deprecated.
no replacement
|
SkeletonNotFoundException(String s)
Deprecated.
Constructs a
SkeletonNotFoundException with the specified
detail message. |
SkeletonNotFoundException(String s,
Exception ex)
Deprecated.
Constructs a
SkeletonNotFoundException with the specified
detail message and nested exception. |
SocketSecurityException(String s)
Deprecated.
Constructs an
SocketSecurityException with the specified
detail message. |
SocketSecurityException(String s,
Exception ex)
Deprecated.
Constructs an
SocketSecurityException with the specified
detail message and nested exception. |
Modifier and Type | Method and Description |
---|---|
abstract String |
KeyStoreSpi.engineGetCertificateAlias(Certificate cert)
Returns the (alias) name of the first keystore entry whose certificate
matches the given certificate.
|
protected abstract String |
AlgorithmParametersSpi.engineToString()
Returns a formatted string describing the parameters.
|
String |
UnresolvedPermission.getActions()
Returns the canonical string representation of the actions,
which currently is the empty string "", since there are no actions for
an UnresolvedPermission.
|
String |
AllPermission.getActions()
Returns the canonical string representation of the actions.
|
String |
BasicPermission.getActions()
Returns the canonical string representation of the actions,
which currently is the empty string "", since there are no actions for
a BasicPermission.
|
abstract String |
Permission.getActions()
Returns the actions as a String.
|
String |
SignedObject.getAlgorithm()
Retrieves the name of the signature algorithm.
|
String |
SecureRandom.getAlgorithm()
Returns the name of the algorithm implemented by this SecureRandom
object.
|
String |
MessageDigest.getAlgorithm()
Returns a string that identifies the algorithm, independent of
implementation details.
|
String |
KeyPairGenerator.getAlgorithm()
Returns the standard name of the algorithm for this key pair generator.
|
String |
Provider.Service.getAlgorithm()
Return the name of the algorithm of this service.
|
String |
AlgorithmParameters.getAlgorithm()
Returns the name of the algorithm associated with this parameter object.
|
String |
AlgorithmParameterGenerator.getAlgorithm()
Returns the standard name of the algorithm this parameter
generator is associated with.
|
String |
Signature.getAlgorithm()
Returns the name of the algorithm for this signature object.
|
String |
Key.getAlgorithm()
Returns the standard algorithm name for this key.
|
String |
KeyFactory.getAlgorithm()
Gets the name of the algorithm
associated with this
KeyFactory . |
static String |
Security.getAlgorithmProperty(String algName,
String propName)
Deprecated.
This method used to return the value of a proprietary
property in the master file of the "SUN" Cryptographic Service
Provider in order to determine how to parse algorithm-specific
parameters. Use the new provider-based and algorithm-independent
AlgorithmParameters and KeyFactory engine
classes (introduced in the J2SE version 1.2 platform) instead. |
String |
Provider.Service.getAttribute(String name)
Return the value of the specified attribute or null if this
attribute is not set for this Service.
|
String |
KeyStore.getCertificateAlias(Certificate cert)
Returns the (alias) name of the first keystore entry whose certificate
matches the given certificate.
|
String |
Provider.Service.getClassName()
Return the name of the class implementing this service.
|
static String |
KeyStore.getDefaultType()
Returns the default keystore type as specified by the
keystore.type security property, or the string
"jks" (acronym for "Java keystore")
if no such property exists. |
String |
Certificate.getFormat()
Deprecated.
Returns the name of the coding format.
|
String |
Key.getFormat()
Returns the name of the primary encoding format of this key,
or null if this key does not support encoding.
|
String |
Provider.getInfo()
Returns a human-readable description of the provider and its
services.
|
String |
Identity.getInfo()
Deprecated.
Returns general information previously specified for this identity.
|
String |
KeyStore.Entry.Attribute.getName()
Returns the attribute's name.
|
String |
PKCS12Attribute.getName()
Returns the attribute's ASN.1 Object Identifier represented as a
list of dot-separated integers.
|
String |
Provider.getName()
Returns the name of this provider.
|
String |
Principal.getName()
Returns the name of this principal.
|
String |
Permission.getName()
Returns the name of this Permission.
|
String |
Identity.getName()
Deprecated.
Returns this identity's name.
|
static String |
Security.getProperty(String key)
Gets a security property value.
|
String |
Provider.getProperty(String key) |
String |
KeyStore.PasswordProtection.getProtectionAlgorithm()
Gets the name of the protection algorithm.
|
String |
KeyStore.getType()
Returns the type of this keystore.
|
String |
Provider.Service.getType()
Get the type of this service.
|
String |
Policy.getType()
Return the type of this Policy.
|
String |
UnresolvedPermission.getUnresolvedActions()
Get the actions for the underlying permission that
has not been resolved.
|
String |
UnresolvedPermission.getUnresolvedName()
Get the target name of the underlying permission that
has not been resolved.
|
String |
UnresolvedPermission.getUnresolvedType()
Get the type (class name) of the underlying permission that
has not been resolved.
|
String |
KeyStore.Entry.Attribute.getValue()
Returns the attribute's value.
|
String |
PKCS12Attribute.getValue()
Returns the attribute's ASN.1 DER-encoded value as a string.
|
String |
KeyStore.PrivateKeyEntry.toString()
Returns a string representation of this PrivateKeyEntry.
|
String |
KeyStore.SecretKeyEntry.toString()
Returns a string representation of this SecretKeyEntry.
|
String |
KeyStore.TrustedCertificateEntry.toString()
Returns a string representation of this TrustedCertificateEntry.
|
String |
MessageDigest.toString()
Returns a string representation of this message digest object.
|
String |
PKCS12Attribute.toString()
Returns a string representation of this
PKCS12Attribute . |
String |
UnresolvedPermission.toString()
Returns a string describing this UnresolvedPermission.
|
String |
CodeSource.toString()
Returns a string describing this CodeSource, telling its
URL and certificates.
|
String |
Signer.toString()
Deprecated.
Returns a string of information about the signer.
|
String |
DigestOutputStream.toString()
Prints a string representation of this digest output stream and
its associated message digest object.
|
String |
ProtectionDomain.toString()
Convert a ProtectionDomain to a String.
|
String |
DigestInputStream.toString()
Prints a string representation of this digest input stream and
its associated message digest object.
|
String |
PrivilegedActionException.toString() |
String |
Provider.toString()
Returns a string with the name and the version number
of this provider.
|
String |
Provider.Service.toString()
Return a String representation of this service.
|
String |
AlgorithmParameters.toString()
Returns a formatted string describing the parameters.
|
String |
CodeSigner.toString()
Returns a string describing this code signer.
|
String |
Principal.toString()
Returns a string representation of this principal.
|
String |
Signature.toString()
Returns a string representation of this signature object,
providing information that includes the state of the object
and the name of the algorithm used.
|
String |
PermissionCollection.toString()
Returns a string describing this PermissionCollection object,
providing information about all the permissions it contains.
|
String |
Timestamp.toString()
Returns a string describing this timestamp.
|
String |
Permission.toString()
Returns a string describing this Permission.
|
String |
IdentityScope.toString()
Deprecated.
Returns a string representation of this identity scope, including
its name, its scope name, and the number of identities in this
identity scope.
|
String |
Identity.toString()
Deprecated.
Returns a short string describing this identity, telling its
name and its scope (if any).
|
String |
Certificate.toString(boolean detailed)
Deprecated.
Returns a string that represents the contents of the certificate.
|
String |
Identity.toString(boolean detailed)
Deprecated.
Returns a string representation of this identity, with
optionally more details than that provided by the
toString method without any arguments. |
Modifier and Type | Method and Description |
---|---|
Enumeration<String> |
KeyStore.aliases()
Lists all the alias names of this keystore.
|
abstract Enumeration<String> |
KeyStoreSpi.engineAliases()
Lists all the alias names of this keystore.
|
static Set<String> |
Security.getAlgorithms(String serviceName)
Returns a Set of Strings containing the names of all available
algorithms or types for the specified Java cryptographic service
(e.g., Signature, MessageDigest, Cipher, Mac, KeyStore).
|
Map<String,KeyStore.ProtectionParameter> |
DomainLoadStoreParameter.getProtectionParams()
Gets the keystore protection parameters for keystores in this
domain.
|
Modifier and Type | Method and Description |
---|---|
boolean |
KeyStore.containsAlias(String alias)
Checks if the given alias exists in this keystore.
|
protected Class<?> |
SecureClassLoader.defineClass(String name,
byte[] b,
int off,
int len,
CodeSource cs)
Converts an array of bytes into an instance of class Class,
with an optional CodeSource.
|
protected Class<?> |
SecureClassLoader.defineClass(String name,
ByteBuffer b,
CodeSource cs)
Converts a
ByteBuffer
into an instance of class Class , with an optional CodeSource. |
void |
KeyStore.deleteEntry(String alias)
Deletes the entry identified by the given alias from this keystore.
|
abstract boolean |
KeyStoreSpi.engineContainsAlias(String alias)
Checks if the given alias exists in this keystore.
|
abstract void |
KeyStoreSpi.engineDeleteEntry(String alias)
Deletes the entry identified by the given alias from this keystore.
|
boolean |
KeyStoreSpi.engineEntryInstanceOf(String alias,
Class<? extends KeyStore.Entry> entryClass)
Determines if the keystore
Entry for the specified
alias is an instance or subclass of the specified
entryClass . |
abstract Certificate |
KeyStoreSpi.engineGetCertificate(String alias)
Returns the certificate associated with the given alias.
|
abstract Certificate[] |
KeyStoreSpi.engineGetCertificateChain(String alias)
Returns the certificate chain associated with the given alias.
|
abstract Date |
KeyStoreSpi.engineGetCreationDate(String alias)
Returns the creation date of the entry identified by the given alias.
|
protected abstract byte[] |
AlgorithmParametersSpi.engineGetEncoded(String format)
Returns the parameters encoded in the specified format.
|
KeyStore.Entry |
KeyStoreSpi.engineGetEntry(String alias,
KeyStore.ProtectionParameter protParam)
Gets a
KeyStore.Entry for the specified alias
with the specified protection parameter. |
abstract Key |
KeyStoreSpi.engineGetKey(String alias,
char[] password)
Returns the key associated with the given alias, using the given
password to recover it.
|
protected abstract Object |
SignatureSpi.engineGetParameter(String param)
Deprecated.
|
protected abstract void |
AlgorithmParametersSpi.engineInit(byte[] params,
String format)
Imports the parameters from
params and
decodes them according to the specified decoding format. |
abstract boolean |
KeyStoreSpi.engineIsCertificateEntry(String alias)
Returns true if the entry identified by the given alias
was created by a call to
setCertificateEntry ,
or created by a call to setEntry with a
TrustedCertificateEntry . |
abstract boolean |
KeyStoreSpi.engineIsKeyEntry(String alias)
Returns true if the entry identified by the given alias
was created by a call to
setKeyEntry ,
or created by a call to setEntry with a
PrivateKeyEntry or a SecretKeyEntry . |
abstract void |
KeyStoreSpi.engineSetCertificateEntry(String alias,
Certificate cert)
Assigns the given certificate to the given alias.
|
void |
KeyStoreSpi.engineSetEntry(String alias,
KeyStore.Entry entry,
KeyStore.ProtectionParameter protParam)
Saves a
KeyStore.Entry under the specified alias. |
abstract void |
KeyStoreSpi.engineSetKeyEntry(String alias,
byte[] key,
Certificate[] chain)
Assigns the given key (that has already been protected) to the given
alias.
|
abstract void |
KeyStoreSpi.engineSetKeyEntry(String alias,
Key key,
char[] password,
Certificate[] chain)
Assigns the given key to the given alias, protecting it with the given
password.
|
protected abstract void |
SignatureSpi.engineSetParameter(String param,
Object value)
Deprecated.
Replaced by
engineSetParameter . |
boolean |
KeyStore.entryInstanceOf(String alias,
Class<? extends KeyStore.Entry> entryClass)
Determines if the keystore
Entry for the specified
alias is an instance or subclass of the specified
entryClass . |
static String |
Security.getAlgorithmProperty(String algName,
String propName)
Deprecated.
This method used to return the value of a proprietary
property in the master file of the "SUN" Cryptographic Service
Provider in order to determine how to parse algorithm-specific
parameters. Use the new provider-based and algorithm-independent
AlgorithmParameters and KeyFactory engine
classes (introduced in the J2SE version 1.2 platform) instead. |
static Set<String> |
Security.getAlgorithms(String serviceName)
Returns a Set of Strings containing the names of all available
algorithms or types for the specified Java cryptographic service
(e.g., Signature, MessageDigest, Cipher, Mac, KeyStore).
|
String |
Provider.Service.getAttribute(String name)
Return the value of the specified attribute or null if this
attribute is not set for this Service.
|
Certificate |
KeyStore.getCertificate(String alias)
Returns the certificate associated with the given alias.
|
Certificate[] |
KeyStore.getCertificateChain(String alias)
Returns the certificate chain associated with the given alias.
|
Date |
KeyStore.getCreationDate(String alias)
Returns the creation date of the entry identified by the given alias.
|
byte[] |
AlgorithmParameters.getEncoded(String format)
Returns the parameters encoded in the specified scheme.
|
KeyStore.Entry |
KeyStore.getEntry(String alias,
KeyStore.ProtectionParameter protParam)
Gets a keystore
Entry for the specified alias
with the specified protection parameter. |
abstract Identity |
IdentityScope.getIdentity(String name)
Deprecated.
Returns the identity in this scope with the specified name (if any).
|
static KeyStore |
KeyStore.getInstance(String type)
Returns a keystore object of the specified type.
|
static SecureRandom |
SecureRandom.getInstance(String algorithm)
Returns a SecureRandom object that implements the specified
Random Number Generator (RNG) algorithm.
|
static MessageDigest |
MessageDigest.getInstance(String algorithm)
Returns a MessageDigest object that implements the specified digest
algorithm.
|
static KeyPairGenerator |
KeyPairGenerator.getInstance(String algorithm)
Returns a KeyPairGenerator object that generates public/private
key pairs for the specified algorithm.
|
static AlgorithmParameters |
AlgorithmParameters.getInstance(String algorithm)
Returns a parameter object for the specified algorithm.
|
static AlgorithmParameterGenerator |
AlgorithmParameterGenerator.getInstance(String algorithm)
Returns an AlgorithmParameterGenerator object for generating
a set of parameters to be used with the specified algorithm.
|
static Signature |
Signature.getInstance(String algorithm)
Returns a Signature object that implements the specified signature
algorithm.
|
static KeyFactory |
KeyFactory.getInstance(String algorithm)
Returns a KeyFactory object that converts
public/private keys of the specified algorithm.
|
static Policy |
Policy.getInstance(String type,
Policy.Parameters params)
Returns a Policy object of the specified type.
|
static Policy |
Policy.getInstance(String type,
Policy.Parameters params,
Provider provider)
Returns a Policy object of the specified type.
|
static Policy |
Policy.getInstance(String type,
Policy.Parameters params,
String provider)
Returns a Policy object of the specified type.
|
static KeyStore |
KeyStore.getInstance(String type,
Provider provider)
Returns a keystore object of the specified type.
|
static SecureRandom |
SecureRandom.getInstance(String algorithm,
Provider provider)
Returns a SecureRandom object that implements the specified
Random Number Generator (RNG) algorithm.
|
static MessageDigest |
MessageDigest.getInstance(String algorithm,
Provider provider)
Returns a MessageDigest object that implements the specified digest
algorithm.
|
static KeyPairGenerator |
KeyPairGenerator.getInstance(String algorithm,
Provider provider)
Returns a KeyPairGenerator object that generates public/private
key pairs for the specified algorithm.
|
static AlgorithmParameters |
AlgorithmParameters.getInstance(String algorithm,
Provider provider)
Returns a parameter object for the specified algorithm.
|
static AlgorithmParameterGenerator |
AlgorithmParameterGenerator.getInstance(String algorithm,
Provider provider)
Returns an AlgorithmParameterGenerator object for generating
a set of parameters to be used with the specified algorithm.
|
static Signature |
Signature.getInstance(String algorithm,
Provider provider)
Returns a Signature object that implements the specified
signature algorithm.
|
static KeyFactory |
KeyFactory.getInstance(String algorithm,
Provider provider)
Returns a KeyFactory object that converts
public/private keys of the specified algorithm.
|
static KeyStore |
KeyStore.getInstance(String type,
String provider)
Returns a keystore object of the specified type.
|
static SecureRandom |
SecureRandom.getInstance(String algorithm,
String provider)
Returns a SecureRandom object that implements the specified
Random Number Generator (RNG) algorithm.
|
static MessageDigest |
MessageDigest.getInstance(String algorithm,
String provider)
Returns a MessageDigest object that implements the specified digest
algorithm.
|
static KeyPairGenerator |
KeyPairGenerator.getInstance(String algorithm,
String provider)
Returns a KeyPairGenerator object that generates public/private
key pairs for the specified algorithm.
|
static AlgorithmParameters |
AlgorithmParameters.getInstance(String algorithm,
String provider)
Returns a parameter object for the specified algorithm.
|
static AlgorithmParameterGenerator |
AlgorithmParameterGenerator.getInstance(String algorithm,
String provider)
Returns an AlgorithmParameterGenerator object for generating
a set of parameters to be used with the specified algorithm.
|
static Signature |
Signature.getInstance(String algorithm,
String provider)
Returns a Signature object that implements the specified signature
algorithm.
|
static KeyFactory |
KeyFactory.getInstance(String algorithm,
String provider)
Returns a KeyFactory object that converts
public/private keys of the specified algorithm.
|
Key |
KeyStore.getKey(String alias,
char[] password)
Returns the key associated with the given alias, using the given
password to recover it.
|
Object |
Signature.getParameter(String param)
Deprecated.
|
static String |
Security.getProperty(String key)
Gets a security property value.
|
String |
Provider.getProperty(String key) |
abstract KeyStore.ProtectionParameter |
KeyStore.Builder.getProtectionParameter(String alias)
Returns the ProtectionParameters that should be used to obtain
the
Entry with the given alias. |
static Provider |
Security.getProvider(String name)
Returns the provider installed with the specified name, if
any.
|
static Provider[] |
Security.getProviders(String filter)
Returns an array containing all installed providers that satisfy the
specified selection criterion, or null if no such providers have been
installed.
|
Provider.Service |
Provider.getService(String type,
String algorithm)
Get the service describing this Provider's implementation of the
specified type of this algorithm or alias.
|
void |
AlgorithmParameters.init(byte[] params,
String format)
Imports the parameters from
params and decodes them
according to the specified decoding scheme. |
boolean |
KeyStore.isCertificateEntry(String alias)
Returns true if the entry identified by the given alias
was created by a call to
setCertificateEntry ,
or created by a call to setEntry with a
TrustedCertificateEntry . |
boolean |
KeyStore.isKeyEntry(String alias)
Returns true if the entry identified by the given alias
was created by a call to
setKeyEntry ,
or created by a call to setEntry with a
PrivateKeyEntry or a SecretKeyEntry . |
static KeyStore.Builder |
KeyStore.Builder.newInstance(String type,
Provider provider,
File file,
KeyStore.ProtectionParameter protection)
Returns a new Builder object.
|
static KeyStore.Builder |
KeyStore.Builder.newInstance(String type,
Provider provider,
KeyStore.ProtectionParameter protection)
Returns a new Builder object.
|
boolean |
AlgorithmConstraints.permits(Set<CryptoPrimitive> primitives,
String algorithm,
AlgorithmParameters parameters)
Determines whether an algorithm is granted permission for the
specified cryptographic primitives.
|
boolean |
AlgorithmConstraints.permits(Set<CryptoPrimitive> primitives,
String algorithm,
Key key,
AlgorithmParameters parameters)
Determines whether an algorithm and the corresponding key are granted
permission for the specified cryptographic primitives.
|
static void |
Security.removeProvider(String name)
Removes the provider with the specified name.
|
void |
KeyStore.setCertificateEntry(String alias,
Certificate cert)
Assigns the given trusted certificate to the given alias.
|
void |
KeyStore.setEntry(String alias,
KeyStore.Entry entry,
KeyStore.ProtectionParameter protParam)
Saves a keystore
Entry under the specified alias. |
void |
Identity.setInfo(String info)
Deprecated.
Specifies a general information string for this identity.
|
void |
KeyStore.setKeyEntry(String alias,
byte[] key,
Certificate[] chain)
Assigns the given key (that has already been protected) to the given
alias.
|
void |
KeyStore.setKeyEntry(String alias,
Key key,
char[] password,
Certificate[] chain)
Assigns the given key to the given alias, protecting it with the given
password.
|
void |
Signature.setParameter(String param,
Object value)
Deprecated.
Use
setParameter . |
static void |
Security.setProperty(String key,
String datum)
Sets a security property value.
|
static KeyRep.Type |
KeyRep.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CryptoPrimitive |
CryptoPrimitive.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
Modifier and Type | Method and Description |
---|---|
static Provider[] |
Security.getProviders(Map<String,String> filter)
Returns an array containing all installed providers that satisfy the
specified* selection criteria, or null if no such providers have been
installed.
|
static Provider[] |
Security.getProviders(Map<String,String> filter)
Returns an array containing all installed providers that satisfy the
specified* selection criteria, or null if no such providers have been
installed.
|
Constructor and Description |
---|
AccessControlException(String s)
Constructs an
AccessControlException with the
specified, detailed message. |
AccessControlException(String s,
Permission p)
Constructs an
AccessControlException with the
specified, detailed message, and the requested permission that caused
the exception. |
AlgorithmParameterGenerator(AlgorithmParameterGeneratorSpi paramGenSpi,
Provider provider,
String algorithm)
Creates an AlgorithmParameterGenerator object.
|
AlgorithmParameters(AlgorithmParametersSpi paramSpi,
Provider provider,
String algorithm)
Creates an AlgorithmParameters object.
|
AllPermission(String name,
String actions)
Creates a new AllPermission object.
|
AuthProvider(String name,
double version,
String info)
Constructs a provider with the specified name, version number,
and information.
|
BasicPermission(String name)
Creates a new BasicPermission with the specified name.
|
BasicPermission(String name,
String actions)
Creates a new BasicPermission object with the specified name.
|
DigestException(String msg)
Constructs a DigestException with the specified detail
message.
|
DigestException(String message,
Throwable cause)
Creates a
DigestException with the specified
detail message and cause. |
GeneralSecurityException(String msg)
Constructs a GeneralSecurityException with the specified detail
message.
|
GeneralSecurityException(String message,
Throwable cause)
Creates a
GeneralSecurityException with the specified
detail message and cause. |
Identity(String name)
Deprecated.
Constructs an identity with the specified name and no scope.
|
Identity(String name,
IdentityScope scope)
Deprecated.
Constructs an identity with the specified name and scope.
|
IdentityScope(String name)
Deprecated.
Constructs a new identity scope with the specified name.
|
IdentityScope(String name,
IdentityScope scope)
Deprecated.
Constructs a new identity scope with the specified name and scope.
|
InvalidAlgorithmParameterException(String msg)
Constructs an InvalidAlgorithmParameterException with the specified
detail message.
|
InvalidAlgorithmParameterException(String message,
Throwable cause)
Creates a
InvalidAlgorithmParameterException with the
specified detail message and cause. |
InvalidKeyException(String msg)
Constructs an InvalidKeyException with the specified detail
message.
|
InvalidKeyException(String message,
Throwable cause)
Creates a
InvalidKeyException with the specified
detail message and cause. |
InvalidParameterException(String msg)
Constructs an InvalidParameterException with the specified
detail message.
|
KeyException(String msg)
Constructs a KeyException with the specified detail message.
|
KeyException(String message,
Throwable cause)
Creates a
KeyException with the specified
detail message and cause. |
KeyFactory(KeyFactorySpi keyFacSpi,
Provider provider,
String algorithm)
Creates a KeyFactory object.
|
KeyManagementException(String msg)
Constructs a KeyManagementException with the specified detail
message.
|
KeyManagementException(String message,
Throwable cause)
Creates a
KeyManagementException with the specified
detail message and cause. |
KeyPairGenerator(String algorithm)
Creates a KeyPairGenerator object for the specified algorithm.
|
KeyRep(KeyRep.Type type,
String algorithm,
String format,
byte[] encoded)
Construct the alternate Key class.
|
KeyStore(KeyStoreSpi keyStoreSpi,
Provider provider,
String type)
Creates a KeyStore object of the given type, and encapsulates the given
provider implementation (SPI object) in it.
|
KeyStoreException(String msg)
Constructs a KeyStoreException with the specified detail
message.
|
KeyStoreException(String message,
Throwable cause)
Creates a
KeyStoreException with the specified
detail message and cause. |
MessageDigest(String algorithm)
Creates a message digest with the specified algorithm name.
|
NoSuchAlgorithmException(String msg)
Constructs a NoSuchAlgorithmException with the specified
detail message.
|
NoSuchAlgorithmException(String message,
Throwable cause)
Creates a
NoSuchAlgorithmException with the specified
detail message and cause. |
NoSuchProviderException(String msg)
Constructs a NoSuchProviderException with the specified detail
message.
|
PasswordProtection(char[] password,
String protectionAlgorithm,
AlgorithmParameterSpec protectionParameters)
Creates a password parameter and specifies the protection algorithm
and associated parameters to use when encrypting a keystore entry.
|
Permission(String name)
Constructs a permission with the specified name.
|
PKCS12Attribute(String name,
String value)
Constructs a PKCS12 attribute from its name and value.
|
Provider(String name,
double version,
String info)
Constructs a provider with the specified name, version number,
and information.
|
ProviderException(String s)
Constructs a ProviderException with the specified detail
message.
|
ProviderException(String message,
Throwable cause)
Creates a
ProviderException with the specified
detail message and cause. |
SecurityPermission(String name)
Creates a new SecurityPermission with the specified name.
|
SecurityPermission(String name,
String actions)
Creates a new SecurityPermission object with the specified name.
|
Service(Provider provider,
String type,
String algorithm,
String className,
List<String> aliases,
Map<String,String> attributes)
Construct a new service.
|
Signature(String algorithm)
Creates a Signature object for the specified algorithm.
|
SignatureException(String msg)
Constructs a SignatureException with the specified detail
message.
|
SignatureException(String message,
Throwable cause)
Creates a
SignatureException with the specified
detail message and cause. |
Signer(String name)
Deprecated.
Creates a signer with the specified identity name.
|
Signer(String name,
IdentityScope scope)
Deprecated.
Creates a signer with the specified identity name and scope.
|
UnrecoverableEntryException(String msg)
Constructs an UnrecoverableEntryException with the specified detail
message, which provides more information about why this exception
has been thrown.
|
UnrecoverableKeyException(String msg)
Constructs an UnrecoverableKeyException with the specified detail
message, which provides more information about why this exception
has been thrown.
|
UnresolvedPermission(String type,
String name,
String actions,
Certificate[] certs)
Creates a new UnresolvedPermission containing the permission
information needed later to actually create a Permission of the
specified class, when the permission is resolved.
|
Constructor and Description |
---|
DomainLoadStoreParameter(URI configuration,
Map<String,KeyStore.ProtectionParameter> protectionParams)
Constructs a DomainLoadStoreParameter for a keystore domain with
the parameters used to protect keystore data.
|
Service(Provider provider,
String type,
String algorithm,
String className,
List<String> aliases,
Map<String,String> attributes)
Construct a new service.
|
Service(Provider provider,
String type,
String algorithm,
String className,
List<String> aliases,
Map<String,String> attributes)
Construct a new service.
|
Service(Provider provider,
String type,
String algorithm,
String className,
List<String> aliases,
Map<String,String> attributes)
Construct a new service.
|
Modifier and Type | Method and Description |
---|---|
String |
Acl.getName()
Returns the name of this ACL.
|
String |
Acl.toString()
Returns a string representation of the
ACL contents.
|
String |
AclEntry.toString()
Returns a string representation of the contents of this ACL entry.
|
String |
Permission.toString()
Prints a string representation of this permission.
|
Modifier and Type | Method and Description |
---|---|
void |
Acl.setName(Principal caller,
String name)
Sets the name of this ACL.
|
Modifier and Type | Method and Description |
---|---|
String |
CertPathValidator.getAlgorithm()
Returns the algorithm name of this
CertPathValidator . |
String |
CertPathBuilder.getAlgorithm()
Returns the name of the algorithm of this
CertPathBuilder . |
String |
TrustAnchor.getCAName()
Returns the name of the most-trusted CA in RFC 2253
String
format. |
static String |
CertPathValidator.getDefaultType()
Returns the default
CertPathValidator type as specified by
the certpathvalidator.type security property, or the string
"PKIX" if no such property exists. |
static String |
CertStore.getDefaultType()
Returns the default
CertStore type as specified by the
certstore.type security property, or the string
"LDAP" if no such property exists. |
static String |
CertPathBuilder.getDefaultType()
Returns the default
CertPathBuilder type as specified by
the certpathbuilder.type security property, or the string
"PKIX" if no such property exists. |
String |
Extension.getId()
Gets the extensions's object identifier.
|
String |
X509CertSelector.getIssuerAsString()
Denigrated, use X509CertSelector.getIssuer() or
X509CertSelector.getIssuerAsBytes() instead.
|
String |
CertificateRevokedException.getMessage() |
String |
PolicyQualifierInfo.getPolicyQualifierId()
Returns the
policyQualifierId field of this
PolicyQualifierInfo . |
String |
LDAPCertStoreParameters.getServerName()
Returns the DNS name of the LDAP server.
|
abstract String |
X509CRL.getSigAlgName()
Gets the signature algorithm name for the CRL
signature algorithm.
|
abstract String |
X509Certificate.getSigAlgName()
Gets the signature algorithm name for the certificate
signature algorithm.
|
abstract String |
X509CRL.getSigAlgOID()
Gets the signature algorithm OID string from the CRL.
|
abstract String |
X509Certificate.getSigAlgOID()
Gets the signature algorithm OID string from the certificate.
|
String |
PKIXParameters.getSigProvider()
Returns the signature provider's name, or
null
if not set. |
String |
X509CertSelector.getSubjectAsString()
Denigrated, use X509CertSelector.getSubject() or
X509CertSelector.getSubjectAsBytes() instead.
|
String |
X509CertSelector.getSubjectPublicKeyAlgID()
Returns the subjectPublicKeyAlgID criterion.
|
String |
CertificateFactory.getType()
Returns the name of the certificate type associated with this
certificate factory.
|
String |
CertPath.getType()
Returns the type of
Certificate s in this certification
path. |
String |
Certificate.getType()
Returns the type of this certificate.
|
String |
CRL.getType()
Returns the type of this CRL.
|
String |
CertStore.getType()
Returns the type of this
CertStore . |
String |
PolicyNode.getValidPolicy()
Returns the valid policy represented by this node.
|
String |
TrustAnchor.toString()
Returns a formatted string describing the
TrustAnchor . |
String |
CertPath.toString()
Returns a string representation of this certification path.
|
String |
PKIXBuilderParameters.toString()
Returns a formatted string describing the parameters.
|
String |
PKIXParameters.toString()
Returns a formatted string describing the parameters.
|
String |
PolicyQualifierInfo.toString()
Return a printable representation of this
PolicyQualifierInfo . |
String |
X509CRLSelector.toString()
Returns a printable representation of the
X509CRLSelector . |
abstract String |
Certificate.toString()
Returns a string representation of this certificate.
|
abstract String |
CRL.toString()
Returns a string representation of this CRL.
|
String |
PKIXCertPathValidatorResult.toString()
Return a printable representation of this
PKIXCertPathValidatorResult . |
abstract String |
X509CRLEntry.toString()
Returns a string representation of this CRL entry.
|
String |
X509CertSelector.toString()
Return a printable representation of the
CertSelector . |
String |
LDAPCertStoreParameters.toString()
Returns a formatted string describing the parameters.
|
String |
PKIXCertPathBuilderResult.toString()
Return a printable representation of this
PKIXCertPathBuilderResult . |
String |
CollectionCertStoreParameters.toString()
Returns a formatted string describing the parameters.
|
Modifier and Type | Method and Description |
---|---|
Iterator<String> |
CertificateFactorySpi.engineGetCertPathEncodings()
Returns an iteration of the
CertPath encodings supported
by this certificate factory, with the default encoding first. |
Iterator<String> |
CertificateFactory.getCertPathEncodings()
Returns an iteration of the
CertPath encodings supported
by this certificate factory, with the default encoding first. |
Set<String> |
X509Extension.getCriticalExtensionOIDs()
Gets a Set of the OID strings for the extension(s) marked
CRITICAL in the certificate/CRL managed by the object
implementing this interface.
|
abstract Iterator<String> |
CertPath.getEncodings()
Returns an iteration of the encodings supported by this certification
path, with the default encoding first.
|
Set<String> |
PolicyNode.getExpectedPolicies()
Returns the set of expected policies that would satisfy this
node's valid policy in the next certificate to be processed.
|
List<String> |
X509Certificate.getExtendedKeyUsage()
Gets an unmodifiable list of Strings representing the OBJECT
IDENTIFIERs of the
ExtKeyUsageSyntax field of the
extended key usage extension, (OID = 2.5.29.37). |
Set<String> |
X509CertSelector.getExtendedKeyUsage()
Returns the extendedKeyUsage criterion.
|
Map<String,Extension> |
CertificateRevokedException.getExtensions()
Returns a map of X.509 extensions containing additional information
about the revoked certificate, such as the Invalidity Date
Extension.
|
Set<String> |
PKIXParameters.getInitialPolicies()
Returns an immutable
Set of initial
policy identifiers (OID strings), indicating that any one of these
policies would be acceptable to the certificate user for the purposes of
certification path processing. |
Set<String> |
X509Extension.getNonCriticalExtensionOIDs()
Gets a Set of the OID strings for the extension(s) marked
NON-CRITICAL in the certificate/CRL managed by the object
implementing this interface.
|
Set<String> |
X509CertSelector.getPolicy()
Returns the policy criterion.
|
abstract Set<String> |
PKIXCertPathChecker.getSupportedExtensions()
Returns an immutable
Set of X.509 certificate extensions
that this PKIXCertPathChecker supports (i.e. recognizes, is
able to process), or null if no extensions are supported. |
Modifier and Type | Method and Description |
---|---|
void |
X509CRLSelector.addIssuerName(String name)
Denigrated, use
X509CRLSelector.addIssuer(X500Principal) or
X509CRLSelector.addIssuerName(byte[]) instead.
|
void |
X509CertSelector.addPathToName(int type,
String name)
Adds a name to the pathToNames criterion.
|
void |
X509CertSelector.addSubjectAlternativeName(int type,
String name)
Adds a name to the subjectAlternativeNames criterion.
|
CertPath |
CertificateFactorySpi.engineGenerateCertPath(InputStream inStream,
String encoding)
Generates a
CertPath object and initializes it with
the data read from the InputStream inStream. |
CertPath |
CertificateFactory.generateCertPath(InputStream inStream,
String encoding)
Generates a
CertPath object and initializes it with
the data read from the InputStream inStream. |
abstract byte[] |
CertPath.getEncoded(String encoding)
Returns the encoded form of this certification path, using the
specified encoding.
|
byte[] |
X509Extension.getExtensionValue(String oid)
Gets the DER-encoded OCTET string for the extension value
(extnValue) identified by the passed-in
oid
String. |
static CertificateFactory |
CertificateFactory.getInstance(String type)
Returns a certificate factory object that implements the
specified certificate type.
|
static CertPathValidator |
CertPathValidator.getInstance(String algorithm)
Returns a
CertPathValidator object that implements the
specified algorithm. |
static CertPathBuilder |
CertPathBuilder.getInstance(String algorithm)
Returns a
CertPathBuilder object that implements the
specified algorithm. |
static CertStore |
CertStore.getInstance(String type,
CertStoreParameters params)
Returns a
CertStore object that implements the specified
CertStore type and is initialized with the specified
parameters. |
static CertStore |
CertStore.getInstance(String type,
CertStoreParameters params,
Provider provider)
Returns a
CertStore object that implements the specified
CertStore type. |
static CertStore |
CertStore.getInstance(String type,
CertStoreParameters params,
String provider)
Returns a
CertStore object that implements the specified
CertStore type. |
static CertificateFactory |
CertificateFactory.getInstance(String type,
Provider provider)
Returns a certificate factory object for the specified
certificate type.
|
static CertPathValidator |
CertPathValidator.getInstance(String algorithm,
Provider provider)
Returns a
CertPathValidator object that implements the
specified algorithm. |
static CertPathBuilder |
CertPathBuilder.getInstance(String algorithm,
Provider provider)
Returns a
CertPathBuilder object that implements the
specified algorithm. |
static CertificateFactory |
CertificateFactory.getInstance(String type,
String provider)
Returns a certificate factory object for the specified
certificate type.
|
static CertPathValidator |
CertPathValidator.getInstance(String algorithm,
String provider)
Returns a
CertPathValidator object that implements the
specified algorithm. |
static CertPathBuilder |
CertPathBuilder.getInstance(String algorithm,
String provider)
Returns a
CertPathBuilder object that implements the
specified algorithm. |
void |
X509CertSelector.setIssuer(String issuerDN)
Denigrated, use X509CertSelector.setIssuer(X500Principal)
or X509CertSelector.setIssuer(byte[]) instead.
|
void |
PKIXParameters.setSigProvider(String sigProvider)
Sets the signature provider's name.
|
void |
X509CertSelector.setSubject(String subjectDN)
Denigrated, use X509CertSelector.setSubject(X500Principal)
or X509CertSelector.setSubject(byte[]) instead.
|
void |
X509CertSelector.setSubjectPublicKeyAlgID(String oid)
Sets the subjectPublicKeyAlgID criterion.
|
static PKIXRevocationChecker.Option |
PKIXRevocationChecker.Option.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CRLReason |
CRLReason.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PKIXReason |
PKIXReason.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CertPathValidatorException.BasicReason |
CertPathValidatorException.BasicReason.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
abstract void |
X509CRL.verify(PublicKey key,
String sigProvider)
Verifies that this CRL was signed using the
private key that corresponds to the given public key.
|
abstract void |
Certificate.verify(PublicKey key,
String sigProvider)
Verifies that this certificate was signed using the
private key that corresponds to the specified public key.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
PKIXCertPathChecker.check(Certificate cert,
Collection<String> unresolvedCritExts)
Performs the check(s) on the specified certificate using its internal
state and removes any critical extensions that it processes from the
specified collection of OID strings that represent the unresolved
critical extensions.
|
void |
X509CertSelector.setExtendedKeyUsage(Set<String> keyPurposeSet)
Sets the extendedKeyUsage criterion.
|
void |
PKIXParameters.setInitialPolicies(Set<String> initialPolicies)
Sets the
Set of initial policy identifiers
(OID strings), indicating that any one of these
policies would be acceptable to the certificate user for the purposes of
certification path processing. |
void |
X509CertSelector.setPolicy(Set<String> certPolicySet)
Sets the policy constraint.
|
Constructor and Description |
---|
Certificate(String type)
Creates a certificate of the specified type.
|
CertificateEncodingException(String message)
Constructs a CertificateEncodingException with the specified detail
message.
|
CertificateEncodingException(String message,
Throwable cause)
Creates a
CertificateEncodingException with the specified
detail message and cause. |
CertificateException(String msg)
Constructs a certificate exception with the given detail
message.
|
CertificateException(String message,
Throwable cause)
Creates a
CertificateException with the specified
detail message and cause. |
CertificateExpiredException(String message)
Constructs a CertificateExpiredException with the specified detail
message.
|
CertificateFactory(CertificateFactorySpi certFacSpi,
Provider provider,
String type)
Creates a CertificateFactory object of the given type, and encapsulates
the given provider implementation (SPI object) in it.
|
CertificateNotYetValidException(String message)
Constructs a CertificateNotYetValidException with the specified detail
message.
|
CertificateParsingException(String message)
Constructs a CertificateParsingException with the specified detail
message.
|
CertificateParsingException(String message,
Throwable cause)
Creates a
CertificateParsingException with the specified
detail message and cause. |
CertificateRep(String type,
byte[] data)
Construct the alternate Certificate class with the Certificate
type and Certificate encoding bytes.
|
CertPath(String type)
Creates a
CertPath of the specified type. |
CertPathBuilder(CertPathBuilderSpi builderSpi,
Provider provider,
String algorithm)
Creates a
CertPathBuilder object of the given algorithm,
and encapsulates the given provider implementation (SPI object) in it. |
CertPathBuilderException(String msg)
Creates a
CertPathBuilderException with the given
detail message. |
CertPathBuilderException(String msg,
Throwable cause)
Creates a
CertPathBuilderException with the specified
detail message and cause. |
CertPathRep(String type,
byte[] data)
Creates a
CertPathRep with the specified
type and encoded form of a certification path. |
CertPathValidator(CertPathValidatorSpi validatorSpi,
Provider provider,
String algorithm)
Creates a
CertPathValidator object of the given algorithm,
and encapsulates the given provider implementation (SPI object) in it. |
CertPathValidatorException(String msg)
Creates a
CertPathValidatorException with the given
detail message. |
CertPathValidatorException(String msg,
Throwable cause)
Creates a
CertPathValidatorException with the specified
detail message and cause. |
CertPathValidatorException(String msg,
Throwable cause,
CertPath certPath,
int index)
Creates a
CertPathValidatorException with the specified
detail message, cause, certification path, and index. |
CertPathValidatorException(String msg,
Throwable cause,
CertPath certPath,
int index,
CertPathValidatorException.Reason reason)
Creates a
CertPathValidatorException with the specified
detail message, cause, certification path, index, and reason. |
CertStore(CertStoreSpi storeSpi,
Provider provider,
String type,
CertStoreParameters params)
Creates a
CertStore object of the given type, and
encapsulates the given provider implementation (SPI object) in it. |
CertStoreException(String msg)
Creates a
CertStoreException with the given detail
message. |
CertStoreException(String msg,
Throwable cause)
Creates a
CertStoreException with the specified detail
message and cause. |
CRL(String type)
Creates a CRL of the specified type.
|
CRLException(String message)
Constructs a CRLException with the specified detail
message.
|
CRLException(String message,
Throwable cause)
Creates a
CRLException with the specified
detail message and cause. |
LDAPCertStoreParameters(String serverName)
Creates an instance of
LDAPCertStoreParameters with the
specified server name and a default port of 389. |
LDAPCertStoreParameters(String serverName,
int port)
Creates an instance of
LDAPCertStoreParameters with the
specified parameter values. |
TrustAnchor(String caName,
PublicKey pubKey,
byte[] nameConstraints)
Creates an instance of
TrustAnchor where the
most-trusted CA is specified as a distinguished name and public key. |
Constructor and Description |
---|
CertificateRevokedException(Date revocationDate,
CRLReason reason,
X500Principal authority,
Map<String,Extension> extensions)
Constructs a
CertificateRevokedException with
the specified revocation date, reason code, authority name, and map
of extensions. |
Modifier and Type | Method and Description |
---|---|
String |
PSSParameterSpec.getDigestAlgorithm()
Returns the message digest algorithm name.
|
String |
MGF1ParameterSpec.getDigestAlgorithm()
Returns the algorithm name of the message digest used by the mask
generation function.
|
String |
PKCS8EncodedKeySpec.getFormat()
Returns the name of the encoding format associated with this
key specification.
|
abstract String |
EncodedKeySpec.getFormat()
Returns the name of the encoding format associated with this
key specification.
|
String |
X509EncodedKeySpec.getFormat()
Returns the name of the encoding format associated with this
key specification.
|
String |
PSSParameterSpec.getMGFAlgorithm()
Returns the mask generation function algorithm name.
|
String |
ECGenParameterSpec.getName()
Returns the standard or predefined name of the
to-be-generated EC domain parameters.
|
Constructor and Description |
---|
ECGenParameterSpec(String stdName)
Creates a parameter specification for EC parameter
generation using a standard (or predefined) name
stdName in order to generate the corresponding
(precomputed) elliptic curve domain parameters. |
InvalidKeySpecException(String msg)
Constructs an InvalidKeySpecException with the specified detail
message.
|
InvalidKeySpecException(String message,
Throwable cause)
Creates a
InvalidKeySpecException with the specified
detail message and cause. |
InvalidParameterSpecException(String msg)
Constructs an InvalidParameterSpecException with the specified detail
message.
|
MGF1ParameterSpec(String mdName)
Constructs a parameter set for mask generation function MGF1
as defined in the PKCS #1 standard.
|
PSSParameterSpec(String mdName,
String mgfName,
AlgorithmParameterSpec mgfSpec,
int saltLen,
int trailerField)
Creates a new
PSSParameterSpec as defined in
the PKCS #1 standard using the specified message digest,
mask generation function, parameters for mask generation
function, salt length, and trailer field values. |
Modifier and Type | Field and Description |
---|---|
String[] |
DriverPropertyInfo.choices
An array of possible values if the value for the field
DriverPropertyInfo.value may be selected
from a particular set of values; otherwise null. |
String |
DriverPropertyInfo.description
A brief description of the property, which may be null.
|
String |
DriverPropertyInfo.name
The name of the property.
|
String |
DriverPropertyInfo.value
The
value field specifies the current value of
the property, based on a combination of the information
supplied to the method getPropertyInfo , the
Java environment, and the driver-supplied default values. |
Modifier and Type | Method and Description |
---|---|
String |
Array.getBaseTypeName()
Retrieves the SQL type name of the elements in
the array designated by this
Array object. |
String |
Ref.getBaseTypeName()
Retrieves the fully-qualified SQL name of the SQL structured type that
this
Ref object references. |
String |
Connection.getCatalog()
Retrieves this
Connection object's current catalog name. |
String |
ResultSetMetaData.getCatalogName(int column)
Gets the designated column's table's catalog name.
|
String |
DatabaseMetaData.getCatalogSeparator()
Retrieves the
String that this database uses as the
separator between a catalog and table name. |
String |
DatabaseMetaData.getCatalogTerm()
Retrieves the database vendor's preferred term for "catalog".
|
String |
Connection.getClientInfo(String name)
Returns the value of the client info property specified by name.
|
String |
ResultSetMetaData.getColumnClassName(int column)
Returns the fully-qualified name of the Java class whose instances
are manufactured if the method
ResultSet.getObject
is called to retrieve a value
from the column. |
String |
ResultSetMetaData.getColumnLabel(int column)
Gets the designated column's suggested title for use in printouts and
displays.
|
String |
ResultSetMetaData.getColumnName(int column)
Get the designated column's name.
|
String |
ResultSetMetaData.getColumnTypeName(int column)
Retrieves the designated column's database-specific type name.
|
String |
ResultSet.getCursorName()
Retrieves the name of the SQL cursor used by this
ResultSet
object. |
String |
DatabaseMetaData.getDatabaseProductName()
Retrieves the name of this database product.
|
String |
DatabaseMetaData.getDatabaseProductVersion()
Retrieves the version number of this database product.
|
String |
DatabaseMetaData.getDriverName()
Retrieves the name of this JDBC driver.
|
String |
DatabaseMetaData.getDriverVersion()
Retrieves the version number of this JDBC driver as a
String . |
String |
DatabaseMetaData.getExtraNameCharacters()
Retrieves all the "extra" characters that can be used in unquoted
identifier names (those beyond a-z, A-Z, 0-9 and _).
|
String |
DatabaseMetaData.getIdentifierQuoteString()
Retrieves the string used to quote SQL identifiers.
|
String |
SQLType.getName()
Returns the
SQLType name that represents a SQL data type. |
String |
JDBCType.getName()
Returns the
SQLType name that represents a SQL data type. |
String |
CallableStatement.getNString(int parameterIndex)
Retrieves the value of the designated
NCHAR ,
NVARCHAR
or LONGNVARCHAR parameter as
a String in the Java programming language. |
String |
ResultSet.getNString(int columnIndex)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a String in the Java programming language. |
String |
CallableStatement.getNString(String parameterName)
Retrieves the value of the designated
NCHAR ,
NVARCHAR
or LONGNVARCHAR parameter as
a String in the Java programming language. |
String |
ResultSet.getNString(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a String in the Java programming language. |
String |
DatabaseMetaData.getNumericFunctions()
Retrieves a comma-separated list of math functions available with
this database.
|
String |
ParameterMetaData.getParameterClassName(int param)
Retrieves the fully-qualified name of the Java class whose instances
should be passed to the method
PreparedStatement.setObject . |
String |
ParameterMetaData.getParameterTypeName(int param)
Retrieves the designated parameter's database-specific type name.
|
String |
DatabaseMetaData.getProcedureTerm()
Retrieves the database vendor's preferred term for "procedure".
|
String |
Savepoint.getSavepointName()
Retrieves the name of the savepoint that this
Savepoint
object represents. |
String |
Connection.getSchema()
Retrieves this
Connection object's current schema name. |
String |
ResultSetMetaData.getSchemaName(int column)
Get the designated column's table's schema.
|
String |
DatabaseMetaData.getSchemaTerm()
Retrieves the database vendor's preferred term for "schema".
|
String |
DatabaseMetaData.getSearchStringEscape()
Retrieves the string that can be used to escape wildcard characters.
|
String |
DatabaseMetaData.getSQLKeywords()
Retrieves a comma-separated list of all of this database's SQL keywords
that are NOT also SQL:2003 keywords.
|
String |
SQLException.getSQLState()
Retrieves the SQLState for this
SQLException object. |
String |
SQLData.getSQLTypeName()
Returns the fully-qualified
name of the SQL user-defined type that this object represents.
|
String |
Struct.getSQLTypeName()
Retrieves the SQL type name of the SQL structured type
that this
Struct object represents. |
String |
SQLXML.getString()
Returns a string representation of the XML value designated by this SQLXML instance.
|
String |
CallableStatement.getString(int parameterIndex)
Retrieves the value of the designated JDBC
CHAR ,
VARCHAR , or LONGVARCHAR parameter as a
String in the Java programming language. |
String |
ResultSet.getString(int columnIndex)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a String in the Java programming language. |
String |
CallableStatement.getString(String parameterName)
Retrieves the value of a JDBC
CHAR , VARCHAR ,
or LONGVARCHAR parameter as a String in
the Java programming language. |
String |
ResultSet.getString(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a String in the Java programming language. |
String |
DatabaseMetaData.getStringFunctions()
Retrieves a comma-separated list of string functions available with
this database.
|
String |
Clob.getSubString(long pos,
int length)
Retrieves a copy of the specified substring
in the
CLOB value
designated by this Clob object. |
String |
DatabaseMetaData.getSystemFunctions()
Retrieves a comma-separated list of system functions available with
this database.
|
String |
ResultSetMetaData.getTableName(int column)
Gets the designated column's table name.
|
String |
DatabaseMetaData.getTimeDateFunctions()
Retrieves a comma-separated list of the time and date functions available
with this database.
|
String |
DatabaseMetaData.getURL()
Retrieves the URL for this DBMS.
|
String |
DatabaseMetaData.getUserName()
Retrieves the user name as known to this database.
|
String |
SQLType.getVendor()
Returns the name of the vendor that supports this data type.
|
String |
JDBCType.getVendor()
Returns the name of the vendor that supports this data type.
|
String |
Connection.nativeSQL(String sql)
Converts the given SQL statement into the system's native SQL grammar.
|
String |
SQLInput.readNString()
Reads the next attribute in the stream and returns it as a
String
in the Java programming language. |
String |
SQLInput.readString()
Reads the next attribute in the stream and returns it as a
String
in the Java programming language. |
String |
Time.toString()
Formats a time in JDBC time escape format.
|
String |
RowId.toString()
Returns a String representing the value of the SQL ROWID designated by this
java.sql.RowId object. |
String |
Date.toString()
Formats a date in the date escape format yyyy-mm-dd.
|
String |
Timestamp.toString()
Formats a timestamp in JDBC timestamp escape format.
|
Modifier and Type | Method and Description |
---|---|
Map<String,ClientInfoStatus> |
SQLClientInfoException.getFailedProperties()
Returns the list of client info properties that could not be set.
|
Map<String,Class<?>> |
Connection.getTypeMap()
Retrieves the
Map object associated with this
Connection object. |
Modifier and Type | Method and Description |
---|---|
boolean |
Driver.acceptsURL(String url)
Retrieves whether the driver thinks that it can open a connection
to the given URL.
|
void |
Statement.addBatch(String sql)
Adds the given SQL command to the current list of commands for this
Statement object. |
Connection |
Driver.connect(String url,
Properties info)
Attempts to make a database connection to the given URL.
|
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 |
Statement.execute(String sql)
Executes the given SQL statement, which may return multiple results.
|
boolean |
Statement.execute(String sql,
int autoGeneratedKeys)
Executes the given SQL statement, which may return multiple results,
and signals the driver that any
auto-generated keys should be made available
for retrieval.
|
boolean |
Statement.execute(String sql,
int[] columnIndexes)
Executes the given SQL statement, which may return multiple results,
and signals the driver that the
auto-generated keys indicated in the given array should be made available
for retrieval.
|
boolean |
Statement.execute(String sql,
String[] columnNames)
Executes the given SQL statement, which may return multiple results,
and signals the driver that the
auto-generated keys indicated in the given array should be made available
for retrieval.
|
boolean |
Statement.execute(String sql,
String[] columnNames)
Executes the given SQL statement, which may return multiple results,
and signals the driver that the
auto-generated keys indicated in the given array should be made available
for retrieval.
|
default long |
Statement.executeLargeUpdate(String sql)
Executes the given SQL statement, which may be an
INSERT ,
UPDATE , or DELETE statement or an
SQL statement that returns nothing, such as an SQL DDL statement. |
default long |
Statement.executeLargeUpdate(String sql,
int autoGeneratedKeys)
Executes the given SQL statement and signals the driver with the
given flag about whether the
auto-generated keys produced by this
Statement object
should be made available for retrieval. |
default long |
Statement.executeLargeUpdate(String sql,
int[] columnIndexes)
Executes the given SQL statement and signals the driver that the
auto-generated keys indicated in the given array should be made available
for retrieval.
|
default long |
Statement.executeLargeUpdate(String sql,
String[] columnNames)
Executes the given SQL statement and signals the driver that the
auto-generated keys indicated in the given array should be made available
for retrieval.
|
default long |
Statement.executeLargeUpdate(String sql,
String[] columnNames)
Executes the given SQL statement and signals the driver that the
auto-generated keys indicated in the given array should be made available
for retrieval.
|
ResultSet |
Statement.executeQuery(String sql)
Executes the given SQL statement, which returns a single
ResultSet object. |
int |
Statement.executeUpdate(String sql)
Executes the given SQL statement, which may be an
INSERT ,
UPDATE , or DELETE statement or an
SQL statement that returns nothing, such as an SQL DDL statement. |
int |
Statement.executeUpdate(String sql,
int autoGeneratedKeys)
Executes the given SQL statement and signals the driver with the
given flag about whether the
auto-generated keys produced by this
Statement object
should be made available for retrieval. |
int |
Statement.executeUpdate(String sql,
int[] columnIndexes)
Executes the given SQL statement and signals the driver that the
auto-generated keys indicated in the given array should be made available
for retrieval.
|
int |
Statement.executeUpdate(String sql,
String[] columnNames)
Executes the given SQL statement and signals the driver that the
auto-generated keys indicated in the given array should be made available
for retrieval.
|
int |
Statement.executeUpdate(String sql,
String[] columnNames)
Executes the given SQL statement and signals the driver that the
auto-generated keys indicated in the given array should be made available
for retrieval.
|
int |
ResultSet.findColumn(String columnLabel)
Maps the given
ResultSet column label to its
ResultSet column index. |
Array |
CallableStatement.getArray(String parameterName)
Retrieves the value of a JDBC
ARRAY parameter as an
Array object in the Java programming language. |
Array |
ResultSet.getArray(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as an Array object
in the Java programming language. |
InputStream |
ResultSet.getAsciiStream(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as a stream of
ASCII characters. |
ResultSet |
DatabaseMetaData.getAttributes(String catalog,
String schemaPattern,
String typeNamePattern,
String attributeNamePattern)
Retrieves a description of the given attribute of the given type
for a user-defined type (UDT) that is available in the given schema
and catalog.
|
ResultSet |
DatabaseMetaData.getBestRowIdentifier(String catalog,
String schema,
String table,
int scope,
boolean nullable)
Retrieves a description of a table's optimal set of columns that
uniquely identifies a row.
|
BigDecimal |
CallableStatement.getBigDecimal(String parameterName)
Retrieves the value of a JDBC
NUMERIC parameter as a
java.math.BigDecimal object with as many digits to the
right of the decimal point as the value contains. |
BigDecimal |
ResultSet.getBigDecimal(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as a
java.math.BigDecimal with full precision. |
BigDecimal |
ResultSet.getBigDecimal(String columnLabel,
int scale)
Deprecated.
Use
getBigDecimal(int columnIndex)
or getBigDecimal(String columnLabel) |
InputStream |
ResultSet.getBinaryStream(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as a stream of uninterpreted
byte s. |
Blob |
CallableStatement.getBlob(String parameterName)
Retrieves the value of a JDBC
BLOB parameter as a
Blob object in the Java programming language. |
Blob |
ResultSet.getBlob(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as a Blob object
in the Java programming language. |
boolean |
CallableStatement.getBoolean(String parameterName)
Retrieves the value of a JDBC
BIT or BOOLEAN
parameter as a
boolean in the Java programming language. |
boolean |
ResultSet.getBoolean(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a boolean in the Java programming language. |
byte |
CallableStatement.getByte(String parameterName)
Retrieves the value of a JDBC
TINYINT parameter as a byte
in the Java programming language. |
byte |
ResultSet.getByte(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a byte in the Java programming language. |
byte[] |
CallableStatement.getBytes(String parameterName)
Retrieves the value of a JDBC
BINARY or VARBINARY
parameter as an array of byte values in the Java
programming language. |
byte[] |
ResultSet.getBytes(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a byte array in the Java programming language. |
Reader |
CallableStatement.getCharacterStream(String parameterName)
Retrieves the value of the designated parameter as a
java.io.Reader object in the Java programming language. |
Reader |
ResultSet.getCharacterStream(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as a
java.io.Reader object. |
String |
Connection.getClientInfo(String name)
Returns the value of the client info property specified by name.
|
Clob |
CallableStatement.getClob(String parameterName)
Retrieves the value of a JDBC
CLOB parameter as a
java.sql.Clob object in the Java programming language. |
Clob |
ResultSet.getClob(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as a Clob object
in the Java programming language. |
ResultSet |
DatabaseMetaData.getColumnPrivileges(String catalog,
String schema,
String table,
String columnNamePattern)
Retrieves a description of the access rights for a table's columns.
|
ResultSet |
DatabaseMetaData.getColumns(String catalog,
String schemaPattern,
String tableNamePattern,
String columnNamePattern)
Retrieves a description of table columns available in
the specified catalog.
|
static Connection |
DriverManager.getConnection(String url)
Attempts to establish a connection to the given database URL.
|
static Connection |
DriverManager.getConnection(String url,
Properties info)
Attempts to establish a connection to the given database URL.
|
static Connection |
DriverManager.getConnection(String url,
String user,
String password)
Attempts to establish a connection to the given database URL.
|
ResultSet |
DatabaseMetaData.getCrossReference(String parentCatalog,
String parentSchema,
String parentTable,
String foreignCatalog,
String foreignSchema,
String foreignTable)
Retrieves a description of the foreign key columns in the given foreign key
table that reference the primary key or the columns representing a unique constraint of the parent table (could be the same or a different table).
|
Date |
CallableStatement.getDate(String parameterName)
Retrieves the value of a JDBC
DATE parameter as a
java.sql.Date object. |
Date |
ResultSet.getDate(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a java.sql.Date object in the Java programming language. |
Date |
CallableStatement.getDate(String parameterName,
Calendar cal)
Retrieves the value of a JDBC
DATE parameter as a
java.sql.Date object, using
the given Calendar object
to construct the date. |
Date |
ResultSet.getDate(String columnLabel,
Calendar cal)
Retrieves the value of the designated column in the current row
of this
ResultSet object as a java.sql.Date object
in the Java programming language. |
double |
CallableStatement.getDouble(String parameterName)
Retrieves the value of a JDBC
DOUBLE parameter as a double
in the Java programming language. |
double |
ResultSet.getDouble(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a double in the Java programming language. |
static Driver |
DriverManager.getDriver(String url)
Attempts to locate a driver that understands the given URL.
|
ResultSet |
DatabaseMetaData.getExportedKeys(String catalog,
String schema,
String table)
Retrieves a description of the foreign key columns that reference the
given table's primary key columns (the foreign keys exported by a
table).
|
float |
CallableStatement.getFloat(String parameterName)
Retrieves the value of a JDBC
FLOAT parameter as a float
in the Java programming language. |
float |
ResultSet.getFloat(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a float in the Java programming language. |
ResultSet |
DatabaseMetaData.getFunctionColumns(String catalog,
String schemaPattern,
String functionNamePattern,
String columnNamePattern)
Retrieves a description of the given catalog's system or user
function parameters and return type.
|
ResultSet |
DatabaseMetaData.getFunctions(String catalog,
String schemaPattern,
String functionNamePattern)
Retrieves a description of the system and user functions available
in the given catalog.
|
ResultSet |
DatabaseMetaData.getImportedKeys(String catalog,
String schema,
String table)
Retrieves a description of the primary key columns that are
referenced by the given table's foreign key columns (the primary keys
imported by a table).
|
ResultSet |
DatabaseMetaData.getIndexInfo(String catalog,
String schema,
String table,
boolean unique,
boolean approximate)
Retrieves a description of the given table's indices and statistics.
|
int |
CallableStatement.getInt(String parameterName)
Retrieves the value of a JDBC
INTEGER parameter as an int
in the Java programming language. |
int |
ResultSet.getInt(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
an int in the Java programming language. |
long |
CallableStatement.getLong(String parameterName)
Retrieves the value of a JDBC
BIGINT parameter as a long
in the Java programming language. |
long |
ResultSet.getLong(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a long in the Java programming language. |
Reader |
CallableStatement.getNCharacterStream(String parameterName)
Retrieves the value of the designated parameter as a
java.io.Reader object in the Java programming language. |
Reader |
ResultSet.getNCharacterStream(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as a
java.io.Reader object. |
NClob |
CallableStatement.getNClob(String parameterName)
Retrieves the value of a JDBC
NCLOB parameter as a
java.sql.NClob object in the Java programming language. |
NClob |
ResultSet.getNClob(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as a NClob object
in the Java programming language. |
String |
CallableStatement.getNString(String parameterName)
Retrieves the value of the designated
NCHAR ,
NVARCHAR
or LONGNVARCHAR parameter as
a String in the Java programming language. |
String |
ResultSet.getNString(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a String in the Java programming language. |
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. |
<T> T |
CallableStatement.getObject(String parameterName,
Class<T> type)
Returns an object representing the value of OUT parameter
parameterName and will convert from the
SQL type of the parameter to the requested Java data type, if the
conversion is supported. |
<T> T |
ResultSet.getObject(String columnLabel,
Class<T> type)
Retrieves the value of the designated column in the current row
of this
ResultSet object and will convert from the
SQL type of the column to the requested Java data type, if the
conversion is supported. |
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. |
ResultSet |
DatabaseMetaData.getPrimaryKeys(String catalog,
String schema,
String table)
Retrieves a description of the given table's primary key columns.
|
ResultSet |
DatabaseMetaData.getProcedureColumns(String catalog,
String schemaPattern,
String procedureNamePattern,
String columnNamePattern)
Retrieves a description of the given catalog's stored procedure parameter
and result columns.
|
ResultSet |
DatabaseMetaData.getProcedures(String catalog,
String schemaPattern,
String procedureNamePattern)
Retrieves a description of the stored procedures available in the given
catalog.
|
DriverPropertyInfo[] |
Driver.getPropertyInfo(String url,
Properties info)
Gets information about the possible properties for this driver.
|
ResultSet |
DatabaseMetaData.getPseudoColumns(String catalog,
String schemaPattern,
String tableNamePattern,
String columnNamePattern)
Retrieves a description of the pseudo or hidden columns available
in a given table within the specified catalog and schema.
|
Ref |
CallableStatement.getRef(String parameterName)
Retrieves the value of a JDBC
REF(<structured-type>)
parameter as a Ref object in the Java programming language. |
Ref |
ResultSet.getRef(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as a Ref object
in the Java programming language. |
RowId |
CallableStatement.getRowId(String parameterName)
Retrieves the value of the designated JDBC
ROWID parameter as a
java.sql.RowId object. |
RowId |
ResultSet.getRowId(String columnLabel)
Retrieves the value of the designated column in the current row of this
ResultSet object as a java.sql.RowId object in the Java
programming language. |
ResultSet |
DatabaseMetaData.getSchemas(String catalog,
String schemaPattern)
Retrieves the schema names available in this database.
|
short |
CallableStatement.getShort(String parameterName)
Retrieves the value of a JDBC
SMALLINT parameter as a short
in the Java programming language. |
short |
ResultSet.getShort(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a short in the Java programming language. |
SQLXML |
CallableStatement.getSQLXML(String parameterName)
Retrieves the value of the designated
SQL XML parameter as a
java.sql.SQLXML object in the Java programming language. |
SQLXML |
ResultSet.getSQLXML(String columnLabel)
Retrieves the value of the designated column in the current row of
this
ResultSet as a
java.sql.SQLXML object in the Java programming language. |
String |
CallableStatement.getString(String parameterName)
Retrieves the value of a JDBC
CHAR , VARCHAR ,
or LONGVARCHAR parameter as a String in
the Java programming language. |
String |
ResultSet.getString(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a String in the Java programming language. |
ResultSet |
DatabaseMetaData.getSuperTables(String catalog,
String schemaPattern,
String tableNamePattern)
Retrieves a description of the table hierarchies defined in a particular
schema in this database.
|
ResultSet |
DatabaseMetaData.getSuperTypes(String catalog,
String schemaPattern,
String typeNamePattern)
Retrieves a description of the user-defined type (UDT) hierarchies defined in a
particular schema in this database.
|
ResultSet |
DatabaseMetaData.getTablePrivileges(String catalog,
String schemaPattern,
String tableNamePattern)
Retrieves a description of the access rights for each table available
in a catalog.
|
ResultSet |
DatabaseMetaData.getTables(String catalog,
String schemaPattern,
String tableNamePattern,
String[] types)
Retrieves a description of the tables available in the given catalog.
|
ResultSet |
DatabaseMetaData.getTables(String catalog,
String schemaPattern,
String tableNamePattern,
String[] types)
Retrieves a description of the tables available in the given catalog.
|
Time |
CallableStatement.getTime(String parameterName)
Retrieves the value of a JDBC
TIME parameter as a
java.sql.Time object. |
Time |
ResultSet.getTime(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a java.sql.Time object in the Java programming language. |
Time |
CallableStatement.getTime(String parameterName,
Calendar cal)
Retrieves the value of a JDBC
TIME parameter as a
java.sql.Time object, using
the given Calendar object
to construct the time. |
Time |
ResultSet.getTime(String columnLabel,
Calendar cal)
Retrieves the value of the designated column in the current row
of this
ResultSet object as a java.sql.Time object
in the Java programming language. |
Timestamp |
CallableStatement.getTimestamp(String parameterName)
Retrieves the value of a JDBC
TIMESTAMP parameter as a
java.sql.Timestamp object. |
Timestamp |
ResultSet.getTimestamp(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a java.sql.Timestamp object in the Java programming language. |
Timestamp |
CallableStatement.getTimestamp(String parameterName,
Calendar cal)
Retrieves the value of a JDBC
TIMESTAMP parameter as a
java.sql.Timestamp object, using
the given Calendar object to construct
the Timestamp object. |
Timestamp |
ResultSet.getTimestamp(String columnLabel,
Calendar cal)
Retrieves the value of the designated column in the current row
of this
ResultSet object as a java.sql.Timestamp object
in the Java programming language. |
ResultSet |
DatabaseMetaData.getUDTs(String catalog,
String schemaPattern,
String typeNamePattern,
int[] types)
Retrieves a description of the user-defined types (UDTs) defined
in a particular schema.
|
InputStream |
ResultSet.getUnicodeStream(String columnLabel)
Deprecated.
use
getCharacterStream instead |
URL |
CallableStatement.getURL(String parameterName)
Retrieves the value of a JDBC
DATALINK parameter as a
java.net.URL object. |
URL |
ResultSet.getURL(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as a java.net.URL
object in the Java programming language. |
ResultSet |
DatabaseMetaData.getVersionColumns(String catalog,
String schema,
String table)
Retrieves a description of a table's columns that are automatically
updated when any value in a row is updated.
|
String |
Connection.nativeSQL(String sql)
Converts the given SQL statement into the system's native SQL grammar.
|
long |
Clob.position(String searchstr,
long start)
Retrieves the character position at which the specified substring
searchstr appears in the SQL CLOB value
represented by this Clob object. |
CallableStatement |
Connection.prepareCall(String sql)
Creates a
CallableStatement object for calling
database stored procedures. |
CallableStatement |
Connection.prepareCall(String sql,
int resultSetType,
int resultSetConcurrency)
Creates a
CallableStatement object that will generate
ResultSet objects with the given type and concurrency. |
CallableStatement |
Connection.prepareCall(String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
Creates a
CallableStatement object that will generate
ResultSet objects with the given type and concurrency. |
PreparedStatement |
Connection.prepareStatement(String sql)
Creates a
PreparedStatement object for sending
parameterized SQL statements to the database. |
PreparedStatement |
Connection.prepareStatement(String sql,
int autoGeneratedKeys)
Creates a default
PreparedStatement object that has
the capability to retrieve auto-generated keys. |
PreparedStatement |
Connection.prepareStatement(String sql,
int[] columnIndexes)
Creates a default
PreparedStatement object capable
of returning the auto-generated keys designated by the given array. |
PreparedStatement |
Connection.prepareStatement(String sql,
int resultSetType,
int resultSetConcurrency)
Creates a
PreparedStatement object that will generate
ResultSet objects with the given type and concurrency. |
PreparedStatement |
Connection.prepareStatement(String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
Creates a
PreparedStatement object that will generate
ResultSet objects with the given type, concurrency,
and holdability. |
PreparedStatement |
Connection.prepareStatement(String sql,
String[] columnNames)
Creates a default
PreparedStatement object capable
of returning the auto-generated keys designated by the given array. |
PreparedStatement |
Connection.prepareStatement(String sql,
String[] columnNames)
Creates a default
PreparedStatement object capable
of returning the auto-generated keys designated by the given array. |
static void |
DriverManager.println(String message)
Prints a message to the current JDBC log stream.
|
void |
SQLData.readSQL(SQLInput stream,
String typeName)
Populates this object with data read from the database.
|
void |
CallableStatement.registerOutParameter(int parameterIndex,
int sqlType,
String typeName)
Registers the designated output parameter.
|
default void |
CallableStatement.registerOutParameter(int parameterIndex,
SQLType sqlType,
String typeName)
Registers the designated output parameter.
|
void |
CallableStatement.registerOutParameter(String parameterName,
int sqlType)
Registers the OUT parameter named
parameterName to the JDBC type
sqlType . |
void |
CallableStatement.registerOutParameter(String parameterName,
int sqlType,
int scale)
Registers the parameter named
parameterName to be of JDBC type
sqlType . |
void |
CallableStatement.registerOutParameter(String parameterName,
int sqlType,
String typeName)
Registers the designated output parameter.
|
default void |
CallableStatement.registerOutParameter(String parameterName,
SQLType sqlType)
Registers the OUT parameter named
parameterName to the JDBC type
sqlType . |
default void |
CallableStatement.registerOutParameter(String parameterName,
SQLType sqlType,
int scale)
Registers the parameter named
parameterName to be of JDBC type
sqlType . |
default void |
CallableStatement.registerOutParameter(String parameterName,
SQLType sqlType,
String typeName)
Registers the designated output parameter.
|
void |
CallableStatement.setAsciiStream(String parameterName,
InputStream x)
Sets the designated parameter to the given input stream.
|
void |
CallableStatement.setAsciiStream(String parameterName,
InputStream x,
int length)
Sets the designated parameter to the given input stream, which will have
the specified number of bytes.
|
void |
CallableStatement.setAsciiStream(String parameterName,
InputStream x,
long length)
Sets the designated parameter to the given input stream, which will have
the specified number of bytes.
|
void |
CallableStatement.setBigDecimal(String parameterName,
BigDecimal x)
Sets the designated parameter to the given
java.math.BigDecimal value. |
void |
CallableStatement.setBinaryStream(String parameterName,
InputStream x)
Sets the designated parameter to the given input stream.
|
void |
CallableStatement.setBinaryStream(String parameterName,
InputStream x,
int length)
Sets the designated parameter to the given input stream, which will have
the specified number of bytes.
|
void |
CallableStatement.setBinaryStream(String parameterName,
InputStream x,
long length)
Sets the designated parameter to the given input stream, which will have
the specified number of bytes.
|
void |
CallableStatement.setBlob(String parameterName,
Blob x)
Sets the designated parameter to the given
java.sql.Blob object. |
void |
CallableStatement.setBlob(String parameterName,
InputStream inputStream)
Sets the designated parameter to a
InputStream object. |
void |
CallableStatement.setBlob(String parameterName,
InputStream inputStream,
long length)
Sets the designated parameter to a
InputStream object. |
void |
CallableStatement.setBoolean(String parameterName,
boolean x)
Sets the designated parameter to the given Java
boolean value. |
void |
CallableStatement.setByte(String parameterName,
byte x)
Sets the designated parameter to the given Java
byte value. |
void |
CallableStatement.setBytes(String parameterName,
byte[] x)
Sets the designated parameter to the given Java array of bytes.
|
void |
Connection.setCatalog(String catalog)
Sets the given catalog name in order to select
a subspace of this
Connection object's database
in which to work. |
void |
CallableStatement.setCharacterStream(String parameterName,
Reader reader)
Sets the designated parameter to the given
Reader
object. |
void |
CallableStatement.setCharacterStream(String parameterName,
Reader reader,
int length)
Sets the designated parameter to the given
Reader
object, which is the given number of characters long. |
void |
CallableStatement.setCharacterStream(String parameterName,
Reader reader,
long length)
Sets the designated parameter to the given
Reader
object, which is the given number of characters long. |
void |
Connection.setClientInfo(String name,
String value)
Sets the value of the client info property specified by name to the
value specified by value.
|
void |
CallableStatement.setClob(String parameterName,
Clob x)
Sets the designated parameter to the given
java.sql.Clob object. |
void |
CallableStatement.setClob(String parameterName,
Reader reader)
Sets the designated parameter to a
Reader object. |
void |
CallableStatement.setClob(String parameterName,
Reader reader,
long length)
Sets the designated parameter to a
Reader object. |
void |
Statement.setCursorName(String name)
Sets the SQL cursor name to the given
String , which
will be used by subsequent Statement object
execute methods. |
void |
CallableStatement.setDate(String parameterName,
Date x)
Sets the designated parameter to the given
java.sql.Date value
using the default time zone of the virtual machine that is running
the application. |
void |
CallableStatement.setDate(String parameterName,
Date x,
Calendar cal)
Sets the designated parameter to the given
java.sql.Date value,
using the given Calendar object. |
void |
CallableStatement.setDouble(String parameterName,
double x)
Sets the designated parameter to the given Java
double value. |
void |
CallableStatement.setFloat(String parameterName,
float x)
Sets the designated parameter to the given Java
float value. |
void |
CallableStatement.setInt(String parameterName,
int x)
Sets the designated parameter to the given Java
int value. |
void |
CallableStatement.setLong(String parameterName,
long x)
Sets the designated parameter to the given Java
long value. |
void |
CallableStatement.setNCharacterStream(String parameterName,
Reader value)
Sets the designated parameter to a
Reader object. |
void |
CallableStatement.setNCharacterStream(String parameterName,
Reader value,
long length)
Sets the designated parameter to a
Reader object. |
void |
CallableStatement.setNClob(String parameterName,
NClob value)
Sets the designated parameter to a
java.sql.NClob object. |
void |
CallableStatement.setNClob(String parameterName,
Reader reader)
Sets the designated parameter to a
Reader object. |
void |
CallableStatement.setNClob(String parameterName,
Reader reader,
long length)
Sets the designated parameter to a
Reader object. |
void |
PreparedStatement.setNString(int parameterIndex,
String value)
Sets the designated parameter to the given
String object. |
void |
CallableStatement.setNString(String parameterName,
String value)
Sets the designated parameter to the given
String object. |
void |
PreparedStatement.setNull(int parameterIndex,
int sqlType,
String typeName)
Sets the designated parameter to SQL
NULL . |
void |
CallableStatement.setNull(String parameterName,
int sqlType)
Sets the designated parameter to SQL
NULL . |
void |
CallableStatement.setNull(String parameterName,
int sqlType,
String typeName)
Sets the designated parameter to SQL
NULL . |
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.
|
default void |
CallableStatement.setObject(String parameterName,
Object x,
SQLType targetSqlType)
Sets the value of the designated parameter with the given object.
|
default void |
CallableStatement.setObject(String parameterName,
Object x,
SQLType targetSqlType,
int scaleOrLength)
Sets the value of the designated parameter with the given object.
|
void |
CallableStatement.setRowId(String parameterName,
RowId x)
Sets the designated parameter to the given
java.sql.RowId object. |
Savepoint |
Connection.setSavepoint(String name)
Creates a savepoint with the given name in the current transaction
and returns the new
Savepoint object that represents it. |
void |
Connection.setSchema(String schema)
Sets the given schema name to access.
|
void |
CallableStatement.setShort(String parameterName,
short x)
Sets the designated parameter to the given Java
short value. |
void |
CallableStatement.setSQLXML(String parameterName,
SQLXML xmlObject)
Sets the designated parameter to the given
java.sql.SQLXML object. |
void |
PreparedStatement.setString(int parameterIndex,
String x)
Sets the designated parameter to the given Java
String value. |
int |
Clob.setString(long pos,
String str)
Writes the given Java
String to the CLOB
value that this Clob object designates at the position
pos . |
int |
Clob.setString(long pos,
String str,
int offset,
int len)
Writes
len characters of str , starting
at character offset , to the CLOB value
that this Clob represents. |
void |
SQLXML.setString(String value)
Sets the XML value designated by this SQLXML instance to the given String representation.
|
void |
CallableStatement.setString(String parameterName,
String x)
Sets the designated parameter to the given Java
String value. |
void |
CallableStatement.setTime(String parameterName,
Time x)
Sets the designated parameter to the given
java.sql.Time value. |
void |
CallableStatement.setTime(String parameterName,
Time x,
Calendar cal)
Sets the designated parameter to the given
java.sql.Time value,
using the given Calendar object. |
void |
CallableStatement.setTimestamp(String parameterName,
Timestamp x)
Sets the designated parameter to the given
java.sql.Timestamp value. |
void |
CallableStatement.setTimestamp(String parameterName,
Timestamp x,
Calendar cal)
Sets the designated parameter to the given
java.sql.Timestamp value,
using the given Calendar object. |
void |
CallableStatement.setURL(String parameterName,
URL val)
Sets the designated parameter to the given
java.net.URL object. |
void |
ResultSet.updateArray(String columnLabel,
Array x)
Updates the designated column with a
java.sql.Array value. |
void |
ResultSet.updateAsciiStream(String columnLabel,
InputStream x)
Updates the designated column with an ascii stream value.
|
void |
ResultSet.updateAsciiStream(String columnLabel,
InputStream x,
int length)
Updates the designated column with an ascii stream value, which will have
the specified number of bytes.
|
void |
ResultSet.updateAsciiStream(String columnLabel,
InputStream x,
long length)
Updates the designated column with an ascii stream value, which will have
the specified number of bytes.
|
void |
ResultSet.updateBigDecimal(String columnLabel,
BigDecimal x)
Updates the designated column with a
java.sql.BigDecimal
value. |
void |
ResultSet.updateBinaryStream(String columnLabel,
InputStream x)
Updates the designated column with a binary stream value.
|
void |
ResultSet.updateBinaryStream(String columnLabel,
InputStream x,
int length)
Updates the designated column with a binary stream value, which will have
the specified number of bytes.
|
void |
ResultSet.updateBinaryStream(String columnLabel,
InputStream x,
long length)
Updates the designated column with a binary stream value, which will have
the specified number of bytes.
|
void |
ResultSet.updateBlob(String columnLabel,
Blob x)
Updates the designated column with a
java.sql.Blob value. |
void |
ResultSet.updateBlob(String columnLabel,
InputStream inputStream)
Updates the designated column using the given input stream.
|
void |
ResultSet.updateBlob(String columnLabel,
InputStream inputStream,
long length)
Updates the designated column using the given input stream, which
will have the specified number of bytes.
|
void |
ResultSet.updateBoolean(String columnLabel,
boolean x)
Updates the designated column with a
boolean value. |
void |
ResultSet.updateByte(String columnLabel,
byte x)
Updates the designated column with a
byte value. |
void |
ResultSet.updateBytes(String columnLabel,
byte[] x)
Updates the designated column with a byte array value.
|
void |
ResultSet.updateCharacterStream(String columnLabel,
Reader reader)
Updates the designated column with a character stream value.
|
void |
ResultSet.updateCharacterStream(String columnLabel,
Reader reader,
int length)
Updates the designated column with a character stream value, which will have
the specified number of bytes.
|
void |
ResultSet.updateCharacterStream(String columnLabel,
Reader reader,
long length)
Updates the designated column with a character stream value, which will have
the specified number of bytes.
|
void |
ResultSet.updateClob(String columnLabel,
Clob x)
Updates the designated column with a
java.sql.Clob value. |
void |
ResultSet.updateClob(String columnLabel,
Reader reader)
Updates the designated column using the given
Reader
object. |
void |
ResultSet.updateClob(String columnLabel,
Reader reader,
long length)
Updates the designated column using the given
Reader
object, which is the given number of characters long. |
void |
ResultSet.updateDate(String columnLabel,
Date x)
Updates the designated column with a
java.sql.Date value. |
void |
ResultSet.updateDouble(String columnLabel,
double x)
Updates the designated column with a
double value. |
void |
ResultSet.updateFloat(String columnLabel,
float x)
Updates the designated column with a
float value. |
void |
ResultSet.updateInt(String columnLabel,
int x)
Updates the designated column with an
int value. |
void |
ResultSet.updateLong(String columnLabel,
long x)
Updates the designated column with a
long value. |
void |
ResultSet.updateNCharacterStream(String columnLabel,
Reader reader)
Updates the designated column with a character stream value.
|
void |
ResultSet.updateNCharacterStream(String columnLabel,
Reader reader,
long length)
Updates the designated column with a character stream value, which will have
the specified number of bytes.
|
void |
ResultSet.updateNClob(String columnLabel,
NClob nClob)
Updates the designated column with a
java.sql.NClob value. |
void |
ResultSet.updateNClob(String columnLabel,
Reader reader)
Updates the designated column using the given
Reader
object. |
void |
ResultSet.updateNClob(String columnLabel,
Reader reader,
long length)
Updates the designated column using the given
Reader
object, which is the given number of characters long. |
void |
ResultSet.updateNString(int columnIndex,
String nString)
Updates the designated column with a
String value. |
void |
ResultSet.updateNString(String columnLabel,
String nString)
Updates the designated column with a
String value. |
void |
ResultSet.updateNull(String columnLabel)
Updates the designated column with a
null 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. |
default void |
ResultSet.updateObject(String columnLabel,
Object x,
SQLType targetSqlType)
Updates the designated column with an
Object value. |
default void |
ResultSet.updateObject(String columnLabel,
Object x,
SQLType targetSqlType,
int scaleOrLength)
Updates the designated column with an
Object value. |
void |
ResultSet.updateRef(String columnLabel,
Ref x)
Updates the designated column with a
java.sql.Ref value. |
void |
ResultSet.updateRowId(String columnLabel,
RowId x)
Updates the designated column with a
RowId value. |
void |
ResultSet.updateShort(String columnLabel,
short x)
Updates the designated column with a
short value. |
void |
ResultSet.updateSQLXML(String columnLabel,
SQLXML xmlObject)
Updates the designated column with a
java.sql.SQLXML value. |
void |
ResultSet.updateString(int columnIndex,
String x)
Updates the designated column with a
String value. |
void |
ResultSet.updateString(String columnLabel,
String x)
Updates the designated column with a
String value. |
void |
ResultSet.updateTime(String columnLabel,
Time x)
Updates the designated column with a
java.sql.Time value. |
void |
ResultSet.updateTimestamp(String columnLabel,
Timestamp x)
Updates the designated column with a
java.sql.Timestamp
value. |
static PseudoColumnUsage |
PseudoColumnUsage.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RowIdLifetime |
RowIdLifetime.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Time |
Time.valueOf(String s)
Converts a string in JDBC time escape format to a
Time value. |
static JDBCType |
JDBCType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Date |
Date.valueOf(String s)
Converts a string in JDBC date escape format to
a
Date value. |
static Timestamp |
Timestamp.valueOf(String s)
Converts a
String object in JDBC timestamp escape format to a
Timestamp value. |
static ClientInfoStatus |
ClientInfoStatus.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
void |
SQLOutput.writeNString(String x)
Writes the next attribute to the stream as a
String
in the Java programming language. |
void |
SQLOutput.writeString(String x)
Writes the next attribute to the stream as a
String
in the Java programming language. |
Modifier and Type | Method and Description |
---|---|
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(Map<String,Class<?>> map)
Produces the ordered values of the attributes of the SQL
structured type that this
Struct object represents. |
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,
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. |
ResultSet |
Array.getResultSet(long index,
int count,
Map<String,Class<?>> map)
Retrieves a result set holding the elements of the subarray that
starts at index
index and contains up to
count successive elements. |
ResultSet |
Array.getResultSet(Map<String,Class<?>> map)
Retrieves a result set that contains the elements of the SQL
ARRAY value designated by this Array object. |
void |
Connection.setTypeMap(Map<String,Class<?>> map)
Installs the given
TypeMap object as the type map for
this Connection object. |
Constructor and Description |
---|
BatchUpdateException(String reason,
int[] updateCounts)
Constructs a
BatchUpdateException object initialized with a given
reason and updateCounts . |
BatchUpdateException(String reason,
int[] updateCounts,
Throwable cause)
Constructs a
BatchUpdateException object initialized with
a given reason , cause
and updateCounts . |
BatchUpdateException(String reason,
String SQLState,
int[] updateCounts)
Constructs a
BatchUpdateException object initialized with a given
reason , SQLState and
updateCounts . |
BatchUpdateException(String reason,
String SQLState,
int[] updateCounts,
Throwable cause)
Constructs a
BatchUpdateException object initialized with
a given reason , SQLState ,cause , and
updateCounts . |
BatchUpdateException(String reason,
String SQLState,
int vendorCode,
int[] updateCounts)
Constructs a
BatchUpdateException object initialized with a given
reason , SQLState , vendorCode and
updateCounts . |
BatchUpdateException(String reason,
String SQLState,
int vendorCode,
int[] updateCounts,
Throwable cause)
Constructs a
BatchUpdateException object initialized with
a given reason , SQLState , vendorCode
cause and updateCounts . |
BatchUpdateException(String reason,
String SQLState,
int vendorCode,
long[] updateCounts,
Throwable cause)
Constructs a
BatchUpdateException object initialized with
a given reason , SQLState , vendorCode
cause and updateCounts . |
DriverPropertyInfo(String name,
String value)
Constructs a
DriverPropertyInfo object with a given
name and value. |
SQLClientInfoException(String reason,
Map<String,ClientInfoStatus> failedProperties)
Constructs a
SQLClientInfoException object initialized with a
given reason and failedProperties . |
SQLClientInfoException(String reason,
Map<String,ClientInfoStatus> failedProperties,
Throwable cause)
Constructs a
SQLClientInfoException object initialized with a
given reason , cause and
failedProperties . |
SQLClientInfoException(String reason,
String SQLState,
int vendorCode,
Map<String,ClientInfoStatus> failedProperties)
Constructs a
SQLClientInfoException object initialized with a
given reason , SQLState ,
vendorCode and failedProperties . |
SQLClientInfoException(String reason,
String SQLState,
int vendorCode,
Map<String,ClientInfoStatus> failedProperties,
Throwable cause)
Constructs a
SQLClientInfoException object initialized with a
given reason , SQLState ,
cause , vendorCode and
failedProperties . |
SQLClientInfoException(String reason,
String SQLState,
Map<String,ClientInfoStatus> failedProperties)
Constructs a
SQLClientInfoException object initialized with a
given reason , SQLState and
failedProperties . |
SQLClientInfoException(String reason,
String SQLState,
Map<String,ClientInfoStatus> failedProperties,
Throwable cause)
Constructs a
SQLClientInfoException object initialized with a
given reason , SQLState , cause
and failedProperties . |
SQLDataException(String reason)
Constructs a
SQLDataException object with a given
reason . |
SQLDataException(String reason,
String SQLState)
Constructs a
SQLDataException object with a given
reason and SQLState . |
SQLDataException(String reason,
String SQLState,
int vendorCode)
Constructs a
SQLDataException object with a given
reason , SQLState and
vendorCode . |
SQLDataException(String reason,
String SQLState,
int vendorCode,
Throwable cause)
Constructs a
SQLDataException object with a given
reason , SQLState , vendorCode
and cause . |
SQLDataException(String reason,
String SQLState,
Throwable cause)
Constructs a
SQLDataException object with a given
reason , SQLState and cause . |
SQLDataException(String reason,
Throwable cause)
Constructs a
SQLDataException object with a given
reason and cause . |
SQLException(String reason)
Constructs a
SQLException object with a given
reason . |
SQLException(String reason,
String SQLState)
Constructs a
SQLException object with a given
reason and SQLState . |
SQLException(String reason,
String SQLState,
int vendorCode)
Constructs a
SQLException object with a given
reason , SQLState and
vendorCode . |
SQLException(String reason,
String sqlState,
int vendorCode,
Throwable cause)
Constructs a
SQLException object with a given
reason , SQLState , vendorCode
and cause . |
SQLException(String reason,
String sqlState,
Throwable cause)
Constructs a
SQLException object with a given
reason , SQLState and cause . |
SQLException(String reason,
Throwable cause)
Constructs a
SQLException object with a given
reason and cause . |
SQLFeatureNotSupportedException(String reason)
Constructs a
SQLFeatureNotSupportedException object
with a given reason . |
SQLFeatureNotSupportedException(String reason,
String SQLState)
Constructs a
SQLFeatureNotSupportedException object
with a given reason and SQLState . |
SQLFeatureNotSupportedException(String reason,
String SQLState,
int vendorCode)
Constructs a
SQLFeatureNotSupportedException object
with a given reason , SQLState and
vendorCode . |
SQLFeatureNotSupportedException(String reason,
String SQLState,
int vendorCode,
Throwable cause)
Constructs a
SQLFeatureNotSupportedException object
with a given
reason , SQLState , vendorCode
and cause . |
SQLFeatureNotSupportedException(String reason,
String SQLState,
Throwable cause)
Constructs a
SQLFeatureNotSupportedException object
with a given
reason , SQLState and cause . |
SQLFeatureNotSupportedException(String reason,
Throwable cause)
Constructs a
SQLFeatureNotSupportedException object
with a given
reason and cause . |
SQLIntegrityConstraintViolationException(String reason)
Constructs a
SQLIntegrityConstraintViolationException
with a given reason . |
SQLIntegrityConstraintViolationException(String reason,
String SQLState)
Constructs a
SQLIntegrityConstraintViolationException
object with a given reason and SQLState . |
SQLIntegrityConstraintViolationException(String reason,
String SQLState,
int vendorCode)
Constructs a
SQLIntegrityConstraintViolationException object
with a given reason , SQLState and
vendorCode . |
SQLIntegrityConstraintViolationException(String reason,
String SQLState,
int vendorCode,
Throwable cause)
Constructs a
SQLIntegrityConstraintViolationException object
with a given
reason , SQLState , vendorCode
and cause . |
SQLIntegrityConstraintViolationException(String reason,
String SQLState,
Throwable cause)
Constructs a
SQLIntegrityConstraintViolationException object
with a given
reason , SQLState and cause . |
SQLIntegrityConstraintViolationException(String reason,
Throwable cause)
Constructs a
SQLIntegrityConstraintViolationException object
with a given
reason and cause . |
SQLInvalidAuthorizationSpecException(String reason)
Constructs a
SQLInvalidAuthorizationSpecException object
with a given reason . |
SQLInvalidAuthorizationSpecException(String reason,
String SQLState)
Constructs a
SQLInvalidAuthorizationSpecException object
with a given reason and SQLState . |
SQLInvalidAuthorizationSpecException(String reason,
String SQLState,
int vendorCode)
Constructs a
SQLInvalidAuthorizationSpecException object
with a given reason , SQLState and
vendorCode . |
SQLInvalidAuthorizationSpecException(String reason,
String SQLState,
int vendorCode,
Throwable cause)
Constructs a
SQLInvalidAuthorizationSpecException object
with a given
reason , SQLState , vendorCode
and cause . |
SQLInvalidAuthorizationSpecException(String reason,
String SQLState,
Throwable cause)
Constructs a
SQLInvalidAuthorizationSpecException object
with a given
reason , SQLState and cause . |
SQLInvalidAuthorizationSpecException(String reason,
Throwable cause)
Constructs a
SQLInvalidAuthorizationSpecException object
with a given
reason and cause . |
SQLNonTransientConnectionException(String reason)
Constructs a
SQLNonTransientConnectionException object
with a given reason . |
SQLNonTransientConnectionException(String reason,
String SQLState)
Constructs a
SQLNonTransientConnectionException object
with a given reason and SQLState . |
SQLNonTransientConnectionException(String reason,
String SQLState,
int vendorCode)
Constructs a
SQLNonTransientConnectionException object
with a given reason , SQLState and
vendorCode . |
SQLNonTransientConnectionException(String reason,
String SQLState,
int vendorCode,
Throwable cause)
Constructs a
SQLNonTransientConnectionException object
with a given
reason , SQLState , vendorCode
and cause . |
SQLNonTransientConnectionException(String reason,
String SQLState,
Throwable cause)
Constructs a
SQLNonTransientConnectionException object
with a given
reason , SQLState and cause . |
SQLNonTransientConnectionException(String reason,
Throwable cause)
Constructs a
SQLTransientException object
with a given
reason and cause . |
SQLNonTransientException(String reason)
Constructs a
SQLNonTransientException object
with a given reason . |
SQLNonTransientException(String reason,
String SQLState)
Constructs a
SQLNonTransientException object
with a given reason and SQLState . |
SQLNonTransientException(String reason,
String SQLState,
int vendorCode)
Constructs a
SQLNonTransientException object
with a given reason , SQLState and
vendorCode . |
SQLNonTransientException(String reason,
String SQLState,
int vendorCode,
Throwable cause)
Constructs a
SQLNonTransientException object
with a given
reason , SQLState , vendorCode
and cause . |
SQLNonTransientException(String reason,
String SQLState,
Throwable cause)
Constructs a
SQLNonTransientException object
with a given
reason , SQLState and cause . |
SQLNonTransientException(String reason,
Throwable cause)
Constructs a
SQLTransientException object
with a given
reason and cause . |
SQLPermission(String name)
Creates a new
SQLPermission object with the specified name. |
SQLPermission(String name,
String actions)
Creates a new
SQLPermission object with the specified name. |
SQLRecoverableException(String reason)
Constructs a
SQLRecoverableException object
with a given reason . |
SQLRecoverableException(String reason,
String SQLState)
Constructs a
SQLRecoverableException object
with a given reason and SQLState . |
SQLRecoverableException(String reason,
String SQLState,
int vendorCode)
Constructs a
SQLRecoverableException object
with a given reason , SQLState and
vendorCode . |
SQLRecoverableException(String reason,
String SQLState,
int vendorCode,
Throwable cause)
Constructs a
SQLRecoverableException object
with a given
reason , SQLState , vendorCode
and cause . |
SQLRecoverableException(String reason,
String SQLState,
Throwable cause)
Constructs a
SQLRecoverableException object
with a given
reason , SQLState and cause . |
SQLRecoverableException(String reason,
Throwable cause)
Constructs a
SQLRecoverableException object
with a given
reason and cause . |
SQLSyntaxErrorException(String reason)
Constructs a
SQLSyntaxErrorException object
with a given reason . |
SQLSyntaxErrorException(String reason,
String SQLState)
Constructs a
SQLSyntaxErrorException object
with a given reason and SQLState . |
SQLSyntaxErrorException(String reason,
String SQLState,
int vendorCode)
Constructs a
SQLSyntaxErrorException object
with a given reason , SQLState and
vendorCode . |
SQLSyntaxErrorException(String reason,
String SQLState,
int vendorCode,
Throwable cause)
Constructs a
SQLSyntaxErrorException object
with a given
reason , SQLState , vendorCode
and cause . |
SQLSyntaxErrorException(String reason,
String SQLState,
Throwable cause)
Constructs a
SQLSyntaxErrorException object
with a given
reason , SQLState and cause . |
SQLSyntaxErrorException(String reason,
Throwable cause)
Constructs a
SQLSyntaxErrorException object
with a given
reason and cause . |
SQLTimeoutException(String reason)
Constructs a
SQLTimeoutException object
with a given reason . |
SQLTimeoutException(String reason,
String SQLState)
Constructs a
SQLTimeoutException object
with a given reason and SQLState . |
SQLTimeoutException(String reason,
String SQLState,
int vendorCode)
Constructs a
SQLTimeoutException object
with a given reason , SQLState and
vendorCode . |
SQLTimeoutException(String reason,
String SQLState,
int vendorCode,
Throwable cause)
Constructs a
SQLTimeoutException object
with a given
reason , SQLState , vendorCode
and cause . |
SQLTimeoutException(String reason,
String SQLState,
Throwable cause)
Constructs a
SQLTimeoutException object
with a given
reason , SQLState and cause . |
SQLTimeoutException(String reason,
Throwable cause)
Constructs a
SQLTimeoutException object
with a given
reason and cause . |
SQLTransactionRollbackException(String reason)
Constructs a
SQLTransactionRollbackException object
with a given reason . |
SQLTransactionRollbackException(String reason,
String SQLState)
Constructs a
SQLTransactionRollbackException object
with a given reason and SQLState . |
SQLTransactionRollbackException(String reason,
String SQLState,
int vendorCode)
Constructs a
SQLTransactionRollbackException object
with a given reason , SQLState and
vendorCode . |
SQLTransactionRollbackException(String reason,
String SQLState,
int vendorCode,
Throwable cause)
Constructs a
SQLTransactionRollbackException object
with a given
reason , SQLState , vendorCode
and cause . |
SQLTransactionRollbackException(String reason,
String SQLState,
Throwable cause)
Constructs a
SQLTransactionRollbackException object
with a given
reason , SQLState and cause . |
SQLTransactionRollbackException(String reason,
Throwable cause)
Constructs a
SQLTransactionRollbackException object
with a given
reason and cause . |
SQLTransientConnectionException(String reason)
Constructs a
SQLTransientConnectionException object
with a given reason . |
SQLTransientConnectionException(String reason,
String SQLState)
Constructs a
SQLTransientConnectionException object
with a given reason and SQLState . |
SQLTransientConnectionException(String reason,
String SQLState,
int vendorCode)
Constructs a
SQLTransientConnectionException object
with a given reason , SQLState and
vendorCode . |
SQLTransientConnectionException(String reason,
String SQLState,
int vendorCode,
Throwable cause)
Constructs a
SQLTransientConnectionException object
with a given
reason , SQLState , vendorCode
and cause . |
SQLTransientConnectionException(String reason,
String SQLState,
Throwable cause)
Constructs a
SQLTransientConnectionException object
with a given
reason , SQLState and cause . |
SQLTransientConnectionException(String reason,
Throwable cause)
Constructs a
SQLTransientConnectionException object
with a given
reason and cause . |
SQLTransientException(String reason)
Constructs a
SQLTransientException object
with a given reason . |
SQLTransientException(String reason,
String SQLState)
Constructs a
SQLTransientException object
with a given reason and SQLState . |
SQLTransientException(String reason,
String SQLState,
int vendorCode)
Constructs a
SQLTransientException object
with a given reason , SQLState and
vendorCode . |
SQLTransientException(String reason,
String SQLState,
int vendorCode,
Throwable cause)
Constructs a
SQLTransientException object
with a given
reason , SQLState , vendorCode
and cause . |
SQLTransientException(String reason,
String SQLState,
Throwable cause)
Constructs a
SQLTransientException object
with a given
reason , SQLState and cause . |
SQLTransientException(String reason,
Throwable cause)
Constructs a
SQLTransientException object
with a given
reason and cause . |
SQLWarning(String reason)
Constructs a
SQLWarning object
with a given reason . |
SQLWarning(String reason,
String SQLState)
Constructs a
SQLWarning object
with a given reason and SQLState . |
SQLWarning(String reason,
String SQLState,
int vendorCode)
Constructs a
SQLWarning object
with a given reason , SQLState and
vendorCode . |
SQLWarning(String reason,
String SQLState,
int vendorCode,
Throwable cause)
Constructs a
SQLWarning object
with a given
reason , SQLState , vendorCode
and cause . |
SQLWarning(String reason,
String SQLState,
Throwable cause)
Constructs a
SQLWarning object
with a given
reason , SQLState and cause . |
SQLWarning(String reason,
Throwable cause)
Constructs a
SQLWarning object
with a given
reason and cause . |
Constructor and Description |
---|
SQLClientInfoException(Map<String,ClientInfoStatus> failedProperties)
Constructs a
SQLClientInfoException object initialized with a
given failedProperties . |
SQLClientInfoException(Map<String,ClientInfoStatus> failedProperties,
Throwable cause)
Constructs a
SQLClientInfoException object initialized with
a given cause and failedProperties . |
SQLClientInfoException(String reason,
Map<String,ClientInfoStatus> failedProperties)
Constructs a
SQLClientInfoException object initialized with a
given reason and failedProperties . |
SQLClientInfoException(String reason,
Map<String,ClientInfoStatus> failedProperties,
Throwable cause)
Constructs a
SQLClientInfoException object initialized with a
given reason , cause and
failedProperties . |
SQLClientInfoException(String reason,
String SQLState,
int vendorCode,
Map<String,ClientInfoStatus> failedProperties)
Constructs a
SQLClientInfoException object initialized with a
given reason , SQLState ,
vendorCode and failedProperties . |
SQLClientInfoException(String reason,
String SQLState,
int vendorCode,
Map<String,ClientInfoStatus> failedProperties,
Throwable cause)
Constructs a
SQLClientInfoException object initialized with a
given reason , SQLState ,
cause , vendorCode and
failedProperties . |
SQLClientInfoException(String reason,
String SQLState,
Map<String,ClientInfoStatus> failedProperties)
Constructs a
SQLClientInfoException object initialized with a
given reason , SQLState and
failedProperties . |
SQLClientInfoException(String reason,
String SQLState,
Map<String,ClientInfoStatus> failedProperties,
Throwable cause)
Constructs a
SQLClientInfoException object initialized with a
given reason , SQLState , cause
and failedProperties . |
Modifier and Type | Method and Description |
---|---|
String |
DateFormat.format(Date date)
Formats a Date into a date/time string.
|
String |
NumberFormat.format(double number)
Specialization of format.
|
String |
NumberFormat.format(long number)
Specialization of format.
|
String |
Format.format(Object obj)
Formats an object to produce a string.
|
static String |
MessageFormat.format(String pattern,
Object... arguments)
Creates a MessageFormat with the given pattern and uses it
to format the given arguments.
|
String[] |
DateFormatSymbols.getAmPmStrings()
Gets ampm strings.
|
String |
DecimalFormatSymbols.getCurrencySymbol()
Returns the currency symbol for the currency of these
DecimalFormatSymbols in their locale.
|
String[] |
DateFormatSymbols.getEras()
Gets era strings.
|
String |
DecimalFormatSymbols.getExponentSeparator()
Returns the string used to separate the mantissa from the exponent.
|
String |
DecimalFormatSymbols.getInfinity()
Gets the string used to represent infinity.
|
String |
DecimalFormatSymbols.getInternationalCurrencySymbol()
Returns the ISO 4217 currency code of the currency of these
DecimalFormatSymbols.
|
String |
DateFormatSymbols.getLocalPatternChars()
Gets localized date-time pattern characters.
|
String[] |
DateFormatSymbols.getMonths()
Gets month strings.
|
protected String |
AttributedCharacterIterator.Attribute.getName()
Returns the name of the attribute.
|
String |
DecimalFormatSymbols.getNaN()
Gets the string used to represent "not a number".
|
String |
DecimalFormat.getNegativePrefix()
Get the negative prefix.
|
String |
DecimalFormat.getNegativeSuffix()
Get the negative suffix.
|
String |
DecimalFormat.getPositivePrefix()
Get the positive prefix.
|
String |
DecimalFormat.getPositiveSuffix()
Get the positive suffix.
|
String |
RuleBasedCollator.getRules()
Gets the table-based rules for the collation object.
|
String[] |
DateFormatSymbols.getShortMonths()
Gets short month strings.
|
String[] |
DateFormatSymbols.getShortWeekdays()
Gets short weekday strings.
|
String |
CollationKey.getSourceString()
Returns the String that this CollationKey represents.
|
String[] |
DateFormatSymbols.getWeekdays()
Gets weekday strings.
|
String[][] |
DateFormatSymbols.getZoneStrings()
Gets time zone strings.
|
static String |
Normalizer.normalize(CharSequence src,
Normalizer.Form form)
Normalize a sequence of char values.
|
String |
SimpleDateFormat.toLocalizedPattern()
Returns a localized pattern string describing this date format.
|
String |
DecimalFormat.toLocalizedPattern()
Synthesizes a localized pattern string that represents the current
state of this Format object.
|
String |
ChoiceFormat.toPattern()
Gets the pattern.
|
String |
SimpleDateFormat.toPattern()
Returns a pattern string describing this date format.
|
String |
DecimalFormat.toPattern()
Synthesizes a pattern string that represents the current state
of this Format object.
|
String |
MessageFormat.toPattern()
Returns a pattern representing the current state of the message format.
|
String |
Bidi.toString()
Display the bidi internal state, used in debugging.
|
String |
Annotation.toString()
Returns the String representation of this Annotation.
|
String |
AttributedCharacterIterator.Attribute.toString()
Returns a string representation of the object.
|
String |
FieldPosition.toString()
Return a string representation of this FieldPosition.
|
String |
ParsePosition.toString()
Return a string representation of this ParsePosition.
|
Modifier and Type | Method and Description |
---|---|
void |
SimpleDateFormat.applyLocalizedPattern(String pattern)
Applies the given localized pattern string to this date format.
|
void |
DecimalFormat.applyLocalizedPattern(String pattern)
Apply the given pattern to this Format object.
|
void |
ChoiceFormat.applyPattern(String newPattern)
Sets the pattern.
|
void |
SimpleDateFormat.applyPattern(String pattern)
Applies the given pattern string to this date format.
|
void |
DecimalFormat.applyPattern(String pattern)
Apply the given pattern to this Format object.
|
void |
MessageFormat.applyPattern(String pattern)
Sets the pattern used by this message format.
|
int |
RuleBasedCollator.compare(String source,
String target)
Compares the character data stored in two different strings based on the
collation rules.
|
abstract int |
Collator.compare(String source,
String target)
Compares the source string to the target string according to the
collation rules for this Collator.
|
boolean |
Collator.equals(String source,
String target)
Convenience method for comparing the equality of two strings based on
this Collator's collation rules.
|
static String |
MessageFormat.format(String pattern,
Object... arguments)
Creates a MessageFormat with the given pattern and uses it
to format the given arguments.
|
CollationElementIterator |
RuleBasedCollator.getCollationElementIterator(String source)
Returns a CollationElementIterator for the given String.
|
CollationKey |
RuleBasedCollator.getCollationKey(String source)
Transforms the string into a series of characters that can be compared
with CollationKey.compareTo.
|
abstract CollationKey |
Collator.getCollationKey(String source)
Transforms the String into a series of bits that can be compared bitwise
to other CollationKeys.
|
Date |
DateFormat.parse(String source)
Parses text from the beginning of the given string to produce a date.
|
Number |
NumberFormat.parse(String source)
Parses text from the beginning of the given string to produce a number.
|
Object[] |
MessageFormat.parse(String source)
Parses text from the beginning of the given string to produce an object
array.
|
Number |
ChoiceFormat.parse(String text,
ParsePosition status)
Parses a Number from the input text.
|
Date |
SimpleDateFormat.parse(String text,
ParsePosition pos)
Parses text from a string to produce a
Date . |
abstract Date |
DateFormat.parse(String source,
ParsePosition pos)
Parse a date/time string according to the given parse position.
|
Number |
DecimalFormat.parse(String text,
ParsePosition pos)
Parses text from a string to produce a
Number . |
abstract Number |
NumberFormat.parse(String source,
ParsePosition parsePosition)
Returns a Long if possible (e.g., within the range [Long.MIN_VALUE,
Long.MAX_VALUE] and with no decimals), otherwise a Double.
|
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.
|
abstract Object |
Format.parseObject(String source,
ParsePosition pos)
Parses text from a string to produce an object.
|
Object |
DateFormat.parseObject(String source,
ParsePosition pos)
Parses text from a string to produce a
Date . |
Object |
NumberFormat.parseObject(String source,
ParsePosition pos)
Parses text from a string to produce a
Number . |
Object |
MessageFormat.parseObject(String source,
ParsePosition pos)
Parses text from a string to produce an object array.
|
void |
DateFormatSymbols.setAmPmStrings(String[] newAmpms)
Sets ampm strings.
|
void |
ChoiceFormat.setChoices(double[] limits,
String[] formats)
Set the choices to be used in formatting.
|
void |
DecimalFormatSymbols.setCurrencySymbol(String currency)
Sets the currency symbol for the currency of these
DecimalFormatSymbols in their locale.
|
void |
DateFormatSymbols.setEras(String[] newEras)
Sets era strings.
|
void |
DecimalFormatSymbols.setExponentSeparator(String exp)
Sets the string used to separate the mantissa from the exponent.
|
void |
DecimalFormatSymbols.setInfinity(String infinity)
Sets the string used to represent infinity.
|
void |
DecimalFormatSymbols.setInternationalCurrencySymbol(String currencyCode)
Sets the ISO 4217 currency code of the currency of these
DecimalFormatSymbols.
|
void |
DateFormatSymbols.setLocalPatternChars(String newLocalPatternChars)
Sets localized date-time pattern characters.
|
void |
DateFormatSymbols.setMonths(String[] newMonths)
Sets month strings.
|
void |
DecimalFormatSymbols.setNaN(String NaN)
Sets the string used to represent "not a number".
|
void |
DecimalFormat.setNegativePrefix(String newValue)
Set the negative prefix.
|
void |
DecimalFormat.setNegativeSuffix(String newValue)
Set the negative suffix.
|
void |
DecimalFormat.setPositivePrefix(String newValue)
Set the positive prefix.
|
void |
DecimalFormat.setPositiveSuffix(String newValue)
Set the positive suffix.
|
void |
DateFormatSymbols.setShortMonths(String[] newShortMonths)
Sets short month strings.
|
void |
DateFormatSymbols.setShortWeekdays(String[] newShortWeekdays)
Sets short weekday strings.
|
void |
StringCharacterIterator.setText(String text)
Reset this iterator to point to a new string.
|
void |
BreakIterator.setText(String newText)
Set a new text string to be scanned.
|
void |
CollationElementIterator.setText(String source)
Set a new string over which to iterate.
|
void |
DateFormatSymbols.setWeekdays(String[] newWeekdays)
Sets weekday strings.
|
void |
DateFormatSymbols.setZoneStrings(String[][] newZoneStrings)
Sets time zone strings.
|
static Normalizer.Form |
Normalizer.Form.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
Constructor and Description |
---|
Attribute(String name)
Constructs an
Attribute with the given name. |
AttributedString(String text)
Constructs an AttributedString instance with the given text.
|
AttributedString(String text,
Map<? extends AttributedCharacterIterator.Attribute,?> attributes)
Constructs an AttributedString instance with the given text and attributes.
|
Bidi(String paragraph,
int flags)
Create Bidi from the given paragraph of text and base direction.
|
ChoiceFormat(double[] limits,
String[] formats)
Constructs with the limits and the corresponding formats.
|
ChoiceFormat(String newPattern)
Constructs with limits and corresponding formats based on the pattern.
|
CollationKey(String source)
CollationKey constructor.
|
DecimalFormat(String pattern)
Creates a DecimalFormat using the given pattern and the symbols
for the default
FORMAT locale. |
DecimalFormat(String pattern,
DecimalFormatSymbols symbols)
Creates a DecimalFormat using the given pattern and symbols.
|
Field(String name)
Creates a Field with the specified name.
|
Field(String name)
Creates a Field instance with the specified
name.
|
Field(String name)
Creates a Field with the specified name.
|
Field(String name,
int calendarField)
Creates a
Field . |
MessageFormat(String pattern)
Constructs a MessageFormat for the default
FORMAT locale and the
specified pattern. |
MessageFormat(String pattern,
Locale locale)
Constructs a MessageFormat for the specified locale and
pattern.
|
ParseException(String s,
int errorOffset)
Constructs a ParseException with the specified detail message and
offset.
|
RuleBasedCollator(String rules)
RuleBasedCollator constructor.
|
SimpleDateFormat(String pattern)
Constructs a
SimpleDateFormat using the given pattern and
the default date format symbols for the default
FORMAT locale. |
SimpleDateFormat(String pattern,
DateFormatSymbols formatSymbols)
Constructs a
SimpleDateFormat using the given pattern and
date format symbols. |
SimpleDateFormat(String pattern,
Locale locale)
Constructs a
SimpleDateFormat using the given pattern and
the default date format symbols for the given locale. |
StringCharacterIterator(String text)
Constructs an iterator with an initial index of 0.
|
StringCharacterIterator(String text,
int pos)
Constructs an iterator with the specified initial index.
|
StringCharacterIterator(String text,
int begin,
int end,
int pos)
Constructs an iterator over the given range of the given string, with the
index set at the specified position.
|
Modifier and Type | Field and Description |
---|---|
static Map<String,String> |
ZoneId.SHORT_IDS
A map of zone overrides to enable the short time-zone names to be used.
|
static Map<String,String> |
ZoneId.SHORT_IDS
A map of zone overrides to enable the short time-zone names to be used.
|
Modifier and Type | Method and Description |
---|---|
String |
OffsetTime.format(DateTimeFormatter formatter)
Formats this time using the specified formatter.
|
String |
ZonedDateTime.format(DateTimeFormatter formatter)
Formats this date-time using the specified formatter.
|
String |
YearMonth.format(DateTimeFormatter formatter)
Formats this year-month using the specified formatter.
|
String |
LocalTime.format(DateTimeFormatter formatter)
Formats this time using the specified formatter.
|
String |
Year.format(DateTimeFormatter formatter)
Formats this year using the specified formatter.
|
String |
MonthDay.format(DateTimeFormatter formatter)
Formats this month-day using the specified formatter.
|
String |
LocalDateTime.format(DateTimeFormatter formatter)
Formats this date-time using the specified formatter.
|
String |
OffsetDateTime.format(DateTimeFormatter formatter)
Formats this date-time using the specified formatter.
|
String |
LocalDate.format(DateTimeFormatter formatter)
Formats this date using the specified formatter.
|
String |
ZoneId.getDisplayName(TextStyle style,
Locale locale)
Gets the textual representation of the zone, such as 'British Time' or
'+02:00'.
|
String |
DayOfWeek.getDisplayName(TextStyle style,
Locale locale)
Gets the textual representation, such as 'Mon' or 'Friday'.
|
String |
Month.getDisplayName(TextStyle style,
Locale locale)
Gets the textual representation, such as 'Jan' or 'December'.
|
abstract String |
ZoneId.getId()
Gets the unique time-zone ID.
|
String |
ZoneOffset.getId()
Gets the normalized zone offset ID.
|
String |
Instant.toString()
A string representation of this instant using ISO-8601 representation.
|
String |
OffsetTime.toString()
Outputs this time as a
String , such as 10:15:30+01:00 . |
String |
ZonedDateTime.toString()
Outputs this date-time as a
String , such as
2007-12-03T10:15:30+01:00[Europe/Paris] . |
String |
ZoneId.toString()
Outputs this zone as a
String , using the ID. |
String |
YearMonth.toString()
Outputs this year-month as a
String , such as 2007-12 . |
String |
ZoneOffset.toString()
Outputs this offset as a
String , using the normalized ID. |
String |
LocalTime.toString()
Outputs this time as a
String , such as 10:15 . |
String |
Year.toString()
Outputs this year as a
String . |
String |
MonthDay.toString()
Outputs this month-day as a
String , such as --12-03 . |
String |
Period.toString()
Outputs this period as a
String , such as P6Y3M1D . |
String |
LocalDateTime.toString()
Outputs this date-time as a
String , such as 2007-12-03T10:15:30 . |
String |
OffsetDateTime.toString()
Outputs this date-time as a
String , such as 2007-12-03T10:15:30+01:00 . |
String |
LocalDate.toString()
Outputs this date as a
String , such as 2007-12-03 . |
String |
Duration.toString()
A string representation of this duration using ISO-8601 seconds
based representation, such as
PT8H6M12.345S . |
Modifier and Type | Method and Description |
---|---|
static Set<String> |
ZoneId.getAvailableZoneIds()
Gets the set of available zone IDs.
|
Modifier and Type | Method and Description |
---|---|
static ZoneId |
ZoneId.of(String zoneId)
Obtains an instance of
ZoneId from an ID ensuring that the
ID is valid and available for use. |
static ZoneOffset |
ZoneOffset.of(String offsetId)
Obtains an instance of
ZoneOffset using the ID. |
static ZoneId |
ZoneId.of(String zoneId,
Map<String,String> aliasMap)
Obtains an instance of
ZoneId using its ID using a map
of aliases to supplement the standard zone IDs. |
static ZoneId |
ZoneId.ofOffset(String prefix,
ZoneOffset offset)
Obtains an instance of
ZoneId wrapping an offset. |
static DayOfWeek |
DayOfWeek.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Month |
Month.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
Modifier and Type | Method and Description |
---|---|
static ZoneId |
ZoneId.of(String zoneId,
Map<String,String> aliasMap)
Obtains an instance of
ZoneId using its ID using a map
of aliases to supplement the standard zone IDs. |
static ZoneId |
ZoneId.of(String zoneId,
Map<String,String> aliasMap)
Obtains an instance of
ZoneId using its ID using a map
of aliases to supplement the standard zone IDs. |
Constructor and Description |
---|
DateTimeException(String message)
Constructs a new date-time exception with the specified message.
|
DateTimeException(String message,
Throwable cause)
Constructs a new date-time exception with the specified message and cause.
|
Modifier and Type | Method and Description |
---|---|
default String |
ChronoLocalDateTime.format(DateTimeFormatter formatter)
Formats this date-time using the specified formatter.
|
default String |
ChronoZonedDateTime.format(DateTimeFormatter formatter)
Formats this date-time using the specified formatter.
|
default String |
ChronoLocalDate.format(DateTimeFormatter formatter)
Formats this date using the specified formatter.
|
String |
HijrahChronology.getCalendarType()
Gets the calendar type of the Islamic calendar.
|
String |
IsoChronology.getCalendarType()
Gets the calendar type of the underlying calendar system - 'iso8601'.
|
String |
ThaiBuddhistChronology.getCalendarType()
Gets the calendar type of the underlying calendar system - 'buddhist'.
|
String |
MinguoChronology.getCalendarType()
Gets the calendar type of the underlying calendar system - 'roc'.
|
String |
JapaneseChronology.getCalendarType()
Gets the calendar type of the underlying calendar system - 'japanese'.
|
String |
Chronology.getCalendarType()
Gets the calendar type of the calendar system.
|
default String |
Era.getDisplayName(TextStyle style,
Locale locale)
Gets the textual representation of this era.
|
default String |
Chronology.getDisplayName(TextStyle style,
Locale locale)
Gets the textual representation of this chronology.
|
String |
HijrahChronology.getId()
Gets the ID of the chronology.
|
String |
IsoChronology.getId()
Gets the ID of the chronology - 'ISO'.
|
String |
ThaiBuddhistChronology.getId()
Gets the ID of the chronology - 'ThaiBuddhist'.
|
String |
MinguoChronology.getId()
Gets the ID of the chronology - 'Minguo'.
|
String |
JapaneseChronology.getId()
Gets the ID of the chronology - 'Japanese'.
|
String |
Chronology.getId()
Gets the ID of the chronology.
|
String |
ChronoLocalDateTime.toString()
Outputs this date-time as a
String . |
String |
ChronoPeriod.toString()
Outputs this period as a
String . |
String |
JapaneseEra.toString() |
String |
AbstractChronology.toString()
Outputs this chronology as a
String , using the chronology ID. |
String |
ChronoZonedDateTime.toString()
Outputs this date-time as a
String . |
String |
ChronoLocalDate.toString()
Outputs this date as a
String . |
String |
Chronology.toString()
Outputs this chronology as a
String . |
Modifier and Type | Method and Description |
---|---|
static Chronology |
Chronology.of(String id)
Obtains an instance of
Chronology from a chronology ID or
calendar system type. |
static MinguoEra |
MinguoEra.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JapaneseEra |
JapaneseEra.valueOf(String japaneseEra)
Returns the
JapaneseEra with the name. |
static ThaiBuddhistEra |
ThaiBuddhistEra.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HijrahEra |
HijrahEra.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IsoEra |
IsoEra.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
Modifier and Type | Method and Description |
---|---|
String |
DateTimeFormatter.format(TemporalAccessor temporal)
Formats a date-time object using this formatter.
|
static String |
DateTimeFormatterBuilder.getLocalizedDateTimePattern(FormatStyle dateStyle,
FormatStyle timeStyle,
Chronology chrono,
Locale locale)
Gets the formatting pattern for date and time styles for a locale and chronology.
|
String |
DateTimeParseException.getParsedString()
Returns the string that was being parsed.
|
String |
DecimalStyle.toString()
Returns a string describing this DecimalStyle.
|
String |
DateTimeFormatter.toString()
Returns a description of the underlying formatters.
|
Modifier and Type | Method and Description |
---|---|
DateTimeFormatterBuilder |
DateTimeFormatterBuilder.appendLiteral(String literal)
Appends a string literal to the formatter.
|
DateTimeFormatterBuilder |
DateTimeFormatterBuilder.appendOffset(String pattern,
String noOffsetText)
Appends the zone offset, such as '+01:00', to the formatter.
|
DateTimeFormatterBuilder |
DateTimeFormatterBuilder.appendPattern(String pattern)
Appends the elements defined by the specified pattern to the builder.
|
static DateTimeFormatter |
DateTimeFormatter.ofPattern(String pattern)
Creates a formatter using the specified pattern.
|
static DateTimeFormatter |
DateTimeFormatter.ofPattern(String pattern,
Locale locale)
Creates a formatter using the specified pattern and locale.
|
static SignStyle |
SignStyle.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FormatStyle |
FormatStyle.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextStyle |
TextStyle.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResolverStyle |
ResolverStyle.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
Modifier and Type | Method and Description |
---|---|
DateTimeFormatterBuilder |
DateTimeFormatterBuilder.appendText(TemporalField field,
Map<Long,String> textLookup)
Appends the text of a date-time field to the formatter using the specified
map to supply the text.
|
Constructor and Description |
---|
DateTimeParseException(String message,
CharSequence parsedData,
int errorIndex)
Constructs a new exception with the specified message.
|
DateTimeParseException(String message,
CharSequence parsedData,
int errorIndex,
Throwable cause)
Constructs a new exception with the specified message and cause.
|
Modifier and Type | Method and Description |
---|---|
String |
ChronoField.getDisplayName(Locale locale) |
default String |
TemporalField.getDisplayName(Locale locale)
Gets the display name for the field in the requested locale.
|
String |
ChronoField.toString() |
String |
TemporalField.toString()
Gets a descriptive name for the field.
|
String |
WeekFields.toString()
A string representation of this
WeekFields instance. |
String |
TemporalUnit.toString()
Gets a descriptive name for the unit.
|
String |
ValueRange.toString()
Outputs this range as a
String . |
String |
ChronoUnit.toString() |
Modifier and Type | Method and Description |
---|---|
static ChronoField |
ChronoField.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChronoUnit |
ChronoUnit.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
Constructor and Description |
---|
UnsupportedTemporalTypeException(String message)
Constructs a new UnsupportedTemporalTypeException with the specified message.
|
UnsupportedTemporalTypeException(String message,
Throwable cause)
Constructs a new UnsupportedTemporalTypeException with the specified message and cause.
|
Modifier and Type | Method and Description |
---|---|
String |
ZoneRules.toString()
Returns a string describing this object.
|
String |
ZoneOffsetTransitionRule.toString()
Returns a string describing this object.
|
String |
ZoneOffsetTransition.toString()
Returns a string describing this object.
|
Modifier and Type | Method and Description |
---|---|
static Set<String> |
ZoneRulesProvider.getAvailableZoneIds()
Gets the set of available zone IDs.
|
static NavigableMap<String,ZoneRules> |
ZoneRulesProvider.getVersions(String zoneId)
Gets the history of rules for the zone ID.
|
protected abstract NavigableMap<String,ZoneRules> |
ZoneRulesProvider.provideVersions(String zoneId)
SPI method to get the history of rules for the zone ID.
|
protected abstract Set<String> |
ZoneRulesProvider.provideZoneIds()
SPI method to get the available zone IDs.
|
Modifier and Type | Method and Description |
---|---|
static ZoneRules |
ZoneRulesProvider.getRules(String zoneId,
boolean forCaching)
Gets the rules for the zone ID.
|
static NavigableMap<String,ZoneRules> |
ZoneRulesProvider.getVersions(String zoneId)
Gets the history of rules for the zone ID.
|
protected abstract ZoneRules |
ZoneRulesProvider.provideRules(String zoneId,
boolean forCaching)
SPI method to get the rules for the zone ID.
|
protected abstract NavigableMap<String,ZoneRules> |
ZoneRulesProvider.provideVersions(String zoneId)
SPI method to get the history of rules for the zone ID.
|
static ZoneOffsetTransitionRule.TimeDefinition |
ZoneOffsetTransitionRule.TimeDefinition.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
Constructor and Description |
---|
ZoneRulesException(String message)
Constructs a new date-time exception with the specified message.
|
ZoneRulesException(String message,
Throwable cause)
Constructs a new date-time exception with the specified message and cause.
|
Modifier and Type | Field and Description |
---|---|
static List<String> |
ResourceBundle.Control.FORMAT_CLASS
The class-only format
List containing
"java.class" . |
static List<String> |
ResourceBundle.Control.FORMAT_DEFAULT
The default format
List , which contains the strings
"java.class" and "java.properties" , in
this order. |
static List<String> |
ResourceBundle.Control.FORMAT_PROPERTIES
The properties-only format
List containing
"java.properties" . |
Modifier and Type | Method and Description |
---|---|
static String |
Arrays.deepToString(Object[] a)
Returns a string representation of the "deep contents" of the specified
array.
|
String |
Base64.Encoder.encodeToString(byte[] src)
Encodes the specified byte array into a String using the
Base64
encoding scheme. |
String |
Scanner.findInLine(Pattern pattern)
Attempts to find the next occurrence of the specified pattern ignoring
delimiters.
|
String |
Scanner.findInLine(String pattern)
Attempts to find the next occurrence of a pattern constructed from the
specified string, ignoring delimiters.
|
String |
Scanner.findWithinHorizon(Pattern pattern,
int horizon)
Attempts to find the next occurrence of the specified pattern.
|
String |
Scanner.findWithinHorizon(String pattern,
int horizon)
Attempts to find the next occurrence of a pattern constructed from the
specified string, ignoring delimiters.
|
String |
PropertyPermission.getActions()
Returns the "canonical string representation" of the actions.
|
static String[] |
TimeZone.getAvailableIDs()
Gets all the available IDs supported.
|
static String[] |
TimeZone.getAvailableIDs(int rawOffset)
Gets the available IDs according to the given time zone offset in milliseconds.
|
String |
ResourceBundle.getBaseBundleName()
Returns the base name of this bundle, if known, or
null if unknown. |
String |
GregorianCalendar.getCalendarType()
Returns
"gregory" as the calendar type. |
String |
Calendar.getCalendarType()
Returns the calendar type of this
Calendar . |
String |
MissingResourceException.getClassName()
Gets parameter passed by constructor.
|
String |
UnknownFormatConversionException.getConversion()
Returns the unknown conversion.
|
String |
Locale.getCountry()
Returns the country/region code for this locale, which should
either be the empty string, an uppercase ISO 3166 2-letter code,
or a UN M.49 3-digit code.
|
String |
Currency.getCurrencyCode()
Gets the ISO 4217 currency code of this currency.
|
String |
Locale.getDisplayCountry()
Returns a name for the locale's country that is appropriate for display to the
user.
|
String |
Locale.getDisplayCountry(Locale inLocale)
Returns a name for the locale's country that is appropriate for display to the
user.
|
String |
Locale.getDisplayLanguage()
Returns a name for the locale's language that is appropriate for display to the
user.
|
String |
Locale.getDisplayLanguage(Locale inLocale)
Returns a name for the locale's language that is appropriate for display to the
user.
|
String |
Locale.getDisplayName()
Returns a name for the locale that is appropriate for display to the
user.
|
String |
TimeZone.getDisplayName()
Returns a long standard time name of this
TimeZone suitable for
presentation to the user in the default locale. |
String |
Currency.getDisplayName()
Gets the name that is suitable for displaying this currency for
the default
DISPLAY locale. |
String |
TimeZone.getDisplayName(boolean daylight,
int style)
Returns a name in the specified
style of this TimeZone
suitable for presentation to the user in the default locale. |
String |
TimeZone.getDisplayName(boolean daylight,
int style,
Locale locale)
Returns a name in the specified
style of this TimeZone
suitable for presentation to the user in the specified locale . |
String |
Calendar.getDisplayName(int field,
int style,
Locale locale)
Returns the string representation of the calendar
field value in the given style and
locale . |
String |
Locale.getDisplayName(Locale inLocale)
Returns a name for the locale that is appropriate for display
to the user.
|
String |
TimeZone.getDisplayName(Locale locale)
Returns a long standard time name of this
TimeZone suitable for
presentation to the user in the specified locale . |
String |
Currency.getDisplayName(Locale locale)
Gets the name that is suitable for displaying this currency for
the specified locale.
|
String |
Locale.getDisplayScript()
Returns a name for the the locale's script that is appropriate for display to
the user.
|
String |
Locale.getDisplayScript(Locale inLocale)
Returns a name for the locale's script that is appropriate
for display to the user.
|
String |
Locale.getDisplayVariant()
Returns a name for the locale's variant code that is appropriate for display to the
user.
|
String |
Locale.getDisplayVariant(Locale inLocale)
Returns a name for the locale's variant code that is appropriate for display to the
user.
|
String |
Locale.getExtension(char key)
Returns the extension (or private use) value associated with
the specified key, or null if there is no extension
associated with the key.
|
String |
DuplicateFormatFlagsException.getFlags()
Returns the set of flags which contains a duplicate flag.
|
String |
IllegalFormatFlagsException.getFlags()
Returns the set of flags which contains an illegal combination.
|
String |
UnknownFormatFlagsException.getFlags()
Returns the set of flags which contains an unknown flag.
|
String |
FormatFlagsConversionMismatchException.getFlags()
Returns the incompatible flag.
|
String |
MissingFormatWidthException.getFormatSpecifier()
Returns the format specifier which does not have a width.
|
String |
MissingFormatArgumentException.getFormatSpecifier()
Returns the unmatched format specifier.
|
String |
TimeZone.getID()
Gets the ID of this time zone.
|
String |
Locale.getISO3Country()
Returns a three-letter abbreviation for this locale's country.
|
String |
Locale.getISO3Language()
Returns a three-letter abbreviation of this locale's language.
|
static String[] |
Locale.getISOCountries()
Returns a list of all 2-letter country codes defined in ISO 3166.
|
static String[] |
Locale.getISOLanguages()
Returns a list of all 2-letter language codes defined in ISO 639.
|
String |
MissingResourceException.getKey()
Gets parameter passed by constructor.
|
String |
Locale.getLanguage()
Returns the language code of this Locale.
|
String |
DuplicateFormatFlagsException.getMessage() |
String |
IllegalFormatCodePointException.getMessage() |
String |
IllegalFormatPrecisionException.getMessage() |
String |
IllegalFormatConversionException.getMessage() |
String |
MissingFormatWidthException.getMessage() |
String |
UnknownFormatConversionException.getMessage() |
String |
IllegalFormatWidthException.getMessage() |
String |
IllegalFormatFlagsException.getMessage() |
String |
UnknownFormatFlagsException.getMessage() |
String |
FormatFlagsConversionMismatchException.getMessage() |
String |
MissingFormatArgumentException.getMessage() |
String |
Properties.getProperty(String key)
Searches for the property with the specified key in this property list.
|
String |
Properties.getProperty(String key,
String defaultValue)
Searches for the property with the specified key in this property list.
|
String |
Locale.LanguageRange.getRange()
Returns the language range of this
LanguageRange . |
String |
Locale.getScript()
Returns the script for this locale, which should
either be the empty string or an ISO 15924 4-letter script
code.
|
String |
ResourceBundle.getString(String key)
Gets a string for the given key from this resource bundle or one of its parents.
|
String[] |
ResourceBundle.getStringArray(String key)
Gets a string array for the given key from this resource bundle or one of its parents.
|
String |
Currency.getSymbol()
Gets the symbol of this currency for the default
DISPLAY locale. |
String |
Currency.getSymbol(Locale locale)
Gets the symbol of this currency for the specified locale.
|
String |
Locale.getUnicodeLocaleType(String key)
Returns the Unicode locale type associated with the specified Unicode locale key
for this locale.
|
String |
Locale.getVariant()
Returns the variant code for this locale.
|
static String |
Locale.lookupTag(List<Locale.LanguageRange> priorityList,
Collection<String> tags)
Returns the best-matching language tag using the lookup mechanism
defined in RFC 4647.
|
String |
Scanner.next()
Finds and returns the next complete token from this scanner.
|
String |
Scanner.next(Pattern pattern)
Returns the next token if it matches the specified pattern.
|
String |
Scanner.next(String pattern)
Returns the next token if it matches the pattern constructed from the
specified string.
|
String |
Scanner.nextLine()
Advances this scanner past the current line and returns the input
that was skipped.
|
String |
StringTokenizer.nextToken()
Returns the next token from this string tokenizer.
|
String |
StringTokenizer.nextToken(String delim)
Returns the next token in this string tokenizer's string.
|
String |
ResourceBundle.Control.toBundleName(String baseName,
Locale locale)
Converts the given
baseName and locale
to the bundle name. |
String |
Date.toGMTString()
Deprecated.
As of JDK version 1.1,
replaced by
DateFormat.format(Date date) , using a
GMT TimeZone . |
String |
Locale.toLanguageTag()
Returns a well-formed IETF BCP 47 language tag representing
this locale.
|
String |
Date.toLocaleString()
Deprecated.
As of JDK version 1.1,
replaced by
DateFormat.format(Date date) . |
String |
ResourceBundle.Control.toResourceName(String bundleName,
String suffix)
Converts the given
bundleName to the form required
by the ClassLoader.getResource
method by replacing all occurrences of '.' |
String |
Optional.toString()
Returns a non-empty string representation of this Optional suitable for
debugging.
|
String |
Formatter.toString()
Returns the result of invoking
toString() on the destination
for the output. |
String |
UUID.toString()
Returns a
String object representing this UUID . |
String |
Scanner.toString()
Returns the string representation of this
Scanner . |
String |
OptionalInt.toString()
Returns a string representation of the object.
|
String |
OptionalDouble.toString()
Returns a string representation of the object.
|
String |
Locale.toString()
Returns a string representation of this
Locale
object, consisting of language, country, variant, script,
and extensions as below:
language + "_" + country + "_" + (variant + "_#" | "#") + script + "-" + extensions
Language is always lower case, country is always upper case, script is always title
case, and extensions are always lower case. |
String |
LongSummaryStatistics.toString() |
String |
SimpleTimeZone.toString()
Returns a string representation of this time zone.
|
String |
Hashtable.toString()
Returns a string representation of this Hashtable object
in the form of a set of entries, enclosed in braces and separated
by the ASCII characters ", " (comma and space).
|
String |
Vector.toString()
Returns a string representation of this Vector, containing
the String representation of each element.
|
String |
AbstractCollection.toString()
Returns a string representation of this collection.
|
String |
DoubleSummaryStatistics.toString()
Returns a string representation of the object.
|
String |
BitSet.toString()
Returns a string representation of this bit set.
|
String |
StringJoiner.toString()
Returns the current value, consisting of the
prefix , the values
added so far separated by the delimiter , and the suffix ,
unless no elements have been added in which case, the
prefix + suffix or the emptyValue characters are returned |
String |
EventObject.toString()
Returns a String representation of this EventObject.
|
String |
Date.toString()
Converts this
Date object to a String
of the form:
dow mon dd hh:mm:ss zzz yyyy
where:
dow is the day of the week (Sun, Mon, Tue, Wed,
Thu, Fri, Sat). |
String |
OptionalLong.toString()
Returns a string representation of the object.
|
String |
ServiceLoader.toString()
Returns a string describing this service.
|
String |
Currency.toString()
Returns the ISO 4217 currency code of this currency.
|
String |
IntSummaryStatistics.toString() |
String |
Calendar.toString()
Return a string representation of this calendar.
|
String |
AbstractMap.toString()
Returns a string representation of this map.
|
String |
AbstractMap.SimpleEntry.toString()
Returns a String representation of this map entry.
|
String |
AbstractMap.SimpleImmutableEntry.toString()
Returns a String representation of this map entry.
|
static String |
Arrays.toString(boolean[] a)
Returns a string representation of the contents of the specified array.
|
static String |
Arrays.toString(byte[] a)
Returns a string representation of the contents of the specified array.
|
static String |
Arrays.toString(char[] a)
Returns a string representation of the contents of the specified array.
|
static String |
Arrays.toString(double[] a)
Returns a string representation of the contents of the specified array.
|
static String |
Arrays.toString(float[] a)
Returns a string representation of the contents of the specified array.
|
static String |
Arrays.toString(int[] a)
Returns a string representation of the contents of the specified array.
|
static String |
Arrays.toString(long[] a)
Returns a string representation of the contents 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. |
static String |
Arrays.toString(short[] a)
Returns a string representation of the contents of the specified array.
|
Modifier and Type | Method and Description |
---|---|
static List<String> |
Locale.filterTags(List<Locale.LanguageRange> priorityList,
Collection<String> tags)
Returns a list of matching languages tags using the basic filtering
mechanism defined in RFC 4647.
|
static List<String> |
Locale.filterTags(List<Locale.LanguageRange> priorityList,
Collection<String> tags,
Locale.FilteringMode mode)
Returns a list of matching languages tags using the basic filtering
mechanism defined in RFC 4647.
|
static Set<String> |
Calendar.getAvailableCalendarTypes()
Returns an unmodifiable
Set containing all calendar types
supported by Calendar in the runtime environment. |
Map<String,Integer> |
Calendar.getDisplayNames(int field,
int style,
Locale locale)
Returns a
Map containing all names of the calendar
field in the given style and
locale and their corresponding field values. |
List<String> |
ResourceBundle.Control.getFormats(String baseName)
Returns a
List of String s containing
formats to be used to load resource bundles for the given
baseName . |
abstract Enumeration<String> |
ResourceBundle.getKeys()
Returns an enumeration of the keys.
|
Enumeration<String> |
ListResourceBundle.getKeys()
Returns an
Enumeration of the keys contained in
this ResourceBundle and its parent bundles. |
Enumeration<String> |
PropertyResourceBundle.getKeys()
Returns an
Enumeration of the keys contained in
this ResourceBundle and its parent bundles. |
Set<String> |
Locale.getUnicodeLocaleAttributes()
Returns the set of unicode locale attributes associated with
this locale, or the empty set if it has no attributes.
|
Set<String> |
Locale.getUnicodeLocaleKeys()
Returns the set of Unicode locale keys defined by this locale, or the empty set if
this locale has none.
|
protected Set<String> |
ResourceBundle.handleKeySet()
Returns a
Set of the keys contained only
in this ResourceBundle . |
protected Set<String> |
ListResourceBundle.handleKeySet()
Returns a
Set of the keys contained
only in this ResourceBundle . |
protected Set<String> |
PropertyResourceBundle.handleKeySet()
Returns a
Set of the keys contained
only in this ResourceBundle . |
Set<String> |
ResourceBundle.keySet()
Returns a
Set of all keys contained in this
ResourceBundle and its parent bundles. |
Set<String> |
Properties.stringPropertyNames()
Returns a set of keys in this property list where
the key and its corresponding value are strings,
including distinct keys in the default property list if a key
of the same name has not already been found from the main
properties list.
|
Modifier and Type | Method and Description |
---|---|
Locale.Builder |
Locale.Builder.addUnicodeLocaleAttribute(String attribute)
Adds a unicode locale attribute, if not already present, otherwise
has no effect.
|
boolean |
ResourceBundle.containsKey(String key)
Determines whether the given
key is contained in
this ResourceBundle or its parent bundles. |
byte[] |
Base64.Decoder.decode(String src)
Decodes a Base64 encoded String into a newly-allocated byte array
using the
Base64 encoding scheme. |
String |
Scanner.findInLine(String pattern)
Attempts to find the next occurrence of a pattern constructed from the
specified string, ignoring delimiters.
|
String |
Scanner.findWithinHorizon(String pattern,
int horizon)
Attempts to find the next occurrence of a pattern constructed from the
specified string, ignoring delimiters.
|
static Locale |
Locale.forLanguageTag(String languageTag)
Returns a locale for the specified IETF BCP 47 language tag string.
|
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 UUID |
UUID.fromString(String name)
Creates a
UUID from the string standard representation as
described in the UUID.toString() method. |
static ResourceBundle |
ResourceBundle.getBundle(String baseName)
Gets a resource bundle using the specified base name, the default locale,
and the caller's class loader.
|
static ResourceBundle |
ResourceBundle.getBundle(String baseName,
Locale locale)
Gets a resource bundle using the specified base name and locale,
and the caller's class loader.
|
static ResourceBundle |
ResourceBundle.getBundle(String baseName,
Locale locale,
ClassLoader loader)
Gets a resource bundle using the specified base name, locale, and class
loader.
|
static ResourceBundle |
ResourceBundle.getBundle(String baseName,
Locale targetLocale,
ClassLoader loader,
ResourceBundle.Control control)
Returns a resource bundle using the specified base name, target
locale, class loader and control.
|
static ResourceBundle |
ResourceBundle.getBundle(String baseName,
Locale targetLocale,
ResourceBundle.Control control)
Returns a resource bundle using the specified base name, target
locale and control, and the caller's class loader.
|
static ResourceBundle |
ResourceBundle.getBundle(String baseName,
ResourceBundle.Control control)
Returns a resource bundle using the specified base name, the
default locale and the specified control.
|
List<Locale> |
ResourceBundle.Control.getCandidateLocales(String baseName,
Locale locale)
Returns a
List of Locale s as candidate
locales for baseName and locale . |
Locale |
ResourceBundle.Control.getFallbackLocale(String baseName,
Locale locale)
Returns a
Locale to be used as a fallback locale for
further resource bundle searches by the
ResourceBundle.getBundle factory method. |
List<String> |
ResourceBundle.Control.getFormats(String baseName)
Returns a
List of String s containing
formats to be used to load resource bundles for the given
baseName . |
static Currency |
Currency.getInstance(String currencyCode)
Returns the
Currency instance for the given currency code. |
Object |
ResourceBundle.getObject(String key)
Gets an object for the given key from this resource bundle or one of its parents.
|
String |
Properties.getProperty(String key)
Searches for the property with the specified key in this property list.
|
String |
Properties.getProperty(String key,
String defaultValue)
Searches for the property with the specified key in this property list.
|
String |
ResourceBundle.getString(String key)
Gets a string for the given key from this resource bundle or one of its parents.
|
String[] |
ResourceBundle.getStringArray(String key)
Gets a string array for the given key from this resource bundle or one of its parents.
|
long |
ResourceBundle.Control.getTimeToLive(String baseName,
Locale locale)
Returns the time-to-live (TTL) value for resource bundles that
are loaded under this
ResourceBundle.Control . |
static TimeZone |
TimeZone.getTimeZone(String ID)
Gets the
TimeZone for the given ID. |
String |
Locale.getUnicodeLocaleType(String key)
Returns the Unicode locale type associated with the specified Unicode locale key
for this locale.
|
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) |
boolean |
Scanner.hasNext(String pattern)
Returns true if the next token matches the pattern constructed from the
specified string.
|
boolean |
ResourceBundle.Control.needsReload(String baseName,
Locale locale,
String format,
ClassLoader loader,
ResourceBundle bundle,
long loadTime)
Determines if the expired
bundle in the cache needs
to be reloaded based on the loading time given by
loadTime or some other criteria. |
ResourceBundle |
ResourceBundle.Control.newBundle(String baseName,
Locale locale,
String format,
ClassLoader loader,
boolean reload)
Instantiates a resource bundle for the given bundle name of the
given format and locale, using the given class loader if
necessary.
|
String |
Scanner.next(String pattern)
Returns the next token if it matches the pattern constructed from the
specified string.
|
String |
StringTokenizer.nextToken(String delim)
Returns the next token in this string tokenizer's string.
|
static List<Locale.LanguageRange> |
Locale.LanguageRange.parse(String ranges)
Parses the given
ranges to generate a Language Priority List. |
static long |
Date.parse(String s)
Deprecated.
As of JDK version 1.1,
replaced by
DateFormat.parse(String s) . |
static List<Locale.LanguageRange> |
Locale.LanguageRange.parse(String ranges,
Map<String,List<String>> map)
Parses the given
ranges to generate a Language Priority
List, and then customizes the list using the given map . |
Locale.Builder |
Locale.Builder.removeUnicodeLocaleAttribute(String attribute)
Removes a unicode locale attribute, if present, otherwise has no
effect.
|
static <T> T |
Objects.requireNonNull(T obj,
String message)
Checks that the specified object reference is not
null and
throws a customized NullPointerException if it is. |
void |
Properties.save(OutputStream out,
String comments)
Deprecated.
This method does not throw an IOException if an I/O error
occurs while saving the property list. The preferred way to save a
properties list is via the
store(OutputStream out,
String comments) method or the
storeToXML(OutputStream os, String comment) method. |
Calendar.Builder |
Calendar.Builder.setCalendarType(String type)
Sets the calendar type parameter to the given
type . |
Locale.Builder |
Locale.Builder.setExtension(char key,
String value)
Sets the extension for the given key.
|
void |
TimeZone.setID(String ID)
Sets the time zone ID.
|
Locale.Builder |
Locale.Builder.setLanguage(String language)
Sets the language.
|
Locale.Builder |
Locale.Builder.setLanguageTag(String languageTag)
Resets the Builder to match the provided IETF BCP 47
language tag.
|
Object |
Properties.setProperty(String key,
String value)
Calls the Hashtable method
put . |
Locale.Builder |
Locale.Builder.setRegion(String region)
Sets the region.
|
Locale.Builder |
Locale.Builder.setScript(String script)
Sets the script.
|
Locale.Builder |
Locale.Builder.setUnicodeLocaleKeyword(String key,
String type)
Sets the Unicode locale keyword type for the given key.
|
Locale.Builder |
Locale.Builder.setVariant(String variant)
Sets the variant.
|
Scanner |
Scanner.skip(String pattern)
Skips input that matches a pattern constructed from the specified
string.
|
void |
Properties.store(OutputStream out,
String comments)
Writes this property list (key and element pairs) in this
Properties table to the output stream in a format suitable
for loading into a Properties table using the
load(InputStream) method. |
void |
Properties.store(Writer writer,
String comments)
Writes this property list (key and element pairs) in this
Properties table to the output character stream in a
format suitable for using the load(Reader)
method. |
void |
Properties.storeToXML(OutputStream os,
String comment)
Emits an XML document representing all of the properties contained
in this table.
|
void |
Properties.storeToXML(OutputStream os,
String comment,
String encoding)
Emits an XML document representing all of the properties contained
in this table, using the specified encoding.
|
String |
ResourceBundle.Control.toBundleName(String baseName,
Locale locale)
Converts the given
baseName and locale
to the bundle name. |
String |
ResourceBundle.Control.toResourceName(String bundleName,
String suffix)
Converts the given
bundleName to the form required
by the ClassLoader.getResource
method by replacing all occurrences of '.' |
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. |
Scanner |
Scanner.useDelimiter(String pattern)
Sets this scanner's delimiting pattern to a pattern constructed from
the specified
String . |
static Formatter.BigDecimalLayoutForm |
Formatter.BigDecimalLayoutForm.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Locale.Category |
Locale.Category.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Locale.FilteringMode |
Locale.FilteringMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
Modifier and Type | Method and Description |
---|---|
static List<String> |
Locale.filterTags(List<Locale.LanguageRange> priorityList,
Collection<String> tags)
Returns a list of matching languages tags using the basic filtering
mechanism defined in RFC 4647.
|
static List<String> |
Locale.filterTags(List<Locale.LanguageRange> priorityList,
Collection<String> tags,
Locale.FilteringMode mode)
Returns a list of matching languages tags using the basic filtering
mechanism defined in RFC 4647.
|
static ResourceBundle.Control |
ResourceBundle.Control.getControl(List<String> formats)
|
static ResourceBundle.Control |
ResourceBundle.Control.getNoFallbackControl(List<String> formats)
Returns a
ResourceBundle.Control in which the getFormats method returns the specified
formats and the getFallbackLocale
method returns null . |
static String |
Locale.lookupTag(List<Locale.LanguageRange> priorityList,
Collection<String> tags)
Returns the best-matching language tag using the lookup mechanism
defined in RFC 4647.
|
static List<Locale.LanguageRange> |
Locale.LanguageRange.mapEquivalents(List<Locale.LanguageRange> priorityList,
Map<String,List<String>> map)
Generates a new customized Language Priority List using the given
priorityList and map . |
static List<Locale.LanguageRange> |
Locale.LanguageRange.mapEquivalents(List<Locale.LanguageRange> priorityList,
Map<String,List<String>> map)
Generates a new customized Language Priority List using the given
priorityList and map . |
static List<Locale.LanguageRange> |
Locale.LanguageRange.parse(String ranges,
Map<String,List<String>> map)
Parses the given
ranges to generate a Language Priority
List, and then customizes the list using the given map . |
static List<Locale.LanguageRange> |
Locale.LanguageRange.parse(String ranges,
Map<String,List<String>> map)
Parses the given
ranges to generate a Language Priority
List, and then customizes the list using the given map . |
static <T> T |
Objects.requireNonNull(T obj,
Supplier<String> messageSupplier)
Checks that the specified object reference is not
null and
throws a customized NullPointerException if it is. |
Constructor and Description |
---|
ConcurrentModificationException(String message)
Constructs a
ConcurrentModificationException with the
specified detail message. |
ConcurrentModificationException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and
cause.
|
Date(String s)
Deprecated.
As of JDK version 1.1,
replaced by
DateFormat.parse(String s) . |
DuplicateFormatFlagsException(String f)
Constructs an instance of this class with the specified flags.
|
FormatFlagsConversionMismatchException(String f,
char c)
Constructs an instance of this class with the specified flag
and conversion.
|
Formatter(File file,
String csn)
Constructs a new formatter with the specified file and charset.
|
Formatter(File file,
String csn,
Locale l)
Constructs a new formatter with the specified file, charset, and
locale.
|
Formatter(OutputStream os,
String csn)
Constructs a new formatter with the specified output stream and
charset.
|
Formatter(OutputStream os,
String csn,
Locale l)
Constructs a new formatter with the specified output stream, charset,
and locale.
|
Formatter(String fileName)
Constructs a new formatter with the specified file name.
|
Formatter(String fileName,
String csn)
Constructs a new formatter with the specified file name and charset.
|
Formatter(String fileName,
String csn,
Locale l)
Constructs a new formatter with the specified file name, charset, and
locale.
|
IllegalFormatFlagsException(String f)
Constructs an instance of this class with the specified flags.
|
IllformedLocaleException(String message)
Constructs a new
IllformedLocaleException with the
given message and -1 as the error index. |
IllformedLocaleException(String message,
int errorIndex)
Constructs a new
IllformedLocaleException with the
given message and the error index. |
InputMismatchException(String s)
Constructs an
InputMismatchException , saving a reference
to the error message string s for later retrieval by the
getMessage method. |
InvalidPropertiesFormatException(String message)
Constructs an InvalidPropertiesFormatException with the specified
detail message.
|
LanguageRange(String range)
Constructs a
LanguageRange using the given range . |
LanguageRange(String range,
double weight)
Constructs a
LanguageRange using the given range and
weight . |
Locale(String language)
Construct a locale from a language code.
|
Locale(String language,
String country)
Construct a locale from language and country.
|
Locale(String language,
String country,
String variant)
Construct a locale from language, country and variant.
|
MissingFormatArgumentException(String s)
Constructs an instance of this class with the unmatched format
specifier.
|
MissingFormatWidthException(String s)
Constructs an instance of this class with the specified format
specifier.
|
MissingResourceException(String s,
String className,
String key)
Constructs a MissingResourceException with the specified information.
|
NoSuchElementException(String s)
Constructs a
NoSuchElementException , saving a reference
to the error message string s for later retrieval by the
getMessage method. |
PropertyPermission(String name,
String actions)
Creates a new PropertyPermission object with the specified name.
|
Scanner(File source,
String charsetName)
Constructs a new
Scanner that produces values scanned
from the specified file. |
Scanner(InputStream source,
String charsetName)
Constructs a new
Scanner that produces values scanned
from the specified input stream. |
Scanner(Path source,
String charsetName)
Constructs a new
Scanner that produces values scanned
from the specified file. |
Scanner(ReadableByteChannel source,
String charsetName)
Constructs a new
Scanner that produces values scanned
from the specified channel. |
Scanner(String source)
Constructs a new
Scanner that produces values scanned
from the specified string. |
ServiceConfigurationError(String msg)
Constructs a new instance with the specified message.
|
ServiceConfigurationError(String msg,
Throwable cause)
Constructs a new instance with the specified message and cause.
|
SimpleTimeZone(int rawOffset,
String ID)
Constructs a SimpleTimeZone with the given base time zone offset from GMT
and time zone ID with no daylight saving time schedule.
|
SimpleTimeZone(int rawOffset,
String ID,
int startMonth,
int startDay,
int startDayOfWeek,
int startTime,
int endMonth,
int endDay,
int endDayOfWeek,
int endTime)
Constructs a SimpleTimeZone with the given base time zone offset from
GMT, time zone ID, and rules for starting and ending the daylight
time.
|
SimpleTimeZone(int rawOffset,
String ID,
int startMonth,
int startDay,
int startDayOfWeek,
int startTime,
int endMonth,
int endDay,
int endDayOfWeek,
int endTime,
int dstSavings)
Constructs a SimpleTimeZone with the given base time zone offset from
GMT, time zone ID, and rules for starting and ending the daylight
time.
|
SimpleTimeZone(int rawOffset,
String ID,
int startMonth,
int startDay,
int startDayOfWeek,
int startTime,
int startTimeMode,
int endMonth,
int endDay,
int endDayOfWeek,
int endTime,
int endTimeMode,
int dstSavings)
Constructs a SimpleTimeZone with the given base time zone offset from
GMT, time zone ID, and rules for starting and ending the daylight
time.
|
StringTokenizer(String str)
Constructs a string tokenizer for the specified string.
|
StringTokenizer(String str,
String delim)
Constructs a string tokenizer for the specified string.
|
StringTokenizer(String str,
String delim,
boolean returnDelims)
Constructs a string tokenizer for the specified string.
|
Timer(String name)
Creates a new timer whose associated thread has the specified name.
|
Timer(String name,
boolean isDaemon)
Creates a new timer whose associated thread has the specified name,
and may be specified to
run as a daemon.
|
TooManyListenersException(String s)
Constructs a TooManyListenersException with the specified detail message.
|
UnknownFormatConversionException(String s)
Constructs an instance of this class with the unknown conversion.
|
UnknownFormatFlagsException(String f)
Constructs an instance of this class with the specified flags.
|
Modifier and Type | Method and Description |
---|---|
String |
PriorityBlockingQueue.toString() |
String |
ArrayBlockingQueue.toString() |
String |
CompletableFuture.toString()
Returns a string identifying this CompletableFuture, as well as
its completion state.
|
String |
Semaphore.toString()
Returns a string identifying this semaphore, as well as its state.
|
String |
LinkedBlockingDeque.toString() |
String |
ThreadPoolExecutor.toString()
Returns a string identifying this pool, as well as its state,
including indications of run state and estimated worker and
task counts.
|
String |
ConcurrentHashMap.toString()
Returns a string representation of this map.
|
String |
LinkedBlockingQueue.toString() |
String |
CountDownLatch.toString()
Returns a string identifying this latch, as well as its state.
|
String |
ForkJoinPool.toString()
Returns a string identifying this pool, as well as its state,
including indications of run state, parallelism level, and
worker and task counts.
|
String |
CopyOnWriteArrayList.toString()
Returns a string representation of this list.
|
String |
Phaser.toString()
Returns a string identifying this phaser, as well as its
state.
|
Modifier and Type | Method and Description |
---|---|
static TimeUnit |
TimeUnit.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
Constructor and Description |
---|
BrokenBarrierException(String message)
Constructs a
BrokenBarrierException with the specified
detail message. |
CancellationException(String message)
Constructs a
CancellationException with the specified detail
message. |
CompletionException(String message)
Constructs a
CompletionException with the specified detail
message. |
CompletionException(String message,
Throwable cause)
Constructs a
CompletionException with the specified detail
message and cause. |
ExecutionException(String message)
Constructs an
ExecutionException with the specified detail
message. |
ExecutionException(String message,
Throwable cause)
Constructs an
ExecutionException with the specified detail
message and cause. |
RejectedExecutionException(String message)
Constructs a
RejectedExecutionException with the
specified detail message. |
RejectedExecutionException(String message,
Throwable cause)
Constructs a
RejectedExecutionException with the
specified detail message and cause. |
TimeoutException(String message)
Constructs a
TimeoutException with the specified detail
message. |
Modifier and Type | Method and Description |
---|---|
String |
DoubleAccumulator.toString()
Returns the String representation of the current value.
|
String |
AtomicInteger.toString()
Returns the String representation of the current value.
|
String |
LongAdder.toString()
Returns the String representation of the
LongAdder.sum() . |
String |
AtomicLongArray.toString()
Returns the String representation of the current values of array.
|
String |
AtomicLong.toString()
Returns the String representation of the current value.
|
String |
AtomicIntegerArray.toString()
Returns the String representation of the current values of array.
|
String |
LongAccumulator.toString()
Returns the String representation of the current value.
|
String |
AtomicBoolean.toString()
Returns the String representation of the current value.
|
String |
AtomicReferenceArray.toString()
Returns the String representation of the current values of array.
|
String |
DoubleAdder.toString()
Returns the String representation of the
DoubleAdder.sum() . |
String |
AtomicReference.toString()
Returns the String representation of the current value.
|
Modifier and Type | Method and Description |
---|---|
static <U,W> AtomicReferenceFieldUpdater<U,W> |
AtomicReferenceFieldUpdater.newUpdater(Class<U> tclass,
Class<W> vclass,
String fieldName)
Creates and returns an updater for objects with the given field.
|
static <U> AtomicLongFieldUpdater<U> |
AtomicLongFieldUpdater.newUpdater(Class<U> tclass,
String fieldName)
Creates and returns an updater for objects with the given field.
|
static <U> AtomicIntegerFieldUpdater<U> |
AtomicIntegerFieldUpdater.newUpdater(Class<U> tclass,
String fieldName)
Creates and returns an updater for objects with the given field.
|
Modifier and Type | Method and Description |
---|---|
String |
AbstractQueuedLongSynchronizer.toString()
Returns a string identifying this synchronizer, as well as its state.
|
String |
ReentrantLock.toString()
Returns a string identifying this lock, as well as its lock state.
|
String |
ReentrantReadWriteLock.toString()
Returns a string identifying this lock, as well as its lock state.
|
String |
ReentrantReadWriteLock.ReadLock.toString()
Returns a string identifying this lock, as well as its lock state.
|
String |
ReentrantReadWriteLock.WriteLock.toString()
Returns a string identifying this lock, as well as its lock
state.
|
String |
StampedLock.toString()
Returns a string identifying this lock, as well as its lock
state.
|
String |
AbstractQueuedSynchronizer.toString()
Returns a string identifying this synchronizer, as well as its state.
|
Modifier and Type | Field and Description |
---|---|
static String |
Pack200.Packer.CLASS_ATTRIBUTE_PFX
When concatenated with a class attribute name,
indicates the format of that attribute,
using the layout language specified in the JSR 200 specification.
|
static String |
Pack200.Packer.CODE_ATTRIBUTE_PFX
When concatenated with a code attribute name,
indicates the format of that attribute.
|
static String |
Pack200.Packer.DEFLATE_HINT
If this property is set to
Pack200.Packer.TRUE or Pack200.Packer.FALSE , the packer
will set the deflation hint accordingly in the output archive, and
will not transmit the individual deflation hints of archive elements. |
static String |
Pack200.Unpacker.DEFLATE_HINT
Property indicating that the unpacker should
ignore all transmitted values for DEFLATE_HINT,
replacing them by the given value,
Pack200.Unpacker.TRUE or Pack200.Unpacker.FALSE . |
static String |
Pack200.Packer.EFFORT
If this property is set to a single decimal digit, the packer will
use the indicated amount of effort in compressing the archive.
|
static String |
Pack200.Packer.ERROR
The string "error", a possible value for certain properties.
|
static String |
Pack200.Packer.FALSE
The string "false", a possible value for certain properties.
|
static String |
Pack200.Unpacker.FALSE
The string "false", a possible value for certain properties.
|
static String |
Pack200.Packer.FIELD_ATTRIBUTE_PFX
When concatenated with a field attribute name,
indicates the format of that attribute.
|
static String |
Pack200.Packer.KEEP
The string "keep", a possible value for certain properties.
|
static String |
Pack200.Unpacker.KEEP
The string "keep", a possible value for certain properties.
|
static String |
Pack200.Packer.KEEP_FILE_ORDER
If this property is set to
Pack200.Packer.TRUE , the packer will transmit
all elements in their original order within the source archive. |
static String |
Pack200.Packer.LATEST
The string "latest", a possible value for certain properties.
|
static String |
JarFile.MANIFEST_NAME
The JAR manifest file name.
|
static String |
Pack200.Packer.METHOD_ATTRIBUTE_PFX
When concatenated with a method attribute name,
indicates the format of that attribute.
|
static String |
Pack200.Packer.MODIFICATION_TIME
If this property is set to the special string
Pack200.Packer.LATEST ,
the packer will attempt to determine the latest modification time,
among all the available entries in the original archive or the latest
modification time of all the available entries in each segment. |
static String |
Pack200.Packer.PASS
The string "pass", a possible value for certain properties.
|
static String |
Pack200.Packer.PASS_FILE_PFX
Indicates that a file should be passed through bytewise, with no
compression.
|
static String |
Pack200.Packer.PROGRESS
The unpacker's progress as a percentage, as periodically
updated by the unpacker.
|
static String |
Pack200.Unpacker.PROGRESS
The unpacker's progress as a percentage, as periodically
updated by the unpacker.
|
static String |
Pack200.Packer.SEGMENT_LIMIT
This property is a numeral giving the estimated target size N
(in bytes) of each archive segment.
|
static String |
Pack200.Packer.STRIP
The string "strip", a possible value for certain properties.
|
static String |
Pack200.Packer.TRUE
The string "true", a possible value for certain properties.
|
static String |
Pack200.Unpacker.TRUE
The string "true", a possible value for certain properties.
|
static String |
Pack200.Packer.UNKNOWN_ATTRIBUTE
Indicates the action to take when a class-file containing an unknown
attribute is encountered.
|
Modifier and Type | Method and Description |
---|---|
String |
Attributes.getValue(Attributes.Name name)
Returns the value of the specified Attributes.Name, or null if the
attribute was not found.
|
String |
Attributes.getValue(String name)
Returns the value of the specified attribute name, specified as
a string, or null if the attribute was not found.
|
String |
Attributes.putValue(String name,
String value)
Associates the specified value with the specified attribute name,
specified as a String.
|
String |
Attributes.Name.toString()
Returns the attribute name as a String.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Attributes> |
Manifest.getEntries()
Returns a Map of the entries contained in this Manifest.
|
SortedMap<String,String> |
Pack200.Packer.properties()
Get the set of this engine's properties.
|
SortedMap<String,String> |
Pack200.Packer.properties()
Get the set of this engine's properties.
|
SortedMap<String,String> |
Pack200.Unpacker.properties()
Get the set of this engine's properties.
|
SortedMap<String,String> |
Pack200.Unpacker.properties()
Get the set of this engine's properties.
|
Modifier and Type | Method and Description |
---|---|
protected ZipEntry |
JarInputStream.createZipEntry(String name)
Creates a new
JarEntry (ZipEntry ) for the
specified JAR file entry name. |
Attributes |
Manifest.getAttributes(String name)
Returns the Attributes for the specified entry name.
|
ZipEntry |
JarFile.getEntry(String name)
Returns the
ZipEntry for the given entry name or
null if not found. |
JarEntry |
JarFile.getJarEntry(String name)
Returns the
JarEntry for the given entry name or
null if not found. |
String |
Attributes.getValue(String name)
Returns the value of the specified attribute name, specified as
a string, or null if the attribute was not found.
|
String |
Attributes.putValue(String name,
String value)
Associates the specified value with the specified attribute name,
specified as a String.
|
Constructor and Description |
---|
JarEntry(String name)
Creates a new
JarEntry for the specified JAR file
entry name. |
JarException(String s)
Constructs a JarException with the specified detail message.
|
JarFile(String name)
Creates a new
JarFile to read from the specified
file name . |
JarFile(String name,
boolean verify)
Creates a new
JarFile to read from the specified
file name . |
Name(String name)
Constructs a new attribute name using the given string name.
|
Modifier and Type | Field and Description |
---|---|
static String |
Logger.GLOBAL_LOGGER_NAME
GLOBAL_LOGGER_NAME is a name for the global logger.
|
static String |
LogManager.LOGGING_MXBEAN_NAME
String representation of the
ObjectName for the management interface
for the logging facility. |
Modifier and Type | Method and Description |
---|---|
abstract String |
Formatter.format(LogRecord record)
Format the given log record and return the formatted string.
|
String |
SimpleFormatter.format(LogRecord record)
Format the given LogRecord.
|
String |
XMLFormatter.format(LogRecord record)
Format the given message to XML.
|
String |
Formatter.formatMessage(LogRecord record)
Localize and format the message string from a log record.
|
String |
Handler.getEncoding()
Return the character encoding for this Handler.
|
String |
Formatter.getHead(Handler h)
Return the header string for a set of formatted records.
|
String |
XMLFormatter.getHead(Handler h)
Return the header string for a set of XML formatted records.
|
String |
Level.getLocalizedName()
Return the localized string name of the Level, for
the current default locale.
|
String |
LoggingMXBean.getLoggerLevel(String loggerName)
Gets the name of the log level associated with the specified logger.
|
String |
LogRecord.getLoggerName()
Get the source Logger's name.
|
String |
LogRecord.getMessage()
Get the "raw" log message, before localization or formatting.
|
String |
Logger.getName()
Get the name for this logger.
|
String |
Level.getName()
Return the non-localized string name of the Level.
|
String |
LoggingMXBean.getParentLoggerName(String loggerName)
Returns the name of the parent for the specified logger.
|
String |
LogManager.getProperty(String name)
Get the value of a logging property.
|
String |
Logger.getResourceBundleName()
Retrieve the localization resource bundle name for this
logger.
|
String |
LogRecord.getResourceBundleName()
Get the localization resource bundle name
This is the name for the ResourceBundle that should be
used to localize the message string before formatting it.
|
String |
Level.getResourceBundleName()
Return the level's localization resource bundle name, or
null if no localization bundle is defined.
|
String |
LogRecord.getSourceClassName()
Get the name of the class that (allegedly) issued the logging request.
|
String |
LogRecord.getSourceMethodName()
Get the name of the method that (allegedly) issued the logging request.
|
String |
Formatter.getTail(Handler h)
Return the tail string for a set of formatted records.
|
String |
XMLFormatter.getTail(Handler h)
Return the tail string for a set of XML formatted records.
|
String |
Level.toString()
Returns a string representation of this Level.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
LoggingMXBean.getLoggerNames()
Returns the list of currently registered logger names.
|
Enumeration<String> |
LogManager.getLoggerNames()
Get an enumeration of known logger names.
|
Modifier and Type | Method and Description |
---|---|
void |
Logger.config(String msg)
Log a CONFIG message.
|
void |
Logger.entering(String sourceClass,
String sourceMethod)
Log a method entry.
|
void |
Logger.entering(String sourceClass,
String sourceMethod,
Object param1)
Log a method entry, with one parameter.
|
void |
Logger.entering(String sourceClass,
String sourceMethod,
Object[] params)
Log a method entry, with an array of parameters.
|
void |
ErrorManager.error(String msg,
Exception ex,
int code)
The error method is called when a Handler failure occurs.
|
void |
Logger.exiting(String sourceClass,
String sourceMethod)
Log a method return.
|
void |
Logger.exiting(String sourceClass,
String sourceMethod,
Object result)
Log a method return, with result object.
|
void |
Logger.fine(String msg)
Log a FINE message.
|
void |
Logger.finer(String msg)
Log a FINER message.
|
void |
Logger.finest(String msg)
Log a FINEST message.
|
static Logger |
Logger.getAnonymousLogger(String resourceBundleName)
Create an anonymous Logger.
|
static Logger |
Logger.getLogger(String name)
Find or create a logger for a named subsystem.
|
Logger |
LogManager.getLogger(String name)
Method to find a named logger.
|
static Logger |
Logger.getLogger(String name,
String resourceBundleName)
Find or create a logger for a named subsystem.
|
String |
LoggingMXBean.getLoggerLevel(String loggerName)
Gets the name of the log level associated with the specified logger.
|
String |
LoggingMXBean.getParentLoggerName(String loggerName)
Returns the name of the parent for the specified logger.
|
String |
LogManager.getProperty(String name)
Get the value of a logging property.
|
void |
Logger.info(String msg)
Log an INFO message.
|
void |
Logger.log(Level level,
String msg)
Log a message, with no arguments.
|
void |
Logger.log(Level level,
String msg,
Object param1)
Log a message, with one object parameter.
|
void |
Logger.log(Level level,
String msg,
Object[] params)
Log a message, with an array of object arguments.
|
void |
Logger.log(Level level,
String msg,
Throwable thrown)
Log a message, with associated Throwable information.
|
void |
Logger.logp(Level level,
String sourceClass,
String sourceMethod,
String msg)
Log a message, specifying source class and method,
with no arguments.
|
void |
Logger.logp(Level level,
String sourceClass,
String sourceMethod,
String msg,
Object param1)
Log a message, specifying source class and method,
with a single object parameter to the log message.
|
void |
Logger.logp(Level level,
String sourceClass,
String sourceMethod,
String msg,
Object[] params)
Log a message, specifying source class and method,
with an array of object arguments.
|
void |
Logger.logp(Level level,
String sourceClass,
String sourceMethod,
String msg,
Throwable thrown)
Log a message, specifying source class and method,
with associated Throwable information.
|
void |
Logger.logp(Level level,
String sourceClass,
String sourceMethod,
Supplier<String> msgSupplier)
Log a lazily constructed message, specifying source class and method,
with no arguments.
|
void |
Logger.logp(Level level,
String sourceClass,
String sourceMethod,
Throwable thrown,
Supplier<String> msgSupplier)
Log a lazily constructed message, specifying source class and method,
with associated Throwable information.
|
void |
Logger.logrb(Level level,
String sourceClass,
String sourceMethod,
ResourceBundle bundle,
String msg,
Object... params)
Log a message, specifying source class, method, and resource bundle,
with an optional list of message parameters.
|
void |
Logger.logrb(Level level,
String sourceClass,
String sourceMethod,
ResourceBundle bundle,
String msg,
Throwable thrown)
Log a message, specifying source class, method, and resource bundle,
with associated Throwable information.
|
void |
Logger.logrb(Level level,
String sourceClass,
String sourceMethod,
String bundleName,
String msg)
|
void |
Logger.logrb(Level level,
String sourceClass,
String sourceMethod,
String bundleName,
String msg,
Object param1)
|
void |
Logger.logrb(Level level,
String sourceClass,
String sourceMethod,
String bundleName,
String msg,
Object[] params)
|
void |
Logger.logrb(Level level,
String sourceClass,
String sourceMethod,
String bundleName,
String msg,
Throwable thrown)
|
static Level |
Level.parse(String name)
Parse a level name string into a Level.
|
protected void |
Handler.reportError(String msg,
Exception ex,
int code)
Protected convenience method to report an error to this Handler's
ErrorManager.
|
void |
StreamHandler.setEncoding(String encoding)
Set (or change) the character encoding used by this Handler.
|
void |
Handler.setEncoding(String encoding)
Set the character encoding used by this Handler.
|
void |
LoggingMXBean.setLoggerLevel(String loggerName,
String levelName)
Sets the specified logger to the specified new level.
|
void |
LogRecord.setLoggerName(String name)
Set the source Logger's name.
|
void |
LogRecord.setMessage(String message)
Set the "raw" log message, before localization or formatting.
|
void |
LogRecord.setResourceBundleName(String name)
Set the localization resource bundle name.
|
void |
LogRecord.setSourceClassName(String sourceClassName)
Set the name of the class that (allegedly) issued the logging request.
|
void |
LogRecord.setSourceMethodName(String sourceMethodName)
Set the name of the method that (allegedly) issued the logging request.
|
void |
Logger.severe(String msg)
Log a SEVERE message.
|
void |
Logger.throwing(String sourceClass,
String sourceMethod,
Throwable thrown)
Log throwing an exception.
|
void |
Logger.warning(String msg)
Log a WARNING message.
|
Modifier and Type | Method and Description |
---|---|
void |
Logger.config(Supplier<String> msgSupplier)
Log a CONFIG message, which is only to be constructed if the logging
level is such that the message will actually be logged.
|
void |
Logger.fine(Supplier<String> msgSupplier)
Log a FINE message, which is only to be constructed if the logging
level is such that the message will actually be logged.
|
void |
Logger.finer(Supplier<String> msgSupplier)
Log a FINER message, which is only to be constructed if the logging
level is such that the message will actually be logged.
|
void |
Logger.finest(Supplier<String> msgSupplier)
Log a FINEST message, which is only to be constructed if the logging
level is such that the message will actually be logged.
|
void |
Logger.info(Supplier<String> msgSupplier)
Log a INFO message, which is only to be constructed if the logging
level is such that the message will actually be logged.
|
void |
Logger.log(Level level,
Supplier<String> msgSupplier)
Log a message, which is only to be constructed if the logging level
is such that the message will actually be logged.
|
void |
Logger.log(Level level,
Throwable thrown,
Supplier<String> msgSupplier)
Log a lazily constructed message, with associated Throwable information.
|
void |
Logger.logp(Level level,
String sourceClass,
String sourceMethod,
Supplier<String> msgSupplier)
Log a lazily constructed message, specifying source class and method,
with no arguments.
|
void |
Logger.logp(Level level,
String sourceClass,
String sourceMethod,
Throwable thrown,
Supplier<String> msgSupplier)
Log a lazily constructed message, specifying source class and method,
with associated Throwable information.
|
void |
Logger.severe(Supplier<String> msgSupplier)
Log a SEVERE message, which is only to be constructed if the logging
level is such that the message will actually be logged.
|
void |
Logger.warning(Supplier<String> msgSupplier)
Log a WARNING message, which is only to be constructed if the logging
level is such that the message will actually be logged.
|
Constructor and Description |
---|
FileHandler(String pattern)
Initialize a FileHandler to write to the given filename.
|
FileHandler(String pattern,
boolean append)
Initialize a FileHandler to write to the given filename,
with optional append.
|
FileHandler(String pattern,
int limit,
int count)
Initialize a FileHandler to write to a set of files.
|
FileHandler(String pattern,
int limit,
int count,
boolean append)
Initialize a FileHandler to write to a set of files
with optional append.
|
Level(String name,
int value)
Create a named Level with a given integer value.
|
Level(String name,
int value,
String resourceBundleName)
Create a named Level with a given integer value and a
given localization resource name.
|
Logger(String name,
String resourceBundleName)
Protected method to construct a logger for a named subsystem.
|
LoggingPermission(String name,
String actions)
Creates a new LoggingPermission object.
|
LogRecord(Level level,
String msg)
Construct a LogRecord with the given level and message values.
|
SocketHandler(String host,
int port)
Construct a SocketHandler using a specified host and port.
|
Modifier and Type | Method and Description |
---|---|
String |
AbstractPreferences.absolutePath()
Implements the absolutePath method as per the specification in
Preferences.absolutePath() . |
abstract String |
Preferences.absolutePath()
Returns this preference node's absolute path name.
|
String[] |
AbstractPreferences.childrenNames()
Implements the children method as per the specification in
Preferences.childrenNames() . |
abstract String[] |
Preferences.childrenNames()
Returns the names of the children of this preference node, relative to
this node.
|
protected abstract String[] |
AbstractPreferences.childrenNamesSpi()
Returns the names of the children of this preference node.
|
String |
AbstractPreferences.get(String key,
String def)
Implements the get method as per the specification in
Preferences.get(String,String) . |
abstract String |
Preferences.get(String key,
String def)
Returns the value associated with the specified key in this preference
node.
|
String |
PreferenceChangeEvent.getKey()
Returns the key of the preference that was changed.
|
String |
PreferenceChangeEvent.getNewValue()
Returns the new value for the preference.
|
protected abstract String |
AbstractPreferences.getSpi(String key)
Return the value associated with the specified key at this preference
node, or null if there is no association for this key, or the
association cannot be determined at this time.
|
String[] |
AbstractPreferences.keys()
Implements the keys method as per the specification in
Preferences.keys() . |
abstract String[] |
Preferences.keys()
Returns all of the keys that have an associated value in this
preference node.
|
protected abstract String[] |
AbstractPreferences.keysSpi()
Returns all of the keys that have an associated value in this
preference node.
|
String |
AbstractPreferences.name()
Implements the name method as per the specification in
Preferences.name() . |
abstract String |
Preferences.name()
Returns this preference node's name, relative to its parent.
|
String |
AbstractPreferences.toString()
Returns the absolute path name of this preferences node.
|
abstract String |
Preferences.toString()
Returns a string representation of this preferences node,
as if computed by the expression:(this.isUserNode() ?
|
Modifier and Type | Method and Description |
---|---|
protected abstract AbstractPreferences |
AbstractPreferences.childSpi(String name)
Returns the named child of this preference node, creating it if it does
not already exist.
|
String |
AbstractPreferences.get(String key,
String def)
Implements the get method as per the specification in
Preferences.get(String,String) . |
abstract String |
Preferences.get(String key,
String def)
Returns the value associated with the specified key in this preference
node.
|
boolean |
AbstractPreferences.getBoolean(String key,
boolean def)
Implements the getBoolean method as per the specification in
Preferences.getBoolean(String,boolean) . |
abstract boolean |
Preferences.getBoolean(String key,
boolean def)
Returns the boolean value represented by the string associated with the
specified key in this preference node.
|
byte[] |
AbstractPreferences.getByteArray(String key,
byte[] def)
Implements the getByteArray method as per the specification in
Preferences.getByteArray(String,byte[]) . |
abstract byte[] |
Preferences.getByteArray(String key,
byte[] def)
Returns the byte array value represented by the string associated with
the specified key in this preference node.
|
protected AbstractPreferences |
AbstractPreferences.getChild(String nodeName)
Returns the named child if it exists, or null if it does not.
|
double |
AbstractPreferences.getDouble(String key,
double def)
Implements the getDouble method as per the specification in
Preferences.getDouble(String,double) . |
abstract double |
Preferences.getDouble(String key,
double def)
Returns the double value represented by the string associated with the
specified key in this preference node.
|
float |
AbstractPreferences.getFloat(String key,
float def)
Implements the getFloat method as per the specification in
Preferences.getFloat(String,float) . |
abstract float |
Preferences.getFloat(String key,
float def)
Returns the float value represented by the string associated with the
specified key in this preference node.
|
int |
AbstractPreferences.getInt(String key,
int def)
Implements the getInt method as per the specification in
Preferences.getInt(String,int) . |
abstract int |
Preferences.getInt(String key,
int def)
Returns the int value represented by the string associated with the
specified key in this preference node.
|
long |
AbstractPreferences.getLong(String key,
long def)
Implements the getLong method as per the specification in
Preferences.getLong(String,long) . |
abstract long |
Preferences.getLong(String key,
long def)
Returns the long value represented by the string associated with the
specified key in this preference node.
|
protected abstract String |
AbstractPreferences.getSpi(String key)
Return the value associated with the specified key at this preference
node, or null if there is no association for this key, or the
association cannot be determined at this time.
|
Preferences |
AbstractPreferences.node(String path)
Implements the node method as per the specification in
Preferences.node(String) . |
abstract Preferences |
Preferences.node(String pathName)
Returns the named preference node in the same tree as this node,
creating it and any of its ancestors if they do not already exist.
|
boolean |
AbstractPreferences.nodeExists(String path)
Implements the nodeExists method as per the specification in
Preferences.nodeExists(String) . |
abstract boolean |
Preferences.nodeExists(String pathName)
Returns true if the named preference node exists in the same tree
as this node.
|
void |
AbstractPreferences.put(String key,
String value)
Implements the put method as per the specification in
Preferences.put(String,String) . |
abstract void |
Preferences.put(String key,
String value)
Associates the specified value with the specified key in this
preference node.
|
void |
AbstractPreferences.putBoolean(String key,
boolean value)
Implements the putBoolean method as per the specification in
Preferences.putBoolean(String,boolean) . |
abstract void |
Preferences.putBoolean(String key,
boolean value)
Associates a string representing the specified boolean value with the
specified key in this preference node.
|
void |
AbstractPreferences.putByteArray(String key,
byte[] value)
Implements the putByteArray method as per the specification in
Preferences.putByteArray(String,byte[]) . |
abstract void |
Preferences.putByteArray(String key,
byte[] value)
Associates a string representing the specified byte array with the
specified key in this preference node.
|
void |
AbstractPreferences.putDouble(String key,
double value)
Implements the putDouble method as per the specification in
Preferences.putDouble(String,double) . |
abstract void |
Preferences.putDouble(String key,
double value)
Associates a string representing the specified double value with the
specified key in this preference node.
|
void |
AbstractPreferences.putFloat(String key,
float value)
Implements the putFloat method as per the specification in
Preferences.putFloat(String,float) . |
abstract void |
Preferences.putFloat(String key,
float value)
Associates a string representing the specified float value with the
specified key in this preference node.
|
void |
AbstractPreferences.putInt(String key,
int value)
Implements the putInt method as per the specification in
Preferences.putInt(String,int) . |
abstract void |
Preferences.putInt(String key,
int value)
Associates a string representing the specified int value with the
specified key in this preference node.
|
void |
AbstractPreferences.putLong(String key,
long value)
Implements the putLong method as per the specification in
Preferences.putLong(String,long) . |
abstract void |
Preferences.putLong(String key,
long value)
Associates a string representing the specified long value with the
specified key in this preference node.
|
protected abstract void |
AbstractPreferences.putSpi(String key,
String value)
Put the given key-value association into this preference node.
|
void |
AbstractPreferences.remove(String key)
Implements the remove(String) method as per the specification
in
Preferences.remove(String) . |
abstract void |
Preferences.remove(String key)
Removes the value associated with the specified key in this preference
node, if any.
|
protected abstract void |
AbstractPreferences.removeSpi(String key)
Remove the association (if any) for the specified key at this
preference node.
|
Constructor and Description |
---|
AbstractPreferences(AbstractPreferences parent,
String name)
Creates a preference node with the specified parent and the specified
name relative to its parent.
|
BackingStoreException(String s)
Constructs a BackingStoreException with the specified detail message.
|
InvalidPreferencesFormatException(String message)
Constructs an InvalidPreferencesFormatException with the specified
detail message.
|
InvalidPreferencesFormatException(String message,
Throwable cause)
Constructs an InvalidPreferencesFormatException with the specified
detail message and cause.
|
PreferenceChangeEvent(Preferences node,
String key,
String newValue)
Constructs a new
PreferenceChangeEvent instance. |
Modifier and Type | Method and Description |
---|---|
String |
PatternSyntaxException.getDescription()
Retrieves the description of the error.
|
String |
PatternSyntaxException.getMessage()
Returns a multi-line string containing the description of the syntax
error and its index, the erroneous regular-expression pattern, and a
visual indication of the error index within the pattern.
|
String |
PatternSyntaxException.getPattern()
Retrieves the erroneous regular-expression pattern.
|
String |
MatchResult.group()
Returns the input subsequence matched by the previous match.
|
String |
Matcher.group()
Returns the input subsequence matched by the previous match.
|
String |
MatchResult.group(int group)
Returns the input subsequence captured by the given group during the
previous match operation.
|
String |
Matcher.group(int group)
Returns the input subsequence captured by the given group during the
previous match operation.
|
String |
Matcher.group(String name)
Returns the input subsequence captured by the given
named-capturing group during the previous
match operation.
|
String |
Pattern.pattern()
Returns the regular expression from which this pattern was compiled.
|
static String |
Pattern.quote(String s)
Returns a literal pattern
String for the specified
String . |
static String |
Matcher.quoteReplacement(String s)
Returns a literal replacement
String for the specified
String . |
String |
Matcher.replaceAll(String replacement)
Replaces every subsequence of the input sequence that matches the
pattern with the given replacement string.
|
String |
Matcher.replaceFirst(String replacement)
Replaces the first subsequence of the input sequence that matches the
pattern with the given replacement string.
|
String[] |
Pattern.split(CharSequence input)
Splits the given input sequence around matches of this pattern.
|
String[] |
Pattern.split(CharSequence input,
int limit)
Splits the given input sequence around matches of this pattern.
|
String |
Pattern.toString()
Returns the string representation of this pattern.
|
String |
Matcher.toString()
Returns the string representation of this matcher.
|
Modifier and Type | Method and Description |
---|---|
Predicate<String> |
Pattern.asPredicate()
Creates a predicate which can be used to match a string.
|
Stream<String> |
Pattern.splitAsStream(CharSequence input)
Creates a stream from the given input sequence around matches of this
pattern.
|
Modifier and Type | Method and Description |
---|---|
Matcher |
Matcher.appendReplacement(StringBuffer sb,
String replacement)
Implements a non-terminal append-and-replace step.
|
static Pattern |
Pattern.compile(String regex)
Compiles the given regular expression into a pattern.
|
static Pattern |
Pattern.compile(String regex,
int flags)
Compiles the given regular expression into a pattern with the given
flags.
|
int |
Matcher.end(String name)
Returns the offset after the last character of the subsequence
captured by the given named-capturing
group during the previous match operation.
|
String |
Matcher.group(String name)
Returns the input subsequence captured by the given
named-capturing group during the previous
match operation.
|
static boolean |
Pattern.matches(String regex,
CharSequence input)
Compiles the given regular expression and attempts to match the given
input against it.
|
static String |
Pattern.quote(String s)
Returns a literal pattern
String for the specified
String . |
static String |
Matcher.quoteReplacement(String s)
Returns a literal replacement
String for the specified
String . |
String |
Matcher.replaceAll(String replacement)
Replaces every subsequence of the input sequence that matches the
pattern with the given replacement string.
|
String |
Matcher.replaceFirst(String replacement)
Replaces the first subsequence of the input sequence that matches the
pattern with the given replacement string.
|
int |
Matcher.start(String name)
Returns the start index of the subsequence captured by the given
named-capturing group during the
previous match operation.
|
Constructor and Description |
---|
PatternSyntaxException(String desc,
String regex,
int index)
Constructs a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
abstract String |
LocaleNameProvider.getDisplayCountry(String countryCode,
Locale locale)
Returns a localized name for the given
IETF BCP47 region code (either ISO 3166 country code or UN M.49 area
codes) and the given locale that is appropriate for display to the user.
|
abstract String |
LocaleNameProvider.getDisplayLanguage(String languageCode,
Locale locale)
Returns a localized name for the given
IETF BCP47 language code and the given locale that is appropriate for
display to the user.
|
abstract String |
TimeZoneNameProvider.getDisplayName(String ID,
boolean daylight,
int style,
Locale locale)
Returns a name for the given time zone ID that's suitable for
presentation to the user in the specified locale.
|
abstract String |
CalendarNameProvider.getDisplayName(String calendarType,
int field,
int value,
int style,
Locale locale)
Returns the string representation (display name) of the calendar
field value in the given style and
locale . |
String |
CurrencyNameProvider.getDisplayName(String currencyCode,
Locale locale)
Returns a name for the currency that is appropriate for display to the
user.
|
String |
LocaleNameProvider.getDisplayScript(String scriptCode,
Locale locale)
Returns a localized name for the given
IETF BCP47 script code and the given locale that is appropriate for
display to the user.
|
abstract String |
LocaleNameProvider.getDisplayVariant(String variant,
Locale locale)
Returns a localized name for the given variant code and the given locale that
is appropriate for display to the user.
|
String |
TimeZoneNameProvider.getGenericDisplayName(String ID,
int style,
Locale locale)
Returns a generic name for the given time zone
ID that's suitable
for presentation to the user in the specified locale . |
abstract String |
CurrencyNameProvider.getSymbol(String currencyCode,
Locale locale)
Gets the symbol of the given currency code for the specified locale.
|
Modifier and Type | Method and Description |
---|---|
abstract Map<String,Integer> |
CalendarNameProvider.getDisplayNames(String calendarType,
int field,
int style,
Locale locale)
Returns a
Map containing all string representations (display
names) of the Calendar field in the given style
and locale and their corresponding field values. |
Modifier and Type | Method and Description |
---|---|
ResourceBundle.Control |
ResourceBundleControlProvider.getControl(String baseName)
Returns a
ResourceBundle.Control instance that is used
to handle resource bundle loading for the given baseName . |
abstract String |
LocaleNameProvider.getDisplayCountry(String countryCode,
Locale locale)
Returns a localized name for the given
IETF BCP47 region code (either ISO 3166 country code or UN M.49 area
codes) and the given locale that is appropriate for display to the user.
|
abstract String |
LocaleNameProvider.getDisplayLanguage(String languageCode,
Locale locale)
Returns a localized name for the given
IETF BCP47 language code and the given locale that is appropriate for
display to the user.
|
abstract String |
TimeZoneNameProvider.getDisplayName(String ID,
boolean daylight,
int style,
Locale locale)
Returns a name for the given time zone ID that's suitable for
presentation to the user in the specified locale.
|
abstract String |
CalendarNameProvider.getDisplayName(String calendarType,
int field,
int value,
int style,
Locale locale)
Returns the string representation (display name) of the calendar
field value in the given style and
locale . |
String |
CurrencyNameProvider.getDisplayName(String currencyCode,
Locale locale)
Returns a name for the currency that is appropriate for display to the
user.
|
abstract Map<String,Integer> |
CalendarNameProvider.getDisplayNames(String calendarType,
int field,
int style,
Locale locale)
Returns a
Map containing all string representations (display
names) of the Calendar field in the given style
and locale and their corresponding field values. |
String |
LocaleNameProvider.getDisplayScript(String scriptCode,
Locale locale)
Returns a localized name for the given
IETF BCP47 script code and the given locale that is appropriate for
display to the user.
|
abstract String |
LocaleNameProvider.getDisplayVariant(String variant,
Locale locale)
Returns a localized name for the given variant code and the given locale that
is appropriate for display to the user.
|
String |
TimeZoneNameProvider.getGenericDisplayName(String ID,
int style,
Locale locale)
Returns a generic name for the given time zone
ID that's suitable
for presentation to the user in the specified locale . |
abstract String |
CurrencyNameProvider.getSymbol(String currencyCode,
Locale locale)
Gets the symbol of the given currency code for the specified locale.
|
Modifier and Type | Method and Description |
---|---|
static Collector<CharSequence,?,String> |
Collectors.joining()
Returns a
Collector that concatenates the input elements into a
String , in encounter order. |
static Collector<CharSequence,?,String> |
Collectors.joining(CharSequence delimiter)
Returns a
Collector that concatenates the input elements,
separated by the specified delimiter, in encounter order. |
static Collector<CharSequence,?,String> |
Collectors.joining(CharSequence delimiter,
CharSequence prefix,
CharSequence suffix)
Returns a
Collector that concatenates the input elements,
separated by the specified delimiter, with the specified prefix and
suffix, in encounter order. |
Modifier and Type | Method and Description |
---|---|
static Collector.Characteristics |
Collector.Characteristics.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
Modifier and Type | Method and Description |
---|---|
String |
ZipEntry.getComment()
Returns the comment string for the entry.
|
String |
ZipFile.getComment()
Returns the zip file comment, or null if none.
|
String |
ZipEntry.getName()
Returns the name of the entry.
|
String |
ZipFile.getName()
Returns the path name of the ZIP file.
|
String |
ZipEntry.toString()
Returns a string representation of the ZIP entry.
|
Modifier and Type | Method and Description |
---|---|
protected ZipEntry |
ZipInputStream.createZipEntry(String name)
Creates a new
ZipEntry object for the specified
entry name. |
ZipEntry |
ZipFile.getEntry(String name)
Returns the zip file entry for the specified name, or null
if not found.
|
void |
ZipEntry.setComment(String comment)
Sets the optional comment string for the entry.
|
void |
ZipOutputStream.setComment(String comment)
Sets the ZIP file comment.
|
Constructor and Description |
---|
DataFormatException(String s)
Constructs a DataFormatException with the specified detail message.
|
ZipEntry(String name)
Creates a new zip entry with the specified name.
|
ZipError(String s)
Constructs a ZipError with the given detail message.
|
ZipException(String s)
Constructs a
ZipException with the specified detail
message. |
ZipFile(String name)
Opens a zip file for reading.
|
ZipFile(String name,
Charset charset)
Opens a zip file for reading.
|
Modifier and Type | Field and Description |
---|---|
static String |
AccessibleContext.ACCESSIBLE_ACTION_PROPERTY
Constant used to indicate that the supported set of actions
has changed.
|
static String |
AccessibleContext.ACCESSIBLE_ACTIVE_DESCENDANT_PROPERTY
Constant used to determine when the active descendant of a component
has changed.
|
static String |
AccessibleContext.ACCESSIBLE_CARET_PROPERTY
Constant used to determine when the accessibleText caret has changed.
|
static String |
AccessibleContext.ACCESSIBLE_CHILD_PROPERTY
Constant used to determine when Accessible children are added/removed
from the object.
|
static String |
AccessibleContext.ACCESSIBLE_COMPONENT_BOUNDS_CHANGED
PropertyChangeEvent which indicates that a change has occurred
in a component's bounds.
|
static String |
AccessibleContext.ACCESSIBLE_DESCRIPTION_PROPERTY
Constant used to determine when the accessibleDescription property has
changed.
|
static String |
AccessibleContext.ACCESSIBLE_HYPERTEXT_OFFSET
Constant used to indicate that a hypertext element has received focus.
|
static String |
AccessibleContext.ACCESSIBLE_INVALIDATE_CHILDREN
PropertyChangeEvent which indicates that a significant change
has occurred to the children of a component like a tree or text.
|
static String |
AccessibleContext.ACCESSIBLE_NAME_PROPERTY
Constant used to determine when the accessibleName property has
changed.
|
static String |
AccessibleContext.ACCESSIBLE_SELECTION_PROPERTY
Constant used to determine when the accessibleSelection has changed.
|
static String |
AccessibleContext.ACCESSIBLE_STATE_PROPERTY
Constant used to determine when the accessibleStateSet property has
changed.
|
static String |
AccessibleContext.ACCESSIBLE_TABLE_CAPTION_CHANGED
Constant used to indicate that the table caption has changed
The old value in the PropertyChangeEvent will be an Accessible
representing the previous table caption and the new value will
be an Accessible representing the new table caption.
|
static String |
AccessibleContext.ACCESSIBLE_TABLE_COLUMN_DESCRIPTION_CHANGED
Constant used to indicate that the column description has changed
The old value in the PropertyChangeEvent will be null and the
new value will be an Integer representing the column index.
|
static String |
AccessibleContext.ACCESSIBLE_TABLE_COLUMN_HEADER_CHANGED
Constant used to indicate that the column header has changed
The old value in the PropertyChangeEvent will be null and the
new value will be an AccessibleTableModelChange representing
the header change.
|
static String |
AccessibleContext.ACCESSIBLE_TABLE_MODEL_CHANGED
Constant used to indicate that table data has changed.
|
static String |
AccessibleContext.ACCESSIBLE_TABLE_ROW_DESCRIPTION_CHANGED
Constant used to indicate that the row description has changed
The old value in the PropertyChangeEvent will be null and the
new value will be an Integer representing the row index.
|
static String |
AccessibleContext.ACCESSIBLE_TABLE_ROW_HEADER_CHANGED
Constant used to indicate that the row header has changed
The old value in the PropertyChangeEvent will be null and the
new value will be an AccessibleTableModelChange representing
the header change.
|
static String |
AccessibleContext.ACCESSIBLE_TABLE_SUMMARY_CHANGED
Constant used to indicate that the table summary has changed
The old value in the PropertyChangeEvent will be an Accessible
representing the previous table summary and the new value will
be an Accessible representing the new table summary.
|
static String |
AccessibleContext.ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED
PropertyChangeEvent which indicates that text attributes have changed.
|
static String |
AccessibleContext.ACCESSIBLE_TEXT_PROPERTY
PropertyChangeEvent which indicates that text has changed.
|
static String |
AccessibleContext.ACCESSIBLE_VALUE_PROPERTY
Constant used to determine when the accessibleValue property has
changed.
|
static String |
AccessibleContext.ACCESSIBLE_VISIBLE_DATA_PROPERTY
Constant used to determine when the visual appearance of the object
has changed.
|
protected String |
AccessibleContext.accessibleDescription
A localized String containing the description of the object.
|
protected String |
AccessibleContext.accessibleName
A localized String containing the name of the object.
|
static String |
AccessibleRelation.CHILD_NODE_OF
Indicates that an object is a child node of one
or more objects.
|
static String |
AccessibleRelation.CHILD_NODE_OF_PROPERTY
Indicates the CHILD_NODE_OF relation between two or more objects
has changed.
|
static String |
AccessibleAction.CLICK
An action which causes a component to execute its default action.
|
static String |
AccessibleRelation.CONTROLLED_BY
Indicates an object is controlled by one or more target
objects.
|
static String |
AccessibleRelation.CONTROLLED_BY_PROPERTY
Identifies that the target object that is doing the controlling has
changed
|
static String |
AccessibleRelation.CONTROLLER_FOR
Indicates an object is a controller for one or more target
objects.
|
static String |
AccessibleRelation.CONTROLLER_FOR_PROPERTY
Identifies that the controller for the target object has changed
|
static String |
AccessibleAction.DECREMENT
An action which decrements a value.
|
static String |
AccessibleRelation.EMBEDDED_BY
Indicates that an object is embedded in one or more
objects.
|
static String |
AccessibleRelation.EMBEDDED_BY_PROPERTY
Indicates the EMBEDDED_BY relation between two or more objects
has changed.
|
static String |
AccessibleRelation.EMBEDS
Indicates that an object has one or more objects
embedded in it.
|
static String |
AccessibleRelation.EMBEDS_PROPERTY
Indicates the EMBEDS relation between two or more objects
has changed.
|
static String |
AccessibleRelation.FLOWS_FROM
Indicates an object is logically contiguous with a second
object where the second object occurs before the object.
|
static String |
AccessibleRelation.FLOWS_FROM_PROPERTY
Indicates the FLOWS_FROM relation between two objects
has changed.
|
static String |
AccessibleRelation.FLOWS_TO
Indicates an object is logically contiguous with a second
object where the second object occurs after the object.
|
static String |
AccessibleRelation.FLOWS_TO_PROPERTY
Indicates the FLOWS_TO relation between two objects
has changed.
|
static String |
AccessibleAction.INCREMENT
An action which increments a value.
|
protected String |
AccessibleBundle.key
The locale independent name of the state.
|
static String |
AccessibleRelation.LABEL_FOR
Indicates an object is a label for one or more target objects.
|
static String |
AccessibleRelation.LABEL_FOR_PROPERTY
Identifies that the target group for a label has changed
|
static String |
AccessibleRelation.LABELED_BY
Indicates an object is labeled by one or more target objects.
|
static String |
AccessibleRelation.LABELED_BY_PROPERTY
Identifies that the objects that are doing the labeling have changed
|
static String |
AccessibleRelation.MEMBER_OF
Indicates an object is a member of a group of one or more
target objects.
|
static String |
AccessibleRelation.MEMBER_OF_PROPERTY
Identifies that group membership has changed.
|
static String |
AccessibleRelation.PARENT_WINDOW_OF
Indicates that an object is a parent window of one or more
objects.
|
static String |
AccessibleRelation.PARENT_WINDOW_OF_PROPERTY
Indicates the PARENT_WINDOW_OF relation between two or more objects
has changed.
|
static String |
AccessibleRelation.SUBWINDOW_OF
Indicates that an object is a subwindow of one or more
objects.
|
static String |
AccessibleRelation.SUBWINDOW_OF_PROPERTY
Indicates the SUBWINDOW_OF relation between two or more objects
has changed.
|
String |
AccessibleTextSequence.text
The text
|
static String |
AccessibleAction.TOGGLE_EXPAND
An action which causes a tree node to
collapse if expanded and expand if collapsed.
|
static String |
AccessibleAction.TOGGLE_POPUP
An action which causes a popup to become visible if it is hidden and
hidden if it is visible.
|
Modifier and Type | Method and Description |
---|---|
abstract String |
AccessibleHyperlink.getAccessibleActionDescription(int i)
Returns a String description of this particular
link action.
|
String |
AccessibleAction.getAccessibleActionDescription(int i)
Returns a description of the specified action of the object.
|
String |
AccessibleContext.getAccessibleDescription()
Gets the accessibleDescription property of this object.
|
String |
AccessibleIcon.getAccessibleIconDescription()
Gets the description of the icon.
|
String |
AccessibleContext.getAccessibleName()
Gets the accessibleName property of this object.
|
String |
AccessibleText.getAfterIndex(int part,
int index)
Returns the String after a given index.
|
String |
AccessibleText.getAtIndex(int part,
int index)
Returns the String at a given index.
|
String |
AccessibleText.getBeforeIndex(int part,
int index)
Returns the String before a given index.
|
String |
AccessibleRelation.getKey()
Returns the key for this relation
|
String |
AccessibleText.getSelectedText()
Returns the portion of the text that is selected.
|
String |
AccessibleExtendedText.getTextRange(int startIndex,
int endIndex)
Returns the text between two indices
|
String |
AccessibleEditableText.getTextRange(int startIndex,
int endIndex)
Returns the text string between two indices.
|
String |
AccessibleExtendedComponent.getTitledBorderText()
Returns the titled border text
|
String |
AccessibleExtendedComponent.getToolTipText()
Returns the tool tip text
|
String |
AccessibleBundle.toDisplayString()
Gets localized string describing the key using the default locale.
|
String |
AccessibleBundle.toDisplayString(Locale locale)
Obtains the key as a localized string.
|
protected String |
AccessibleBundle.toDisplayString(String resourceBundleName,
Locale locale)
Obtains the key as a localized string.
|
String |
AccessibleRelationSet.toString()
Creates a localized String representing all the relations in the set
using the default locale.
|
String |
AccessibleStateSet.toString()
Creates a localized String representing all the states in the set
using the default locale.
|
String |
AccessibleBundle.toString()
Gets localized string describing the key using the default locale.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AccessibleRelationSet.contains(String key)
Returns whether the relation set contains a relation
that matches the specified key.
|
void |
AccessibleContext.firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Support for reporting bound property changes.
|
AccessibleRelation |
AccessibleRelationSet.get(String key)
Returns the relation that matches the specified key.
|
void |
AccessibleEditableText.insertTextAtIndex(int index,
String s)
Inserts the specified string at the given index/
|
void |
AccessibleEditableText.replaceText(int startIndex,
int endIndex,
String s)
Replaces the text between two indices with the specified
string.
|
void |
AccessibleContext.setAccessibleDescription(String s)
Sets the accessible description of this object.
|
void |
AccessibleIcon.setAccessibleIconDescription(String description)
Sets the description of the icon.
|
void |
AccessibleContext.setAccessibleName(String s)
Sets the localized accessible name of this object.
|
void |
AccessibleEditableText.setTextContents(String s)
Sets the text contents to the specified string.
|
protected String |
AccessibleBundle.toDisplayString(String resourceBundleName,
Locale locale)
Obtains the key as a localized string.
|
Constructor and Description |
---|
AccessibleRelation(String key)
Create a new AccessibleRelation using the given locale independent key.
|
AccessibleRelation(String key,
Object target)
Creates a new AccessibleRelation using the given locale independent key.
|
AccessibleRelation(String key,
Object[] target)
Creates a new AccessibleRelation using the given locale independent key.
|
AccessibleRole(String key)
Creates a new AccessibleRole using the given locale independent key.
|
AccessibleState(String key)
Creates a new AccessibleState using the given locale independent key.
|
AccessibleTextSequence(int start,
int end,
String txt)
Constructs an
AccessibleTextSequence with the given
parameters. |
Modifier and Type | Method and Description |
---|---|
String |
MimeTypeParameterList.get(String name)
Retrieve the value associated with the given name, or null if there
is no current association.
|
String |
MimeType.getBaseType()
Return a String representation of this object
without the parameter list.
|
String |
CommandInfo.getCommandClass()
Return the command's class name.
|
String |
CommandInfo.getCommandName()
Return the command verb.
|
String |
DataSource.getContentType()
This method returns the MIME type of the data in the form of a
string.
|
String |
DataHandler.getContentType()
Return the MIME type of this object as retrieved from
the source object.
|
String |
URLDataSource.getContentType()
Returns the value of the URL content-type header field.
|
String |
FileDataSource.getContentType()
This method returns the MIME type of the data in the form of a
string.
|
String |
MimetypesFileTypeMap.getContentType(File f)
Return the MIME type of the file object.
|
abstract String |
FileTypeMap.getContentType(File file)
Return the type of the file object.
|
String |
MimetypesFileTypeMap.getContentType(String filename)
Return the MIME type based on the specified file name.
|
abstract String |
FileTypeMap.getContentType(String filename)
Return the type of the file passed in.
|
String |
ActivationDataFlavor.getHumanPresentableName()
Return the Human Presentable name.
|
String |
ActivationDataFlavor.getMimeType()
Return the MIME type for this DataFlavor.
|
String[] |
CommandMap.getMimeTypes()
Get all the MIME types known to this command map.
|
String[] |
MailcapCommandMap.getMimeTypes()
Get all the MIME types known to this command map.
|
String |
DataSource.getName()
Return the name of this object where the name of the object
is dependant on the nature of the underlying objects.
|
String |
DataHandler.getName()
Return the name of the data object.
|
String |
URLDataSource.getName()
Calls the
getFile method on the URL used to
instantiate the object. |
String |
FileDataSource.getName()
Return the name of this object.
|
String[] |
MailcapCommandMap.getNativeCommands(String mimeType)
Get the native commands for the given MIME type.
|
String |
MimeType.getParameter(String name)
Retrieve the value associated with the given name, or null if there
is no current association.
|
String |
MimeType.getPrimaryType()
Retrieve the primary type of this object.
|
String |
MimeType.getSubType()
Retrieve the subtype of this object.
|
protected String |
ActivationDataFlavor.normalizeMimeType(String mimeType)
Deprecated.
|
protected String |
ActivationDataFlavor.normalizeMimeTypeParameter(String parameterName,
String parameterValue)
Deprecated.
|
String |
MimeTypeParameterList.toString()
Return a string representation of this object.
|
String |
MimeType.toString()
Return the String representation of this object.
|
Modifier and Type | Method and Description |
---|---|
void |
MailcapCommandMap.addMailcap(String mail_cap)
Add entries to the registry.
|
void |
MimetypesFileTypeMap.addMimeTypes(String mime_types)
Prepend the MIME type values to the registry.
|
DataContentHandler |
DataContentHandlerFactory.createDataContentHandler(String mimeType)
Creates a new DataContentHandler object for the MIME type.
|
abstract DataContentHandler |
CommandMap.createDataContentHandler(String mimeType)
Locate a DataContentHandler that corresponds to the MIME type.
|
DataContentHandler |
MailcapCommandMap.createDataContentHandler(String mimeType)
Return the DataContentHandler for the specified MIME type.
|
DataContentHandler |
CommandMap.createDataContentHandler(String mimeType,
DataSource ds)
Locate a DataContentHandler that corresponds to the MIME type.
|
String |
MimeTypeParameterList.get(String name)
Retrieve the value associated with the given name, or null if there
is no current association.
|
abstract CommandInfo[] |
CommandMap.getAllCommands(String mimeType)
Get all the available commands for this type.
|
CommandInfo[] |
MailcapCommandMap.getAllCommands(String mimeType)
Get all the available commands in all mailcap files known to
this instance of MailcapCommandMap for this MIME type.
|
CommandInfo[] |
CommandMap.getAllCommands(String mimeType,
DataSource ds)
Get all the available commands for this type.
|
CommandInfo |
DataHandler.getCommand(String cmdName)
Get the command cmdName.
|
abstract CommandInfo |
CommandMap.getCommand(String mimeType,
String cmdName)
Get the default command corresponding to the MIME type.
|
CommandInfo |
MailcapCommandMap.getCommand(String mimeType,
String cmdName)
Get the command corresponding to
cmdName for the MIME type. |
CommandInfo |
CommandMap.getCommand(String mimeType,
String cmdName,
DataSource ds)
Get the default command corresponding to the MIME type.
|
String |
MimetypesFileTypeMap.getContentType(String filename)
Return the MIME type based on the specified file name.
|
abstract String |
FileTypeMap.getContentType(String filename)
Return the type of the file passed in.
|
String[] |
MailcapCommandMap.getNativeCommands(String mimeType)
Get the native commands for the given MIME type.
|
String |
MimeType.getParameter(String name)
Retrieve the value associated with the given name, or null if there
is no current association.
|
abstract CommandInfo[] |
CommandMap.getPreferredCommands(String mimeType)
Get the preferred command list from a MIME Type.
|
CommandInfo[] |
MailcapCommandMap.getPreferredCommands(String mimeType)
Get the preferred command list for a MIME Type.
|
CommandInfo[] |
CommandMap.getPreferredCommands(String mimeType,
DataSource ds)
Get the preferred command list from a MIME Type.
|
boolean |
ActivationDataFlavor.isMimeTypeEqual(String mimeType)
Is the string representation of the MIME type passed in equivalent
to the MIME type of this DataFlavor.
|
boolean |
MimeType.match(String rawdata)
Determine if the primary and sub type of this object is
the same as the content type described in rawdata.
|
protected String |
ActivationDataFlavor.normalizeMimeType(String mimeType)
Deprecated.
|
protected String |
ActivationDataFlavor.normalizeMimeTypeParameter(String parameterName,
String parameterValue)
Deprecated.
|
protected void |
MimeTypeParameterList.parse(String parameterList)
A routine for parsing the parameter list out of a String.
|
void |
MimeTypeParameterList.remove(String name)
Remove any value associated with the given name.
|
void |
MimeType.removeParameter(String name)
Remove any value associated with the given name.
|
void |
MimeTypeParameterList.set(String name,
String value)
Set the value to be associated with the given name, replacing
any previous association.
|
void |
CommandObject.setCommandContext(String verb,
DataHandler dh)
Initialize the Command with the verb it is requested to handle
and the DataHandler that describes the data it will
operate on.
|
void |
ActivationDataFlavor.setHumanPresentableName(String humanPresentableName)
Set the human presentable name.
|
void |
MimeType.setParameter(String name,
String value)
Set the value to be associated with the given name, replacing
any previous association.
|
void |
MimeType.setPrimaryType(String primary)
Set the primary type for this object to the given String.
|
void |
MimeType.setSubType(String sub)
Set the subtype for this object to the given String.
|
void |
DataContentHandler.writeTo(Object obj,
String mimeType,
OutputStream os)
Convert the object to a byte stream of the specified MIME type
and write it to the output stream.
|
Constructor and Description |
---|
ActivationDataFlavor(Class representationClass,
String humanPresentableName)
Construct a DataFlavor that represents a MimeType.
|
ActivationDataFlavor(Class representationClass,
String mimeType,
String humanPresentableName)
Construct a DataFlavor that represents an arbitrary
Java object.
|
ActivationDataFlavor(String mimeType,
String humanPresentableName)
Construct a DataFlavor that represents a MimeType.
|
CommandInfo(String verb,
String className)
The Constructor for CommandInfo.
|
DataHandler(Object obj,
String mimeType)
Create a
DataHandler instance representing an object
of this MIME type. |
FileDataSource(String name)
Creates a FileDataSource from
the specified path name.
|
MailcapCommandMap(String fileName)
Constructor that allows the caller to specify the path
of a mailcap file.
|
MimeType(String rawdata)
Constructor that builds a MimeType from a String.
|
MimeType(String primary,
String sub)
Constructor that builds a MimeType with the given primary and sub type
but has an empty parameter list.
|
MimeTypeParameterList(String parameterList)
Constructs a new MimeTypeParameterList with the passed in data.
|
MimeTypeParseException(String s)
Constructs a MimeTypeParseException with the specified detail message.
|
MimetypesFileTypeMap(String mimeTypeFileName)
Construct a MimetypesFileTypeMap with programmatic entries
added from the named file.
|
UnsupportedDataTypeException(String s)
Constructs an UnsupportedDataTypeException with the specified
message.
|
Constructor and Description |
---|
ActivityCompletedException(String message)
Constructs a new instance with the specified detail message.
|
ActivityCompletedException(String message,
Throwable cause)
Constructs a new throwable with the specified detail message and cause.
|
ActivityRequiredException(String message)
Constructs a new instance with the specified detail message.
|
ActivityRequiredException(String message,
Throwable cause)
Constructs a new throwable with the specified detail message and cause.
|
InvalidActivityException(String message)
Constructs a new instance with the specified detail message.
|
InvalidActivityException(String message,
Throwable cause)
Constructs a new throwable with the specified detail message and cause.
|
Modifier and Type | Method and Description |
---|---|
static Resource.AuthenticationType |
Resource.AuthenticationType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
Modifier and Type | Method and Description |
---|---|
String |
Completion.getMessage()
Returns an informative message about the completion.
|
String |
Completion.getValue()
Returns the text of the suggested completion.
|
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
ProcessingEnvironment.getOptions()
Returns the processor-specific options passed to the annotation
processing tool.
|
Map<String,String> |
ProcessingEnvironment.getOptions()
Returns the processor-specific options passed to the annotation
processing tool.
|
Set<String> |
Processor.getSupportedAnnotationTypes()
Returns the names of the annotation types supported by this
processor.
|
Set<String> |
AbstractProcessor.getSupportedAnnotationTypes()
If the processor class is annotated with
SupportedAnnotationTypes , return an unmodifiable set with the
same set of strings as the annotation. |
Set<String> |
Processor.getSupportedOptions()
Returns the options recognized by this processor.
|
Set<String> |
AbstractProcessor.getSupportedOptions()
If the processor class is annotated with
SupportedOptions , return an unmodifiable set with the same set
of strings as the annotation. |
Modifier and Type | Method and Description |
---|---|
Iterable<? extends Completion> |
Processor.getCompletions(Element element,
AnnotationMirror annotation,
ExecutableElement member,
String userText)
Returns to the tool infrastructure an iterable of suggested
completions to an annotation.
|
Iterable<? extends Completion> |
AbstractProcessor.getCompletions(Element element,
AnnotationMirror annotation,
ExecutableElement member,
String userText)
Returns an empty iterable of completions.
|
static Completion |
Completions.of(String value)
Returns a completion of the value and an empty message
|
static Completion |
Completions.of(String value,
String message)
Returns a completion of the value and message.
|
Constructor and Description |
---|
FilerException(String s)
Constructs an exception with the specified detail message.
|
Modifier and Type | Method and Description |
---|---|
String |
EncryptedPrivateKeyInfo.getAlgName()
Returns the encryption algorithm.
|
String |
KeyAgreement.getAlgorithm()
Returns the algorithm name of this
KeyAgreement object. |
String |
Mac.getAlgorithm()
Returns the algorithm name of this
Mac object. |
String |
Cipher.getAlgorithm()
Returns the algorithm name of this
Cipher object. |
String |
SealedObject.getAlgorithm()
Returns the algorithm that was used to seal this object.
|
String |
KeyGenerator.getAlgorithm()
Returns the algorithm name of this
KeyGenerator object. |
String |
SecretKeyFactory.getAlgorithm()
Returns the algorithm name of this
SecretKeyFactory object. |
String |
ExemptionMechanism.getName()
Returns the exemption mechanism name of this
ExemptionMechanism object. |
Modifier and Type | Method and Description |
---|---|
protected abstract SecretKey |
KeyAgreementSpi.engineGenerateSecret(String algorithm)
Creates the shared secret and returns it as a secret key object
of the requested algorithm type.
|
protected abstract void |
CipherSpi.engineSetMode(String mode)
Sets the mode of this cipher.
|
protected abstract void |
CipherSpi.engineSetPadding(String padding)
Sets the padding mechanism of this cipher.
|
protected Key |
CipherSpi.engineUnwrap(byte[] wrappedKey,
String wrappedKeyAlgorithm,
int wrappedKeyType)
Unwrap a previously wrapped key.
|
SecretKey |
KeyAgreement.generateSecret(String algorithm)
Creates the shared secret and returns it as a
SecretKey
object of the specified algorithm. |
static KeyAgreement |
KeyAgreement.getInstance(String algorithm)
Returns a
KeyAgreement object that implements the
specified key agreement algorithm. |
static Mac |
Mac.getInstance(String algorithm)
Returns a
Mac object that implements the
specified MAC algorithm. |
static Cipher |
Cipher.getInstance(String transformation)
Returns a
Cipher object that implements the specified
transformation. |
static KeyGenerator |
KeyGenerator.getInstance(String algorithm)
Returns a
KeyGenerator object that generates secret keys
for the specified algorithm. |
static ExemptionMechanism |
ExemptionMechanism.getInstance(String algorithm)
Returns an
ExemptionMechanism object that implements the
specified exemption mechanism algorithm. |
static SecretKeyFactory |
SecretKeyFactory.getInstance(String algorithm)
Returns a
SecretKeyFactory object that converts
secret keys of the specified algorithm. |
static KeyAgreement |
KeyAgreement.getInstance(String algorithm,
Provider provider)
Returns a
KeyAgreement object that implements the
specified key agreement algorithm. |
static Mac |
Mac.getInstance(String algorithm,
Provider provider)
Returns a
Mac object that implements the
specified MAC algorithm. |
static Cipher |
Cipher.getInstance(String transformation,
Provider provider)
Returns a
Cipher object that implements the specified
transformation. |
static KeyGenerator |
KeyGenerator.getInstance(String algorithm,
Provider provider)
Returns a
KeyGenerator object that generates secret keys
for the specified algorithm. |
static ExemptionMechanism |
ExemptionMechanism.getInstance(String algorithm,
Provider provider)
Returns an
ExemptionMechanism object that implements the
specified exemption mechanism algorithm. |
static SecretKeyFactory |
SecretKeyFactory.getInstance(String algorithm,
Provider provider)
Returns a
SecretKeyFactory object that converts
secret keys of the specified algorithm. |
static KeyAgreement |
KeyAgreement.getInstance(String algorithm,
String provider)
Returns a
KeyAgreement object that implements the
specified key agreement algorithm. |
static Mac |
Mac.getInstance(String algorithm,
String provider)
Returns a
Mac object that implements the
specified MAC algorithm. |
static Cipher |
Cipher.getInstance(String transformation,
String provider)
Returns a
Cipher object that implements the specified
transformation. |
static KeyGenerator |
KeyGenerator.getInstance(String algorithm,
String provider)
Returns a
KeyGenerator object that generates secret keys
for the specified algorithm. |
static ExemptionMechanism |
ExemptionMechanism.getInstance(String algorithm,
String provider)
Returns an
ExemptionMechanism object that implements the
specified exemption mechanism algorithm. |
static SecretKeyFactory |
SecretKeyFactory.getInstance(String algorithm,
String provider)
Returns a
SecretKeyFactory object that converts
secret keys of the specified algorithm. |
PKCS8EncodedKeySpec |
EncryptedPrivateKeyInfo.getKeySpec(Key decryptKey,
String providerName)
Extract the enclosed PKCS8EncodedKeySpec object from the
encrypted data and return it.
|
static int |
Cipher.getMaxAllowedKeyLength(String transformation)
Returns the maximum key length for the specified transformation
according to the installed JCE jurisdiction policy files.
|
static AlgorithmParameterSpec |
Cipher.getMaxAllowedParameterSpec(String transformation)
Returns an AlgorithmParameterSpec object which contains
the maximum cipher parameter value according to the
jurisdiction policy file.
|
Object |
SealedObject.getObject(Key key,
String provider)
Retrieves the original (encapsulated) object.
|
Key |
Cipher.unwrap(byte[] wrappedKey,
String wrappedKeyAlgorithm,
int wrappedKeyType)
Unwrap a previously wrapped key.
|
Constructor and Description |
---|
AEADBadTagException(String msg)
Constructs a AEADBadTagException with the specified
detail message.
|
BadPaddingException(String msg)
Constructs a BadPaddingException with the specified
detail message.
|
Cipher(CipherSpi cipherSpi,
Provider provider,
String transformation)
Creates a Cipher object.
|
EncryptedPrivateKeyInfo(String algName,
byte[] encryptedData)
Constructs an
EncryptedPrivateKeyInfo from the
encryption algorithm name and the encrypted data. |
ExemptionMechanism(ExemptionMechanismSpi exmechSpi,
Provider provider,
String mechanism)
Creates a ExemptionMechanism object.
|
ExemptionMechanismException(String msg)
Constructs a ExemptionMechanismException with the specified
detailed message.
|
IllegalBlockSizeException(String msg)
Constructs an IllegalBlockSizeException with the specified
detail message.
|
KeyAgreement(KeyAgreementSpi keyAgreeSpi,
Provider provider,
String algorithm)
Creates a KeyAgreement object.
|
KeyGenerator(KeyGeneratorSpi keyGenSpi,
Provider provider,
String algorithm)
Creates a KeyGenerator object.
|
Mac(MacSpi macSpi,
Provider provider,
String algorithm)
Creates a MAC object.
|
NoSuchPaddingException(String msg)
Constructs a NoSuchPaddingException with the specified
detail message.
|
SecretKeyFactory(SecretKeyFactorySpi keyFacSpi,
Provider provider,
String algorithm)
Creates a SecretKeyFactory object.
|
ShortBufferException(String msg)
Constructs a ShortBufferException with the specified
detail message.
|
Modifier and Type | Method and Description |
---|---|
String |
PSource.getAlgorithm()
Returns the PSource algorithm name.
|
String |
SecretKeySpec.getAlgorithm()
Returns the name of the algorithm associated with this secret key.
|
String |
OAEPParameterSpec.getDigestAlgorithm()
Returns the message digest algorithm name.
|
String |
SecretKeySpec.getFormat()
Returns the name of the encoding format for this secret key.
|
String |
OAEPParameterSpec.getMGFAlgorithm()
Returns the mask generation function algorithm name.
|
Constructor and Description |
---|
OAEPParameterSpec(String mdName,
String mgfName,
AlgorithmParameterSpec mgfSpec,
PSource pSrc)
Constructs a parameter set for OAEP padding as defined in
the PKCS #1 standard using the specified message digest
algorithm
mdName , mask generation function
algorithm mgfName , parameters for the mask
generation function mgfSpec , and source of
the encoding input P pSrc . |
PSource(String pSrcName)
Constructs a source of the encoding input P for OAEP
padding as defined in the PKCS #1 standard using the
specified PSource algorithm.
|
SecretKeySpec(byte[] key,
int offset,
int len,
String algorithm)
Constructs a secret key from the given byte array, using the first
len bytes of key , starting at
offset inclusive. |
SecretKeySpec(byte[] key,
String algorithm)
Constructs a secret key from the given byte array.
|
Modifier and Type | Field and Description |
---|---|
protected String |
ImageWriteParam.compressionType
A
String containing the name of the current
compression type, or null if none is set. |
protected String[] |
ImageWriteParam.compressionTypes
An array of
String s containing the names of the
available compression types. |
Modifier and Type | Method and Description |
---|---|
String[] |
ImageWriteParam.getCompressionQualityDescriptions()
Returns an array of
String s that may be used along
with getCompressionQualityValues as part of a user
interface for setting or displaying the compression quality
level. |
String |
ImageWriteParam.getCompressionType()
Returns the currently set compression type, or
null if none has been set. |
String[] |
ImageWriteParam.getCompressionTypes()
Returns a list of available compression types, as an array or
String s, or null if a compression
type may not be chosen using these interfaces. |
String |
ImageReader.getFormatName()
Returns a
String identifying the format of the
input source. |
String |
ImageWriteParam.getLocalizedCompressionTypeName()
Returns a localized version of the name of the current
compression type, using the
Locale returned by
getLocale . |
static String[] |
ImageIO.getReaderFileSuffixes()
Returns an array of
String s listing all of the
file suffixes associated with the formats understood
by the current set of registered readers. |
static String[] |
ImageIO.getReaderFormatNames()
Returns an array of
String s listing all of the
informal format names understood by the current set of registered
readers. |
static String[] |
ImageIO.getReaderMIMETypes()
Returns an array of
String s listing all of the
MIME types understood by the current set of registered
readers. |
static String[] |
ImageIO.getWriterFileSuffixes()
Returns an array of
String s listing all of the
file suffixes associated with the formats understood
by the current set of registered writers. |
static String[] |
ImageIO.getWriterFormatNames()
Returns an array of
String s listing all of the
informal format names understood by the current set of registered
writers. |
static String[] |
ImageIO.getWriterMIMETypes()
Returns an array of
String s listing all of the
MIME types understood by the current set of registered
writers. |
Modifier and Type | Method and Description |
---|---|
IIOMetadata |
ImageReader.getImageMetadata(int imageIndex,
String formatName,
Set<String> nodeNames)
Returns an
IIOMetadata object representing the
metadata associated with the given image, or null
if the reader does not support reading metadata or none
is available. |
static Iterator<ImageReader> |
ImageIO.getImageReadersByFormatName(String formatName)
Returns an
Iterator containing all currently
registered ImageReader s that claim to be able to
decode the named format. |
static Iterator<ImageReader> |
ImageIO.getImageReadersByMIMEType(String MIMEType)
Returns an
Iterator containing all currently
registered ImageReader s that claim to be able to
decode files with the given MIME type. |
static Iterator<ImageReader> |
ImageIO.getImageReadersBySuffix(String fileSuffix)
Returns an
Iterator containing all currently
registered ImageReader s that claim to be able to
decode files with the given suffix. |
static Iterator<ImageWriter> |
ImageIO.getImageWriters(ImageTypeSpecifier type,
String formatName)
Returns an
Iterator containing all currently
registered ImageWriter s that claim to be able to
encode images of the given layout (specified using an
ImageTypeSpecifier ) in the given format. |
static Iterator<ImageWriter> |
ImageIO.getImageWritersByFormatName(String formatName)
Returns an
Iterator containing all currently
registered ImageWriter s that claim to be able to
encode the named format. |
static Iterator<ImageWriter> |
ImageIO.getImageWritersByMIMEType(String MIMEType)
Returns an
Iterator containing all currently
registered ImageWriter s that claim to be able to
encode files with the given MIME type. |
static Iterator<ImageWriter> |
ImageIO.getImageWritersBySuffix(String fileSuffix)
Returns an
Iterator containing all currently
registered ImageWriter s that claim to be able to
encode files with the given suffix. |
IIOMetadata |
ImageReader.getStreamMetadata(String formatName,
Set<String> nodeNames)
Returns an
IIOMetadata object representing the
metadata associated with the input source as a whole (i.e.,
not associated with any particular image). |
protected void |
ImageWriter.processWarningOccurred(int imageIndex,
String warning)
Broadcasts a warning message to all registered
IIOWriteWarningListener s by calling their
warningOccurred method. |
protected void |
ImageWriter.processWarningOccurred(int imageIndex,
String baseName,
String keyword)
Broadcasts a localized warning message to all registered
IIOWriteWarningListener s by calling their
warningOccurred method with a string taken
from a ResourceBundle . |
protected void |
ImageReader.processWarningOccurred(String warning)
Broadcasts a warning message to all registered
IIOReadWarningListener s by calling their
warningOccurred method. |
protected void |
ImageReader.processWarningOccurred(String baseName,
String keyword)
Broadcasts a localized warning message to all registered
IIOReadWarningListener s by calling their
warningOccurred method with a string taken
from a ResourceBundle . |
void |
ImageWriteParam.setCompressionType(String compressionType)
Sets the compression type to one of the values indicated by
getCompressionTypes . |
static boolean |
ImageIO.write(RenderedImage im,
String formatName,
File output)
Writes an image using an arbitrary
ImageWriter
that supports the given format to a File . |
static boolean |
ImageIO.write(RenderedImage im,
String formatName,
ImageOutputStream output)
Writes an image using the an arbitrary
ImageWriter
that supports the given format to an
ImageOutputStream . |
static boolean |
ImageIO.write(RenderedImage im,
String formatName,
OutputStream output)
Writes an image using an arbitrary
ImageWriter
that supports the given format to an OutputStream . |
Modifier and Type | Method and Description |
---|---|
IIOMetadata |
ImageReader.getImageMetadata(int imageIndex,
String formatName,
Set<String> nodeNames)
Returns an
IIOMetadata object representing the
metadata associated with the given image, or null
if the reader does not support reading metadata or none
is available. |
IIOMetadata |
ImageReader.getStreamMetadata(String formatName,
Set<String> nodeNames)
Returns an
IIOMetadata object representing the
metadata associated with the input source as a whole (i.e.,
not associated with any particular image). |
Constructor and Description |
---|
IIOException(String message)
Constructs an
IIOException with a given message
String . |
IIOException(String message,
Throwable cause)
Constructs an
IIOException with a given message
String and a Throwable that was its
underlying cause. |
Modifier and Type | Method and Description |
---|---|
void |
IIOReadWarningListener.warningOccurred(ImageReader source,
String warning)
Reports the occurrence of a non-fatal error in decoding.
|
void |
IIOWriteWarningListener.warningOccurred(ImageWriter source,
int imageIndex,
String warning)
Reports the occurrence of a non-fatal error in encoding.
|
Modifier and Type | Field and Description |
---|---|
protected String[] |
IIOMetadata.extraMetadataFormatClassNames
An array of names of classes implementing
IIOMetadataFormat
and representing the metadata formats, other than the standard and
native formats, that are supported by this plug-in,
initialized to null and set via the constructor. |
protected String[] |
IIOMetadata.extraMetadataFormatNames
An array of names of formats, other than the standard and
native formats, that are supported by this plug-in,
initialized to
null and set via the constructor. |
protected String |
IIOMetadata.nativeMetadataFormatClassName
The name of the class implementing
IIOMetadataFormat
and representing the native metadata format, initialized to
null and set via the constructor. |
protected String |
IIOMetadata.nativeMetadataFormatName
The name of the native metadata format for this object,
initialized to
null and set via the constructor. |
static String |
IIOMetadataFormatImpl.standardMetadataFormatName
A
String constant containing the standard format
name, "javax_imageio_1.0" . |
Modifier and Type | Method and Description |
---|---|
String |
IIOMetadataNode.getAttribute(String name)
Retrieves an attribute value by name.
|
String |
IIOMetadataFormat.getAttributeDefaultValue(String elementName,
String attrName)
Returns the default value of the named attribute, if it is not
explicitly present within the named element, as a
String , or null if no default value
is available. |
String |
IIOMetadataFormatImpl.getAttributeDefaultValue(String elementName,
String attrName) |
String |
IIOMetadataFormat.getAttributeDescription(String elementName,
String attrName,
Locale locale)
Returns a
String containing a description of the
named attribute, or null . |
String |
IIOMetadataFormatImpl.getAttributeDescription(String elementName,
String attrName,
Locale locale)
Returns a
String containing a description of the
named attribute, or null . |
String[] |
IIOMetadataFormat.getAttributeEnumerations(String elementName,
String attrName)
Returns an array of
String s containing the legal
enumerated values for the given attribute within the named
element. |
String[] |
IIOMetadataFormatImpl.getAttributeEnumerations(String elementName,
String attrName) |
String |
IIOMetadataFormat.getAttributeMaxValue(String elementName,
String attrName)
Returns the maximum legal value for the attribute.
|
String |
IIOMetadataFormatImpl.getAttributeMaxValue(String elementName,
String attrName) |
String |
IIOMetadataFormat.getAttributeMinValue(String elementName,
String attrName)
Returns the minimum legal value for the attribute.
|
String |
IIOMetadataFormatImpl.getAttributeMinValue(String elementName,
String attrName) |
String[] |
IIOMetadataFormat.getAttributeNames(String elementName)
Returns an array of
String s listing the names of
the attributes that may be associated with the named element. |
String[] |
IIOMetadataFormatImpl.getAttributeNames(String elementName) |
String |
IIOMetadataNode.getAttributeNS(String namespaceURI,
String localName)
Equivalent to
getAttribute(localName) . |
String |
IIOMetadataNode.getBaseURI()
This DOM Level 3 method is not supported for
IIOMetadataNode
and will throw a DOMException . |
String[] |
IIOMetadataFormat.getChildNames(String elementName)
Returns an array of
String s indicating the names
of the element which are allowed to be children of the named
element, in the order in which they should appear. |
String[] |
IIOMetadataFormatImpl.getChildNames(String elementName) |
String |
IIOMetadataFormat.getElementDescription(String elementName,
Locale locale)
Returns a
String containing a description of the
named element, or null . |
String |
IIOMetadataFormatImpl.getElementDescription(String elementName,
Locale locale)
Returns a
String containing a description of the
named element, or null . |
String[] |
IIOMetadata.getExtraMetadataFormatNames()
Returns an array of
String s containing the names
of additional metadata formats, other than the native and standard
formats, recognized by this plug-in's
getAsTree , setFromTree , and
mergeTree methods. |
String |
IIOMetadataNode.getLocalName()
Equivalent to
getNodeName . |
String[] |
IIOMetadata.getMetadataFormatNames()
Returns an array of
String s containing the names
of all metadata formats, including the native and standard
formats, recognized by this plug-in's getAsTree ,
setFromTree , and mergeTree methods. |
String |
IIOMetadataNode.getNamespaceURI()
Returns
null , since namespaces are not supported. |
String |
IIOMetadata.getNativeMetadataFormatName()
Returns the name of the "native" metadata format for this
plug-in, which typically allows for lossless encoding and
transmission of the metadata stored in the format handled by
this plug-in.
|
String |
IIOMetadataNode.getNodeName()
Returns the node name associated with this node.
|
String |
IIOMetadataNode.getNodeValue()
Returns the value associated with this node.
|
String |
IIOMetadataNode.getPrefix()
Returns
null , since namespaces are not supported. |
protected String |
IIOMetadataFormatImpl.getResourceBaseName()
Returns the currently set base name for locating
ResourceBundle s. |
String |
IIOMetadataFormat.getRootName()
Returns the name of the root element of the format.
|
String |
IIOMetadataFormatImpl.getRootName() |
String |
IIOMetadataNode.getTagName()
Equivalent to
getNodeName . |
String |
IIOMetadataNode.getTextContent()
This DOM Level 3 method is not supported for
IIOMetadataNode
and will throw a DOMException . |
String |
IIOMetadataNode.lookupNamespaceURI(String prefix)
This DOM Level 3 method is not supported for
IIOMetadataNode
and will throw a DOMException . |
String |
IIOMetadataNode.lookupPrefix(String namespaceURI)
This DOM Level 3 method is not supported for
IIOMetadataNode
and will throw a DOMException . |
Modifier and Type | Method and Description |
---|---|
protected void |
IIOMetadataFormatImpl.addAttribute(String elementName,
String attrName,
int dataType,
boolean required,
int listMinLength,
int listMaxLength)
Adds a new attribute to a previously defined element that will
be defined by a list of values.
|
protected void |
IIOMetadataFormatImpl.addAttribute(String elementName,
String attrName,
int dataType,
boolean required,
String defaultValue)
Adds a new attribute to a previously defined element that may
be set to an arbitrary value.
|
protected void |
IIOMetadataFormatImpl.addAttribute(String elementName,
String attrName,
int dataType,
boolean required,
String defaultValue,
List<String> enumeratedValues)
Adds a new attribute to a previously defined element that will
be defined by a set of enumerated values.
|
protected void |
IIOMetadataFormatImpl.addAttribute(String elementName,
String attrName,
int dataType,
boolean required,
String defaultValue,
String minValue,
String maxValue,
boolean minInclusive,
boolean maxInclusive)
Adds a new attribute to a previously defined element that will
be defined by a range of values.
|
protected void |
IIOMetadataFormatImpl.addBooleanAttribute(String elementName,
String attrName,
boolean hasDefaultValue,
boolean defaultValue)
Adds a new attribute to a previously defined element that will
be defined by the enumerated values
TRUE and
FALSE , with a datatype of
DATATYPE_BOOLEAN . |
protected void |
IIOMetadataFormatImpl.addChildElement(String elementName,
String parentName)
Adds an existing element to the list of legal children for a
given parent node type.
|
protected void |
IIOMetadataFormatImpl.addElement(String elementName,
String parentName,
int childPolicy)
Adds a new element type to this metadata document format with a
child policy other than
CHILD_POLICY_REPEAT . |
protected void |
IIOMetadataFormatImpl.addElement(String elementName,
String parentName,
int minChildren,
int maxChildren)
Adds a new element type to this metadata document format with a
child policy of
CHILD_POLICY_REPEAT . |
protected void |
IIOMetadataFormatImpl.addObjectValue(String elementName,
Class<?> classType,
int arrayMinLength,
int arrayMaxLength)
Allows an
Object reference of a given class type
to be stored in nodes implementing the named element. |
protected <T> void |
IIOMetadataFormatImpl.addObjectValue(String elementName,
Class<T> classType,
boolean required,
T defaultValue)
Allows an
Object reference of a given class type
to be stored in nodes implementing the named element. |
protected <T> void |
IIOMetadataFormatImpl.addObjectValue(String elementName,
Class<T> classType,
boolean required,
T defaultValue,
List<? extends T> enumeratedValues)
Allows an
Object reference of a given class type
to be stored in nodes implementing the named element. |
protected <T extends Object & Comparable<? super T>> |
IIOMetadataFormatImpl.addObjectValue(String elementName,
Class<T> classType,
T defaultValue,
Comparable<? super T> minValue,
Comparable<? super T> maxValue,
boolean minInclusive,
boolean maxInclusive)
Allows an
Object reference of a given class type
to be stored in nodes implementing the named element. |
boolean |
IIOMetadataFormat.canNodeAppear(String elementName,
ImageTypeSpecifier imageType)
Returns
true if the element (and the subtree below
it) is allowed to appear in a metadata document for an image of
the given type, defined by an ImageTypeSpecifier . |
abstract boolean |
IIOMetadataFormatImpl.canNodeAppear(String elementName,
ImageTypeSpecifier imageType) |
abstract Node |
IIOMetadata.getAsTree(String formatName)
Returns an XML DOM
Node object that represents the
root of a tree of metadata contained within this object
according to the conventions defined by a given metadata
format. |
String |
IIOMetadataNode.getAttribute(String name)
Retrieves an attribute value by name.
|
int |
IIOMetadataFormat.getAttributeDataType(String elementName,
String attrName)
Returns one of the constants starting with
DATATYPE_ , indicating the format and
interpretation of the value of the given attribute within the
named element. |
int |
IIOMetadataFormatImpl.getAttributeDataType(String elementName,
String attrName) |
String |
IIOMetadataFormat.getAttributeDefaultValue(String elementName,
String attrName)
Returns the default value of the named attribute, if it is not
explicitly present within the named element, as a
String , or null if no default value
is available. |
String |
IIOMetadataFormatImpl.getAttributeDefaultValue(String elementName,
String attrName) |
String |
IIOMetadataFormat.getAttributeDescription(String elementName,
String attrName,
Locale locale)
Returns a
String containing a description of the
named attribute, or null . |
String |
IIOMetadataFormatImpl.getAttributeDescription(String elementName,
String attrName,
Locale locale)
Returns a
String containing a description of the
named attribute, or null . |
String[] |
IIOMetadataFormat.getAttributeEnumerations(String elementName,
String attrName)
Returns an array of
String s containing the legal
enumerated values for the given attribute within the named
element. |
String[] |
IIOMetadataFormatImpl.getAttributeEnumerations(String elementName,
String attrName) |
int |
IIOMetadataFormat.getAttributeListMaxLength(String elementName,
String attrName)
Returns the maximum number of list items that may be used to
define this attribute.
|
int |
IIOMetadataFormatImpl.getAttributeListMaxLength(String elementName,
String attrName) |
int |
IIOMetadataFormat.getAttributeListMinLength(String elementName,
String attrName)
Returns the minimum number of list items that may be used to
define this attribute.
|
int |
IIOMetadataFormatImpl.getAttributeListMinLength(String elementName,
String attrName) |
String |
IIOMetadataFormat.getAttributeMaxValue(String elementName,
String attrName)
Returns the maximum legal value for the attribute.
|
String |
IIOMetadataFormatImpl.getAttributeMaxValue(String elementName,
String attrName) |
String |
IIOMetadataFormat.getAttributeMinValue(String elementName,
String attrName)
Returns the minimum legal value for the attribute.
|
String |
IIOMetadataFormatImpl.getAttributeMinValue(String elementName,
String attrName) |
String[] |
IIOMetadataFormat.getAttributeNames(String elementName)
Returns an array of
String s listing the names of
the attributes that may be associated with the named element. |
String[] |
IIOMetadataFormatImpl.getAttributeNames(String elementName) |
Attr |
IIOMetadataNode.getAttributeNode(String name) |
Attr |
IIOMetadataNode.getAttributeNodeNS(String namespaceURI,
String localName)
Equivalent to
getAttributeNode(localName) . |
String |
IIOMetadataNode.getAttributeNS(String namespaceURI,
String localName)
Equivalent to
getAttribute(localName) . |
int |
IIOMetadataFormat.getAttributeValueType(String elementName,
String attrName)
Returns one of the constants starting with
VALUE_ ,
indicating whether the values of the given attribute within the
named element are arbitrary, constrained to lie within a
specified range, constrained to be one of a set of enumerated
values, or are a whitespace-separated list of arbitrary values. |
int |
IIOMetadataFormatImpl.getAttributeValueType(String elementName,
String attrName) |
String[] |
IIOMetadataFormat.getChildNames(String elementName)
Returns an array of
String s indicating the names
of the element which are allowed to be children of the named
element, in the order in which they should appear. |
String[] |
IIOMetadataFormatImpl.getChildNames(String elementName) |
int |
IIOMetadataFormat.getChildPolicy(String elementName)
Returns one of the constants starting with
CHILD_POLICY_ , indicating the legal pattern of
children for the named element. |
int |
IIOMetadataFormatImpl.getChildPolicy(String elementName) |
String |
IIOMetadataFormat.getElementDescription(String elementName,
Locale locale)
Returns a
String containing a description of the
named element, or null . |
String |
IIOMetadataFormatImpl.getElementDescription(String elementName,
Locale locale)
Returns a
String containing a description of the
named element, or null . |
int |
IIOMetadataFormat.getElementMaxChildren(String elementName)
Returns the maximum number of children of the named element
with child policy
CHILD_POLICY_REPEAT . |
int |
IIOMetadataFormatImpl.getElementMaxChildren(String elementName) |
int |
IIOMetadataFormat.getElementMinChildren(String elementName)
Returns the minimum number of children of the named element
with child policy
CHILD_POLICY_REPEAT . |
int |
IIOMetadataFormatImpl.getElementMinChildren(String elementName) |
NodeList |
IIOMetadataNode.getElementsByTagName(String name) |
NodeList |
IIOMetadataNode.getElementsByTagNameNS(String namespaceURI,
String localName)
Equivalent to
getElementsByTagName(localName) . |
Object |
IIOMetadataNode.getFeature(String feature,
String version)
This DOM Level 3 method is not supported for
IIOMetadataNode
and will throw a DOMException . |
IIOMetadataFormat |
IIOMetadata.getMetadataFormat(String formatName)
Returns an
IIOMetadataFormat object describing the
given metadata format, or null if no description
is available. |
int |
IIOMetadataFormat.getObjectArrayMaxLength(String elementName)
Returns the maximum number of array elements that may be used
to define the
Object reference within the named
element. |
int |
IIOMetadataFormatImpl.getObjectArrayMaxLength(String elementName) |
int |
IIOMetadataFormat.getObjectArrayMinLength(String elementName)
Returns the minimum number of array elements that may be used
to define the
Object reference within the named
element. |
int |
IIOMetadataFormatImpl.getObjectArrayMinLength(String elementName) |
Class<?> |
IIOMetadataFormat.getObjectClass(String elementName)
Returns the
Class type of the Object
reference stored within the element. |
Class<?> |
IIOMetadataFormatImpl.getObjectClass(String elementName) |
Object |
IIOMetadataFormat.getObjectDefaultValue(String elementName)
Returns an
Object s containing the default
value for the Object reference within
the named element. |
Object |
IIOMetadataFormatImpl.getObjectDefaultValue(String elementName) |
Object[] |
IIOMetadataFormat.getObjectEnumerations(String elementName)
Returns an array of
Object s containing the legal
enumerated values for the Object reference within
the named element. |
Object[] |
IIOMetadataFormatImpl.getObjectEnumerations(String elementName) |
Comparable<?> |
IIOMetadataFormat.getObjectMaxValue(String elementName)
Returns the maximum legal value for the
Object
reference within the named element. |
Comparable<?> |
IIOMetadataFormatImpl.getObjectMaxValue(String elementName) |
Comparable<?> |
IIOMetadataFormat.getObjectMinValue(String elementName)
Returns the minimum legal value for the
Object
reference within the named element. |
Comparable<?> |
IIOMetadataFormatImpl.getObjectMinValue(String elementName) |
int |
IIOMetadataFormat.getObjectValueType(String elementName)
Returns one of the enumerated values starting with
VALUE_ , indicating the type of values
(enumeration, range, or array) that are allowed for the
Object reference. |
int |
IIOMetadataFormatImpl.getObjectValueType(String elementName) |
Object |
IIOMetadataNode.getUserData(String key)
This DOM Level 3 method is not supported for
IIOMetadataNode
and will throw a DOMException . |
boolean |
IIOMetadataNode.hasAttribute(String name) |
boolean |
IIOMetadataNode.hasAttributeNS(String namespaceURI,
String localName)
Equivalent to
hasAttribute(localName) . |
boolean |
IIOMetadataFormat.isAttributeRequired(String elementName,
String attrName)
Returns
true if the named attribute must be
present within the named element. |
boolean |
IIOMetadataFormatImpl.isAttributeRequired(String elementName,
String attrName) |
boolean |
IIOMetadataNode.isDefaultNamespace(String namespaceURI)
This DOM Level 3 method is not supported for
IIOMetadataNode
and will throw a DOMException . |
boolean |
IIOMetadataNode.isSupported(String feature,
String version)
Returns
false since DOM features are not
supported. |
String |
IIOMetadataNode.lookupNamespaceURI(String prefix)
This DOM Level 3 method is not supported for
IIOMetadataNode
and will throw a DOMException . |
String |
IIOMetadataNode.lookupPrefix(String namespaceURI)
This DOM Level 3 method is not supported for
IIOMetadataNode
and will throw a DOMException . |
abstract void |
IIOMetadata.mergeTree(String formatName,
Node root)
Alters the internal state of this
IIOMetadata
object from a tree of XML DOM Node s whose syntax
is defined by the given metadata format. |
void |
IIOMetadataNode.removeAttribute(String name) |
protected void |
IIOMetadataFormatImpl.removeAttribute(String elementName,
String attrName)
Removes an attribute from a previously defined element.
|
void |
IIOMetadataNode.removeAttributeNS(String namespaceURI,
String localName)
Equivalent to
removeAttribute(localName) . |
protected void |
IIOMetadataFormatImpl.removeElement(String elementName)
Removes an element from the format.
|
protected void |
IIOMetadataFormatImpl.removeObjectValue(String elementName)
Disallows an
Object reference from being stored in
nodes implementing the named element. |
void |
IIOMetadataNode.setAttribute(String name,
String value) |
void |
IIOMetadataNode.setAttributeNS(String namespaceURI,
String qualifiedName,
String value)
Equivalent to
setAttribute(qualifiedName, value) . |
void |
IIOMetadata.setFromTree(String formatName,
Node root)
Sets the internal state of this
IIOMetadata object
from a tree of XML DOM Node s whose syntax is
defined by the given metadata format. |
void |
IIOMetadataNode.setIdAttribute(String name,
boolean isId)
This DOM Level 3 method is not supported for
IIOMetadataNode
and will throw a DOMException . |
void |
IIOMetadataNode.setIdAttributeNS(String namespaceURI,
String localName,
boolean isId)
This DOM Level 3 method is not supported for
IIOMetadataNode
and will throw a DOMException . |
void |
IIOMetadataNode.setNodeValue(String nodeValue)
Sets the
String value associated with this node. |
void |
IIOMetadataNode.setPrefix(String prefix)
Does nothing, since namespaces are not supported.
|
protected void |
IIOMetadataFormatImpl.setResourceBaseName(String resourceBaseName)
Sets a new base name for locating
ResourceBundle s
containing descriptions of elements and attributes for this
format. |
void |
IIOMetadataNode.setTextContent(String textContent)
This DOM Level 3 method is not supported for
IIOMetadataNode
and will throw a DOMException . |
Object |
IIOMetadataNode.setUserData(String key,
Object data,
UserDataHandler handler)
This DOM Level 3 method is not supported for
IIOMetadataNode
and will throw a DOMException . |
Modifier and Type | Method and Description |
---|---|
protected void |
IIOMetadataFormatImpl.addAttribute(String elementName,
String attrName,
int dataType,
boolean required,
String defaultValue,
List<String> enumeratedValues)
Adds a new attribute to a previously defined element that will
be defined by a set of enumerated values.
|
Constructor and Description |
---|
IIOInvalidTreeException(String message,
Node offendingNode)
Constructs an
IIOInvalidTreeException with a
message string and a reference to the Node that
caused the parsing error. |
IIOInvalidTreeException(String message,
Throwable cause,
Node offendingNode)
Constructs an
IIOInvalidTreeException with a
message string, a reference to an exception that caused this
exception, and a reference to the Node that caused
the parsing error. |
IIOMetadata(boolean standardMetadataFormatSupported,
String nativeMetadataFormatName,
String nativeMetadataFormatClassName,
String[] extraMetadataFormatNames,
String[] extraMetadataFormatClassNames)
Constructs an
IIOMetadata object with the given
format names and format class names, as well as a boolean
indicating whether the standard format is supported. |
IIOMetadata(boolean standardMetadataFormatSupported,
String nativeMetadataFormatName,
String nativeMetadataFormatClassName,
String[] extraMetadataFormatNames,
String[] extraMetadataFormatClassNames)
Constructs an
IIOMetadata object with the given
format names and format class names, as well as a boolean
indicating whether the standard format is supported. |
IIOMetadata(boolean standardMetadataFormatSupported,
String nativeMetadataFormatName,
String nativeMetadataFormatClassName,
String[] extraMetadataFormatNames,
String[] extraMetadataFormatClassNames)
Constructs an
IIOMetadata object with the given
format names and format class names, as well as a boolean
indicating whether the standard format is supported. |
IIOMetadataFormatImpl(String rootName,
int childPolicy)
Constructs a blank
IIOMetadataFormatImpl instance,
with a given root element name and child policy (other than
CHILD_POLICY_REPEAT ). |
IIOMetadataFormatImpl(String rootName,
int minChildren,
int maxChildren)
Constructs a blank
IIOMetadataFormatImpl instance,
with a given root element name and a child policy of
CHILD_POLICY_REPEAT . |
IIOMetadataNode(String nodeName)
Constructs an
IIOMetadataNode with a given node
name. |
Modifier and Type | Method and Description |
---|---|
String[] |
JPEGImageWriteParam.getCompressionQualityDescriptions() |
String |
JPEGQTable.toString()
Returns a
String representing this quantization table. |
String |
JPEGHuffmanTable.toString()
Returns a
String representing this Huffman table. |
Modifier and Type | Field and Description |
---|---|
protected String[] |
ImageReaderWriterSpi.extraImageMetadataFormatClassNames
An array of
String s containing the class names of
any additional image metadata formats supported by this
plug-in, initially null . |
protected String[] |
ImageReaderWriterSpi.extraImageMetadataFormatNames
An array of
String s containing the names of any
additional image metadata formats supported by this plug-in,
initially null . |
protected String[] |
ImageReaderWriterSpi.extraStreamMetadataFormatClassNames
An array of
String s containing the class names of
any additional stream metadata formats supported by this plug-in,
initially null . |
protected String[] |
ImageReaderWriterSpi.extraStreamMetadataFormatNames
An array of
String s containing the names of any
additional stream metadata formats supported by this plug-in,
initially null . |
protected String[] |
ImageReaderWriterSpi.MIMETypes
An array of strings to be returned from
getMIMETypes , initially null . |
protected String[] |
ImageReaderWriterSpi.names
An array of strings to be returned from
getFormatNames , initially null . |
protected String |
ImageReaderWriterSpi.nativeImageMetadataFormatClassName
A
String containing the class name of the
native stream metadata format supported by this plug-in,
initially null . |
protected String |
ImageReaderWriterSpi.nativeImageMetadataFormatName
A
String containing the name of the
native stream metadata format supported by this plug-in,
initially null . |
protected String |
ImageReaderWriterSpi.nativeStreamMetadataFormatClassName
A
String containing the class name of the native
stream metadata format supported by this plug-in, initially
null . |
protected String |
ImageReaderWriterSpi.nativeStreamMetadataFormatName
A
String containing the name of the native stream
metadata format supported by this plug-in, initially
null . |
protected String |
ImageReaderWriterSpi.pluginClassName
A
String containing the name of the associated
plug-in class, initially null . |
protected String[] |
ImageWriterSpi.readerSpiNames
An array of strings to be returned from
getImageReaderSpiNames , initially
null . |
protected String[] |
ImageReaderWriterSpi.suffixes
An array of strings to be returned from
getFileSuffixes , initially null . |
protected String |
IIOServiceProvider.vendorName
A
String to be returned from
getVendorName , initially null . |
protected String |
IIOServiceProvider.version
A
String to be returned from
getVersion , initially null. |
protected String[] |
ImageReaderSpi.writerSpiNames
An array of strings to be returned from
getImageWriterSpiNames , initially
null . |
Modifier and Type | Method and Description |
---|---|
abstract String |
IIOServiceProvider.getDescription(Locale locale)
Returns a brief, human-readable description of this service
provider and its associated implementation.
|
String[] |
ImageReaderWriterSpi.getExtraImageMetadataFormatNames()
Returns an array of
String s containing the names
of additional document formats, other than the native and
standard formats, recognized by the
getAsTree and setFromTree methods on
the image metadata objects produced or consumed by this
plug-in. |
String[] |
ImageReaderWriterSpi.getExtraStreamMetadataFormatNames()
Returns an array of
String s containing the names
of additional document formats, other than the native and
standard formats, recognized by the
getAsTree and setFromTree methods on
the stream metadata objects produced or consumed by this
plug-in. |
String[] |
ImageReaderWriterSpi.getFileSuffixes()
Returns an array of
String s containing a list of
file suffixes associated with the formats that are generally
usable by the ImageReader or
ImageWriter implementation associated with this
service provider. |
String[] |
ImageReaderWriterSpi.getFormatNames()
Returns an array of
String s containing
human-readable names for the formats that are generally usable
by the ImageReader or ImageWriter
implementation associated with this service provider. |
String[] |
ImageWriterSpi.getImageReaderSpiNames()
Returns an array of
String s containing all the
fully qualified names of all the ImageReaderSpi
classes that can understand the internal metadata
representation used by the ImageWriter associated
with this service provider, or null if there are
no such ImageReaders specified. |
String[] |
ImageReaderSpi.getImageWriterSpiNames()
Returns an array of
String s containing the fully
qualified names of all the ImageWriterSpi classes
that can understand the internal metadata representation used
by the ImageReader associated with this service
provider, or null if there are no such
ImageWriter s specified. |
String[] |
ImageReaderWriterSpi.getMIMETypes()
Returns an array of
String s containing a list of
MIME types associated with the formats that are generally
usable by the ImageReader or
ImageWriter implementation associated with this
service provider. |
String |
ImageReaderWriterSpi.getNativeImageMetadataFormatName()
Returns the name of the "native" image metadata format for
this plug-in, which typically allows for lossless encoding and
transmission of the image metadata stored in the format handled by
this plug-in.
|
String |
ImageReaderWriterSpi.getNativeStreamMetadataFormatName()
Returns the name of the "native" stream metadata format for
this plug-in, which typically allows for lossless encoding and
transmission of the stream metadata stored in the format handled by
this plug-in.
|
String |
ImageReaderWriterSpi.getPluginClassName()
Returns the fully-qualified class name of the
ImageReader or ImageWriter plug-in
associated with this service provider. |
abstract String |
ImageTranscoderSpi.getReaderServiceProviderName()
Returns the fully qualified class name of an
ImageReaderSpi class that generates
IIOMetadata objects that may be used as input to
this transcoder. |
String |
IIOServiceProvider.getVendorName()
Returns the name of the vendor responsible for creating this
service provider and its associated implementation.
|
String |
IIOServiceProvider.getVersion()
Returns a string describing the version
number of this service provider and its associated
implementation.
|
abstract String |
ImageTranscoderSpi.getWriterServiceProviderName()
Returns the fully qualified class name of an
ImageWriterSpi class that generates
IIOMetadata objects that may be used as input to
this transcoder. |
Modifier and Type | Method and Description |
---|---|
IIOMetadataFormat |
ImageReaderWriterSpi.getImageMetadataFormat(String formatName)
Returns an
IIOMetadataFormat object describing the
given image metadata format, or null if no
description is available. |
IIOMetadataFormat |
ImageReaderWriterSpi.getStreamMetadataFormat(String formatName)
Returns an
IIOMetadataFormat object describing the
given stream metadata format, or null if no
description is available. |
Constructor and Description |
---|
IIOServiceProvider(String vendorName,
String version)
Constructs an
IIOServiceProvider with a given
vendor name and version identifier. |
ImageInputStreamSpi(String vendorName,
String version,
Class<?> inputClass)
Constructs an
ImageInputStreamSpi with a given set
of values. |
ImageOutputStreamSpi(String vendorName,
String version,
Class<?> outputClass)
Constructs an
ImageOutputStreamSpi with a given
set of values. |
ImageReaderSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String readerClassName,
Class[] inputTypes,
String[] writerSpiNames,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageReaderSpi with a given
set of values. |
ImageReaderSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String readerClassName,
Class[] inputTypes,
String[] writerSpiNames,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageReaderSpi with a given
set of values. |
ImageReaderSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String readerClassName,
Class[] inputTypes,
String[] writerSpiNames,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageReaderSpi with a given
set of values. |
ImageReaderSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String readerClassName,
Class[] inputTypes,
String[] writerSpiNames,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageReaderSpi with a given
set of values. |
ImageReaderSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String readerClassName,
Class[] inputTypes,
String[] writerSpiNames,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageReaderSpi with a given
set of values. |
ImageReaderSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String readerClassName,
Class[] inputTypes,
String[] writerSpiNames,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageReaderSpi with a given
set of values. |
ImageReaderSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String readerClassName,
Class[] inputTypes,
String[] writerSpiNames,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageReaderSpi with a given
set of values. |
ImageReaderSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String readerClassName,
Class[] inputTypes,
String[] writerSpiNames,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageReaderSpi with a given
set of values. |
ImageReaderSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String readerClassName,
Class[] inputTypes,
String[] writerSpiNames,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageReaderSpi with a given
set of values. |
ImageReaderWriterSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String pluginClassName,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageReaderWriterSpi with a given
set of values. |
ImageReaderWriterSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String pluginClassName,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageReaderWriterSpi with a given
set of values. |
ImageReaderWriterSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String pluginClassName,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageReaderWriterSpi with a given
set of values. |
ImageReaderWriterSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String pluginClassName,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageReaderWriterSpi with a given
set of values. |
ImageReaderWriterSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String pluginClassName,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageReaderWriterSpi with a given
set of values. |
ImageReaderWriterSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String pluginClassName,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageReaderWriterSpi with a given
set of values. |
ImageReaderWriterSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String pluginClassName,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageReaderWriterSpi with a given
set of values. |
ImageReaderWriterSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String pluginClassName,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageReaderWriterSpi with a given
set of values. |
ImageTranscoderSpi(String vendorName,
String version)
Constructs an
ImageTranscoderSpi with a given set
of values. |
ImageWriterSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String writerClassName,
Class[] outputTypes,
String[] readerSpiNames,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageWriterSpi with a given
set of values. |
ImageWriterSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String writerClassName,
Class[] outputTypes,
String[] readerSpiNames,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageWriterSpi with a given
set of values. |
ImageWriterSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String writerClassName,
Class[] outputTypes,
String[] readerSpiNames,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageWriterSpi with a given
set of values. |
ImageWriterSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String writerClassName,
Class[] outputTypes,
String[] readerSpiNames,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageWriterSpi with a given
set of values. |
ImageWriterSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String writerClassName,
Class[] outputTypes,
String[] readerSpiNames,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageWriterSpi with a given
set of values. |
ImageWriterSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String writerClassName,
Class[] outputTypes,
String[] readerSpiNames,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageWriterSpi with a given
set of values. |
ImageWriterSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String writerClassName,
Class[] outputTypes,
String[] readerSpiNames,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageWriterSpi with a given
set of values. |
ImageWriterSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String writerClassName,
Class[] outputTypes,
String[] readerSpiNames,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageWriterSpi with a given
set of values. |
ImageWriterSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String writerClassName,
Class[] outputTypes,
String[] readerSpiNames,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageWriterSpi with a given
set of values. |