Uses of Class
java.lang.String
Packages that useString
Package
Description
Provides a collection of interfaces and classes that compose the Java AccessibilityUtilities.
This is the core package of the Java DebugInterface (JDI), it defines mirrors for values, types, and the targetVirtualMachine itself - as well bootstrapping facilities.
This package defines connections between the virtual machineusing the JDI and the target virtual machine.
This package comprises the interfaces and classes used todevelop new
TransportServiceimplementations.This package defines JDI events and event processing.
This package is used to request that a JDIevent be sent under specified conditions.
This package contains JDK extensions to the standard implementation ofthe
java.lang.management API and also defines the managementinterface for some other components of the platform.Provides a simple high-level Http server API, which can be used to build embedded HTTP servers.
A Java API for Stream Control Transport Protocol.
Provides implementations of
Principal.Provides an implementation of
Configuration.Provides implementations of
LoginModule.This package defines classes and interfaces for the JDK extensionsto the GSS-API.
Provides interfaces to represent documentation comments as abstract syntaxtrees (AST).
Provides interfaces to represent source code as abstract syntaxtrees (AST).
Provides utilities for operations on abstract syntax trees (AST).
Provides the API to attach to a Java virtual machine.
Only developers who are defining new attach providers should need to makedirect use of this package.
This package provides a legacy entry point for thejavac tool.
This package contains the JConsole API.
Provides the classes necessary to create an applet and the classes an appletuses to communicate with its applet context.
Contains all of the classes for creating user interfaces and for paintinggraphics and images.
Provides classes for color spaces.
Provides interfaces and classes for transferring data between and withinapplications.
Provides interfaces and classes for interaction with various desktopcapabilities.
Drag and Drop is a direct manipulation gesture found in many Graphical UserInterface systems that provides a mechanism to transfer information betweentwo entities logically associated with presentation elements in the GUI.
Provides interfaces and classes for dealing with different types of eventsfired by AWT components.
Provides classes and interface relating to fonts.
Provides the Java 2D classes for defining and performing operations onobjects related to two-dimensional geometry.
Provides interfaces that enable the development of input methods that can beused with any Java runtime environment.
Provides classes for creating and modifying images.
Provides classes and interfaces for producing rendering-independent images.
Provides classes and interfaces for a general printing API.
Contains classes related to developingbeans -- components based onthe JavaBeans architecture.
Provides classes and interfaces relating to bean context.
Provides for system input and output through data streams,serialization and the file system.
Provides classes that are fundamental to the design of the Javaprogramming language.
Provides library support for the Java programming languageannotation facility.
Provides classfile parsing, generation, and transformation library.
Provides interfaces describing
class file attributes for thejava.lang.classfile library.Provides interfaces describing constant pool entries for the
java.lang.classfile library.Provides interfaces describing code instructions for the
java.lang.classfile library.Classes and interfaces to representnominal descriptors for run-timeentities such as classes or method handles, and classfile entities such asconstant pool entries or
invokedynamic call sites.Provides low-level access to memory and functions outside the Java runtime.
Provides services that allow Java programming language agents to instrumentprograms running on the Java Virtual Machine (JVM).
The
java.lang.invoke package provides low-level primitives for interactingwith the Java Virtual Machine.Provides the management interfaces for monitoring and management of theJava virtual machine and other components in the Java runtime.
Classes to support module descriptors and creating configurations of modulesby means of resolution and service binding.
Provides classes and interfaces for obtaining reflective information aboutclasses and objects.
The
java.lang.runtime package provides low-level runtime supportfor the Java language.Provides classes for performing arbitrary-precision integerarithmetic (
BigInteger) and arbitrary-precision decimalarithmetic (BigDecimal).Provides the classes for implementing networking applications.
HTTP Client and WebSocket APIs
Service-provider classes for the
java.net package.Defines buffers, which are containers for data, and provides anoverview of the other NIO packages.
Defines channels, which represent connections to entities that are capable ofperforming I/O operations, such as files and sockets; defines selectors, formultiplexed, non-blocking I/O operations.
Defines charsets, decoders, and encoders, for translating betweenbytes and Unicode characters.
Service-provider classes for the
java.nio.charset package.Defines interfaces and classes for the Java virtual machine to access files,file attributes, and file systems.
Interfaces and classes providing access to file and file system attributes.
Service-provider classes for the
java.nio.file package.Provides the RMI package.
Provides classes and interface for RMI distributedgarbage-collection (DGC).
Provides a class and two interfaces for the RMI registry.
Provides classes and interfaces for supporting the server side of RMI.
Provides the classes and interfaces for the security framework.
Provides classes and interfaces for parsing and managingcertificates, certificate revocation lists (CRLs), andcertification paths.
Provides classes and interfaces for key specifications and algorithmparameter specifications.
Provides the API for accessing and processing data stored in adata source (usually a relational database) using theJava programming language.
Provides classes and interfaces for handling text, dates, numbers,and messages in a manner independent of natural languages.
The main API for dates, times, instants, and durations.
Generic API for calendar systems other than the default ISO.
Provides classes to print and parse dates and times.
Access to date and time using fields and units, and date time adjusters.
Support for time-zones and their rules.
Contains the collections framework, some internationalization support classes,a service loader, properties, random number generation, string parsingand scanning classes, base64 encoding and decoding, a bit array, andseveral miscellaneous utility classes.
Utility classes commonly useful in concurrent programming.
A small toolkit of classes that support lock-free thread-safeprogramming on single variables.
Interfaces and classes providing a framework for locking and waitingfor conditions that is distinct from built-in synchronization andmonitors.
Provides classes for reading and writing the JAR (Java ARchive)file format, which is based on the standard ZIP file format with anoptional manifest file.
Provides the classes and interfaces ofthe Java 2 platform's core logging facilities.
This package allows applications to store and retrieve user and systempreference and configuration data.
This package contains classes and interfaces that support a generic APIfor random number generation.
Classes for matching character sequences against patterns specifiedby regular expressions.
Service provider classes for the classes in the java.util package.
Classes to support functional-style operations on streams of elements, suchas map-reduce transformations on collections.
Provides classes for reading and writing the standard ZIP and GZIP fileformats.
Defines a contract between user-interface components and an assistivetechnology that provides access to those components.
Facilities for declaring annotation processors and forallowing annotation processors to communicate with an annotation processingtool environment.
Provides the classes and interfaces for cryptographicoperations.
Provides classes and interfaces for key specifications andalgorithm parameter specifications.
The main package of the Java Image I/O API.
A package of the Java Image I/O API dealing with synchronous notification ofevents during the reading and writing of images.
A package of the Java Image I/O API dealing with reading and writingmetadata.
Classes supporting the built-in JPEG plug-in.
Public classes used by the built-in TIFF plug-ins.
A package of the Java Image I/O API containing the plug-in interfaces forreaders, writers, transcoders, and streams, and a runtime registry.
A package of the Java Image I/O API dealing with low-level I/O from files andstreams.
Types and hierarchies of packages comprising a Java language model, a reflective API that models the declarations and types of the Javaprogramming language.
Interfaces used to model elements of the Java programming language.
Interfaces used to model Java programming language types.
Utilities to assist in the processing ofprogram elements andtypes.
Provides the core classes for the Java Management Extensions.
Provides the classes which implement advanced dynamicloading.
Provides the definition of the ModelMBean classes.
Provides the definition of the monitor classes.
Provides the open data types and Open MBean descriptor classes.
Provides the definition of the Relation Service.
Interfaces for remote access toJMX MBean servers.
The RMI connector is a connector for the JMX Remote API that uses RMI to transmit client requests to a remote MBean server.
Provides the definition of the Timer MBean.
Provides the classes and interfaces for accessing naming services.
Extends the
javax.naming package to provide functionalityfor accessing directory services.Provides support for event notification when accessing naming anddirectory services.
Provides support for LDAPv3 extended operations and controls.
Provides the Service Provider Interface for DNS lookups whenperforming LDAP operations.
Provides the means for dynamically plugging in support for accessingnaming and directory services through the
javax.namingand related packages.Provides classes for networking applications.
Provides classes for the secure socket package.
Provides the principal classes and interfaces for the Java PrintService API.
Provides classes and interfaces that describe the types of Java PrintService attributes and how they can be collected into attribute sets.
Package
javax.print.attribute.standard contains classes for specificprinting attributes.Package
javax.print.event contains event classes and listenerinterfaces.Provides implementations of
RMIClientSocketFactoryandRMIServerSocketFactory overthe Secure Sockets Layer (SSL) or Transport Layer Security (TLS) protocols.The scripting API consists of interfaces and classes that defineJava Scripting Engines and providesa framework for their use in Java applications.
This package provides a framework for authentication andauthorization.
This package provides the classes necessary for servicesto interact with applications in order to retrieveinformation (authentication data including usernamesor passwords, for example) or to display information(error and warning messages, for example).
This package contains utility classes related to the Kerberos networkauthentication protocol.
This package provides a pluggable authentication framework.
This package provides the interface to be used forimplementing pluggable authentication modules.
This package contains the classes that should be used to storeX500 Principal and X500 Private Credentials in aSubject.
Provides classes for public key certificates.
Contains class and interfaces for supporting SASL.
Java™ Smart Card I/O API.
Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI(Musical Instrument Digital Interface) data.
Provides interfaces and classes for capture, processing, and playback ofsampled audio data.
Provides the API for server side data source access and processing fromthe Java programming language.
Standard interfaces and base classes for JDBC
RowSet implementations.Provides utility classes to allow serializable mappings between SQL typesand data types in the Java programming language.
The standard classes and interfaces that a third party vendor has to use in its implementation of a synchronization provider.
Provides a set of "lightweight" (all-Java language) componentsthat, to the maximum degree possible, work the same on all platforms.
Provides classes and interface for drawing specialized borders around a Swingcomponent.
Contains classes and interfaces used by the
JColorChooser component.Provides for events fired by Swing components.
Contains classes and interfaces used by the
JFileChooser component.Provides one interface and many abstract classes that Swing uses to provideits pluggable look-and-feel capabilities.
Provides user interface objects built according to the Basic look and feel.
Provides user interface objects built according to the Java look and feel(once codenamedMetal), which is the default look and feel.
Provides user interface objects that combine two or more look and feels.
Provides user interface objects built according to the cross-platform Nimbuslook and feel.
Synth is a skinnable look and feel in which all painting is delegated.
Provides classes and interfaces for dealing with
javax.swing.JTable.Provides classes and interfaces that deal with editable and noneditable textcomponents.
Provides the class
HTMLEditorKit and supporting classes for creatingHTML text editors.Provides the default HTML parser, along with support classes.
Provides a class (
RTFEditorKit) for creating Rich-Text-Format texteditors.Provides classes and interfaces for dealing with
javax.swing.JTree.Allows developers to provide support for undo/redo in applications such astext editors.
Provides interfaces for tools which can be invoked from a program,for example, compilers.
Provides the API that defines the contract between the transaction managerand the resource manager, which allows the transaction manager to enlistand delist resource objects (supplied by the resource manager driver) inJTA transactions.
Defines constants for XML processing.
Provides the classes for implementingXML Catalogs OASIS Standard V1.1, 7 October 2005.
Common classes for XML cryptography.
DOM-specific classes for the
javax.xml.crypto package.Classes for generating and validating XML digitalsignatures.
Classes for parsing and processing
KeyInfo elements and structures.Parameter classes for XML digital signatures.
Defines XML/Java Type Mappings.
Defines XML Namespace processing.
Provides the classes for processing XML documents with a SAX (Simple API for XML)parser or a DOM (Document Object Model) Document builder.
Defines interfaces and classes for the Streaming API for XML (StAX).
Defines event interfaces for the Streaming API for XML (StAX).
Provides utility classes for the Streaming API for XML (StAX).
Defines the generic APIs for processing transformation instructions,and performing a transformation from source to result.
Provides DOM specific transformation classes.
Provides SAX specific transformation classes.
Provides StAX specific transformation classes.
Provides stream and URI specific transformation classes.
Provides an API for validation of XML documents.
Provides anobject-model neutral API for theevaluation of XPath expressions and access to the evaluationenvironment.
Contains interfaces and classes that are used to link an
invokedynamic call site.Contains the linker for ordinary Java objects.
Contains interfaces and classes needed by language runtimes to implementtheir own language-specific object models and type conversions.
Contains classes that make it more convenient for language runtimes toimplement their own language-specific object models and type conversionsby providing basic implementations of some classes as well as variousutilities.
Incubating Feature. Will be removed in a future release.
The Doclet API provides an environment which, in conjunction withthe Language Model API and Compiler Tree API, allows clientsto inspect the source-level structures of programs andlibraries, including API comments embedded in the source.
This package provides classes to create events and control Flight Recorder.
This package contains classes for consuming Flight Recorder data.
Provides interfaces for creating tools, such as a Read-Eval-Print Loop (REPL),which interactively evaluate "snippets" of Java programming language code.
Provides implementation support for building JShell execution engines.
Defines the Service Provider Interface for pluggable JShell execution engines.
Provides a mechanism to launch an instance of a Java shell tool.
This package contains classes to control and monitor Flight Recorder over Java Management Extensions (JMX).
Platform specific socket options for the
java.net andjava.nio.channelssocket classes.This package defines APIs for signing jar files.
Deprecated, for removal: This API element is subject to removalin a future version.
The jdk.jsobject module will be delivered with JavaFX.
The jdk.jsobject module will be delivered with JavaFX.
This package presents a framework that allows application developers tomake use of security services like authentication, data integrity anddata confidentiality from a variety of underlying security mechanismslike Kerberos, using a unified API.
Provides the interfaces for the Document Object Model (DOM).
Provides a factory for obtaining instances of
DOMImplementation.Provides interfaces for DOM Level 2 Style Specification.
Provides interfaces for DOM Level 2 Events.
Provides interfaces for DOM Level 2 HTML Specification.
Provides interfaces for DOM Level 3 Load and Save.
Provides interfaces for DOM Level 2 Range.
Provides interfaces for DOM Level 2 Style Specification.
Provides interfaces for DOM Level 3 XPath Specification.
Provides the interfaces for the Simple API for XML (SAX).
Provides interfaces to SAX2 facilities thatconformant SAX drivers won't necessarily support.
Provides helper classes, includingsupport for bootstrapping SAX-based applications.
Uses ofString incom.sun.java.accessibility.util
Methods incom.sun.java.accessibility.util that returnStringModifier and TypeMethodDescriptionTranslator.getAccessibleDescription()Get the accessible description of this object.Translator.getAccessibleName()Get the accessible name of this object.AccessibilityListenerList.toString()Return a string representation of theAccessibilityListenerList.Methods incom.sun.java.accessibility.util with parameters of typeStringModifier and TypeMethodDescriptionvoidTranslator.setAccessibleDescription(String s) Set the accessible description of this object.voidTranslator.setAccessibleName(String s) Set the name of this object.Uses ofString incom.sun.jdi
Methods incom.sun.jdi that returnStringModifier and TypeMethodDescriptionPathSearchingVirtualMachine.baseDirectory()Get the base directory used for path searching.ClassNotLoadedException.className()ArrayType.componentSignature()Gets the JNI signature of the components of thisarray class.ArrayType.componentTypeName()Returns a text representation of the componenttype of this array.ReferenceType.defaultStratum()Returns the default stratum for this reference type.VirtualMachine.description()Returns text information on the target VM and thedebugger support that mirrors it.LocalVariable.genericSignature()Gets the generic signature for this variable if there is one.ReferenceType.genericSignature()Gets the generic signature for this type if there is one.TypeComponent.genericSignature()Gets the generic signature for this TypeComponent if there is one.VirtualMachine.getDefaultStratum()Return this VM's default stratum.LocalVariable.name()Gets the name of the local variable.ModuleReference.name()Returns the module name.ReferenceType.name()Returns the name of thisReferenceTypeobject.ThreadGroupReference.name()Returns the name of this thread group.ThreadReference.name()Returns the name of this thread.Type.name()Returns the name of this type.TypeComponent.name()Gets the name of this type component.VirtualMachine.name()Returns the name of the target VM as reported by thepropertyjava.vm.name.Method.returnTypeName()Returns a text representation of the return type,as specified in the declaration of this method.LocalVariable.signature()Gets thetype signature of the local variable.Type.signature()Returns the type signature for this type.TypeComponent.signature()Gets thetype signature for this type component.ReferenceType.sourceDebugExtension()Get the source debug extension of this type.Location.sourceName()Gets an identifying name for the source corresponding tothis location.Location.sourceName(String stratum) Gets an identifying name for the source corresponding tothis location.ReferenceType.sourceName()Gets an identifying name for the source corresponding to thedeclaration of this type.Location.sourcePath()Gets the path to the source corresponding to thislocation.Location.sourcePath(String stratum) Gets the path to the source corresponding to thislocation.Mirror.toString()Returns a String describing this mirrorField.typeName()Returns a text representation of the typeof this field.LocalVariable.typeName()Returns a text representation of the typeof this variable.StringReference.value()Returns the StringReference as a String.VirtualMachine.version()Returns the version of the Java Runtime Environment in the targetVM as reported by the propertyjava.version.Methods incom.sun.jdi that return types with arguments of typeStringModifier and TypeMethodDescriptionMethod.argumentTypeNames()Returns a list containing a text representation of the typeof each formal parameter of this method.ReferenceType.availableStrata()Return the available strata for this reference type.PathSearchingVirtualMachine.bootClassPath()Get the boot class path for this virtual machine.PathSearchingVirtualMachine.classPath()Get the class path for this virtual machine.ReferenceType.sourceNames(String stratum) Gets the identifying names for all the source corresponding to thedeclaration of this type.ReferenceType.sourcePaths(String stratum) Gets the paths to the source corresponding to thedeclaration of this type.Methods incom.sun.jdi with parameters of typeStringModifier and TypeMethodDescriptionMethod.allLineLocations(String stratum,String sourceName) Returns a list containing aLocationobject foreach executable source line in this method.ReferenceType.allLineLocations(String stratum,String sourceName) Returns a list containing aLocationobjectfor each executable source line in this reference type.VirtualMachine.classesByName(String className) Returns the loaded reference types thatmatch a given name.ClassType.concreteMethodByName(String name,String signature) Returns a single non-abstractMethodvisible fromthis class that has the given name and signature.ReferenceType.fieldByName(String fieldName) Finds the visibleFieldwith the givennon-ambiguous name.intLocation.lineNumber(String stratum) The line number of this Location.Method.locationsOfLine(String stratum,String sourceName, int lineNumber) Returns a List containing allLocationobjectsthat map to the given line number and source name.ReferenceType.locationsOfLine(String stratum,String sourceName, int lineNumber) Returns a List containing allLocationobjectsthat map to the given line number.ReferenceType.methodsByName(String name) Returns a List containing each visibleMethodthathas the given name.ReferenceType.methodsByName(String name,String signature) Returns a List containing each visibleMethodthathas the given name and signature.Creates a string in this virtual machine.voidVirtualMachine.setDefaultStratum(String stratum) Set this VM's default stratum (seeLocationfor adiscussion of strata).Location.sourceName(String stratum) Gets an identifying name for the source corresponding tothis location.ReferenceType.sourceNames(String stratum) Gets the identifying names for all the source corresponding to thedeclaration of this type.Location.sourcePath(String stratum) Gets the path to the source corresponding to thislocation.ReferenceType.sourcePaths(String stratum) Gets the paths to the source corresponding to thedeclaration of this type.Method.variablesByName(String name) Returns a list containing eachLocalVariableof agiven name in this method.StackFrame.visibleVariableByName(String name) Finds aLocalVariablethat matches the given name and isvisible at the current frame location.Constructors incom.sun.jdi with parameters of typeStringModifierConstructorDescriptionClassNotLoadedException(String className) ClassNotLoadedException(String className,String message) InternalException(String s, int errorCode) Deprecated.Deprecated.Constructs anInvalidModuleExceptionwith the given detailmessage.JDIPermission(String name) Deprecated, for removal: This API element is subject to removal in a future version.TheJDIPermissionclass represents access rights to theVirtualMachineManagerJDIPermission(String name,String actions) Deprecated, for removal: This API element is subject to removal in a future version.Constructs a new JDIPermission object.NativeMethodException(String message) OpaqueFrameException(String message) Constructs a OpaqueFrameException with the given detail message.VMDisconnectedException(String message) Uses ofString incom.sun.jdi.connect
Methods incom.sun.jdi.connect that returnStringModifier and TypeMethodDescriptionConnector.Argument.description()Returns a human-readable description of this argumentand its purpose.Connector.description()Returns a human-readable description of this connectorand its purpose.Connector.Argument.label()Returns a short human-readable label for this argument.Connector.Argument.name()Returns a short, unique identifier for the argument.Connector.name()Returns a short identifier for the connector.Transport.name()Returns a short identifier for the transport.ListeningConnector.startListening(Map<String, ? extendsConnector.Argument> arguments) Listens for one or more connections initiated by target VMs.Connector.BooleanArgument.stringValueOf(boolean value) Return the string representation of thevalueparameter.Connector.IntegerArgument.stringValueOf(int value) Return the string representation of thevalueparameter.Connector.Argument.value()Returns the current value of the argument.Methods incom.sun.jdi.connect that return types with arguments of typeStringModifier and TypeMethodDescriptionIllegalConnectorArgumentsException.argumentNames()Return aListcontaining the names of theinvalid or inconsistent arguments.Connector.SelectedArgument.choices()Return the possible values for the argumentConnector.defaultArguments()Returns the arguments accepted by this Connector and theirdefault values.Methods incom.sun.jdi.connect with parameters of typeStringModifier and TypeMethodDescriptionbooleanPerforms basic sanity check of argument.booleanPerforms basic sanity check of argument.booleanPerforms basic sanity check of argument.booleanPerforms basic sanity check of argument.booleanPerforms basic sanity check of argument.voidSets the value of the argument.Method parameters incom.sun.jdi.connect with type arguments of typeStringModifier and TypeMethodDescriptionListeningConnector.accept(Map<String, ? extendsConnector.Argument> arguments) Waits for a target VM to attach to this connector.AttachingConnector.attach(Map<String, ? extendsConnector.Argument> arguments) Attaches to a running application and returns amirror of its VM.LaunchingConnector.launch(Map<String, ? extendsConnector.Argument> arguments) Launches an application and connects to its VM.ListeningConnector.startListening(Map<String, ? extendsConnector.Argument> arguments) Listens for one or more connections initiated by target VMs.voidListeningConnector.stopListening(Map<String, ? extendsConnector.Argument> arguments) Cancels listening for connections.Constructors incom.sun.jdi.connect with parameters of typeStringModifierConstructorDescriptionConstruct anIllegalConnectorArgumentsExceptionwith the specified detail message and the name of the argumentwhich is invalid or inconsistent.IllegalConnectorArgumentsException(String s,List<String> names) Construct anIllegalConnectorArgumentsExceptionwith the specified detail message and aListofnames of arguments which are invalid or inconsistent.TransportTimeoutException(String message) Constructs aTransportTimeoutExceptionwith thespecified detail message.VMStartException(String message,Process process) Constructor parameters incom.sun.jdi.connect with type arguments of typeStringModifierConstructorDescriptionIllegalConnectorArgumentsException(String s,List<String> names) Construct anIllegalConnectorArgumentsExceptionwith the specified detail message and aListofnames of arguments which are invalid or inconsistent.Uses ofString incom.sun.jdi.connect.spi
Methods incom.sun.jdi.connect.spi that returnStringModifier and TypeMethodDescriptionabstractStringTransportService.ListenKey.address()Returns a string representation of the listen key.abstractStringTransportService.description()Returns a description of the transport service.abstractStringTransportService.name()Returns a name to identify the transport service.Methods incom.sun.jdi.connect.spi with parameters of typeStringModifier and TypeMethodDescriptionabstractConnectionAttaches to the specified address.abstractTransportService.ListenKeyTransportService.startListening(String address) Listens on the specified address for inbound connections.Constructors incom.sun.jdi.connect.spi with parameters of typeStringModifierConstructorDescriptionClosedConnectionException(String message) Constructs aClosedConnectionExceptionwith thespecified detail message.Uses ofString incom.sun.jdi.event
Methods incom.sun.jdi.event that returnStringModifier and TypeMethodDescriptionClassUnloadEvent.className()Returns thename of the classthat has been unloaded.ClassUnloadEvent.classSignature()Returns thetype signature of the classthat has been unloaded.Uses ofString incom.sun.jdi.request
Methods incom.sun.jdi.request with parameters of typeStringModifier and TypeMethodDescriptionvoidClassPrepareRequest.addClassExclusionFilter(String classPattern) Restricts the events generated by this request to thepreparation of reference types whose name doesnot matchthis restricted regular expression.voidClassUnloadRequest.addClassExclusionFilter(String classPattern) Restricts the events generated by this request to theunloading of reference types whose name doesnot matcha restricted regular expression.voidExceptionRequest.addClassExclusionFilter(String classPattern) Restricts the events generated by this request to thosewhose location is in a class whose name doesnot match arestricted regular expression.voidMethodEntryRequest.addClassExclusionFilter(String classPattern) Restricts the events generated by this request to thosewhose method is in a class whose name doesnot match this restrictedregular expression, e.g.voidMethodExitRequest.addClassExclusionFilter(String classPattern) Restricts the events generated by this request to thosewhose method is in a class whose name doesnot match thisrestricted regular expression.voidMonitorContendedEnteredRequest.addClassExclusionFilter(String classPattern) Restricts the events generated by this request to thosewhose method is in a class whose name doesnot match this restrictedregular expression, e.g.voidMonitorContendedEnterRequest.addClassExclusionFilter(String classPattern) Restricts the events generated by this request to thosewhose method is in a class whose name doesnot match this restrictedregular expression, e.g.voidMonitorWaitedRequest.addClassExclusionFilter(String classPattern) Restricts the events generated by this request to thosein which the name of the class of the monitor object doesnotmatch this restrictedregular expression, e.g.voidMonitorWaitRequest.addClassExclusionFilter(String classPattern) Restricts the events generated by this request to thosein which the name of the class of the monitor object doesnotmatch this restrictedregular expression, e.g.voidStepRequest.addClassExclusionFilter(String classPattern) Restricts the events generated by this request to thosewhose location is in a class whose name doesnot match arestricted regular expression.voidWatchpointRequest.addClassExclusionFilter(String classPattern) Restricts the events generated by this request to thosewhose location is in a class whose name doesnot match thisrestricted regular expression.voidClassPrepareRequest.addClassFilter(String classPattern) Restricts the events generated by this request to thepreparation of reference types whose name matches this restrictedregular expression.voidClassUnloadRequest.addClassFilter(String classPattern) Restricts the events generated by this request to theunloading of reference types whose name matches a restrictedregular expression.voidExceptionRequest.addClassFilter(String classPattern) Restricts the events generated by this request to thosewhose location is in a class whose name matches a restrictedregular expression.voidMethodEntryRequest.addClassFilter(String classPattern) Restricts the events generated by this request to thosewhose method is in a class whose name matches this restrictedregular expression.voidMethodExitRequest.addClassFilter(String classPattern) Restricts the events generated by this request to thosewhose method is in a class whose name matches a restrictedregular expression.voidMonitorContendedEnteredRequest.addClassFilter(String classPattern) Restricts the events generated by this request to thosewhose method is in a class whose name matches this restrictedregular expression.voidMonitorContendedEnterRequest.addClassFilter(String classPattern) Restricts the events generated by this request to thosewhose method is in a class whose name matches this restrictedregular expression.voidMonitorWaitedRequest.addClassFilter(String classPattern) Restricts the events generated by this request to thosein which the name of the class of the monitor object matches this restrictedregular expression.voidMonitorWaitRequest.addClassFilter(String classPattern) Restricts the events generated by this request to thosein which the name of the class of the monitor object matches this restrictedregular expression.voidStepRequest.addClassFilter(String classPattern) Restricts the events generated by this request to thosewhose location is in a class whose name matches a restrictedregular expression.voidWatchpointRequest.addClassFilter(String classPattern) Restricts the events generated by this request to thosewhose location is in a class whose name matches a restrictedregular expression.voidClassPrepareRequest.addSourceNameFilter(String sourceNamePattern) Restricts the events generated by this request to thepreparation of reference types for which the restricted regularexpression 'sourceNamePattern' matches one of the 'sourceNames' forthe reference type being prepared.Constructors incom.sun.jdi.request with parameters of typeStringModifierConstructorDescriptionUses ofString incom.sun.management
Fields incom.sun.management declared asStringModifier and TypeFieldDescriptionstatic finalStringGarbageCollectionNotificationInfo.GARBAGE_COLLECTION_NOTIFICATIONNotification type denoting thatthe Java virtual machine has completed a garbage collection cycle.Methods incom.sun.management that returnStringModifier and TypeMethodDescriptionGarbageCollectionNotificationInfo.getGcAction()Returns the action performed by the garbage collectorGarbageCollectionNotificationInfo.getGcCause()Returns the cause of the garbage collectionGarbageCollectionNotificationInfo.getGcName()Returns the name of the garbage collector used to perform the collectionVMOption.getName()Returns the name of this VM option.VMOption.getValue()Returns the value of this VM option at the time whenthisVMOptionwas created.GcInfo.toString()Methods incom.sun.management that return types with arguments of typeStringModifier and TypeMethodDescriptionGcInfo.getMemoryUsageAfterGc()Returns the memory usage of all memory poolsat the end of this GC.GcInfo.getMemoryUsageBeforeGc()Returns the memory usage of all memory poolsat the beginning of this GC.Methods incom.sun.management with parameters of typeStringModifier and TypeMethodDescriptionbooleanGcInfo.containsKey(String key) voidDumps the heap to theoutputFilefile in the sameformat as the hprof heap dump.default voidHotSpotDiagnosticMXBean.dumpThreads(String outputFile,HotSpotDiagnosticMXBean.ThreadDumpFormat format) Generate a thread dump to the given file in the given format.Object[]HotSpotDiagnosticMXBean.getVMOption(String name) Returns aVMOptionobject for a VM option of the givenname.voidHotSpotDiagnosticMXBean.setVMOption(String name,String value) Sets a VM option of the given name to the specified value.Returns the enum constant of this class with the specified name.staticVMOption.OriginReturns the enum constant of this class with the specified name.Constructors incom.sun.management with parameters of typeStringModifierConstructorDescriptionGarbageCollectionNotificationInfo(String gcName,String gcAction,String gcCause,GcInfo gcInfo) Constructs aGarbageCollectionNotificationInfoobject.VMOption(String name,String value, boolean writeable,VMOption.Origin origin) Constructs aVMOption.Uses ofString incom.sun.net.httpserver
Classes incom.sun.net.httpserver that implement interfaces with type arguments of typeStringModifier and TypeClassDescriptionclassclassFields incom.sun.net.httpserver declared asStringModifier and TypeFieldDescriptionprotected finalStringBasicAuthenticator.realmThe HTTP Basic authentication realm.Methods incom.sun.net.httpserver that returnStringModifier and TypeMethodDescriptionabstractStringFilter.description()Returns a short description of thisFilter.String[]HttpsParameters.getCipherSuites()Deprecated.It is recommended that the SSL parameters be configured andread through the use ofSSLParameters.Returns the first value from theListofStringvaluesfor the givenkey, ornullif no mapping for thekeyexists.HttpPrincipal.getName()Returns the contents of this principal in the formrealm:username.abstractStringHttpContext.getPath()Returns the path this context was created with.abstractStringHttpExchange.getProtocol()Returns the protocol string from the request in the formprotocol/majorVersion.minorVersion.String[]HttpsParameters.getProtocols()Deprecated.It is recommended that the SSL parameters be configured andread through the use ofSSLParameters.BasicAuthenticator.getRealm()Returns the realm thisBasicAuthenticatorwas created with.HttpPrincipal.getRealm()Returns therealmthis object was created with.abstractStringHttpExchange.getRequestMethod()Returns the request method.Request.getRequestMethod()Returns the request method.HttpPrincipal.getUsername()Returns theusernamethis object was created with.HttpPrincipal.toString()Returns the same string asHttpPrincipal.getName().Methods incom.sun.net.httpserver that return types with arguments of typeStringModifier and TypeMethodDescriptionHeaders.entrySet()Headers.entrySet()HttpContext.getAttributes()Headers.keySet()Headers.values()Methods incom.sun.net.httpserver with parameters of typeStringModifier and TypeMethodDescriptionstaticFilterFilter.adaptRequest(String description,UnaryOperator<Request> requestOperator) Returns apre-processing Filterthat inspects and possibly adapts the request state.voidAdds the givenvalueto the list of headers for the givenkey.staticFilterFilter.afterHandler(String description,Consumer<HttpExchange> operation) Returns a post-processingFilterwith the given description andoperation.staticFilterFilter.beforeHandler(String description,Consumer<HttpExchange> operation) Returns a pre-processingFilterwith the given description andoperation.abstract booleanBasicAuthenticator.checkCredentials(String username,String password) Called for each incoming request to verify thegiven name and password in the context of thisauthenticator's realm.staticHttpServerHttpServer.create(InetSocketAddress addr, int backlog,String path,HttpHandler handler,Filter... filters) Creates anHttpServerinstance with an initial context.staticHttpsServerHttpsServer.create(InetSocketAddress addr, int backlog,String path,HttpHandler handler,Filter... filters) Creates anHttpsServerinstance with an initial context.abstractHttpContextHttpServer.createContext(String path) Creates a HttpContext without initially specifying a handler.abstractHttpContextHttpServer.createContext(String path,HttpHandler handler) Creates aHttpContext.abstractObjectHttpExchange.getAttribute(String name) Filtermodules may store arbitrary objects withHttpExchangeinstances as an out-of-band communication mechanism.Returns the first value from theListofStringvaluesfor the givenkey, ornullif no mapping for thekeyexists.staticHeadersReturns an immutableHeaderswith the given name value pairs asits set of headers.staticHttpHandlerReturns anHttpHandlerthat sends a response comprising the givenstatusCode,headers, andbody.abstract voidHttpServer.removeContext(String path) Removes the context identified by the given path from the server.voidSets the givenvalueas the sole header value for the givenkey.abstract voidHttpExchange.setAttribute(String name,Object value) Filtermodules may store arbitrary objects withHttpExchangeinstances as an out-of-band communication mechanism.voidHttpsParameters.setCipherSuites(String[] cipherSuites) Deprecated.It is recommended that the SSL parameters be configured andread through the use ofSSLParameters.voidHttpsParameters.setProtocols(String[] protocols) Deprecated.It is recommended that the SSL parameters be configured andread through the use ofSSLParameters.Returns the enum constant of this class with the specified name.defaultRequestReturns an identicalRequestwith an additional header.Method parameters incom.sun.net.httpserver with type arguments of typeStringModifier and TypeMethodDescriptionstaticHeadersReturns an immutableHeadersfrom the givenheaderswiththe same header names and values.staticHeadersReturns an immutableHeadersfrom the givenheaderswiththe same header names and values.voidvoiddefaultRequestReturns an identicalRequestwith an additional header.Constructors incom.sun.net.httpserver with parameters of typeStringModifierConstructorDescriptionBasicAuthenticator(String realm) Creates aBasicAuthenticatorfor the given HTTP realm.BasicAuthenticator(String realm,Charset charset) Creates aBasicAuthenticatorfor the given HTTP realm and using thegivenCharsetto decode the Basic authentication credentials(username and password).HttpPrincipal(String username,String realm) Creates aHttpPrincipalfrom the givenusernameandrealm.Constructor parameters incom.sun.net.httpserver with type arguments of typeStringUses ofString incom.sun.nio.sctp
Methods incom.sun.nio.sctp that returnStringModifier and TypeMethodDescriptionSctpStandardSocketOptions.InitMaxStreams.toString()Returns a string representation of this init max streams, includingthe maximum in and out bound streams.Methods incom.sun.nio.sctp with parameters of typeStringModifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.staticHandlerResultReturns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.Constructors incom.sun.nio.sctp with parameters of typeStringModifierConstructorDescriptionConstructs an instance of this class with the specified message.Constructs an instance of this class with the specified detailed message.Constructs an instance of this class with the specified detailed message.Uses ofString incom.sun.security.auth
Methods incom.sun.security.auth that returnStringModifier and TypeMethodDescriptionLdapPrincipal.getName()Returns the name originally used to create this principal.NTDomainPrincipal.getName()Return the Windows NT domain name for thisNTDomainPrincipal.NTSid.getName()Return a string version of thisNTSid.NTUserPrincipal.getName()Return the Windows NT username for thisNTPrincipal.UnixNumericGroupPrincipal.getName()Return the user's group identification number (GID) for thisUnixNumericGroupPrincipal.UnixNumericUserPrincipal.getName()Return the user identification number (UID) for thisUnixNumericUserPrincipal.UnixPrincipal.getName()Return the Unix username for thisUnixPrincipal.UserPrincipal.getName()Returns the name of this principal.LdapPrincipal.toString()Creates a string representation of this principal's name in the formatdefined byRFC 2253.NTDomainPrincipal.toString()Return a string representation of thisNTDomainPrincipal.NTNumericCredential.toString()Return a string representation of thisNTNumericCredential.NTSid.toString()Return a string representation of thisNTSid.NTSidDomainPrincipal.toString()Return a string representation of thisNTSidDomainPrincipal.NTSidGroupPrincipal.toString()Return a string representation of thisNTSidGroupPrincipal.NTSidPrimaryGroupPrincipal.toString()Return a string representation of thisNTSidPrimaryGroupPrincipal.NTSidUserPrincipal.toString()Return a string representation of thisNTSidUserPrincipal.NTUserPrincipal.toString()Return a string representation of thisNTPrincipal.UnixNumericGroupPrincipal.toString()Return a string representation of thisUnixNumericGroupPrincipal.UnixNumericUserPrincipal.toString()Return a string representation of thisUnixNumericUserPrincipal.UnixPrincipal.toString()Return a string representation of thisUnixPrincipal.UserPrincipal.toString()Returns a string representation of this principal.Constructors incom.sun.security.auth with parameters of typeStringModifierConstructorDescriptionLdapPrincipal(String name) Creates an LDAP principal.NTDomainPrincipal(String name) Create anNTDomainPrincipalwith a Windows NT domain name.Create anNTSidwith a Windows NT SID.NTSidDomainPrincipal(String name) Create anNTSidDomainPrincipalwith a Windows NT SID.NTSidGroupPrincipal(String name) Create anNTSidGroupPrincipalwith a Windows NT group name.Create anNTSidPrimaryGroupPrincipalwith a Windows NTgroup SID.NTSidUserPrincipal(String name) Create anNTSidUserPrincipalwith a Windows NT SID.NTUserPrincipal(String name) Create anNTUserPrincipalwith a Windows NT username.UnixNumericGroupPrincipal(String name, boolean primaryGroup) Create aUnixNumericGroupPrincipalusing aStringrepresentation of the user'sgroup identification number (GID).Create aUnixNumericUserPrincipalusing aStringrepresentation of theuser's identification number (UID).UnixPrincipal(String name) Create a UnixPrincipal with a Unix username.UserPrincipal(String name) Creates a principal.Uses ofString incom.sun.security.auth.login
Methods incom.sun.security.auth.login with parameters of typeStringModifier and TypeMethodDescriptionConfigFile.getAppConfigurationEntry(String applicationName) Retrieve an entry from theConfigurationusing an applicationname as an index.Uses ofString incom.sun.security.auth.module
Fields incom.sun.security.auth.module declared asStringModifier and TypeFieldDescriptionfinalStringJndiLoginModule.GROUP_PROVIDERDirectory service/path where this module can access the relevantgroup information.finalStringJndiLoginModule.USER_PROVIDERDirectory service/path where this module can access the relevantuser information.protectedStringUnixSystem.usernameThe current username.Methods incom.sun.security.auth.module that returnStringModifier and TypeMethodDescriptionNTSystem.getDomain()Get the domain for the current NT user.NTSystem.getDomainSID()Get a printable SID for the current NT user's domain.String[]NTSystem.getGroupIDs()Get the printable group SIDs for the current NT user.NTSystem.getName()Get the username for the current NT user.NTSystem.getPrimaryGroupID()Get a printable primary group SID for the current NT user.UnixSystem.getUsername()Get the username for the current Unix user.NTSystem.getUserSID()Get a printable SID for the current NT user.Method parameters incom.sun.security.auth.module with type arguments of typeStringModifier and TypeMethodDescriptionvoidJndiLoginModule.initialize(Subject subject,CallbackHandler callbackHandler,Map<String, ?> sharedState,Map<String, ?> options) Initialize thisLoginModule.voidKeyStoreLoginModule.initialize(Subject subject,CallbackHandler callbackHandler,Map<String, ?> sharedState,Map<String, ?> options) Initialize thisLoginModule.voidKrb5LoginModule.initialize(Subject subject,CallbackHandler callbackHandler,Map<String, ?> sharedState,Map<String, ?> options) Initialize thisLoginModule.voidLdapLoginModule.initialize(Subject subject,CallbackHandler callbackHandler,Map<String, ?> sharedState,Map<String, ?> options) Initialize thisLoginModule.voidNTLoginModule.initialize(Subject subject,CallbackHandler callbackHandler,Map<String, ?> sharedState,Map<String, ?> options) Initialize thisLoginModule.voidUnixLoginModule.initialize(Subject subject,CallbackHandler callbackHandler,Map<String, ?> sharedState,Map<String, ?> options) Initialize thisLoginModule.Uses ofString incom.sun.security.jgss
Methods incom.sun.security.jgss with parameters of typeStringModifier and TypeMethodDescriptionstaticInquireTypeReturns the enum constant of this class with the specified name.Constructors incom.sun.security.jgss with parameters of typeStringModifierConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Constructs a newInquireSecContextPermissionobject withthe specified name.Uses ofString incom.sun.source.doctree
Fields incom.sun.source.doctree declared asStringModifier and TypeFieldDescriptionfinalStringDocTree.Kind.tagNameThe name of the tag, if any, associated with this kind of node.Methods incom.sun.source.doctree that returnStringModifier and TypeMethodDescriptionCommentTree.getBody()Returns the text of the comment.EscapeTree.getBody()Returns the text.TextTree.getBody()Returns the text.RawTextTree.getContent()Returns the content.ReferenceTree.getSignature()Returns the signature of the Java language element being referenced,as found in@seeand similar nodes.BlockTagTree.getTagName()Returns the name of the tag.InlineTagTree.getTagName()Returns the name of the tag.DocTypeTree.getText()Returns the text of the doctype declaration.Methods incom.sun.source.doctree with parameters of typeStringModifier and TypeMethodDescriptionstaticAttributeTree.ValueKindReturns the enum constant of this class with the specified name.staticDocTree.KindReturns the enum constant of this class with the specified name.Uses ofString incom.sun.source.tree
Methods incom.sun.source.tree with parameters of typeStringModifier and TypeMethodDescriptionstaticCaseTree.CaseKindReturns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.staticModuleTree.ModuleKindReturns the enum constant of this class with the specified name.staticTree.KindReturns the enum constant of this class with the specified name.Uses ofString incom.sun.source.util
Methods incom.sun.source.util that returnStringModifier and TypeMethodDescriptionabstractStringDocTrees.getCharacters(EntityTree tree) Returns a string containing the characters for the entity in a given entity tree,ornullif the tree does not represent a valid series of characters.abstractStringTrees.getDocComment(TreePath path) Returns the doc comment, if any, for theTreenode identified by a givenTreePath.Plugin.getName()Returns the user-friendly name of this plug-in.Methods incom.sun.source.util with parameters of typeStringModifier and TypeMethodDescriptionabstractDocCommentTreeDocTrees.getDocCommentTree(Element e,String relativePath) Returns the doc comment tree of the given file, which mustbe of one of the supported file types, and whose path isspecified relative to the given element.voidInitializes the plug-in for a given compilation task.DocTreeFactory.newCommentTree(String text) Creates a newCommentTree, to represent an HTML comment.DocTreeFactory.newDocTypeTree(String text) Creates a newDocTypeTree, to represent aDOCTYPEHTML declaration.DocTreeFactory.newErroneousTree(String text,Diagnostic<JavaFileObject> diag) Creates a newErroneousTreeobject, to represent some unparseable input.DocTreeFactory.newRawTextTree(DocTree.Kind kind,String code) Creates a newRawTextTreeobject, to represent a fragment of uninterpreted raw text.DocTreeFactory.newReferenceTree(String signature) Creates a newReferenceTreeobject, to represent a reference to an API element.DocTreeFactory.newTextTree(String text) Creates a newTextTreeobject, to represent some plain text.staticTaskEvent.KindReturns the enum constant of this class with the specified name.Uses ofString incom.sun.tools.attach
Methods incom.sun.tools.attach that returnStringModifier and TypeMethodDescriptionVirtualMachineDescriptor.displayName()Return thedisplay name component of this descriptor.finalStringVirtualMachine.id()Returns the identifier for this Java virtual machine.VirtualMachineDescriptor.id()Return the identifier component of this descriptor.abstractStringVirtualMachine.startLocalManagementAgent()Starts the local JMX management agent in the target virtual machine.VirtualMachine.toString()Returns the string representation of theVirtualMachine.VirtualMachineDescriptor.toString()Returns the string representation of theVirtualMachineDescriptor.Methods incom.sun.tools.attach with parameters of typeStringModifier and TypeMethodDescriptionstaticVirtualMachineAttaches to a Java virtual machine.voidLoads an agent.abstract voidLoads an agent.voidVirtualMachine.loadAgentLibrary(String agentLibrary) Loads an agent library.abstract voidVirtualMachine.loadAgentLibrary(String agentLibrary,String options) Loads an agent library.voidVirtualMachine.loadAgentPath(String agentPath) Load a native agent library by full pathname.abstract voidVirtualMachine.loadAgentPath(String agentPath,String options) Load a native agent library by full pathname.Constructors incom.sun.tools.attach with parameters of typeStringModifierConstructorDescriptionConstructs anAgentInitializationExceptionwiththe specified detail message.AgentInitializationException(String s, int returnValue) Constructs anAgentInitializationExceptionwiththe specified detail message and the return value from theexecution of the agent'sAgent_OnAttachfunction.Constructs anAgentLoadExceptionwiththe specified detail message.Constructs anAttachNotSupportedExceptionwiththe specified detail message.AttachOperationFailedException(String message) Constructs anAttachOperationFailedExceptionwiththe specified detail message.AttachPermission(String name) Deprecated, for removal: This API element is subject to removal in a future version.Constructs a new AttachPermission object.AttachPermission(String name,String actions) Deprecated, for removal: This API element is subject to removal in a future version.Constructs a new AttachPermission object.protectedVirtualMachine(AttachProvider provider,String id) Initializes a new instance of this class.VirtualMachineDescriptor(AttachProvider provider,String id) Creates a virtual machine descriptor from the given components.VirtualMachineDescriptor(AttachProvider provider,String id,String displayName) Creates a virtual machine descriptor from the given components.Uses ofString incom.sun.tools.attach.spi
Methods incom.sun.tools.attach.spi that returnStringModifier and TypeMethodDescriptionabstractStringAttachProvider.name()Return this provider's name.abstractStringAttachProvider.type()Return this provider's type.Methods incom.sun.tools.attach.spi with parameters of typeStringModifier and TypeMethodDescriptionabstractVirtualMachineAttachProvider.attachVirtualMachine(String id) Attaches to a Java virtual machine.Uses ofString incom.sun.tools.javac
Methods incom.sun.tools.javac with parameters of typeStringModifier and TypeMethodDescriptionstatic intProgrammatic interface to the Java Programming Language compiler, javac.static intMain.compile(String[] args,PrintWriter out) Programmatic interface to the Java Programming Language compiler, javac.static voidMain entry point for the launcher.Uses ofString incom.sun.tools.jconsole
Fields incom.sun.tools.jconsole declared asStringModifier and TypeFieldDescriptionstatic finalStringJConsoleContext.CONNECTION_STATE_PROPERTYTheConnectionStatebound property name.Methods incom.sun.tools.jconsole that return types with arguments of typeStringModifier and TypeMethodDescriptionJConsolePlugin.getTabs()Returns the tabs to be added in JConsole window.Methods incom.sun.tools.jconsole with parameters of typeStringModifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.Uses ofString injava.applet
Methods injava.applet that returnStringModifier and TypeMethodDescriptionApplet.getAppletInfo()Deprecated, for removal: This API element is subject to removal in a future version.Returns information about this applet.Applet.getParameter(String name) Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of the named parameter in the HTML tag.AppletStub.getParameter(String name) Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of the named parameter in the HTML tag.String[][]Applet.getParameterInfo()Deprecated, for removal: This API element is subject to removal in a future version.Returns information about the parameters that are understood by thisapplet.Methods injava.applet that return types with arguments of typeStringModifier and TypeMethodDescriptionAppletContext.getStreamKeys()Deprecated, for removal: This API element is subject to removal in a future version.Finds all the keys of the streams in this applet context.Methods injava.applet with parameters of typeStringModifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Finds and returns the applet in the document represented by this appletcontext with the given name.Applet.getAudioClip(URL url,String name) Deprecated, for removal: This API element is subject to removal in a future version.Returns theAudioClipobject specified by theURLandnamearguments.Deprecated, for removal: This API element is subject to removal in a future version.Returns anImageobject that can then be painted on the screen.Applet.getParameter(String name) Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of the named parameter in the HTML tag.AppletStub.getParameter(String name) Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of the named parameter in the HTML tag.Deprecated, for removal: This API element is subject to removal in a future version.Returns the stream to which specified key is associated within thisapplet context.voidDeprecated, for removal: This API element is subject to removal in a future version.Plays the audio clip given theURLand a specifier that isrelative to it.voidAppletContext.setStream(String key,InputStream stream) Deprecated, for removal: This API element is subject to removal in a future version.Associates the specified stream with the specified key in this appletcontext.voidAppletContext.showDocument(URL url,String target) Deprecated, for removal: This API element is subject to removal in a future version.Requests that the browser or applet viewer show the Web page indicated bytheurlargument.voidApplet.showStatus(String msg) Deprecated, for removal: This API element is subject to removal in a future version.Requests that the argument string be displayed in the "status window".voidAppletContext.showStatus(String status) Deprecated, for removal: This API element is subject to removal in a future version.Requests that the argument string be displayed in the "status window".Uses ofString injava.awt
Modifier and TypeFieldDescriptionstatic finalStringBorderLayout.AFTER_LAST_LINESynonym for PAGE_END.static finalStringBorderLayout.AFTER_LINE_ENDSSynonym for LINE_END.static finalStringBorderLayout.BEFORE_FIRST_LINESynonym for PAGE_START.static finalStringBorderLayout.BEFORE_LINE_BEGINSSynonym for LINE_START.static finalStringBorderLayout.CENTERThe center layout constraint (middle of container).static finalStringFont.DIALOGA String constant for the canonical family name of thelogical font "Dialog".static finalStringFont.DIALOG_INPUTA String constant for the canonical family name of thelogical font "DialogInput".static finalStringBorderLayout.EASTThe east layout constraint (right side of container).static finalStringBorderLayout.LINE_ENDThe component goes at the end of the line direction for thelayout.static finalStringBorderLayout.LINE_STARTThe component goes at the beginning of the line direction for thelayout.static finalStringFont.MONOSPACEDA String constant for the canonical family name of thelogical font "Monospaced".protectedStringCursor.nameThe user-visible name of the cursor.protectedStringFont.nameThe logical name of thisFont, as passed to theconstructor.static finalStringBorderLayout.NORTHThe north layout constraint (top of container).static finalStringBorderLayout.PAGE_ENDThe component comes after the last line of the layout's content.static finalStringBorderLayout.PAGE_STARTThe component comes before the first line of the layout's content.static finalStringFont.SANS_SERIFA String constant for the canonical family name of thelogical font "SansSerif".static finalStringFont.SERIFA String constant for the canonical family name of thelogical font "Serif".static finalStringBorderLayout.SOUTHThe south layout constraint (bottom of container).static finalStringBorderLayout.WESTThe west layout constraint (left side of container).Modifier and TypeMethodDescriptionButton.AccessibleAWTButton.getAccessibleActionDescription(int i) Return a description of the specified action of the object.Checkbox.AccessibleAWTCheckbox.getAccessibleActionDescription(int i) Return a description of the specified action of the object.CheckboxMenuItem.AccessibleAWTCheckboxMenuItem.getAccessibleActionDescription(int i) Return a description of the specified action of the object.Choice.AccessibleAWTChoice.getAccessibleActionDescription(int i) Returns a description of the specified action of the object.MenuItem.AccessibleAWTMenuItem.getAccessibleActionDescription(int i) Return a description of the specified action of the object.Component.AccessibleAWTComponent.getAccessibleDescription()Gets the accessible description of this object.MenuComponent.AccessibleAWTMenuComponent.getAccessibleDescription()Gets the accessible description of this object.Button.AccessibleAWTButton.getAccessibleName()Get the accessible name of this object.Component.AccessibleAWTComponent.getAccessibleName()Gets the accessible name of this object.Label.AccessibleAWTLabel.getAccessibleName()Get the accessible name of this object.MenuComponent.AccessibleAWTMenuComponent.getAccessibleName()Gets the accessible name of this object.MenuItem.AccessibleAWTMenuItem.getAccessibleName()Get the accessible name of this object.Button.getActionCommand()Returns the command name of the action event fired by this button.MenuItem.getActionCommand()Gets the command name of the action event that is firedby this menu item.TrayIcon.getActionCommand()Returns the command name of the action event fired by this tray icon.TextComponent.AccessibleAWTTextComponent.getAfterIndex(int part, int index) Returns the String after a given index.TextComponent.AccessibleAWTTextComponent.getAtIndex(int part, int index) Returns the String at a given index.abstractString[]GraphicsEnvironment.getAvailableFontFamilyNames()Returns an array containing the names of all font families in thisGraphicsEnvironmentlocalized for the default locale,as returned byLocale.getDefault().abstractString[]GraphicsEnvironment.getAvailableFontFamilyNames(Locale l) Returns an array containing the names of all font families in thisGraphicsEnvironmentlocalized for the specified locale.TextComponent.AccessibleAWTTextComponent.getBeforeIndex(int part, int index) Returns the String before a given index.FileDialog.getDirectory()Gets the directory of this file dialog.Font.getFamily()Returns the family name of thisFont.Returns the family name of thisFont, localized forthe specified locale.FileDialog.getFile()Gets the selected file of this file dialog.JobAttributes.getFileName()Specifies the file name for the output file for jobs using theseattributes.abstractString[]Toolkit.getFontList()Deprecated.Font.getFontName()Returns the font face name of thisFont.Font.getFontName(Locale l) Returns the font face name of theFont, localizedfor the specified locale.abstractStringGraphicsDevice.getIDstring()Returns the identification string associated with thisGraphicsDevice.Choice.getItem(int index) Gets the string at the specified index in thisChoicemenu.List.getItem(int index) Gets the item associated with the specified index.String[]List.getItems()Gets the items in the list.Button.getLabel()Gets the label of this button.Checkbox.getLabel()Gets the label of this check box.MenuItem.getLabel()Gets the label for this menu item.HeadlessException.getMessage()Returns the detail message string of thisHeadlessException.Component.getName()Gets the name of the component.Cursor.getName()Returns the name of this cursor.Font.getName()Returns the logical name of thisFont.MenuComponent.getName()Gets the name of the menu component.JobAttributes.getPrinter()Returns the destination printer for jobs using these attributes.staticStringToolkit.getProperty(String key,String defaultValue) Gets a property with the specified key and default.Font.getPSName()Returns the postscript name of thisFont.Choice.getSelectedItem()Gets a representation of the current choice as a string.List.getSelectedItem()Gets the selected item on this scrolling list.String[]List.getSelectedItems()Gets the selected items on this scrolling list.TextComponent.AccessibleAWTTextComponent.getSelectedText()Returns the portion of the text that is selected.TextComponent.getSelectedText()Returns the selected text from the text that ispresented by this text component.Label.getText()Gets the text of this label.TextComponent.getText()Returns the text that is presented by this text component.Dialog.getTitle()Gets the title of the dialog.Frame.getTitle()Gets the title of the frame.TrayIcon.getToolTip()Returns the tooltip string associated with thisTrayIcon.finalStringWindow.getWarningString()Deprecated, for removal: This API element is subject to removal in a future version.since JDK 24AWTEvent.paramString()Returns a string representing the state of thisEvent.protectedStringButton.paramString()Returns a string representing the state of thisButton.protectedStringCheckbox.paramString()Returns a string representing the state of thisCheckbox.CheckboxMenuItem.paramString()Returns a string representing the state of thisCheckBoxMenuItem.protectedStringChoice.paramString()Returns a string representing the state of thisChoicemenu.protectedStringComponent.paramString()Returns a string representing the state of this component.protectedStringContainer.paramString()Returns a string representing the state of thisContainer.protectedStringDialog.paramString()Returns a string representing the state of this dialog.protectedStringEvent.paramString()Deprecated.NOTE: TheEventclass is obsolete and isavailable only for backwards compatibility.protectedStringFileDialog.paramString()Returns a string representing the state of thisFileDialogwindow.protectedStringFrame.paramString()Returns a string representing the state of thisFrame.protectedStringLabel.paramString()Returns a string representing the state of thisLabel.protectedStringList.paramString()Returns the parameter string representing the state of thisscrolling list.Menu.paramString()Returns a string representing the state of thisMenu.protectedStringMenuComponent.paramString()Returns a string representing the state of thisMenuComponent.MenuItem.paramString()Returns a string representing the state of thisMenuItem.protectedStringMenuShortcut.paramString()Returns the parameter string representing the state of thisMenuShortcut.protectedStringScrollbar.paramString()Returns a string representing the state of thisScrollbar.ScrollPane.paramString()Returns a string representing the state of thisScrollPane.ScrollPaneAdjustable.paramString()Returns a string representing the state of this scrollbar.protectedStringTextArea.paramString()Returns a string representing the state of thisTextArea.protectedStringTextComponent.paramString()Returns a string representing the state of thisTextComponent.protectedStringTextField.paramString()Returns a string representing the state of thisTextField.AWTEvent.toString()Returns a String representation of this object.AWTKeyStroke.toString()Returns a string that displays and identifies this object's properties.BorderLayout.toString()Returns a string representation of the state of this border layout.CardLayout.toString()Returns a string representation of the state of this card layout.CheckboxGroup.toString()Returns a string representation of this check box group,including the value of its current selection.Color.toString()Returns a string representation of thisColor.Component.toString()Returns a string representation of this component and its values.Cursor.toString()Returns a string representation of this cursor.Dimension.toString()Returns a string representation of the values of thisDimensionobject'sheightandwidthfields.Event.toString()Deprecated.NOTE: TheEventclass is obsolete and isavailable only for backwards compatibility.FlowLayout.toString()Returns a string representation of thisFlowLayoutobject and its values.Font.toString()Converts thisFontobject to aStringrepresentation.FontMetrics.toString()Returns a representation of thisFontMetricsobject's values as aString.Graphics.toString()Returns aStringobject representing thisGraphicsobject's value.GridBagLayout.toString()Returns a string representation of this grid bag layout's values.GridLayout.toString()Returns the string representation of this grid layout's values.Insets.toString()Returns a string representation of thisInsetsobject.JobAttributes.toString()Returns a string representation of this JobAttributes.MenuComponent.toString()Returns a representation of this menu component as a string.MenuShortcut.toString()Returns an internationalized description of the MenuShortcut.PageAttributes.toString()Returns a string representation of this PageAttributes.Point.toString()Returns a string representation of this point and its locationin the(x,y)coordinate space.Rectangle.toString()Returns aStringrepresenting thisRectangleand its values.RenderingHints.toString()Returns a rather long string representation of the hashmapwhich contains the mappings of keys to values for thisRenderingHintsobject.Robot.toString()Returns a string representation of this Robot.ScrollPaneAdjustable.toString()Returns a string representation of this scrollbar and its values.SystemColor.toString()Returns a string representation of thisColor's values.Modifier and TypeMethodDescriptionvoidAdds an item to thisChoicemenu.Adds the specified component to this container.voidAdds the specified item to the end of scrolling list.voidAdds the specified item to the scrolling listat the position indicated by the index.voidAdds an item with the specified label to this menu.voidObsolete as of Java 2 platform v1.1.voidDeprecated.replaced byadd(String).voidDeprecated.replaced byadd(String, int).voidBorderLayout.addLayoutComponent(String name,Component comp) Deprecated.replaced byaddLayoutComponent(Component, Object).voidCardLayout.addLayoutComponent(String name,Component comp) Deprecated.replaced byaddLayoutComponent(Component, Object).voidFlowLayout.addLayoutComponent(String name,Component comp) Adds the specified component to the layout.voidGridBagLayout.addLayoutComponent(String name,Component comp) Has no effect, since this layout manager does not use a per-component string.voidGridLayout.addLayoutComponent(String name,Component comp) Adds the specified component with the specified name to the layout.voidLayoutManager.addLayoutComponent(String name,Component comp) If the layout manager uses a per-component string,adds the componentcompto the layout,associating itwith the string specified byname.voidComponent.addPropertyChangeListener(String propertyName,PropertyChangeListener listener) Adds a PropertyChangeListener to the listener list for a specificproperty.voidContainer.addPropertyChangeListener(String propertyName,PropertyChangeListener listener) Adds a PropertyChangeListener to the listener list for a specificproperty.voidKeyboardFocusManager.addPropertyChangeListener(String propertyName,PropertyChangeListener listener) Adds a PropertyChangeListener to the listener list for a specificproperty.voidSystemTray.addPropertyChangeListener(String propertyName,PropertyChangeListener listener) Adds aPropertyChangeListenerto the list of listeners for thespecific property.voidToolkit.addPropertyChangeListener(String name,PropertyChangeListener pcl) Adds the specified property change listener for the named desktopproperty.voidWindow.addPropertyChangeListener(String propertyName,PropertyChangeListener listener) Adds a PropertyChangeListener to the listener list for a specificproperty.voidKeyboardFocusManager.addVetoableChangeListener(String propertyName,VetoableChangeListener listener) Adds a VetoableChangeListener to the listener list for a specificproperty.voidAppends the given text to the text area's current text.voidTextArea.appendText(String str) Deprecated.As of JDK version 1.1,replaced byappend(String).voidWindow.applyResourceBundle(String rbName) Deprecated.As of J2SE 1.4, replaced byComponent.applyComponentOrientation.intFont.canDisplayUpTo(String str) Indicates whether or not thisFontcan display aspecifiedString.Toolkit.createCustomCursor(Image cursor,Point hotSpot,String name) Creates a new custom cursor object.Font.createGlyphVector(FontRenderContext frc,String str) Creates aGlyphVectorbymapping characters to glyphs one-to-one based on theUnicode cmap in thisFont.abstractImageToolkit.createImage(String filename) Returns an image which gets pixel data from the specified file.staticColorConverts aStringto an integer and returns thespecified opaqueColor.staticFontReturns theFontthat thestrargument describes.voidTrayIcon.displayMessage(String caption,String text,TrayIcon.MessageType messageType) Displays a popup message near the tray icon.abstract voidGraphics.drawString(String str, int x, int y) Draws the text given by the specified string, using thisgraphics context's current font and color.abstract voidGraphics2D.drawString(String str, float x, float y) Renders the text specified by the specifiedString,using the current text attribute state in theGraphics2Dcontext.abstract voidGraphics2D.drawString(String str, int x, int y) Renders the text of the specifiedString, using thecurrent text attribute state in theGraphics2Dcontext.protected voidComponent.firePropertyChange(String propertyName, boolean oldValue, boolean newValue) Support for reporting bound property changes for boolean properties.voidComponent.firePropertyChange(String propertyName, byte oldValue, byte newValue) Reports a bound property change.voidComponent.firePropertyChange(String propertyName, char oldValue, char newValue) Reports a bound property change.voidComponent.firePropertyChange(String propertyName, double oldValue, double newValue) Reports a bound property change.voidComponent.firePropertyChange(String propertyName, float oldValue, float newValue) Reports a bound property change.protected voidComponent.firePropertyChange(String propertyName, int oldValue, int newValue) Support for reporting bound property changes for integer properties.voidComponent.firePropertyChange(String propertyName, long oldValue, long newValue) Reports a bound property change.voidComponent.firePropertyChange(String propertyName, short oldValue, short newValue) Reports a bound property change.protected voidComponent.firePropertyChange(String propertyName,Object oldValue,Object newValue) Support for reporting bound property changes for Object properties.protected voidKeyboardFocusManager.firePropertyChange(String propertyName,Object oldValue,Object newValue) Fires a PropertyChangeEvent in response to a change in a bound property.protected voidKeyboardFocusManager.fireVetoableChange(String propertyName,Object oldValue,Object newValue) Fires a PropertyChangeEvent in response to a change in a vetoableproperty.staticAWTKeyStrokeAWTKeyStroke.getAWTKeyStroke(String s) Parses a string and returns anAWTKeyStroke.staticColorFinds a color in the system properties.staticColorFinds a color in the system properties.staticColorFinds a color in the system properties.finalObjectToolkit.getDesktopProperty(String propertyName) Obtains a value for the specified desktop property.staticFontReturns aFontobject from the system properties list.staticFontGets the specifiedFontfrom the system propertieslist.abstractImageReturns an image which gets pixel data from the specified file,whose format can be either GIF, JPEG or PNG.Font.getLineMetrics(String str, int beginIndex, int limit,FontRenderContext frc) Returns aLineMetricsobject created with thespecified arguments.Font.getLineMetrics(String str,FontRenderContext frc) FontMetrics.getLineMetrics(String str, int beginIndex, int limit,Graphics context) FontMetrics.getLineMetrics(String str,Graphics context) Toolkit.getPrintJob(Frame frame,String jobtitle,JobAttributes jobAttributes,PageAttributes pageAttributes) Gets aPrintJobobject which is the result of initiatinga print operation on the toolkit's platform.abstractPrintJobToolkit.getPrintJob(Frame frame,String jobtitle,Properties props) Gets aPrintJobobject which is the result of initiatinga print operation on the toolkit's platform.abstractObjectImage.getProperty(String name,ImageObserver observer) Gets a property of this image by name.staticStringToolkit.getProperty(String key,String defaultValue) Gets a property with the specified key and default.Component.getPropertyChangeListeners(String propertyName) Returns an array of all the listeners which have been associatedwith the named property.KeyboardFocusManager.getPropertyChangeListeners(String propertyName) Returns an array of all thePropertyChangeListenersassociated with the named property.SystemTray.getPropertyChangeListeners(String propertyName) Returns an array of all the listeners that have been associatedwith the named property.Toolkit.getPropertyChangeListeners(String propertyName) Returns an array of all property change listenersassociated with the specified name of a desktop property.Font.getStringBounds(String str, int beginIndex, int limit,FontRenderContext frc) Returns the logical bounds of the specifiedStringinthe specifiedFontRenderContext.Font.getStringBounds(String str,FontRenderContext frc) Returns the logical bounds of the specifiedStringinthe specifiedFontRenderContext.FontMetrics.getStringBounds(String str, int beginIndex, int limit,Graphics context) Returns the bounds of the specifiedStringin thespecifiedGraphicscontext.FontMetrics.getStringBounds(String str,Graphics context) Returns the bounds of the specifiedStringin thespecifiedGraphicscontext.staticCursorCursor.getSystemCustomCursor(String name) Returns a system-specific custom cursor object matching thespecified name.KeyboardFocusManager.getVetoableChangeListeners(String propertyName) Returns an array of all theVetoableChangeListenersassociated with the named property.voidInserts the item into this choice at the specified position.voidInserts a menu item with the specified label into this menuat the specified position.voidInserts the specified text at the specified positionin this text area.voidTextArea.insertText(String str, int pos) Deprecated.As of JDK version 1.1,replaced byinsert(String, int).protectedObjectToolkit.lazilyLoadDesktopProperty(String name) An opportunity to lazily evaluate desktop property values.voidRemoves the first occurrence ofitemfrom theChoicemenu.voidRemoves the first occurrence of an item from the list.voidComponent.removePropertyChangeListener(String propertyName,PropertyChangeListener listener) Removes aPropertyChangeListenerfrom the listenerlist for a specific property.voidKeyboardFocusManager.removePropertyChangeListener(String propertyName,PropertyChangeListener listener) Removes a PropertyChangeListener from the listener list for a specificproperty.voidSystemTray.removePropertyChangeListener(String propertyName,PropertyChangeListener listener) Removes aPropertyChangeListenerfrom the listener listfor a specific property.voidToolkit.removePropertyChangeListener(String name,PropertyChangeListener pcl) Removes the specified property change listener for the nameddesktop property.voidKeyboardFocusManager.removeVetoableChangeListener(String propertyName,VetoableChangeListener listener) Removes a VetoableChangeListener from the listener list for a specificproperty.voidList.replaceItem(String newValue, int index) Replaces the item at the specified index in the scrolling listwith the new string.voidTextArea.replaceRange(String str, int start, int end) Replaces text between the indicated start and end positionswith the specified replacement text.voidTextArea.replaceText(String str, int start, int end) Deprecated.As of JDK version 1.1,replaced byreplaceRange(String, int, int).protected static voidAWTEventMulticaster.save(ObjectOutputStream s,String k,EventListener l) Saves a Serializable listener chain to a serialization stream.protected voidAWTEventMulticaster.saveInternal(ObjectOutputStream s,String k) Serialization support.voidSets the selected item in thisChoicemenuto be the item whose name is equal to the specified string.voidButton.setActionCommand(String command) Sets the command name for the action event firedby this button.voidMenuItem.setActionCommand(String command) Sets the command name of the action event that is firedby this menu item.voidTrayIcon.setActionCommand(String command) Sets the command name for the action event fired by this trayicon.protected final voidToolkit.setDesktopProperty(String name,Object newValue) Sets the named desktop property to the specified value and fires aproperty change event to notify any listeners that the value has changed.voidFileDialog.setDirectory(String dir) Sets the directory of this file dialog window to be thespecified directory.voidSets the selected file for this file dialog window to be thespecified file.voidJobAttributes.setFileName(String fileName) Specifies the file name for the output file for jobs using theseattributes.voidTaskbar.setIconBadge(String badge) Affixes a small system-provided badge to this application's icon.voidSets the button's label to be the specified string.voidSets this check box's label to be the string argument.voidSets the label for this menu item to the specified label.voidSets the name of the component to the specified string.voidSets the name of the component to the specified string.voidJobAttributes.setPrinter(String printer) Specifies the destination printer for jobs using these attributes.voidSets the text for this label to the specified text.voidSets the text that is presented by thistext component to be the specified text.voidSets the text that is presented by thistext component to be the specified text.voidSets the title of the Dialog.voidSets the title of the Dialog.voidSets the title for this frame to the specified string.voidTrayIcon.setToolTip(String tooltip) Sets the tooltip string for thisTrayIcon.voidFlips to the component that was added to this layout with thespecifiedname, usingaddLayoutComponent.intFontMetrics.stringWidth(String str) Returns the total advance width for showing the specifiedStringin thisFont.Returns the enum constant of this class with the specified name.staticDesktop.ActionReturns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.staticDialog.ModalityTypeReturns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.staticTaskbar.FeatureReturns the enum constant of this class with the specified name.staticTaskbar.StateReturns the enum constant of this class with the specified name.staticTrayIcon.MessageTypeReturns the enum constant of this class with the specified name.staticWindow.TypeReturns the enum constant of this class with the specified name.ModifierConstructorDescriptionConstructs an instance ofAWTErrorwith the specifieddetail message.AWTException(String msg) Constructs an instance ofAWTExceptionwith thespecified detail message.AWTPermission(String name) Deprecated, for removal: This API element is subject to removal in a future version.Creates a newAWTPermissionwith the specified name.AWTPermission(String name,String actions) Deprecated, for removal: This API element is subject to removal in a future version.Creates a newAWTPermissionobject with the specified name.Constructs a button with the specified label.Creates a check box with the specified label.Creates a check box with the specified labeland sets the specified state.Checkbox(String label, boolean state,CheckboxGroup group) Constructs a Checkbox with the specified label, set to thespecified 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 specifiedcheck 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.protectedCreates a new custom cursor object with the specified name.Constructs an initially invisible, modelessDialogwith the specified ownerDialogand title.Constructs an initially invisibleDialogwith thespecified ownerDialog, title, and modality.Dialog(Dialog owner,String title, boolean modal,GraphicsConfiguration gc) Constructs an initially invisibleDialogwith thespecified ownerDialog, title, modality andGraphicsConfiguration.Constructs an initially invisible, modelessDialogwiththe specified ownerFrameand title.Constructs an initially invisibleDialogwith thespecified ownerFrame, title and modality.Dialog(Frame owner,String title, boolean modal,GraphicsConfiguration gc) Constructs an initially invisibleDialogwith the specified ownerFrame, title, modality, andGraphicsConfiguration.Constructs an initially invisible, modelessDialogwiththe specified ownerWindowand title.Dialog(Window owner,String title,Dialog.ModalityType modalityType) Constructs an initially invisibleDialogwith thespecified ownerWindow, title and modality.Dialog(Window owner,String title,Dialog.ModalityType modalityType,GraphicsConfiguration gc) Constructs an initially invisibleDialogwith thespecified ownerWindow, title, modality andGraphicsConfiguration.FileDialog(Dialog parent,String title) Creates a file dialog window with the specified title for loadinga file.FileDialog(Dialog parent,String title, int mode) Creates a file dialog window with the specified title for loadingor saving a file.FileDialog(Frame parent,String title) Creates a file dialog window with the specified title for loadinga file.FileDialog(Frame parent,String title, int mode) Creates a file dialog window with the specified title for loadingor saving a file.Creates a newFontfrom the specified name, style andpoint size.FontFormatException(String reason) Report a FontFormatException for the reason specified.Constructs a new, initially invisibleFrameobjectwith the specified title.Frame(String title,GraphicsConfiguration gc) Constructs a new, initially invisibleFrameobjectwith the specified title and aGraphicsConfiguration.HeadlessException(String msg) Create a new instance with the specified detailed error message.Constructs an IllegalComponentStateException with the specified detailmessage.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 aJobAttributesinstance with thespecified values for every attribute.Constructs a new label with the specified string of text,left justified.Constructs a new label that presents the specified string oftext with the specified alignment.Constructs a new menu with the specified label.Constructs a new menu with the specified label,indicating whether the menu can be torn off.Constructs a new MenuItem with the specified labeland no keyboard shortcut.MenuItem(String label,MenuShortcut s) Create a menu item with an associated keyboard shortcut.Creates a new popup menu with the specified name.Constructs a new text area with the specified text.Constructs a new text area with the specified text,and with the specified number of rows and columns.Constructs a new text area with the specified text,and with the rows, columns, and scroll bar visibilityas specified.Constructs a new text field initialized with the specified text.Constructs a new text field initialized with the specified textto be displayed, and wide enough to hold the specifiednumber of columns.Creates aTrayIconwith the specified image andtooltip text.Creates aTrayIconwith the specified image,tooltip and popup menu.Uses ofString injava.awt.color
Methods injava.awt.color that returnStringModifier and TypeMethodDescriptionColorSpace.getName(int component) Returns the name of the component given the component index.Methods injava.awt.color with parameters of typeStringModifier and TypeMethodDescriptionstaticICC_ProfileICC_Profile.getInstance(String fileName) Constructs anICC_Profilecorresponding to the data in a file.voidWrite thisICC_Profileto a file.Constructors injava.awt.color with parameters of typeStringModifierConstructorDescriptionCMMException(String message) Constructs aCMMExceptionwith the specified detail message.ProfileDataException(String message) Constructs aProfileDataExceptionwith the specified detailmessage.Uses ofString injava.awt.datatransfer
Fields injava.awt.datatransfer declared asStringModifier and TypeFieldDescriptionstatic finalStringDataFlavor.javaJVMLocalObjectMimeTypeTo transfer a reference to an arbitrary Java object reference that has noassociated MIME Content-type, across aTransferableinterfaceWITHIN THE SAME JVM, aDataFlavorwith this type/subtype is used,with arepresentationClassequal to the type of theclass/interface being passed across theTransferable.static finalStringDataFlavor.javaRemoteObjectMimeTypeIn order to pass a live link to a Remote object via a Drag and DropACTION_LINKoperation a Mime Content Type ofapplication/x-java-remote-object should be used, where the representationclass of theDataFlavorrepresents the type of theRemoteinterface to be transferred.static finalStringDataFlavor.javaSerializedObjectMimeTypeA MIME Content-Type of application/x-java-serialized-object represents agraph of Java object(s) that have been made persistent.Methods injava.awt.datatransfer that returnStringModifier and TypeMethodDescriptionstaticStringSystemFlavorMap.decodeJavaMIMEType(String nat) Decodes aStringnative for use as a Java MIME type.staticStringSystemFlavorMap.encodeDataFlavor(DataFlavor flav) Encodes aDataFlavorfor use as aStringnative.staticStringSystemFlavorMap.encodeJavaMIMEType(String mimeType) Encodes a MIME type for use as aStringnative.finalStringDataFlavor.getDefaultRepresentationClassAsString()Returns the name of the default representation class.DataFlavor.getHumanPresentableName()Returns the human presentable name for the data format that thisDataFlavorrepresents.DataFlavor.getMimeType()Returns the MIME type string for thisDataFlavor.Clipboard.getName()Returns the name of this clipboard object.DataFlavor.getParameter(String paramName) Returns the human presentable name for thisDataFlavorifparamNameequals "humanPresentableName".DataFlavor.getPrimaryType()Returns the primary MIME type for thisDataFlavor.DataFlavor.getSubType()Returns the sub MIME type of thisDataFlavor.protectedStringDataFlavor.normalizeMimeType(String mimeType) Deprecated.This method is never invoked by this implementation from 1.1 onwardsprotectedStringDataFlavor.normalizeMimeTypeParameter(String parameterName,String parameterValue) Deprecated.This method is never invoked by this implementation from 1.1 onwardsDataFlavor.toString()String representation of thisDataFlavorand its parameters.Methods injava.awt.datatransfer that return types with arguments of typeStringModifier and TypeMethodDescriptionFlavorMap.getFlavorsForNatives(String[] natives) Returns aMapof the specifiedStringnatives to theircorrespondingDataFlavor.SystemFlavorMap.getFlavorsForNatives(String[] natives) Returns aMapof the specifiedStringnatives to theirmost preferredDataFlavor.FlavorTable.getNativesForFlavor(DataFlavor flav) Returns aListofStringnatives to which the specifiedDataFlavorcorresponds.SystemFlavorMap.getNativesForFlavor(DataFlavor flav) Returns aListofStringnatives to which the specifiedDataFlavorcan be translated by the data transfer subsystem.FlavorMap.getNativesForFlavors(DataFlavor[] flavors) Returns aMapof the specifiedDataFlavors to theircorrespondingStringnative.SystemFlavorMap.getNativesForFlavors(DataFlavor[] flavors) Returns aMapof the specifiedDataFlavors to their mostpreferredStringnative.Methods injava.awt.datatransfer with parameters of typeStringModifier and TypeMethodDescriptionvoidSystemFlavorMap.addFlavorForUnencodedNative(String nat,DataFlavor flav) Adds a mapping from a singleStringnative to a singleDataFlavor.voidSystemFlavorMap.addUnencodedNativeForFlavor(DataFlavor flav,String nat) Adds a mapping from the specifiedDataFlavor(and allDataFlavors equal to the specifiedDataFlavor) to thespecifiedStringnative.staticDataFlavorSystemFlavorMap.decodeDataFlavor(String nat) Decodes aStringnative for use as aDataFlavor.staticStringSystemFlavorMap.decodeJavaMIMEType(String nat) Decodes aStringnative for use as a Java MIME type.staticStringSystemFlavorMap.encodeJavaMIMEType(String mimeType) Encodes a MIME type for use as aStringnative.booleanDeprecated.As inconsistent withhashCode()contract, useDataFlavor.isMimeTypeEqual(String)instead.FlavorTable.getFlavorsForNative(String nat) Returns aListofDataFlavors to which the specifiedStringcorresponds.SystemFlavorMap.getFlavorsForNative(String nat) Returns aListofDataFlavors to which the specifiedStringnative can be translated by the data transfer subsystem.FlavorMap.getFlavorsForNatives(String[] natives) Returns aMapof the specifiedStringnatives to theircorrespondingDataFlavor.SystemFlavorMap.getFlavorsForNatives(String[] natives) Returns aMapof the specifiedStringnatives to theirmost preferredDataFlavor.DataFlavor.getParameter(String paramName) Returns the human presentable name for thisDataFlavorifparamNameequals "humanPresentableName".static booleanSystemFlavorMap.isJavaMIMEType(String str) Returns whether the specifiedStringis an encoded Java MIMEtype.booleanDataFlavor.isMimeTypeEqual(String mimeType) Returns whether the string representation of the MIME type passed in isequivalent to the MIME type of thisDataFlavor.protectedStringDataFlavor.normalizeMimeType(String mimeType) Deprecated.This method is never invoked by this implementation from 1.1 onwardsprotectedStringDataFlavor.normalizeMimeTypeParameter(String parameterName,String parameterValue) Deprecated.This method is never invoked by this implementation from 1.1 onwardsvoidSystemFlavorMap.setFlavorsForNative(String nat,DataFlavor[] flavors) Discards the current mappings for the specifiedStringnative,and creates new mappings to the specifiedDataFlavors.voidDataFlavor.setHumanPresentableName(String humanPresentableName) Sets the human presentable name for the data format that thisDataFlavorrepresents.voidSystemFlavorMap.setNativesForFlavor(DataFlavor flav,String[] natives) Discards the current mappings for the specifiedDataFlavorandallDataFlavors equal to the specifiedDataFlavor, andcreates new mappings to the specifiedStringnatives.protected static finalClass<?> DataFlavor.tryToLoadClass(String className,ClassLoader fallback) Tries to load a class from: the bootstrap loader, the system loader, thecontext loader (if one is present) and finally the loader specified.Constructors injava.awt.datatransfer with parameters of typeStringModifierConstructorDescriptionCreates a clipboard object.DataFlavor(Class<?> representationClass,String humanPresentableName) Constructs aDataFlavorthat represents a Java class.DataFlavor(String mimeType) Constructs aDataFlavorfrom amimeTypestring.DataFlavor(String mimeType,String humanPresentableName) Constructs aDataFlavorthat represents aMimeType.DataFlavor(String mimeType,String humanPresentableName,ClassLoader classLoader) Constructs aDataFlavorthat represents aMimeType.Constructs a MimeTypeParseException with the specified detail message.StringSelection(String data) Creates aTransferablecapable of transferring the specifiedString.Uses ofString injava.awt.desktop
Methods injava.awt.desktop that returnStringMethods injava.awt.desktop with parameters of typeStringModifier and TypeMethodDescriptionstaticQuitStrategyReturns the enum constant of this class with the specified name.staticUserSessionEvent.ReasonReturns the enum constant of this class with the specified name.Constructors injava.awt.desktop with parameters of typeStringModifierConstructorDescriptionOpenFilesEvent(List<File> files,String searchTerm) Constructs anOpenFilesEvent.Uses ofString injava.awt.dnd
Constructors injava.awt.dnd with parameters of typeStringModifierConstructorDescriptionCreate an Exception with its own descriptive messageUses ofString injava.awt.event
Methods injava.awt.event that returnStringModifier and TypeMethodDescriptionActionEvent.getActionCommand()Returns the command string associated with this action.staticStringKeyEvent.getKeyModifiersText(int modifiers) Deprecated.It is recommended that extended modifier keys andInputEvent.getModifiersExText(int)be used insteadstaticStringKeyEvent.getKeyText(int keyCode) Returns a String describing the keyCode, such as "HOME", "F1" or "A".staticStringInputEvent.getModifiersExText(int modifiers) Returns a String describing the extended modifier keys andmouse buttons, such as "Shift", "Button1", or "Ctrl+Shift".staticStringMouseEvent.getMouseModifiersText(int modifiers) Returns aStringinstance describing the modifier keys andmouse buttons that were down during the event, such as "Shift",or "Ctrl+Shift".ActionEvent.paramString()Returns a parameter string identifying this action event.ComponentEvent.paramString()Returns a parameter string identifying this event.ContainerEvent.paramString()Returns a parameter string identifying this event.FocusEvent.paramString()Returns a parameter string identifying this event.HierarchyEvent.paramString()Returns a parameter string identifying this event.InputMethodEvent.paramString()Returns a parameter string identifying this event.InvocationEvent.paramString()Returns a parameter string identifying this event.ItemEvent.paramString()Returns a parameter string identifying this item event.KeyEvent.paramString()Returns a parameter string identifying this event.MouseEvent.paramString()Returns a parameter string identifying this event.MouseWheelEvent.paramString()Returns a parameter string identifying this event.TextEvent.paramString()Returns a parameter string identifying this text event.WindowEvent.paramString()Returns a parameter string identifying this event.Methods injava.awt.event with parameters of typeStringModifier and TypeMethodDescriptionstaticFocusEvent.CauseReturns the enum constant of this class with the specified name.Constructors injava.awt.event with parameters of typeStringModifierConstructorDescriptionActionEvent(Object source, int id,String command) Constructs anActionEventobject.ActionEvent(Object source, int id,String command, int modifiers) Constructs anActionEventobject with modifier keys.ActionEvent(Object source, int id,String command, long when, int modifiers) Constructs anActionEventobject with the specifiedmodifier keys and timestamp.Uses ofString injava.awt.font
Methods injava.awt.font that returnStringModifier and TypeMethodDescriptionString[]MultipleMaster.getDesignAxisNames()Returns the name for each design axis.NumericShaper.toString()Returns aStringthat describes this shaper.TextHitInfo.toString()Returns aStringrepresenting the hit for debugginguse only.TextLayout.toString()Returns debugging information for thisTextLayout.Methods injava.awt.font with parameters of typeStringModifier and TypeMethodDescriptionbyte[]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 bytesfor a specified tag.intOpenType.getFontTableSize(String strSfntTag) Returns the size of the table for a specified tag.staticNumericShaper.RangeReturns the enum constant of this class with the specified name.Constructors injava.awt.font with parameters of typeStringModifierConstructorDescriptionprotectedTextAttribute(String name) Constructs aTextAttributewith the specified name.TextLayout(String string,Font font,FontRenderContext frc) TextLayout(String string,Map<? extendsAttributedCharacterIterator.Attribute, ?> attributes,FontRenderContext frc) Constructs aTextLayoutfrom aStringand an attribute set.Uses ofString injava.awt.geom
Methods injava.awt.geom that returnStringModifier and TypeMethodDescriptionAffineTransform.toString()Returns aStringthat represents the value of thisObject.Point2D.Double.toString()Returns aStringthat represents the valueof thisPoint2D.Point2D.Float.toString()Returns aStringthat represents the valueof thisPoint2D.Rectangle2D.Double.toString()Returns theStringrepresentation of thisRectangle2D.Rectangle2D.Float.toString()Returns theStringrepresentation of thisRectangle2D.Constructors injava.awt.geom with parameters of typeStringModifierConstructorDescriptionConstructs anIllegalPathStateExceptionwith thespecified detail message.Constructs an instance ofNoninvertibleTransformExceptionwith the specified detail message.Uses ofString injava.awt.im.spi
Methods injava.awt.im.spi that returnStringModifier and TypeMethodDescriptionInputMethodDescriptor.getInputMethodDisplayName(Locale inputLocale,Locale displayLanguage) Returns the user-visible name of the correspondinginput method for the given input locale in the language in whichthe name will be displayed.Methods injava.awt.im.spi with parameters of typeStringModifier and TypeMethodDescriptionInputMethodContext.createInputMethodJFrame(String title, boolean attachToInputContext) Creates a top-level Swing JFrame for use by the input method.InputMethodContext.createInputMethodWindow(String title, boolean attachToInputContext) Creates a top-level window for use by the input method.Uses ofString injava.awt.image
Methods injava.awt.image that returnStringModifier and TypeMethodDescriptionString[]BufferedImage.getPropertyNames()Returns an array of names recognized bygetProperty(String)ornull, if no property names are recognized.String[]RenderedImage.getPropertyNames()Returns an array of names recognized bygetProperty(String)ornull, if no property names are recognized.BufferedImage.toString()Returns aStringrepresentation of thisBufferedImageobject and its values.ColorModel.toString()Returns theStringrepresentation of the contents ofthisColorModelobject.DirectColorModel.toString()Returns aStringthat represents thisDirectColorModel.IndexColorModel.toString()Returns theStringrepresentation of the contents ofthisColorModelobject.Methods injava.awt.image with parameters of typeStringModifier and TypeMethodDescriptionAbstractMultiResolutionImage.getProperty(String name,ImageObserver observer) This method simply delegates to the same method on the base image andit is equivalent to:getBaseImage().getProperty(name, observer).BufferedImage.getProperty(String name) Returns a property of the image by name.BufferedImage.getProperty(String name,ImageObserver observer) Returns a property of the image by name.RenderedImage.getProperty(String name) Gets a property from the property set of this image.Constructors injava.awt.image with parameters of typeStringModifierConstructorDescriptionConstructs anImagingOpExceptionobject with thespecified message.Constructs a newRasterFormatExceptionwith thespecified message.Uses ofString injava.awt.image.renderable
Fields injava.awt.image.renderable declared asStringModifier and TypeFieldDescriptionstatic finalStringRenderableImage.HINTS_OBSERVEDString constant that can be used to identify a property ona RenderedImage obtained via the createRendering orcreateScaledRendering methods.Methods injava.awt.image.renderable that returnStringModifier and TypeMethodDescriptionString[]ContextualRenderedImageFactory.getPropertyNames()Returns a list of names recognized by getProperty.String[]RenderableImage.getPropertyNames()Returns a list of names recognized by getProperty.String[]RenderableImageOp.getPropertyNames()Return a list of names recognized by getProperty.Methods injava.awt.image.renderable with parameters of typeStringModifier and TypeMethodDescriptionContextualRenderedImageFactory.getProperty(ParameterBlock paramBlock,String name) Gets the appropriate instance of the property specified by the nameparameter.RenderableImage.getProperty(String name) Gets a property from the property set of this image.RenderableImageOp.getProperty(String name) Gets a property from the property set of this image.Uses ofString injava.awt.print
Methods injava.awt.print that returnStringModifier and TypeMethodDescriptionabstractStringPrinterJob.getJobName()Gets the name of the document to be printed.abstractStringPrinterJob.getUserName()Gets the name of the printing user.Methods injava.awt.print with parameters of typeStringModifier and TypeMethodDescriptionstaticStreamPrintServiceFactory[]PrinterJob.lookupStreamPrintServices(String mimeType) A convenience method which locates factories for stream printservices which can image 2D graphics.abstract voidPrinterJob.setJobName(String jobName) Sets the name of the document to be printed.Constructors injava.awt.print with parameters of typeStringModifierConstructorDescriptionConstructs a newPrinterAbortExceptionwiththe specified detail message.PrinterException(String msg) Constructs a newPrinterExceptionobjectwith the specified detail message.Uses ofString injava.beans
Fields injava.beans declared asStringModifier and TypeFieldDescriptionstatic finalStringDesignMode.PROPERTYNAMEThe standard value of the propertyName as fired from a BeanContext orother source of PropertyChangeEvents.Methods injava.beans that returnStringModifier and TypeMethodDescriptionstaticStringIntrospector.decapitalize(String name) Utility method to take a string and convert it to normal Java variablename capitalization.EventHandler.getAction()Returns the name of the target's writable propertythat this event handler will set,or the name of the method that this event handlerwill invoke on the target.PropertyEditor.getAsText()Gets the property value as text.PropertyEditorSupport.getAsText()Gets the property value as a string suitable for presentationto a human to edit.staticString[]Introspector.getBeanInfoSearchPath()Gets the list of package names that will be used for finding BeanInfo classes.FeatureDescriptor.getDisplayName()Gets the localized display name of this feature.staticString[]PropertyEditorManager.getEditorSearchPath()Gets the package names that will be searched for property editors.EventHandler.getEventPropertyName()Returns the property of the event that should beused in the action applied to the target.PropertyEditor.getJavaInitializationString()Returns a fragment of Java code that can be used to set a propertyto match the editors current state.PropertyEditorSupport.getJavaInitializationString()This method is intended for use when generating Java code to setthe value of the property.EventHandler.getListenerMethodName()Returns the name of the method that will trigger the action.Statement.getMethodName()Returns the name of the method to invoke.FeatureDescriptor.getName()Gets the programmatic name of this feature.PropertyChangeEvent.getPropertyName()Gets the programmatic name of the property that was changed.PropertyChangeListenerProxy.getPropertyName()Returns the name of the named property associated with the listener.VetoableChangeListenerProxy.getPropertyName()Returns the name of the named property associated with the listener.FeatureDescriptor.getShortDescription()Gets the short description of this feature.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[]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.Expression.toString()Prints the value of this expression using a Java-style syntax.FeatureDescriptor.toString()Returns a string representation of the object.PropertyChangeEvent.toString()Returns a string representation of the object.Statement.toString()Prints the value of this statement using a Java-style syntax.Methods injava.beans that return types with arguments of typeStringModifier and TypeMethodDescriptionFeatureDescriptor.attributeNames()Gets an enumeration of the locale-independent names of thisfeature.Methods injava.beans with parameters of typeStringModifier and TypeMethodDescriptionvoidPropertyChangeSupport.addPropertyChangeListener(String propertyName,PropertyChangeListener listener) Add a PropertyChangeListener for a specific property.voidVetoableChangeSupport.addVetoableChangeListener(String propertyName,VetoableChangeListener listener) Add a VetoableChangeListener for a specific property.static <T> TCreates an implementation oflistenerInterfacein whichall of the methods in the listener interface apply the handler'sactionto thetarget.static <T> TEventHandler.create(Class<T> listenerInterface,Object target,String action,String eventPropertyName) /** Creates an implementation oflistenerInterfacein whichall of the methods pass the value of the event expression,eventPropertyName, to the final method in the statement,action, which is applied to thetarget.static <T> TEventHandler.create(Class<T> listenerInterface,Object target,String action,String eventPropertyName,String listenerMethodName) Creates an implementation oflistenerInterfacein which the method namedlistenerMethodNamepasses the value of the event expression,eventPropertyName, to the final method in the statement,action, which is applied to thetarget.staticStringIntrospector.decapitalize(String name) Utility method to take a string and convert it to normal Java variablename capitalization.voidPropertyChangeSupport.fireIndexedPropertyChange(String propertyName, int index, boolean oldValue, boolean newValue) Reports a boolean bound indexed property update to listenersthat have been registered to track updates ofall properties or a property with the specified name.voidPropertyChangeSupport.fireIndexedPropertyChange(String propertyName, int index, int oldValue, int newValue) Reports an integer bound indexed property update to listenersthat have been registered to track updates ofall properties or a property with the specified name.voidPropertyChangeSupport.fireIndexedPropertyChange(String propertyName, int index,Object oldValue,Object newValue) Reports a bound indexed property update to listenersthat have been registered to track updates ofall properties or a property with the specified name.voidPropertyChangeSupport.firePropertyChange(String propertyName, boolean oldValue, boolean newValue) Reports a boolean bound property update to listenersthat have been registered to track updates ofall properties or a property with the specified name.voidPropertyChangeSupport.firePropertyChange(String propertyName, int oldValue, int newValue) Reports an integer bound property update to listenersthat have been registered to track updates ofall properties or a property with the specified name.voidPropertyChangeSupport.firePropertyChange(String propertyName,Object oldValue,Object newValue) Reports a bound property update to listenersthat have been registered to track updates ofall properties or a property with the specified name.voidVetoableChangeSupport.fireVetoableChange(String propertyName, boolean oldValue, boolean newValue) Reports a boolean constrained property update to listenersthat have been registered to track updates ofall properties or a property with the specified name.voidVetoableChangeSupport.fireVetoableChange(String propertyName, int oldValue, int newValue) Reports an integer constrained property update to listenersthat have been registered to track updates ofall properties or a property with the specified name.voidVetoableChangeSupport.fireVetoableChange(String propertyName,Object oldValue,Object newValue) Reports a constrained property update to listenersthat have been registered to track updates ofall properties or a property with the specified name.PropertyChangeSupport.getPropertyChangeListeners(String propertyName) Returns an array of all the listeners which have been associatedwith the named property.Retrieve a named attribute with this feature.VetoableChangeSupport.getVetoableChangeListeners(String propertyName) Returns an array of all the listeners which have been associatedwith the named property.booleanPropertyChangeSupport.hasListeners(String propertyName) Check if there are any listeners for a specific property, includingthose registered on all properties.booleanVetoableChangeSupport.hasListeners(String propertyName) Check if there are any listeners for a specific property, includingthose registered on all properties.staticObjectBeans.instantiate(ClassLoader cls,String beanName) Instantiate a JavaBean.staticObjectBeans.instantiate(ClassLoader cls,String beanName,BeanContext beanContext) Deprecated, for removal: This API element is subject to removal in a future version.this method will be removed when java.beans.beancontext is removedstaticObjectBeans.instantiate(ClassLoader cls,String beanName,BeanContext beanContext,AppletInitializer initializer) Deprecated, for removal: This API element is subject to removal in a future version.It is recommended to useBeans.instantiate(ClassLoader, String, BeanContext),because the Applet API is deprecated.This is a utility method to help in loading icon images.voidPropertyChangeSupport.removePropertyChangeListener(String propertyName,PropertyChangeListener listener) Remove a PropertyChangeListener for a specific property.voidVetoableChangeSupport.removeVetoableChangeListener(String propertyName,VetoableChangeListener listener) Remove a VetoableChangeListener for a specific property.voidSet the property value by parsing a given String.voidSets the property value by parsing a given String.static voidIntrospector.setBeanInfoSearchPath(String[] path) Change the list of package names that will be used for finding BeanInfo classes.voidFeatureDescriptor.setDisplayName(String displayName) Sets the localized display name of this feature.static voidPropertyEditorManager.setEditorSearchPath(String[] path) Change the list of package names that will be used for finding property editors.voidSets the programmatic name of this feature.voidFeatureDescriptor.setShortDescription(String text) You can associate a short descriptive string with a feature.voidAssociate a named attribute with this feature.Constructors injava.beans with parameters of typeStringModifierConstructorDescriptionDefaultPersistenceDelegate(String[] constructorPropertyNames) Creates a default persistence delegate for a class with aconstructor whose arguments are the values of the propertynames as specified byconstructorPropertyNames.EventHandler(Object target,String action,String eventPropertyName,String listenerMethodName) Creates a newEventHandlerobject;you generally use one of thecreatemethodsinstead of invoking this constructor directly.EventSetDescriptor(Class<?> sourceClass,String eventSetName,Class<?> listenerType,String listenerMethodName) Creates anEventSetDescriptorassuming that you arefollowing the most simple standard design pattern where a namedevent "fred" is (1) delivered as a call on the single method ofinterface FredListener, (2) has a single argument of type FredEvent,and (3) where the FredListener may be registered with a call on anaddFredListener method of the source component and removed with acall on a removeFredListener method.EventSetDescriptor(Class<?> sourceClass,String eventSetName,Class<?> listenerType,String[] listenerMethodNames,String addListenerMethodName,String removeListenerMethodName) Creates anEventSetDescriptorfrom scratch usingstring names.EventSetDescriptor(Class<?> sourceClass,String eventSetName,Class<?> listenerType,String[] listenerMethodNames,String addListenerMethodName,String removeListenerMethodName,String getListenerMethodName) This constructor creates an EventSetDescriptor from scratch usingstring names.EventSetDescriptor(String eventSetName,Class<?> listenerType,MethodDescriptor[] listenerMethodDescriptors,Method addListenerMethod,Method removeListenerMethod) Creates anEventSetDescriptorfrom scratch usingjava.lang.reflect.MethodDescriptorandjava.lang.Classobjects.EventSetDescriptor(String eventSetName,Class<?> listenerType,Method[] listenerMethods,Method addListenerMethod,Method removeListenerMethod) Creates anEventSetDescriptorfrom scratch usingjava.lang.reflect.Methodandjava.lang.Classobjects.EventSetDescriptor(String eventSetName,Class<?> listenerType,Method[] listenerMethods,Method addListenerMethod,Method removeListenerMethod,Method getListenerMethod) This constructor creates an EventSetDescriptor from scratch usingjava.lang.reflect.Method and java.lang.Class objects.Expression(Object value,Object target,String methodName,Object[] arguments) Creates a newExpressionobject with the specified valuefor the specified target object to invoke the methodspecified by the name and by the array of arguments.Expression(Object target,String methodName,Object[] arguments) Creates a newExpressionobjectfor the specified target object to invoke the methodspecified by the name and by the array of arguments.IndexedPropertyChangeEvent(Object source,String propertyName,Object oldValue,Object newValue, int index) Constructs a newIndexedPropertyChangeEventobject.IndexedPropertyDescriptor(String propertyName,Class<?> beanClass) This constructor constructs an IndexedPropertyDescriptor for a propertythat follows the standard Java conventions by having getFoo and setFooaccessor 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 methodnames for reading and writing the property, both indexedand non-indexed.IndexedPropertyDescriptor(String propertyName,Method readMethod,Method writeMethod,Method indexedReadMethod,Method indexedWriteMethod) This constructor takes the name of a simple property, and Methodobjects for reading and writing the property.IntrospectionException(String mess) Constructs anIntrospectionExceptionwith adetailed message.PropertyChangeEvent(Object source,String propertyName,Object oldValue,Object newValue) Constructs a newPropertyChangeEvent.PropertyChangeListenerProxy(String propertyName,PropertyChangeListener listener) Constructor which binds thePropertyChangeListenerto a specific property.PropertyDescriptor(String propertyName,Class<?> beanClass) Constructs a PropertyDescriptor for a property that followsthe standard Java convention by having getFoo and setFooaccessor methods.PropertyDescriptor(String propertyName,Class<?> beanClass,String readMethodName,String writeMethodName) This constructor takes the name of a simple property, and methodnames for reading and writing the property.PropertyDescriptor(String propertyName,Method readMethod,Method writeMethod) This constructor takes the name of a simple property, and Methodobjects for reading and writing the property.PropertyVetoException(String mess,PropertyChangeEvent evt) Constructs aPropertyVetoExceptionwith adetailed message.Creates a newStatementobjectfor the specified target object to invoke the methodspecified by the name and by the array of arguments.VetoableChangeListenerProxy(String propertyName,VetoableChangeListener listener) Constructor which binds theVetoableChangeListenerto a specific property.XMLEncoder(OutputStream out,String charset, boolean declaration, int indentation) Creates a new XML encoder to write outJavaBeansto the streamoutusing the givencharsetstarting from the givenindentation.Uses ofString injava.beans.beancontext
Methods injava.beans.beancontext with parameters of typeStringModifier and TypeMethodDescriptionvoidBeanContextChild.addPropertyChangeListener(String name,PropertyChangeListener pcl) Deprecated, for removal: This API element is subject to removal in a future version.Adds aPropertyChangeListenerto thisBeanContextChildin order to receive aPropertyChangeEventwhenever the specified property has changed.voidBeanContextChildSupport.addPropertyChangeListener(String name,PropertyChangeListener pcl) Deprecated, for removal: This API element is subject to removal in a future version.Add a PropertyChangeListener for a specific property.voidBeanContextChild.addVetoableChangeListener(String name,VetoableChangeListener vcl) Deprecated, for removal: This API element is subject to removal in a future version.Adds aVetoableChangeListenertothisBeanContextChildto receive events whenever the specified property changes.voidBeanContextChildSupport.addVetoableChangeListener(String name,VetoableChangeListener vcl) Deprecated, for removal: This API element is subject to removal in a future version.Add a VetoableChangeListener for a specific property.voidBeanContextChildSupport.firePropertyChange(String name,Object oldValue,Object newValue) Deprecated, for removal: This API element is subject to removal in a future version.Report a bound property update to any registered listeners.voidBeanContextChildSupport.fireVetoableChange(String name,Object oldValue,Object newValue) Deprecated, for removal: This API element is subject to removal in a future version.Report a vetoable property update to any registered listeners.BeanContext.getResource(String name,BeanContextChild bcc) Deprecated, for removal: This API element is subject to removal in a future version.Analogous tojava.lang.ClassLoader.getResource(), thismethod allows aBeanContextimplementation to interposebehavior between the childComponentand underlyingClassLoader.BeanContextSupport.getResource(String name,BeanContextChild bcc) Deprecated, for removal: This API element is subject to removal in a future version.BeanContext.getResourceAsStream(String name,BeanContextChild bcc) Deprecated, for removal: This API element is subject to removal in a future version.Analogous tojava.lang.ClassLoader.getResourceAsStream(),this method allows aBeanContextimplementationto interpose behavior between the childComponentand underlyingClassLoader.BeanContextSupport.getResourceAsStream(String name,BeanContextChild bcc) Deprecated, for removal: This API element is subject to removal in a future version.BeanContext.instantiateChild(String beanName) Deprecated, for removal: This API element is subject to removal in a future version.Instantiate the javaBean named as achild of thisBeanContext.BeanContextSupport.instantiateChild(String beanName) Deprecated, for removal: This API element is subject to removal in a future version.The instantiateChild method is a convenience hookin BeanContext to simplifythe task of instantiating a Bean, nested,into aBeanContext.voidBeanContextChild.removePropertyChangeListener(String name,PropertyChangeListener pcl) Deprecated, for removal: This API element is subject to removal in a future version.Removes aPropertyChangeListenerfrom thisBeanContextChildso that it no longerreceivesPropertyChangeEventswhen thespecified property is changed.voidBeanContextChildSupport.removePropertyChangeListener(String name,PropertyChangeListener pcl) Deprecated, for removal: This API element is subject to removal in a future version.Remove a PropertyChangeListener for a specific property.voidBeanContextChild.removeVetoableChangeListener(String name,VetoableChangeListener vcl) Deprecated, for removal: This API element is subject to removal in a future version.Removes aVetoableChangeListenerfrom thisBeanContextChildso that it no longer receivesevents when the specified property changes.voidBeanContextChildSupport.removeVetoableChangeListener(String name,VetoableChangeListener vcl) Deprecated, for removal: This API element is subject to removal in a future version.Removes aVetoableChangeListener.Uses ofString injava.io
Modifier and TypeFieldDescriptionprotectedStringStringBufferInputStream.bufferDeprecated.The string from which bytes are read.InvalidClassException.classnameName of the invalid class.static finalStringFile.pathSeparatorThe system-dependent path-separator character, represented as a stringfor convenience.static finalStringFile.separatorThe system-dependent default name-separator character, represented as astring for convenience.StreamTokenizer.svalIf the current token is a word token, this field contains astring giving the characters of the word token.Modifier and TypeMethodDescriptionFile.getAbsolutePath()Returns the absolute pathname string of this abstract pathname.FilePermission.getActions()Deprecated, for removal: This API element is subject to removal in a future version.Returns the "canonical string representation" of the actions.File.getCanonicalPath()Returns the canonical pathname string of this abstract pathname.InputStreamReader.getEncoding()Returns the name of the character encoding being used by this stream.OutputStreamWriter.getEncoding()Returns the name of the character encoding being used by this stream.InvalidClassException.getMessage()Produce the message and include the classname, if present.WriteAbortedException.getMessage()Produce the message and include the message from the nestedexception, if there is one.File.getName()Returns the name of the file or directory denoted by this abstractpathname.ObjectStreamClass.getName()Returns the name of the class described by this descriptor.ObjectStreamField.getName()Get the name of this field.File.getParent()Returns the pathname string of this abstract pathname's parent, ornullif this pathname does not name a parent directory.File.getPath()Converts this abstract pathname into a pathname string.ObjectStreamField.getTypeString()Return the JVM type signature.String[]File.list()Returns an array of strings naming the files and directories in thedirectory denoted by this abstract pathname.String[]File.list(FilenameFilter filter) Returns an array of strings naming the files and directories in thedirectory denoted by this abstract pathname that satisfy the specifiedfilter.Reader.readAllAsString()Reads all remaining characters into a string.BufferedReader.readLine()Reads a line of text.Console.readLine()Reads a single line of text from the console.Provides a formatted prompt using thedefault format locale, then reads asingle line of text from the console.Provides a formatted prompt using the specifiedlocale, thenreads a single line of text from the console.DataInput.readLine()Reads the next line of text from the input stream.finalStringDataInputStream.readLine()Deprecated.This method does not properly convert bytes to characters.LineNumberReader.readLine()Read a line of text.ObjectInputStream.readLine()Deprecated.This method does not properly convert bytes to characters.finalStringRandomAccessFile.readLine()Reads the next line of text from this file.DataInput.readUTF()Reads in a string that has been encoded using amodified UTF-8format.finalStringDataInputStream.readUTF()See the general contract of thereadUTFmethod ofDataInput.static finalStringReads from thestreamina representationof a Unicode character string encoded inmodified UTF-8 format;this string of characters is then returned as aString.ObjectInputStream.readUTF()Reads a String inmodified UTF-8format.finalStringRandomAccessFile.readUTF()Reads in a string from this file.ByteArrayOutputStream.toString()Converts the buffer's contents into a string decoding bytes using thedefault charset.ByteArrayOutputStream.toString(int hibyte) Deprecated.This method does not properly convert bytes into characters.Converts the buffer's contents into a string by decoding the bytes usingthe namedcharset.Converts the buffer's contents into a string by decoding the bytes usingthe specifiedcharset.CharArrayWriter.toString()Converts input data to a string.File.toString()Returns the pathname string of this abstract pathname.ObjectStreamClass.toString()Return a string describing this ObjectStreamClass.ObjectStreamField.toString()Return a string that describes this field.StreamTokenizer.toString()Returns the string representation of the current stream token andthe line number it occurs on.StringWriter.toString()Return the buffer's current value as a string.Modifier and TypeMethodDescriptionBufferedReader.lines()Returns aStream, the elements of which are lines read fromthisBufferedReader.Reader.readAllLines()Reads all remaining characters as lines of text.Modifier and TypeMethodDescriptionbooleanTests if a specified file should be included in a file list.staticObjectInputFilterObjectInputFilter.Config.createFilter(String pattern) Returns an ObjectInputFilter from a string of patterns.staticFileFile.createTempFile(String prefix,String suffix) Creates an empty file in the default temporary-file directory, usingthe given prefix and suffix to generate its name.staticFileFile.createTempFile(String prefix,String suffix,File directory) Creates a new empty file in the specified directory, using thegiven prefix and suffix strings to generate its name.abstract booleanReturn true if the named field is defaulted and has no value in thisstream.Writes a formatted string to this console's output stream usingthe specified format string and arguments with thedefault format locale.Writes a formatted string to this console's output stream usingthe specified format string and arguments with the specifiedlocale.Writes a formatted string to this output stream using the specifiedformat string and arguments.Writes a formatted string to this output stream using the specifiedformat string and arguments.Writes a formatted string to this writer using the specified formatstring and arguments.Writes a formatted string to this writer using the specified formatstring and arguments.abstract booleanGet the value of the named boolean field from the persistent field.abstract byteGet the value of the named byte field from the persistent field.abstract charGet the value of the named char field from the persistent field.abstract doubleGet the value of the named double field from the persistent field.abstract floatGet the value of the named float field from the persistent field.abstract intGet the value of the named int field from the persistent field.abstract longGet the value of the named long field from the persistent field.abstract shortGet the value of the named short field from the persistent field.abstractObjectGet the value of the named Object field from the persistent field.Get the field of this class by name.voidPrints a string.voidPrints a string.A convenience method to write a formatted string to this console'soutput stream using the specified format string and arguments withthedefault format locale.A convenience method to write a formatted string to this console'soutput stream using the specified format string and arguments withthe specifiedlocale.A convenience method to write a formatted string to this output streamusing the specified format string and arguments.A convenience method to write a formatted string to this output streamusing the specified format string and arguments.A convenience method to write a formatted string to this writer usingthe specified format string and arguments.A convenience method to write a formatted string to this writer usingthe specified format string and arguments.voidPrints a String and then terminates the line.voidPrints a String and then terminates the line.abstract voidPut the value of the named boolean field into the persistent field.abstract voidPut the value of the named byte field into the persistent field.abstract voidPut the value of the named char field into the persistent field.abstract voidPut the value of the named double field into the persistent field.abstract voidPut the value of the named float field into the persistent field.abstract voidPut the value of the named int field into the persistent field.abstract voidPut the value of the named long field into the persistent field.abstract voidPut the value of the named short field into the persistent field.abstract voidPut the value of the named Object field into the persistent field.Provides a formatted prompt using thedefault format locale, then reads asingle line of text from the console.Provides a formatted prompt using the specifiedlocale, thenreads a single line of text from the console.char[]Console.readPassword(String format,Object... args) Provides a formatted prompt using thedefault format locale, then reads apassword or passphrase from the console with echoing disabled.char[]Console.readPassword(Locale locale,String format,Object... args) Provides a formatted prompt using the specifiedlocale, thenreads a password or passphrase from the console with echoing disabled.protectedClass<?> ObjectInputStream.resolveProxyClass(String[] interfaces) Returns a proxy class that implements the interfaces named in a proxyclass descriptor; subclasses may implement this method to read customdata from the stream along with the descriptors for dynamic proxyclasses, allowing them to use an alternate loading mechanism for theinterfaces and the proxy class.Converts the buffer's contents into a string by decoding the bytes usingthe namedcharset.staticObjectInputFilter.StatusReturns the enum constant of this class with the specified name.voidWrites a portion of a String.voidWrite a portion of a string to the buffer.voidWrites a portion of a string.voidWrites a portion of a string.voidWrites a string.voidWrites a portion of a string.voidWrite a string.voidWrite a portion of a string.voidWrites a string.voidWrites a portion of a string.voidDataOutput.writeBytes(String s) Writes a string to the output stream.final voidDataOutputStream.writeBytes(String s) Writes out the string to the underlying output stream as asequence of bytes.voidObjectOutputStream.writeBytes(String str) Writes a String as a sequence of bytes.final voidRandomAccessFile.writeBytes(String s) Writes the string to the file as a sequence of bytes.voidDataOutput.writeChars(String s) Writes every character in the strings,to the output stream, in order,two bytes per character.final voidDataOutputStream.writeChars(String s) Writes a string to the underlying output stream as a sequence ofcharacters.voidObjectOutputStream.writeChars(String str) Writes a String as a sequence of chars.final voidRandomAccessFile.writeChars(String s) Writes a string to the file as a sequence of characters.voidWrites two bytes of length informationto the output stream, followedby themodified UTF-8representationof every character in the strings.final voidWrites a string to the underlying output stream usingmodified UTF-8encoding in a machine-independent manner.voidPrimitive data write of this String inmodified UTF-8format.final voidWrites a string to the file usingmodified UTF-8encoding in a machine-independent manner.ModifierConstructorDescriptionThis provides a detailed message.Constructs anEOFExceptionwith the specified detailmessage.Creates a newFileinstance from a parent abstractpathname and a child pathname string.Creates a newFileinstance by converting the givenpathname string into an abstract pathname.Creates a newFileinstance from a parent pathname stringand a child pathname string.FileInputStream(String name) Creates aFileInputStreamto read from an existing filenamed by the path namename.Constructs aFileNotFoundExceptionwith thespecified detail message.FileOutputStream(String name) Creates a file output stream to write to the file with thespecified name.FileOutputStream(String name, boolean append) Creates a file output stream to write to the file with the specifiedname.FilePermission(String path,String actions) Deprecated, for removal: This API element is subject to removal in a future version.Creates a new FilePermission object with the specified actions.FileReader(String fileName) Creates a newFileReader, given the name of the file to read,using thedefault charset.FileReader(String fileName,Charset charset) Creates a newFileReader, given the name of the file to readand thecharset.FileWriter(String fileName) Constructs aFileWritergiven a file name, using thedefault charsetFileWriter(String fileName, boolean append) Constructs aFileWritergiven a file name and a boolean indicatingwhether to append the data written, using thedefault charset.FileWriter(String fileName,Charset charset) Constructs aFileWritergiven a file name andcharset.FileWriter(String fileName,Charset charset, boolean append) Constructs aFileWritergiven a file name,charset and a boolean indicatingwhether to append the data written.InputStreamReader(InputStream in,String charsetName) Creates an InputStreamReader that uses the named charset.Constructs anInterruptedIOExceptionwith thespecified detail message.InvalidClassException(String reason) Report an InvalidClassException for the reason specified.InvalidClassException(String cname,String reason) Constructs an InvalidClassException object.InvalidClassException(String cname,String reason,Throwable cause) Report an InvalidClassException for the reason and cause specified.InvalidClassException(String reason,Throwable cause) Report an InvalidClassException for the reason and cause specified.InvalidObjectException(String reason) Constructs anInvalidObjectException.InvalidObjectException(String reason,Throwable cause) Constructs anInvalidObjectExceptionwith the givenreason and cause.IOException(String message) Constructs anIOExceptionwith the specified detail message.IOException(String message,Throwable cause) Constructs anIOExceptionwith the specified detail messageand cause.NotActiveException(String reason) Constructor to create a new NotActiveException with the reason given.NotSerializableException(String classname) Constructs a NotSerializableException object with message string.protectedObjectStreamException(String message) Create an ObjectStreamException with the specified argument.protectedObjectStreamException(String message,Throwable cause) Create an ObjectStreamException with the specified message andcause.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 thegiven 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 thespecified file and charset.PrintStream(OutputStream out, boolean autoFlush,String encoding) Creates a new print stream, with the specified OutputStream, lineflushing, and character encoding.PrintStream(String fileName) Creates a new print stream, without automatic line flushing, with thespecified file name.PrintStream(String fileName,String csn) Creates a new print stream, without automatic line flushing, with thespecified file name and charset.PrintStream(String fileName,Charset charset) Creates a new print stream, without automatic line flushing, with thespecified file name and charset.PrintWriter(File file,String csn) Creates a new PrintWriter, without automatic line flushing, with thespecified file and charset.PrintWriter(String fileName) Creates a new PrintWriter, without automatic line flushing, with thespecified file name.PrintWriter(String fileName,String csn) Creates a new PrintWriter, without automatic line flushing, with thespecified file name and charset.PrintWriter(String fileName,Charset charset) Creates a new PrintWriter, without automatic line flushing, with thespecified file name and charset.RandomAccessFile(File file,String mode) Creates a random access file stream to read from, and optionallyto write to, the file specified by theFileargument.RandomAccessFile(String pathname,String mode) Creates a random access file stream to read from, and optionallyto write to, a file with the specified pathname.SerializablePermission(String name) Deprecated, for removal: This API element is subject to removal in a future version.Creates a new SerializablePermission with the specified name.SerializablePermission(String name,String actions) Deprecated, for removal: This API element is subject to removal in a future version.Creates a new SerializablePermission object with the specified name.StreamCorruptedException(String reason) Create a StreamCorruptedException and list a reason why thrown.Deprecated.Creates a string input stream to read data from the specified string.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.Constructs an UnsupportedEncodingException with a detail message.Constructs aUTFDataFormatExceptionwith thespecified detail message.Constructs a WriteAbortedException with a string describingthe exception and the exception causing the abort.Uses ofString injava.lang
Modifier and TypeFieldDescriptionstatic finalComparator<String> String.CASE_INSENSITIVE_ORDERA Comparator that ordersStringobjects as bycompareToIgnoreCase.Modifier and TypeMethodDescriptionstaticStringSystem.clearProperty(String key) Removes the system property indicated by the specified key.Concatenates the specified string to the end of this string.EnumConstantNotPresentException.constantName()Returns the name of the missing enum constant.staticStringString.copyValueOf(char[] data) Equivalent toString.valueOf(char[]).staticStringString.copyValueOf(char[] data, int offset, int count) Equivalent toString.valueOf(char[], int, int).Class.descriptorString()Returns the descriptor string of the entity (class, interface, array class,primitive type, orvoid) represented by thisClassobject.protectedStringClassLoader.findLibrary(String libname) Returns the absolute path name of a native library.staticStringReturns a formatted string using the specified format string andarguments.staticStringReturns a formatted string using the specified locale, format string,and arguments.Formats using this string as the format string, and the suppliedarguments.Class.getCanonicalName()Returns the canonical name of the underlying class asdefined byThe Java Language Specification.StackTraceElement.getClassLoaderName()Returns the name of the class loader of the class containing theexecution point represented by this stack trace element.StackTraceElement.getClassName()Returns thebinary nameof theClasscontaining the execution point representedby this stack trace element.StackWalker.StackFrame.getClassName()Returns thebinary nameof the declaring class of the method represented by this stack frame.defaultStringStackWalker.StackFrame.getDescriptor()Returns thedescriptor of the method represented bythis stack frame as defined byThe Java Virtual Machine Specification.staticStringGets the value of the specified environment variable.StackTraceElement.getFileName()Returns the name of the source file containing the execution pointrepresented by this stack trace element.StackWalker.StackFrame.getFileName()Returns the name of the source file containing the execution pointrepresented by this stack frame.Package.getImplementationTitle()Return the title of this package.Package.getImplementationVendor()Returns the vendor that implemented this package,nullis returned if it is not known.Package.getImplementationVersion()Return the version of this implementation.Throwable.getLocalizedMessage()Creates a localized description of this throwable.NullPointerException.getMessage()Returns the detail message string of this throwable.Throwable.getMessage()Returns the detail message string of this throwable.StackTraceElement.getMethodName()Returns the name of the method containing the execution pointrepresented by this stack trace element.StackWalker.StackFrame.getMethodName()Returns the name of the method represented by this stack frame.StackTraceElement.getModuleName()Returns the module name of the module containing the execution pointrepresented by this stack trace element.StackTraceElement.getModuleVersion()Returns the module version of the module containing the execution pointrepresented by this stack trace element.staticStringCharacter.getName(int codePoint) Returns the name of the specified charactercodePoint, or null if the code point isunassigned.Class.getName()Returns the name of the entity (class, interface, array class,primitive type, or void) represented by thisClassobject.ClassLoader.getName()Returns the name of this class loader ornullifthis class loader is not named.Module.getName()Returns the module name ornullif this module is an unnamedmodule.Package.getName()Return the name of this package.System.Logger.getName()Returns the name of this logger.finalStringSystem.Logger.Level.getName()Returns the name of this level.finalStringThread.getName()Returns this thread's name.finalStringThreadGroup.getName()Returns the name of this thread group.Class.getPackageName()Returns the fully qualified package name.staticStringSystem.getProperty(String key) Gets the system property indicated by the specified key.staticStringSystem.getProperty(String key,String def) Gets the system property indicated by the specified key.Class.getSimpleName()Returns the simple name of the underlying class as given in thesource code.Package.getSpecificationTitle()Return the title of the specification that this package implements.Package.getSpecificationVendor()Return the name of the organization, vendor,or company that owns and maintains the specificationof the classes that implement this package.Package.getSpecificationVersion()Returns the version number of the specificationthat this package implements.Class.getTypeName()Return an informative string for the name of this class or interface.String.indent(int n) Adjusts the indentation of each line of this string based on the value ofn, and normalizes line termination characters.String.intern()Returns a canonical representation for the string object.staticStringString.join(CharSequence delimiter,CharSequence... elements) Returns a new String composed of copies of theCharSequence elementsjoined together with a copy ofthe specifieddelimiter.staticStringString.join(CharSequence delimiter,Iterable<? extendsCharSequence> elements) Returns a newStringcomposed of copies of theCharSequence elementsjoined together with a copy of thespecifieddelimiter.staticStringSystem.lineSeparator()Returns the system-dependent line separator string.staticStringSystem.mapLibraryName(String libname) Maps a library name into a platform-specific string representinga native library.finalStringEnum.name()Returns the name of this enum constant, exactly as declared in itsenum declaration.staticStringIO.readln()Reads a single line of text from the standard input.staticStringWrites a prompt and then reads a line of input.String.repeat(int count) Returns a string whose value is the concatenation of thisstring repeatedcounttimes.String.replace(char oldChar, char newChar) Returns a string resulting from replacing all occurrences ofoldCharin this string withnewChar.String.replace(CharSequence target,CharSequence replacement) Replaces each substring of this string that matches the literal targetsequence with the specified literal replacement sequence.String.replaceAll(String regex,String replacement) Replaces each substring of this string that matches the givenregular expression with the given replacement.String.replaceFirst(String regex,String replacement) Replaces the first substring of this string that matches the givenregular expression with the given replacement.String.resolveConstantDesc(MethodHandles.Lookup lookup) Resolves this instance as aConstantDesc, the result of which isthe instance itself.staticStringSystem.setProperty(String key,String value) Sets the system property indicated by the specified key.String[]Splits this string around matches of the givenregular expression.String[]Splits this string around matches of the givenregular expression.String[]String.splitWithDelimiters(String regex, int limit) Splits this string around matches of the given regular expression andreturns both the strings and the matching delimiters.String.strip()Returns a string whose value is this string, with all leadingand trailingwhite spaceremoved.String.stripIndent()Returns a string whose value is this string, with incidentalwhite space removed fromthe beginning and end of every line.String.stripLeading()Returns a string whose value is this string, with all leadingwhite space removed.String.stripTrailing()Returns a string whose value is this string, with all trailingwhite space removed.String.substring(int beginIndex) Returns a string that is a substring of this string.String.substring(int beginIndex, int endIndex) Returns a string that is a substring of this string.StringBuffer.substring(int start) StringBuffer.substring(int start, int end) staticStringInteger.toBinaryString(int i) Returns a string representation of the integer argument as anunsigned integer in base 2.staticStringLong.toBinaryString(long i) Returns a string representation of thelongargument as an unsigned integer in base 2.Class.toGenericString()Returns a string describing thisClass, includinginformation about modifiers,sealed/non-sealedstatus, and type parameters.staticStringDouble.toHexString(double d) Returns a hexadecimal string representation of thedoubleargument.staticStringFloat.toHexString(float f) Returns a hexadecimal string representation of thefloatargument.staticStringInteger.toHexString(int i) Returns a string representation of the integer argument as anunsigned integer in base 16.staticStringLong.toHexString(long i) Returns a string representation of thelongargument as an unsigned integer in base 16.String.toLowerCase()Converts all of the characters in thisStringto lowercase using the rules of the default locale.String.toLowerCase(Locale locale) Converts all of the characters in thisStringto lowercase using the rules of the givenLocale.staticStringInteger.toOctalString(int i) Returns a string representation of the integer argument as anunsigned integer in base 8.staticStringLong.toOctalString(long i) Returns a string representation of thelongargument as an unsigned integer in base 8.Boolean.toString()Returns aStringobject representing this Boolean'svalue.staticStringBoolean.toString(boolean b) Returns aStringobject representing the specifiedboolean.Byte.toString()Returns aStringobject representing thisByte's value.staticStringByte.toString(byte b) Returns a newStringobject representing thespecifiedbyte.finalStringCharacter.Subset.toString()Returns the name of this subset.Character.toString()Returns aStringobject representing thisCharacter's value.staticStringCharacter.toString(char c) Returns aStringobject representing thespecifiedchar.staticStringCharacter.toString(int codePoint) Returns aStringobject representing thespecified character (Unicode code point).CharSequence.toString()Returns a string containing the characters in this sequence in the sameorder as this sequence.Class.toString()Converts the object to a string.Double.toString()Returns a string representation of thisDoubleobject.staticStringDouble.toString(double d) Returns a string representation of thedoubleargument.Enum.toString()Returns the name of this enum constant, as contained in thedeclaration.Float.toString()Returns a string representation of thisFloatobject.staticStringFloat.toString(float f) Returns a string representation of thefloatargument.Integer.toString()Returns aStringobject representing thisInteger's value.staticStringInteger.toString(int i) Returns aStringobject representing thespecified integer.staticStringInteger.toString(int i, int radix) Returns a string representation of the first argument in theradix specified by the second argument.Long.toString()Returns aStringobject representing thisLong's value.staticStringLong.toString(long i) Returns aStringobject representing the specifiedlong.staticStringLong.toString(long i, int radix) Returns a string representation of the first argument in theradix specified by the second argument.Module.toString()Returns the string representation of this module.ModuleLayer.toString()Returns a string describing this module layer.Object.toString()Returns a string representation of the object.Package.toString()Returns the string representation of this Package.abstractStringRecord.toString()Returns a string representation of the record.Runtime.Version.toString()Returns a string representation of this version.Short.toString()Returns aStringobject representing thisShort's value.staticStringShort.toString(short s) Returns a newStringobject representing thespecifiedshort.StackTraceElement.toString()Returns a string representation of this stack trace element.String.toString()This object (which is already a string!)StringBuffer.toString()StringBuilder.toString()Thread.toString()Returns a string representation of this thread.ThreadGroup.toString()Returns a string representation of this Thread group.Throwable.toString()Returns a short description of this throwable.staticStringInteger.toUnsignedString(int i) Returns a string representation of the argument as an unsigneddecimal value.staticStringInteger.toUnsignedString(int i, int radix) Returns a string representation of the first argument as anunsigned integer value in the radix specified by the secondargument.staticStringLong.toUnsignedString(long i) Returns a string representation of the argument as an unsigneddecimal value.staticStringLong.toUnsignedString(long i, int radix) Returns a string representation of the first argument as anunsigned integer value in the radix specified by the secondargument.String.toUpperCase()Converts all of the characters in thisStringto uppercase using the rules of the default locale.String.toUpperCase(Locale locale) Converts all of the characters in thisStringto uppercase using the rules of the givenLocale.String.translateEscapes()Returns a string whose value is this string, with escape sequencestranslated as if in a string literal.String.trim()Returns a string whose value is this string, with all leadingand trailing space removed, where space is definedas any character whose codepoint is less than or equal to'U+0020'(the space character).TypeNotPresentException.typeName()Returns the fully qualified name of the unavailable type or type variable name.staticStringString.valueOf(boolean b) Returns the string representation of thebooleanargument.staticStringString.valueOf(char c) Returns the string representation of thecharargument.staticStringString.valueOf(char[] data) Returns the string representation of thechararrayargument.staticStringString.valueOf(char[] data, int offset, int count) Returns the string representation of a specific subarray of thechararray argument.staticStringString.valueOf(double d) Returns the string representation of thedoubleargument.staticStringString.valueOf(float f) Returns the string representation of thefloatargument.staticStringString.valueOf(int i) Returns the string representation of theintargument.staticStringString.valueOf(long l) Returns the string representation of thelongargument.staticStringReturns the string representation of theObjectargument.Modifier and TypeMethodDescriptionProcessBuilder.command()Returns this process builder's operating system program andarguments.ProcessHandle.Info.command()Returns the executable pathname of the process.ProcessHandle.Info.commandLine()Returns the command line of the process.String.describeConstable()Returns anOptionalcontaining the nominal descriptor for thisinstance, which is the instance itself.ProcessBuilder.environment()Returns a string map view of this process builder's environment.ProcessBuilder.environment()Returns a string map view of this process builder's environment.System.getenv()Returns an unmodifiable string map view of the current system environment.System.getenv()Returns an unmodifiable string map view of the current system environment.Module.getPackages()Returns the set of package names for the packages in this module.String.lines()Returns a stream of lines extracted from this string,separated by line terminators.Runtime.Version.optional()Returnsoptional additional identifying buildinformation.Runtime.Version.pre()Returns the optionalpre-release information.ProcessHandle.Info.user()Return the user of the process.Modifier and TypeMethodDescriptionModule.addExports(String pn,Module other) If the caller's module is this module then update this module to exportthe given package to the given module.ModuleLayer.Controller.addExports(Module source,String pn,Module target) Updates modulesourcein the layer to export a package tomoduletarget.If this module hasopened a package to at least the callermodule then update this module to open the package to the given module.Updates modulesourcein the layer to open a package tomoduletarget.voidSecurityManager.checkAccept(String host, int port) Deprecated, for removal: This API element is subject to removal in a future version.ThrowsSecurityException.voidSecurityManager.checkConnect(String host, int port) Deprecated, for removal: This API element is subject to removal in a future version.ThrowsSecurityException.voidSecurityManager.checkConnect(String host, int port,Object context) Deprecated, for removal: This API element is subject to removal in a future version.ThrowsSecurityException.voidSecurityManager.checkDelete(String file) Deprecated, for removal: This API element is subject to removal in a future version.ThrowsSecurityException.voidDeprecated, for removal: This API element is subject to removal in a future version.ThrowsSecurityException.voidDeprecated, for removal: This API element is subject to removal in a future version.ThrowsSecurityException.voidSecurityManager.checkPackageAccess(String pkg) Deprecated, for removal: This API element is subject to removal in a future version.ThrowsSecurityException.voidSecurityManager.checkPackageDefinition(String pkg) Deprecated, for removal: This API element is subject to removal in a future version.ThrowsSecurityException.voidSecurityManager.checkPropertyAccess(String key) Deprecated, for removal: This API element is subject to removal in a future version.ThrowsSecurityException.voidDeprecated, for removal: This API element is subject to removal in a future version.ThrowsSecurityException.voidDeprecated, for removal: This API element is subject to removal in a future version.ThrowsSecurityException.voidSecurityManager.checkSecurityAccess(String target) Deprecated, for removal: This API element is subject to removal in a future version.ThrowsSecurityException.voidSecurityManager.checkWrite(String file) Deprecated, for removal: This API element is subject to removal in a future version.ThrowsSecurityException.staticStringSystem.clearProperty(String key) Removes the system property indicated by the specified key.static intCharacter.codePointOf(String name) Returns the code point value of the Unicode character specified bythe given character name.Sets this process builder's operating system program andarguments.intCompares two strings lexicographically.intString.compareToIgnoreCase(String str) Compares two strings lexicographically, ignoring casedifferences.Concatenates the specified string to the end of this string.staticByteDecodes aStringinto aByte.staticIntegerDecodes aStringinto anInteger.staticLongDecodes aStringinto aLong.staticShortDecodes aStringinto aShort.protected finalClass<?> ClassLoader.defineClass(String name, byte[] b, int off, int len) Converts an array of bytes into an instance of classClass.protected finalClass<?> ClassLoader.defineClass(String name, byte[] b, int off, int len,ProtectionDomain protectionDomain) Converts an array of bytes into an instance of classClass,with a givenProtectionDomain.protected finalClass<?> ClassLoader.defineClass(String name,ByteBuffer b,ProtectionDomain protectionDomain) protectedPackageClassLoader.definePackage(String name,String specTitle,String specVersion,String specVendor,String implTitle,String implVersion,String implVendor,URL sealBase) Defines a package byname in thisClassLoader.booleanTests if this string ends with the specified suffix.booleanString.equalsIgnoreCase(String anotherString) Compares thisStringto anotherString, ignoring caseconsiderations.Deprecated.This method is error-prone and should not be used, the corresponding methodRuntime.exec(String[])orProcessBuildershould be used instead.Executes the specified command and arguments in a separate process.Executes the specified command and arguments in a separate processwith the specified environment.Executes the specified command and arguments in a separate process withthe specified environment and working directory.Deprecated.This method is error-prone and should not be used, the corresponding methodRuntime.exec(String[], String[])orProcessBuildershould be used instead.Deprecated.This method is error-prone and should not be used, the corresponding methodRuntime.exec(String[], String[], File)orProcessBuildershould be used instead.protectedClass<?> Finds the class with the specifiedbinary name.protectedClass<?> Finds the class with the givenbinary namein a module defined to this class loader.protectedStringClassLoader.findLibrary(String libname) Returns the absolute path name of a native library.protected finalClass<?> ClassLoader.findLoadedClass(String name) Returns the class with the givenbinary name if thisloader has been recorded by the Java virtual machine as an initiatingloader of a class with thatbinary name.ModuleLayer.findLoader(String name) Returns theClassLoaderfor the module with the given name.ModuleLayer.findModule(String name) Returns the module with the given name in this layer, or if not in thislayer, theparent layers.protectedURLClassLoader.findResource(String name) Finds the resource with the given name.protectedURLClassLoader.findResource(String moduleName,String name) Returns a URL to a resource in a module defined to this class loader.protectedEnumeration<URL> ClassLoader.findResources(String name) Returns an enumeration ofURLobjectsrepresenting all the resources with the given name.protected finalClass<?> ClassLoader.findSystemClass(String name) Finds a class with the specifiedbinary name,loading it if necessary.staticStringReturns a formatted string using the specified format string andarguments.staticStringReturns a formatted string using the specified locale, format string,and arguments.static finalCharacter.UnicodeBlockReturns the UnicodeBlock with the given name.static finalCharacter.UnicodeScriptReturns the UnicodeScript constant with the given Unicode scriptname or the script name alias.staticClass<?> Returns theClasswith the givenbinary name in the given module.staticClass<?> Returns theClassobject associated with the class orinterface with the given string name.staticClass<?> Class.forName(String name, boolean initialize,ClassLoader loader) Returns theClassobject associated with the class orinterface with the given string name, using the given class loader.staticClass<?> Class.forPrimitiveName(String primitiveName) Returns theClassobject associated with theprimitive type of the given name.static booleanBoolean.getBoolean(String name) Returnstrueif and only if the system property namedby the argument exists and is equal to, ignoring case, thestring"true".byte[]Encodes thisStringinto a sequence of bytes using the namedcharset, storing the result into a new byte array.protectedObjectClassLoader.getClassLoadingLock(String className) Returns the lock object for class loading operations.Class.getDeclaredField(String name) Returns aFieldobject that reflects the specified declaredfield of the class or interface represented by thisClassobject.Class.getDeclaredMethod(String name,Class<?>... parameterTypes) Returns aMethodobject that reflects the specifieddeclared method of the class or interface represented by thisClassobject.finalPackageClassLoader.getDefinedPackage(String name) Returns aPackageof the givenname thathas been defined by this class loader.staticStringGets the value of the specified environment variable.Returns aFieldobject that reflects the specified public memberfield of the class or interface represented by thisClassobject.staticIntegerInteger.getInteger(String nm) Determines the integer value of the system property with thespecified name.staticIntegerInteger.getInteger(String nm, int val) Determines the integer value of the system property with thespecified name.staticIntegerInteger.getInteger(String nm,Integer val) Returns the integer value of the system property with thespecified name.System.LoggerFinder.getLocalizedLogger(String name,ResourceBundle bundle,Module module) Returns a localizable instance ofLoggerfor the givenmodule.staticSystem.LoggerReturns an instance ofLoggerfor the caller'suse.staticSystem.LoggerSystem.getLogger(String name,ResourceBundle bundle) Returns a localizable instance ofLoggerfor the caller's use.abstractSystem.LoggerReturns an instance ofLoggerfor the givenmodule.staticLongDetermines thelongvalue of the system propertywith the specified name.staticLongDetermines thelongvalue of the system propertywith the specified name.staticLongReturns thelongvalue of the system property withthe specified name.Returns aMethodobject that reflects the specified publicmember method of the class or interface represented by thisClassobject.protectedPackageClassLoader.getPackage(String name) Deprecated.If multiple class loaders delegate to each other and define classeswith the same package name, and one such loader relies on the lookupbehavior ofgetPackageto return aPackagefroma parent loader, then the properties exposed by thePackagemay not be as expected in the rest of the program.staticPackagePackage.getPackage(String name) Deprecated.If multiple class loaders delegate to each other and define classeswith the same package name, and one such loader relies on the lookupbehavior ofgetPackageto return aPackagefroma parent loader, then the properties exposed by thePackagemay not be as expected in the rest of the program.staticStringSystem.getProperty(String key) Gets the system property indicated by the specified key.staticStringSystem.getProperty(String key,String def) Gets the system property indicated by the specified key.Class.getResource(String name) Finds a resource with a given name.ClassLoader.getResource(String name) Finds the resource with the given name.Class.getResourceAsStream(String name) Finds a resource with a given name.ClassLoader.getResourceAsStream(String name) Returns an input stream for reading the specified resource.Module.getResourceAsStream(String name) Returns an input stream for reading a resource in this module.ClassLoader.getResources(String name) Finds all the resources with the given name.staticURLClassLoader.getSystemResource(String name) Find a resource of the specified name from the search path used to loadclasses.staticInputStreamClassLoader.getSystemResourceAsStream(String name) Open for reading, a resource of the specified name from the search pathused to load classes.staticEnumeration<URL> ClassLoader.getSystemResources(String name) Finds all resources of the specified name from the search path used toload classes.intReturns the index within this string of the first occurrence of thespecified substring.intReturns the index within this string of the first occurrence of thespecified substring, starting at the specified index.intReturns the index of the first occurrence of the specified substringwithin the specified index range ofthisstring.intintintintbooleanPackage.isCompatibleWith(String desired) Compare this package's specification version with adesired version.booleanModule.isExported(String pn) Returnstrueif this module exports the given packageunconditionally.booleanModule.isExported(String pn,Module other) Returnstrueif this module exports the given package to atleast the given module.booleanReturnstrueif this module hasopened a packageunconditionally.booleanReturnstrueif this module hasopened a package to atleast the given module.intString.lastIndexOf(String str) Returns the index within this string of the last occurrence of thespecified substring.intString.lastIndexOf(String str, int fromIndex) Returns the index within this string of the last occurrence of thespecified substring, searching backward starting at the specified index.intStringBuffer.lastIndexOf(String str) intStringBuffer.lastIndexOf(String str, int fromIndex) intStringBuilder.lastIndexOf(String str) intStringBuilder.lastIndexOf(String str, int fromIndex) voidRestricted.Loads the native library specified by the filename argument.static voidRestricted.Loads the native library specified by the filename argument.Class<?> Loads the class with the specifiedbinary name.protectedClass<?> Loads the class with the specifiedbinary name.voidRuntime.loadLibrary(String libname) Restricted.Loads the native library specified by thelibnameargument.static voidSystem.loadLibrary(String libname) Restricted.Loads the native library specified by thelibnameargument.default voidSystem.Logger.log(System.Logger.Level level,String msg) Logs a message.default voidSystem.Logger.log(System.Logger.Level level,String format,Object... params) Logs a message with an optional list of parameters.default voidSystem.Logger.log(System.Logger.Level level,String msg,Throwable thrown) Logs a message associated with a given throwable.voidSystem.Logger.log(System.Logger.Level level,ResourceBundle bundle,String format,Object... params) Logs a message with resource bundle and an optional list ofparameters.voidSystem.Logger.log(System.Logger.Level level,ResourceBundle bundle,String msg,Throwable thrown) Logs a localized message associated with a given throwable.staticStringSystem.mapLibraryName(String libname) Maps a library name into a platform-specific string representinga native library.booleanTells whether or not this string matches the givenregular expression.Sets the thread name.Sets the thread name to be the concatenation of a string prefix andthe string representation of a counter value.static <E extendsEnum<E>>
Enum.EnumDesc<E> Returns a nominal descriptor for the specifiedenumclass and namestaticRuntime.VersionParses the given string as a validversion string containing aversion number followed by pre-release andbuild information.static booleanBoolean.parseBoolean(String s) Parses the string argument as a boolean.static byteParses the string argument as a signed decimalbyte.static byteParses the string argument as a signedbytein theradix specified by the second argument.static doubleDouble.parseDouble(String s) Returns a newdoubleinitialized to the valuerepresented by the specifiedString, as performedby thevalueOfmethod of classDouble.static floatFloat.parseFloat(String s) Returns a newfloatinitialized to the valuerepresented by the specifiedString, as performedby thevalueOfmethod of classFloat.static intParses the string argument as a signed decimal integer.static intParses the string argument as a signed integer in the radixspecified by the second argument.static longParses the string argument as a signed decimallong.static longParses the string argument as a signedlongin theradix specified by the second argument.static shortShort.parseShort(String s) Parses the string argument as a signed decimalshort.static shortShort.parseShort(String s, int radix) Parses the string argument as a signedshortin theradix specified by the second argument.static intInteger.parseUnsignedInt(String s) Parses the string argument as an unsigned decimal integer.static intInteger.parseUnsignedInt(String s, int radix) Parses the string argument as an unsigned integer in the radixspecified by the second argument.static longLong.parseUnsignedLong(String s) Parses the string argument as an unsigned decimallong.static longLong.parseUnsignedLong(String s, int radix) Parses the string argument as an unsignedlongin theradix specified by the second argument.staticStringWrites a prompt and then reads a line of input.booleanString.regionMatches(boolean ignoreCase, int toffset,String other, int ooffset, int len) Tests if two string regions are equal.booleanString.regionMatches(int toffset,String other, int ooffset, int len) Tests if two string regions are equal.String.replaceAll(String regex,String replacement) Replaces each substring of this string that matches the givenregular expression with the given replacement.String.replaceFirst(String regex,String replacement) Replaces the first substring of this string that matches the givenregular expression with the given replacement.Returns a stream whose elements are the URLs of all the resources withthe given name.voidClassLoader.setClassAssertionStatus(String className, boolean enabled) Sets the desired assertion status for the named top-level class in thisclass loader and any nested classes contained therein.final voidChanges the name of this thread to be equal to the argumentname.voidClassLoader.setPackageAssertionStatus(String packageName, boolean enabled) Sets the package default assertion status for the named package.staticStringSystem.setProperty(String key,String value) Sets the system property indicated by the specified key.String[]Splits this string around matches of the givenregular expression.String[]Splits this string around matches of the givenregular expression.String[]String.splitWithDelimiters(String regex, int limit) Splits this string around matches of the given regular expression andreturns both the strings and the matching delimiters.booleanString.startsWith(String prefix) Tests if this string starts with the specified prefix.booleanString.startsWith(String prefix, int toffset) Tests if the substring of this string beginning at thespecified index starts with the specified prefix.staticBooleanReturns aBooleanwith a value represented by thespecified string.staticByteReturns aByteobject holding the valuegiven by the specifiedString.staticByteReturns aByteobject holding the valueextracted from the specifiedStringwhen parsedwith the radix given by the second argument.staticCharacter.UnicodeScriptReturns the enum constant of this class with the specified name.staticDoubleReturns aDoubleobject holding thedoublevalue represented by the argument strings.static <T extendsEnum<T>>
TReturns the enum constant of the specified enum class with thespecified name.staticFloatReturns aFloatobject holding thefloatvalue represented by the argument strings.staticIntegerReturns anIntegerobject holding thevalue of the specifiedString.staticIntegerReturns anIntegerobject holding the valueextracted from the specifiedStringwhen parsedwith the radix given by the second argument.staticLongReturns aLongobject holding the valueof the specifiedString.staticLongReturns aLongobject holding the valueextracted from the specifiedStringwhen parsedwith the radix given by the second argument.Returns the enum constant of this class with the specified name.staticShortReturns aShortobject holding thevalue given by the specifiedString.staticShortReturns aShortobject holding the valueextracted from the specifiedStringwhen parsedwith the radix given by the second argument.staticStackWalker.OptionReturns the enum constant of this class with the specified name.staticSystem.Logger.LevelReturns the enum constant of this class with the specified name.staticThread.StateReturns the enum constant of this class with the specified name.Modifier and TypeMethodDescriptionSets this process builder's operating system program andarguments.ModuleLayer.defineModules(Configuration cf,Function<String,ClassLoader> clf) Creates a new module layer, with this layer as its parent, by defining themodules in the givenConfigurationto the Java virtual machine.staticModuleLayer.ControllerModuleLayer.defineModules(Configuration cf,List<ModuleLayer> parentLayers,Function<String,ClassLoader> clf) Creates a new module layer by defining the modules in the givenConfigurationto the Java virtual machine.default voidSystem.Logger.log(System.Logger.Level level,Supplier<String> msgSupplier) Logs a lazily supplied message.default voidSystem.Logger.log(System.Logger.Level level,Supplier<String> msgSupplier,Throwable thrown) Logs a lazily supplied message associated with a given throwable.<R> RThis method allows the application of a function tothisstring.ModifierConstructorDescriptionConstructs anAbstractMethodErrorwith the specifieddetail message.Constructs anArithmeticExceptionwith the specifieddetail message.Constructs anArrayIndexOutOfBoundsExceptionclass with thespecified detail message.Constructs anArrayStoreExceptionwith the specifieddetail message.AssertionError(String message,Throwable cause) Constructs a newAssertionErrorwith the specifieddetail message and cause.Deprecated.It is rarely appropriate to use this constructor.Constructs aBootstrapMethodErrorwith the specifieddetail message.BootstrapMethodError(String s,Throwable cause) Constructs aBootstrapMethodErrorwith the specifieddetail message and cause.Deprecated.It is rarely appropriate to use this constructor.Constructs aClassCastExceptionwith the specifieddetail message.Constructs aClassCircularityErrorwith the specified detailmessage.Constructs aClassFormatErrorwith the specifieddetail message.protectedClassLoader(String name,ClassLoader parent) Creates a new class loader of the specified name and using thespecified parent class loader for delegation.Constructs aClassNotFoundExceptionwith thespecified detail message.Constructs aClassNotFoundExceptionwith thespecified detail message and optional exception that wasraised while loading the class.Constructs aCloneNotSupportedExceptionwith thespecified detail message.Deprecated.It is rarely appropriate to use this constructor.protectedSole constructor.EnumConstantNotPresentException(Class<? extendsEnum> enumType,String constantName) Constructs anEnumConstantNotPresentExceptionfor thespecified constant.Constructs a new error with the specified detail message.Constructs a new error with the specified detail message andcause.protectedConstructs a new error with the specified detail message,cause, suppression enabled or disabled, and writable stacktrace enabled or disabled.Constructs a new exception with the specified detail message.Constructs a new exception with the specified detail message andcause.protectedConstructs a new exception with the specified detail message,cause, suppression enabled or disabled, and writable stacktrace enabled or disabled.Constructs anExceptionInInitializerErrorwith the specified detailmessage string.Deprecated.It is rarely appropriate to use this constructor.Constructs anIllegalAccessErrorwith the specifieddetail message.Constructs anIllegalAccessExceptionwith a detail message.Constructs anIllegalArgumentExceptionwith thespecified detail message.IllegalArgumentException(String message,Throwable cause) Constructs a new exception with the specified detail message andcause.Constructs an IllegalCallerException with the specified detailmessage.IllegalCallerException(String message,Throwable cause) Constructs a new exception with the specified detail message andcause.Constructs anIllegalMonitorStateExceptionwith thespecified detail message.Constructs an IllegalStateException with the specified detailmessage.IllegalStateException(String message,Throwable cause) Constructs a new exception with the specified detail message andcause.Constructs anIllegalThreadStateExceptionwith thespecified detail message.Constructs anIncompatibleClassChangeErrorwith thespecified detail message.Constructs anIndexOutOfBoundsExceptionwith the specified detailmessage.Constructs anInstantiationErrorwith the specifieddetail message.Constructs anInstantiationExceptionwith thespecified detail message.Deprecated.It is rarely appropriate to use this constructor.InternalError(String message) Constructs anInternalErrorwith the specifieddetail message.InternalError(String message,Throwable cause) Constructs anInternalErrorwith the specified detailmessage and cause.Constructs anInterruptedExceptionwith thespecified detail message.Constructs aLayerInstantiationExceptionwith the given detailmessage.LayerInstantiationException(String msg,Throwable cause) Constructs aLayerInstantiationExceptionwith the given detailmessage and cause.Constructs aLinkageErrorwith the specified detailmessage.LinkageError(String s,Throwable cause) Constructs aLinkageErrorwith the specified detailmessage and cause.Deprecated.It is rarely appropriate to use this constructor.MatchException(String message,Throwable cause) Constructs anMatchExceptionwith the specified detail message andcause.Constructs aNegativeArraySizeExceptionwith thespecified detail message.Constructs aNoClassDefFoundErrorwith the specifieddetail message.Constructs aNoSuchFieldErrorwith the specifieddetail message.Constructor with a detail message.Constructs aNoSuchMethodErrorwith thespecified detail message.Constructs aNoSuchMethodExceptionwith a detail message.Constructs aNullPointerExceptionwith the specifieddetail message.Constructs aNumberFormatExceptionwith thespecified detail message.Constructs anOutOfMemoryErrorwith the specifieddetail message.ProcessBuilder(String... command) Constructs a process builder with the specified operatingsystem 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 messageand 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 andcause.protectedRuntimeException(String message,Throwable cause, boolean enableSuppression, boolean writableStackTrace) Constructs a new runtime exception with the specified detailmessage, cause, suppression enabled or disabled, and writablestack trace enabled or disabled.RuntimePermission(String name) Deprecated, for removal: This API element is subject to removal in a future version.Creates a new RuntimePermission with the specified name.RuntimePermission(String name,String actions) Deprecated, for removal: This API element is subject to removal in a future version.Creates a new RuntimePermission object with the specified name.Constructs aSecurityExceptionwith the specifieddetail message.SecurityException(String message,Throwable cause) Creates aSecurityExceptionwith the specifieddetail message and cause.Deprecated.It is rarely appropriate to use this constructor.Constructs aStackOverflowErrorwith the specifieddetail message.StackTraceElement(String declaringClass,String methodName,String fileName, int lineNumber) Creates a stack trace element representing the specified executionpoint.StackTraceElement(String classLoaderName,String moduleName,String moduleVersion,String declaringClass,String methodName,String fileName, int lineNumber) Creates a stack trace element representing the specified executionpoint.Constructs a newStringby decoding the specified subarray ofbytes using the specified charset.Constructs a newStringby decoding the specified array of bytesusing the specifiedcharset.Initializes a newly createdStringobject so that it representsthe same sequence of characters as the argument; in other words, thenewly created string is a copy of the argument string.StringBuffer(String str) Constructs a string buffer initialized to the contents of thespecified string.StringBuilder(String str) Constructs a string builder initialized to the contents of thespecified string.Constructs aStringIndexOutOfBoundsExceptionwith the specifieddetail message.protectedConstructs a newSubsetinstance.Initializes a new platformThread.Initializes a new platformThread.Thread(ThreadGroup group,Runnable task,String name) Initializes a new platformThreadso that it hastaskas its run object, has the specifiednameas its name,and belongs to the thread group referred to bygroup.Thread(ThreadGroup group,Runnable task,String name, long stackSize) Initializes a new platformThreadso that it hastaskas its run object, has the specifiednameas its name,and belongs to the thread group referred to bygroup, and hasthe specifiedstack size.Thread(ThreadGroup group,Runnable task,String name, long stackSize, boolean inheritInheritableThreadLocals) Initializes a new platformThreadso that it hastaskas its run object, has the specifiednameas its name,belongs to the thread group referred to bygroup, hasthe specifiedstackSize, and inherits initial values forinheritable thread-local variablesifinheritThreadLocalsistrue.Thread(ThreadGroup group,String name) Initializes a new platformThread.ThreadGroup(String name) Constructs a new thread group.ThreadGroup(ThreadGroup parent,String name) Creates a new thread group.Constructs a new throwable with the specified detail message.Constructs a new throwable with the specified detail message andcause.protectedConstructs a new throwable with the specified detail message,cause,suppression enabled ordisabled, and writable stack trace enabled or disabled.TypeNotPresentException(String typeName,Throwable cause) Constructs aTypeNotPresentExceptionfor the named type ortype variable with the specified cause.Constructs anUnknownErrorwith the specified detailmessage.Constructs anUnsatisfiedLinkErrorwith thespecified detail message.Constructs aUnsupportedClassVersionErrorwiththe specified detail message.UnsupportedOperationException(String message) Constructs an UnsupportedOperationException with the specifieddetail message.UnsupportedOperationException(String message,Throwable cause) Constructs a new exception with the specified detail message andcause.Constructs anVerifyErrorwith the specified detail message.VirtualMachineError(String message) Constructs aVirtualMachineErrorwith the specifieddetail message.VirtualMachineError(String message,Throwable cause) Constructs aVirtualMachineErrorwith the specifieddetail message and cause.Constructs a WrongThreadException with the given detail message.WrongThreadException(String message,Throwable cause) Constructs a WrongThreadException with the given detail message and cause.ModifierConstructorDescriptionProcessBuilder(List<String> command) Constructs a process builder with the specified operatingsystem program and arguments.Uses ofString injava.lang.annotation
Methods injava.lang.annotation that returnStringModifier and TypeMethodDescriptionIncompleteAnnotationException.elementName()Returns the name of the missing element.AnnotationTypeMismatchException.foundType()Returns the type of data found in the incorrectly typed element.Annotation.toString()Returns a string representation of this annotation.Methods injava.lang.annotation with parameters of typeStringModifier and TypeMethodDescriptionstaticElementTypeReturns the enum constant of this class with the specified name.staticRetentionPolicyReturns the enum constant of this class with the specified name.Constructors injava.lang.annotation with parameters of typeStringModifierConstructorDescriptionAnnotationFormatError(String message) Constructs a newAnnotationFormatErrorwith the specifieddetail message.AnnotationFormatError(String message,Throwable cause) Constructs a newAnnotationFormatErrorwith the specifieddetail message and cause.AnnotationTypeMismatchException(Method element,String foundType) Constructs an AnnotationTypeMismatchException for the specifiedannotation type element and found data type.IncompleteAnnotationException(Class<? extendsAnnotation> annotationType,String elementName) Constructs an IncompleteAnnotationException to indicate thatthe named element was missing from the specified annotation interface.Uses ofString injava.lang.classfile
Fields injava.lang.classfile declared asStringModifier and TypeFieldDescriptionstatic finalStringAttributes.NAME_ANNOTATION_DEFAULTAnnotationDefaultstatic finalStringAttributes.NAME_BOOTSTRAP_METHODSBootstrapMethodsstatic finalStringAttributes.NAME_CHARACTER_RANGE_TABLECharacterRangeTablestatic finalStringAttributes.NAME_CODECodestatic finalStringAttributes.NAME_COMPILATION_IDCompilationIDstatic finalStringAttributes.NAME_CONSTANT_VALUEConstantValuestatic finalStringAttributes.NAME_DEPRECATEDDeprecatedstatic finalStringAttributes.NAME_ENCLOSING_METHODEnclosingMethodstatic finalStringAttributes.NAME_EXCEPTIONSExceptionsstatic finalStringAttributes.NAME_INNER_CLASSESInnerClassesstatic finalStringAttributes.NAME_LINE_NUMBER_TABLELineNumberTablestatic finalStringAttributes.NAME_LOCAL_VARIABLE_TABLELocalVariableTablestatic finalStringAttributes.NAME_LOCAL_VARIABLE_TYPE_TABLELocalVariableTypeTablestatic finalStringAttributes.NAME_METHOD_PARAMETERSMethodParametersstatic finalStringAttributes.NAME_MODULEModulestatic finalStringAttributes.NAME_MODULE_HASHESModuleHashesstatic finalStringAttributes.NAME_MODULE_MAIN_CLASSModuleMainClassstatic finalStringAttributes.NAME_MODULE_PACKAGESModulePackagesstatic finalStringAttributes.NAME_MODULE_RESOLUTIONModuleResolutionstatic finalStringAttributes.NAME_MODULE_TARGETModuleTargetstatic finalStringAttributes.NAME_NEST_HOSTNestHoststatic finalStringAttributes.NAME_NEST_MEMBERSNestMembersstatic finalStringAttributes.NAME_PERMITTED_SUBCLASSESPermittedSubclassesstatic finalStringAttributes.NAME_RECORDRecordstatic finalStringAttributes.NAME_RUNTIME_INVISIBLE_ANNOTATIONSRuntimeInvisibleAnnotationsstatic finalStringAttributes.NAME_RUNTIME_INVISIBLE_PARAMETER_ANNOTATIONSRuntimeInvisibleParameterAnnotationsstatic finalStringAttributes.NAME_RUNTIME_INVISIBLE_TYPE_ANNOTATIONSRuntimeInvisibleTypeAnnotationsstatic finalStringAttributes.NAME_RUNTIME_VISIBLE_ANNOTATIONSRuntimeVisibleAnnotationsstatic finalStringAttributes.NAME_RUNTIME_VISIBLE_PARAMETER_ANNOTATIONSRuntimeVisibleParameterAnnotationsstatic finalStringAttributes.NAME_RUNTIME_VISIBLE_TYPE_ANNOTATIONSRuntimeVisibleTypeAnnotationsstatic finalStringAttributes.NAME_SIGNATURESignaturestatic finalStringAttributes.NAME_SOURCE_DEBUG_EXTENSIONSourceDebugExtensionstatic finalStringAttributes.NAME_SOURCE_FILESourceFilestatic finalStringAttributes.NAME_SOURCE_IDSourceIDstatic finalStringAttributes.NAME_STACK_MAP_TABLEStackMapTablestatic finalStringAttributes.NAME_SYNTHETICSyntheticMethods injava.lang.classfile that returnStringModifier and TypeMethodDescriptionSignature.ClassTypeSig.className()Returns the class or interface name; includes theslash-separated package name if there is noouter type.Signature.TypeParam.identifier()Returns the name of the type parameter.Signature.TypeVarSig.identifier()Returns the name of the type variable.AttributeMapper.name()Returns the name of the attribute.defaultStringAnnotationValue.OfString.resolvedValue()Returns the resolved string value.ClassSignature.signatureString()Returns the raw signature string.MethodSignature.signatureString()Returns the raw signature string.Signature.signatureString()Returns the raw signature string.AnnotationValue.OfString.stringValue()Returns the constant string value.defaultStringCompoundElement.toDebugString()Returns a text representation of the compound element and its contentsfor debugging purposes.Methods injava.lang.classfile with parameters of typeStringModifier and TypeMethodDescriptiondefaultCodeBuilderCodeBuilder.fieldAccess(Opcode opcode,ClassDesc owner,String name,ClassDesc type) Generates an instruction to access a field.defaultCodeBuilderGenerates an instruction to fetch field from an object.defaultCodeBuilderGenerates an instruction to get static field from a class or interface.defaultCodeBuilderCodeBuilder.invoke(Opcode opcode,ClassDesc owner,String name,MethodTypeDesc desc, boolean isInterface) Generates an instruction to invoke a method.defaultCodeBuilderCodeBuilder.invokeinterface(ClassDesc owner,String name,MethodTypeDesc type) Generates an instruction to invoke an interface method.defaultCodeBuilderCodeBuilder.invokespecial(ClassDesc owner,String name,MethodTypeDesc type) Generates an instruction to invoke an instance method in a class; directinvocation of instance initialization methods and methods of the currentclass and its supertypes.defaultCodeBuilderCodeBuilder.invokespecial(ClassDesc owner,String name,MethodTypeDesc type, boolean isInterface) Generates an instruction to invoke an instance method; direct invocationof instance initialization methods and methods of the current class andits supertypes.defaultCodeBuilderCodeBuilder.invokestatic(ClassDesc owner,String name,MethodTypeDesc type) Generates an instruction to invoke a class (static) method of a class.defaultCodeBuilderCodeBuilder.invokestatic(ClassDesc owner,String name,MethodTypeDesc type, boolean isInterface) Generates an instruction to invoke a class (static) method.defaultCodeBuilderCodeBuilder.invokevirtual(ClassDesc owner,String name,MethodTypeDesc type) Generates an instruction to invoke an instance method; dispatch based on class.defaultCodeBuilderCodeBuilder.localVariable(int slot,String name,ClassDesc descriptor,Label startScope,Label endScope) Declares a local variable entry.defaultCodeBuilderCodeBuilder.localVariableType(int slot,String name,Signature signature,Label startScope,Label endScope) Declares a local variable type entry.staticAnnotationElementAnnotationElement.of(String name,AnnotationValue value) Returns an element-value pair.staticSignature.ClassTypeSigSignature.ClassTypeSig.of(Signature.ClassTypeSig outerType,String className,Signature.TypeArg... typeArgs) Returns a class type signature.staticSignature.ClassTypeSigSignature.ClassTypeSig.of(String className,Signature.TypeArg... typeArgs) Returns a class or interface signature without an outer type.staticSignature.TypeParamSignature.TypeParam.of(String identifier,Signature.RefTypeSig classBound,Signature.RefTypeSig... interfaceBounds) Returns a signature for a type parameter.staticSignature.TypeParamSignature.TypeParam.of(String identifier,Optional<Signature.RefTypeSig> classBound,Signature.RefTypeSig... interfaceBounds) Returns a signature for a type parameter.staticSignature.TypeVarSigReturns a signature for a type variable.staticAnnotationElementAnnotationElement.ofAnnotation(String name,Annotation value) Returns an element-value pair for an annotation-valued element.staticAnnotationElementAnnotationElement.ofArray(String name,AnnotationValue... values) Returns an element-value pair for an array-valued element.staticAnnotationElementReturns an element-value pair for a boolean-valued element.staticAnnotationElementReturns an element-value pair for a byte-valued element.staticAnnotationElementReturns an element-value pair for a char-valued element.staticAnnotationElementReturns an element-value pair for a class-valued element.staticAnnotationElementReturns an element-value pair for a double-valued element.staticAnnotationValue.OfEnumReturns an enum value for an element-value pair.staticAnnotationElementReturns an element-value pair for a float-valued element.staticAnnotationElementReturns an element-value pair for an int-valued element.staticAnnotationElementReturns an element-value pair for a long-valued element.staticAnnotationElementReturns an element-value pair for a short-valued element.staticAnnotationElementReturns an element-value pair for a string-valued element.staticAnnotationValue.OfStringReturns a string value for an element-value pair.staticClassSignatureParses a raw class signature string into aSignature.staticMethodSignatureParses a raw method signature string into aMethodSignature.staticSignatureParses a Java type signature from a raw string.defaultCodeBuilderGenerates an instruction to set field in an object.defaultCodeBuilderGenerates an instruction to set static field in a class.Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.staticClassFile.DeadCodeOptionReturns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.staticOpcode.KindReturns the enum constant of this class with the specified name.staticOpcodeReturns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.staticTypeKindReturns the enum constant of this class with the specified name.defaultClassBuilderAdds a field, with only access flags.defaultClassBuilderClassBuilder.withField(String name,ClassDesc descriptor,Consumer<? superFieldBuilder> handler) Adds a field.defaultClassBuilderClassBuilder.withMethod(String name,MethodTypeDesc descriptor, int methodFlags,Consumer<? superMethodBuilder> handler) Adds a method.defaultClassBuilderClassBuilder.withMethodBody(String name,MethodTypeDesc descriptor, int methodFlags,Consumer<? superCodeBuilder> handler) Adds a method, with only access flags and aCodeModel.Uses ofString injava.lang.classfile.attribute
Methods injava.lang.classfile.attribute with parameters of typeStringModifier and TypeMethodDescriptionModuleAttribute.ModuleAttributeBuilder.moduleVersion(String version) Sets the module version, which may benull.staticCompilationIDAttributeReturns aCompilationIDattribute.staticModuleHashesAttributeModuleHashesAttribute.of(String algorithm,ModuleHashInfo... hashes) Returns aModuleHashesattribute.staticModuleHashesAttributeModuleHashesAttribute.of(String algorithm,List<ModuleHashInfo> hashes) Returns aModuleHashesattribute.staticModuleRequireInfoModuleRequireInfo.of(ModuleDesc requires, int requiresFlags,String requiresVersion) Returns a module requirement description.staticModuleRequireInfoModuleRequireInfo.of(ModuleDesc requires,Collection<AccessFlag> requiresFlags,String requiresVersion) Returns a module requirement description.staticModuleTargetAttributeReturns aModuleTargetattribute.staticRecordComponentInfoReturns a record component description.staticRecordComponentInfoReturns a record component description.staticSourceFileAttributeReturns a source file attribute.staticSourceIDAttributeReturns aSourceIDattribute.ModuleAttribute.ModuleAttributeBuilder.requires(ModuleDesc module, int requiresFlagsMask,String version) Adds a module requirement.ModuleAttribute.ModuleAttributeBuilder.requires(ModuleDesc module,Collection<AccessFlag> requiresFlags,String version) Adds a module requirement.Returns the enum constant of this class with the specified name.Method parameters injava.lang.classfile.attribute with type arguments of typeStringModifier and TypeMethodDescriptionstaticEnclosingMethodAttributeEnclosingMethodAttribute.of(ClassDesc className,Optional<String> methodName,Optional<MethodTypeDesc> methodType) Returns anEnclosingMethodattribute.staticMethodParameterInfoMethodParameterInfo.of(Optional<String> name,AccessFlag... flags) Returns a method parameter description.staticMethodParameterInfoMethodParameterInfo.ofParameter(Optional<String> name, int flags) Returns a method parameter description.Uses ofString injava.lang.classfile.constantpool
Methods injava.lang.classfile.constantpool that returnStringModifier and TypeMethodDescriptionClassEntry.asInternalName()Returns the represented reference type, as theinternal form of a binary name or an array descriptorstring.StringEntry.stringValue()Returns the string value for this entry.Utf8Entry.stringValue()Returns the string value for this entry.Methods injava.lang.classfile.constantpool with parameters of typeStringModifier and TypeMethodDescriptionbooleanStringEntry.equalsString(String value) Returns whether this entry describes the same string as the provided string.booleanUtf8Entry.equalsString(String s) Returns whether this entry describes the same string as the provided string.defaultFieldRefEntryConstantPoolBuilder.fieldRefEntry(ClassDesc owner,String name,ClassDesc type) Returns aFieldRefEntrydescribing a field of a class.defaultInterfaceMethodRefEntryConstantPoolBuilder.interfaceMethodRefEntry(ClassDesc owner,String name,MethodTypeDesc type) Returns anInterfaceMethodRefEntrydescribing a method of aninterface.defaultMethodRefEntryConstantPoolBuilder.methodRefEntry(ClassDesc owner,String name,MethodTypeDesc type) Returns aMethodRefEntrydescribing a method of a class.defaultNameAndTypeEntryConstantPoolBuilder.nameAndTypeEntry(String name,ClassDesc type) Returns aNameAndTypeEntrydescribing the provided unqualifiedname and field descriptor.defaultNameAndTypeEntryConstantPoolBuilder.nameAndTypeEntry(String name,MethodTypeDesc type) Returns aNameAndTypeEntrydescribing the provided name andmethod descriptor.defaultStringEntryConstantPoolBuilder.stringEntry(String value) Returns aStringEntrydescribing the provided value.Constructors injava.lang.classfile.constantpool with parameters of typeStringModifierConstructorDescriptionConstantPoolException(String message) Constructs aConstantPoolExceptionwith the specified detailmessage.ConstantPoolException(String message,Throwable cause) Constructs aConstantPoolExceptionwith the specified detailmessage and cause.Uses ofString injava.lang.classfile.instruction
Methods injava.lang.classfile.instruction with parameters of typeStringModifier and TypeMethodDescriptionstaticLocalVariableReturns a local variable pseudo-instruction.staticLocalVariableTypeReturns a local variable type pseudo-instruction.Uses ofString injava.lang.constant
Fields injava.lang.constant declared asStringModifier and TypeFieldDescriptionstatic finalStringConstantDescs.CLASS_INIT_NAMEThe special name of class initialization methods, "<clinit>".static finalStringConstantDescs.DEFAULT_NAMEInvocation name to use when no name is needed, such as the name of a constructor, or the invocation name of a dynamic constant or dynamic callsite when the bootstrap is known to ignore the invocation name.static finalStringConstantDescs.INIT_NAMEThe special name of instance initialization methods, "<init>".Methods injava.lang.constant that returnStringModifier and TypeMethodDescriptionDynamicConstantDesc.constantName()Returns the name that would appear in theNameAndTypeoperandof theLDCfor this constant.ClassDesc.descriptorString()Returns a field type descriptor string for this typeMethodTypeDesc.descriptorString()Returns the method type descriptor string.defaultStringMethodTypeDesc.displayDescriptor()Returns a human-readable descriptor for this method type, using thecanonical names for parameter and return types.ClassDesc.displayName()Returns a human-readable name for thisClassDesc.PackageDesc.internalName()Returns the fully qualified (slash-separated) package name in internal formof thisPackageDesc.DynamicCallSiteDesc.invocationName()Returns the invocation name that would appear in theNameAndTypeoperand of theinvokedynamic.DirectMethodHandleDesc.lookupDescriptor()Returns the lookup descriptor of the method handle described by this descriptor,after adjusting for the invocation mode.DirectMethodHandleDesc.methodName()Returns the name of the method or field described by this nominal descriptor.ModuleDesc.name()Returns the module name of thisModuleDesc.defaultStringPackageDesc.name()Returns the fully qualified (dot-separated) package nameof thisPackageDesc.defaultStringClassDesc.packageName()Returns the package name of thisClassDesc, if it describesa class or interface type.DynamicCallSiteDesc.toString()Returns a compact textual description of this call site description,including the bootstrap method, the invocation name and type, andthe static bootstrap arguments.DynamicConstantDesc.toString()Returns a compact textual description of this constant description,including the bootstrap method, the constant name and type, andthe static bootstrap arguments.Methods injava.lang.constant with parameters of typeStringModifier and TypeMethodDescriptiondefaultClassDescdefaultClassDescstaticClassDescReturns aClassDesc for a class or interface type,given the name of the class or interface, such as"java.lang.String".staticClassDescReturns aClassDesc for a class or interface type,given a package name and the unqualified (simple) name for theclass or interface.staticDynamicCallSiteDescDynamicCallSiteDesc.of(DirectMethodHandleDesc bootstrapMethod,String invocationName,MethodTypeDesc invocationType) Creates a nominal descriptor for aninvokedynamiccall site whosebootstrap method has no static arguments.staticDynamicCallSiteDescDynamicCallSiteDesc.of(DirectMethodHandleDesc bootstrapMethod,String invocationName,MethodTypeDesc invocationType,ConstantDesc... bootstrapArgs) Creates a nominal descriptor for aninvokedynamiccall site.staticDirectMethodHandleDescMethodHandleDesc.of(DirectMethodHandleDesc.Kind kind,ClassDesc owner,String name,String lookupDescriptor) Creates aMethodHandleDesc corresponding to an invocation of adeclared method, invocation of a constructor, or access to a field.staticModuleDescReturns aModuleDescfor a module,given the name of the module.staticPackageDescReturns aPackageDescfor a package,given the name of the package, such as"java.lang".staticDirectMethodHandleDescConstantDescs.ofCallsiteBootstrap(ClassDesc owner,String name,ClassDesc returnType,ClassDesc... paramTypes) Returns aMethodHandleDesccorresponding to a bootstrap method foraninvokedynamiccallsite, which is a static method whose leadingparameter types areLookup,String, andMethodType.static <T> ConstantDescDynamicConstantDesc.ofCanonical(DirectMethodHandleDesc bootstrapMethod,String constantName,ClassDesc constantType,ConstantDesc[] bootstrapArgs) Returns a nominal descriptor for a dynamic constant, transforming it intoa more specific type if the constant bootstrap is a well-known one and amore specific nominal descriptor type (e.g., ClassDesc) is available.staticDirectMethodHandleDescConstantDescs.ofConstantBootstrap(ClassDesc owner,String name,ClassDesc returnType,ClassDesc... paramTypes) Returns aMethodHandleDesccorresponding to a bootstrap method for adynamic constant, which is a static method whose leading arguments areLookup,String, andClass.staticClassDescClassDesc.ofDescriptor(String descriptor) Returns aClassDesc given a descriptor string for a class,interface, array, or primitive type.staticMethodTypeDescMethodTypeDesc.ofDescriptor(String descriptor) Creates aMethodTypeDesc given a method descriptor string.staticDirectMethodHandleDescMethodHandleDesc.ofField(DirectMethodHandleDesc.Kind kind,ClassDesc owner,String fieldName,ClassDesc fieldType) Creates aMethodHandleDesc corresponding to a method handlethat accesses a field.staticClassDescClassDesc.ofInternalName(String name) Returns aClassDesc for a class or interface type,given the name of the class or interface in internal form,such as"java/lang/String".staticPackageDescPackageDesc.ofInternalName(String name) Returns aPackageDescfor a package,given the name of the package in internal form,such as"java/lang".staticDirectMethodHandleDescMethodHandleDesc.ofMethod(DirectMethodHandleDesc.Kind kind,ClassDesc owner,String name,MethodTypeDesc lookupMethodType) Creates aMethodHandleDesc corresponding to an invocation of adeclared method or constructor.static <T> DynamicConstantDesc<T> DynamicConstantDesc.ofNamed(DirectMethodHandleDesc bootstrapMethod,String constantName,ClassDesc constantType,ConstantDesc... bootstrapArgs) Returns a nominal descriptor for a dynamic constant.Returns the enum constant of this class with the specified name.DynamicCallSiteDesc.withNameAndType(String invocationName,MethodTypeDesc invocationType) Returns a nominal descriptor for aninvokedynamiccall site whosebootstrap and bootstrap arguments are the same as this one, but with thespecified invocationName and invocation invocationTypeConstructors injava.lang.constant with parameters of typeStringModifierConstructorDescriptionprotectedDynamicConstantDesc(DirectMethodHandleDesc bootstrapMethod,String constantName,ClassDesc constantType,ConstantDesc... bootstrapArgs) Creates a nominal descriptor for a dynamic constant.Uses ofString injava.lang.foreign
Methods injava.lang.foreign that returnStringModifier and TypeMethodDescriptionMemorySegment.getString(long offset) Reads a null-terminated string from this segment at the given offset, using theUTF-8 charset.Reads a null-terminated string from this segment at the given offset, using theprovided charset.MemoryLayout.toString()Returns the string representation of this layout.Methods injava.lang.foreign that return types with arguments of typeStringModifier and TypeMethodDescriptionLinker.canonicalLayouts()Returns an unmodifiable mapping between the names of data types used by the ABI implemented by this linker and theircanonical layouts.MemoryLayout.name()Returns the name (if any) associated with this layout.Methods injava.lang.foreign with parameters of typeStringModifier and TypeMethodDescriptiondefaultMemorySegmentSegmentAllocator.allocateFrom(String str) Converts a Java string into a null-terminated C string using theUTF-8 charset, storing the result into a memory segment.defaultMemorySegmentSegmentAllocator.allocateFrom(String str,Charset charset) Converts a Java string into a null-terminated C string using the provided charset,and storing the result into a memory segment.staticLinker.OptionLinker.Option.captureCallState(String... capturedState) Returns a linker option used to save portions of the execution state immediately after calling a foreign function associated with a downcall method handle, before it can be overwritten by the Java runtime, or read through conventional means.Returns the address of the symbol with the given name.defaultMemorySegmentSymbolLookup.findOrThrow(String name) Returns the address of the symbol with the given name or throws an exception.staticMemoryLayout.PathElementMemoryLayout.PathElement.groupElement(String name) Returns a path element which selects a member layout with the given name in a group layout.staticSymbolLookupSymbolLookup.libraryLookup(String name,Arena arena) Restricted.Loads a library with the given name (if not already loaded) and creates a symbollookup for symbols in that library.voidWrites the given string into this segment at the given offset, converting it to a null-terminated byte sequence using theUTF-8 charset.voidWrites the given string into this segment at the given offset, converting it to anull-terminated byte sequence using the provided charset.Returns a memory layout with the same characteristics as this layout, but with the given name.Returns a memory layout with the same characteristics as this layout, but with the given name.Returns a memory layout with the same characteristics as this layout, but with the given name.Returns a memory layout with the same characteristics as this layout, but with the given name.Returns a memory layout with the same characteristics as this layout, but with the given name.Returns a memory layout with the same characteristics as this layout, but with the given name.Returns a memory layout with the same characteristics as this layout, but with the given name.Returns a memory layout with the same characteristics as this layout, but with the given name.Returns a memory layout with the same characteristics as this layout, but with the given name.Returns a memory layout with the same characteristics as this layout, but with the given name.Returns a memory layout with the same characteristics as this layout, but with the given name.Returns a memory layout with the same characteristics as this layout, but with the given name.Returns a memory layout with the same characteristics as this layout, but with the given name.Returns a memory layout with the same characteristics as this layout, but with the given name.Returns a memory layout with the same characteristics as this layout, but with the given name.Returns a memory layout with the same characteristics as this layout, but with the given name.Uses ofString injava.lang.instrument
Methods injava.lang.instrument with parameters of typeStringModifier and TypeMethodDescriptionvoidInstrumentation.setNativeMethodPrefix(ClassFileTransformer transformer,String prefix) This method modifies the failure handling ofnative method resolution by allowing retrywith a prefix applied to the name.default byte[]ClassFileTransformer.transform(ClassLoader loader,String className,Class<?> classBeingRedefined,ProtectionDomain protectionDomain, byte[] classfileBuffer) Transforms the given class file and returns a new replacement class file.default byte[]ClassFileTransformer.transform(Module module,ClassLoader loader,String className,Class<?> classBeingRedefined,ProtectionDomain protectionDomain, byte[] classfileBuffer) Transforms the given class file and returns a new replacement class file.Method parameters injava.lang.instrument with type arguments of typeStringModifier and TypeMethodDescriptionvoidInstrumentation.redefineModule(Module module,Set<Module> extraReads,Map<String,Set<Module>> extraExports,Map<String,Set<Module>> extraOpens,Set<Class<?>> extraUses,Map<Class<?>,List<Class<?>>> extraProvides) Redefine a module to expand the set of modules that it reads, the set ofpackages that it exports or opens, or the services that it uses orprovides.Constructors injava.lang.instrument with parameters of typeStringModifierConstructorDescriptionConstructs anIllegalClassFormatExceptionwith thespecified detail message.Constructs anUnmodifiableClassExceptionwith thespecified detail message.Constructs anUnmodifiableModuleExceptionwith thespecified detail message.Uses ofString injava.lang.invoke
Methods injava.lang.invoke that returnStringModifier and TypeMethodDescriptionMethodType.descriptorString()Returns the descriptor string for this method type.TypeDescriptor.descriptorString()Returns the descriptor string for thisTypeDescriptorobject.SerializedLambda.getCapturingClass()Get the name of the class that captured this lambda.SerializedLambda.getFunctionalInterfaceClass()Get the name of the invoked type to which thislambda has been convertedSerializedLambda.getFunctionalInterfaceMethodName()Get the name of the primary method for the functional interfaceto which this lambda has been converted.SerializedLambda.getFunctionalInterfaceMethodSignature()Get the signature of the primary method for the functionalinterface to which this lambda has been converted.SerializedLambda.getImplClass()Get the name of the class containing the implementationmethod.SerializedLambda.getImplMethodName()Get the name of the implementation method.SerializedLambda.getImplMethodSignature()Get the signature of the implementation method.finalStringSerializedLambda.getInstantiatedMethodType()Get the signature of the primary functional interface methodafter type variables are substituted with their instantiationfrom the capture site.MethodHandleInfo.getName()Returns the name of the cracked method handle's underlying member.VarHandle.AccessMode.methodName()Returns theVarHandlesignature-polymorphic method nameassociated with thisAccessModevalue.staticStringMethodHandleInfo.referenceKindToString(int referenceKind) Returns the descriptive name of the given reference kind,as defined in thetable above.MethodType.toMethodDescriptorString()Returns the descriptor string for this method type.MethodHandle.toString()Returns a string representation of the method handle,starting with the string"MethodHandle"andending with the string representation of the method handle's type.staticStringMethodHandleInfo.toString(int kind,Class<?> defc,String name,MethodType type) Returns a string representation for aMethodHandleInfo,given the four parts of its symbolic reference.MethodHandles.Lookup.toString()Displays the name of the class from which lookups are to be made,followed by "/" and the name of theprevious lookup class if present.MethodType.toString()Returns a string representation of the method type,of the form"(PT0,PT1...)RT".finalStringVarHandle.toString()Returns a compact textual description of thisVarHandle,including the type of variable described, and a description of its coordinates.VarHandle.VarHandleDesc.toString()Returns a compact textual description of this constant description.Methods injava.lang.invoke with parameters of typeStringModifier and TypeMethodDescriptionstaticCallSiteLambdaMetafactory.altMetafactory(MethodHandles.Lookup caller,String interfaceMethodName,MethodType factoryType,Object... args) Facilitates the creation of simple "function objects" that implement oneor more interfaces by delegation to a providedMethodHandle,after appropriate type adaptation and partial evaluation of arguments.staticVarHandleConstantBootstraps.arrayVarHandle(MethodHandles.Lookup lookup,String name,Class<VarHandle> type,Class<?> arrayClass) Finds aVarHandlefor an array type.MethodHandles.Lookup.bind(Object receiver,String name,MethodType type) Produces an early-bound method handle for a non-static method.static <T> TMethodHandles.classData(MethodHandles.Lookup caller,String name,Class<T> type) Returns theclass data associated with the lookup classof the givencallerlookup object, ornull.static <T> TMethodHandles.classDataAt(MethodHandles.Lookup caller,String name,Class<T> type, int index) Returns the element at the specified index in theclass data,if the class data associated with the lookup classof the givencallerlookup object is aList.static <E extendsEnum<E>>
EConstantBootstraps.enumConstant(MethodHandles.Lookup lookup,String name,Class<E> type) Returns anenumconstant of the type specified bytypewith the name specified byname.staticObjectConstantBootstraps.explicitCast(MethodHandles.Lookup lookup,String name,Class<?> dstType,Object value) Applies a conversion from a source type to a destination type.staticVarHandleConstantBootstraps.fieldVarHandle(MethodHandles.Lookup lookup,String name,Class<VarHandle> type,Class<?> declaringClass,Class<?> fieldType) Finds aVarHandlefor an instance field.Class<?> Looks up a class by name from the lookup context defined by thisLookupobject,as if resolved by anldcinstruction.MethodHandles.Lookup.findGetter(Class<?> refc,String name,Class<?> type) Produces a method handle giving read access to a non-static field.MethodHandles.Lookup.findSetter(Class<?> refc,String name,Class<?> type) Produces a method handle giving write access to a non-static field.MethodHandles.Lookup.findSpecial(Class<?> refc,String name,MethodType type,Class<?> specialCaller) Produces an early-bound method handle for a virtual method.MethodHandles.Lookup.findStatic(Class<?> refc,String name,MethodType type) Produces a method handle for a static method.MethodHandles.Lookup.findStaticGetter(Class<?> refc,String name,Class<?> type) Produces a method handle giving read access to a static field.MethodHandles.Lookup.findStaticSetter(Class<?> refc,String name,Class<?> type) Produces a method handle giving write access to a static field.MethodHandles.Lookup.findStaticVarHandle(Class<?> decl,String name,Class<?> type) Produces a VarHandle giving access to a static fieldnameoftypetypedeclared in a class of typedecl.MethodHandles.Lookup.findVarHandle(Class<?> recv,String name,Class<?> type) Produces a VarHandle giving access to a non-static fieldnameof typetypedeclared in a class of typerecv.MethodHandles.Lookup.findVirtual(Class<?> refc,String name,MethodType type) Produces a method handle for a virtual method.staticMethodTypeMethodType.fromMethodDescriptorString(String descriptor,ClassLoader loader) Finds or creates an instance of a method type of the given method descriptor(JVMS4.3.3).staticObjectConstantBootstraps.getStaticFinal(MethodHandles.Lookup lookup,String name,Class<?> type) Returns the value of a static final field declared in the class whichis the same as the field's type (or, for primitive-valued fields,declared in the wrapper class.)staticObjectConstantBootstraps.getStaticFinal(MethodHandles.Lookup lookup,String name,Class<?> type,Class<?> declaringClass) Returns the value of a static final field.staticObjectConstantBootstraps.invoke(MethodHandles.Lookup lookup,String name,Class<?> type,MethodHandle handle,Object... args) Returns the result of invoking a method handle with the providedarguments.staticCallSiteStringConcatFactory.makeConcat(MethodHandles.Lookup lookup,String name,MethodType concatType) Facilitates the creation of optimized String concatenation methods, thatcan be used to efficiently concatenate a known number of arguments ofknown types, possibly after type adaptation and partial evaluation ofarguments.staticCallSiteStringConcatFactory.makeConcatWithConstants(MethodHandles.Lookup lookup,String name,MethodType concatType,String recipe,Object... constants) Facilitates the creation of optimized String concatenation methods, thatcan be used to efficiently concatenate a known number of arguments ofknown types, possibly after type adaptation and partial evaluation ofarguments.staticCallSiteLambdaMetafactory.metafactory(MethodHandles.Lookup caller,String interfaceMethodName,MethodType factoryType,MethodType interfaceMethodType,MethodHandle implementation,MethodType dynamicMethodType) Facilitates the creation of simple "function objects" that implement oneor more interfaces by delegation to a providedMethodHandle,after appropriate type adaptation and partial evaluation of arguments.staticObjectConstantBootstraps.nullConstant(MethodHandles.Lookup lookup,String name,Class<?> type) Returns anullobject reference for the reference type specifiedbytype.staticVarHandle.VarHandleDescReturns aVarHandle.VarHandleDesc corresponding to aVarHandlefor an instance field.staticVarHandle.VarHandleDescVarHandle.VarHandleDesc.ofStaticField(ClassDesc declaringClass,String name,ClassDesc fieldType) Returns aVarHandle.VarHandleDesc corresponding to aVarHandlefor a static field.staticClass<?> ConstantBootstraps.primitiveClass(MethodHandles.Lookup lookup,String name,Class<?> type) Returns aClassmirror for the primitive type whose typedescriptor is specified byname.staticVarHandleConstantBootstraps.staticFieldVarHandle(MethodHandles.Lookup lookup,String name,Class<VarHandle> type,Class<?> declaringClass,Class<?> fieldType) Finds aVarHandlefor a static field.staticStringMethodHandleInfo.toString(int kind,Class<?> defc,String name,MethodType type) Returns a string representation for aMethodHandleInfo,given the four parts of its symbolic reference.staticVarHandle.AccessModeVarHandle.AccessMode.valueFromMethodName(String methodName) Returns theAccessModevalue associated with the specifiedVarHandlesignature-polymorphic method name.Returns the enum constant of this class with the specified name.staticVarHandle.AccessModeReturns the enum constant of this class with the specified name.Constructors injava.lang.invoke with parameters of typeStringModifierConstructorDescriptionLambdaConversionException(String message) Constructs aLambdaConversionExceptionwith a message.LambdaConversionException(String message,Throwable cause) Constructs aLambdaConversionExceptionwith a message and cause.LambdaConversionException(String message,Throwable cause, boolean enableSuppression, boolean writableStackTrace) Constructs aLambdaConversionExceptionwith 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 aSerializedLambdafrom the low-level information presentat the lambda factory site.Constructs an exception with a messageStringConcatException(String msg,Throwable cause) Constructs an exception with a message and a linked throwableConstructs aWrongMethodTypeExceptionwith the specifieddetail message.Uses ofString injava.lang.management
Fields injava.lang.management declared asStringModifier and TypeFieldDescriptionstatic finalStringManagementFactory.CLASS_LOADING_MXBEAN_NAMEString representation of theObjectNamefor theClassLoadingMXBean.static finalStringManagementFactory.COMPILATION_MXBEAN_NAMEString representation of theObjectNamefor theCompilationMXBean.static finalStringManagementFactory.GARBAGE_COLLECTOR_MXBEAN_DOMAIN_TYPEThe domain name and the type key property intheObjectNamefor aGarbageCollectorMXBean.static finalStringMemoryNotificationInfo.MEMORY_COLLECTION_THRESHOLD_EXCEEDEDNotification type denoting thatthe memory usage of a memory pool is greater than or equal to itscollection usage threshold after the Java virtual machinehas expended effort in recycling unused objects in thatmemory pool.static finalStringManagementFactory.MEMORY_MANAGER_MXBEAN_DOMAIN_TYPEThe domain name and the type key property intheObjectNamefor aMemoryManagerMXBean.static finalStringManagementFactory.MEMORY_MXBEAN_NAMEString representation of theObjectNamefor theMemoryMXBean.static finalStringManagementFactory.MEMORY_POOL_MXBEAN_DOMAIN_TYPEThe domain name and the type key property intheObjectNamefor aMemoryPoolMXBean.static finalStringMemoryNotificationInfo.MEMORY_THRESHOLD_EXCEEDEDNotification type denoting thatthe memory usage of a memory pool hasreached or exceeded its usage threshold value.static finalStringManagementFactory.OPERATING_SYSTEM_MXBEAN_NAMEString representation of theObjectNamefor theOperatingSystemMXBean.static finalStringManagementFactory.RUNTIME_MXBEAN_NAMEString representation of theObjectNamefor theRuntimeMXBean.static finalStringManagementFactory.THREAD_MXBEAN_NAMEString representation of theObjectNamefor theThreadMXBean.Methods injava.lang.management that returnStringModifier and TypeMethodDescriptionOperatingSystemMXBean.getArch()Returns the operating system architecture.RuntimeMXBean.getBootClassPath()Returns the boot class path that is used by the bootstrap class loaderto search for class files.LockInfo.getClassName()Returns the fully qualified name of the class of the lock object.RuntimeMXBean.getClassPath()Returns the Java class path that is used by the system class loaderto search for class files.RuntimeMXBean.getLibraryPath()Returns the Java library path.ThreadInfo.getLockName()Returns thestring representationof an object for which the thread associated with thisThreadInfois blocked waiting.ThreadInfo.getLockOwnerName()Returns the name of the thread which owns the objectfor which the thread associated with thisThreadInfois blocked waiting.PlatformLoggingMXBean.getLoggerLevel(String loggerName) Gets the name of the loglevel associated with the specified logger.RuntimeMXBean.getManagementSpecVersion()Returns the version of the specification for the management interfaceimplemented 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.BufferPoolMXBean.getName()Returns the name representing this buffer pool.CompilationMXBean.getName()Returns the name of the Just-in-time (JIT) compiler.MemoryManagerMXBean.getName()Returns the name representing this memory manager.MemoryPoolMXBean.getName()Returns the name representing this memory pool.OperatingSystemMXBean.getName()Returns the operating system name.RuntimeMXBean.getName()Returns the name representing the running Java virtual machine.PlatformLoggingMXBean.getParentLoggerName(String loggerName) Returns the name of theparentfor the specified logger.MemoryNotificationInfo.getPoolName()Returns the name of the memory pool that triggers this notification.RuntimeMXBean.getSpecName()Returns the Java virtual machine specification name.RuntimeMXBean.getSpecVendor()Returns the Java virtual machine specification vendor.RuntimeMXBean.getSpecVersion()Returns the Java virtual machine specification version.ThreadInfo.getThreadName()Returns the name of the thread associated with thisThreadInfo.OperatingSystemMXBean.getVersion()Returns the operating system version.RuntimeMXBean.getVmName()Returns the Java virtual machine implementation name.RuntimeMXBean.getVmVendor()Returns the Java virtual machine implementation vendor.RuntimeMXBean.getVmVersion()Returns the Java virtual machine implementation version.LockInfo.toString()Returns a string representation of a lock.MemoryType.toString()Returns the string representation of thisMemoryType.MemoryUsage.toString()Returns a descriptive representation of this memory usage.ThreadInfo.toString()Returns a string representation of this thread info.Methods injava.lang.management that return types with arguments of typeStringModifier and TypeMethodDescriptionRuntimeMXBean.getInputArguments()Returns the input arguments passed to the Java virtual machinewhich does not include the arguments to themainmethod.PlatformLoggingMXBean.getLoggerNames()Returns the list of the currently registeredlogger names.RuntimeMXBean.getSystemProperties()Returns a map of names and values of all system properties.RuntimeMXBean.getSystemProperties()Returns a map of names and values of all system properties.Methods injava.lang.management with parameters of typeStringModifier and TypeMethodDescriptionPlatformLoggingMXBean.getLoggerLevel(String loggerName) Gets the name of the loglevel associated with the specified logger.PlatformLoggingMXBean.getParentLoggerName(String loggerName) Returns the name of theparentfor the specified logger.static <T> TManagementFactory.newPlatformMXBeanProxy(MBeanServerConnection connection,String mxbeanName,Class<T> mxbeanInterface) Returns a proxy for a platform MXBean interface of a givenMXBean name that forwards its method calls through the givenMBeanServerConnection.voidPlatformLoggingMXBean.setLoggerLevel(String loggerName,String levelName) Sets the specified logger to the specified newlevel.staticMemoryTypeReturns the enum constant of this class with the specified name.Constructors injava.lang.management with parameters of typeStringModifierConstructorDescriptionConstructs aLockInfoobject.ManagementPermission(String name) Deprecated, for removal: This API element is subject to removal in a future version.Constructs a ManagementPermission with the specified name.ManagementPermission(String name,String actions) Deprecated, for removal: This API element is subject to removal in a future version.Constructs a new ManagementPermission object.MemoryNotificationInfo(String poolName,MemoryUsage usage, long count) Constructs aMemoryNotificationInfoobject.MonitorInfo(String className, int identityHashCode, int stackDepth,StackTraceElement stackFrame) Construct aMonitorInfoobject.Uses ofString injava.lang.module
Methods injava.lang.module that returnStringModifier and TypeMethodDescriptionModuleDescriptor.name()Returns the module name.ModuleDescriptor.Requires.name()Return the module name.ResolvedModule.name()Returns the module name.ModuleDescriptor.Provides.service()Returns thebinary name of the service type.ModuleDescriptor.Exports.source()Returns the package name.ModuleDescriptor.Opens.source()Returns the package name.ModuleDescriptor.toNameAndVersion()Returns a string containing the module name and, if present, itsversion.Configuration.toString()Returns a string describing this configuration.ModuleDescriptor.Exports.toString()Returns a string describing the exported package.ModuleDescriptor.Opens.toString()Returns a string describing the open package.ModuleDescriptor.Provides.toString()Returns a string describing thisProvides.ModuleDescriptor.Requires.toString()Returns a string describing this module dependence.ModuleDescriptor.toString()Returns a string describing the module.ModuleDescriptor.Version.toString()Returns the string from which this version was parsed.ResolvedModule.toString()Returns a string describing this resolved module.Methods injava.lang.module that return types with arguments of typeStringModifier and TypeMethodDescriptionModuleReader.list()Lists the contents of the module, returning a stream of elements thatare the names of all resources in the module.ModuleDescriptor.mainClass()Returns the module main class.ModuleDescriptor.packages()Returns the set of packages in the module.ModuleDescriptor.Provides.providers()Returns the list of thebinary namesof the providers or provider factories.ModuleDescriptor.Requires.rawCompiledVersion()Returns the string with the possibly-unparseable version of the moduleif recorded at compile-time.ModuleDescriptor.rawVersion()Returns the string with the possibly-unparseable version of themodule.ModuleDescriptor.Exports.targets()For a qualified export, returns the non-empty and immutable setof the module names to which the package is exported.ModuleDescriptor.Opens.targets()For a qualifiedOpens, returns the non-empty and immutable setof the module names to which the package is open.ModuleDescriptor.uses()Returns the set of service dependences.Methods injava.lang.module with parameters of typeStringModifier and TypeMethodDescriptionAdds an exported package.Adds an exported package.ModuleDescriptor.Builder.exports(Set<ModuleDescriptor.Exports.Modifier> ms,String pn) Adds an exported package with the given (and possibly empty) set ofmodifiers.ModuleDescriptor.Builder.exports(Set<ModuleDescriptor.Exports.Modifier> ms,String pn,Set<String> targets) Adds an exported package with the given (and possibly empty) set ofmodifiers.Finds a reference to a module of a given name.Finds a resource, returning a URI to the resource in the module.Configuration.findModule(String name) Finds a resolved module in this configuration, or if not in thisconfiguration, theparent configurations.Sets the module main class.staticModuleDescriptor.BuilderModuleDescriptor.newAutomaticModule(String name) Instantiates a builder to build a module descriptor for an automaticmodule.staticModuleDescriptor.BuilderInstantiates a builder to build a module descriptor for anormalmodule.staticModuleDescriptor.BuilderModuleDescriptor.newModule(String name,Set<ModuleDescriptor.Modifier> ms) Instantiates a builder to build a module descriptor.staticModuleDescriptor.BuilderModuleDescriptor.newOpenModule(String name) Instantiates a builder to build a module descriptor for an open module.defaultOptional<InputStream> Opens a resource, returning an input stream to read the resource inthe module.Adds an open package.Adds an open package.ModuleDescriptor.Builder.opens(Set<ModuleDescriptor.Opens.Modifier> ms,String pn) Adds an open package with the given (and possibly empty) set ofmodifiers.ModuleDescriptor.Builder.opens(Set<ModuleDescriptor.Opens.Modifier> ms,String pn,Set<String> targets) Adds an open package with the given (and possibly empty) set ofmodifiers.staticModuleDescriptor.VersionParses the given string as a version string.Provides implementations of a service.defaultOptional<ByteBuffer> Reads a resource, returning a byte buffer with the contents of theresource.Adds a dependence on a module with an empty set of modifiers.ModuleDescriptor.Builder.requires(Set<ModuleDescriptor.Requires.Modifier> ms,String mn) Adds a dependence on a module with the given (and possibly empty)set of modifiers.ModuleDescriptor.Builder.requires(Set<ModuleDescriptor.Requires.Modifier> ms,String mn,ModuleDescriptor.Version compiledVersion) Adds a dependence on a module with the given (and possibly empty)set of modifiers.Adds a service dependence.Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.Sets the module version.Method parameters injava.lang.module with type arguments of typeStringModifier and TypeMethodDescriptionAdds an exported package.Adds an open package.Adds packages to the module.Provides implementations of a service.staticModuleDescriptorModuleDescriptor.read(InputStream in,Supplier<Set<String>> packageFinder) Reads the binary form of a module declaration from an input streamas a module descriptor.staticModuleDescriptorModuleDescriptor.read(ByteBuffer bb,Supplier<Set<String>> packageFinder) Reads the binary form of a module declaration from a byte bufferas a module descriptor.Configuration.resolve(ModuleFinder before,ModuleFinder after,Collection<String> roots) Resolves a collection of root modules, with this configuration as itsparent, to create a new configuration.staticConfigurationConfiguration.resolve(ModuleFinder before,List<Configuration> parents,ModuleFinder after,Collection<String> roots) Resolves a collection of root modules to create a configuration.Configuration.resolveAndBind(ModuleFinder before,ModuleFinder after,Collection<String> roots) Resolves a collection of root modules, with service binding, and withthis configuration as its parent, to create a new configuration.staticConfigurationConfiguration.resolveAndBind(ModuleFinder before,List<Configuration> parents,ModuleFinder after,Collection<String> roots) Resolves a collection of root modules, with service binding, to createconfiguration.Constructors injava.lang.module with parameters of typeStringModifierConstructorDescriptionFindException(String msg) Constructs aFindExceptionwith the given detailmessage.FindException(String msg,Throwable cause) Constructs aFindExceptionwith the given detail messageand cause.Constructs anInvalidModuleDescriptorExceptionwith thespecified detail message.Constructs aResolutionExceptionwith the given detailmessage.ResolutionException(String msg,Throwable cause) Constructs aResolutionExceptionwith the given detail messageand cause.Uses ofString injava.lang.reflect
Methods injava.lang.reflect that returnStringModifier and TypeMethodDescriptionRecordComponent.getGenericSignature()Returns aStringthat describes the generic type signature forthis record component.Constructor.getName()Returns the name of this constructor, as a string.abstractStringExecutable.getName()Returns the name of the executable represented by this object.Field.getName()Returns the name of the field represented by thisFieldobject.Member.getName()Returns the simple name of the underlying member or constructorrepresented by this Member.Method.getName()Returns the name of the method represented by thisMethodobject, as aString.Parameter.getName()Returns the name of the parameter.RecordComponent.getName()Returns the name of this record component.TypeVariable.getName()Returns the name of this type variable, as it occurs in the source code.defaultStringType.getTypeName()Returns a string describing this type, including informationabout any type parameters.Constructor.toGenericString()Returns a string describing thisConstructor,including type parameters.abstractStringExecutable.toGenericString()Returns a string describing thisExecutable, includingany type parameters.Field.toGenericString()Returns a string describing thisField, includingits generic type.Method.toGenericString()Returns a string describing thisMethod, including typeparameters.Constructor.toString()Returns a string describing thisConstructor.Field.toString()Returns a string describing thisField.Method.toString()Returns a string describing thisMethod.staticStringModifier.toString(int mod) Return a string describing the access modifier flags inthe specified modifier.Parameter.toString()Returns a string describing this parameter.RecordComponent.toString()Returns a string describing this record component.Methods injava.lang.reflect with parameters of typeStringModifier and TypeMethodDescriptionstaticAccessFlag.LocationReturns the enum constant of this class with the specified name.staticAccessFlagReturns the enum constant of this class with the specified name.staticClassFileFormatVersionReturns the enum constant of this class with the specified name.Constructors injava.lang.reflect with parameters of typeStringModifierConstructorDescriptionGenericSignatureFormatError(String message) Constructs a newGenericSignatureFormatErrorwith thespecified message.Constructs anInaccessibleObjectExceptionwith the given detailmessage.InvocationTargetException(Throwable target,String s) Constructs a InvocationTargetException with a target exceptionand a detail message.Constructs aMalformedParameterizedTypeExceptionwiththe given detail message.MalformedParametersException(String reason) Create aMalformedParametersException.ReflectPermission(String name) Deprecated, for removal: This API element is subject to removal in a future version.Constructs a ReflectPermission with the specified name.ReflectPermission(String name,String actions) Deprecated, for removal: This API element is subject to removal in a future version.Constructs a ReflectPermission with the specified name and actions.UndeclaredThrowableException(Throwable undeclaredThrowable,String s) Constructs anUndeclaredThrowableExceptionwith thespecifiedThrowableand a detail message.Uses ofString injava.lang.runtime
Methods injava.lang.runtime with parameters of typeStringModifier and TypeMethodDescriptionstaticObjectObjectMethods.bootstrap(MethodHandles.Lookup lookup,String methodName,TypeDescriptor type,Class<?> recordClass,String names,MethodHandle... getters) Bootstrap method to generate theObject.equals(Object),Object.hashCode(), andObject.toString()methods, basedon a description of the component names and accessor methods, for eitherinvokedynamiccall sites or dynamic constant pool entries.staticCallSiteSwitchBootstraps.enumSwitch(MethodHandles.Lookup lookup,String invocationName,MethodType invocationType,Object... labels) Bootstrap method for linking aninvokedynamiccall site thatimplements aswitchon a target of an enum type.staticCallSiteSwitchBootstraps.typeSwitch(MethodHandles.Lookup lookup,String invocationName,MethodType invocationType,Object... labels) Bootstrap method for linking aninvokedynamiccall site thatimplements aswitchon a target of a reference type.Uses ofString injava.math
Modifier and TypeMethodDescriptionBigDecimal.toEngineeringString()Returns a string representation of thisBigDecimal,using engineering notation if an exponent is needed.BigDecimal.toPlainString()Returns a string representation of thisBigDecimalwithout an exponent field.BigDecimal.toString()Returns the string representation of thisBigDecimal,using scientific notation if an exponent is needed.BigInteger.toString()Returns the decimal String representation of this BigInteger.BigInteger.toString(int radix) Returns the String representation of this BigInteger in thegiven radix.MathContext.toString()Returns the string representation of thisMathContext.Modifier and TypeMethodDescriptionstaticRoundingModeReturns the enum constant of this class with the specified name.ModifierConstructorDescriptionBigDecimal(String val) Translates the string representation of aBigDecimalinto aBigDecimal.BigDecimal(String val,MathContext mc) Translates the string representation of aBigDecimalinto aBigDecimal, accepting the same strings as theBigDecimal(String)constructor, with roundingaccording to the context settings.BigInteger(String val) Translates the decimal String representation of a BigIntegerinto a BigInteger.BigInteger(String val, int radix) Translates the String representation of a BigInteger in thespecified radix into a BigInteger.MathContext(String val) Constructs a newMathContextfrom a string.Uses ofString injava.net
Modifier and TypeFieldDescriptionprotectedStringHttpURLConnection.methodThe HTTP method (GET,POST,PUT,etc.).protectedStringHttpURLConnection.responseMessageThe HTTP response message.Modifier and TypeMethodDescriptionstaticStringDeprecated.The resulting string may vary depending on the default charset.staticStringDecodes anapplication/x-www-form-urlencodedstring usinga specific encoding scheme.staticStringDecodes anapplication/x-www-form-urlencodedstring usinga specificCharset.staticStringDeprecated.The resulting string may vary depending on the default charset.staticStringTranslates a string intoapplication/x-www-form-urlencodedformat using a specific encoding scheme.staticStringTranslates a string intoapplication/x-www-form-urlencodedformat using a specificCharset.SocketPermission.getActions()Returns the canonical string representation of the actions.URLPermission.getActions()Deprecated, for removal: This API element is subject to removal in a future version.Returns the normalized method list and requestheader list, in the form:URI.getAuthority()Returns the decoded authority component of this URI.URL.getAuthority()Gets the authority part of thisURL.InetAddress.getCanonicalHostName()Gets the fully qualified domain name for thisIP address using the system-wideresolver.abstractStringSecureCacheResponse.getCipherSuite()Returns the cipher suite in use on the original connection thatretrieved the network resource.HttpCookie.getComment()Returns the comment describing the purpose of this cookie, ornullif the cookie has no comment.HttpCookie.getCommentURL()Returns the comment URL describing the purpose of this cookie, ornullif the cookie has no comment URL.URLConnection.getContentEncoding()Returns the value of thecontent-encodingheader field.URLConnection.getContentType()Returns the value of thecontent-typeheader field.FileNameMap.getContentTypeFor(String fileName) Gets the MIME type for the specified file name.staticStringURLConnection.getDefaultRequestProperty(String key) Deprecated.The instance specific getRequestProperty methodshould be used after an appropriate instance of URLConnectionis obtained.NetworkInterface.getDisplayName()Get the display name of this network interface.HttpCookie.getDomain()Returns the domain name set for this cookie.JarURLConnection.getEntryName()Return the entry name for this connection.URL.getFile()Gets the file name of thisURL.URI.getFragment()Returns the decoded fragment component of this URI.HttpURLConnection.getHeaderField(int n) Returns the value for thenth header field.URLConnection.getHeaderField(int n) Returns the value for thenth header field.URLConnection.getHeaderField(String name) Returns the value of the named header field.HttpURLConnection.getHeaderFieldKey(int n) Returns the key for thenth header field.URLConnection.getHeaderFieldKey(int n) Returns the key for thenth header field.URI.getHost()Returns the host component of this URI.URL.getHost()Gets the host name of thisURL, if applicable.Inet4Address.getHostAddress()Returns the IP address string in textual presentation form.Inet6Address.getHostAddress()Returns the IP address string in textual presentation.InetAddress.getHostAddress()Returns the IP address string in textual presentation.InetAddress.getHostName()Gets the host name for this IP address.finalStringInetSocketAddress.getHostName()Gets thehostname.finalStringInetSocketAddress.getHostString()Returns the hostname, or the String form of the address if itdoesn't have a hostname (it was created using a literal).URISyntaxException.getInput()Returns the input string.HttpRetryException.getLocation()Returns the value of the Location header field if theerror resulted from redirection.URISyntaxException.getMessage()Returns a string describing the parse error.HttpCookie.getName()Returns the name of the cookie.NetworkInterface.getName()Get the name of this network interface.HttpCookie.getPath()Returns the path on the server to which the browser returns this cookie.URI.getPath()Returns the decoded path component of this URI.URL.getPath()Gets the path part of thisURL.HttpCookie.getPortlist()Returns the port list attribute of the cookieURL.getProtocol()Gets the protocol name of thisURL.URI.getQuery()Returns the decoded query component of this URI.URL.getQuery()Gets the query part of thisURL.URI.getRawAuthority()Returns the raw authority component of this URI.URI.getRawFragment()Returns the raw fragment component of this URI.URI.getRawPath()Returns the raw path component of this URI.URI.getRawQuery()Returns the raw query component of this URI.URI.getRawSchemeSpecificPart()Returns the raw scheme-specific part of this URI.URI.getRawUserInfo()Returns the raw user-information component of this URI.HttpRetryException.getReason()Returns a string explaining why the http request couldnot be retried.URISyntaxException.getReason()Returns a string explaining why the input string could not be parsed.URL.getRef()Gets the anchor (also known as the "reference") of thisURL.protected finalStringAuthenticator.getRequestingHost()Gets thehostnameof thesite or proxy requesting authentication, ornullif not available.protected finalStringAuthenticator.getRequestingPrompt()Gets the prompt string given by the requestor.protected finalStringAuthenticator.getRequestingProtocol()Give the protocol that's requesting the connection.protected finalStringAuthenticator.getRequestingScheme()Gets the scheme of the requestor (the HTTP schemefor an HTTP firewall, for example).HttpURLConnection.getRequestMethod()Get the request method.URLConnection.getRequestProperty(String key) Returns the value of the named general request property for thisconnection.HttpURLConnection.getResponseMessage()Gets the HTTP response message, if any, returned along with theresponse code from a server.URI.getScheme()Returns the scheme component of this URI.URI.getSchemeSpecificPart()Returns the decoded scheme-specific part of this URI.URI.getUserInfo()Returns the decoded user-information component of this URI.URL.getUserInfo()Gets the userInfo part of thisURL.PasswordAuthentication.getUserName()Returns the user name.HttpCookie.getValue()Returns the value of the cookie.staticStringURLConnection.guessContentTypeFromName(String fname) Tries to determine the content type of an object, basedon the specified "file" component of a URL.staticStringURLConnection.guessContentTypeFromStream(InputStream is) Tries to determine the type of an input stream based on thecharacters at the beginning of the input stream.ProtocolFamily.name()Returns the name of the protocol family.SocketOption.name()Returns the name of the socket option.staticStringTranslates a string from Unicode to ASCII Compatible Encoding (ACE),as defined by the ToASCII operation ofRFC 3490.staticStringTranslates a string from Unicode to ASCII Compatible Encoding (ACE),as defined by the ToASCII operation ofRFC 3490.URI.toASCIIString()Returns the content of this URI as a US-ASCII string.URL.toExternalForm()Constructs a string representation of thisURL.protectedStringURLStreamHandler.toExternalForm(URL u) Converts aURLof a specific protocol to aString.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.InetAddress.toString()Converts this IP address to aString.InetSocketAddress.toString()Constructs a string representation of this InetSocketAddress.InterfaceAddress.toString()Converts this Interface address to aString.Proxy.toString()Constructs a string representation of this Proxy.ServerSocket.toString()Returns the implementation address and implementation port ofthis socket as aString.Socket.toString()Converts this socket to aString.SocketImpl.toString()Returns the address and port of this socket as aString.UnixDomainSocketAddress.toString()Returns a string representation of thisUnixDomainSocketAddress.URI.toString()Returns the content of this URI as a string.URL.toString()Constructs a string representation of thisURL.URLConnection.toString()Returns aStringrepresentation of this URL connection.staticStringTranslates a string from ASCII Compatible Encoding (ACE) to Unicode,as defined by the ToUnicode operation ofRFC 3490.staticStringTranslates a string from ASCII Compatible Encoding (ACE) to Unicode,as defined by the ToUnicode operation ofRFC 3490.Modifier and TypeMethodDescriptionGets all the applicable cookies from a cookie cache for thespecified uri in the request header.Gets all the applicable cookies from a cookie cache for thespecified uri in the request header.URLConnection.getHeaderFields()Returns an unmodifiable Map of the header fields.URLConnection.getHeaderFields()Returns an unmodifiable Map of the header fields.CacheResponse.getHeaders()Returns the response headers as a Map.CacheResponse.getHeaders()Returns the response headers as a Map.URLConnection.getRequestProperties()Returns an unmodifiable Map of general requestproperties for this connection.URLConnection.getRequestProperties()Returns an unmodifiable Map of general requestproperties for this connection.Modifier and TypeMethodDescriptionvoidURLConnection.addRequestProperty(String key,String value) Adds a general request property specified by akey-value pair.protected abstract voidConnects this socket to the specified port on the named host.staticURICreates a URI by parsing the given string.ContentHandlerFactory.createContentHandler(String mimetype) Creates a newContentHandlerto read an object fromaURLStreamHandler.staticInetSocketAddressInetSocketAddress.createUnresolved(String host, int port) Creates an unresolved socket address from a hostname and a port number.URLStreamHandlerFactory.createURLStreamHandler(String protocol) Creates a newURLStreamHandlerinstance with the specifiedprotocol.staticStringDeprecated.The resulting string may vary depending on the default charset.staticStringDecodes anapplication/x-www-form-urlencodedstring usinga specific encoding scheme.staticStringDecodes anapplication/x-www-form-urlencodedstring usinga specificCharset.protectedPackageURLClassLoader.definePackage(String name,Manifest man,URL url) Defines a new package by name in thisURLClassLoader.static booleanHttpCookie.domainMatches(String domain,String host) The utility method to check whether a host name is in a domain or not.staticStringDeprecated.The resulting string may vary depending on the default charset.staticStringTranslates a string intoapplication/x-www-form-urlencodedformat using a specific encoding scheme.staticStringTranslates a string intoapplication/x-www-form-urlencodedformat using a specificCharset.protectedClass<?> Finds and loads the class with the specified name from the URL searchpath.URLClassLoader.findResource(String name) Finds the resource with the specified name on the URL search path.URLClassLoader.findResources(String name) Returns an Enumeration of URLs representing all of the resourceson the URL search path having the specified name.abstractCacheResponseRetrieve the cached response based on the requesting uri,request method and request headers.staticInetAddress[]InetAddress.getAllByName(String host) Given the name of a host, returns an array of its IP addresses,based on the system-wideresolver.staticInet6AddressInet6Address.getByAddress(String host, byte[] addr, int scope_id) Create an Inet6Address in the exact manner ofInetAddress.getByAddress(String,byte[])except that the IPv6 scope_id isset to the given numeric value.staticInet6AddressInet6Address.getByAddress(String host, byte[] addr,NetworkInterface nif) Create an Inet6Address in the exact manner ofInetAddress.getByAddress(String,byte[])except that the IPv6 scope_id isset to the value corresponding to the given interface for the addresstype specified inaddr.staticInetAddressInetAddress.getByAddress(String host, byte[] addr) Creates an InetAddress based on the provided host name and IP address.staticInetAddressDetermines the IP address of a host, given the host's name.staticNetworkInterfaceSearches for the network interface with the specified name.FileNameMap.getContentTypeFor(String fileName) Gets the MIME type for the specified file name.staticStringURLConnection.getDefaultRequestProperty(String key) Deprecated.The instance specific getRequestProperty methodshould be used after an appropriate instance of URLConnectionis obtained.static booleanURLConnection.getDefaultUseCaches(String protocol) Returns the default value of theuseCachesflag for the given protocol.URLConnection.getHeaderField(String name) Returns the value of the named header field.longURLConnection.getHeaderFieldDate(String name, long defaultValue) Returns the value of the named field parsed as date.intURLConnection.getHeaderFieldInt(String name, int defaultValue) Returns the value of the named field parsed as a number.longURLConnection.getHeaderFieldLong(String name, long defaultValue) Returns the value of the named field parsed as a number.URLConnection.getRequestProperty(String key) Returns the value of the named general request property for thisconnection.URLClassLoader.getResourceAsStream(String name) Returns an input stream for reading the specified resource.staticStringURLConnection.guessContentTypeFromName(String fname) Tries to determine the content type of an object, basedon the specified "file" component of a URL.staticUnixDomainSocketAddressCreates a UnixDomainSocketAddress from the given path string.staticInet4AddressCreates anInet4Addressbased on the providedtextual representation of an IPv4 address.staticInetAddressCreates anInetAddressbased on the providedtextual representation of an IPv6 address.staticInetAddressCreates anInetAddressbased on the providedtextual representation of an IP address.staticInet4AddressInet4Address.ofPosixLiteral(String posixIPAddressLiteral) Creates anInet4Addressbased on the providedtextual representation of an IPv4 address inPOSIXinet_addrcompatible form.staticList<HttpCookie> Constructs cookies from set-cookie or set-cookie2 header string.protected voidParses the string representation of aURLinto aURLobject.staticPasswordAuthenticationAuthenticator.requestPasswordAuthentication(String host,InetAddress addr, int port,String protocol,String prompt,String scheme) Ask the authenticator that has been registered with the systemfor a password.staticPasswordAuthenticationAuthenticator.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 systemfor a password.staticPasswordAuthenticationAuthenticator.requestPasswordAuthentication(Authenticator authenticator,String host,InetAddress addr, int port,String protocol,String prompt,String scheme,URL url,Authenticator.RequestorType reqType) Ask the givenauthenticatorfor a password.staticPasswordAuthenticationAuthenticator.requestPasswordAuthentication(InetAddress addr, int port,String protocol,String prompt,String scheme) Ask the authenticator that has been registered with the systemfor a password.Authenticator.requestPasswordAuthenticationInstance(String host,InetAddress addr, int port,String protocol,String prompt,String scheme,URL url,Authenticator.RequestorType reqType) Ask this authenticator for a password.Constructs a new URI by parsing the given string and then resolving itagainst this URI.voidHttpCookie.setComment(String purpose) Specifies a comment that describes a cookie's purpose.voidHttpCookie.setCommentURL(String purpose) Specifies a comment URL that describes a cookie's purpose.static voidURLConnection.setDefaultRequestProperty(String key,String value) Deprecated.The instance specific setRequestProperty methodshould be used after an appropriate instance of URLConnectionis obtained.static voidURLConnection.setDefaultUseCaches(String protocol, boolean defaultVal) Sets the default value of theuseCachesfield for the namedprotocol to the given value.voidSpecifies the domain within which this cookie should be presented.voidSpecifies a path for the cookie to which the client should returnthe cookie.voidHttpCookie.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.voidHttpURLConnection.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.voidURLConnection.setRequestProperty(String key,String value) Sets the general request property.protected voidDeprecated.Use setURL(URL, String, String, int, String, String, String, String);protected voidURLStreamHandler.setURL(URL u,String protocol,String host, int port,String authority,String userInfo,String path,String query,String ref) Sets the fields of theURLargument to the indicated values.voidAssigns a new value to a cookie after the cookie is created.staticStringTranslates a string from Unicode to ASCII Compatible Encoding (ACE),as defined by the ToASCII operation ofRFC 3490.staticStringTranslates a string from Unicode to ASCII Compatible Encoding (ACE),as defined by the ToASCII operation ofRFC 3490.staticStringTranslates a string from ASCII Compatible Encoding (ACE) to Unicode,as defined by the ToUnicode operation ofRFC 3490.staticStringTranslates a string from ASCII Compatible Encoding (ACE) to Unicode,as defined by the ToUnicode operation ofRFC 3490.Returns the enum constant of this class with the specified name.staticProxy.TypeReturns the enum constant of this class with the specified name.staticStandardProtocolFamilyReturns the enum constant of this class with the specified name.Modifier and TypeMethodDescriptionGets all the applicable cookies from a cookie cache for thespecified uri in the request header.Gets all the applicable cookies from a cookie cache for thespecified uri in the request header.abstractCacheResponseRetrieve the cached response based on the requesting uri,request method and request headers.abstractCacheResponseRetrieve the cached response based on the requesting uri,request method and request headers.abstract voidSets all the applicable cookies, examples are response headerfields that are named Set-Cookie2, present in the responseheaders into a cookie cache.abstract voidSets all the applicable cookies, examples are response headerfields that are named Set-Cookie2, present in the responseheaders into a cookie cache.voidvoidModifierConstructorDescriptionBindException(String msg) Constructs a new BindException with the specified detailmessage as to why the bind error occurred.ConnectException(String msg) Constructs a new ConnectException with the specified detailmessage 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 newHttpRetryExceptionfrom thespecified response code and exception detail messageHttpRetryException(String detail, int code,String location) Constructs a newHttpRetryExceptionwith detail messageresponseCode 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.Constructs aMalformedURLExceptionwith thespecified detail message.NetPermission(String name) Deprecated, for removal: This API element is subject to removal in a future version.Creates a new NetPermission with the specified name.NetPermission(String name,String actions) Deprecated, for removal: This API element is subject to removal in a future version.Creates a new NetPermission object with the specified name.Constructs a new NoRouteToHostException with the specified detailmessage as to why the remote host cannot be reached.PasswordAuthentication(String userName, char[] password) Creates a newPasswordAuthenticationobject from the givenuser name and password.Constructs a newPortUnreachableExceptionwith adetail message.ProtocolException(String message) Constructs a newProtocolExceptionwith thespecified detail message.Creates a stream socket and connects it to the specified portnumber on the named host.Deprecated, for removal: This API element is subject to removal in a future version.Thestreamparameter provided a way in early JDK releases to create aSocketthat used a datagram socket.Socket(String host, int port,InetAddress localAddr, int localPort) Creates a socket and connects it to the specified remote host onthe specified remote port.SocketException(String msg) Constructs a newSocketExceptionwith thespecified detail message.SocketException(String msg,Throwable cause) Constructs a newSocketExceptionwith thespecified detail message and cause.SocketPermission(String host,String action) Creates a new SocketPermission object with the specified actions.Constructs a new SocketTimeoutException with a detailmessage.UnknownHostException(String message) Constructs a newUnknownHostExceptionwith thespecified detail message.Constructs a newUnknownServiceExceptionwith thespecified detail message.Constructs a URI by parsing the given string.Constructs a URI from the given components.Constructs a hierarchical URI from the given components.Constructs a hierarchical URI from the given components.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 errorindex.Deprecated.UseURI.toURL()to construct an instance of URL.Deprecated.UseURI.toURL()to construct an instance of URL.URL(String protocol,String host, int port,String file,URLStreamHandler handler) Deprecated.UseURL.of(URI, URLStreamHandler)to construct an instance of URLassociated with a custom protocol handler.Deprecated.UseURI.toURL()to construct an instance of URL.Deprecated.UseURI.toURL()to construct an instance of URL.URL(URL context,String spec,URLStreamHandler handler) Deprecated.UseURL.of(URI, URLStreamHandler)to construct an instance of URLassociated with a custom protocol handler.URLClassLoader(String name,URL[] urls,ClassLoader parent) Constructs a new namedURLClassLoaderfor the specified URLs.URLClassLoader(String name,URL[] urls,ClassLoader parent,URLStreamHandlerFactory factory) Constructs a new namedURLClassLoaderfor the specified URLs,parent class loader, and URLStreamHandlerFactory.URLPermission(String url) Deprecated, for removal: This API element is subject to removal in a future version.Creates a URLPermission with the given url string and unrestrictedmethods and request headers by invoking the two argumentconstructor as follows: URLPermission(url, "*:*")URLPermission(String url,String actions) Deprecated, for removal: This API element is subject to removal in a future version.Creates a new URLPermission from a url string and which permits the givenrequest methods and user-settable request headers.Uses ofString injava.net.http
Methods injava.net.http with type parameters of typeStringModifier and TypeMethodDescriptionstatic <S extendsFlow.Subscriber<? superString>, T>
HttpResponse.BodyHandler<T> HttpResponse.BodyHandlers.fromLineSubscriber(S subscriber,Function<? super S, ? extends T> finisher,String lineSeparator) Returns a response body handler that returns aBodySubscriber<T>obtained fromBodySubscribers.fromLineSubscriber(subscriber, finisher, charset, lineSeparator),with the givensubscriber,finisherfunction, and line separator.static <S extendsFlow.Subscriber<? superString>, T>
HttpResponse.BodySubscriber<T> HttpResponse.BodySubscribers.fromLineSubscriber(S subscriber,Function<? super S, ? extends T> finisher,Charset charset,String lineSeparator) Returns a body subscriber that forwards all response body to thegivenFlow.Subscriber, line by line.Methods injava.net.http that returnStringModifier and TypeMethodDescriptionWebSocket.getSubprotocol()Returns the subprotocol used by this WebSocket.abstractStringHttpRequest.method()Returns the request method for this request.HttpHeaders.toString()Returns this HTTP headers as a string.Methods injava.net.http that return types with arguments of typeStringModifier and TypeMethodDescriptionReturns an unmodifiable List of all of the header string values of thegiven named header.HttpResponse.connectionLabel()Returns if present, a label identifying the connection on which theresponse was received.HttpHeaders.firstValue(String name) Returns anOptionalcontaining the first header string value ofthe given named (and possibly multi-valued) header.HttpHeaders.map()Returns an unmodifiable multi Map view of this HttpHeaders.HttpHeaders.map()Returns an unmodifiable multi Map view of this HttpHeaders.staticHttpResponse.BodyHandler<Stream<String>> HttpResponse.BodyHandlers.ofLines()Returns aBodyHandler<Stream<String>>that returns aBodySubscriber<Stream<String>>obtainedfromBodySubscribers.ofLines(charset).staticHttpResponse.BodySubscriber<Stream<String>> Returns aBodySubscriberwhich streams the response body asaStream<String>, where each string in the streamcorresponds to a line as defined byBufferedReader.lines().staticHttpResponse.BodyHandler<String> HttpResponse.BodyHandlers.ofString()Returns aBodyHandler<String>that returns aBodySubscriber<String>obtained fromBodySubscribers.ofString(Charset).staticHttpResponse.BodyHandler<String> Returns aBodyHandler<String>that returns aBodySubscriber<String>obtained fromBodySubscribers.ofString(Charset).Returns a body subscriber which stores the response body as aStringconverted using the givenCharset.Methods injava.net.http with parameters of typeStringModifier and TypeMethodDescriptionReturns an unmodifiable List of all of the header string values of thegiven named header.HttpHeaders.firstValue(String name) Returns anOptionalcontaining the first header string value ofthe given named (and possibly multi-valued) header.HttpHeaders.firstValueAsLong(String name) Returns anOptionalLongcontaining the first header string valueof the named header field.static <S extendsFlow.Subscriber<? superString>, T>
HttpResponse.BodyHandler<T> HttpResponse.BodyHandlers.fromLineSubscriber(S subscriber,Function<? super S, ? extends T> finisher,String lineSeparator) Returns a response body handler that returns aBodySubscriber<T>obtained fromBodySubscribers.fromLineSubscriber(subscriber, finisher, charset, lineSeparator),with the givensubscriber,finisherfunction, and line separator.static <S extendsFlow.Subscriber<? superString>, T>
HttpResponse.BodySubscriber<T> HttpResponse.BodySubscribers.fromLineSubscriber(S subscriber,Function<? super S, ? extends T> finisher,Charset charset,String lineSeparator) Returns a body subscriber that forwards all response body to thegivenFlow.Subscriber, line by line.Adds the given name value pair to the set of headers for this request.Adds the given name-value pair to the list of additional HTTP headerssent during the opening handshake.Adds the given name value pairs to the set of headers for thisrequest.HttpRequest.Builder.method(String method,HttpRequest.BodyPublisher bodyPublisher) Sets the request method and request body of this builder to thegiven values.Returns a request body publisher whose body is the givenString, converted using theUTF_8character set.Returns a request body publisher whose body is the givenString, converted using the given character set.defaultCompletionStage<?> Receives a Close message indicating the WebSocket's input has beenclosed.Initiates an orderly closure of this WebSocket's output bysending a Close message with the given status code and the reason.Sets the given name value pair to the set of headers for thisrequest.WebSocket.Builder.subprotocols(String mostPreferred,String... lesserPreferred) Sets a request for the given subprotocols.staticHttpClient.RedirectReturns the enum constant of this class with the specified name.staticHttpClient.VersionReturns the enum constant of this class with the specified name.Method parameters injava.net.http with type arguments of typeStringModifier and TypeMethodDescriptionstaticHttpResponse.BodyHandler<Void> HttpResponse.BodyHandlers.fromLineSubscriber(Flow.Subscriber<? superString> subscriber) Returns a response body handler that returns aBodySubscriber<Void>obtained fromBodySubscribers.fromLineSubscriber(subscriber, s -> null, charset, null),with the givensubscriber.staticHttpResponse.BodySubscriber<Void> HttpResponse.BodySubscribers.fromLineSubscriber(Flow.Subscriber<? superString> subscriber) Returns a body subscriber that forwards all response body to thegivenFlow.Subscriber, line by line.staticHttpRequest.BuilderHttpRequest.newBuilder(HttpRequest request,BiPredicate<String, String> filter) Creates aBuilderwhose initial state is copied from an existingHttpRequest.staticHttpRequest.BuilderHttpRequest.newBuilder(HttpRequest request,BiPredicate<String, String> filter) Creates aBuilderwhose initial state is copied from an existingHttpRequest.staticHttpHeadersReturns an HTTP headers from the given map.staticHttpHeadersReturns an HTTP headers from the given map.staticHttpHeadersReturns an HTTP headers from the given map.staticHttpHeadersReturns an HTTP headers from the given map.Constructors injava.net.http with parameters of typeStringModifierConstructorDescriptionHttpConnectTimeoutException(String message) Constructs anHttpConnectTimeoutExceptionwith the given detailmessage.HttpTimeoutException(String message) Constructs anHttpTimeoutExceptionwith the given detail message.Uses ofString injava.net.spi
Methods injava.net.spi that returnStringModifier and TypeMethodDescriptionInetAddressResolver.lookupByAddress(byte[] addr) Lookup the host name corresponding to the raw IP address provided.InetAddressResolverProvider.Configuration.lookupLocalHostName()Reads the localhost name from the system configuration.abstractStringInetAddressResolverProvider.name()Returns the name of this provider, ornullif unnamed.Methods injava.net.spi with parameters of typeStringModifier and TypeMethodDescriptionInetAddressResolver.lookupByName(String host,InetAddressResolver.LookupPolicy lookupPolicy) Given the name of a host, returns a stream of IP addresses of the requestedaddress family associated with a provided hostname.Uses ofString injava.nio
Modifier and TypeMethodDescriptionByteBuffer.toString()Returns a string summarizing the state of this buffer.ByteOrder.toString()Constructs a string describing this object.CharBuffer.toString()Returns a string containing the characters in this buffer.DoubleBuffer.toString()Returns a string summarizing the state of this buffer.FloatBuffer.toString()Returns a string summarizing the state of this buffer.IntBuffer.toString()Returns a string summarizing the state of this buffer.LongBuffer.toString()Returns a string summarizing the state of this buffer.ShortBuffer.toString()Returns a string summarizing the state of this buffer.Modifier and TypeMethodDescriptionfinalCharBufferRelative bulkput method (optional operation).Relative bulkput method (optional operation).Uses ofString injava.nio.channels
Methods injava.nio.channels that returnStringModifier and TypeMethodDescriptionFileChannel.MapMode.toString()Returns a string describing this file-mapping mode.finalStringFileLock.toString()Returns a string describing the range, type, and validity of this lock.Methods injava.nio.channels with parameters of typeStringModifier and TypeMethodDescriptionstaticReaderChannels.newReader(ReadableByteChannel ch,String csName) Constructs a reader that decodes bytes from the given channel accordingto the named charset.staticWriterChannels.newWriter(WritableByteChannel ch,String csName) Constructs a writer that encodes characters according to the namedcharset and writes the resulting bytes to the given channel.Uses ofString injava.nio.charset
Methods injava.nio.charset that returnStringModifier and TypeMethodDescriptionCharset.displayName()Returns this charset's human-readable name for the default locale.Charset.displayName(Locale locale) Returns this charset's human-readable name for the given locale.IllegalCharsetNameException.getCharsetName()Retrieves the illegal charset name.UnsupportedCharsetException.getCharsetName()Retrieves the name of the unsupported charset.MalformedInputException.getMessage()Returns the message.UnmappableCharacterException.getMessage()Returns the message.finalStringCharset.name()Returns this charset's canonical name.finalStringCharsetDecoder.replacement()Returns this decoder's replacement value.finalStringCharset.toString()Returns a string describing this charset.CoderResult.toString()Returns a string describing this coder result.CodingErrorAction.toString()Returns a string describing this action.Methods injava.nio.charset that return types with arguments of typeStringModifier and TypeMethodDescriptionCharset.aliases()Returns a set containing this charset's aliases.Charset.availableCharsets()Constructs a sorted map from canonical charset names to charset objects.Methods injava.nio.charset with parameters of typeStringModifier and TypeMethodDescriptionfinalByteBufferConvenience method that encodes a string into bytes in this charset.staticCharsetReturns a charset object for the named charset.staticCharsetReturns a charset object for the named charset.protected voidCharsetDecoder.implReplaceWith(String newReplacement) Reports a change to this decoder's replacement value.static booleanCharset.isSupported(String charsetName) Tells whether the named charset is supported.finalCharsetDecoderCharsetDecoder.replaceWith(String newReplacement) Changes this decoder's replacement value.Constructors injava.nio.charset with parameters of typeStringModifierConstructorDescriptionprotectedInitializes a new charset with the given canonical name and aliasset.IllegalCharsetNameException(String charsetName) Constructs an instance of this class.UnsupportedCharsetException(String charsetName) Constructs an instance of this class.Uses ofString injava.nio.charset.spi
Methods injava.nio.charset.spi with parameters of typeStringModifier and TypeMethodDescriptionabstractCharsetCharsetProvider.charsetForName(String charsetName) Retrieves a charset for the given charset name.Uses ofString injava.nio.file
Methods injava.nio.file that returnStringModifier and TypeMethodDescriptionFileSystemException.getFile()Returns the file used to create this exception.InvalidPathException.getInput()Returns the input string.FileSystemException.getMessage()Returns the detail message string.InvalidPathException.getMessage()Returns a string describing the error.FileSystemException.getOtherFile()Returns the other file used to create this exception.FileSystemException.getReason()Returns the string explaining why the file system operation failed.InvalidPathException.getReason()Returns a string explaining why the input string was rejected.abstractStringFileSystem.getSeparator()Returns the name separator, represented as a string.abstractStringFileStore.name()Returns the name of this file store.WatchEvent.Kind.name()Returns the name of the event kind.WatchEvent.Modifier.name()Returns the name of the modifier.staticStringFiles.probeContentType(Path path) Probes the content type of a file.staticStringFiles.readString(Path path) staticStringFiles.readString(Path path,Charset cs) Reads all characters from a file into a string, decoding from bytes to charactersusing the specifiedcharset.Path.toString()Returns the string representation of this path.abstractStringFileStore.type()Returns thetype of this file store.Methods injava.nio.file that return types with arguments of typeStringModifier and TypeMethodDescriptionRead all lines from a file as aStream.Read all lines from a file as aStream.Files.readAllLines(Path path) Read all lines from a file.Files.readAllLines(Path path,Charset cs) Read all lines from a file.Files.readAttributes(Path path,String attributes,LinkOption... options) Reads a set of file attributes as a bulk operation.FileSystem.supportedFileAttributeViews()Returns the set of thenamesof the fileattribute views supported by thisFileSystem.Methods injava.nio.file with parameters of typeStringModifier and TypeMethodDescriptionstaticPathFiles.createTempDirectory(String prefix,FileAttribute<?>... attrs) Creates a new directory in the default temporary-file directory, usingthe given prefix to generate its name.staticPathFiles.createTempDirectory(Path dir,String prefix,FileAttribute<?>... attrs) Creates a new directory in the specified directory, using the givenprefix to generate its name.staticPathFiles.createTempFile(String prefix,String suffix,FileAttribute<?>... attrs) Creates an empty file in the default temporary-file directory, usingthe given prefix and suffix to generate its name.staticPathFiles.createTempFile(Path dir,String prefix,String suffix,FileAttribute<?>... attrs) Creates a new empty file in the specified directory, using the givenprefix and suffix strings to generate its name.default booleanTests if this path ends with aPath, constructed by convertingthe given path string, in exactly the manner specified by theendsWith(Path)method.staticPathConverts a path string, or a sequence of strings that when joined forma path string, to aPath.staticObjectFiles.getAttribute(Path path,String attribute,LinkOption... options) Reads the value of a file attribute.abstractObjectFileStore.getAttribute(String attribute) Reads the value of a file store attribute.abstractPathConverts a path string, or a sequence of strings that when joined forma path string, to aPath.abstractPathMatcherFileSystem.getPathMatcher(String syntaxAndPattern) Returns aPathMatcherthat performs match operations on theStringrepresentation ofPathobjects by interpreting agiven pattern.staticDirectoryStream<Path> Files.newDirectoryStream(Path dir,String glob) Opens a directory, returning aDirectoryStreamto iterate overthe entries in the directory.staticPathReturns aPathby converting a path string, or a sequence ofstrings that when joined form a path string.Files.readAttributes(Path path,String attributes,LinkOption... options) Reads a set of file attributes as a bulk operation.defaultPathConverts a given path string to aPathand resolves it againstthisPathin exactly the manner specified by theresolvemethod.defaultPathConverts a path string to a path, resolves that path against this path,and then iteratively performs the same procedure for any additionalpath strings.defaultPathPath.resolveSibling(String other) Converts a given path string to aPathand resolves it againstthis path'sparentpath in exactly the mannerspecified by theresolveSiblingmethod.staticPathFiles.setAttribute(Path path,String attribute,Object value,LinkOption... options) Sets the value of a file attribute.default booleanPath.startsWith(String other) Tests if this path starts with aPath, constructed by convertingthe given path string, in exactly the manner specified by thestartsWith(Path)method.abstract booleanFileStore.supportsFileAttributeView(String name) Tells whether or not this file store supports the file attributesidentified by the given file attribute view.staticAccessModeReturns the enum constant of this class with the specified name.staticFileVisitOptionReturns the enum constant of this class with the specified name.staticFileVisitResultReturns the enum constant of this class with the specified name.staticLinkOptionReturns the enum constant of this class with the specified name.staticStandardCopyOptionReturns the enum constant of this class with the specified name.staticStandardOpenOptionReturns the enum constant of this class with the specified name.Method parameters injava.nio.file with type arguments of typeStringModifier and TypeMethodDescriptionstaticFileSystemFileSystems.newFileSystem(URI uri,Map<String, ?> env) Constructs a new file system that is identified by aURIstaticFileSystemFileSystems.newFileSystem(URI uri,Map<String, ?> env,ClassLoader loader) Constructs a new file system that is identified by aURIstaticFileSystemFileSystems.newFileSystem(Path path,Map<String, ?> env) Constructs a newFileSystemto access the contents of a file as afile system.staticFileSystemFileSystems.newFileSystem(Path path,Map<String, ?> env,ClassLoader loader) Constructs a newFileSystemto access the contents of a file as afile system.Constructors injava.nio.file with parameters of typeStringModifierConstructorDescriptionAccessDeniedException(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.Constructs an instance of this class.Constructs an instance of this class.FileAlreadyExistsException(String file,String other,String reason) Constructs an instance of this class.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.Constructs an instance of this class.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 errorindex.LinkPermission(String name) Deprecated, for removal: This API element is subject to removal in a future version.Constructs aLinkPermissionwith the specified name.LinkPermission(String name,String actions) Deprecated, for removal: This API element is subject to removal in a future version.Constructs aLinkPermissionwith 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.Constructs an instance of this class.Constructs an instance of this class.Uses ofString injava.nio.file.attribute
Methods injava.nio.file.attribute that returnStringModifier and TypeMethodDescriptionUserPrincipalNotFoundException.getName()Returns the user principal name if this exception was created with theuser principal name that was not found, otherwisenull.AclFileAttributeView.name()Returns the name of the attribute view.AttributeView.name()Returns the name of the attribute view.BasicFileAttributeView.name()Returns the name of the attribute view.DosFileAttributeView.name()Returns the name of the attribute view.FileAttribute.name()Returns the attribute name.FileOwnerAttributeView.name()Returns the name of the attribute view.PosixFileAttributeView.name()Returns the name of the attribute view.UserDefinedFileAttributeView.name()Returns the name of this attribute view.AclEntry.toString()Returns the string representation of this ACL entry.FileTime.toString()Returns the string representation of thisFileTime.staticStringPosixFilePermissions.toString(Set<PosixFilePermission> perms) Returns theStringrepresentation of a set of permissions.Methods injava.nio.file.attribute that return types with arguments of typeStringModifier and TypeMethodDescriptionUserDefinedFileAttributeView.list()Returns a list containing the names of the user-defined attributes.Methods injava.nio.file.attribute with parameters of typeStringModifier and TypeMethodDescriptionvoidDeletes a user-defined attribute.staticSet<PosixFilePermission> PosixFilePermissions.fromString(String perms) Returns the set of permissions corresponding to a givenStringrepresentation.abstractGroupPrincipalUserPrincipalLookupService.lookupPrincipalByGroupName(String group) Lookup a group principal by group name.abstractUserPrincipalUserPrincipalLookupService.lookupPrincipalByName(String name) Lookup a user principal by name.intUserDefinedFileAttributeView.read(String name,ByteBuffer dst) Read the value of a user-defined attribute into a buffer.intReturns the size of the value of a user-defined attribute.staticAclEntryFlagReturns the enum constant of this class with the specified name.staticAclEntryPermissionReturns the enum constant of this class with the specified name.staticAclEntryTypeReturns the enum constant of this class with the specified name.staticPosixFilePermissionReturns the enum constant of this class with the specified name.intUserDefinedFileAttributeView.write(String name,ByteBuffer src) Writes the value of a user-defined attribute from a buffer.Constructors injava.nio.file.attribute with parameters of typeStringModifierConstructorDescriptionConstructs an instance of this class.Uses ofString injava.nio.file.spi
Methods injava.nio.file.spi that returnStringModifier and TypeMethodDescriptionabstractStringFileSystemProvider.getScheme()Returns the URI scheme that identifies this provider.abstractStringFileTypeDetector.probeContentType(Path path) Probes the given file to guess its content type.Methods injava.nio.file.spi that return types with arguments of typeStringModifier and TypeMethodDescriptionFileSystemProvider.readAttributes(Path path,String attributes,LinkOption... options) Reads a set of file attributes as a bulk operation.Methods injava.nio.file.spi with parameters of typeStringModifier and TypeMethodDescriptionFileSystemProvider.readAttributes(Path path,String attributes,LinkOption... options) Reads a set of file attributes as a bulk operation.abstract voidFileSystemProvider.setAttribute(Path path,String attribute,Object value,LinkOption... options) Sets the value of a file attribute.Method parameters injava.nio.file.spi with type arguments of typeStringModifier and TypeMethodDescriptionabstractFileSystemFileSystemProvider.newFileSystem(URI uri,Map<String, ?> env) Constructs a newFileSystemobject identified by a URI.FileSystemProvider.newFileSystem(Path path,Map<String, ?> env) Constructs a newFileSystemto access the contents of a file as afile system.Uses ofString injava.rmi
Modifier and TypeMethodDescriptionRemoteException.getMessage()Returns the detail message, including the message from the cause, ifany, of this exception.staticString[]Returns an array of the names bound in the registry.Modifier and TypeMethodDescriptionstatic voidBinds the specifiednameto a remote object.staticString[]Returns an array of the names bound in the registry.staticRemoteReturns a reference, a stub, for the remote object associatedwith the specifiedname.static voidRebinds the specified name to a new remote object.static voidDestroys the binding for the specified name that is associatedwith a remote object.ModifierConstructorDescriptionConstructs anAccessExceptionwith the specifieddetail message.AccessException(String s,Exception ex) Constructs anAccessExceptionwith the specifieddetail message and nested exception.Constructs anAlreadyBoundExceptionwith the specifieddetail message.Constructs aConnectExceptionwith the specifieddetail message.ConnectException(String s,Exception ex) Constructs aConnectExceptionwith the specifieddetail message and nested exception.Constructs aConnectIOExceptionwith the specifieddetail message.Constructs aConnectIOExceptionwith the specifieddetail message and nested exception.Constructs aMarshalExceptionwith the specifieddetail message.MarshalException(String s,Exception ex) Constructs aMarshalExceptionwith the specifieddetail message and nested exception.Constructs aNoSuchObjectExceptionwith the specifieddetail message.Constructs aNotBoundExceptionwith the specifieddetail message.Constructs aRemoteExceptionwith the specifieddetail message.RemoteException(String s,Throwable cause) Constructs aRemoteExceptionwith the specified detailmessage and cause.RMISecurityException(String name) Deprecated.no replacementRMISecurityException(String name,String arg) Deprecated.no replacementServerError(String s,Error err) Constructs aServerErrorwith the specifieddetail message and nested error.Constructs aServerExceptionwith the specifieddetail message.ServerException(String s,Exception ex) Constructs aServerExceptionwith the specifieddetail message and nested exception.Deprecated.no replacementConstructs aStubNotFoundExceptionwith the specifieddetail message.Constructs aStubNotFoundExceptionwith the specifieddetail message and nested exception.Constructs anUnexpectedExceptionwith the specifieddetail message.Constructs aUnexpectedExceptionwith the specifieddetail message and nested exception.Constructs anUnknownHostExceptionwith the specifieddetail message.Constructs anUnknownHostExceptionwith the specifieddetail message and nested exception.Constructs anUnmarshalExceptionwith the specifieddetail message.Constructs anUnmarshalExceptionwith the specifieddetail message and nested exception.Uses ofString injava.rmi.dgc
Methods injava.rmi.dgc that returnStringUses ofString injava.rmi.registry
Methods injava.rmi.registry that returnStringModifier and TypeMethodDescriptionString[]Registry.list()Returns an array of the names bound in this registry.Methods injava.rmi.registry with parameters of typeStringModifier and TypeMethodDescriptionvoidBinds a remote reference to the specifiednameinthis registry.staticRegistryLocateRegistry.getRegistry(String host) Returns a reference to the remote objectRegistryon thespecifiedhoston the default registry port of 1099.staticRegistryLocateRegistry.getRegistry(String host, int port) Returns a reference to the remote objectRegistryon thespecifiedhostandport.staticRegistryLocateRegistry.getRegistry(String host, int port,RMIClientSocketFactory csf) Returns a locally created remote reference to the remote objectRegistryon the specifiedhostandport.Returns the remote reference bound to the specifiednamein this registry.voidReplaces the binding for the specifiednameinthis registry with the supplied remote reference.RegistryHandler.registryStub(String host, int port) Deprecated.no replacement.voidRemoves the binding for the specifiednameinthis registry.Uses ofString injava.rmi.server
Fields injava.rmi.server declared asStringModifier and TypeFieldDescriptionstatic finalStringLoaderHandler.packagePrefixDeprecated.package of systemLoaderHandlerimplementation.static finalStringRemoteRef.packagePrefixInitialize the server package prefix: assumes that theimplementation of server ref classes (e.g., UnicastRef,UnicastServerRef) are located in the package defined by theprefix.Methods injava.rmi.server that returnStringModifier and TypeMethodDescriptionstaticStringRMIClassLoader.getClassAnnotation(Class<?> cl) Returns the annotation string (representing a location forthe class definition) that RMI will use to annotate the classdescriptor when marshalling objects of the given class.abstractStringRMIClassLoaderSpi.getClassAnnotation(Class<?> cl) Provides the implementation forRMIClassLoader.getClassAnnotation(Class).staticStringRemoteServer.getClientHost()Returns a string representation of the client host for theremote method invocation being processed in the current thread.ServerRef.getClientHost()Deprecated.Returns the hostname of the current client.ServerCloneException.getMessage()Returns the detail message, including the message from the cause, ifany, of this exception.Operation.getOperation()Deprecated.no replacementRemoteRef.getRefClass(ObjectOutput out) Returns the class name of the ref type to be serialized ontothe stream 'out'.RemoteRef.remoteToString()Returns a String that represents the reference of this remoteobject.LogStream.toString()Deprecated.no replacementObjID.toString()Returns a string representation of this object identifier.Operation.toString()Deprecated.no replacementRemoteObject.toString()Returns a String that represents the value of this remote object.UID.toString()Returns a string representation of thisUID.Methods injava.rmi.server with parameters of typeStringModifier and TypeMethodDescriptionRMIClientSocketFactory.createSocket(String host, int port) Create a client socket connected to the specified host and port.abstractSocketRMISocketFactory.createSocket(String host, int port) Creates a client socket connected to the specified host and port.staticClassLoaderRMIClassLoader.getClassLoader(String codebase) Returns a class loader that loads classes from the given codebaseURL path.abstractClassLoaderRMIClassLoaderSpi.getClassLoader(String codebase) Provides the implementation forRMIClassLoader.getClassLoader(String).Class<?> Deprecated.no replacementClass<?> Deprecated.no replacementstaticClass<?> Deprecated.replaced byloadClass(String,String)methodstaticClass<?> Loads a class from a codebase URL path.staticClass<?> RMIClassLoader.loadClass(String codebase,String name,ClassLoader defaultLoader) Loads a class from a codebase URL path, optionally using thesupplied loader.staticClass<?> Loads a class from a codebase URL.abstractClass<?> RMIClassLoaderSpi.loadClass(String codebase,String name,ClassLoader defaultLoader) Provides the implementation forRMIClassLoader.loadClass(URL,String),RMIClassLoader.loadClass(String,String), andRMIClassLoader.loadClass(String,String,ClassLoader).staticClass<?> RMIClassLoader.loadProxyClass(String codebase,String[] interfaces,ClassLoader defaultLoader) Loads a dynamic proxy class (seeProxy)that implements a set of interfaces with the given namesfrom a codebase URL path.abstractClass<?> RMIClassLoaderSpi.loadProxyClass(String codebase,String[] interfaces,ClassLoader defaultLoader) Provides the implementation forRMIClassLoader.loadProxyClass(String,String[],ClassLoader).staticLogStreamDeprecated.no replacementstatic intLogStream.parseLevel(String s) Deprecated.no replacementConstructors injava.rmi.server with parameters of typeStringModifierConstructorDescriptionConstructs anExportExceptionwith the specifieddetail message.ExportException(String s,Exception ex) Constructs anExportExceptionwith the specifieddetail message and nested exception.Deprecated.no replacementConstructs aServerCloneExceptionwith the specifieddetail message.ServerCloneException(String s,Exception cause) Constructs aServerCloneExceptionwith the specifieddetail message and cause.Constructs anServerNotActiveExceptionwith the specifieddetail message.Deprecated.no replacementDeprecated.Constructs aSkeletonNotFoundExceptionwith the specifieddetail message.Deprecated.Constructs aSkeletonNotFoundExceptionwith the specifieddetail message and nested exception.Deprecated.Constructs anSocketSecurityExceptionwith the specifieddetail message.Deprecated.Constructs anSocketSecurityExceptionwith the specifieddetail message and nested exception.Uses ofString injava.security
Methods injava.security that returnStringModifier and TypeMethodDescriptionPEMRecord.content()Returns the value of thecontentrecord component.PEMEncoder.encodeToString(DEREncodablePREVIEW de) Encodes the specifiedDEREncodableand returns a PEM encodedstring.abstractStringKeyStoreSpi.engineGetCertificateAlias(Certificate cert) Returns the (alias) name of the first keystore entry whose certificatematches the given certificate.protected abstractStringAlgorithmParametersSpi.engineToString()Returns a formatted string describing the parameters.AllPermission.getActions()Returns the canonical string representation of the actions.BasicPermission.getActions()Returns the canonical string representation of the actions,which currently is the empty string "", since there are no actions foraBasicPermission.abstractStringPermission.getActions()Returns the actions as aString.UnresolvedPermission.getActions()Deprecated, for removal: This API element is subject to removal in a future version.Returns the canonical string representation of the actions,which currently is the empty string "", since there are no actions foranUnresolvedPermission.finalStringAlgorithmParameterGenerator.getAlgorithm()Returns the standard name of the algorithm this parametergenerator is associated with.finalStringAlgorithmParameters.getAlgorithm()Returns the name of the algorithm associated with this parameter object.Key.getAlgorithm()Returns the standard algorithm name for this key.finalStringKeyFactory.getAlgorithm()Gets the name of the algorithmassociated with thisKeyFactory.KeyPairGenerator.getAlgorithm()Returns the standard name of the algorithm for this key pair generator.finalStringMessageDigest.getAlgorithm()Returns a string that identifies the algorithm, independent ofimplementation details.finalStringProvider.Service.getAlgorithm()Return the name of the algorithm of this service.SecureRandom.getAlgorithm()Returns the name of the algorithm implemented by thisSecureRandomobject.finalStringSignature.getAlgorithm()Returns the name of the algorithm for thisSignatureobject.SignedObject.getAlgorithm()Retrieves the name of the signature algorithm.staticStringSecurity.getAlgorithmProperty(String algName,String propName) Deprecated.This method used to return the value of a proprietaryproperty in the master file of the "SUN" Cryptographic ServiceProvider in order to determine how to parse algorithm-specificparameters.finalStringProvider.Service.getAttribute(String name) Return the value of the specified attribute ornullif thisattribute is not set for this Service.finalStringKeyStore.getCertificateAlias(Certificate cert) Returns the (alias) name of the first keystore entry whose certificatematches the given certificate.finalStringProvider.Service.getClassName()Return the name of the class implementing this service.static finalStringKeyStore.getDefaultType()Returns the default keystore type as specified by thekeystore.typesecurity property, or the string"pkcs12" if no such property exists.Certificate.getFormat()Deprecated, for removal: This API element is subject to removal in a future version.Returns the name of the coding format.Key.getFormat()Returns the name of the primary encoding format of this key,ornullif this key does not support encoding.Identity.getInfo()Deprecated, for removal: This API element is subject to removal in a future version.Returns general information previously specified for thisIdentity.Provider.getInfo()Returns a human-readable description of theProviderand itsservices.finalStringIdentity.getName()Deprecated, for removal: This API element is subject to removal in a future version.Returns this identity's name.KeyStore.Entry.Attribute.getName()Returns the attribute's name.finalStringPermission.getName()Returns the name of thisPermission.PKCS12Attribute.getName()Returns the attribute's ASN.1 Object Identifier represented as alist of dot-separated integers.Principal.getName()Returns the name of thisPrincipal.Provider.getName()Returns the name of thisProvider.staticStringSecurity.getProperty(String key) Gets a security property value.KeyStore.PasswordProtection.getProtectionAlgorithm()Gets the name of the protection algorithm.finalStringKeyStore.getType()Returns the type of this keystore.Policy.getType()Deprecated, for removal: This API element is subject to removal in a future version.Return the type of thisPolicy.finalStringProvider.Service.getType()Get the type of this service.UnresolvedPermission.getUnresolvedActions()Deprecated, for removal: This API element is subject to removal in a future version.Get the actions for the underlying permission thathas not been resolved.UnresolvedPermission.getUnresolvedName()Deprecated, for removal: This API element is subject to removal in a future version.Get the target name of the underlying permission thathas not been resolved.UnresolvedPermission.getUnresolvedType()Deprecated, for removal: This API element is subject to removal in a future version.Get the type (class name) of the underlying permission thathas not been resolved.KeyStore.Entry.Attribute.getValue()Returns the attribute's value.PKCS12Attribute.getValue()Returns the attribute's ASN.1 DER-encoded value as a string.Provider.getVersionStr()Returns the version string for thisProvider.finalStringAlgorithmParameters.toString()Returns a formatted string describing the parameters.Certificate.toString(boolean detailed) Deprecated, for removal: This API element is subject to removal in a future version.Returns a string that represents the contents of the certificate.CodeSigner.toString()Returns a string describing this code signer.CodeSource.toString()Returns a string describing thisCodeSource, telling itsURL and certificates.DigestInputStream.toString()Prints a string representation of this digest input stream andits associated message digest object.DigestOutputStream.toString()Prints a string representation of this digest output stream andits associated message digest object.DrbgParameters.Instantiation.toString()Returns a Human-readable string representation of thisInstantiation.Identity.toString()Deprecated, for removal: This API element is subject to removal in a future version.Returns a short string describing thisIdentity, telling itsname and its scope (if any).Identity.toString(boolean detailed) Deprecated, for removal: This API element is subject to removal in a future version.Returns a string representation of thisIdentity, withoptionally more details than that provided by thetoStringmethod without any arguments.IdentityScope.toString()Deprecated, for removal: This API element is subject to removal in a future version.Returns a string representation of this identity scope, includingits name, its scope name, and the number of identities in thisidentity scope.KeyStore.PrivateKeyEntry.toString()Returns a string representation of this PrivateKeyEntry.KeyStore.SecretKeyEntry.toString()Returns a string representation of this SecretKeyEntry.KeyStore.TrustedCertificateEntry.toString()Returns a string representation of this TrustedCertificateEntry.MessageDigest.toString()Returns a string representation of this message digest object.PEMRecord.toString()Returns the type and Base64 encoding in PEM format.Permission.toString()Returns a string describing thisPermission.PermissionCollection.toString()Returns a string describing thisPermissionCollectionobject,providing information about all the permissions it contains.PKCS12Attribute.toString()Returns a string representation of thisPKCS12Attribute.Principal.toString()Returns a string representation of thisPrincipal.ProtectionDomain.toString()Convert aProtectionDomainto aString.Provider.Service.toString()Return aStringrepresentation of this service.Provider.toString()Returns a string with the name and the version stringof thisProvider.SecureRandom.toString()Returns a Human-readable string representation of thisSecureRandom.SecureRandomSpi.toString()Returns a Human-readable string representation of thisSecureRandom.Signature.toString()Returns a string representation of thisSignatureobject,providing information that includes the state of the objectand the name of the algorithm used.Signer.toString()Deprecated, for removal: This API element is subject to removal in a future version.Returns a string of information about theSigner.Timestamp.toString()Returns a string describing thisTimestamp.UnresolvedPermission.toString()Deprecated, for removal: This API element is subject to removal in a future version.Returns a string describing thisUnresolvedPermission.PEMRecord.type()Returns the value of thetyperecord component.Methods injava.security that return types with arguments of typeStringModifier and TypeMethodDescriptionfinalEnumeration<String> KeyStore.aliases()Lists all the alias names of this keystore.abstractEnumeration<String> KeyStoreSpi.engineAliases()Lists all the alias names of this keystore.Security.getAlgorithms(String serviceName) Returns a Set ofStringobjects containing the names of allavailable algorithms or types for the specified Java cryptographicservice (e.g.,Signature,MessageDigest,Cipher,Mac,KeyStore).DomainLoadStoreParameter.getProtectionParams()Gets the keystore protection parameters for keystores in thisdomain.Methods injava.security with parameters of typeStringModifier and TypeMethodDescriptionApply the supplied configuration argument to thisProviderinstance and return the configuredProvider.final booleanKeyStore.containsAlias(String alias) Checks if the given alias exists in this keystore.<S extendsDEREncodablePREVIEW>
SDecodes and returns aDEREncodableof the specified class fromthe given PEM string.protected finalClass<?> SecureClassLoader.defineClass(String name, byte[] b, int off, int len,CodeSource cs) Converts an array of bytes into an instance of classClass,with an optional CodeSource.protected finalClass<?> SecureClassLoader.defineClass(String name,ByteBuffer b,CodeSource cs) Converts aByteBufferinto an instance of classClass, with an optional CodeSource.final voidKeyStore.deleteEntry(String alias) Deletes the entry identified by the given alias from this keystore.abstract booleanKeyStoreSpi.engineContainsAlias(String alias) Checks if the given alias exists in this keystore.abstract voidKeyStoreSpi.engineDeleteEntry(String alias) Deletes the entry identified by the given alias from this keystore.booleanKeyStoreSpi.engineEntryInstanceOf(String alias,Class<? extendsKeyStore.Entry> entryClass) Determines if the keystoreEntryfor the specifiedaliasis an instance or subclass of the specifiedentryClass.KeyStoreSpi.engineGetAttributes(String alias) Retrieves the attributes associated with the given alias.abstractCertificateKeyStoreSpi.engineGetCertificate(String alias) Returns the certificate associated with the given alias.abstractCertificate[]KeyStoreSpi.engineGetCertificateChain(String alias) Returns the certificate chain associated with the given alias.abstractDateKeyStoreSpi.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.KeyStoreSpi.engineGetEntry(String alias,KeyStore.ProtectionParameter protParam) Gets aKeyStore.Entryfor the specified aliaswith the specified protection parameter.abstractKeyKeyStoreSpi.engineGetKey(String alias, char[] password) Returns the key associated with the given alias, using the givenpassword to recover it.protected abstractObjectSignatureSpi.engineGetParameter(String param) Deprecated.protected abstract voidAlgorithmParametersSpi.engineInit(byte[] params,String format) Imports the parameters fromparamsanddecodes them according to the specified decoding format.abstract booleanKeyStoreSpi.engineIsCertificateEntry(String alias) Returnstrueif the entry identified by the given aliaswas created by a call tosetCertificateEntry,or created by a call tosetEntrywith aTrustedCertificateEntry.abstract booleanKeyStoreSpi.engineIsKeyEntry(String alias) Returnstrueif the entry identified by the given aliaswas created by a call tosetKeyEntry,or created by a call tosetEntrywith aPrivateKeyEntryor aSecretKeyEntry.abstract voidKeyStoreSpi.engineSetCertificateEntry(String alias,Certificate cert) Assigns the given certificate to the given alias.voidKeyStoreSpi.engineSetEntry(String alias,KeyStore.Entry entry,KeyStore.ProtectionParameter protParam) Saves aKeyStore.Entryunder the specified alias.abstract voidKeyStoreSpi.engineSetKeyEntry(String alias, byte[] key,Certificate[] chain) Assigns the given key (that has already been protected) to the givenalias.abstract voidKeyStoreSpi.engineSetKeyEntry(String alias,Key key, char[] password,Certificate[] chain) Assigns the given key to the given alias, protecting it with the givenpassword.protected abstract voidSignatureSpi.engineSetParameter(String param,Object value) Deprecated.Replaced byengineSetParameter.final booleanKeyStore.entryInstanceOf(String alias,Class<? extendsKeyStore.Entry> entryClass) Determines if the keystoreEntryfor the specifiedaliasis an instance or subclass of the specifiedentryClass.staticStringSecurity.getAlgorithmProperty(String algName,String propName) Deprecated.This method used to return the value of a proprietaryproperty in the master file of the "SUN" Cryptographic ServiceProvider in order to determine how to parse algorithm-specificparameters.Security.getAlgorithms(String serviceName) Returns a Set ofStringobjects containing the names of allavailable algorithms or types for the specified Java cryptographicservice (e.g.,Signature,MessageDigest,Cipher,Mac,KeyStore).finalStringProvider.Service.getAttribute(String name) Return the value of the specified attribute ornullif thisattribute is not set for this Service.finalSet<KeyStore.Entry.Attribute> KeyStore.getAttributes(String alias) Retrieves the attributes associated with the given alias.finalCertificateKeyStore.getCertificate(String alias) Returns the certificate associated with the given alias.finalCertificate[]KeyStore.getCertificateChain(String alias) Returns the certificate chain associated with the given alias.finalDateKeyStore.getCreationDate(String alias) Returns the creation date of the entry identified by the given alias.final byte[]AlgorithmParameters.getEncoded(String format) Returns the parameters encoded in the specified scheme.finalKeyStore.EntryKeyStore.getEntry(String alias,KeyStore.ProtectionParameter protParam) Gets a keystoreEntryfor the specified aliaswith the specified protection parameter.abstractIdentityIdentityScope.getIdentity(String name) Deprecated, for removal: This API element is subject to removal in a future version.Returns theIdentityin this scope with the specifiedname (if any).AlgorithmParameterGenerator.getInstance(String algorithm) Returns anAlgorithmParameterGeneratorobject for generatinga set of parameters to be used with the specified algorithm.AlgorithmParameterGenerator.getInstance(String algorithm,String provider) Returns anAlgorithmParameterGeneratorobject for generatinga set of parameters to be used with the specified algorithm.AlgorithmParameterGenerator.getInstance(String algorithm,Provider provider) Returns anAlgorithmParameterGeneratorobject for generatinga set of parameters to be used with the specified algorithm.staticAlgorithmParametersAlgorithmParameters.getInstance(String algorithm) Returns a parameter object for the specified algorithm.staticAlgorithmParametersAlgorithmParameters.getInstance(String algorithm,String provider) Returns a parameter object for the specified algorithm.staticAlgorithmParametersAlgorithmParameters.getInstance(String algorithm,Provider provider) Returns a parameter object for the specified algorithm.staticKeyFactoryKeyFactory.getInstance(String algorithm) Returns aKeyFactoryobject that convertspublic/private keys of the specified algorithm.staticKeyFactoryKeyFactory.getInstance(String algorithm,String provider) Returns aKeyFactoryobject that convertspublic/private keys of the specified algorithm.staticKeyFactoryKeyFactory.getInstance(String algorithm,Provider provider) Returns aKeyFactoryobject that convertspublic/private keys of the specified algorithm.staticKeyPairGeneratorKeyPairGenerator.getInstance(String algorithm) Returns aKeyPairGeneratorobject that generates public/privatekey pairs for the specified algorithm.staticKeyPairGeneratorKeyPairGenerator.getInstance(String algorithm,String provider) Returns aKeyPairGeneratorobject that generates public/privatekey pairs for the specified algorithm.staticKeyPairGeneratorKeyPairGenerator.getInstance(String algorithm,Provider provider) Returns aKeyPairGeneratorobject that generates public/privatekey pairs for the specified algorithm.staticKeyStoreKeyStore.getInstance(String type) Returns aKeyStoreobject of the specified type.staticKeyStoreKeyStore.getInstance(String type,String provider) Returns aKeyStoreobject of the specified type.staticKeyStoreKeyStore.getInstance(String type,Provider provider) Returns aKeyStoreobject of the specified type.staticMessageDigestMessageDigest.getInstance(String algorithm) Returns aMessageDigestobject that implements the specifieddigest algorithm.staticMessageDigestMessageDigest.getInstance(String algorithm,String provider) Returns aMessageDigestobject that implements the specifieddigest algorithm.staticMessageDigestMessageDigest.getInstance(String algorithm,Provider provider) Returns aMessageDigestobject that implements the specifieddigest algorithm.staticPolicyPolicy.getInstance(String type,Policy.Parameters params) Deprecated, for removal: This API element is subject to removal in a future version.Returns a Policy object of the specified type.staticPolicyPolicy.getInstance(String type,Policy.Parameters params,String provider) Deprecated, for removal: This API element is subject to removal in a future version.Returns aPolicyobject of the specified type.staticPolicyPolicy.getInstance(String type,Policy.Parameters params,Provider provider) Deprecated, for removal: This API element is subject to removal in a future version.Returns aPolicyobject of the specified type.staticSecureRandomSecureRandom.getInstance(String algorithm) Returns aSecureRandomobject that implements the specifiedRandom Number Generator (RNG) algorithm.staticSecureRandomSecureRandom.getInstance(String algorithm,String provider) Returns aSecureRandomobject that implements the specifiedRandom Number Generator (RNG) algorithm.staticSecureRandomSecureRandom.getInstance(String algorithm,Provider provider) Returns aSecureRandomobject that implements the specifiedRandom Number Generator (RNG) algorithm.staticSecureRandomSecureRandom.getInstance(String algorithm,SecureRandomParameters params) Returns aSecureRandomobject that implements the specifiedRandom Number Generator (RNG) algorithm and supports the specifiedSecureRandomParametersrequest.staticSecureRandomSecureRandom.getInstance(String algorithm,SecureRandomParameters params,String provider) Returns aSecureRandomobject that implements the specifiedRandom Number Generator (RNG) algorithm and supports the specifiedSecureRandomParametersrequest.staticSecureRandomSecureRandom.getInstance(String algorithm,SecureRandomParameters params,Provider provider) Returns aSecureRandomobject that implements the specifiedRandom Number Generator (RNG) algorithm and supports the specifiedSecureRandomParametersrequest.staticSignatureSignature.getInstance(String algorithm) Returns aSignatureobject that implements the specifiedsignature algorithm.staticSignatureSignature.getInstance(String algorithm,String provider) Returns aSignatureobject that implements the specifiedsignature algorithm.staticSignatureSignature.getInstance(String algorithm,Provider provider) Returns aSignatureobject that implements the specifiedsignature algorithm.finalKeyReturns the key associated with the given alias, using the givenpassword to recover it.finalObjectSignature.getParameter(String param) Deprecated.staticStringSecurity.getProperty(String key) Gets a security property value.abstractKeyStore.ProtectionParameterKeyStore.Builder.getProtectionParameter(String alias) Returns theProtectionParameterthat should be used to obtaintheEntrywith the given alias.staticProviderSecurity.getProvider(String name) Returns the provider installed with the specified name, ifany.staticProvider[]Security.getProviders(String filter) Returns an array containing all installed providers that satisfy thespecified selection criterion, ornullif no such providershave been installed.Provider.getService(String type,String algorithm) Get the service describing this Provider's implementation of thespecified type of this algorithm or alias.final voidImports the parameters fromparamsand decodes themaccording to the specified decoding scheme.final booleanKeyStore.isCertificateEntry(String alias) Returnstrueif the entry identified by the given aliaswas created by a call tosetCertificateEntry,or created by a call tosetEntrywith aTrustedCertificateEntry.final booleanKeyStore.isKeyEntry(String alias) Returnstrueif the entry identified by the given aliaswas created by a call tosetKeyEntry,or created by a call tosetEntrywith aPrivateKeyEntryor aSecretKeyEntry.staticKeyStore.BuilderKeyStore.Builder.newInstance(String type,Provider provider,File file,KeyStore.ProtectionParameter protection) Returns a newBuilderobject.staticKeyStore.BuilderKeyStore.Builder.newInstance(String type,Provider provider,KeyStore.ProtectionParameter protection) Returns a newBuilderobject.booleanAlgorithmConstraints.permits(Set<CryptoPrimitive> primitives,String algorithm,AlgorithmParameters parameters) Determines whether an algorithm is granted permission for thespecified cryptographic primitives.booleanAlgorithmConstraints.permits(Set<CryptoPrimitive> primitives,String algorithm,Key key,AlgorithmParameters parameters) Determines whether an algorithm and the corresponding key are grantedpermission for the specified cryptographic primitives.static voidSecurity.removeProvider(String name) Removes the provider with the specified name.final voidKeyStore.setCertificateEntry(String alias,Certificate cert) Assigns the given trusted certificate to the given alias.final voidKeyStore.setEntry(String alias,KeyStore.Entry entry,KeyStore.ProtectionParameter protParam) Saves a keystoreEntryunder the specified alias.voidDeprecated, for removal: This API element is subject to removal in a future version.Specifies a general information string for thisIdentity.final voidKeyStore.setKeyEntry(String alias, byte[] key,Certificate[] chain) Assigns the given key (that has already been protected) to the givenalias.final voidKeyStore.setKeyEntry(String alias,Key key, char[] password,Certificate[] chain) Assigns the given key to the given alias, protecting it with the givenpassword.final voidSignature.setParameter(String param,Object value) Deprecated.UsesetParameter.static voidSecurity.setProperty(String key,String datum) Sets a security property value.staticCryptoPrimitiveReturns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.staticKeyRep.TypeReturns the enum constant of this class with the specified name.Method parameters injava.security with type arguments of typeStringModifier and TypeMethodDescriptionstaticProvider[]Security.getProviders(Map<String, String> filter) Returns an array containing all installed providers that satisfy thespecified selection criteria, ornullif no such providers havebeen installed.staticProvider[]Security.getProviders(Map<String, String> filter) Returns an array containing all installed providers that satisfy thespecified selection criteria, ornullif no such providers havebeen installed.Constructors injava.security with parameters of typeStringModifierConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Constructs anAccessControlExceptionwith thespecified, detailed message.Deprecated, for removal: This API element is subject to removal in a future version.Constructs anAccessControlExceptionwith thespecified, detailed message, and the requested permission that causedthe exception.protectedAlgorithmParameterGenerator(AlgorithmParameterGeneratorSpi paramGenSpi,Provider provider,String algorithm) Creates anAlgorithmParameterGeneratorobject.protectedAlgorithmParameters(AlgorithmParametersSpi paramSpi,Provider provider,String algorithm) Creates anAlgorithmParametersobject.AllPermission(String name,String actions) Creates a newAllPermissionobject.protectedAuthProvider(String name, double version,String info) Deprecated.useAuthProvider(String, String, String)instead.protectedAuthProvider(String name,String versionStr,String info) Constructs a provider with the specified name, version string,and information.BasicPermission(String name) Creates a newBasicPermissionwith the specified name.BasicPermission(String name,String actions) Creates a newBasicPermissionobject with the specified name.DigestException(String msg) Constructs aDigestExceptionwith the specified detailmessage.DigestException(String message,Throwable cause) Creates aDigestExceptionwith the specifieddetail message and cause.Constructs aGeneralSecurityExceptionwith the specified detailmessage.GeneralSecurityException(String message,Throwable cause) Creates aGeneralSecurityExceptionwith the specifieddetail message and cause.Deprecated, for removal: This API element is subject to removal in a future version.Constructs anIdentitywith the specified name and no scope.Identity(String name,IdentityScope scope) Deprecated, for removal: This API element is subject to removal in a future version.Constructs anIdentitywith the specified name and scope.IdentityScope(String name) Deprecated, for removal: This API element is subject to removal in a future version.Constructs a new identity scope with the specified name.IdentityScope(String name,IdentityScope scope) Deprecated, for removal: This API element is subject to removal in a future version.Constructs a new identity scope with the specified name and scope.Constructs anInvalidAlgorithmParameterExceptionwith thespecified detail message.InvalidAlgorithmParameterException(String message,Throwable cause) Creates anInvalidAlgorithmParameterExceptionwith thespecified detail message and cause.Constructs anInvalidKeyExceptionwith the specified detailmessage.InvalidKeyException(String message,Throwable cause) Creates anInvalidKeyExceptionwith the specifieddetail message and cause.Constructs anInvalidParameterExceptionwith the specifieddetail message.InvalidParameterException(String msg,Throwable cause) Constructs anInvalidParameterExceptionwith the specifieddetail message and cause.KeyException(String msg) Constructs aKeyExceptionwith the specified detail message.KeyException(String message,Throwable cause) Creates aKeyExceptionwith the specifieddetail message and cause.protectedKeyFactory(KeyFactorySpi keyFacSpi,Provider provider,String algorithm) Creates aKeyFactoryobject.Constructs aKeyManagementExceptionwith the specified detailmessage.KeyManagementException(String message,Throwable cause) Creates aKeyManagementExceptionwith the specifieddetail message and cause.protectedKeyPairGenerator(String algorithm) Creates aKeyPairGeneratorobject for the specified algorithm.KeyRep(KeyRep.Type type,String algorithm,String format, byte[] encoded) Construct the alternate Key class.protectedKeyStore(KeyStoreSpi keyStoreSpi,Provider provider,String type) Creates aKeyStoreobject of the given type, and encapsulatesthe given provider implementation (SPI object) in it.KeyStoreException(String msg) Constructs aKeyStoreExceptionwith the specified detailmessage.KeyStoreException(String message,Throwable cause) Creates aKeyStoreExceptionwith the specifieddetail message and cause.protectedMessageDigest(String algorithm) Creates a message digest with the specified algorithm name.Constructs aNoSuchAlgorithmExceptionwith the specifieddetail message.NoSuchAlgorithmException(String message,Throwable cause) Creates aNoSuchAlgorithmExceptionwith the specifieddetail message and cause.Constructs aNoSuchProviderExceptionwith the specified detailmessage.PasswordProtection(char[] password,String protectionAlgorithm,AlgorithmParameterSpec protectionParameters) Creates a password parameter and specifies the protection algorithmand associated parameters to use when encrypting a keystore entry.Creates aPEMRecordinstance with a giventypeandcontentdata in String form.Creates aPEMRecordinstance with the given parameters.Permission(String name) Constructs a permission with the specified name.PKCS12Attribute(String name,String value) Constructs a PKCS12 attribute from its name and value.protectedDeprecated.useProvider(String, String, String)instead.protectedConstructs aProviderwith the specified name, version string,and information.Constructs aProviderExceptionwith the specified detailmessage.ProviderException(String message,Throwable cause) Creates aProviderExceptionwith the specifieddetail message and cause.protectedSecureClassLoader(String name,ClassLoader parent) Creates a newSecureClassLoaderof the specified name andusing the specified parent class loader for delegation.SecurityPermission(String name) Deprecated, for removal: This API element is subject to removal in a future version.Creates a newSecurityPermissionwith the specified name.SecurityPermission(String name,String actions) Deprecated, for removal: This API element is subject to removal in a future version.Creates a newSecurityPermissionobject with the specified name.Service(Provider provider,String type,String algorithm,String className,List<String> aliases,Map<String, String> attributes) Construct a new service.protectedCreates aSignatureobject for the specified algorithm.SignatureException(String msg) Constructs aSignatureExceptionwith the specified detailmessage.SignatureException(String message,Throwable cause) Creates aSignatureExceptionwith the specifieddetail message and cause.Deprecated, for removal: This API element is subject to removal in a future version.Creates aSignerwith the specified identity name.Signer(String name,IdentityScope scope) Deprecated, for removal: This API element is subject to removal in a future version.Creates aSignerwith the specified identity name and scope.Constructs anUnrecoverableEntryExceptionwith the specifieddetail message, which provides more information about why this exceptionhas been thrown.Constructs anUnrecoverableKeyExceptionwith the specified detailmessage, which provides more information about why this exceptionhas been thrown.UnresolvedPermission(String type,String name,String actions,Certificate[] certs) Deprecated, for removal: This API element is subject to removal in a future version.Creates a newUnresolvedPermissioncontaining the permissioninformation needed later to actually create a Permission of thespecified class, when the permission is resolved.Constructor parameters injava.security with type arguments of typeStringModifierConstructorDescriptionDomainLoadStoreParameter(URI configuration,Map<String,KeyStore.ProtectionParameter> protectionParams) Constructs aDomainLoadStoreParameterfor a keystore domain withthe 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.Uses ofString injava.security.cert
Methods injava.security.cert that returnStringModifier and TypeMethodDescriptionfinalStringCertPathBuilder.getAlgorithm()Returns the name of the algorithm of thisCertPathBuilder.finalStringCertPathValidator.getAlgorithm()Returns the algorithm name of thisCertPathValidator.finalStringTrustAnchor.getCAName()Returns the name of the most-trusted CA in RFC 2253Stringformat.static finalStringCertPathBuilder.getDefaultType()Returns the defaultCertPathBuildertype as specified bythecertpathbuilder.typesecurity property, or the string"PKIX" if no such property exists.static finalStringCertPathValidator.getDefaultType()Returns the defaultCertPathValidatortype as specified bythecertpathvalidator.typesecurity property, or the string"PKIX" if no such property exists.static finalStringCertStore.getDefaultType()Returns the defaultCertStoretype as specified by thecertstore.typesecurity property, or the string"LDAP" if no such property exists.Extension.getId()Gets the extensions's object identifier.X509CertSelector.getIssuerAsString()Deprecated.finalStringPolicyQualifierInfo.getPolicyQualifierId()Returns thepolicyQualifierIdfield of thisPolicyQualifierInfo.LDAPCertStoreParameters.getServerName()Returns the DNS name of the LDAP server.abstractStringX509Certificate.getSigAlgName()Gets the signature algorithm name for the certificatesignature algorithm.abstractStringX509CRL.getSigAlgName()Gets the signature algorithm name for the CRLsignature algorithm.abstractStringX509Certificate.getSigAlgOID()Gets the signature algorithm OID string from the certificate.abstractStringX509CRL.getSigAlgOID()Gets the signature algorithm OID string from the CRL.PKIXParameters.getSigProvider()Returns the signature provider's name, ornullif not set.X509CertSelector.getSubjectAsString()Deprecated.X509CertSelector.getSubjectPublicKeyAlgID()Returns the subjectPublicKeyAlgID criterion.finalStringCertificate.getType()Returns the type of this certificate.finalStringCertificateFactory.getType()Returns the name of the certificate type associated with thiscertificate factory.CertPath.getType()Returns the type ofCertificates in this certificationpath.finalStringCertStore.getType()Returns the type of thisCertStore.finalStringCRL.getType()Returns the type of this CRL.PolicyNode.getValidPolicy()Returns the valid policy represented by this node.abstractStringCertificate.toString()Returns a string representation of this certificate.CertPath.toString()Returns a string representation of this certification path.CollectionCertStoreParameters.toString()Returns a formatted string describing the parameters.abstractStringCRL.toString()Returns a string representation of this CRL.LDAPCertStoreParameters.toString()Returns a formatted string describing the parameters.PKIXBuilderParameters.toString()Returns a formatted string describing the parameters.PKIXCertPathBuilderResult.toString()Return a printable representation of thisPKIXCertPathBuilderResult.PKIXCertPathValidatorResult.toString()Return a printable representation of thisPKIXCertPathValidatorResult.PKIXParameters.toString()Returns a formatted string describing the parameters.PolicyQualifierInfo.toString()Return a printable representation of thisPolicyQualifierInfo.TrustAnchor.toString()Returns a formatted string describing theTrustAnchor.URICertStoreParameters.toString()Returns a formatted string describing the parametersincluding the URI used to construct this object.X509CertSelector.toString()Return a printable representation of theCertSelector.abstractStringX509CRLEntry.toString()Returns a string representation of this CRL entry.X509CRLSelector.toString()Returns a printable representation of theX509CRLSelector.Methods injava.security.cert that return types with arguments of typeStringModifier and TypeMethodDescriptionCertificateFactorySpi.engineGetCertPathEncodings()Returns an iteration of theCertPathencodings supportedby this certificate factory, with the default encoding first.CertificateFactory.getCertPathEncodings()Returns an iteration of theCertPathencodings supportedby this certificate factory, with the default encoding first.X509Extension.getCriticalExtensionOIDs()Gets a Set of the OID strings for the extension(s) markedCRITICAL in the certificate/CRL managed by the objectimplementing this interface.CertPath.getEncodings()Returns an iteration of the encodings supported by this certificationpath, with the default encoding first.PolicyNode.getExpectedPolicies()Returns the set of expected policies that would satisfy thisnode's valid policy in the next certificate to be processed.X509Certificate.getExtendedKeyUsage()Gets an unmodifiable list of Strings representing the OBJECTIDENTIFIERs of theExtKeyUsageSyntaxfield of theextended key usage extension, (OID = 2.5.29.37).X509CertSelector.getExtendedKeyUsage()Returns the extendedKeyUsage criterion.CertificateRevokedException.getExtensions()Returns a map of X.509 extensions containing additional informationabout the revoked certificate, such as the Invalidity DateExtension.PKIXParameters.getInitialPolicies()Returns an immutableSetof initialpolicy identifiers (OID strings), indicating that any one of thesepolicies would be acceptable to the certificate user for the purposes ofcertification path processing.X509Extension.getNonCriticalExtensionOIDs()Gets a Set of the OID strings for the extension(s) markedNON-CRITICAL in the certificate/CRL managed by the objectimplementing this interface.X509CertSelector.getPolicy()Returns the policy criterion.PKIXCertPathChecker.getSupportedExtensions()Returns an immutableSetof X.509 certificate extensionsthat thisPKIXCertPathCheckersupports (i.e. recognizes, isable to process), ornullif no extensions are supported.Methods injava.security.cert with parameters of typeStringModifier and TypeMethodDescriptionvoidX509CRLSelector.addIssuerName(String name) Deprecated.voidX509CertSelector.addPathToName(int type,String name) Adds a name to the pathToNames criterion.voidX509CertSelector.addSubjectAlternativeName(int type,String name) Adds a name to the subjectAlternativeNames criterion.CertificateFactorySpi.engineGenerateCertPath(InputStream inStream,String encoding) Generates aCertPathobject and initializes it withthe data read from theInputStreaminStream.finalCertPathCertificateFactory.generateCertPath(InputStream inStream,String encoding) Generates aCertPathobject and initializes it withthe data read from theInputStreaminStream.abstract byte[]CertPath.getEncoded(String encoding) Returns the encoded form of this certification path, using thespecified encoding.byte[]X509Extension.getExtensionValue(String oid) Gets the DER-encoded OCTET string for the extension value(extnValue) identified by the passed-inoidString.static finalCertificateFactoryCertificateFactory.getInstance(String type) Returns a certificate factory object that implements thespecified certificate type.static finalCertificateFactoryCertificateFactory.getInstance(String type,String provider) Returns a certificate factory object for the specifiedcertificate type.static finalCertificateFactoryCertificateFactory.getInstance(String type,Provider provider) Returns a certificate factory object for the specifiedcertificate type.staticCertPathBuilderCertPathBuilder.getInstance(String algorithm) Returns aCertPathBuilderobject that implements thespecified algorithm.staticCertPathBuilderCertPathBuilder.getInstance(String algorithm,String provider) Returns aCertPathBuilderobject that implements thespecified algorithm.staticCertPathBuilderCertPathBuilder.getInstance(String algorithm,Provider provider) Returns aCertPathBuilderobject that implements thespecified algorithm.staticCertPathValidatorCertPathValidator.getInstance(String algorithm) Returns aCertPathValidatorobject that implements thespecified algorithm.staticCertPathValidatorCertPathValidator.getInstance(String algorithm,String provider) Returns aCertPathValidatorobject that implements thespecified algorithm.staticCertPathValidatorCertPathValidator.getInstance(String algorithm,Provider provider) Returns aCertPathValidatorobject that implements thespecified algorithm.staticCertStoreCertStore.getInstance(String type,CertStoreParameters params) Returns aCertStoreobject that implements the specifiedCertStoretype and is initialized with the specifiedparameters.staticCertStoreCertStore.getInstance(String type,CertStoreParameters params,String provider) Returns aCertStoreobject that implements the specifiedCertStoretype.staticCertStoreCertStore.getInstance(String type,CertStoreParameters params,Provider provider) Returns aCertStoreobject that implements the specifiedCertStoretype.voidDeprecated.voidPKIXParameters.setSigProvider(String sigProvider) Sets the signature provider's name.voidX509CertSelector.setSubject(String subjectDN) Deprecated.voidX509CertSelector.setSubjectPublicKeyAlgID(String oid) Sets the subjectPublicKeyAlgID criterion.Returns the enum constant of this class with the specified name.staticCRLReasonReturns the enum constant of this class with the specified name.staticPKIXReasonReturns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.abstract voidVerifies that this certificate was signed using theprivate key that corresponds to the specified public key.abstract voidVerifies that this CRL was signed using theprivate key that corresponds to the given public key.Method parameters injava.security.cert with type arguments of typeStringModifier and TypeMethodDescriptionabstract voidPKIXCertPathChecker.check(Certificate cert,Collection<String> unresolvedCritExts) Performs the check(s) on the specified certificate using its internalstate and removes any critical extensions that it processes from thespecified collection of OID strings that represent the unresolvedcritical extensions.voidX509CertSelector.setExtendedKeyUsage(Set<String> keyPurposeSet) Sets the extendedKeyUsage criterion.voidPKIXParameters.setInitialPolicies(Set<String> initialPolicies) Sets theSetof initial policy identifiers(OID strings), indicating that any one of thesepolicies would be acceptable to the certificate user for the purposes ofcertification path processing.voidSets the policy constraint.Constructors injava.security.cert with parameters of typeStringModifierConstructorDescriptionprotectedCertificate(String type) Creates a certificate of the specified type.CertificateEncodingException(String message) Constructs a CertificateEncodingException with the specified detailmessage.CertificateEncodingException(String message,Throwable cause) Creates aCertificateEncodingExceptionwith the specifieddetail message and cause.Constructs a certificate exception with the given detailmessage.CertificateException(String message,Throwable cause) Creates aCertificateExceptionwith the specifieddetail message and cause.CertificateExpiredException(String message) Constructs a CertificateExpiredException with the specified detailmessage.protectedCertificateFactory(CertificateFactorySpi certFacSpi,Provider provider,String type) Creates a CertificateFactory object of the given type, and encapsulatesthe given provider implementation (SPI object) in it.CertificateNotYetValidException(String message) Constructs a CertificateNotYetValidException with the specified detailmessage.CertificateParsingException(String message) Constructs a CertificateParsingException with the specified detailmessage.CertificateParsingException(String message,Throwable cause) Creates aCertificateParsingExceptionwith the specifieddetail message and cause.protectedCertificateRep(String type, byte[] data) Construct the alternateCertificateclass with theCertificatetype andCertificateencoding bytes.protectedCreates aCertPathof the specified type.protectedCertPathBuilder(CertPathBuilderSpi builderSpi,Provider provider,String algorithm) Creates aCertPathBuilderobject of the given algorithm,and encapsulates the given provider implementation (SPI object) in it.Creates aCertPathBuilderExceptionwith the givendetail message.CertPathBuilderException(String msg,Throwable cause) Creates aCertPathBuilderExceptionwith the specifieddetail message and cause.protectedCertPathRep(String type, byte[] data) Creates aCertPathRepwith the specifiedtype and encoded form of a certification path.protectedCertPathValidator(CertPathValidatorSpi validatorSpi,Provider provider,String algorithm) Creates aCertPathValidatorobject of the given algorithm,and encapsulates the given provider implementation (SPI object) in it.Creates aCertPathValidatorExceptionwith the givendetail message.CertPathValidatorException(String msg,Throwable cause) Creates aCertPathValidatorExceptionwith the specifieddetail message and cause.CertPathValidatorException(String msg,Throwable cause,CertPath certPath, int index) Creates aCertPathValidatorExceptionwith the specifieddetail message, cause, certification path, and index.CertPathValidatorException(String msg,Throwable cause,CertPath certPath, int index,CertPathValidatorException.Reason reason) Creates aCertPathValidatorExceptionwith the specifieddetail message, cause, certification path, index, and reason.protectedCertStore(CertStoreSpi storeSpi,Provider provider,String type,CertStoreParameters params) Creates aCertStoreobject of the given type, andencapsulates the given provider implementation (SPI object) in it.CertStoreException(String msg) Creates aCertStoreExceptionwith the given detailmessage.CertStoreException(String msg,Throwable cause) Creates aCertStoreExceptionwith the specified detailmessage and cause.protectedCreates a CRL of the specified type.CRLException(String message) Constructs a CRLException with the specified detailmessage.CRLException(String message,Throwable cause) Creates aCRLExceptionwith the specifieddetail message and cause.LDAPCertStoreParameters(String serverName) Creates an instance ofLDAPCertStoreParameterswith thespecified server name and a default port of 389.LDAPCertStoreParameters(String serverName, int port) Creates an instance ofLDAPCertStoreParameterswith thespecified parameter values.TrustAnchor(String caName,PublicKey pubKey, byte[] nameConstraints) Creates an instance ofTrustAnchorwhere themost-trusted CA is specified as a distinguished name and public key.Constructor parameters injava.security.cert with type arguments of typeStringModifierConstructorDescriptionCertificateRevokedException(Date revocationDate,CRLReason reason,X500Principal authority,Map<String,Extension> extensions) Constructs aCertificateRevokedExceptionwiththe specified revocation date, reason code, authority name, and mapof extensions.Uses ofString injava.security.spec
Methods injava.security.spec that returnStringModifier and TypeMethodDescriptionEncodedKeySpec.getAlgorithm()Returns the name of the algorithm of the encoded key.MGF1ParameterSpec.getDigestAlgorithm()Returns the algorithm name of the message digest used by the maskgeneration function.PSSParameterSpec.getDigestAlgorithm()Returns the message digest algorithm name.abstractStringEncodedKeySpec.getFormat()Returns the name of the encoding format associated with thiskey specification.finalStringPKCS8EncodedKeySpec.getFormat()Returns the name of the encoding format associated with thiskey specification.finalStringX509EncodedKeySpec.getFormat()Returns the name of the encoding format associated with thiskey specification.PSSParameterSpec.getMGFAlgorithm()Returns the mask generation function algorithm name.NamedParameterSpec.getName()Returns the standard name that determines the algorithm parameters.Constructors injava.security.spec with parameters of typeStringModifierConstructorDescriptionECGenParameterSpec(String stdName) Creates a parameter specification for EC parametergeneration using a standard (or predefined) namestdNamein order to generate the corresponding(precomputed) elliptic curve domain parameters.protectedEncodedKeySpec(byte[] encodedKey,String algorithm) Creates a newEncodedKeySpecwith the given encoded key.Constructs an InvalidKeySpecException with the specified detailmessage.InvalidKeySpecException(String message,Throwable cause) Creates anInvalidKeySpecExceptionwith the specifieddetail message and cause.Constructs an InvalidParameterSpecException with the specified detailmessage.MGF1ParameterSpec(String mdName) Constructs a parameter set for mask generation function MGF1as defined in the PKCS #1 standard.NamedParameterSpec(String stdName) Creates a parameter specification using a standard (or predefined)namestdName.PKCS8EncodedKeySpec(byte[] encodedKey,String algorithm) Creates a newPKCS8EncodedKeySpecwith the given encoded key andalgorithm.PSSParameterSpec(String mdName,String mgfName,AlgorithmParameterSpec mgfSpec, int saltLen, int trailerField) Creates a newPSSParameterSpecas defined inthe PKCS #1 standard using the specified message digest,mask generation function, parameters for mask generationfunction, salt length, and trailer field values.X509EncodedKeySpec(byte[] encodedKey,String algorithm) Creates a newX509EncodedKeySpecwith the given encoded key.Uses ofString injava.sql
Modifier and TypeFieldDescriptionString[]DriverPropertyInfo.choicesAn array of possible values if the value for the fieldDriverPropertyInfo.valuemay be selectedfrom a particular set of values; otherwise null.DriverPropertyInfo.descriptionA brief description of the property, which may be null.DriverPropertyInfo.nameThe name of the property.DriverPropertyInfo.valueThevaluefield specifies the current value ofthe property, based on a combination of the informationsupplied to the methodgetPropertyInfo, theJava environment, and the driver-supplied default values.Modifier and TypeMethodDescriptiondefaultStringStatement.enquoteIdentifier(String identifier, boolean alwaysQuote) Returns a SQL identifier.defaultStringStatement.enquoteLiteral(String val) Returns aStringenclosed in single quotes.defaultStringStatement.enquoteNCharLiteral(String val) Returns aStringrepresenting a National Character Set Literalenclosed in single quotes and prefixed with a upper case letter N.Array.getBaseTypeName()Retrieves the SQL type name of the elements inthe array designated by thisArrayobject.Ref.getBaseTypeName()Retrieves the fully-qualified SQL name of the SQL structured type thatthisRefobject references.Connection.getCatalog()Retrieves thisConnectionobject's current catalog name.ResultSetMetaData.getCatalogName(int column) Gets the designated column's table's catalog name.DatabaseMetaData.getCatalogSeparator()Retrieves theStringthat this database uses as theseparator between a catalog and table name.DatabaseMetaData.getCatalogTerm()Retrieves the database vendor's preferred term for "catalog".Connection.getClientInfo(String name) Returns the value of the client info property specified by name.ResultSetMetaData.getColumnClassName(int column) Returns the fully-qualified name of the Java class whose instancesare manufactured if the methodResultSet.getObjectis called to retrieve a valuefrom the column.ResultSetMetaData.getColumnLabel(int column) Gets the designated column's suggested title for use in printouts anddisplays.ResultSetMetaData.getColumnName(int column) Get the designated column's name.ResultSetMetaData.getColumnTypeName(int column) Retrieves the designated column's database-specific type name.ResultSet.getCursorName()Retrieves the name of the SQL cursor used by thisResultSetobject.DatabaseMetaData.getDatabaseProductName()Retrieves the name of this database product.DatabaseMetaData.getDatabaseProductVersion()Retrieves the version number of this database product.DatabaseMetaData.getDriverName()Retrieves the name of this JDBC driver.DatabaseMetaData.getDriverVersion()Retrieves the version number of this JDBC driver as aString.DatabaseMetaData.getExtraNameCharacters()Retrieves all the "extra" characters that can be used in unquotedidentifier names (those beyond a-z, A-Z, 0-9 and _).DatabaseMetaData.getIdentifierQuoteString()Retrieves the string used to quote SQL identifiers.JDBCType.getName()Returns theSQLTypename that represents a SQL data type.SQLType.getName()Returns theSQLTypename that represents a SQL data type.CallableStatement.getNString(int parameterIndex) Retrieves the value of the designatedNCHAR,NVARCHARorLONGNVARCHARparameter asaStringin the Java programming language.CallableStatement.getNString(String parameterName) Retrieves the value of the designatedNCHAR,NVARCHARorLONGNVARCHARparameter asaStringin the Java programming language.ResultSet.getNString(int columnIndex) Retrieves the value of the designated column in the current rowof thisResultSetobject asaStringin the Java programming language.ResultSet.getNString(String columnLabel) Retrieves the value of the designated column in the current rowof thisResultSetobject asaStringin the Java programming language.DatabaseMetaData.getNumericFunctions()Retrieves a comma-separated list of math functions available withthis database.ParameterMetaData.getParameterClassName(int param) Retrieves the fully-qualified name of the Java class whose instancesshould be passed to the methodPreparedStatement.setObject.ParameterMetaData.getParameterTypeName(int param) Retrieves the designated parameter's database-specific type name.DatabaseMetaData.getProcedureTerm()Retrieves the database vendor's preferred term for "procedure".Savepoint.getSavepointName()Retrieves the name of the savepoint that thisSavepointobject represents.Connection.getSchema()Retrieves thisConnectionobject's current schema name.ResultSetMetaData.getSchemaName(int column) Get the designated column's table's schema.DatabaseMetaData.getSchemaTerm()Retrieves the database vendor's preferred term for "schema".DatabaseMetaData.getSearchStringEscape()Retrieves the string that can be used to escape wildcard characters.DatabaseMetaData.getSQLKeywords()Retrieves a comma-separated list of all of this database's SQL keywordsthat are NOT also SQL:2003 keywords.SQLException.getSQLState()Retrieves the SQLState for thisSQLExceptionobject.SQLData.getSQLTypeName()Returns the fully-qualifiedname of the SQL user-defined type that this object represents.Struct.getSQLTypeName()Retrieves the SQL type name of the SQL structured typethat thisStructobject represents.CallableStatement.getString(int parameterIndex) Retrieves the value of the designated JDBCCHAR,VARCHAR, orLONGVARCHARparameter as aStringin the Java programming language.Retrieves the value of a JDBCCHAR,VARCHAR,orLONGVARCHARparameter as aStringinthe Java programming language.ResultSet.getString(int columnIndex) Retrieves the value of the designated column in the current rowof thisResultSetobject asaStringin the Java programming language.Retrieves the value of the designated column in the current rowof thisResultSetobject asaStringin the Java programming language.SQLXML.getString()Returns a string representation of the XML value designated by this SQLXML instance.DatabaseMetaData.getStringFunctions()Retrieves a comma-separated list of string functions available withthis database.Clob.getSubString(long pos, int length) Retrieves a copy of the specified substringin theCLOBvaluedesignated by thisClobobject.DatabaseMetaData.getSystemFunctions()Retrieves a comma-separated list of system functions available withthis database.ResultSetMetaData.getTableName(int column) Gets the designated column's table name.DatabaseMetaData.getTimeDateFunctions()Retrieves a comma-separated list of the time and date functions availablewith this database.DatabaseMetaData.getURL()Retrieves the URL for this DBMS.DatabaseMetaData.getUserName()Retrieves the user name as known to this database.JDBCType.getVendor()Returns the name of the vendor that supports this data type.SQLType.getVendor()Returns the name of the vendor that supports this data type.Converts the given SQL statement into the system's native SQL grammar.SQLInput.readNString()Reads the next attribute in the stream and returns it as aStringin the Java programming language.SQLInput.readString()Reads the next attribute in the stream and returns it as aStringin the Java programming language.Date.toString()Formats a date in the date escape format yyyy-mm-dd.RowId.toString()Returns a String representing the value of the SQL ROWID designated by thisjava.sql.RowIdobject.Time.toString()Formats a time in JDBC time escape format.Timestamp.toString()Formats a timestamp in JDBC timestamp escape format.Modifier and TypeMethodDescriptionSQLClientInfoException.getFailedProperties()Returns the list of client info properties that could not be set.Connection.getTypeMap()Retrieves theMapobject associated with thisConnectionobject.Modifier and TypeMethodDescriptionbooleanDriver.acceptsURL(String url) Retrieves whether the driver thinks that it can open a connectionto the given URL.voidAdds the given SQL command to the current list of commands for thisStatementobject.Driver.connect(String url,Properties info) Attempts to make a database connection to the given URL.Connection.createArrayOf(String typeName,Object[] elements) Factory method for creating Array objects.Connection.createStruct(String typeName,Object[] attributes) Factory method for creating Struct objects.defaultStringStatement.enquoteIdentifier(String identifier, boolean alwaysQuote) Returns a SQL identifier.defaultStringStatement.enquoteLiteral(String val) Returns aStringenclosed in single quotes.defaultStringStatement.enquoteNCharLiteral(String val) Returns aStringrepresenting a National Character Set Literalenclosed in single quotes and prefixed with a upper case letter N.booleanExecutes the given SQL statement, which may return multiple results.booleanExecutes the given SQL statement, which may return multiple results, and signals the driver that any auto-generated keys should be made available for retrieval.booleanExecutes 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.booleanExecutes 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 longStatement.executeLargeUpdate(String sql) Executes the given SQL statement, which may be anINSERT,UPDATE, orDELETEstatement or an SQL statement that returns nothing, such as an SQL DDL statement.default longStatement.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 thisStatementobject should be made available for retrieval.default longStatement.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 longStatement.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.Statement.executeQuery(String sql) Executes the given SQL statement, which returns a singleResultSetobject.intStatement.executeUpdate(String sql) Executes the given SQL statement, which may be anINSERT,UPDATE, orDELETEstatement or an SQL statement that returns nothing, such as an SQL DDL statement.intStatement.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 thisStatementobject should be made available for retrieval.intStatement.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.intStatement.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.intResultSet.findColumn(String columnLabel) Maps the givenResultSetcolumn label to itsResultSetcolumn index.Retrieves the value of a JDBCARRAYparameter as anArrayobject in the Java programming language.Retrieves the value of the designated column in the current rowof thisResultSetobject as anArrayobjectin the Java programming language.ResultSet.getAsciiStream(String columnLabel) Retrieves the value of the designated column in the current rowof thisResultSetobject as a stream ofASCII characters.DatabaseMetaData.getAttributes(String catalog,String schemaPattern,String typeNamePattern,String attributeNamePattern) Retrieves a description of the given attribute of the given typefor a user-defined type (UDT) that is available in the given schemaand catalog.DatabaseMetaData.getBestRowIdentifier(String catalog,String schema,String table, int scope, boolean nullable) Retrieves a description of a table's optimal set of columns thatuniquely identifies a row.CallableStatement.getBigDecimal(String parameterName) Retrieves the value of a JDBCNUMERICparameter as ajava.math.BigDecimalobject with as many digits to theright of the decimal point as the value contains.ResultSet.getBigDecimal(String columnLabel) Retrieves the value of the designated column in the current rowof thisResultSetobject as ajava.math.BigDecimalwith full precision.ResultSet.getBigDecimal(String columnLabel, int scale) Deprecated.UsegetBigDecimal(int columnIndex)orgetBigDecimal(String columnLabel)ResultSet.getBinaryStream(String columnLabel) Retrieves the value of the designated column in the current rowof thisResultSetobject as a stream of uninterpretedbytes.Retrieves the value of a JDBCBLOBparameter as aBlobobject in the Java programming language.Retrieves the value of the designated column in the current rowof thisResultSetobject as aBlobobjectin the Java programming language.booleanCallableStatement.getBoolean(String parameterName) Retrieves the value of a JDBCBITorBOOLEANparameter as abooleanin the Java programming language.booleanResultSet.getBoolean(String columnLabel) Retrieves the value of the designated column in the current rowof thisResultSetobject asabooleanin the Java programming language.byteRetrieves the value of a JDBCTINYINTparameter as abytein the Java programming language.byteRetrieves the value of the designated column in the current rowof thisResultSetobject asabytein the Java programming language.byte[]Retrieves the value of a JDBCBINARYorVARBINARYparameter as an array ofbytevalues in the Javaprogramming language.byte[]Retrieves the value of the designated column in the current rowof thisResultSetobject asabytearray in the Java programming language.CallableStatement.getCharacterStream(String parameterName) Retrieves the value of the designated parameter as ajava.io.Readerobject in the Java programming language.ResultSet.getCharacterStream(String columnLabel) Retrieves the value of the designated column in the current rowof thisResultSetobject as ajava.io.Readerobject.Connection.getClientInfo(String name) Returns the value of the client info property specified by name.Retrieves the value of a JDBCCLOBparameter as ajava.sql.Clobobject in the Java programming language.Retrieves the value of the designated column in the current rowof thisResultSetobject as aClobobjectin the Java programming language.DatabaseMetaData.getColumnPrivileges(String catalog,String schema,String table,String columnNamePattern) Retrieves a description of the access rights for a table's columns.DatabaseMetaData.getColumns(String catalog,String schemaPattern,String tableNamePattern,String columnNamePattern) Retrieves a description of table columns available inthe specified catalog.staticConnectionDriverManager.getConnection(String url) Attempts to establish a connection to the given database URL.staticConnectionDriverManager.getConnection(String url,String user,String password) Attempts to establish a connection to the given database URL.staticConnectionDriverManager.getConnection(String url,Properties info) Attempts to establish a connection to the given database URL.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 keytable that reference the primary key or the columns representing a unique constraint of the parent table (could be the same or a different table).Retrieves the value of a JDBCDATEparameter as ajava.sql.Dateobject.Retrieves the value of a JDBCDATEparameter as ajava.sql.Dateobject, usingthe givenCalendarobjectto construct the date.Retrieves the value of the designated column in the current rowof thisResultSetobject asajava.sql.Dateobject in the Java programming language.Retrieves the value of the designated column in the current rowof thisResultSetobject as ajava.sql.Dateobjectin the Java programming language.doubleRetrieves the value of a JDBCDOUBLEparameter as adoublein the Java programming language.doubleRetrieves the value of the designated column in the current rowof thisResultSetobject asadoublein the Java programming language.staticDriverAttempts to locate a driver that understands the given URL.DatabaseMetaData.getExportedKeys(String catalog,String schema,String table) Retrieves a description of the foreign key columns that reference thegiven table's primary key columns (the foreign keys exported by atable).floatRetrieves the value of a JDBCFLOATparameter as afloatin the Java programming language.floatRetrieves the value of the designated column in the current rowof thisResultSetobject asafloatin the Java programming language.DatabaseMetaData.getFunctionColumns(String catalog,String schemaPattern,String functionNamePattern,String columnNamePattern) Retrieves a description of the given catalog's system or userfunction parameters and return type.DatabaseMetaData.getFunctions(String catalog,String schemaPattern,String functionNamePattern) Retrieves a description of the system and user functions availablein the given catalog.DatabaseMetaData.getImportedKeys(String catalog,String schema,String table) Retrieves a description of the primary key columns that arereferenced by the given table's foreign key columns (the primary keysimported by a table).DatabaseMetaData.getIndexInfo(String catalog,String schema,String table, boolean unique, boolean approximate) Retrieves a description of the given table's indices and statistics.intRetrieves the value of a JDBCINTEGERparameter as anintin the Java programming language.intRetrieves the value of the designated column in the current rowof thisResultSetobject asanintin the Java programming language.longRetrieves the value of a JDBCBIGINTparameter as alongin the Java programming language.longRetrieves the value of the designated column in the current rowof thisResultSetobject asalongin the Java programming language.CallableStatement.getNCharacterStream(String parameterName) Retrieves the value of the designated parameter as ajava.io.Readerobject in the Java programming language.ResultSet.getNCharacterStream(String columnLabel) Retrieves the value of the designated column in the current rowof thisResultSetobject as ajava.io.Readerobject.Retrieves the value of a JDBCNCLOBparameter as ajava.sql.NClobobject in the Java programming language.Retrieves the value of the designated column in the current rowof thisResultSetobject as aNClobobjectin the Java programming language.CallableStatement.getNString(String parameterName) Retrieves the value of the designatedNCHAR,NVARCHARorLONGNVARCHARparameter asaStringin the Java programming language.ResultSet.getNString(String columnLabel) Retrieves the value of the designated column in the current rowof thisResultSetobject asaStringin the Java programming language.Retrieves the value of a parameter as anObjectin the Javaprogramming language.<T> TReturns an object representing the value of OUT parameterparameterNameand will convert from the SQL type of the parameter to the requested Java data type, if the conversion is supported.Returns an object representing the value of OUT parameterparameterNameand usesmapfor the custommapping of the parameter value.Gets the value of the designated column in the current rowof thisResultSetobject asanObjectin the Java programming language.<T> TRetrieves the value of the designated column in the current row of thisResultSetobject and will convert from the SQL type of the column to the requested Java data type, if the conversion is supported.Retrieves the value of the designated column in the current rowof thisResultSetobject as anObjectin the Java programming language.DatabaseMetaData.getPrimaryKeys(String catalog,String schema,String table) Retrieves a description of the given table's primary key columns.DatabaseMetaData.getProcedureColumns(String catalog,String schemaPattern,String procedureNamePattern,String columnNamePattern) Retrieves a description of the given catalog's stored procedure parameter and result columns.DatabaseMetaData.getProcedures(String catalog,String schemaPattern,String procedureNamePattern) Retrieves a description of the stored procedures available in the givencatalog.Driver.getPropertyInfo(String url,Properties info) Gets information about the possible properties for this driver.DatabaseMetaData.getPseudoColumns(String catalog,String schemaPattern,String tableNamePattern,String columnNamePattern) Retrieves a description of the pseudo or hidden columns availablein a given table within the specified catalog and schema.Retrieves the value of a JDBCREF(<structured-type>)parameter as aRefobject in the Java programming language.Retrieves the value of the designated column in the current rowof thisResultSetobject as aRefobjectin the Java programming language.Retrieves the value of the designated JDBCROWIDparameter as ajava.sql.RowIdobject.Retrieves the value of the designated column in the current row of thisResultSetobject as ajava.sql.RowIdobject in the Javaprogramming language.DatabaseMetaData.getSchemas(String catalog,String schemaPattern) Retrieves the schema names available in this database.shortRetrieves the value of a JDBCSMALLINTparameter as ashortin the Java programming language.shortRetrieves the value of the designated column in the current rowof thisResultSetobject asashortin the Java programming language.Retrieves the value of the designatedSQL XMLparameter as ajava.sql.SQLXMLobject in the Java programming language.Retrieves the value of the designated column in the current row of thisResultSetas ajava.sql.SQLXMLobject in the Java programming language.Retrieves the value of a JDBCCHAR,VARCHAR,orLONGVARCHARparameter as aStringinthe Java programming language.Retrieves the value of the designated column in the current rowof thisResultSetobject asaStringin the Java programming language.DatabaseMetaData.getSuperTables(String catalog,String schemaPattern,String tableNamePattern) Retrieves a description of the table hierarchies defined in a particularschema in this database.DatabaseMetaData.getSuperTypes(String catalog,String schemaPattern,String typeNamePattern) Retrieves a description of the user-defined type (UDT) hierarchies defined in aparticular schema in this database.DatabaseMetaData.getTablePrivileges(String catalog,String schemaPattern,String tableNamePattern) Retrieves a description of the access rights for each table availablein a catalog.DatabaseMetaData.getTables(String catalog,String schemaPattern,String tableNamePattern,String[] types) Retrieves a description of the tables available in the given catalog.Retrieves the value of a JDBCTIMEparameter as ajava.sql.Timeobject.Retrieves the value of a JDBCTIMEparameter as ajava.sql.Timeobject, usingthe givenCalendarobjectto construct the time.Retrieves the value of the designated column in the current rowof thisResultSetobject asajava.sql.Timeobject in the Java programming language.Retrieves the value of the designated column in the current rowof thisResultSetobject as ajava.sql.Timeobjectin the Java programming language.CallableStatement.getTimestamp(String parameterName) Retrieves the value of a JDBCTIMESTAMPparameter as ajava.sql.Timestampobject.CallableStatement.getTimestamp(String parameterName,Calendar cal) Retrieves the value of a JDBCTIMESTAMPparameter as ajava.sql.Timestampobject, usingthe givenCalendarobject to constructtheTimestampobject.ResultSet.getTimestamp(String columnLabel) Retrieves the value of the designated column in the current rowof thisResultSetobject asajava.sql.Timestampobject in the Java programming language.ResultSet.getTimestamp(String columnLabel,Calendar cal) Retrieves the value of the designated column in the current rowof thisResultSetobject as ajava.sql.Timestampobjectin the Java programming language.Retrieves a description of the user-defined types (UDTs) definedin a particular schema.ResultSet.getUnicodeStream(String columnLabel) Deprecated.usegetCharacterStreaminsteadRetrieves the value of a JDBCDATALINKparameter as ajava.net.URLobject.Retrieves the value of the designated column in the current rowof thisResultSetobject as ajava.net.URLobject in the Java programming language.DatabaseMetaData.getVersionColumns(String catalog,String schema,String table) Retrieves a description of a table's columns that are automaticallyupdated when any value in a row is updated.default booleanStatement.isSimpleIdentifier(String identifier) Retrieves whetheridentifieris a simple SQL identifier.Converts the given SQL statement into the system's native SQL grammar.Specifies the password to be used when creating a connectionlongRetrieves the character position at which the specified substringsearchstrappears in the SQLCLOBvaluerepresented by thisClobobject.Connection.prepareCall(String sql) Creates aCallableStatementobject for callingdatabase stored procedures.Connection.prepareCall(String sql, int resultSetType, int resultSetConcurrency) Creates aCallableStatementobject that will generateResultSetobjects with the given type and concurrency.Connection.prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) Creates aCallableStatementobject that will generateResultSetobjects with the given type and concurrency.Connection.prepareStatement(String sql) Creates aPreparedStatementobject for sendingparameterized SQL statements to the database.Connection.prepareStatement(String sql, int autoGeneratedKeys) Creates a defaultPreparedStatementobject that hasthe capability to retrieve auto-generated keys.Connection.prepareStatement(String sql, int[] columnIndexes) Creates a defaultPreparedStatementobject capable of returning the auto-generated keys designated by the given array.Connection.prepareStatement(String sql, int resultSetType, int resultSetConcurrency) Creates aPreparedStatementobject that will generateResultSetobjects with the given type and concurrency.Connection.prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) Creates aPreparedStatementobject that will generateResultSetobjects with the given type, concurrency,and holdability.Connection.prepareStatement(String sql,String[] columnNames) Creates a defaultPreparedStatementobject capableof returning the auto-generated keys designated by the given array.static voidPrints a message to the current JDBC log stream.voidPopulates this object with data read from the database.voidCallableStatement.registerOutParameter(int parameterIndex, int sqlType,String typeName) Registers the designated output parameter.default voidCallableStatement.registerOutParameter(int parameterIndex,SQLType sqlType,String typeName) Registers the designated output parameter.voidCallableStatement.registerOutParameter(String parameterName, int sqlType) Registers the OUT parameter namedparameterNameto the JDBC typesqlType.voidCallableStatement.registerOutParameter(String parameterName, int sqlType, int scale) Registers the parameter namedparameterNameto be of JDBC typesqlType.voidCallableStatement.registerOutParameter(String parameterName, int sqlType,String typeName) Registers the designated output parameter.default voidCallableStatement.registerOutParameter(String parameterName,SQLType sqlType) Registers the OUT parameter namedparameterNameto the JDBC typesqlType.default voidCallableStatement.registerOutParameter(String parameterName,SQLType sqlType, int scale) Registers the parameter namedparameterNameto be of JDBC typesqlType.default voidCallableStatement.registerOutParameter(String parameterName,SQLType sqlType,String typeName) Registers the designated output parameter.voidCallableStatement.setAsciiStream(String parameterName,InputStream x) Sets the designated parameter to the given input stream.voidCallableStatement.setAsciiStream(String parameterName,InputStream x, int length) Sets the designated parameter to the given input stream, which will havethe specified number of bytes.voidCallableStatement.setAsciiStream(String parameterName,InputStream x, long length) Sets the designated parameter to the given input stream, which will havethe specified number of bytes.voidCallableStatement.setBigDecimal(String parameterName,BigDecimal x) Sets the designated parameter to the givenjava.math.BigDecimalvalue.voidCallableStatement.setBinaryStream(String parameterName,InputStream x) Sets the designated parameter to the given input stream.voidCallableStatement.setBinaryStream(String parameterName,InputStream x, int length) Sets the designated parameter to the given input stream, which will havethe specified number of bytes.voidCallableStatement.setBinaryStream(String parameterName,InputStream x, long length) Sets the designated parameter to the given input stream, which will havethe specified number of bytes.voidCallableStatement.setBlob(String parameterName,InputStream inputStream) Sets the designated parameter to anInputStreamobject.voidCallableStatement.setBlob(String parameterName,InputStream inputStream, long length) Sets the designated parameter to anInputStreamobject.voidSets the designated parameter to the givenjava.sql.Blobobject.voidCallableStatement.setBoolean(String parameterName, boolean x) Sets the designated parameter to the given Javabooleanvalue.voidSets the designated parameter to the given Javabytevalue.voidSets the designated parameter to the given Java array of bytes.voidConnection.setCatalog(String catalog) Sets the given catalog name in order to selecta subspace of thisConnectionobject's databasein which to work.voidCallableStatement.setCharacterStream(String parameterName,Reader reader) Sets the designated parameter to the givenReaderobject.voidCallableStatement.setCharacterStream(String parameterName,Reader reader, int length) Sets the designated parameter to the givenReaderobject, which is the given number of characters long.voidCallableStatement.setCharacterStream(String parameterName,Reader reader, long length) Sets the designated parameter to the givenReaderobject, which is the given number of characters long.voidConnection.setClientInfo(String name,String value) Sets the value of the client info property specified by name to thevalue specified by value.voidSets the designated parameter to aReaderobject.voidSets the designated parameter to aReaderobject.voidSets the designated parameter to the givenjava.sql.Clobobject.voidStatement.setCursorName(String name) Sets the SQL cursor name to the givenString, whichwill be used by subsequentStatementobjectexecutemethods.voidSets the designated parameter to the givenjava.sql.Datevalueusing the default time zone of the virtual machine that is runningthe application.voidSets the designated parameter to the givenjava.sql.Datevalue,using the givenCalendarobject.voidSets the designated parameter to the given Javadoublevalue.voidSets the designated parameter to the given Javafloatvalue.voidSets the designated parameter to the given Javaintvalue.voidSets the designated parameter to the given Javalongvalue.voidCallableStatement.setNCharacterStream(String parameterName,Reader value) Sets the designated parameter to aReaderobject.voidCallableStatement.setNCharacterStream(String parameterName,Reader value, long length) Sets the designated parameter to aReaderobject.voidSets the designated parameter to aReaderobject.voidSets the designated parameter to aReaderobject.voidSets the designated parameter to ajava.sql.NClobobject.voidCallableStatement.setNString(String parameterName,String value) Sets the designated parameter to the givenStringobject.voidPreparedStatement.setNString(int parameterIndex,String value) Sets the designated parameter to the givenStringobject.voidSets the designated parameter to SQLNULL.voidSets the designated parameter to SQLNULL.voidSets the designated parameter to SQLNULL.voidSets the value of the designated parameter with the given object.voidSets the value of the designated parameter with the given object.voidSets the value of the designated parameter with the given object.default voidSets the value of the designated parameter with the given object.default voidSets the value of the designated parameter with the given object.voidSets the designated parameter to the givenjava.sql.RowIdobject.Connection.setSavepoint(String name) Creates a savepoint with the given name in the current transaction and returns the newSavepointobject that represents it.voidSets the given schema name to access.voidSets the designated parameter to the given Javashortvalue.voidSets the designated parameter to the givenjava.sql.SQLXMLobject.voidSets the designated parameter to the given JavaStringvalue.intWrites the given JavaStringto theCLOBvalue that thisClobobject designates at the positionpos.intWriteslencharacters ofstr, startingat characteroffset, to theCLOBvaluethat thisClobrepresents.voidSets the designated parameter to the given JavaStringvalue.voidSets the XML value designated by this SQLXML instance to the given String representation.voidSets the designated parameter to the givenjava.sql.Timevalue.voidSets the designated parameter to the givenjava.sql.Timevalue,using the givenCalendarobject.voidCallableStatement.setTimestamp(String parameterName,Timestamp x) Sets the designated parameter to the givenjava.sql.Timestampvalue.voidCallableStatement.setTimestamp(String parameterName,Timestamp x,Calendar cal) Sets the designated parameter to the givenjava.sql.Timestampvalue,using the givenCalendarobject.voidSets the designated parameter to the givenjava.net.URLobject.voidResultSet.updateArray(String columnLabel,Array x) Updates the designated column with ajava.sql.Arrayvalue.voidResultSet.updateAsciiStream(String columnLabel,InputStream x) Updates the designated column with an ascii stream value.voidResultSet.updateAsciiStream(String columnLabel,InputStream x, int length) Updates the designated column with an ascii stream value, which will havethe specified number of bytes.voidResultSet.updateAsciiStream(String columnLabel,InputStream x, long length) Updates the designated column with an ascii stream value, which will havethe specified number of bytes.voidResultSet.updateBigDecimal(String columnLabel,BigDecimal x) Updates the designated column with ajava.sql.BigDecimalvalue.voidResultSet.updateBinaryStream(String columnLabel,InputStream x) Updates the designated column with a binary stream value.voidResultSet.updateBinaryStream(String columnLabel,InputStream x, int length) Updates the designated column with a binary stream value, which will havethe specified number of bytes.voidResultSet.updateBinaryStream(String columnLabel,InputStream x, long length) Updates the designated column with a binary stream value, which will havethe specified number of bytes.voidResultSet.updateBlob(String columnLabel,InputStream inputStream) Updates the designated column using the given input stream.voidResultSet.updateBlob(String columnLabel,InputStream inputStream, long length) Updates the designated column using the given input stream, whichwill have the specified number of bytes.voidResultSet.updateBlob(String columnLabel,Blob x) Updates the designated column with ajava.sql.Blobvalue.voidResultSet.updateBoolean(String columnLabel, boolean x) Updates the designated column with abooleanvalue.voidResultSet.updateByte(String columnLabel, byte x) Updates the designated column with abytevalue.voidResultSet.updateBytes(String columnLabel, byte[] x) Updates the designated column with a byte array value.voidResultSet.updateCharacterStream(String columnLabel,Reader reader) Updates the designated column with a character stream value.voidResultSet.updateCharacterStream(String columnLabel,Reader reader, int length) Updates the designated column with a character stream value, which will havethe specified number of bytes.voidResultSet.updateCharacterStream(String columnLabel,Reader reader, long length) Updates the designated column with a character stream value, which will havethe specified number of bytes.voidResultSet.updateClob(String columnLabel,Reader reader) Updates the designated column using the givenReaderobject.voidResultSet.updateClob(String columnLabel,Reader reader, long length) Updates the designated column using the givenReaderobject, which is the given number of characters long.voidResultSet.updateClob(String columnLabel,Clob x) Updates the designated column with ajava.sql.Clobvalue.voidResultSet.updateDate(String columnLabel,Date x) Updates the designated column with ajava.sql.Datevalue.voidResultSet.updateDouble(String columnLabel, double x) Updates the designated column with adoublevalue.voidResultSet.updateFloat(String columnLabel, float x) Updates the designated column with afloatvalue.voidUpdates the designated column with anintvalue.voidResultSet.updateLong(String columnLabel, long x) Updates the designated column with alongvalue.voidResultSet.updateNCharacterStream(String columnLabel,Reader reader) Updates the designated column with a character stream value.voidResultSet.updateNCharacterStream(String columnLabel,Reader reader, long length) Updates the designated column with a character stream value, which will havethe specified number of bytes.voidResultSet.updateNClob(String columnLabel,Reader reader) Updates the designated column using the givenReaderobject.voidResultSet.updateNClob(String columnLabel,Reader reader, long length) Updates the designated column using the givenReaderobject, which is the given number of characters long.voidResultSet.updateNClob(String columnLabel,NClob nClob) Updates the designated column with ajava.sql.NClobvalue.voidResultSet.updateNString(int columnIndex,String nString) Updates the designated column with aStringvalue.voidResultSet.updateNString(String columnLabel,String nString) Updates the designated column with aStringvalue.voidResultSet.updateNull(String columnLabel) Updates the designated column with anullvalue.voidResultSet.updateObject(String columnLabel,Object x) Updates the designated column with anObjectvalue.voidResultSet.updateObject(String columnLabel,Object x, int scaleOrLength) Updates the designated column with anObjectvalue.default voidResultSet.updateObject(String columnLabel,Object x,SQLType targetSqlType) Updates the designated column with anObjectvalue.default voidResultSet.updateObject(String columnLabel,Object x,SQLType targetSqlType, int scaleOrLength) Updates the designated column with anObjectvalue.voidUpdates the designated column with ajava.sql.Refvalue.voidResultSet.updateRowId(String columnLabel,RowId x) Updates the designated column with aRowIdvalue.voidResultSet.updateShort(String columnLabel, short x) Updates the designated column with ashortvalue.voidResultSet.updateSQLXML(String columnLabel,SQLXML xmlObject) Updates the designated column with ajava.sql.SQLXMLvalue.voidResultSet.updateString(int columnIndex,String x) Updates the designated column with aStringvalue.voidResultSet.updateString(String columnLabel,String x) Updates the designated column with aStringvalue.voidResultSet.updateTime(String columnLabel,Time x) Updates the designated column with ajava.sql.Timevalue.voidResultSet.updateTimestamp(String columnLabel,Timestamp x) Updates the designated column with ajava.sql.Timestampvalue.Specifies the username to be used when creating a connectionstaticClientInfoStatusReturns the enum constant of this class with the specified name.staticDateConverts a string in JDBC date escape format toaDatevalue.staticJDBCTypeReturns the enum constant of this class with the specified name.staticPseudoColumnUsageReturns the enum constant of this class with the specified name.staticRowIdLifetimeReturns the enum constant of this class with the specified name.staticTimeConverts a string in JDBC time escape format to aTimevalue.staticTimestampConverts aStringobject in JDBC timestamp escape format to aTimestampvalue.voidSQLOutput.writeNString(String x) Writes the next attribute to the stream as aStringin the Java programming language.voidSQLOutput.writeString(String x) Writes the next attribute to the stream as aStringin the Java programming language.Modifier and TypeMethodDescriptionRetrieves a slice of the SQLARRAYvaluedesignated by thisArrayobject, beginning with the specifiedindexand containing up tocountsuccessive elements of the SQL array.Retrieves the contents of the SQLARRAYvalue designated by thisArrayobject.Object[]Struct.getAttributes(Map<String, Class<?>> map) Produces the ordered values of the attributes of the SQLstructured type that thisStructobject represents.Returns an object representing the value of OUT parameterparameterIndexand usesmapfor the custommapping of the parameter value.Returns an object representing the value of OUT parameterparameterNameand usesmapfor the custommapping of the parameter value.Retrieves the referenced object and maps it to a Java typeusing the given type map.Retrieves the value of the designated column in the current rowof thisResultSetobject as anObjectin the Java programming language.Retrieves the value of the designated column in the current rowof thisResultSetobject as anObjectin the Java programming language.Array.getResultSet(long index, int count,Map<String, Class<?>> map) Retrieves a result set holding the elements of the subarray thatstarts at indexindexand contains up tocountsuccessive elements.Array.getResultSet(Map<String, Class<?>> map) Retrieves a result set that contains the elements of the SQLARRAYvalue designated by thisArrayobject.voidConnection.setTypeMap(Map<String, Class<?>> map) Installs the givenTypeMapobject as the type map forthisConnectionobject.ModifierConstructorDescriptionBatchUpdateException(String reason, int[] updateCounts) Constructs aBatchUpdateExceptionobject initialized with a givenreasonandupdateCounts.BatchUpdateException(String reason, int[] updateCounts,Throwable cause) Constructs aBatchUpdateExceptionobject initialized witha givenreason,causeandupdateCounts.BatchUpdateException(String reason,String SQLState, int[] updateCounts) Constructs aBatchUpdateExceptionobject initialized with a givenreason,SQLStateandupdateCounts.BatchUpdateException(String reason,String SQLState, int[] updateCounts,Throwable cause) Constructs aBatchUpdateExceptionobject initialized witha givenreason,SQLState,cause, andupdateCounts.BatchUpdateException(String reason,String SQLState, int vendorCode, int[] updateCounts) Constructs aBatchUpdateExceptionobject initialized with a givenreason,SQLState,vendorCodeandupdateCounts.BatchUpdateException(String reason,String SQLState, int vendorCode, int[] updateCounts,Throwable cause) Constructs aBatchUpdateExceptionobject initialized with a givenreason,SQLState,vendorCodecauseandupdateCounts.BatchUpdateException(String reason,String SQLState, int vendorCode, long[] updateCounts,Throwable cause) Constructs aBatchUpdateExceptionobject initialized with a givenreason,SQLState,vendorCodecauseandupdateCounts.DriverPropertyInfo(String name,String value) Constructs aDriverPropertyInfoobject with a givenname and value.SQLClientInfoException(String reason,String SQLState, int vendorCode,Map<String,ClientInfoStatus> failedProperties) Constructs aSQLClientInfoExceptionobject initialized with agivenreason,SQLState,vendorCodeandfailedProperties.SQLClientInfoException(String reason,String SQLState, int vendorCode,Map<String,ClientInfoStatus> failedProperties,Throwable cause) Constructs aSQLClientInfoExceptionobject initialized with agivenreason,SQLState,cause,vendorCodeandfailedProperties.SQLClientInfoException(String reason,String SQLState,Map<String,ClientInfoStatus> failedProperties) Constructs aSQLClientInfoExceptionobject initialized with agivenreason,SQLStateandfailedProperties.SQLClientInfoException(String reason,String SQLState,Map<String,ClientInfoStatus> failedProperties,Throwable cause) Constructs aSQLClientInfoExceptionobject initialized with agivenreason,SQLState,causeandfailedProperties.SQLClientInfoException(String reason,Map<String,ClientInfoStatus> failedProperties) Constructs aSQLClientInfoExceptionobject initialized with agivenreasonandfailedProperties.SQLClientInfoException(String reason,Map<String,ClientInfoStatus> failedProperties,Throwable cause) Constructs aSQLClientInfoExceptionobject initialized with agivenreason,causeandfailedProperties.SQLDataException(String reason) Constructs aSQLDataExceptionobject with a givenreason.SQLDataException(String reason,String SQLState) Constructs aSQLDataExceptionobject with a givenreasonandSQLState.SQLDataException(String reason,String SQLState, int vendorCode) Constructs aSQLDataExceptionobject with a givenreason,SQLStateandvendorCode.SQLDataException(String reason,String SQLState, int vendorCode,Throwable cause) Constructs aSQLDataExceptionobject with a givenreason,SQLState,vendorCodeandcause.SQLDataException(String reason,String SQLState,Throwable cause) Constructs aSQLDataExceptionobject with a givenreason,SQLStateandcause.SQLDataException(String reason,Throwable cause) Constructs aSQLDataExceptionobject with a givenreasonandcause.SQLException(String reason) Constructs aSQLExceptionobject with a givenreason.SQLException(String reason,String SQLState) Constructs aSQLExceptionobject with a givenreasonandSQLState.SQLException(String reason,String SQLState, int vendorCode) Constructs aSQLExceptionobject with a givenreason,SQLStateandvendorCode.SQLException(String reason,String sqlState, int vendorCode,Throwable cause) Constructs aSQLExceptionobject with a givenreason,SQLState,vendorCodeandcause.SQLException(String reason,String sqlState,Throwable cause) Constructs aSQLExceptionobject with a givenreason,SQLStateandcause.SQLException(String reason,Throwable cause) Constructs aSQLExceptionobject with a givenreasonandcause.Constructs aSQLFeatureNotSupportedExceptionobjectwith a givenreason.SQLFeatureNotSupportedException(String reason,String SQLState) Constructs aSQLFeatureNotSupportedExceptionobjectwith a givenreasonandSQLState.SQLFeatureNotSupportedException(String reason,String SQLState, int vendorCode) Constructs aSQLFeatureNotSupportedExceptionobject with a givenreason,SQLStateandvendorCode.SQLFeatureNotSupportedException(String reason,String SQLState, int vendorCode,Throwable cause) Constructs aSQLFeatureNotSupportedExceptionobjectwith a givenreason,SQLState,vendorCodeandcause.SQLFeatureNotSupportedException(String reason,String SQLState,Throwable cause) Constructs aSQLFeatureNotSupportedExceptionobjectwith a givenreason,SQLStateandcause.SQLFeatureNotSupportedException(String reason,Throwable cause) Constructs aSQLFeatureNotSupportedExceptionobjectwith a givenreasonandcause.Constructs aSQLIntegrityConstraintViolationExceptionwith a givenreason.SQLIntegrityConstraintViolationException(String reason,String SQLState) Constructs aSQLIntegrityConstraintViolationExceptionobject with a givenreasonandSQLState.SQLIntegrityConstraintViolationException(String reason,String SQLState, int vendorCode) Constructs aSQLIntegrityConstraintViolationExceptionobjectwith a givenreason,SQLStateandvendorCode.SQLIntegrityConstraintViolationException(String reason,String SQLState, int vendorCode,Throwable cause) Constructs aSQLIntegrityConstraintViolationExceptionobjectwith a givenreason,SQLState,vendorCodeandcause.SQLIntegrityConstraintViolationException(String reason,String SQLState,Throwable cause) Constructs aSQLIntegrityConstraintViolationExceptionobject with a givenreason,SQLStateandcause.SQLIntegrityConstraintViolationException(String reason,Throwable cause) Constructs aSQLIntegrityConstraintViolationExceptionobjectwith a givenreasonandcause.Constructs aSQLInvalidAuthorizationSpecExceptionobject with a givenreason.SQLInvalidAuthorizationSpecException(String reason,String SQLState) Constructs aSQLInvalidAuthorizationSpecExceptionobjectwith a givenreasonandSQLState.SQLInvalidAuthorizationSpecException(String reason,String SQLState, int vendorCode) Constructs aSQLInvalidAuthorizationSpecExceptionobjectwith a givenreason,SQLStateandvendorCode.SQLInvalidAuthorizationSpecException(String reason,String SQLState, int vendorCode,Throwable cause) Constructs aSQLInvalidAuthorizationSpecExceptionobjectwith a givenreason,SQLState,vendorCodeandcause.SQLInvalidAuthorizationSpecException(String reason,String SQLState,Throwable cause) Constructs aSQLInvalidAuthorizationSpecExceptionobject with a givenreason,SQLStateandcause.SQLInvalidAuthorizationSpecException(String reason,Throwable cause) Constructs aSQLInvalidAuthorizationSpecExceptionobject with a givenreasonandcause.Constructs aSQLNonTransientConnectionExceptionobject with a givenreason.SQLNonTransientConnectionException(String reason,String SQLState) Constructs aSQLNonTransientConnectionExceptionobjectwith a givenreasonandSQLState.SQLNonTransientConnectionException(String reason,String SQLState, int vendorCode) Constructs aSQLNonTransientConnectionExceptionobjectwith a givenreason,SQLStateandvendorCode.SQLNonTransientConnectionException(String reason,String SQLState, int vendorCode,Throwable cause) Constructs aSQLNonTransientConnectionExceptionobjectwith a givenreason,SQLState,vendorCodeandcause.SQLNonTransientConnectionException(String reason,String SQLState,Throwable cause) Constructs aSQLNonTransientConnectionExceptionobjectwith a givenreason,SQLStateandcause.SQLNonTransientConnectionException(String reason,Throwable cause) Constructs aSQLNonTransientConnectionExceptionobjectwith a givenreasonandcause.SQLNonTransientException(String reason) Constructs aSQLNonTransientExceptionobjectwith a givenreason.SQLNonTransientException(String reason,String SQLState) Constructs aSQLNonTransientExceptionobjectwith a givenreasonandSQLState.SQLNonTransientException(String reason,String SQLState, int vendorCode) Constructs aSQLNonTransientExceptionobjectwith a givenreason,SQLStateandvendorCode.SQLNonTransientException(String reason,String SQLState, int vendorCode,Throwable cause) Constructs aSQLNonTransientExceptionobjectwith a givenreason,SQLState,vendorCodeandcause.SQLNonTransientException(String reason,String SQLState,Throwable cause) Constructs aSQLNonTransientExceptionobjectwith a givenreason,SQLStateandcause.SQLNonTransientException(String reason,Throwable cause) Constructs aSQLNonTransientExceptionobjectwith a givenreasonandcause.SQLPermission(String name) Creates a newSQLPermissionobject with the specified name.SQLPermission(String name,String actions) Creates a newSQLPermissionobject with the specified name.SQLRecoverableException(String reason) Constructs aSQLRecoverableExceptionobject with a givenreason.SQLRecoverableException(String reason,String SQLState) Constructs aSQLRecoverableExceptionobjectwith a givenreasonandSQLState.SQLRecoverableException(String reason,String SQLState, int vendorCode) Constructs aSQLRecoverableExceptionobject with a givenreason,SQLStateandvendorCode.SQLRecoverableException(String reason,String SQLState, int vendorCode,Throwable cause) Constructs aSQLRecoverableExceptionobjectwith a givenreason,SQLState,vendorCodeandcause.SQLRecoverableException(String reason,String SQLState,Throwable cause) Constructs aSQLRecoverableExceptionobjectwith a givenreason,SQLStateandcause.SQLRecoverableException(String reason,Throwable cause) Constructs aSQLRecoverableExceptionobjectwith a givenreasonandcause.SQLSyntaxErrorException(String reason) Constructs aSQLSyntaxErrorExceptionobjectwith a givenreason.SQLSyntaxErrorException(String reason,String SQLState) Constructs aSQLSyntaxErrorExceptionobjectwith a givenreasonandSQLState.SQLSyntaxErrorException(String reason,String SQLState, int vendorCode) Constructs aSQLSyntaxErrorExceptionobject with a givenreason,SQLStateandvendorCode.SQLSyntaxErrorException(String reason,String SQLState, int vendorCode,Throwable cause) Constructs aSQLSyntaxErrorExceptionobjectwith a givenreason,SQLState,vendorCodeandcause.SQLSyntaxErrorException(String reason,String SQLState,Throwable cause) Constructs aSQLSyntaxErrorExceptionobjectwith a givenreason,SQLStateandcause.SQLSyntaxErrorException(String reason,Throwable cause) Constructs aSQLSyntaxErrorExceptionobjectwith a givenreasonandcause.SQLTimeoutException(String reason) Constructs aSQLTimeoutExceptionobjectwith a givenreason.SQLTimeoutException(String reason,String SQLState) Constructs aSQLTimeoutExceptionobjectwith a givenreasonandSQLState.SQLTimeoutException(String reason,String SQLState, int vendorCode) Constructs aSQLTimeoutExceptionobjectwith a givenreason,SQLStateandvendorCode.SQLTimeoutException(String reason,String SQLState, int vendorCode,Throwable cause) Constructs aSQLTimeoutExceptionobjectwith a givenreason,SQLState,vendorCodeandcause.SQLTimeoutException(String reason,String SQLState,Throwable cause) Constructs aSQLTimeoutExceptionobject with a givenreason,SQLStateandcause.SQLTimeoutException(String reason,Throwable cause) Constructs aSQLTimeoutExceptionobjectwith a givenreasonandcause.Constructs aSQLTransactionRollbackExceptionobjectwith a givenreason.SQLTransactionRollbackException(String reason,String SQLState) Constructs aSQLTransactionRollbackExceptionobjectwith a givenreasonandSQLState.SQLTransactionRollbackException(String reason,String SQLState, int vendorCode) Constructs aSQLTransactionRollbackExceptionobjectwith a givenreason,SQLStateandvendorCode.SQLTransactionRollbackException(String reason,String SQLState, int vendorCode,Throwable cause) Constructs aSQLTransactionRollbackExceptionobjectwith a givenreason,SQLState,vendorCodeandcause.SQLTransactionRollbackException(String reason,String SQLState,Throwable cause) Constructs aSQLTransactionRollbackExceptionobjectwith a givenreason,SQLStateandcause.SQLTransactionRollbackException(String reason,Throwable cause) Constructs aSQLTransactionRollbackExceptionobjectwith a givenreasonandcause.Constructs aSQLTransientConnectionExceptionobjectwith a givenreason.SQLTransientConnectionException(String reason,String SQLState) Constructs aSQLTransientConnectionExceptionobjectwith a givenreasonandSQLState.SQLTransientConnectionException(String reason,String SQLState, int vendorCode) Constructs aSQLTransientConnectionExceptionobjectwith a givenreason,SQLStateandvendorCode.SQLTransientConnectionException(String reason,String SQLState, int vendorCode,Throwable cause) Constructs aSQLTransientConnectionExceptionobjectwith a givenreason,SQLState,vendorCodeandcause.SQLTransientConnectionException(String reason,String SQLState,Throwable cause) Constructs aSQLTransientConnectionExceptionobjectwith a givenreason,SQLStateandcause.SQLTransientConnectionException(String reason,Throwable cause) Constructs aSQLTransientConnectionExceptionobjectwith a givenreasonandcause.SQLTransientException(String reason) Constructs aSQLTransientExceptionobject with a givenreason.SQLTransientException(String reason,String SQLState) Constructs aSQLTransientExceptionobjectwith a givenreasonandSQLState.SQLTransientException(String reason,String SQLState, int vendorCode) Constructs aSQLTransientExceptionobject with a givenreason,SQLStateandvendorCode.SQLTransientException(String reason,String SQLState, int vendorCode,Throwable cause) Constructs aSQLTransientExceptionobjectwith a givenreason,SQLState,vendorCodeandcause.SQLTransientException(String reason,String SQLState,Throwable cause) Constructs aSQLTransientExceptionobjectwith a givenreason,SQLStateandcause.SQLTransientException(String reason,Throwable cause) Constructs aSQLTransientExceptionobjectwith a givenreasonandcause.SQLWarning(String reason) Constructs aSQLWarningobjectwith a givenreason.SQLWarning(String reason,String SQLState) Constructs aSQLWarningobjectwith a givenreasonandSQLState.SQLWarning(String reason,String SQLState, int vendorCode) Constructs aSQLWarningobject with a givenreason,SQLStateandvendorCode.SQLWarning(String reason,String SQLState, int vendorCode,Throwable cause) Constructs aSQLWarningobjectwith a givenreason,SQLState,vendorCodeandcause.SQLWarning(String reason,String SQLState,Throwable cause) Constructs aSQLWarningobjectwith a givenreason,SQLStateandcause.SQLWarning(String reason,Throwable cause) Constructs aSQLWarningobjectwith a givenreasonandcause.ModifierConstructorDescriptionSQLClientInfoException(String reason,String SQLState, int vendorCode,Map<String,ClientInfoStatus> failedProperties) Constructs aSQLClientInfoExceptionobject initialized with agivenreason,SQLState,vendorCodeandfailedProperties.SQLClientInfoException(String reason,String SQLState, int vendorCode,Map<String,ClientInfoStatus> failedProperties,Throwable cause) Constructs aSQLClientInfoExceptionobject initialized with agivenreason,SQLState,cause,vendorCodeandfailedProperties.SQLClientInfoException(String reason,String SQLState,Map<String,ClientInfoStatus> failedProperties) Constructs aSQLClientInfoExceptionobject initialized with agivenreason,SQLStateandfailedProperties.SQLClientInfoException(String reason,String SQLState,Map<String,ClientInfoStatus> failedProperties,Throwable cause) Constructs aSQLClientInfoExceptionobject initialized with agivenreason,SQLState,causeandfailedProperties.SQLClientInfoException(String reason,Map<String,ClientInfoStatus> failedProperties) Constructs aSQLClientInfoExceptionobject initialized with agivenreasonandfailedProperties.SQLClientInfoException(String reason,Map<String,ClientInfoStatus> failedProperties,Throwable cause) Constructs aSQLClientInfoExceptionobject initialized with agivenreason,causeandfailedProperties.SQLClientInfoException(Map<String,ClientInfoStatus> failedProperties) Constructs aSQLClientInfoExceptionobject initialized with agivenfailedProperties.SQLClientInfoException(Map<String,ClientInfoStatus> failedProperties,Throwable cause) Constructs aSQLClientInfoExceptionobject initialized witha givencauseandfailedProperties.Uses ofString injava.text
Modifier and TypeMethodDescriptionfinalStringFormats aDateinto a date-time string.finalStringFormats an object to produce a string.Returns the string that consists of the input strings, concatenated with thepatterns of thisListFormat.staticStringCreates a MessageFormat with the given pattern and uses itto format the given arguments.finalStringNumberFormat.format(double number) Specialization of format.finalStringNumberFormat.format(long number) Specialization of format.String[]DateFormatSymbols.getAmPmStrings()Gets ampm strings.DecimalFormatSymbols.getCurrencySymbol()Returns the currency symbol for the currency of theseDecimalFormatSymbols in their locale.String[]DateFormatSymbols.getEras()Gets era strings.DecimalFormatSymbols.getExponentSeparator()Returns the string used to separate the mantissa from the exponent.DecimalFormatSymbols.getInfinity()Gets the string used to represent infinity.DecimalFormatSymbols.getInternationalCurrencySymbol()Returns the ISO 4217 currency code of the currency of theseDecimalFormatSymbols.DateFormatSymbols.getLocalPatternChars()Gets localized date-time pattern characters.String[]DateFormatSymbols.getMonths()Gets month strings.protectedStringAttributedCharacterIterator.Attribute.getName()Returns the name of the attribute.DecimalFormatSymbols.getNaN()Gets the string used to represent "not a number".DecimalFormat.getNegativePrefix()Get the negative prefix.DecimalFormat.getNegativeSuffix()Get the negative suffix.String[]ListFormat.getPatterns()Returns the patterns used in this ListFormat.DecimalFormat.getPositivePrefix()Get the positive prefix.DecimalFormat.getPositiveSuffix()Get the positive suffix.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.CollationKey.getSourceString()Returns the String that this CollationKey represents.String[]DateFormatSymbols.getWeekdays()Gets weekday strings.String[][]DateFormatSymbols.getZoneStrings()Gets time zone strings.staticStringNormalizer.normalize(CharSequence src,Normalizer.Form form) Normalize a sequence of char values.DecimalFormat.toLocalizedPattern()Synthesizes a localized pattern string that represents the currentstate of this Format object.SimpleDateFormat.toLocalizedPattern()Returns a localized pattern string describing this date format.ChoiceFormat.toPattern()Returns a patternstringthat represents thelimitsandformatsof this ChoiceFormat object.DecimalFormat.toPattern()Synthesizes a pattern string that represents the current stateof this Format object.MessageFormat.toPattern()Returns a String pattern adhering to thepatterns sectionthatrepresents the current state of thisMessageFormat.SimpleDateFormat.toPattern()Returns a pattern string describing this date format.Annotation.toString()Returns the String representation of this Annotation.AttributedCharacterIterator.Attribute.toString()Returns a string representation of the object.Bidi.toString()Display the bidi internal state, used in debugging.ChoiceFormat.toString()Returns a string identifying thisChoiceFormat, for debugging.CompactNumberFormat.toString()Returns a string identifying thisCompactNumberFormat, for debugging.DecimalFormat.toString()Returns a string identifying thisDecimalFormat, for debugging.FieldPosition.toString()Return a string representation of this FieldPosition.ListFormat.toString()Returns a string identifying thisListFormat, for debugging.MessageFormat.toString()Returns a string identifying thisMessageFormat, for debugging.ParsePosition.toString()Return a string representation of this ParsePosition.SimpleDateFormat.toString()Returns a string identifying thisSimpleDateFormat, for debugging.Modifier and TypeMethodDescriptionReturns the parsed list of strings from thesourcestring.Modifier and TypeMethodDescriptionvoidDecimalFormat.applyLocalizedPattern(String pattern) Apply the given pattern to this Format object.voidSimpleDateFormat.applyLocalizedPattern(String pattern) Applies the given localized pattern string to this date format.voidChoiceFormat.applyPattern(String newPattern) Apply the given pattern to this ChoiceFormat object.voidDecimalFormat.applyPattern(String pattern) Apply the given pattern to this Format object.voidMessageFormat.applyPattern(String pattern) Sets the pattern used by this message format.voidSimpleDateFormat.applyPattern(String pattern) Applies the given pattern string to this date format.abstract intCompares the source string to the target string according to thecollation rules for this Collator.intCompares the character data stored in two different strings based on thecollation rules.booleanConvenience method for comparing the equality of two strings based onthis Collator's collation rules.staticStringCreates a MessageFormat with the given pattern and uses itto format the given arguments.RuleBasedCollator.getCollationElementIterator(String source) Returns a CollationElementIterator for the given String.abstractCollationKeyCollator.getCollationKey(String source) Transforms the String into a series of bits that can be compared bitwiseto other CollationKeys.RuleBasedCollator.getCollationKey(String source) Transforms the string into a series of characters that can be comparedwith CollationKey.compareTo.staticListFormatListFormat.getInstance(String[] patterns) Returns the ListFormat object for the specified patterns.ChoiceFormat.parse(String text,ParsePosition status) Parses the input text starting at the index given by theParsePositionas aDouble.CompactNumberFormat.parse(String text,ParsePosition pos) Parses text from the beginning of the given string to produce aNumber.Parses text from the beginning of the given string to produce a date.abstractDateDateFormat.parse(String source,ParsePosition pos) Parse a date/time string according to the given parse position.DecimalFormat.parse(String text,ParsePosition pos) Parses text from the beginning of the given string to produce aNumber.Returns the parsed list of strings from thesourcestring.Object[]Parses text from the beginning of the given string to produce an objectarray.Object[]MessageFormat.parse(String source,ParsePosition pos) Parses the string.Parses text from the beginning of the given string to produce aNumber.abstractNumberNumberFormat.parse(String source,ParsePosition parsePosition) Parses text from the beginning of the given string to produce aNumber.SimpleDateFormat.parse(String text,ParsePosition pos) Parses text from a string to produce aDate.DateFormat.parseObject(String source,ParsePosition pos) Parses text from a string to produce aDate.Format.parseObject(String source) Parses text from the beginning of the given string to produce an object.abstractObjectFormat.parseObject(String source,ParsePosition pos) Parses text from the given string to produce an object.ListFormat.parseObject(String source,ParsePosition parsePos) Parses text from a string to produce a list of strings.MessageFormat.parseObject(String source,ParsePosition pos) Parses text from a string to produce an object array.finalObjectNumberFormat.parseObject(String source,ParsePosition pos) Parses text from the given string to produce an object.voidDateFormatSymbols.setAmPmStrings(String[] newAmpms) Sets ampm strings.voidChoiceFormat.setChoices(double[] limits,String[] formats) Set the choices to be used in formatting.voidDecimalFormatSymbols.setCurrencySymbol(String currency) Sets the currency symbol for the currency of thisDecimalFormatSymbolsin their locale.voidSets era strings.voidDecimalFormatSymbols.setExponentSeparator(String exp) Sets the string used to separate the mantissa from the exponent.voidDecimalFormatSymbols.setInfinity(String infinity) Sets the string used to represent infinity.voidDecimalFormatSymbols.setInternationalCurrencySymbol(String currencyCode) Sets the ISO 4217 currency code of the currency of theseDecimalFormatSymbols.voidDateFormatSymbols.setLocalPatternChars(String newLocalPatternChars) Sets localized date-time pattern characters.voidSets month strings.voidSets the string used to represent "not a number".voidDecimalFormat.setNegativePrefix(String newValue) Set the negative prefix.voidDecimalFormat.setNegativeSuffix(String newValue) Set the negative suffix.voidDecimalFormat.setPositivePrefix(String newValue) Set the positive prefix.voidDecimalFormat.setPositiveSuffix(String newValue) Set the positive suffix.voidDateFormatSymbols.setShortMonths(String[] newShortMonths) Sets short month strings.voidDateFormatSymbols.setShortWeekdays(String[] newShortWeekdays) Sets short weekday strings.voidSet a new text string to be scanned.voidSet a new string over which to iterate.voidReset this iterator to point to a new string.voidDateFormatSymbols.setWeekdays(String[] newWeekdays) Sets weekday strings.voidDateFormatSymbols.setZoneStrings(String[][] newZoneStrings) Sets time zone strings.staticListFormat.StyleReturns the enum constant of this class with the specified name.staticListFormat.TypeReturns the enum constant of this class with the specified name.staticNormalizer.FormReturns the enum constant of this class with the specified name.staticNumberFormat.StyleReturns the enum constant of this class with the specified name.Modifier and TypeMethodDescriptionReturns the string that consists of the input strings, concatenated with thepatterns of thisListFormat.ModifierConstructorDescriptionprotectedConstructs anAttributewith the given name.AttributedString(String text) Constructs an AttributedString instance with the given text.AttributedString(String text,Map<? extendsAttributedCharacterIterator.Attribute, ?> attributes) Constructs an AttributedString instance with the given text and attributes.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 a ChoiceFormat with limits and corresponding formatsbased on the pattern.protectedCollationKey(String source) CollationKey constructor.CompactNumberFormat(String decimalPattern,DecimalFormatSymbols symbols,String[] compactPatterns) Creates aCompactNumberFormatusing the given decimal pattern,decimal format symbols and compact patterns.CompactNumberFormat(String decimalPattern,DecimalFormatSymbols symbols,String[] compactPatterns,String pluralRules) Creates aCompactNumberFormatusing the given decimal pattern,decimal format symbols, compact patterns, and plural rules.DecimalFormat(String pattern) Creates a DecimalFormat using the given pattern and the symbolsfor the defaultFORMATlocale.DecimalFormat(String pattern,DecimalFormatSymbols symbols) Creates a DecimalFormat using the given pattern and symbols.protectedCreates aField.protectedCreates a Field with the specified name.protectedCreates a Field with the specified name.protectedCreates a Field instance with the specifiedname.MessageFormat(String pattern) Constructs a MessageFormat for the defaultFORMATlocale and thespecified pattern.MessageFormat(String pattern,Locale locale) Constructs a MessageFormat for the specified locale andpattern.ParseException(String s, int errorOffset) Constructs a ParseException with the specified detail message andoffset.RuleBasedCollator(String rules) RuleBasedCollator constructor.SimpleDateFormat(String pattern) Constructs aSimpleDateFormatusing the given pattern andthe default date format symbols for the defaultFORMATlocale.SimpleDateFormat(String pattern,DateFormatSymbols formatSymbols) Constructs aSimpleDateFormatusing the given pattern anddate format symbols.SimpleDateFormat(String pattern,Locale locale) Constructs aSimpleDateFormatusing the given pattern andthe default date format symbols for the given locale.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 theindex set at the specified position.Uses ofString injava.time
Modifier and TypeFieldDescriptionZoneId.SHORT_IDSA map of zone overrides to enable the short time-zone names to be used.ZoneId.SHORT_IDSA map of zone overrides to enable the short time-zone names to be used.Modifier and TypeMethodDescriptionLocalDate.format(DateTimeFormatter formatter) Formats this date using the specified formatter.LocalDateTime.format(DateTimeFormatter formatter) Formats this date-time using the specified formatter.LocalTime.format(DateTimeFormatter formatter) Formats this time using the specified formatter.MonthDay.format(DateTimeFormatter formatter) Formats this month-day using the specified formatter.OffsetDateTime.format(DateTimeFormatter formatter) Formats this date-time using the specified formatter.OffsetTime.format(DateTimeFormatter formatter) Formats this time using the specified formatter.Year.format(DateTimeFormatter formatter) Formats this year using the specified formatter.YearMonth.format(DateTimeFormatter formatter) Formats this year-month using the specified formatter.ZonedDateTime.format(DateTimeFormatter formatter) Formats this date-time using the specified formatter.DayOfWeek.getDisplayName(TextStyle style,Locale locale) Gets the textual representation, such as 'Mon' or 'Friday'.Month.getDisplayName(TextStyle style,Locale locale) Gets the textual representation, such as 'Jan' or 'December'.ZoneId.getDisplayName(TextStyle style,Locale locale) Gets the textual representation of the zone, such as 'British Time' or'+02:00'.abstractStringZoneId.getId()Gets the unique time-zone ID.ZoneOffset.getId()Gets the normalized zone offset ID.Duration.toString()A string representation of this duration using ISO-8601 secondsbased representation, such asPT8H6M12.345S.Instant.toString()A string representation of this instant using ISO-8601 representation.LocalDate.toString()Outputs this date as aString, such as2007-12-03.LocalDateTime.toString()Outputs this date-time as aString, such as2007-12-03T10:15:30.LocalTime.toString()Outputs this time as aString, such as10:15.MonthDay.toString()Outputs this month-day as aString, such as--12-03.OffsetDateTime.toString()Outputs this date-time as aString, such as2007-12-03T10:15:30+01:00.OffsetTime.toString()Outputs this time as aString, such as10:15:30+01:00.Period.toString()Outputs this period as aString, such asP6Y3M1D.Year.toString()Outputs this year as aString.YearMonth.toString()Outputs this year-month as aString, such as2007-12.ZonedDateTime.toString()Outputs this date-time as aString, such as2007-12-03T10:15:30+01:00[Europe/Paris].ZoneId.toString()Outputs this zone as aString, using the ID.ZoneOffset.toString()Outputs this offset as aString, using the normalized ID.Modifier and TypeMethodDescriptionstaticZoneIdObtains an instance ofZoneIdfrom an ID ensuring that theID is valid and available for use.staticZoneIdObtains an instance ofZoneIdusing its ID using a mapof aliases to supplement the standard zone IDs.staticZoneOffsetObtains an instance ofZoneOffsetusing the ID.staticZoneIdZoneId.ofOffset(String prefix,ZoneOffset offset) Obtains an instance ofZoneIdwrapping an offset.staticDayOfWeekReturns the enum constant of this class with the specified name.staticMonthReturns the enum constant of this class with the specified name.Modifier and TypeMethodDescriptionstaticZoneIdObtains an instance ofZoneIdusing its ID using a mapof aliases to supplement the standard zone IDs.staticZoneIdObtains an instance ofZoneIdusing its ID using a mapof aliases to supplement the standard zone IDs.ModifierConstructorDescriptionDateTimeException(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.Uses ofString injava.time.chrono
Methods injava.time.chrono that returnStringModifier and TypeMethodDescriptiondefaultStringChronoLocalDate.format(DateTimeFormatter formatter) Formats this date using the specified formatter.defaultStringChronoLocalDateTime.format(DateTimeFormatter formatter) Formats this date-time using the specified formatter.defaultStringChronoZonedDateTime.format(DateTimeFormatter formatter) Formats this date-time using the specified formatter.Chronology.getCalendarType()Gets the calendar type of the calendar system.HijrahChronology.getCalendarType()Gets the calendar type of the Islamic calendar.IsoChronology.getCalendarType()Gets the calendar type of the underlying calendar system - 'iso8601'.JapaneseChronology.getCalendarType()Gets the calendar type of the underlying calendar system - 'japanese'.MinguoChronology.getCalendarType()Gets the calendar type of the underlying calendar system - 'roc'.ThaiBuddhistChronology.getCalendarType()Gets the calendar type of the underlying calendar system - 'buddhist'.defaultStringChronology.getDisplayName(TextStyle style,Locale locale) Gets the textual representation of this chronology.defaultStringEra.getDisplayName(TextStyle style,Locale locale) Gets the textual representation of this era.HijrahEra.getDisplayName(TextStyle style,Locale locale) Gets the textual representation of this era.JapaneseEra.getDisplayName(TextStyle style,Locale locale) Gets the textual representation of this era.MinguoEra.getDisplayName(TextStyle style,Locale locale) Gets the textual representation of this era.ThaiBuddhistEra.getDisplayName(TextStyle style,Locale locale) Gets the textual representation of this era.Chronology.getId()Gets the ID of the chronology.HijrahChronology.getId()Gets the ID of the chronology.IsoChronology.getId()Gets the ID of the chronology - 'ISO'.JapaneseChronology.getId()Gets the ID of the chronology - 'Japanese'.MinguoChronology.getId()Gets the ID of the chronology - 'Minguo'.ThaiBuddhistChronology.getId()Gets the ID of the chronology - 'ThaiBuddhist'.AbstractChronology.toString()Outputs this chronology as aString, using the chronology ID.ChronoLocalDate.toString()Outputs this date as aString.ChronoLocalDateTime.toString()Outputs this date-time as aString.Chronology.toString()Outputs this chronology as aString.ChronoPeriod.toString()Outputs this period as aString.ChronoZonedDateTime.toString()Outputs this date-time as aString.Methods injava.time.chrono with parameters of typeStringModifier and TypeMethodDescriptionstaticChronologyObtains an instance ofChronologyfrom a chronology ID orcalendar system type.staticHijrahEraReturns the enum constant of this class with the specified name.staticIsoEraReturns the enum constant of this class with the specified name.staticJapaneseEraReturns theJapaneseErawith the name.staticMinguoEraReturns the enum constant of this class with the specified name.staticThaiBuddhistEraReturns the enum constant of this class with the specified name.Uses ofString injava.time.format
Methods injava.time.format that returnStringModifier and TypeMethodDescriptionDateTimeFormatter.format(TemporalAccessor temporal) Formats a date-time object using this formatter.staticStringDateTimeFormatterBuilder.getLocalizedDateTimePattern(String requestedTemplate,Chronology chrono,Locale locale) Returns the formatting pattern for the requested template for a locale and chronology.staticStringDateTimeFormatterBuilder.getLocalizedDateTimePattern(FormatStyle dateStyle,FormatStyle timeStyle,Chronology chrono,Locale locale) Gets the formatting pattern for date and time styles for a locale and chronology.DateTimeParseException.getParsedString()Returns the string that was being parsed.DateTimeFormatter.toString()Returns a description of the underlying formatters.DecimalStyle.toString()Returns a string describing this DecimalStyle.Methods injava.time.format with parameters of typeStringModifier and TypeMethodDescriptionDateTimeFormatterBuilder.appendLiteral(String literal) Appends a string literal to the formatter.DateTimeFormatterBuilder.appendLocalized(String requestedTemplate) Appends a localized pattern to the formatter using the requested template.DateTimeFormatterBuilder.appendOffset(String pattern,String noOffsetText) Appends the zone offset, such as '+01:00', to the formatter.DateTimeFormatterBuilder.appendPattern(String pattern) Appends the elements defined by the specified pattern to the builder.staticStringDateTimeFormatterBuilder.getLocalizedDateTimePattern(String requestedTemplate,Chronology chrono,Locale locale) Returns the formatting pattern for the requested template for a locale and chronology.staticDateTimeFormatterDateTimeFormatter.ofLocalizedPattern(String requestedTemplate) Creates a locale specific formatter derived from the requested template forthe ISO chronology.staticDateTimeFormatterCreates a formatter using the specified pattern.staticDateTimeFormatterCreates a formatter using the specified pattern and locale.staticFormatStyleReturns the enum constant of this class with the specified name.staticResolverStyleReturns the enum constant of this class with the specified name.staticSignStyleReturns the enum constant of this class with the specified name.staticTextStyleReturns the enum constant of this class with the specified name.Method parameters injava.time.format with type arguments of typeStringModifier and TypeMethodDescriptionDateTimeFormatterBuilder.appendText(TemporalField field,Map<Long, String> textLookup) Appends the text of a date-time field to the formatter using the specifiedmap to supply the text.Constructors injava.time.format with parameters of typeStringModifierConstructorDescriptionDateTimeParseException(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.Uses ofString injava.time.temporal
Methods injava.time.temporal that returnStringModifier and TypeMethodDescriptiondefaultStringTemporalField.getDisplayName(Locale locale) Gets the display name for the field in the requested locale.ChronoField.toString()ChronoUnit.toString()TemporalField.toString()Gets a descriptive name for the field.TemporalUnit.toString()Gets a descriptive name for the unit.ValueRange.toString()Outputs this range as aString.WeekFields.toString()A string representation of thisWeekFieldsinstance.Methods injava.time.temporal with parameters of typeStringModifier and TypeMethodDescriptionstaticChronoFieldReturns the enum constant of this class with the specified name.staticChronoUnitReturns the enum constant of this class with the specified name.Constructors injava.time.temporal with parameters of typeStringModifierConstructorDescriptionUnsupportedTemporalTypeException(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.Uses ofString injava.time.zone
Methods injava.time.zone that returnStringModifier and TypeMethodDescriptionZoneOffsetTransition.toString()Returns a string describing this object.ZoneOffsetTransitionRule.toString()Returns a string describing this object.ZoneRules.toString()Returns a string describing this object.Methods injava.time.zone that return types with arguments of typeStringModifier and TypeMethodDescriptionZoneRulesProvider.getAvailableZoneIds()Gets the set of available zone IDs.staticNavigableMap<String,ZoneRules> ZoneRulesProvider.getVersions(String zoneId) Gets the history of rules for the zone ID.protected abstractNavigableMap<String,ZoneRules> ZoneRulesProvider.provideVersions(String zoneId) SPI method to get the history of rules for the zone ID.ZoneRulesProvider.provideZoneIds()SPI method to get the available zone IDs.Methods injava.time.zone with parameters of typeStringModifier and TypeMethodDescriptionstaticZoneRulesGets the rules for the zone ID.staticNavigableMap<String,ZoneRules> ZoneRulesProvider.getVersions(String zoneId) Gets the history of rules for the zone ID.protected abstractZoneRulesZoneRulesProvider.provideRules(String zoneId, boolean forCaching) SPI method to get the rules for the zone ID.protected abstractNavigableMap<String,ZoneRules> ZoneRulesProvider.provideVersions(String zoneId) SPI method to get the history of rules for the zone ID.Returns the enum constant of this class with the specified name.Constructors injava.time.zone with parameters of typeStringModifierConstructorDescriptionZoneRulesException(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.Uses ofString injava.util
Modifier and TypeClassDescriptionfinal classA simple text scanner which can parse primitive types and strings usingregular expressions.Modifier and TypeFieldDescriptionResourceBundle.Control.FORMAT_CLASSThe class-only formatListcontaining"java.class".ResourceBundle.Control.FORMAT_DEFAULTThe default formatList, which contains the strings"java.class"and"java.properties", inthis order.ResourceBundle.Control.FORMAT_PROPERTIESThe properties-only formatListcontaining"java.properties".Modifier and TypeMethodDescriptionstaticStringLocale.caseFoldLanguageTag(String languageTag) Returns a case folded IETF BCP 47 language tag.staticStringArrays.deepToString(Object[] a) Returns a string representation of the "deep contents" of the specifiedarray.HexFormat.delimiter()Returns the delimiter between hexadecimal values in formatted hexadecimal strings.Base64.Encoder.encodeToString(byte[] src) Encodes the specified byte array into a String using theBase64encoding scheme.Scanner.findInLine(String pattern) Attempts to find the next occurrence of a pattern constructed from thespecified string, ignoring delimiters.Scanner.findInLine(Pattern pattern) Attempts to find the next occurrence of the specified pattern ignoringdelimiters.Scanner.findWithinHorizon(String pattern, int horizon) Attempts to find the next occurrence of a pattern constructed from thespecified string, ignoring delimiters.Scanner.findWithinHorizon(Pattern pattern, int horizon) Attempts to find the next occurrence of the specified pattern.HexFormat.formatHex(byte[] bytes) Returns a hexadecimal string formatted from a byte array.HexFormat.formatHex(byte[] bytes, int fromIndex, int toIndex) Returns a hexadecimal string formatted from a byte array range.PropertyPermission.getActions()Deprecated, for removal: This API element is subject to removal in a future version.Returns the "canonical string representation" of the actions.staticString[]TimeZone.getAvailableIDs()Returns an array of the available IDs supported.staticString[]TimeZone.getAvailableIDs(int rawOffset) Gets the available IDs according to the given time zone offset in milliseconds.ResourceBundle.getBaseBundleName()Returns the base name of this bundle, if known, ornullif unknown.Calendar.getCalendarType()Returns the calendar type of thisCalendar.GregorianCalendar.getCalendarType()Returns"gregory"as the calendar type.MissingResourceException.getClassName()Gets parameter passed by constructor.UnknownFormatConversionException.getConversion()Returns the unknown conversion.Locale.getCountry()Returns the country/region code for this locale, which shouldeither be the empty string, an uppercase ISO 3166 2-letter code,or a UN M.49 3-digit code.Currency.getCurrencyCode()Gets the ISO 4217 currency code of this currency.finalStringLocale.getDisplayCountry()Returns a name for the locale's country that is appropriate for display to theuser.Locale.getDisplayCountry(Locale inLocale) Returns a name for the locale's country that is appropriate for display to theuser.finalStringLocale.getDisplayLanguage()Returns a name for the locale's language that is appropriate for display to theuser.Locale.getDisplayLanguage(Locale inLocale) Returns a name for the locale's language that is appropriate for display to theuser.Calendar.getDisplayName(int field, int style,Locale locale) Returns the string representation of the calendarfieldvalue in the givenstyleandlocale.Currency.getDisplayName()Gets the name that is suitable for displaying this currency forthe defaultDISPLAYlocale.Currency.getDisplayName(Locale locale) Gets the name that is suitable for displaying this currency forthe specified locale.finalStringLocale.getDisplayName()Returns a name for the locale that is appropriate for display to theuser.Locale.getDisplayName(Locale inLocale) Returns a name for the locale that is appropriate for displayto the user.finalStringTimeZone.getDisplayName()Returns a long standard time name of thisTimeZonesuitable forpresentation to the user in the default locale.finalStringTimeZone.getDisplayName(boolean daylight, int style) Returns a name in the specifiedstyleof thisTimeZonesuitable for presentation to the user in the default locale.TimeZone.getDisplayName(boolean daylight, int style,Locale locale) Returns a name in the specifiedstyleof thisTimeZonesuitable for presentation to the user in the specifiedlocale.finalStringTimeZone.getDisplayName(Locale locale) Returns a long standard time name of thisTimeZonesuitable forpresentation to the user in the specifiedlocale.Locale.getDisplayScript()Returns a name for the locale's script that is appropriate for display tothe user.Locale.getDisplayScript(Locale inLocale) Returns a name for the locale's script that is appropriatefor display to the user.finalStringLocale.getDisplayVariant()Returns a name for the locale's variant code that is appropriate for display to theuser.Locale.getDisplayVariant(Locale inLocale) Returns a name for the locale's variant code that is appropriate for display to theuser.Locale.getExtension(char key) Returns the extension (or private use) value associated withthe specified key, or null if there is no extensionassociated with the key.DuplicateFormatFlagsException.getFlags()Returns the set of flags which contains a duplicate flag.FormatFlagsConversionMismatchException.getFlags()Returns the incompatible flag.IllegalFormatFlagsException.getFlags()Returns the set of flags which contains an illegal combination.UnknownFormatFlagsException.getFlags()Returns the set of flags which contains an unknown flag.MissingFormatArgumentException.getFormatSpecifier()Returns the unmatched format specifier.MissingFormatWidthException.getFormatSpecifier()Returns the format specifier which does not have a width.TimeZone.getID()Gets the ID of this time zone.Locale.getISO3Country()Returns a three-letter abbreviation of this locale's country.Locale.getISO3Language()Returns a three-letter abbreviation of this locale's language.staticString[]Locale.getISOCountries()Returns a list of all 2-letter country codes defined in ISO 3166.staticString[]Locale.getISOLanguages()Returns a list of all 2-letter language codes defined in ISO 639.MissingResourceException.getKey()Gets parameter passed by constructor.Locale.getLanguage()Returns the language code of this Locale.Currency.getNumericCodeAsString()Returns the 3 digit ISO 4217 numeric code of this currency as aString.Properties.getProperty(String key) Searches for the property with the specified key in this property list.Properties.getProperty(String key,String defaultValue) Searches for the property with the specified key in this property list.Locale.LanguageRange.getRange()Returns the language range of thisLanguageRange.Locale.getScript()Returns the script for this locale, which shouldeither be the empty string or an ISO 15924 4-letter scriptcode.finalStringGets a string for the given key from this resource bundle or one of its parents.finalString[]ResourceBundle.getStringArray(String key) Gets a string array for the given key from this resource bundle or one of its parents.Currency.getSymbol()Gets the symbol of this currency for the defaultDISPLAYlocale.Gets the symbol of this currency for the specified locale.Locale.getUnicodeLocaleType(String key) Returns the Unicode locale type associated with the specified Unicode locale keyfor this locale.Locale.getVariant()Returns the variant code for this locale.staticStringLocale.lookupTag(List<Locale.LanguageRange> priorityList,Collection<String> tags) Returns the best-matching language tag using the lookup mechanismdefined in RFC 4647.Scanner.next()Finds and returns the next complete token from this scanner.Returns the next token if it matches the pattern constructed from thespecified string.Returns the next token if it matches the specified pattern.Scanner.nextLine()Advances this scanner past the current line and returns the inputthat was skipped.StringTokenizer.nextToken()Returns the next token from this string tokenizer.Returns the next token in this string tokenizer's string.HexFormat.prefix()Returns the prefix used for each hexadecimal value in formatted hexadecimal strings.HexFormat.suffix()Returns the suffix used for each hexadecimal value in formatted hexadecimal strings.ResourceBundle.Control.toBundleName(String baseName,Locale locale) Converts the givenbaseNameandlocaleto the bundle name.Date.toGMTString()Deprecated.As of JDK version 1.1,replaced byDateFormat.format(Date date), using aGMTTimeZone.HexFormat.toHexDigits(byte value) Returns the two hexadecimal characters for thebytevalue.HexFormat.toHexDigits(char value) Returns the four hexadecimal characters for thecharvalue.HexFormat.toHexDigits(int value) Returns the eight hexadecimal characters for theintvalue.HexFormat.toHexDigits(long value) Returns the sixteen hexadecimal characters for thelongvalue.HexFormat.toHexDigits(long value, int digits) Returns up to sixteen hexadecimal characters for thelongvalue.HexFormat.toHexDigits(short value) Returns the four hexadecimal characters for theshortvalue.staticStringObjects.toIdentityString(Object o) Returns a string equivalent to the string returned byObject.toStringif that method andhashCodeare notoverridden.Locale.toLanguageTag()Returns a well-formed IETF BCP 47 language tag representingthis locale.Date.toLocaleString()Deprecated.As of JDK version 1.1,replaced byDateFormat.format(Date date).finalStringResourceBundle.Control.toResourceName(String bundleName,String suffix) Converts the givenbundleNameto the form requiredby theClassLoader.getResourcemethod by replacing all occurrences of'.'inbundleNamewith'/'and appending a'.'and the given filesuffix.AbstractCollection.toString()Returns a string representation of this collection.AbstractMap.SimpleEntry.toString()Returns a String representation of this map entry.AbstractMap.SimpleImmutableEntry.toString()Returns a String representation of this map entry.AbstractMap.toString()Returns a string representation of this map.staticStringArrays.toString(boolean[] a) Returns a string representation of the contents of the specified array.staticStringArrays.toString(byte[] a) Returns a string representation of the contents of the specified array.staticStringArrays.toString(char[] a) Returns a string representation of the contents of the specified array.staticStringArrays.toString(double[] a) Returns a string representation of the contents of the specified array.staticStringArrays.toString(float[] a) Returns a string representation of the contents of the specified array.staticStringArrays.toString(int[] a) Returns a string representation of the contents of the specified array.staticStringArrays.toString(long[] a) Returns a string representation of the contents of the specified array.staticStringArrays.toString(short[] a) Returns a string representation of the contents of the specified array.staticStringReturns a string representation of the contents of the specified array.BitSet.toString()Returns a string representation of this bit set.Calendar.toString()Return a string representation of this calendar.Currency.toString()Returns the ISO 4217 currency code of this currency.Date.toString()Converts thisDateobject to aStringof the form:DoubleSummaryStatistics.toString()Returns a non-empty string representation of this object suitable fordebugging.EventObject.toString()Returns a String representation of this EventObject.Formatter.toString()Returns the result of invokingtoString()on the destinationfor the output.Hashtable.toString()Returns a string representation of thisHashtableobjectin the form of a set of entries, enclosed in braces and separatedby the ASCII characters "," (comma and space).HexFormat.toString()Returns a description of the formatter parameters for uppercase,delimiter, prefix, and suffix.IntSummaryStatistics.toString()Returns a non-empty string representation of this object suitable fordebugging.Locale.LanguageRange.toString()Returns an informative string representation of thisLanguageRangeobject, consisting of language range and weight if the range isweighted and the weight is less than the max weight.finalStringLocale.toString()Returns a string representation of thisLocaleobject, consisting of language, country, variant, script,and extensions as below:language + "_" + country + "_" + (variant + "_#" | "#") + script + "_" + extensionsLanguage is always lower case, country is always upper case, script is always titlecase, and extensions are always lower case.LongSummaryStatistics.toString()Returns a non-empty string representation of this object suitable fordebugging.staticStringReturns the result of callingtoStringfor anon-nullargument and"null"for anullargument.staticStringReturns the result of callingtoStringon the firstargument if the first argument is notnulland thesecond argument otherwise.Optional.toString()Returns a non-empty string representation of thisOptionalsuitable for debugging.OptionalDouble.toString()Returns a non-empty string representation of thisOptionalDoublesuitable for debugging.OptionalInt.toString()Returns a non-empty string representation of thisOptionalIntsuitable for debugging.OptionalLong.toString()Returns a non-empty string representation of thisOptionalLongsuitable for debugging.Scanner.toString()Returns the string representation of thisScanner.ServiceLoader.toString()Returns a string describing this service.SimpleTimeZone.toString()Returns a string representation of this time zone.StringJoiner.toString()Returns the current value, consisting of theprefix, the valuesadded so far separated by thedelimiter, and thesuffix,unless no elements have been added in which case, theprefix + suffixor theemptyValuecharacters are returned.UUID.toString()Returns aStringobject representing thisUUID.Vector.toString()Returns a string representation of this Vector, containingthe String representation of each element.Modifier and TypeMethodDescriptionTimeZone.availableIDs()Returns a stream of the available IDs supported.TimeZone.availableIDs(int rawOffset) Gets the available IDs according to the given time zone offset in milliseconds.Locale.filterTags(List<Locale.LanguageRange> priorityList,Collection<String> tags) Returns a list of matching languages tags using the basic filteringmechanism defined in RFC 4647.Locale.filterTags(List<Locale.LanguageRange> priorityList,Collection<String> tags,Locale.FilteringMode mode) Returns a list of matching languages tags using the basic filteringmechanism defined in RFC 4647.Calendar.getAvailableCalendarTypes()Returns an unmodifiableSetcontaining all calendar typessupported byCalendarin the runtime environment.Calendar.getDisplayNames(int field, int style,Locale locale) Returns aMapcontaining all names of the calendarfieldin the givenstyleandlocaleand their corresponding field values.ResourceBundle.Control.getFormats(String baseName) Returns aListofStrings containingformats to be used to load resource bundles for the givenbaseName.Locale.getISOCountries(Locale.IsoCountryCode type) Returns an unmodifiableSetof ISO3166 country codes for the specified type.ListResourceBundle.getKeys()Returns anEnumerationof the keys contained inthisResourceBundleand its parent bundles.PropertyResourceBundle.getKeys()Returns anEnumerationof the keys contained inthisResourceBundleand its parent bundles.abstractEnumeration<String> ResourceBundle.getKeys()Returns an enumeration of the keys.Locale.getUnicodeLocaleAttributes()Returns the set of unicode locale attributes associated withthis locale, or the empty set if it has no attributes.Locale.getUnicodeLocaleKeys()Returns the set of Unicode locale keys defined by this locale, or the empty set ifthis locale has none.ListResourceBundle.handleKeySet()Returns aSetof the keys containedonly in thisResourceBundle.PropertyResourceBundle.handleKeySet()Returns aSetof the keys containedonly in thisResourceBundle.ResourceBundle.handleKeySet()Returns aSetof the keys containedonlyin thisResourceBundle.ResourceBundle.keySet()Returns aSetof all keys contained in thisResourceBundleand its parent bundles.Properties.stringPropertyNames()Returns an unmodifiable set of keys from this property listwhere the key and its corresponding value are strings,including distinct keys in the default property list if a keyof the same name has not already been found from the mainproperties list.Scanner.tokens()Returns a stream of delimiter-separated tokens from this scanner.Modifier and TypeMethodDescriptionLocale.Builder.addUnicodeLocaleAttribute(String attribute) Adds a unicode locale attribute, if not already present, otherwisehas no effect.staticStringLocale.caseFoldLanguageTag(String languageTag) Returns a case folded IETF BCP 47 language tag.booleanResourceBundle.containsKey(String key) Determines whether the givenkeyis contained inthisResourceBundleor its parent bundles.byte[]Decodes a Base64 encoded String into a newly-allocated byte arrayusing theBase64encoding scheme.Returns a stream of match results that match the provided pattern string.Scanner.findInLine(String pattern) Attempts to find the next occurrence of a pattern constructed from thespecified string, ignoring delimiters.Scanner.findWithinHorizon(String pattern, int horizon) Attempts to find the next occurrence of a pattern constructed from thespecified string, ignoring delimiters.staticLocaleLocale.forLanguageTag(String languageTag) Returns a locale for the specified IETF BCP 47 language tag string.Writes a formatted string to this object's destination using thespecified format string and arguments.Writes a formatted string to this object's destination using thespecified locale, format string, and arguments.staticUUIDUUID.fromString(String name) Creates aUUIDfrom the string standard representation asdescribed in theUUID.toString()method.static finalResourceBundleGets a resource bundle using the specified base name, the default locale,and the caller module.staticResourceBundleGets a resource bundle using the specified base name and the default localeon behalf of the specified module.static finalResourceBundleGets a resource bundle using the specified base name and locale,and the caller module.staticResourceBundleResourceBundle.getBundle(String baseName,Locale locale,ClassLoader loader) Gets a resource bundle using the specified base name, locale, and classloader.staticResourceBundleResourceBundle.getBundle(String baseName,Locale targetLocale,ClassLoader loader,ResourceBundle.Control control) Returns a resource bundle using the specified base name, targetlocale, class loader and control.staticResourceBundleGets a resource bundle using the specified base name and localeon behalf of the specified module.static finalResourceBundleResourceBundle.getBundle(String baseName,Locale targetLocale,ResourceBundle.Control control) Returns a resource bundle using the specified base name, targetlocale and control, and the caller's class loader.static finalResourceBundleResourceBundle.getBundle(String baseName,ResourceBundle.Control control) Returns a resource bundle using the specified base name, thedefault locale and the specified control.ResourceBundle.Control.getCandidateLocales(String baseName,Locale locale) Returns aListofLocales as candidatelocales forbaseNameandlocale.ResourceBundle.Control.getFallbackLocale(String baseName,Locale locale) Returns aLocaleto be used as a fallback locale forfurther resource bundle searches by theResourceBundle.getBundlefactory method.ResourceBundle.Control.getFormats(String baseName) Returns aListofStrings containingformats to be used to load resource bundles for the givenbaseName.staticCurrencyCurrency.getInstance(String currencyCode) Returns theCurrencyinstance for the given currency code.finalObjectGets an object for the given key from this resource bundle or one of its parents.Properties.getProperty(String key) Searches for the property with the specified key in this property list.Properties.getProperty(String key,String defaultValue) Searches for the property with the specified key in this property list.finalStringGets a string for the given key from this resource bundle or one of its parents.finalString[]ResourceBundle.getStringArray(String key) Gets a string array for the given key from this resource bundle or one of its parents.longResourceBundle.Control.getTimeToLive(String baseName,Locale locale) Returns the time-to-live (TTL) value for resource bundles thatare loaded under thisResourceBundle.Control.staticTimeZoneTimeZone.getTimeZone(String ID) Gets theTimeZonefor the given ID.Locale.getUnicodeLocaleType(String key) Returns the Unicode locale type associated with the specified Unicode locale keyfor this locale.finalObjectListResourceBundle.handleGetObject(String key) PropertyResourceBundle.handleGetObject(String key) protected abstractObjectResourceBundle.handleGetObject(String key) Gets an object for the given key from this resource bundle.booleanReturns true if the next token matches the pattern constructed from thespecified string.booleanResourceBundle.Control.needsReload(String baseName,Locale locale,String format,ClassLoader loader,ResourceBundle bundle, long loadTime) Determines if the expiredbundlein the cache needsto be reloaded based on the loading time given byloadTimeor some other criteria.ResourceBundle.Control.newBundle(String baseName,Locale locale,String format,ClassLoader loader, boolean reload) Instantiates a resource bundle for the given bundle name of thegiven format and locale, using the given class loader ifnecessary.Returns the next token if it matches the pattern constructed from thespecified string.Returns the next token in this string tokenizer's string.staticLocaleObtains a locale from a language code.staticLocaleObtains a locale from language and country.staticLocaleObtains a locale from language, country and variant.staticHexFormatHexFormat.ofDelimiter(String delimiter) Returns a hexadecimal formatter with the delimiter and lowercase characters.static longDeprecated.As of JDK version 1.1,replaced byDateFormat.parse(String s).staticList<Locale.LanguageRange> Parses the givenrangesto generate a Language Priority List.staticList<Locale.LanguageRange> Parses the givenrangesto generate a Language PriorityList, and then customizes the list using the givenmap.Locale.Builder.removeUnicodeLocaleAttribute(String attribute) Removes a unicode locale attribute, if present, otherwise has noeffect.static <T> TObjects.requireNonNull(T obj,String message) Checks that the specified object reference is notnullandthrows a customizedNullPointerExceptionif it is.voidProperties.save(OutputStream out,String comments) Deprecated.This method does not throw an IOException if an I/O erroroccurs while saving the property list.Calendar.Builder.setCalendarType(String type) Sets the calendar type parameter to the giventype.Locale.Builder.setExtension(char key,String value) Sets the extension for the given key.voidSets the time zone ID.Locale.Builder.setLanguage(String language) Sets the language.Locale.Builder.setLanguageTag(String languageTag) Resets the Builder to match the provided IETF BCP 47language tag.Properties.setProperty(String key,String value) Calls theHashtablemethodput.Sets the region.Sets the script.Locale.Builder.setUnicodeLocaleKeyword(String key,String type) Sets the Unicode locale keyword type for the given key.Locale.Builder.setVariant(String variant) Sets the variant.Skips input that matches a pattern constructed from the specifiedstring.voidProperties.store(OutputStream out,String comments) Writes this property list (key and element pairs) in thisPropertiestable to the output stream in a format suitablefor loading into aPropertiestable using theload(InputStream)method.voidWrites this property list (key and element pairs) in thisPropertiestable to the output character stream in aformat suitable for using theload(Reader)method.voidProperties.storeToXML(OutputStream os,String comment) Emits an XML document representing all of the properties containedin this table.voidProperties.storeToXML(OutputStream os,String comment,String encoding) Emits an XML document representing all of the properties containedin this table, using the specified encoding.voidProperties.storeToXML(OutputStream os,String comment,Charset charset) Emits an XML document representing all of the properties containedin this table, using the specified encoding.ResourceBundle.Control.toBundleName(String baseName,Locale locale) Converts the givenbaseNameandlocaleto the bundle name.finalStringResourceBundle.Control.toResourceName(String bundleName,String suffix) Converts the givenbundleNameto the form requiredby theClassLoader.getResourcemethod by replacing all occurrences of'.'inbundleNamewith'/'and appending a'.'and the given filesuffix.staticStringReturns the result of callingtoStringon the firstargument if the first argument is notnulland thesecond argument otherwise.Scanner.useDelimiter(String pattern) Sets this scanner's delimiting pattern to a pattern constructed fromthe specifiedString.Returns the enum constant of this class with the specified name.staticLocale.CategoryReturns the enum constant of this class with the specified name.staticLocale.FilteringModeReturns the enum constant of this class with the specified name.staticLocale.IsoCountryCodeReturns the enum constant of this class with the specified name.HexFormat.withDelimiter(String delimiter) Returns a copy of thisHexFormatwith the delimiter.HexFormat.withPrefix(String prefix) Returns a copy of thisHexFormatwith the prefix.HexFormat.withSuffix(String suffix) Returns a copy of thisHexFormatwith the suffix.Modifier and TypeMethodDescriptionLocale.filterTags(List<Locale.LanguageRange> priorityList,Collection<String> tags) Returns a list of matching languages tags using the basic filteringmechanism defined in RFC 4647.Locale.filterTags(List<Locale.LanguageRange> priorityList,Collection<String> tags,Locale.FilteringMode mode) Returns a list of matching languages tags using the basic filteringmechanism defined in RFC 4647.static finalResourceBundle.ControlResourceBundle.Control.getControl(List<String> formats) static finalResourceBundle.ControlResourceBundle.Control.getNoFallbackControl(List<String> formats) Returns aResourceBundle.Controlin which thegetFormatsmethod returns the specifiedformatsand thegetFallbackLocalemethod returnsnull.staticStringLocale.lookupTag(List<Locale.LanguageRange> priorityList,Collection<String> tags) Returns the best-matching language tag using the lookup mechanismdefined in RFC 4647.staticList<Locale.LanguageRange> Locale.LanguageRange.mapEquivalents(List<Locale.LanguageRange> priorityList,Map<String,List<String>> map) Generates a new customized Language Priority List using the givenpriorityListandmap.staticList<Locale.LanguageRange> Locale.LanguageRange.mapEquivalents(List<Locale.LanguageRange> priorityList,Map<String,List<String>> map) Generates a new customized Language Priority List using the givenpriorityListandmap.staticList<Locale.LanguageRange> Parses the givenrangesto generate a Language PriorityList, and then customizes the list using the givenmap.staticList<Locale.LanguageRange> Parses the givenrangesto generate a Language PriorityList, and then customizes the list using the givenmap.static <T> TObjects.requireNonNull(T obj,Supplier<String> messageSupplier) Checks that the specified object reference is notnullandthrows a customizedNullPointerExceptionif it is.ModifierConstructorDescriptionConcurrentModificationException(String message) Constructs aConcurrentModificationExceptionwith thespecified detail message.ConcurrentModificationException(String message,Throwable cause) Constructs a new exception with the specified detail message andcause.Deprecated.As of JDK version 1.1,replaced byDateFormat.parse(String s).Constructs an instance of this class with the specified flags.FormatFlagsConversionMismatchException(String f, char c) Constructs an instance of this class with the specified flagand conversion.Constructs a new formatter with the specified file and charset.Constructs a new formatter with the specified file, charset, andlocale.Formatter(OutputStream os,String csn) Constructs a new formatter with the specified output stream andcharset.Formatter(OutputStream os,String csn,Locale l) Constructs a new formatter with the specified output stream, charset,and locale.Constructs a new formatter with the specified file name.Constructs a new formatter with the specified file name and charset.Constructs a new formatter with the specified file name, charset, andlocale.Constructs a new formatter with the specified file name, charset, andlocale.Constructs an instance of this class with the specified flags.IllformedLocaleException(String message) Constructs a newIllformedLocaleExceptionwith thegiven message and -1 as the error index.IllformedLocaleException(String message, int errorIndex) Constructs a newIllformedLocaleExceptionwith thegiven message and the error index.Constructs anInputMismatchException, saving a referenceto the error message stringsfor later retrieval by thegetMessagemethod.InvalidPropertiesFormatException(String message) Constructs an InvalidPropertiesFormatException with the specifieddetail message.LanguageRange(String range) Constructs aLanguageRangeusing the givenrange.LanguageRange(String range, double weight) Constructs aLanguageRangeusing the givenrangeandweight.Deprecated.Locale constructors have been deprecated.Deprecated.Locale constructors have been deprecated.Deprecated.Locale constructors have been deprecated.Constructs an instance of this class with the unmatched formatspecifier.Constructs an instance of this class with the specified formatspecifier.MissingResourceException(String s,String className,String key) Constructs a MissingResourceException with the specified information.Constructs aNoSuchElementException, saving a referenceto the error message stringsfor later retrieval by thegetMessagemethod.NoSuchElementException(String s,Throwable cause) Constructs aNoSuchElementExceptionwith the specified detailmessage and cause.PropertyPermission(String name,String actions) Deprecated, for removal: This API element is subject to removal in a future version.Creates a new PropertyPermission object with the specified name.Constructs a newScannerthat produces values scannedfrom the specified file.Scanner(InputStream source,String charsetName) Constructs a newScannerthat produces values scannedfrom the specified input stream.Constructs a newScannerthat produces values scannedfrom the specified string.Scanner(ReadableByteChannel source,String charsetName) Constructs a newScannerthat produces values scannedfrom the specified channel.Constructs a newScannerthat produces values scannedfrom the specified file.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 GMTand 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 fromGMT, time zone ID, and rules for starting and ending the daylighttime.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 fromGMT, time zone ID, and rules for starting and ending the daylighttime.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 fromGMT, time zone ID, and rules for starting and ending the daylighttime.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.Creates a new timer whose associated thread has the specified name.Creates a new timer whose associated thread has the specified name,and may be specified torun as a daemon.Constructs a TooManyListenersException with the specified detail message.Constructs an instance of this class with the unknown conversion.Constructs an instance of this class with the specified flags.Uses ofString injava.util.concurrent
Methods injava.util.concurrent that returnStringModifier and TypeMethodDescriptionCompletableFuture.toString()Returns a string identifying this CompletableFuture, as well asits completion state.ConcurrentHashMap.toString()Returns a string representation of this map.CopyOnWriteArrayList.toString()Returns a string representation of this list.CountDownLatch.toString()Returns a string identifying this latch, as well as its state.ForkJoinPool.toString()Returns a string identifying this pool, as well as its state,including indications of run state, parallelism level, andworker and task counts.FutureTask.toString()Returns a string representation of this FutureTask.Phaser.toString()Returns a string identifying this phaser, as well as itsstate.Semaphore.toString()Returns a string identifying this semaphore, as well as its state.SynchronousQueue.toString()Always returns"[]".ThreadPoolExecutor.toString()Returns a string identifying this pool, as well as its state,including indications of run state and estimated worker andtask counts.Methods injava.util.concurrent with parameters of typeStringModifier and TypeMethodDescriptionstaticFuture.StateReturns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.staticTimeUnitReturns the enum constant of this class with the specified name.Returns a newConfigurationobject with the given name.Constructors injava.util.concurrent with parameters of typeStringModifierConstructorDescriptionBrokenBarrierException(String message) Constructs aBrokenBarrierExceptionwith the specifieddetail message.CancellationException(String message) Constructs aCancellationExceptionwith the specified detailmessage.protectedCompletionException(String message) Constructs aCompletionExceptionwith the specified detailmessage.CompletionException(String message,Throwable cause) Constructs aCompletionExceptionwith the specified detailmessage and cause.protectedExecutionException(String message) Constructs anExecutionExceptionwith the specified detailmessage.ExecutionException(String message,Throwable cause) Constructs anExecutionExceptionwith the specified detailmessage and cause.RejectedExecutionException(String message) Constructs aRejectedExecutionExceptionwith thespecified detail message.RejectedExecutionException(String message,Throwable cause) Constructs aRejectedExecutionExceptionwith thespecified detail message and cause.StructureViolationException(String message) Constructs aStructureViolationExceptionwith the specifieddetail message.TimeoutException(String message) Constructs aTimeoutExceptionwith the specified detailmessage.Uses ofString injava.util.concurrent.atomic
Methods injava.util.concurrent.atomic that returnStringModifier and TypeMethodDescriptionAtomicBoolean.toString()Returns the String representation of the current value.AtomicInteger.toString()Returns the String representation of the current value.AtomicIntegerArray.toString()Returns the String representation of the current values of array.AtomicLong.toString()Returns the String representation of the current value.AtomicLongArray.toString()Returns the String representation of the current values of array.AtomicReference.toString()Returns the String representation of the current value.AtomicReferenceArray.toString()Returns the String representation of the current values of array.DoubleAccumulator.toString()Returns the String representation of the current value.DoubleAdder.toString()Returns the String representation of theDoubleAdder.sum().LongAccumulator.toString()Returns the String representation of the current value.LongAdder.toString()Returns the String representation of theLongAdder.sum().Methods injava.util.concurrent.atomic with parameters of typeStringModifier and TypeMethodDescriptionstatic <U> AtomicIntegerFieldUpdater<U> AtomicIntegerFieldUpdater.newUpdater(Class<U> tclass,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,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.Uses ofString injava.util.concurrent.locks
Methods injava.util.concurrent.locks that returnStringModifier and TypeMethodDescriptionAbstractQueuedLongSynchronizer.toString()Returns a string identifying this synchronizer, as well as its state.AbstractQueuedSynchronizer.toString()Returns a string identifying this synchronizer, as well as its state.ReentrantLock.toString()Returns a string identifying this lock, as well as its lock state.ReentrantReadWriteLock.ReadLock.toString()Returns a string identifying this lock, as well as its lock state.ReentrantReadWriteLock.toString()Returns a string identifying this lock, as well as its lock state.ReentrantReadWriteLock.WriteLock.toString()Returns a string identifying this lock, as well as its lockstate.StampedLock.toString()Returns a string identifying this lock, as well as its lockstate.Uses ofString injava.util.jar
Fields injava.util.jar declared asStringMethods injava.util.jar that returnStringModifier and TypeMethodDescriptionJarEntry.getRealName()Returns the real name of thisJarEntry.Returns the value of the specified attribute name, specified asa string, or null if the attribute was not found.Attributes.getValue(Attributes.Name name) Returns the value of the specified Attributes.Name, or null if theattribute was not found.Associates the specified value with the specified attribute name,specified as a String.Attributes.Name.toString()Returns the attribute name as a String.Methods injava.util.jar that return types with arguments of typeStringModifier and TypeMethodDescriptionManifest.getEntries()Returns a Map of the entries contained in this Manifest.Methods injava.util.jar with parameters of typeStringModifier and TypeMethodDescriptionprotectedZipEntryJarInputStream.createZipEntry(String name) Creates a newJarEntry(ZipEntry) for thespecified JAR file entry name.Manifest.getAttributes(String name) Returns the Attributes for the specified entry name.Returns theZipEntryfor the given base entry name ornullif not found.JarFile.getJarEntry(String name) Returns theJarEntryfor the given base entry name ornullif not found.Returns the value of the specified attribute name, specified asa string, or null if the attribute was not found.Associates the specified value with the specified attribute name,specified as a String.Constructors injava.util.jar with parameters of typeStringModifierConstructorDescriptionCreates a newJarEntryfor the specified JAR fileentry name.Constructs a JarException with the specified detail message.Creates a newJarFileto read from the specifiedfilename.Creates a newJarFileto read from the specifiedfilename.Constructs a new attribute name using the given string name.Uses ofString injava.util.logging
Fields injava.util.logging declared asStringModifier and TypeFieldDescriptionstatic finalStringLogger.GLOBAL_LOGGER_NAMEGLOBAL_LOGGER_NAME is a name for the global logger.static finalStringLogManager.LOGGING_MXBEAN_NAMEString representation of theObjectNamefor the management interfacefor the logging facility.Methods injava.util.logging that returnStringModifier and TypeMethodDescriptionabstractStringFormat the given log record and return the formatted string.Format the given LogRecord.Format the given message to XML.Formatter.formatMessage(LogRecord record) Localize and format the message string from a log record.Handler.getEncoding()Return the character encoding for thisHandler.Return the header string for a set of formatted records.Return the header string for a set of XML formatted records.Level.getLocalizedName()Return the localized string name of the Level, forthe current default locale.LoggingMXBean.getLoggerLevel(String loggerName) Deprecated.Gets the name of the log level associated with the specified logger.LogRecord.getLoggerName()Get the source Logger's name.LogRecord.getMessage()Get the "raw" log message, before localization or formatting.Level.getName()Return the non-localized string name of the Level.Logger.getName()Get the name for this logger.LoggingMXBean.getParentLoggerName(String loggerName) Deprecated.Returns the name of the parent for the specified logger.LogManager.getProperty(String name) Get the value of a logging property.Level.getResourceBundleName()Return the level's localization resource bundle name, ornull if no localization bundle is defined.Logger.getResourceBundleName()Retrieve the localization resource bundle name for thislogger.LogRecord.getResourceBundleName()Get the localization resource bundle nameLogRecord.getSourceClassName()Get the name of the class that (allegedly) issued the logging request.LogRecord.getSourceMethodName()Get the name of the method that (allegedly) issued the logging request.Return the tail string for a set of formatted records.Return the tail string for a set of XML formatted records.finalStringLevel.toString()Returns a string representation of this Level.Methods injava.util.logging that return types with arguments of typeStringModifier and TypeMethodDescriptionLoggingMXBean.getLoggerNames()Deprecated.Returns the list of currently registered logger names.LogManager.getLoggerNames()Get an enumeration of known logger names.Methods injava.util.logging with parameters of typeStringModifier and TypeMethodDescriptionvoidLog a CONFIG message.voidLog a method entry.voidLog a method entry, with one parameter.voidLog a method entry, with an array of parameters.voidThe error method is called when a Handler failure occurs.voidLog a method return.voidLog a method return, with result object.voidLog a FINE message.voidLog a FINER message.voidLog a FINEST message.staticLoggerLogger.getAnonymousLogger(String resourceBundleName) Create an anonymous Logger.staticLoggerFind or create a logger for a named subsystem.staticLoggerFind or create a logger for a named subsystem.Method to find a named logger.LoggingMXBean.getLoggerLevel(String loggerName) Deprecated.Gets the name of the log level associated with the specified logger.LoggingMXBean.getParentLoggerName(String loggerName) Deprecated.Returns the name of the parent for the specified logger.LogManager.getProperty(String name) Get the value of a logging property.voidLog an INFO message.voidLog a message, with no arguments.voidLog a message, with one object parameter.voidLog a message, with an array of object arguments.voidLog a message, with associated Throwable information.voidLog a message, specifying source class and method,with no arguments.voidLog a message, specifying source class and method,with a single object parameter to the log message.voidLog a message, specifying source class and method,with an array of object arguments.voidLog a message, specifying source class and method,with associated Throwable information.voidLogger.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.voidLog a lazily constructed message, specifying source class and method,with no arguments.voidvoidLogger.logrb(Level level,String sourceClass,String sourceMethod,String bundleName,String msg,Object param1) voidLogger.logrb(Level level,String sourceClass,String sourceMethod,String bundleName,String msg,Object[] params) voidLogger.logrb(Level level,String sourceClass,String sourceMethod,String bundleName,String msg,Throwable thrown) voidLogger.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.voidLogger.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.voidLogger.logrb(Level level,ResourceBundle bundle,String msg,Object... params) Log a message, specifying source class, method, and resource bundle,with an optional list of message parameters.voidLogger.logrb(Level level,ResourceBundle bundle,String msg,Throwable thrown) Log a message, specifying source class, method, and resource bundle,with associated Throwable information.staticLevelParse a level name string into a Level.protected voidHandler.reportError(String msg,Exception ex, int code) Protected convenience method to report an error to this Handler'sErrorManager.voidHandler.setEncoding(String encoding) Set the character encoding used by thisHandler.voidStreamHandler.setEncoding(String encoding) Set (or change) the character encoding used by thisHandler.voidLoggingMXBean.setLoggerLevel(String loggerName,String levelName) Deprecated.Sets the specified logger to the specified new level.voidLogRecord.setLoggerName(String name) Set the source Logger's name.voidLogRecord.setMessage(String message) Set the "raw" log message, before localization or formatting.voidLogRecord.setResourceBundleName(String name) Set the localization resource bundle name.voidLogRecord.setSourceClassName(String sourceClassName) Set the name of the class that (allegedly) issued the logging request.voidLogRecord.setSourceMethodName(String sourceMethodName) Set the name of the method that (allegedly) issued the logging request.voidLog a SEVERE message.voidLog throwing an exception.voidLog a WARNING message.Method parameters injava.util.logging with type arguments of typeStringModifier and TypeMethodDescriptionvoidLog a CONFIG message, which is only to be constructed if the logginglevel is such that the message will actually be logged.voidLog a FINE message, which is only to be constructed if the logginglevel is such that the message will actually be logged.voidLog a FINER message, which is only to be constructed if the logginglevel is such that the message will actually be logged.voidLog a FINEST message, which is only to be constructed if the logginglevel is such that the message will actually be logged.voidLog a INFO message, which is only to be constructed if the logginglevel is such that the message will actually be logged.voidLog a lazily constructed message, with associated Throwable information.voidLog a message, which is only to be constructed if the logging levelis such that the message will actually be logged.voidLogger.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.voidLog a lazily constructed message, specifying source class and method,with no arguments.voidLog a SEVERE message, which is only to be constructed if the logginglevel is such that the message will actually be logged.voidLogManager.updateConfiguration(InputStream ins,Function<String,BiFunction<String, String, String>> mapper) Updates the logging configuration.voidLogManager.updateConfiguration(InputStream ins,Function<String,BiFunction<String, String, String>> mapper) Updates the logging configuration.voidLogManager.updateConfiguration(InputStream ins,Function<String,BiFunction<String, String, String>> mapper) Updates the logging configuration.voidLogManager.updateConfiguration(InputStream ins,Function<String,BiFunction<String, String, String>> mapper) Updates the logging configuration.voidLogManager.updateConfiguration(Function<String,BiFunction<String, String, String>> mapper) Updates the logging configuration.voidLogManager.updateConfiguration(Function<String,BiFunction<String, String, String>> mapper) Updates the logging configuration.voidLogManager.updateConfiguration(Function<String,BiFunction<String, String, String>> mapper) Updates the logging configuration.voidLogManager.updateConfiguration(Function<String,BiFunction<String, String, String>> mapper) Updates the logging configuration.voidLog a WARNING message, which is only to be constructed if the logginglevel is such that the message will actually be logged.Constructors injava.util.logging with parameters of typeStringModifierConstructorDescriptionFileHandler(String pattern) Initialize aFileHandlerto write to the given filename.FileHandler(String pattern, boolean append) Initialize aFileHandlerto write to the given filename,with optional append.FileHandler(String pattern, int limit, int count) Initialize aFileHandlerto write to a set of files.FileHandler(String pattern, int limit, int count, boolean append) Initialize aFileHandlerto write to a set of fileswith optional append.FileHandler(String pattern, long limit, int count, boolean append) Initialize aFileHandlerto write to a set of fileswith optional append.protectedCreate a named Level with a given integer value.protectedCreate a named Level with a given integer value and agiven localization resource name.protectedProtected method to construct a logger for a named subsystem.LoggingPermission(String name,String actions) Deprecated, for removal: This API element is subject to removal in a future version.Creates a new LoggingPermission object.Construct a LogRecord with the given level and message values.SocketHandler(String host, int port) Construct aSocketHandlerusing a specified host and port.Uses ofString injava.util.prefs
Methods injava.util.prefs that returnStringModifier and TypeMethodDescriptionAbstractPreferences.absolutePath()Implements theabsolutePathmethod as per the specification inPreferences.absolutePath().abstractStringPreferences.absolutePath()Returns this preference node's absolute path name.String[]AbstractPreferences.childrenNames()Implements thechildrenmethod as per the specification inPreferences.childrenNames().abstractString[]Preferences.childrenNames()Returns the names of the children of this preference node, relative tothis node.protected abstractString[]AbstractPreferences.childrenNamesSpi()Returns the names of the children of this preference node.Implements thegetmethod as per the specification inPreferences.get(String,String).abstractStringReturns the value associated with the specified key in this preferencenode.PreferenceChangeEvent.getKey()Returns the key of the preference that was changed.PreferenceChangeEvent.getNewValue()Returns the new value for the preference.protected abstractStringReturn the value associated with the specified key at this preferencenode, ornullif there is no association for this key, or theassociation cannot be determined at this time.String[]AbstractPreferences.keys()Implements thekeysmethod as per the specification inPreferences.keys().abstractString[]Preferences.keys()Returns all of the keys that have an associated value in thispreference node.protected abstractString[]AbstractPreferences.keysSpi()Returns all of the keys that have an associated value in thispreference node.AbstractPreferences.name()Implements thenamemethod as per the specification inPreferences.name().abstractStringPreferences.name()Returns this preference node's name, relative to its parent.AbstractPreferences.toString()Returns the absolute path name of this preferences node.abstractStringPreferences.toString()Returns a string representation of this preferences node,as if computed by the expression:(this.isUserNode() ? "User" :"System") + " Preference Node: " + this.absolutePath().Methods injava.util.prefs with parameters of typeStringModifier and TypeMethodDescriptionprotected abstractAbstractPreferencesReturns the named child of this preference node, creating it if it doesnot already exist.Implements thegetmethod as per the specification inPreferences.get(String,String).abstractStringReturns the value associated with the specified key in this preferencenode.booleanAbstractPreferences.getBoolean(String key, boolean def) Implements thegetBooleanmethod as per the specification inPreferences.getBoolean(String,boolean).abstract booleanPreferences.getBoolean(String key, boolean def) Returns the boolean value represented by the string associated with thespecified key in this preference node.byte[]AbstractPreferences.getByteArray(String key, byte[] def) Implements thegetByteArraymethod as per the specification inPreferences.getByteArray(String,byte[]).abstract byte[]Preferences.getByteArray(String key, byte[] def) Returns the byte array value represented by the string associated withthe specified key in this preference node.protectedAbstractPreferencesReturns the named child if it exists, ornullif it does not.doubleImplements thegetDoublemethod as per the specification inPreferences.getDouble(String,double).abstract doubleReturns the double value represented by the string associated with thespecified key in this preference node.floatImplements thegetFloatmethod as per the specification inPreferences.getFloat(String,float).abstract floatReturns the float value represented by the string associated with thespecified key in this preference node.intImplements thegetIntmethod as per the specification inPreferences.getInt(String,int).abstract intReturns the int value represented by the string associated with thespecified key in this preference node.longImplements thegetLongmethod as per the specification inPreferences.getLong(String,long).abstract longReturns the long value represented by the string associated with thespecified key in this preference node.protected abstractStringReturn the value associated with the specified key at this preferencenode, ornullif there is no association for this key, or theassociation cannot be determined at this time.Implements thenodemethod as per the specification inPreferences.node(String).abstractPreferencesReturns the named preference node in the same tree as this node,creating it and any of its ancestors if they do not already exist.booleanAbstractPreferences.nodeExists(String path) Implements thenodeExistsmethod as per the specification inPreferences.nodeExists(String).abstract booleanPreferences.nodeExists(String pathName) Returns true if the named preference node exists in the same treeas this node.voidImplements theputmethod as per the specification inPreferences.put(String,String).abstract voidAssociates the specified value with the specified key in thispreference node.voidAbstractPreferences.putBoolean(String key, boolean value) Implements theputBooleanmethod as per the specification inPreferences.putBoolean(String,boolean).abstract voidPreferences.putBoolean(String key, boolean value) Associates a string representing the specified boolean value with thespecified key in this preference node.voidAbstractPreferences.putByteArray(String key, byte[] value) Implements theputByteArraymethod as per the specification inPreferences.putByteArray(String,byte[]).abstract voidPreferences.putByteArray(String key, byte[] value) Associates a string representing the specified byte array with thespecified key in this preference node.voidImplements theputDoublemethod as per the specification inPreferences.putDouble(String,double).abstract voidAssociates a string representing the specified double value with thespecified key in this preference node.voidImplements theputFloatmethod as per the specification inPreferences.putFloat(String,float).abstract voidAssociates a string representing the specified float value with thespecified key in this preference node.voidImplements theputIntmethod as per the specification inPreferences.putInt(String,int).abstract voidAssociates a string representing the specified int value with thespecified key in this preference node.voidImplements theputLongmethod as per the specification inPreferences.putLong(String,long).abstract voidAssociates a string representing the specified long value with thespecified key in this preference node.protected abstract voidPut the given key-value association into this preference node.voidImplements theremove(String)method as per the specificationinPreferences.remove(String).abstract voidRemoves the value associated with the specified key in this preferencenode, if any.protected abstract voidRemove the association (if any) for the specified key at thispreference node.Constructors injava.util.prefs with parameters of typeStringModifierConstructorDescriptionprotectedAbstractPreferences(AbstractPreferences parent,String name) Creates a preference node with the specified parent and the specifiedname relative to its parent.Constructs a BackingStoreException with the specified detail message.InvalidPreferencesFormatException(String message) Constructs an InvalidPreferencesFormatException with the specifieddetail message.InvalidPreferencesFormatException(String message,Throwable cause) Constructs an InvalidPreferencesFormatException with the specifieddetail message and cause.PreferenceChangeEvent(Preferences node,String key,String newValue) Constructs a newPreferenceChangeEventinstance.Uses ofString injava.util.random
Methods injava.util.random that returnStringModifier and TypeMethodDescriptionRandomGeneratorFactory.group()Return the group name of thealgorithmused by the random number generator.RandomGeneratorFactory.name()Return the name of thealgorithmused by the random number generator.Methods injava.util.random with parameters of typeStringModifier and TypeMethodDescriptionstaticRandomGeneratorstatic <T extendsRandomGenerator>
RandomGeneratorFactory<T> Returns aRandomGeneratorFactorythat can produce instances ofRandomGeneratorthat utilize thenamealgorithm.Uses ofString injava.util.regex
Methods injava.util.regex that returnStringModifier and TypeMethodDescriptionPatternSyntaxException.getDescription()Retrieves the description of the error.PatternSyntaxException.getMessage()Returns a multi-line string containing the description of the syntaxerror and its index, the erroneous regular-expression pattern, and avisual indication of the error index within the pattern.PatternSyntaxException.getPattern()Retrieves the erroneous regular-expression pattern.Matcher.group()Returns the input subsequence matched by the previous match.Matcher.group(int group) Returns the input subsequence captured by the given group during theprevious match operation.Returns the input subsequence captured by the givennamed-capturing group during theprevious match operation.MatchResult.group()Returns the input subsequence matched by the previous match.MatchResult.group(int group) Returns the input subsequence captured by the given group during theprevious match operation.defaultStringReturns the input subsequence captured by the givennamed-capturing group during theprevious match operation.Pattern.pattern()Returns the regular expression from which this pattern was compiled.staticStringReturns a literal patternStringfor the specifiedString.staticStringMatcher.quoteReplacement(String s) Returns a literal replacementStringfor the specifiedString.Matcher.replaceAll(String replacement) Replaces every subsequence of the input sequence that matches thepattern with the given replacement string.Matcher.replaceAll(Function<MatchResult,String> replacer) Replaces every subsequence of the input sequence that matches thepattern with the result of applying the given replacer function to thematch result of this matcher corresponding to that subsequence.Matcher.replaceFirst(String replacement) Replaces the first subsequence of the input sequence that matches thepattern with the given replacement string.Matcher.replaceFirst(Function<MatchResult,String> replacer) Replaces the first subsequence of the input sequence that matches thepattern with the result of applying the given replacer function to thematch result of this matcher corresponding to that subsequence.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.splitWithDelimiters(CharSequence input, int limit) Splits the given input sequence around matches of this pattern andreturns both the strings and the matching delimiters.Matcher.toString()Returns the string representation of this matcher.Pattern.toString()Returns the string representation of this pattern.Methods injava.util.regex that return types with arguments of typeStringModifier and TypeMethodDescriptionPattern.asMatchPredicate()Creates a predicate that tests if this pattern matches a given input string.Pattern.asPredicate()Creates a predicate that tests if this pattern is found in a given inputstring.Matcher.namedGroups()Returns an unmodifiable map from capturing group names to group numbers.MatchResult.namedGroups()Returns an unmodifiable map from capturing group names to group numbers.Pattern.namedGroups()Returns an unmodifiable map from capturing group names to group numbers.Pattern.splitAsStream(CharSequence input) Creates a stream from the given input sequence around matches of thispattern.Methods injava.util.regex with parameters of typeStringModifier and TypeMethodDescriptionMatcher.appendReplacement(StringBuffer sb,String replacement) Implements a non-terminal append-and-replace step.Matcher.appendReplacement(StringBuilder sb,String replacement) Implements a non-terminal append-and-replace step.staticPatternCompiles the given regular expression into a pattern.staticPatternCompiles the given regular expression into a pattern with the givenflags.intReturns the offset after the last character of the subsequencecaptured by the givennamed-capturinggroup during the previous match operation.default intReturns the offset after the last character of the subsequencecaptured by the givennamed-capturinggroup during the previous match operation.Returns the input subsequence captured by the givennamed-capturing group during theprevious match operation.defaultStringReturns the input subsequence captured by the givennamed-capturing group during theprevious match operation.static booleanPattern.matches(String regex,CharSequence input) Compiles the given regular expression and attempts to match the giveninput against it.staticStringReturns a literal patternStringfor the specifiedString.staticStringMatcher.quoteReplacement(String s) Returns a literal replacementStringfor the specifiedString.Matcher.replaceAll(String replacement) Replaces every subsequence of the input sequence that matches thepattern with the given replacement string.Matcher.replaceFirst(String replacement) Replaces the first subsequence of the input sequence that matches thepattern with the given replacement string.intReturns the start index of the subsequence captured by the givennamed-capturing group during theprevious match operation.default intReturns the start index of the subsequence captured by the givennamed-capturing group during theprevious match operation.Method parameters injava.util.regex with type arguments of typeStringModifier and TypeMethodDescriptionMatcher.replaceAll(Function<MatchResult,String> replacer) Replaces every subsequence of the input sequence that matches thepattern with the result of applying the given replacer function to thematch result of this matcher corresponding to that subsequence.Matcher.replaceFirst(Function<MatchResult,String> replacer) Replaces the first subsequence of the input sequence that matches thepattern with the result of applying the given replacer function to thematch result of this matcher corresponding to that subsequence.Constructors injava.util.regex with parameters of typeStringModifierConstructorDescriptionPatternSyntaxException(String desc,String regex, int index) Constructs a new instance of this class.Uses ofString injava.util.spi
Methods injava.util.spi that returnStringModifier and TypeMethodDescriptionabstractStringLocaleNameProvider.getDisplayCountry(String countryCode,Locale locale) Returns a localized name for the givenIETF BCP47 region code (either ISO 3166 country code or UN M.49 areacodes) and the given locale that is appropriate for display to the user.abstractStringLocaleNameProvider.getDisplayLanguage(String languageCode,Locale locale) Returns a localized name for the givenIETF BCP47 language code and the given locale that is appropriate fordisplay to the user.abstractStringCalendarNameProvider.getDisplayName(String calendarType, int field, int value, int style,Locale locale) Returns the string representation (display name) of the calendarfield valuein the givenstyleandlocale.CurrencyNameProvider.getDisplayName(String currencyCode,Locale locale) Returns a name for the currency that is appropriate for display to theuser.abstractStringTimeZoneNameProvider.getDisplayName(String ID, boolean daylight, int style,Locale locale) Returns a name for the given time zone ID that's suitable forpresentation to the user in the specified locale.LocaleNameProvider.getDisplayScript(String scriptCode,Locale locale) Returns a localized name for the givenIETF BCP47 script code and the given locale that is appropriate fordisplay to the user.LocaleNameProvider.getDisplayUnicodeExtensionKey(String key,Locale locale) Returns a localized name for the givenUnicode extension key,and the given locale that is appropriate for display to the user.LocaleNameProvider.getDisplayUnicodeExtensionType(String type,String key,Locale locale) Returns a localized name for the givenUnicode extension type,and the given locale that is appropriate for display to the user.abstractStringLocaleNameProvider.getDisplayVariant(String variant,Locale locale) Returns a localized name for the given variant code and the given locale thatis appropriate for display to the user.TimeZoneNameProvider.getGenericDisplayName(String ID, int style,Locale locale) Returns a generic name for the given time zoneIDthat's suitablefor presentation to the user in the specifiedlocale.abstractStringGets the symbol of the given currency code for the specified locale.ToolProvider.name()Returns the name of this tool provider.protectedStringAbstractResourceBundleProvider.toBundleName(String baseName,Locale locale) Returns the bundle name for the givenbaseNameandlocalethat this provider provides.Methods injava.util.spi that return types with arguments of typeStringModifier and TypeMethodDescriptionToolProvider.description()Returns a short description of the tool, or an emptyOptionalif no description is available.CalendarNameProvider.getDisplayNames(String calendarType, int field, int style,Locale locale) Returns aMapcontaining all string representations (displaynames) of theCalendarfieldin the givenstyleandlocaleand their corresponding field values.Methods injava.util.spi with parameters of typeStringModifier and TypeMethodDescriptionstaticOptional<ToolProvider> Returns the first instance of aToolProviderwith the given name,as loaded byServiceLoaderusing the system class loader.Returns aResourceBundlefor the givenbaseNameandlocale.Returns aResourceBundlefor the given bundle name and locale.ResourceBundleControlProvider.getControl(String baseName) Returns aResourceBundle.Controlinstance that is usedto handle resource bundle loading for the givenbaseName.abstractStringLocaleNameProvider.getDisplayCountry(String countryCode,Locale locale) Returns a localized name for the givenIETF BCP47 region code (either ISO 3166 country code or UN M.49 areacodes) and the given locale that is appropriate for display to the user.abstractStringLocaleNameProvider.getDisplayLanguage(String languageCode,Locale locale) Returns a localized name for the givenIETF BCP47 language code and the given locale that is appropriate fordisplay to the user.abstractStringCalendarNameProvider.getDisplayName(String calendarType, int field, int value, int style,Locale locale) Returns the string representation (display name) of the calendarfield valuein the givenstyleandlocale.CurrencyNameProvider.getDisplayName(String currencyCode,Locale locale) Returns a name for the currency that is appropriate for display to theuser.abstractStringTimeZoneNameProvider.getDisplayName(String ID, boolean daylight, int style,Locale locale) Returns a name for the given time zone ID that's suitable forpresentation to the user in the specified locale.CalendarNameProvider.getDisplayNames(String calendarType, int field, int style,Locale locale) Returns aMapcontaining all string representations (displaynames) of theCalendarfieldin the givenstyleandlocaleand their corresponding field values.LocaleNameProvider.getDisplayScript(String scriptCode,Locale locale) Returns a localized name for the givenIETF BCP47 script code and the given locale that is appropriate fordisplay to the user.LocaleNameProvider.getDisplayUnicodeExtensionKey(String key,Locale locale) Returns a localized name for the givenUnicode extension key,and the given locale that is appropriate for display to the user.LocaleNameProvider.getDisplayUnicodeExtensionType(String type,String key,Locale locale) Returns a localized name for the givenUnicode extension type,and the given locale that is appropriate for display to the user.abstractStringLocaleNameProvider.getDisplayVariant(String variant,Locale locale) Returns a localized name for the given variant code and the given locale thatis appropriate for display to the user.TimeZoneNameProvider.getGenericDisplayName(String ID, int style,Locale locale) Returns a generic name for the given time zoneIDthat's suitablefor presentation to the user in the specifiedlocale.abstractStringGets the symbol of the given currency code for the specified locale.default intToolProvider.run(PrintStream out,PrintStream err,String... args) Runs an instance of the tool, returning zero for a successful run.intToolProvider.run(PrintWriter out,PrintWriter err,String... args) Runs an instance of the tool, returning zero for a successful run.protectedStringAbstractResourceBundleProvider.toBundleName(String baseName,Locale locale) Returns the bundle name for the givenbaseNameandlocalethat this provider provides.Constructors injava.util.spi with parameters of typeStringModifierConstructorDescriptionprotectedAbstractResourceBundleProvider(String... formats) Constructs anAbstractResourceBundleProviderwith the specifiedformats.Uses ofString injava.util.stream
Methods injava.util.stream that return types with arguments of typeStringModifier and TypeMethodDescriptionstaticCollector<CharSequence, ?,String> Collectors.joining()Returns aCollectorthat concatenates the input elements into aString, in encounter order.staticCollector<CharSequence, ?,String> Collectors.joining(CharSequence delimiter) Returns aCollectorthat concatenates the input elements,separated by the specified delimiter, in encounter order.staticCollector<CharSequence, ?,String> Collectors.joining(CharSequence delimiter,CharSequence prefix,CharSequence suffix) Returns aCollectorthat concatenates the input elements,separated by the specified delimiter, with the specified prefix andsuffix, in encounter order.Methods injava.util.stream with parameters of typeStringModifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.Uses ofString injava.util.zip
Methods injava.util.zip that returnStringModifier and TypeMethodDescriptionZipEntry.getComment()Returns the comment string for the entry.ZipFile.getComment()Returns the ZIP file comment.ZipEntry.getName()Returns the name of the entry.ZipFile.getName()Returns the path name of the ZIP file.ZipEntry.toString()Returns a string representation of the ZIP entry.ZipFile.toString()Returns a string identifying thisZipFile, for debugging.Methods injava.util.zip with parameters of typeStringModifier and TypeMethodDescriptionprotectedZipEntryZipInputStream.createZipEntry(String name) Creates a newZipEntryobject for the specifiedentry name.Returns the ZIP file entry for the specified name, or nullif not found.voidZipEntry.setComment(String comment) Sets the optional comment string for the entry.voidZipOutputStream.setComment(String comment) Sets the ZIP file comment.Constructors injava.util.zip with parameters of typeStringModifierConstructorDescriptionConstructs a DataFormatException with the specified detail message.Creates a new ZIP entry with the specified name.Deprecated, for removal: This API element is subject to removal in a future version.Constructs a ZipError with the given detail message.Constructs aZipExceptionwith the specified detailmessage.Opens a ZIP file for reading.Opens a ZIP file for reading.Uses ofString injavax.accessibility
Fields injavax.accessibility declared asStringModifier and TypeFieldDescriptionstatic finalStringAccessibleContext.ACCESSIBLE_ACTION_PROPERTYConstant used to indicate that the supported set of actions has changed.static finalStringAccessibleContext.ACCESSIBLE_ACTIVE_DESCENDANT_PROPERTYConstant used to determine when the active descendant of a component haschanged.static finalStringAccessibleContext.ACCESSIBLE_CARET_PROPERTYConstant used to determine when theaccessibleTextcaret haschanged.static finalStringAccessibleContext.ACCESSIBLE_CHILD_PROPERTYConstant used to determine whenAccessiblechildren areadded/removed from the object.static finalStringAccessibleContext.ACCESSIBLE_COMPONENT_BOUNDS_CHANGEDPropertyChangeEventwhich indicates that a change has occurred ina component's bounds.static finalStringAccessibleContext.ACCESSIBLE_DESCRIPTION_PROPERTYConstant used to determine when theAccessibleContext.accessibleDescriptionproperty has changed.static finalStringAccessibleContext.ACCESSIBLE_HYPERTEXT_OFFSETConstant used to indicate that a hypertext element has received focus.static finalStringAccessibleContext.ACCESSIBLE_INVALIDATE_CHILDRENPropertyChangeEventwhich indicates that a significant change hasoccurred to the children of a component like a tree or text.static finalStringAccessibleContext.ACCESSIBLE_NAME_PROPERTYConstant used to determine when theAccessibleContext.accessibleNameproperty haschanged.static finalStringAccessibleContext.ACCESSIBLE_SELECTION_PROPERTYConstant used to determine when theaccessibleSelectionhaschanged.static finalStringAccessibleContext.ACCESSIBLE_STATE_PROPERTYConstant used to determine when theaccessibleStateSetpropertyhas changed.static finalStringAccessibleContext.ACCESSIBLE_TABLE_CAPTION_CHANGEDConstant used to indicate that the table caption has changed.static finalStringAccessibleContext.ACCESSIBLE_TABLE_COLUMN_DESCRIPTION_CHANGEDConstant used to indicate that the column description has changed.static finalStringAccessibleContext.ACCESSIBLE_TABLE_COLUMN_HEADER_CHANGEDConstant used to indicate that the column header has changed.static finalStringAccessibleContext.ACCESSIBLE_TABLE_MODEL_CHANGEDConstant used to indicate that table data has changed.static finalStringAccessibleContext.ACCESSIBLE_TABLE_ROW_DESCRIPTION_CHANGEDConstant used to indicate that the row description has changed.static finalStringAccessibleContext.ACCESSIBLE_TABLE_ROW_HEADER_CHANGEDConstant used to indicate that the row header has changed.static finalStringAccessibleContext.ACCESSIBLE_TABLE_SUMMARY_CHANGEDConstant used to indicate that the table summary has changed.static finalStringAccessibleContext.ACCESSIBLE_TEXT_ATTRIBUTES_CHANGEDPropertyChangeEventwhich indicates that text attributes havechanged.static finalStringAccessibleContext.ACCESSIBLE_TEXT_PROPERTYPropertyChangeEventwhich indicates that text has changed.static finalStringAccessibleContext.ACCESSIBLE_VALUE_PROPERTYConstant used to determine when theaccessibleValueproperty haschanged.static finalStringAccessibleContext.ACCESSIBLE_VISIBLE_DATA_PROPERTYConstant used to determine when the visual appearance of the object haschanged.protectedStringAccessibleContext.accessibleDescriptionA localized String containing the description of the object.protectedStringAccessibleContext.accessibleNameA localized String containing the name of the object.static finalStringAccessibleRelation.CHILD_NODE_OFIndicates that an object is a child node of one or more objects.static finalStringAccessibleRelation.CHILD_NODE_OF_PROPERTYIndicates theCHILD_NODE_OFrelation between two or more objectshas changed.static finalStringAccessibleAction.CLICKAn action which causes a component to execute its default action.static finalStringAccessibleRelation.CONTROLLED_BYIndicates an object is controlled by one or more target objects.static finalStringAccessibleRelation.CONTROLLED_BY_PROPERTYIdentifies that the target object that is doing the controlling haschanged.static finalStringAccessibleRelation.CONTROLLER_FORIndicates an object is a controller for one or more target objects.static finalStringAccessibleRelation.CONTROLLER_FOR_PROPERTYIdentifies that the controller for the target object has changed.static finalStringAccessibleAction.DECREMENTAn action which decrements a value.static finalStringAccessibleRelation.EMBEDDED_BYIndicates that an object is embedded in one or more objects.static finalStringAccessibleRelation.EMBEDDED_BY_PROPERTYIndicates theEMBEDDED_BYrelation between two or more objectshas changed.static finalStringAccessibleRelation.EMBEDSIndicates that an object has one or more objects embedded in it.static finalStringAccessibleRelation.EMBEDS_PROPERTYIndicates theEMBEDSrelation between two or more objects haschanged.static finalStringAccessibleRelation.FLOWS_FROMIndicates an object is logically contiguous with a second object wherethe second object occurs before the object.static finalStringAccessibleRelation.FLOWS_FROM_PROPERTYIndicates theFLOWS_FROMrelation between two objects haschanged.static finalStringAccessibleRelation.FLOWS_TOIndicates an object is logically contiguous with a second object wherethe second object occurs after the object.static finalStringAccessibleRelation.FLOWS_TO_PROPERTYIndicates theFLOWS_TOrelation between two objects has changed.static finalStringAccessibleAction.INCREMENTAn action which increments a value.protectedStringAccessibleBundle.keyThe locale independent name of the state.static finalStringAccessibleRelation.LABEL_FORIndicates an object is a label for one or more target objects.static finalStringAccessibleRelation.LABEL_FOR_PROPERTYIdentifies that the target group for a label has changed.static finalStringAccessibleRelation.LABELED_BYIndicates an object is labeled by one or more target objects.static finalStringAccessibleRelation.LABELED_BY_PROPERTYIdentifies that the objects that are doing the labeling have changed.static finalStringAccessibleRelation.MEMBER_OFIndicates an object is a member of a group of one or more target objects.static finalStringAccessibleRelation.MEMBER_OF_PROPERTYIdentifies that group membership has changed.static finalStringAccessibleRelation.PARENT_WINDOW_OFIndicates that an object is a parent window of one or more objects.static finalStringAccessibleRelation.PARENT_WINDOW_OF_PROPERTYIndicates thePARENT_WINDOW_OFrelation between two or moreobjects has changed.static finalStringAccessibleRelation.SUBWINDOW_OFIndicates that an object is a subwindow of one or more objects.static finalStringAccessibleRelation.SUBWINDOW_OF_PROPERTYIndicates theSUBWINDOW_OFrelation between two or more objectshas changed.AccessibleTextSequence.textThe text.static finalStringAccessibleAction.TOGGLE_EXPANDAn action which causes a tree node to collapse if expanded and expand ifcollapsed.static finalStringAccessibleAction.TOGGLE_POPUPAn action which causes a popup to become visible if it is hidden andhidden if it is visible.Methods injavax.accessibility that returnStringModifier and TypeMethodDescriptionAccessibleAction.getAccessibleActionDescription(int i) Returns a description of the specified action of the object.abstractStringAccessibleHyperlink.getAccessibleActionDescription(int i) Returns a string description of this particular link action.AccessibleContext.getAccessibleDescription()Gets theaccessibleDescriptionproperty of this object.AccessibleIcon.getAccessibleIconDescription()Gets the description of the icon.AccessibleContext.getAccessibleName()Gets theaccessibleNameproperty of this object.AccessibleText.getAfterIndex(int part, int index) Returns theStringafter a given index.AccessibleText.getAtIndex(int part, int index) Returns theStringat a given index.AccessibleText.getBeforeIndex(int part, int index) Returns theStringbefore a given index.AccessibleRelation.getKey()Returns the key for this relation.abstractStringAccessibilityProvider.getName()Returns the name of this service provider.AccessibleText.getSelectedText()Returns the portion of the text that is selected.AccessibleEditableText.getTextRange(int startIndex, int endIndex) Returns the text string between two indices.AccessibleExtendedText.getTextRange(int startIndex, int endIndex) Returns the text between two indices.AccessibleExtendedComponent.getTitledBorderText()Returns the titled border text.AccessibleExtendedComponent.getToolTipText()Returns the tool tip text.AccessibleBundle.toDisplayString()Gets localized string describing the key using the default locale.protectedStringAccessibleBundle.toDisplayString(String name,Locale locale) Obtains the key as a localized string.AccessibleBundle.toDisplayString(Locale locale) Obtains the key as a localized string.AccessibleBundle.toString()Gets localized string describing the key using the default locale.AccessibleRelationSet.toString()Creates a localized string representing all the relations in the setusing the default locale.AccessibleStateSet.toString()Creates a localized string representing all the states in the set usingthe default locale.Methods injavax.accessibility with parameters of typeStringModifier and TypeMethodDescriptionbooleanReturns whether the relation set contains a relation that matches thespecified key.voidAccessibleContext.firePropertyChange(String propertyName,Object oldValue,Object newValue) Support for reporting bound property changes.Returns the relation that matches the specified key.voidAccessibleEditableText.insertTextAtIndex(int index,String s) Inserts the specified string at the given index.voidAccessibleEditableText.replaceText(int startIndex, int endIndex,String s) Replaces the text between two indices with the specified string.voidAccessibleContext.setAccessibleDescription(String s) Sets the accessible description of this object.voidAccessibleIcon.setAccessibleIconDescription(String description) Sets the description of the icon.voidAccessibleContext.setAccessibleName(String s) Sets the localized accessible name of this object.voidAccessibleEditableText.setTextContents(String s) Sets the text contents to the specified string.protectedStringAccessibleBundle.toDisplayString(String name,Locale locale) Obtains the key as a localized string.Constructors injavax.accessibility with parameters of typeStringModifierConstructorDescriptionAccessibleRelation(String key) Create a newAccessibleRelationusing the given localeindependent key.AccessibleRelation(String key,Object target) Creates a newAccessibleRelationusing the given localeindependent key.AccessibleRelation(String key,Object[] target) Creates a newAccessibleRelationusing the given localeindependent key.protectedAccessibleRole(String key) Creates a newAccessibleRoleusing the given locale independentkey.protectedAccessibleState(String key) Creates a newAccessibleStateusing the given locale independentkey.AccessibleTextSequence(int start, int end,String txt) Constructs anAccessibleTextSequencewith the given parameters.Uses ofString injavax.annotation.processing
Methods injavax.annotation.processing that returnStringModifier and TypeMethodDescriptionCompletion.getMessage()Returns an informative message about the completion.Completion.getValue()Returns the text of the suggested completion.Methods injavax.annotation.processing that return types with arguments of typeStringModifier and TypeMethodDescriptionProcessingEnvironment.getOptions()Returns the processor-specific options passed to the annotationprocessing tool.ProcessingEnvironment.getOptions()Returns the processor-specific options passed to the annotationprocessing tool.AbstractProcessor.getSupportedAnnotationTypes()Returns the names of the annotation interfaces supported by this processor.Processor.getSupportedAnnotationTypes()Returns the names of the annotation interfaces supported by thisprocessor.AbstractProcessor.getSupportedOptions()Returns the options recognized by this processor.Processor.getSupportedOptions()Returns the options recognized by this processor.Methods injavax.annotation.processing with parameters of typeStringModifier and TypeMethodDescriptionIterable<? extendsCompletion> AbstractProcessor.getCompletions(Element element,AnnotationMirror annotation,ExecutableElement member,String userText) Returns an empty iterable of completions.Iterable<? extendsCompletion> Processor.getCompletions(Element element,AnnotationMirror annotation,ExecutableElement member,String userText) Returns to the tool infrastructure an iterable of suggestedcompletions to an annotation.staticCompletionReturns a completion of the value and an empty message.staticCompletionReturns a completion of the value and message.Constructors injavax.annotation.processing with parameters of typeStringModifierConstructorDescriptionConstructs an exception with the specified detail message.Uses ofString injavax.crypto
Methods injavax.crypto that returnStringModifier and TypeMethodDescriptionEncryptedPrivateKeyInfo.getAlgName()Returns the encryption algorithm.finalStringCipher.getAlgorithm()Returns the algorithm name of thisCipherobject.KDF.getAlgorithm()Returns the algorithm name of thisKDFobject.KEM.getAlgorithm()Returns the name of the algorithm for thisKEMobject.finalStringKeyAgreement.getAlgorithm()Returns the algorithm name of thisKeyAgreementobject.finalStringKeyGenerator.getAlgorithm()Returns the algorithm name of thisKeyGeneratorobject.finalStringMac.getAlgorithm()Returns the algorithm name of thisMacobject.finalStringSealedObject.getAlgorithm()Returns the algorithm that was used to seal this object.finalStringSecretKeyFactory.getAlgorithm()Returns the algorithm name of thisSecretKeyFactoryobject.finalStringExemptionMechanism.getName()Returns the exemption mechanism name of thisExemptionMechanismobject.KDF.getProviderName()Returns the name of the provider.KEM.Decapsulator.providerName()Returns the name of the provider.KEM.Encapsulator.providerName()Returns the name of the provider.Cipher.toString()Returns aStringrepresentation of thisCipherobject.Methods injavax.crypto with parameters of typeStringModifier and TypeMethodDescriptionKEM.Decapsulator.decapsulate(byte[] encapsulation, int from, int to,String algorithm) The key decapsulation function.KDF.deriveKey(String alg,AlgorithmParameterSpec derivationSpec) Derives a key, returned as aSecretKeyobject.KEM.Encapsulator.encapsulate(int from, int to,String algorithm) The key encapsulation function.staticEncryptedPrivateKeyInfoEncryptedPrivateKeyInfo.encryptKey(PrivateKey key, char[] password,String algorithm,AlgorithmParameterSpec params,Provider provider) Preview.Creates and encrypts anEncryptedPrivateKeyInfofrom a givenPrivateKey.staticEncryptedPrivateKeyInfoEncryptedPrivateKeyInfo.encryptKey(PrivateKey key,Key encKey,String algorithm,AlgorithmParameterSpec params,Provider provider,SecureRandom random) Preview.Creates and encrypts anEncryptedPrivateKeyInfofrom the givenPrivateKeyusing theencKeyand given parameters.KEMSpi.DecapsulatorSpi.engineDecapsulate(byte[] encapsulation, int from, int to,String algorithm) The key decapsulation function.protected abstractSecretKeyKDFSpi.engineDeriveKey(String alg,AlgorithmParameterSpec derivationSpec) Derives a key, returned as aSecretKeyobject.KEMSpi.EncapsulatorSpi.engineEncapsulate(int from, int to,String algorithm) The key encapsulation function.protected abstractSecretKeyKeyAgreementSpi.engineGenerateSecret(String algorithm) Creates the shared secret and returns it as a secret key objectof the requested algorithm type.protected abstract voidCipherSpi.engineSetMode(String mode) Sets the mode of this cipher.protected abstract voidCipherSpi.engineSetPadding(String padding) Sets the padding mechanism of this cipher.protectedKeyCipherSpi.engineUnwrap(byte[] wrappedKey,String wrappedKeyAlgorithm, int wrappedKeyType) Unwrap a previously wrapped key.finalSecretKeyKeyAgreement.generateSecret(String algorithm) Creates the shared secret and returns it as aSecretKeyobject of the specified algorithm.static finalCipherCipher.getInstance(String transformation) Returns aCipherobject that implements the specifiedtransformation.static finalCipherCipher.getInstance(String transformation,String provider) Returns aCipherobject that implements the specifiedtransformation.static finalCipherCipher.getInstance(String transformation,Provider provider) Returns aCipherobject that implements the specifiedtransformation.static finalExemptionMechanismExemptionMechanism.getInstance(String algorithm) Returns anExemptionMechanismobject that implements thespecified exemption mechanism algorithm.static finalExemptionMechanismExemptionMechanism.getInstance(String algorithm,String provider) Returns anExemptionMechanismobject that implements thespecified exemption mechanism algorithm.static finalExemptionMechanismExemptionMechanism.getInstance(String algorithm,Provider provider) Returns anExemptionMechanismobject that implements thespecified exemption mechanism algorithm.staticKDFKDF.getInstance(String algorithm) Returns aKDFobject that implements the specified algorithm.staticKDFKDF.getInstance(String algorithm,String provider) Returns aKDFobject that implements the specified algorithm fromthe specified security provider.staticKDFKDF.getInstance(String algorithm,Provider provider) Returns aKDFobject that implements the specified algorithm fromthe specified security provider.staticKDFKDF.getInstance(String algorithm,KDFParameters kdfParameters) Returns aKDFobject that implements the specified algorithm andis initialized with the specified parameters.staticKDFKDF.getInstance(String algorithm,KDFParameters kdfParameters,String provider) Returns aKDFobject that implements the specified algorithm fromthe specified provider and is initialized with the specified parameters.staticKDFKDF.getInstance(String algorithm,KDFParameters kdfParameters,Provider provider) Returns aKDFobject that implements the specified algorithm fromthe specified provider and is initialized with the specified parameters.staticKEMKEM.getInstance(String algorithm) Returns aKEMobject that implements the specified algorithm.staticKEMKEM.getInstance(String algorithm,String provider) Returns aKEMobject that implements the specified algorithmfrom the specified security provider.staticKEMKEM.getInstance(String algorithm,Provider provider) Returns aKEMobject that implements the specified algorithmfrom the specified security provider.static finalKeyAgreementKeyAgreement.getInstance(String algorithm) Returns aKeyAgreementobject that implements thespecified key agreement algorithm.static finalKeyAgreementKeyAgreement.getInstance(String algorithm,String provider) Returns aKeyAgreementobject that implements thespecified key agreement algorithm.static finalKeyAgreementKeyAgreement.getInstance(String algorithm,Provider provider) Returns aKeyAgreementobject that implements thespecified key agreement algorithm.static finalKeyGeneratorKeyGenerator.getInstance(String algorithm) Returns aKeyGeneratorobject that generates secret keysfor the specified algorithm.static finalKeyGeneratorKeyGenerator.getInstance(String algorithm,String provider) Returns aKeyGeneratorobject that generates secret keysfor the specified algorithm.static finalKeyGeneratorKeyGenerator.getInstance(String algorithm,Provider provider) Returns aKeyGeneratorobject that generates secret keysfor the specified algorithm.static finalMacMac.getInstance(String algorithm) Returns aMacobject that implements thespecified MAC algorithm.static finalMacMac.getInstance(String algorithm,String provider) Returns aMacobject that implements thespecified MAC algorithm.static finalMacMac.getInstance(String algorithm,Provider provider) Returns aMacobject that implements thespecified MAC algorithm.static finalSecretKeyFactorySecretKeyFactory.getInstance(String algorithm) Returns aSecretKeyFactoryobject that convertssecret keys of the specified algorithm.static finalSecretKeyFactorySecretKeyFactory.getInstance(String algorithm,String provider) Returns aSecretKeyFactoryobject that convertssecret keys of the specified algorithm.static finalSecretKeyFactorySecretKeyFactory.getInstance(String algorithm,Provider provider) Returns aSecretKeyFactoryobject that convertssecret keys of the specified algorithm.EncryptedPrivateKeyInfo.getKeySpec(Key decryptKey,String providerName) Extract the enclosed PKCS8EncodedKeySpec object from theencrypted data and return it.static final intCipher.getMaxAllowedKeyLength(String transformation) Returns the maximum key length for the specified transformationaccording to the installed JCE jurisdiction policy files.static finalAlgorithmParameterSpecCipher.getMaxAllowedParameterSpec(String transformation) Returns an {code AlgorithmParameterSpec} object which containsthe maximumCipherparameter value according to thejurisdiction policy file.finalObjectRetrieves the original (encapsulated) object.finalKeyUnwrap a previously wrapped key.Constructors injavax.crypto with parameters of typeStringModifierConstructorDescriptionConstructs anAEADBadTagExceptionwith the specifieddetail message.Constructs aBadPaddingExceptionwith the specifieddetail message.protectedCreates aCipherobject.DecapsulateException(String message) Creates aDecapsulateExceptionwith the specifieddetail message.DecapsulateException(String message,Throwable cause) Creates aDecapsulateExceptionwith the specifieddetail message and cause.EncryptedPrivateKeyInfo(String algName, byte[] encryptedData) Constructs anEncryptedPrivateKeyInfofrom theencryption algorithm name and the encrypted data.protectedExemptionMechanism(ExemptionMechanismSpi exmechSpi,Provider provider,String mechanism) Creates anExemptionMechanismobject.Constructs anExemptionMechanismExceptionwith the specifieddetailed message.Constructs anIllegalBlockSizeExceptionwith the specifieddetail message.protectedKeyAgreement(KeyAgreementSpi keyAgreeSpi,Provider provider,String algorithm) Creates aKeyAgreementobject.protectedKeyGenerator(KeyGeneratorSpi keyGenSpi,Provider provider,String algorithm) Creates aKeyGeneratorobject.protectedCreates a MAC object.Constructs aNoSuchPaddingExceptionwith the specifieddetail message.protectedSecretKeyFactory(SecretKeyFactorySpi keyFacSpi,Provider provider,String algorithm) Creates aSecretKeyFactoryobject.Constructs aShortBufferExceptionwith the specifieddetail message.Uses ofString injavax.crypto.spec
Methods injavax.crypto.spec that returnStringModifier and TypeMethodDescriptionPSource.getAlgorithm()Returns the PSource algorithm name.SecretKeySpec.getAlgorithm()Returns the name of the algorithm associated with this secret key.OAEPParameterSpec.getDigestAlgorithm()Returns the message digest algorithm name.SecretKeySpec.getFormat()Returns the name of the encoding format for this secret key.OAEPParameterSpec.getMGFAlgorithm()Returns the mask generation function algorithm name.Constructors injavax.crypto.spec with parameters of typeStringModifierConstructorDescriptionOAEPParameterSpec(String mdName,String mgfName,AlgorithmParameterSpec mgfSpec,PSource pSrc) Constructs a parameter set for OAEP padding as defined inthe PKCS #1 standard using the specified message digestalgorithmmdName, mask generation functionalgorithmmgfName, parameters for the maskgeneration functionmgfSpec, and source ofthe encoding input PpSrc.protectedConstructs a source of the encoding input P for OAEPpadding as defined in the PKCS #1 standard using thespecified PSource algorithm.SecretKeySpec(byte[] key, int offset, int len,String algorithm) Constructs a secret key from the given byte array, using the firstlenbytes ofkey, starting atoffsetinclusive.SecretKeySpec(byte[] key,String algorithm) Constructs a secret key from the given byte array.Uses ofString injavax.imageio
Fields injavax.imageio declared asStringModifier and TypeFieldDescriptionprotectedStringImageWriteParam.compressionTypeAStringcontaining the name of the currentcompression type, ornullif none is set.protectedString[]ImageWriteParam.compressionTypesAn array ofStrings containing the names of theavailable compression types.Methods injavax.imageio that returnStringModifier and TypeMethodDescriptionString[]ImageWriteParam.getCompressionQualityDescriptions()Returns an array ofStrings that may be used alongwithgetCompressionQualityValuesas part of a userinterface for setting or displaying the compression qualitylevel.ImageWriteParam.getCompressionType()Returns the currently set compression type, ornullif none has been set.String[]ImageWriteParam.getCompressionTypes()Returns a list of available compression types, as an array orStrings, ornullif a compressiontype may not be chosen using these interfaces.ImageReader.getFormatName()Returns aStringidentifying the format of theinput source.ImageWriteParam.getLocalizedCompressionTypeName()Returns a localized version of the name of the currentcompression type, using theLocalereturned bygetLocale.staticString[]ImageIO.getReaderFileSuffixes()Returns an array ofStrings listing all of thefile suffixes associated with the formats understoodby the current set of registered readers.staticString[]ImageIO.getReaderFormatNames()Returns an array ofStrings listing all of theinformal format names understood by the current set of registeredreaders.staticString[]ImageIO.getReaderMIMETypes()Returns an array ofStrings listing all of theMIME types understood by the current set of registeredreaders.staticString[]ImageIO.getWriterFileSuffixes()Returns an array ofStrings listing all of thefile suffixes associated with the formats understoodby the current set of registered writers.staticString[]ImageIO.getWriterFormatNames()Returns an array ofStrings listing all of theinformal format names understood by the current set of registeredwriters.staticString[]ImageIO.getWriterMIMETypes()Returns an array ofStrings listing all of theMIME types understood by the current set of registeredwriters.Methods injavax.imageio with parameters of typeStringModifier and TypeMethodDescriptionImageReader.getImageMetadata(int imageIndex,String formatName,Set<String> nodeNames) Returns anIIOMetadataobject representing themetadata associated with the given image, ornullif the reader does not support reading metadata or noneis available.staticIterator<ImageReader> ImageIO.getImageReadersByFormatName(String formatName) Returns anIteratorcontaining all currentlyregisteredImageReaders that claim to be able todecode the named format.staticIterator<ImageReader> ImageIO.getImageReadersByMIMEType(String MIMEType) Returns anIteratorcontaining all currentlyregisteredImageReaders that claim to be able todecode files with the given MIME type.staticIterator<ImageReader> ImageIO.getImageReadersBySuffix(String fileSuffix) Returns anIteratorcontaining all currentlyregisteredImageReaders that claim to be able todecode files with the given suffix.staticIterator<ImageWriter> ImageIO.getImageWriters(ImageTypeSpecifier type,String formatName) Returns anIteratorcontaining all currentlyregisteredImageWriters that claim to be able toencode images of the given layout (specified using anImageTypeSpecifier) in the given format.staticIterator<ImageWriter> ImageIO.getImageWritersByFormatName(String formatName) Returns anIteratorcontaining all currentlyregisteredImageWriters that claim to be able toencode the named format.staticIterator<ImageWriter> ImageIO.getImageWritersByMIMEType(String MIMEType) Returns anIteratorcontaining all currentlyregisteredImageWriters that claim to be able toencode files with the given MIME type.staticIterator<ImageWriter> ImageIO.getImageWritersBySuffix(String fileSuffix) Returns anIteratorcontaining all currentlyregisteredImageWriters that claim to be able toencode files with the given suffix.ImageReader.getStreamMetadata(String formatName,Set<String> nodeNames) Returns anIIOMetadataobject representing themetadata associated with the input source as a whole (i.e.,not associated with any particular image).protected voidImageReader.processWarningOccurred(String warning) Broadcasts a warning message to all registeredIIOReadWarningListeners by calling theirwarningOccurredmethod.protected voidImageReader.processWarningOccurred(String baseName,String keyword) Broadcasts a localized warning message to all registeredIIOReadWarningListeners by calling theirwarningOccurredmethod with a string takenfrom aResourceBundle.protected voidImageWriter.processWarningOccurred(int imageIndex,String warning) Broadcasts a warning message to all registeredIIOWriteWarningListeners by calling theirwarningOccurredmethod.protected voidImageWriter.processWarningOccurred(int imageIndex,String baseName,String keyword) Broadcasts a localized warning message to all registeredIIOWriteWarningListeners by calling theirwarningOccurredmethod with a string takenfrom aResourceBundle.voidImageWriteParam.setCompressionType(String compressionType) Sets the compression type to one of the values indicated bygetCompressionTypes.static booleanImageIO.write(RenderedImage im,String formatName,File output) Writes an image using an arbitraryImageWriterthat supports the given format to aFile.static booleanImageIO.write(RenderedImage im,String formatName,OutputStream output) Writes an image using an arbitraryImageWriterthat supports the given format to anOutputStream.static booleanImageIO.write(RenderedImage im,String formatName,ImageOutputStream output) Writes an image using an arbitraryImageWriterthat supports the given format to anImageOutputStream.Method parameters injavax.imageio with type arguments of typeStringModifier and TypeMethodDescriptionImageReader.getImageMetadata(int imageIndex,String formatName,Set<String> nodeNames) Returns anIIOMetadataobject representing themetadata associated with the given image, ornullif the reader does not support reading metadata or noneis available.ImageReader.getStreamMetadata(String formatName,Set<String> nodeNames) Returns anIIOMetadataobject representing themetadata associated with the input source as a whole (i.e.,not associated with any particular image).Constructors injavax.imageio with parameters of typeStringModifierConstructorDescriptionIIOException(String message) Constructs anIIOExceptionwith a given messageString.IIOException(String message,Throwable cause) Constructs anIIOExceptionwith a given messageStringand aThrowablethat was itsunderlying cause.Uses ofString injavax.imageio.event
Methods injavax.imageio.event with parameters of typeStringModifier and TypeMethodDescriptionvoidIIOReadWarningListener.warningOccurred(ImageReader source,String warning) Reports the occurrence of a non-fatal error in decoding.voidIIOWriteWarningListener.warningOccurred(ImageWriter source, int imageIndex,String warning) Reports the occurrence of a non-fatal error in encoding.Uses ofString injavax.imageio.metadata
Fields injavax.imageio.metadata declared asStringModifier and TypeFieldDescriptionprotectedString[]IIOMetadata.extraMetadataFormatClassNamesAn array of names of classes implementingIIOMetadataFormatand representing the metadata formats, other than the standard andnative formats, that are supported by this plug-in,initialized tonulland set via the constructor.protectedString[]IIOMetadata.extraMetadataFormatNamesAn array of names of formats, other than the standard andnative formats, that are supported by this plug-in,initialized tonulland set via the constructor.protectedStringIIOMetadata.nativeMetadataFormatClassNameThe name of the class implementingIIOMetadataFormatand representing the native metadata format, initialized tonulland set via the constructor.protectedStringIIOMetadata.nativeMetadataFormatNameThe name of the native metadata format for this object,initialized tonulland set via the constructor.static finalStringIIOMetadataFormatImpl.standardMetadataFormatNameAStringconstant containing the standard formatname,"javax_imageio_1.0".Methods injavax.imageio.metadata that returnStringModifier and TypeMethodDescriptionIIOMetadataNode.getAttribute(String name) Retrieves an attribute value by name.IIOMetadataFormat.getAttributeDefaultValue(String elementName,String attrName) Returns the default value of the named attribute, if it is notexplicitly present within the named element, as aString, ornullif no default valueis available.IIOMetadataFormatImpl.getAttributeDefaultValue(String elementName,String attrName) IIOMetadataFormat.getAttributeDescription(String elementName,String attrName,Locale locale) Returns aStringcontaining a description of thenamed attribute, ornull.IIOMetadataFormatImpl.getAttributeDescription(String elementName,String attrName,Locale locale) Returns aStringcontaining a description of thenamed attribute, ornull.String[]IIOMetadataFormat.getAttributeEnumerations(String elementName,String attrName) Returns an array ofStrings containing the legalenumerated values for the given attribute within the namedelement.String[]IIOMetadataFormatImpl.getAttributeEnumerations(String elementName,String attrName) IIOMetadataFormat.getAttributeMaxValue(String elementName,String attrName) Returns the maximum legal value for the attribute.IIOMetadataFormatImpl.getAttributeMaxValue(String elementName,String attrName) IIOMetadataFormat.getAttributeMinValue(String elementName,String attrName) Returns the minimum legal value for the attribute.IIOMetadataFormatImpl.getAttributeMinValue(String elementName,String attrName) String[]IIOMetadataFormat.getAttributeNames(String elementName) Returns an array ofStrings listing the names ofthe attributes that may be associated with the named element.String[]IIOMetadataFormatImpl.getAttributeNames(String elementName) IIOMetadataNode.getAttributeNS(String namespaceURI,String localName) Equivalent togetAttribute(localName).IIOMetadataNode.getBaseURI()This DOM Level 3 method is not supported forIIOMetadataNodeand will throw aDOMException.String[]IIOMetadataFormat.getChildNames(String elementName) Returns an array ofStrings indicating the namesof the element which are allowed to be children of the namedelement, in the order in which they should appear.String[]IIOMetadataFormatImpl.getChildNames(String elementName) IIOMetadataFormat.getElementDescription(String elementName,Locale locale) Returns aStringcontaining a description of thenamed element, ornull.IIOMetadataFormatImpl.getElementDescription(String elementName,Locale locale) Returns aStringcontaining a description of thenamed element, ornull.String[]IIOMetadata.getExtraMetadataFormatNames()Returns an array ofStrings containing the namesof additional metadata formats, other than the native and standardformats, recognized by this plug-in'sgetAsTree,setFromTree, andmergeTreemethods.IIOMetadataNode.getLocalName()Equivalent togetNodeName.String[]IIOMetadata.getMetadataFormatNames()Returns an array ofStrings containing the namesof all metadata formats, including the native and standardformats, recognized by this plug-in'sgetAsTree,setFromTree, andmergeTreemethods.IIOMetadataNode.getNamespaceURI()Returnsnull, since namespaces are not supported.IIOMetadata.getNativeMetadataFormatName()Returns the name of the "native" metadata format for thisplug-in, which typically allows for lossless encoding andtransmission of the metadata stored in the format handled bythis plug-in.IIOMetadataNode.getNodeName()Returns the node name associated with this node.IIOMetadataNode.getNodeValue()Returns the value associated with this node.IIOMetadataNode.getPrefix()Returnsnull, since namespaces are not supported.protectedStringIIOMetadataFormatImpl.getResourceBaseName()Returns the currently set base name for locatingResourceBundles.IIOMetadataFormat.getRootName()Returns the name of the root element of the format.IIOMetadataFormatImpl.getRootName()IIOMetadataNode.getTagName()Equivalent togetNodeName.IIOMetadataNode.getTextContent()This DOM Level 3 method is not supported forIIOMetadataNodeand will throw aDOMException.IIOMetadataNode.lookupNamespaceURI(String prefix) This DOM Level 3 method is not supported forIIOMetadataNodeand will throw aDOMException.IIOMetadataNode.lookupPrefix(String namespaceURI) This DOM Level 3 method is not supported forIIOMetadataNodeand will throw aDOMException.Methods injavax.imageio.metadata with parameters of typeStringModifier and TypeMethodDescriptionprotected voidIIOMetadataFormatImpl.addAttribute(String elementName,String attrName, int dataType, boolean required, int listMinLength, int listMaxLength) Adds a new attribute to a previously defined element that willbe defined by a list of values.protected voidIIOMetadataFormatImpl.addAttribute(String elementName,String attrName, int dataType, boolean required,String defaultValue) Adds a new attribute to a previously defined element that maybe set to an arbitrary value.protected voidIIOMetadataFormatImpl.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 willbe defined by a range of values.protected voidIIOMetadataFormatImpl.addAttribute(String elementName,String attrName, int dataType, boolean required,String defaultValue,List<String> enumeratedValues) Adds a new attribute to a previously defined element that willbe defined by a set of enumerated values.protected voidIIOMetadataFormatImpl.addBooleanAttribute(String elementName,String attrName, boolean hasDefaultValue, boolean defaultValue) Adds a new attribute to a previously defined element that willbe defined by the enumerated valuesTRUEandFALSE, with a datatype ofDATATYPE_BOOLEAN.protected voidIIOMetadataFormatImpl.addChildElement(String elementName,String parentName) Adds an existing element to the list of legal children for agiven parent node type.protected voidIIOMetadataFormatImpl.addElement(String elementName,String parentName, int childPolicy) Adds a new element type to this metadata document format with achild policy other thanCHILD_POLICY_REPEAT.protected voidIIOMetadataFormatImpl.addElement(String elementName,String parentName, int minChildren, int maxChildren) Adds a new element type to this metadata document format with achild policy ofCHILD_POLICY_REPEAT.protected voidIIOMetadataFormatImpl.addObjectValue(String elementName,Class<?> classType, int arrayMinLength, int arrayMaxLength) Allows anObjectreference of a given class typeto be stored in nodes implementing the named element.protected <T> voidIIOMetadataFormatImpl.addObjectValue(String elementName,Class<T> classType, boolean required, T defaultValue) Allows anObjectreference of a given class typeto be stored in nodes implementing the named element.protected <T> voidIIOMetadataFormatImpl.addObjectValue(String elementName,Class<T> classType, boolean required, T defaultValue,List<? extends T> enumeratedValues) Allows anObjectreference of a given class typeto be stored in nodes implementing the named element.protected <T extendsObject &Comparable<? super T>>
voidIIOMetadataFormatImpl.addObjectValue(String elementName,Class<T> classType, T defaultValue,Comparable<? super T> minValue,Comparable<? super T> maxValue, boolean minInclusive, boolean maxInclusive) Allows anObjectreference of a given class typeto be stored in nodes implementing the named element.booleanIIOMetadataFormat.canNodeAppear(String elementName,ImageTypeSpecifier imageType) Returnstrueif the element (and the subtree belowit) is allowed to appear in a metadata document for an image ofthe given type, defined by anImageTypeSpecifier.abstractNodeReturns an XML DOMNodeobject that represents theroot of a tree of metadata contained within this objectaccording to the conventions defined by a given metadataformat.IIOMetadataNode.getAttribute(String name) Retrieves an attribute value by name.intIIOMetadataFormat.getAttributeDataType(String elementName,String attrName) Returns one of the constants starting withDATATYPE_, indicating the format andinterpretation of the value of the given attribute within thenamed element.intIIOMetadataFormatImpl.getAttributeDataType(String elementName,String attrName) IIOMetadataFormat.getAttributeDefaultValue(String elementName,String attrName) Returns the default value of the named attribute, if it is notexplicitly present within the named element, as aString, ornullif no default valueis available.IIOMetadataFormatImpl.getAttributeDefaultValue(String elementName,String attrName) IIOMetadataFormat.getAttributeDescription(String elementName,String attrName,Locale locale) Returns aStringcontaining a description of thenamed attribute, ornull.IIOMetadataFormatImpl.getAttributeDescription(String elementName,String attrName,Locale locale) Returns aStringcontaining a description of thenamed attribute, ornull.String[]IIOMetadataFormat.getAttributeEnumerations(String elementName,String attrName) Returns an array ofStrings containing the legalenumerated values for the given attribute within the namedelement.String[]IIOMetadataFormatImpl.getAttributeEnumerations(String elementName,String attrName) intIIOMetadataFormat.getAttributeListMaxLength(String elementName,String attrName) Returns the maximum number of list items that may be used todefine this attribute.intIIOMetadataFormatImpl.getAttributeListMaxLength(String elementName,String attrName) intIIOMetadataFormat.getAttributeListMinLength(String elementName,String attrName) Returns the minimum number of list items that may be used todefine this attribute.intIIOMetadataFormatImpl.getAttributeListMinLength(String elementName,String attrName) IIOMetadataFormat.getAttributeMaxValue(String elementName,String attrName) Returns the maximum legal value for the attribute.IIOMetadataFormatImpl.getAttributeMaxValue(String elementName,String attrName) IIOMetadataFormat.getAttributeMinValue(String elementName,String attrName) Returns the minimum legal value for the attribute.IIOMetadataFormatImpl.getAttributeMinValue(String elementName,String attrName) String[]IIOMetadataFormat.getAttributeNames(String elementName) Returns an array ofStrings listing the names ofthe attributes that may be associated with the named element.String[]IIOMetadataFormatImpl.getAttributeNames(String elementName) IIOMetadataNode.getAttributeNode(String name) IIOMetadataNode.getAttributeNodeNS(String namespaceURI,String localName) Equivalent togetAttributeNode(localName).IIOMetadataNode.getAttributeNS(String namespaceURI,String localName) Equivalent togetAttribute(localName).intIIOMetadataFormat.getAttributeValueType(String elementName,String attrName) Returns one of the constants starting withVALUE_,indicating whether the values of the given attribute within thenamed element are arbitrary, constrained to lie within aspecified range, constrained to be one of a set of enumeratedvalues, or are a whitespace-separated list of arbitrary values.intIIOMetadataFormatImpl.getAttributeValueType(String elementName,String attrName) String[]IIOMetadataFormat.getChildNames(String elementName) Returns an array ofStrings indicating the namesof the element which are allowed to be children of the namedelement, in the order in which they should appear.String[]IIOMetadataFormatImpl.getChildNames(String elementName) intIIOMetadataFormat.getChildPolicy(String elementName) Returns one of the constants starting withCHILD_POLICY_, indicating the legal pattern ofchildren for the named element.intIIOMetadataFormatImpl.getChildPolicy(String elementName) IIOMetadataFormat.getElementDescription(String elementName,Locale locale) Returns aStringcontaining a description of thenamed element, ornull.IIOMetadataFormatImpl.getElementDescription(String elementName,Locale locale) Returns aStringcontaining a description of thenamed element, ornull.intIIOMetadataFormat.getElementMaxChildren(String elementName) Returns the maximum number of children of the named elementwith child policyCHILD_POLICY_REPEAT.intIIOMetadataFormatImpl.getElementMaxChildren(String elementName) intIIOMetadataFormat.getElementMinChildren(String elementName) Returns the minimum number of children of the named elementwith child policyCHILD_POLICY_REPEAT.intIIOMetadataFormatImpl.getElementMinChildren(String elementName) IIOMetadataNode.getElementsByTagName(String name) IIOMetadataNode.getElementsByTagNameNS(String namespaceURI,String localName) Equivalent togetElementsByTagName(localName).IIOMetadataNode.getFeature(String feature,String version) This DOM Level 3 method is not supported forIIOMetadataNodeand will throw aDOMException.IIOMetadata.getMetadataFormat(String formatName) Returns anIIOMetadataFormatobject describing thegiven metadata format, ornullif no descriptionis available.intIIOMetadataFormat.getObjectArrayMaxLength(String elementName) Returns the maximum number of array elements that may be usedto define theObjectreference within the namedelement.intIIOMetadataFormatImpl.getObjectArrayMaxLength(String elementName) intIIOMetadataFormat.getObjectArrayMinLength(String elementName) Returns the minimum number of array elements that may be usedto define theObjectreference within the namedelement.intIIOMetadataFormatImpl.getObjectArrayMinLength(String elementName) Class<?> IIOMetadataFormat.getObjectClass(String elementName) Returns theClasstype of theObjectreference stored within the element.Class<?> IIOMetadataFormatImpl.getObjectClass(String elementName) IIOMetadataFormat.getObjectDefaultValue(String elementName) Returns anObjects containing the defaultvalue for theObjectreference withinthe named element.IIOMetadataFormatImpl.getObjectDefaultValue(String elementName) Object[]IIOMetadataFormat.getObjectEnumerations(String elementName) Returns an array ofObjects containing the legalenumerated values for theObjectreference withinthe named element.Object[]IIOMetadataFormatImpl.getObjectEnumerations(String elementName) Comparable<?> IIOMetadataFormat.getObjectMaxValue(String elementName) Returns the maximum legal value for theObjectreference within the named element.Comparable<?> IIOMetadataFormatImpl.getObjectMaxValue(String elementName) Comparable<?> IIOMetadataFormat.getObjectMinValue(String elementName) Returns the minimum legal value for theObjectreference within the named element.Comparable<?> IIOMetadataFormatImpl.getObjectMinValue(String elementName) intIIOMetadataFormat.getObjectValueType(String elementName) Returns one of the enumerated values starting withVALUE_, indicating the type of values(enumeration, range, or array) that are allowed for theObjectreference.intIIOMetadataFormatImpl.getObjectValueType(String elementName) IIOMetadataNode.getUserData(String key) This DOM Level 3 method is not supported forIIOMetadataNodeand will throw aDOMException.booleanIIOMetadataNode.hasAttribute(String name) booleanIIOMetadataNode.hasAttributeNS(String namespaceURI,String localName) Equivalent tohasAttribute(localName).booleanIIOMetadataFormat.isAttributeRequired(String elementName,String attrName) Returnstrueif the named attribute must bepresent within the named element.booleanIIOMetadataFormatImpl.isAttributeRequired(String elementName,String attrName) booleanIIOMetadataNode.isDefaultNamespace(String namespaceURI) This DOM Level 3 method is not supported forIIOMetadataNodeand will throw aDOMException.booleanIIOMetadataNode.isSupported(String feature,String version) Returnsfalsesince DOM features are notsupported.IIOMetadataNode.lookupNamespaceURI(String prefix) This DOM Level 3 method is not supported forIIOMetadataNodeand will throw aDOMException.IIOMetadataNode.lookupPrefix(String namespaceURI) This DOM Level 3 method is not supported forIIOMetadataNodeand will throw aDOMException.abstract voidAlters the internal state of thisIIOMetadataobject from a tree of XML DOMNodes whose syntaxis defined by the given metadata format.protected voidIIOMetadataFormatImpl.removeAttribute(String elementName,String attrName) Removes an attribute from a previously defined element.voidIIOMetadataNode.removeAttribute(String name) voidIIOMetadataNode.removeAttributeNS(String namespaceURI,String localName) Equivalent toremoveAttribute(localName).protected voidIIOMetadataFormatImpl.removeElement(String elementName) Removes an element from the format.protected voidIIOMetadataFormatImpl.removeObjectValue(String elementName) Disallows anObjectreference from being stored innodes implementing the named element.voidIIOMetadataNode.setAttribute(String name,String value) voidIIOMetadataNode.setAttributeNS(String namespaceURI,String qualifiedName,String value) Equivalent tosetAttribute(qualifiedName, value).voidIIOMetadata.setFromTree(String formatName,Node root) Sets the internal state of thisIIOMetadataobjectfrom a tree of XML DOMNodes whose syntax isdefined by the given metadata format.voidIIOMetadataNode.setIdAttribute(String name, boolean isId) This DOM Level 3 method is not supported forIIOMetadataNodeand will throw aDOMException.voidIIOMetadataNode.setIdAttributeNS(String namespaceURI,String localName, boolean isId) This DOM Level 3 method is not supported forIIOMetadataNodeand will throw aDOMException.voidIIOMetadataNode.setNodeValue(String nodeValue) Sets theStringvalue associated with this node.voidDoes nothing, since namespaces are not supported.protected voidIIOMetadataFormatImpl.setResourceBaseName(String resourceBaseName) Sets a new base name for locatingResourceBundlescontaining descriptions of elements and attributes for thisformat.voidIIOMetadataNode.setTextContent(String textContent) This DOM Level 3 method is not supported forIIOMetadataNodeand will throw aDOMException.IIOMetadataNode.setUserData(String key,Object data,UserDataHandler handler) This DOM Level 3 method is not supported forIIOMetadataNodeand will throw aDOMException.Method parameters injavax.imageio.metadata with type arguments of typeStringModifier and TypeMethodDescriptionprotected voidIIOMetadataFormatImpl.addAttribute(String elementName,String attrName, int dataType, boolean required,String defaultValue,List<String> enumeratedValues) Adds a new attribute to a previously defined element that willbe defined by a set of enumerated values.Constructors injavax.imageio.metadata with parameters of typeStringModifierConstructorDescriptionIIOInvalidTreeException(String message,Throwable cause,Node offendingNode) Constructs anIIOInvalidTreeExceptionwith amessage string, a reference to an exception that caused thisexception, and a reference to theNodethat causedthe parsing error.IIOInvalidTreeException(String message,Node offendingNode) Constructs anIIOInvalidTreeExceptionwith amessage string and a reference to theNodethatcaused the parsing error.protectedIIOMetadata(boolean standardMetadataFormatSupported,String nativeMetadataFormatName,String nativeMetadataFormatClassName,String[] extraMetadataFormatNames,String[] extraMetadataFormatClassNames) Constructs anIIOMetadataobject with the givenformat names and format class names, as well as a booleanindicating whether the standard format is supported.IIOMetadataFormatImpl(String rootName, int childPolicy) Constructs a blankIIOMetadataFormatImplinstance,with a given root element name and child policy (other thanCHILD_POLICY_REPEAT).IIOMetadataFormatImpl(String rootName, int minChildren, int maxChildren) Constructs a blankIIOMetadataFormatImplinstance,with a given root element name and a child policy ofCHILD_POLICY_REPEAT.IIOMetadataNode(String nodeName) Constructs anIIOMetadataNodewith a given nodename.Uses ofString injavax.imageio.plugins.jpeg
Methods injavax.imageio.plugins.jpeg that returnStringUses ofString injavax.imageio.plugins.tiff
Fields injavax.imageio.plugins.tiff declared asStringModifier and TypeFieldDescriptionstatic finalStringExifGPSTagSet.DEST_DISTANCE_REF_KILOMETERSA value to be used with the "GPSDestDistanceRef" tag.static finalStringExifGPSTagSet.DEST_DISTANCE_REF_KNOTSA value to be used with the "GPSDestDistanceRef" tag.static finalStringExifGPSTagSet.DEST_DISTANCE_REF_MILESA value to be used with the "GPSDestDistanceRef" tag.static finalStringExifGPSTagSet.DIRECTION_REF_MAGNETICA value to be used with the "GPSTrackRef", "GPSImgDirectionRef",and "GPSDestBearingRef" tags.static finalStringExifGPSTagSet.DIRECTION_REF_TRUEA value to be used with the "GPSTrackRef", "GPSImgDirectionRef",and "GPSDestBearingRef" tags.static finalStringExifTIFFTagSet.EXIF_VERSION_2_1A value to be used with the "ExifVersion" tag to indicate Exif version2.1.static finalStringExifTIFFTagSet.EXIF_VERSION_2_2A value to be used with the "ExifVersion" tag to indicate Exif version2.2.static finalStringExifGPSTagSet.GPS_VERSION_2_2A value to be used with the "GPSVersionID" tag to indicate GPS version2.2.static finalStringExifInteroperabilityTagSet.INTEROPERABILITY_INDEX_R98A value to be used with the "InteroperabilityIndex" tag.static finalStringExifInteroperabilityTagSet.INTEROPERABILITY_INDEX_THMA value to be used with the "InteroperabilityIndex" tag.static finalStringExifGPSTagSet.LATITUDE_REF_NORTHA value to be used with the "GPSLatitudeRef" and"GPSDestLatitudeRef" tags.static finalStringExifGPSTagSet.LATITUDE_REF_SOUTHA value to be used with the "GPSLatitudeRef" and"GPSDestLatitudeRef" tags.static finalStringExifGPSTagSet.LONGITUDE_REF_EASTA value to be used with the "GPSLongitudeRef" and"GPSDestLongitudeRef" tags.static finalStringExifGPSTagSet.LONGITUDE_REF_WESTA value to be used with the "GPSLongitudeRef" and"GPSDestLongitudeRef" tags.static finalStringExifGPSTagSet.MEASURE_MODE_2DA value to be used with the "GPSMeasureMode" tag.static finalStringExifGPSTagSet.MEASURE_MODE_3DA value to be used with the "GPSMeasureMode" tag.static finalStringExifGPSTagSet.SPEED_REF_KILOMETERS_PER_HOURA value to be used with the "GPSSpeedRef" tag.static finalStringExifGPSTagSet.SPEED_REF_KNOTSA value to be used with the "GPSSpeedRef" tag.static finalStringExifGPSTagSet.SPEED_REF_MILES_PER_HOURA value to be used with the "GPSSpeedRef" tag.static finalStringExifGPSTagSet.STATUS_MEASUREMENT_IN_PROGRESSA value to be used with the "GPSStatus" tag.static finalStringExifGPSTagSet.STATUS_MEASUREMENT_INTEROPERABILITYA value to be used with the "GPSStatus" tag.static finalStringTIFFTag.UNKNOWN_TAG_NAMEThe name assigned to a tag with an unknown tag number.Methods injavax.imageio.plugins.tiff that returnStringModifier and TypeMethodDescriptionTIFFField.getAsString(int index) Returns aTIFFTag.TIFF_ASCIIvalue as aString.TIFFTag.getName()Returns the name of the tag, as it will appear in image metadata.staticStringTIFFField.getTypeName(int dataType) Returns the name of the supplied data type constant.TIFFField.getValueAsString(int index) Returns aStringcontaining a human-readableversion of the data item.TIFFTag.getValueName(int value) Returns the mnemonic name associated with a particular valuethat this tag's data may take on, ornullifno name is present.Methods injavax.imageio.plugins.tiff that return types with arguments of typeStringModifier and TypeMethodDescriptionTIFFTagSet.getTagNames()Retrieves an unmodifiable lexicographically increasing set of tag names.Methods injavax.imageio.plugins.tiff with parameters of typeStringModifier and TypeMethodDescriptionprotected voidTIFFTag.addValueName(int value,String name) Adds a mnemonic name for a particular value that this tag's data may takeon.Returns theTIFFTaghaving the given tag name, ornullif the named tag does not belong to this tag set.static intTIFFField.getTypeByName(String typeName) Returns the data type constant corresponding to the supplied datatype name.Constructors injavax.imageio.plugins.tiff with parameters of typeStringModifierConstructorDescriptionConstructs aTIFFTagwith a given name, tag number,and set of legal data types.Constructs aTIFFTagwith a given name, tag number, setof legal data types, and value count.TIFFTag(String name, int number,TIFFTagSet tagSet) Constructs aTIFFTagwith a given name, tag number andTIFFTagSetto which it refers.Uses ofString injavax.imageio.spi
Fields injavax.imageio.spi declared asStringModifier and TypeFieldDescriptionprotectedString[]ImageReaderWriterSpi.extraImageMetadataFormatClassNamesAn array ofStrings containing the class names ofany additional image metadata formats supported by thisplug-in, initiallynull.protectedString[]ImageReaderWriterSpi.extraImageMetadataFormatNamesAn array ofStrings containing the names of anyadditional image metadata formats supported by this plug-in,initiallynull.protectedString[]ImageReaderWriterSpi.extraStreamMetadataFormatClassNamesAn array ofStrings containing the class names ofany additional stream metadata formats supported by this plug-in,initiallynull.protectedString[]ImageReaderWriterSpi.extraStreamMetadataFormatNamesAn array ofStrings containing the names of anyadditional stream metadata formats supported by this plug-in,initiallynull.protectedString[]ImageReaderWriterSpi.MIMETypesAn array of strings to be returned fromgetMIMETypes, initiallynull.protectedString[]ImageReaderWriterSpi.namesAn array of strings to be returned fromgetFormatNames, initiallynull.protectedStringImageReaderWriterSpi.nativeImageMetadataFormatClassNameAStringcontaining the class name of thenative stream metadata format supported by this plug-in,initiallynull.protectedStringImageReaderWriterSpi.nativeImageMetadataFormatNameAStringcontaining the name of thenative stream metadata format supported by this plug-in,initiallynull.protectedStringImageReaderWriterSpi.nativeStreamMetadataFormatClassNameAStringcontaining the class name of the nativestream metadata format supported by this plug-in, initiallynull.protectedStringImageReaderWriterSpi.nativeStreamMetadataFormatNameAStringcontaining the name of the native streammetadata format supported by this plug-in, initiallynull.protectedStringImageReaderWriterSpi.pluginClassNameAStringcontaining the name of the associatedplug-in class, initiallynull.protectedString[]ImageWriterSpi.readerSpiNamesAn array of strings to be returned fromgetImageReaderSpiNames, initiallynull.protectedString[]ImageReaderWriterSpi.suffixesAn array of strings to be returned fromgetFileSuffixes, initiallynull.protectedStringIIOServiceProvider.vendorNameAStringto be returned fromgetVendorName, initiallynull.protectedStringIIOServiceProvider.versionAStringto be returned fromgetVersion, initially null.protectedString[]ImageReaderSpi.writerSpiNamesAn array of strings to be returned fromgetImageWriterSpiNames, initiallynull.Methods injavax.imageio.spi that returnStringModifier and TypeMethodDescriptionabstractStringIIOServiceProvider.getDescription(Locale locale) Returns a brief, human-readable description of this serviceprovider and its associated implementation.String[]ImageReaderWriterSpi.getExtraImageMetadataFormatNames()Returns an array ofStrings containing the namesof additional document formats, other than the native andstandard formats, recognized by thegetAsTreeandsetFromTreemethods onthe image metadata objects produced or consumed by thisplug-in.String[]ImageReaderWriterSpi.getExtraStreamMetadataFormatNames()Returns an array ofStrings containing the namesof additional document formats, other than the native andstandard formats, recognized by thegetAsTreeandsetFromTreemethods onthe stream metadata objects produced or consumed by thisplug-in.String[]ImageReaderWriterSpi.getFileSuffixes()Returns an array ofStrings containing a list offile suffixes associated with the formats that are generallyusable by theImageReaderorImageWriterimplementation associated with thisservice provider.String[]ImageReaderWriterSpi.getFormatNames()Returns an array ofStrings containinghuman-readable names for the formats that are generally usableby theImageReaderorImageWriterimplementation associated with this service provider.String[]ImageWriterSpi.getImageReaderSpiNames()Returns an array ofStrings containing all thefully qualified names of all theImageReaderSpiclasses that can understand the internal metadatarepresentation used by theImageWriterassociatedwith this service provider, ornullif there areno suchImageReadersspecified.String[]ImageReaderSpi.getImageWriterSpiNames()Returns an array ofStrings containing the fullyqualified names of all theImageWriterSpiclassesthat can understand the internal metadata representation usedby theImageReaderassociated with this serviceprovider, ornullif there are no suchImageWriters specified.String[]ImageReaderWriterSpi.getMIMETypes()Returns an array ofStrings containing a list ofMIME types associated with the formats that are generallyusable by theImageReaderorImageWriterimplementation associated with thisservice provider.ImageReaderWriterSpi.getNativeImageMetadataFormatName()Returns the name of the "native" image metadata format forthis plug-in, which typically allows for lossless encoding andtransmission of the image metadata stored in the format handled bythis plug-in.ImageReaderWriterSpi.getNativeStreamMetadataFormatName()Returns the name of the "native" stream metadata format forthis plug-in, which typically allows for lossless encoding andtransmission of the stream metadata stored in the format handled bythis plug-in.ImageReaderWriterSpi.getPluginClassName()Returns the fully-qualified class name of theImageReaderorImageWriterplug-inassociated with this service provider.abstractStringImageTranscoderSpi.getReaderServiceProviderName()Returns the fully qualified class name of anImageReaderSpiclass that generatesIIOMetadataobjects that may be used as input tothis transcoder.IIOServiceProvider.getVendorName()Returns the name of the vendor responsible for creating thisservice provider and its associated implementation.IIOServiceProvider.getVersion()Returns a string describing the versionnumber of this service provider and its associatedimplementation.abstractStringImageTranscoderSpi.getWriterServiceProviderName()Returns the fully qualified class name of anImageWriterSpiclass that generatesIIOMetadataobjects that may be used as input tothis transcoder.Methods injavax.imageio.spi with parameters of typeStringModifier and TypeMethodDescriptionImageReaderWriterSpi.getImageMetadataFormat(String formatName) Returns anIIOMetadataFormatobject describing thegiven image metadata format, ornullif nodescription is available.ImageReaderWriterSpi.getStreamMetadataFormat(String formatName) Returns anIIOMetadataFormatobject describing thegiven stream metadata format, ornullif nodescription is available.Constructors injavax.imageio.spi with parameters of typeStringModifierConstructorDescriptionIIOServiceProvider(String vendorName,String version) Constructs anIIOServiceProviderwith a givenvendor name and version identifier.ImageInputStreamSpi(String vendorName,String version,Class<?> inputClass) Constructs anImageInputStreamSpiwith a given setof values.ImageOutputStreamSpi(String vendorName,String version,Class<?> outputClass) Constructs anImageOutputStreamSpiwith a givenset 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 anImageReaderSpiwith a givenset 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 anImageReaderWriterSpiwith a givenset of values.ImageTranscoderSpi(String vendorName,String version) Constructs anImageTranscoderSpiwith a given setof 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 anImageWriterSpiwith a givenset of values.Uses ofString injavax.imageio.stream
Methods injavax.imageio.stream that returnStringModifier and TypeMethodDescriptionImageInputStream.readLine()Reads the next line of text from the input stream.ImageInputStreamImpl.readLine()ImageInputStream.readUTF()Reads in a string that has been encoded using amodified UTF-8format.ImageInputStreamImpl.readUTF()Methods injavax.imageio.stream with parameters of typeStringModifier and TypeMethodDescriptionvoidImageOutputStream.writeBytes(String s) Writes a string to the output stream.voidImageOutputStreamImpl.writeBytes(String s) voidImageOutputStream.writeChars(String s) Writes a string to the output stream.voidImageOutputStreamImpl.writeChars(String s) voidWrites two bytes of length information to the output stream innetwork byte order, followed by themodified UTF-8representation of every character in the strings.voidUses ofString injavax.lang.model
Methods injavax.lang.model with parameters of typeStringModifier and TypeMethodDescriptionstaticSourceVersionReturns the enum constant of this class with the specified name.Constructors injavax.lang.model with parameters of typeStringModifierConstructorDescriptionprotectedUnknownEntityException(String message) Creates a newUnknownEntityExceptionwith the specifieddetail message.Uses ofString injavax.lang.model.element
Methods injavax.lang.model.element that returnStringModifier and TypeMethodDescriptionAnnotationValue.toString()Returns a string representation of this value.Modifier.toString()Returns this modifier's name as defined inTheJava Language Specification.Methods injavax.lang.model.element with parameters of typeStringModifier and TypeMethodDescriptionstaticElementKindReturns the enum constant of this class with the specified name.staticModifierReturns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.staticNestingKindReturns the enum constant of this class with the specified name.AnnotationValueVisitor.visitString(String s,P p) Visits a string value in an annotation.Uses ofString injavax.lang.model.type
Methods injavax.lang.model.type that returnStringModifier and TypeMethodDescriptionTypeMirror.toString()Returns an informative string representation of this type.Methods injavax.lang.model.type with parameters of typeStringUses ofString injavax.lang.model.util
Methods injavax.lang.model.util that returnStringModifier and TypeMethodDescriptionElements.getConstantExpression(Object value) Returns the text of aconstant expression representing aprimitive value or a string.Elements.getDocComment(Element e) Returns the text of the documentation ("JavaDoc")comment of an element.Methods injavax.lang.model.util with parameters of typeStringModifier and TypeMethodDescriptionstaticElements.DocCommentKindReturns the enum constant of this class with the specified name.staticElements.OriginReturns the enum constant of this class with the specified name.SimpleAnnotationValueVisitor6.visitString(String s,P p) Visits a string value in an annotation.Uses ofString injavax.management
Fields injavax.management declared asStringModifier and TypeFieldDescriptionstatic finalStringAttributeChangeNotification.ATTRIBUTE_CHANGENotification type which indicates that the observed MBean attribute value has changed.static finalStringThe name of thedefaultValuefield.protectedStringMBeanFeatureInfo.descriptionThe human-readable description of the feature.static finalStringThe name of theimmutableInfofield.static finalStringThe name of theinterfaceClassNamefield.static finalStringThe name of thelegalValuesfield.static finalStringJMX.MAX_VALUE_FIELDThe name of themaxValuefield.static finalStringJMX.MIN_VALUE_FIELDThe name of theminValuefield.static finalStringJMX.MXBEAN_FIELDThe name of themxbeanfield.protectedStringMBeanFeatureInfo.nameThe name of the feature.static finalStringJMX.OPEN_TYPE_FIELDThe name of theopenTypefield.static finalStringThe name of theoriginalTypefield.static finalStringMBeanServerNotification.REGISTRATION_NOTIFICATIONNotification type denoting that an MBean has been registered.static finalStringMBeanServerNotification.UNREGISTRATION_NOTIFICATIONNotification type denoting that an MBean has been unregistered.Methods injavax.management that returnStringModifier and TypeMethodDescriptionMBeanPermission.getActions()Deprecated, for removal: This API element is subject to removal in a future version.Returns the "canonical string representation" of the actions.AttributeChangeNotification.getAttributeName()Gets the name of the attribute which has changed.AttributeValueExp.getAttributeName()Returns a string representation of the name of the attribute.AttributeChangeNotification.getAttributeType()Gets the type of the attribute which has changed.ObjectName.getCanonicalKeyPropertyListString()Returns a string representation of the list of key properties,in which the key properties are sorted in lexical order.ObjectName.getCanonicalName()Returns the canonical form of the name; that is, a stringrepresentation where the properties are sorted in lexicalorder.MBeanInfo.getClassName()Returns the name of the Java class of the MBean described bythisMBeanInfo.ObjectInstance.getClassName()Returns the class part.protectedStringStandardMBean.getClassName(MBeanInfo info) Customization hook:Get the className that will be used in the MBeanInfo returned bythis MBean.MBeanServer.getDefaultDomain()MBeanServerConnection.getDefaultDomain()Returns the default domain used for naming the MBean.MBeanFeatureInfo.getDescription()Returns the human-readable description of the feature.MBeanInfo.getDescription()Returns a human readable description of the MBean.protectedStringStandardMBean.getDescription(MBeanAttributeInfo info) Customization hook:Get the description that will be used in the MBeanAttributeInforeturned by this MBean.protectedStringStandardMBean.getDescription(MBeanConstructorInfo info) Customization hook:Get the description that will be used in the MBeanConstructorInforeturned by this MBean.protectedStringStandardMBean.getDescription(MBeanConstructorInfo ctor,MBeanParameterInfo param, int sequence) Customization hook:Get the description that will be used for thesequenceMBeanParameterInfo of the MBeanConstructorInfo returned by this MBean.protectedStringStandardMBean.getDescription(MBeanFeatureInfo info) Customization hook:Get the description that will be used in the MBeanFeatureInforeturned by this MBean.protectedStringStandardMBean.getDescription(MBeanInfo info) Customization hook:Get the description that will be used in the MBeanInfo returned bythis MBean.protectedStringStandardMBean.getDescription(MBeanOperationInfo info) Customization hook:Get the description that will be used in the MBeanOperationInforeturned by this MBean.protectedStringStandardMBean.getDescription(MBeanOperationInfo op,MBeanParameterInfo param, int sequence) Customization hook:Get the description that will be used for thesequenceMBeanParameterInfo of the MBeanOperationInfo returned by this MBean.ObjectName.getDomain()Returns the domain part.String[]MBeanServer.getDomains()String[]MBeanServerConnection.getDomains()Returns the list of domains in which any MBean is currentlyregistered.String[]Descriptor.getFieldNames()Returns all the field names in the descriptor.finalString[]ImmutableDescriptor.getFieldNames()String[]Descriptor.getFields()Returns all of the fields contained in this descriptor as a string array.finalString[]ImmutableDescriptor.getFields()MBeanServerDelegate.getImplementationName()Returns the JMX implementation name (the name of this product).MBeanServerDelegateMBean.getImplementationName()Returns the JMX implementation name (the name of this product).MBeanServerDelegate.getImplementationVendor()Returns the JMX implementation vendor (the vendor of this product).MBeanServerDelegateMBean.getImplementationVendor()Returns the JMX implementation vendor (the vendor of this product).MBeanServerDelegate.getImplementationVersion()Returns the JMX implementation version (the version of this product).MBeanServerDelegateMBean.getImplementationVersion()Returns the JMX implementation version (the version of this product).ObjectName.getKeyProperty(String property) Obtains the value associated with a key in a key property.ObjectName.getKeyPropertyListString()Returns a string representation of the list of keyproperties specified at creation time.MBeanServerDelegate.getMBeanServerId()Returns the MBean server agent identity.MBeanServerDelegateMBean.getMBeanServerId()Returns the MBean server agent identity.Notification.getMessage()Get the notification message.Attribute.getName()Returns a String containing the name of the attribute.MBeanFeatureInfo.getName()Returns the name of the feature.String[]MBeanNotificationInfo.getNotifTypes()Returns the array of strings (in dot notation) containing thenotification types that the MBean may emit.protectedStringStandardMBean.getParameterName(MBeanConstructorInfo ctor,MBeanParameterInfo param, int sequence) Customization hook:Get the name that will be used for thesequenceMBeanParameterInfo of the MBeanConstructorInfo returned by this MBean.protectedStringStandardMBean.getParameterName(MBeanOperationInfo op,MBeanParameterInfo param, int sequence) Customization hook:Get the name that will be used for thesequenceMBeanParameterInfo of the MBeanOperationInfo returned by this MBean.MBeanOperationInfo.getReturnType()Returns the type of the method's return value.MBeanServerDelegate.getSpecificationName()Returns the full name of the JMX specification implementedby this product.MBeanServerDelegateMBean.getSpecificationName()Returns the full name of the JMX specification implementedby this product.MBeanServerDelegate.getSpecificationVendor()Returns the vendor of the JMX specification implementedby this product.MBeanServerDelegateMBean.getSpecificationVendor()Returns the vendor of the JMX specification implementedby this product.MBeanServerDelegate.getSpecificationVersion()Returns the version of the JMX specification implementedby this product.MBeanServerDelegateMBean.getSpecificationVersion()Returns the version of the JMX specification implementedby this product.MBeanAttributeInfo.getType()Returns the class name of the attribute.MBeanParameterInfo.getType()Returns the type or class name of the data.Notification.getType()Get the notification type.StringValueExp.getValue()Returns the string represented by theStringValueExpinstance.staticStringReturns a quoted form of the given String, suitable forinclusion in an ObjectName.Attribute.toString()Returns a String object representing this Attribute's value.AttributeValueExp.toString()Returns the string representing its value.BadAttributeValueExpException.toString()Returns the string representing the object.BadBinaryOpValueExpException.toString()Returns the string representing the object.BadStringOperationException.toString()Returns the string representing the object.Notification.toString()Returns a String representation of this notification.ObjectInstance.toString()Returns a string representing this ObjectInstance object.ObjectName.toString()Returns a string representation of the object name.StringValueExp.toString()Returns the string representing the object.staticStringReturns an unquoted form of the given String.Methods injavax.management that return types with arguments of typeStringModifier and TypeMethodDescriptionAttributeChangeNotificationFilter.getEnabledAttributes()Gets all the enabled attribute names for this filter.NotificationFilterSupport.getEnabledTypes()Gets all the enabled notification types for this filter.ObjectName.getKeyPropertyList()Returns the key properties as a Hashtable.ObjectName.getKeyPropertyList()Returns the key properties as a Hashtable.Methods injavax.management with parameters of typeStringModifier and TypeMethodDescriptionstaticAttributeValueExpReturns a new attribute expression.staticAttributeValueExpReturns a new qualified attribute expression.MBeanServer.createMBean(String className,ObjectName name) Instantiates and registers an MBean in the MBean server.MBeanServer.createMBean(String className,ObjectName name,Object[] params,String[] signature) Instantiates and registers an MBean in the MBean server.MBeanServer.createMBean(String className,ObjectName name,ObjectName loaderName) Instantiates and registers an MBean in the MBean server.MBeanServer.createMBean(String className,ObjectName name,ObjectName loaderName,Object[] params,String[] signature) Instantiates and registers an MBean in the MBean server.MBeanServerConnection.createMBean(String className,ObjectName name) Instantiates and registers an MBean in the MBean server.MBeanServerConnection.createMBean(String className,ObjectName name,Object[] params,String[] signature) Instantiates and registers an MBean in the MBean server.MBeanServerConnection.createMBean(String className,ObjectName name,ObjectName loaderName) Instantiates and registers an MBean in the MBean server.MBeanServerConnection.createMBean(String className,ObjectName name,ObjectName loaderName,Object[] params,String[] signature) Instantiates and registers an MBean in the MBean server.staticMBeanServerMBeanServerFactory.createMBeanServer(String domain) Return a new object implementing theMBeanServerinterface with the specified default domain name.defaultObjectInputStreamMBeanServer.deserialize(String className, byte[] data) Deprecated.UseMBeanServer.getClassLoaderRepository()to obtain theclass loader repository and use it to deserialize.defaultObjectInputStreamMBeanServer.deserialize(String className,ObjectName loaderName, byte[] data) Deprecated.UsegetClassLoaderto obtainthe class loader for deserialization.voidAttributeChangeNotificationFilter.disableAttribute(String name) Disables all the attribute change notifications the attribute name of which equalsthe specified attribute name to be sent to the listener.voidNotificationFilterSupport.disableType(String prefix) Removes the given prefix from the prefix list.voidAttributeChangeNotificationFilter.enableAttribute(String name) Enables all the attribute change notifications the attribute name of which equalsthe specified name to be sent to the listener.voidNotificationFilterSupport.enableType(String prefix) Enables all the notifications the type of which starts with the specified prefixto be sent to the listener.staticArrayList<MBeanServer> MBeanServerFactory.findMBeanServer(String agentId) Return a list of registered MBeanServer objects.DynamicMBean.getAttribute(String attribute) Obtain the value of a specific attribute of the Dynamic MBean.MBeanServer.getAttribute(ObjectName name,String attribute) MBeanServerConnection.getAttribute(ObjectName name,String attribute) Gets the value of a specific attribute of a named MBean.StandardMBean.getAttribute(String attribute) DynamicMBean.getAttributes(String[] attributes) Get the values of several attributes of the Dynamic MBean.MBeanServer.getAttributes(ObjectName name,String[] attributes) MBeanServerConnection.getAttributes(ObjectName name,String[] attributes) Retrieves the values of several attributes of a named MBean.StandardMBean.getAttributes(String[] attributes) Descriptor.getFieldValue(String fieldName) Returns the value for a specific field name, or null if no valueis present for that name.finalObjectImmutableDescriptor.getFieldValue(String fieldName) Object[]Descriptor.getFieldValues(String... fieldNames) Returns all the field values in the descriptor as an array of Objects.finalObject[]ImmutableDescriptor.getFieldValues(String... fieldNames) staticObjectNameObjectName.getInstance(String name) Return an instance of ObjectName that can be used anywherean object obtained withnewObjectName(name)can be used.staticObjectNameObjectName.getInstance(String domain,String key,String value) Return an instance of ObjectName that can be used anywherean object obtained withnew ObjectName(domain, key, value)can be used.staticObjectNameObjectName.getInstance(String domain,Hashtable<String, String> table) Return an instance of ObjectName that can be used anywherean object obtained withnew ObjectName(domain, table)can be used.ObjectName.getKeyProperty(String property) Obtains the value associated with a key in a key property.MBeanServer.instantiate(String className) Instantiates an object using the list of all class loadersregistered in the MBean server'sClass LoaderRepository.MBeanServer.instantiate(String className,Object[] params,String[] signature) Instantiates an object using the list of all class loadersregistered in the MBean serverClass LoaderRepository.MBeanServer.instantiate(String className,ObjectName loaderName) Instantiates an object using the class Loader specified by itsObjectName.MBeanServer.instantiate(String className,ObjectName loaderName,Object[] params,String[] signature) Instantiates an object.Allows an action to be invoked on the Dynamic MBean.MBeanServer.invoke(ObjectName name,String operationName,Object[] params,String[] signature) MBeanServerConnection.invoke(ObjectName name,String operationName,Object[] params,String[] signature) Invokes an operation on an MBean.booleanMBeanServer.isInstanceOf(ObjectName name,String className) booleanMBeanServerConnection.isInstanceOf(ObjectName name,String className) Returns true if the MBean specified is an instance of thespecified class, false otherwise.booleanObjectName.isPropertyValuePattern(String property) Checks whether the value associated with a key in a keyproperty is a pattern.staticClass<?> Deprecated.Go through the list of class loaders and try to load the requested class.staticClass<?> DefaultLoaderRepository.loadClassWithout(ClassLoader loader,String className) Deprecated.Go through the list of class loaders but exclude the given class loader, then try to loadthe requested class.MBeanServerBuilder.newMBeanServer(String defaultDomain,MBeanServer outer,MBeanServerDelegate delegate) This method creates a new MBeanServer implementation object.staticMBeanServerMBeanServerFactory.newMBeanServer(String domain) Return a new object implementing the MBeanServer interfacewith the specified default domain name, without keeping aninternal reference to this new object.staticStringReturns a quoted form of the given String, suitable forinclusion in an ObjectName.voidDescriptor.removeField(String fieldName) Removes a field from the descriptor.final voidImmutableDescriptor.removeField(String fieldName) Removes a field from the descriptor.voidSets the value for a specific field name.final voidThis operation is unsupported since this class is immutable.voidSets all fields in the field names array to the new value withthe same index in the field values array.final voidThis operation is unsupported since this class is immutable.staticStringReturns an unquoted form of the given String.staticStringValueExpReturns a new string expression.Method parameters injavax.management with type arguments of typeStringModifier and TypeMethodDescriptionstaticObjectNameObjectName.getInstance(String domain,Hashtable<String, String> table) Return an instance of ObjectName that can be used anywherean object obtained withnew ObjectName(domain, table)can be used.staticObjectNameObjectName.getInstance(String domain,Hashtable<String, String> table) Return an instance of ObjectName that can be used anywherean object obtained withnew ObjectName(domain, table)can be used.Constructors injavax.management with parameters of typeStringModifierConstructorDescriptionConstructs an Attribute object which associates the given attribute name with the given value.AttributeChangeNotification(Object source, long sequenceNumber, long timeStamp,String msg,String attributeName,String attributeType,Object oldValue,Object newValue) Constructs an attribute change notification object.AttributeNotFoundException(String message) Constructor that allows a specific error message to be specified.AttributeValueExp(String attr) Creates a newAttributeValueExprepresenting thespecified object attribute, named attr.BadStringOperationException(String message) Constructs aBadStringOperationExceptionwith the specified detailmessage.ImmutableDescriptor(String... fields) Construct a descriptor containing the given fields.ImmutableDescriptor(String[] fieldNames,Object[] fieldValues) Construct a descriptor containing the given fields and values.InstanceAlreadyExistsException(String message) Constructor that allows a specific error message to be specified.InstanceNotFoundException(String message) Constructor that allows a specific error message to be specified.IntrospectionException(String message) Constructor that allows a specific error message to be specified.InvalidAttributeValueException(String message) Constructor that allows a specific error message to be specified.JMException(String msg) Constructor that allows a specific error message to be specified.JMRuntimeException(String message) Constructor that allows a specific error message to be specified.ListenerNotFoundException(String message) Constructor that allows a specific error message to be specified.MalformedObjectNameException(String message) Constructor that allows a specific error message to be specified.MBeanAttributeInfo(String name,String description,Method getter,Method setter) This constructor takes the name of a simple attribute, and Methodobjects for reading and writing the attribute.MBeanAttributeInfo(String name,String type,String description, boolean isReadable, boolean isWritable, boolean isIs) Constructs anMBeanAttributeInfoobject.MBeanAttributeInfo(String name,String type,String description, boolean isReadable, boolean isWritable, boolean isIs,Descriptor descriptor) Constructs anMBeanAttributeInfoobject.MBeanConstructorInfo(String description,Constructor<?> constructor) Constructs anMBeanConstructorInfoobject.MBeanConstructorInfo(String name,String description,MBeanParameterInfo[] signature) Constructs anMBeanConstructorInfoobject.MBeanConstructorInfo(String name,String description,MBeanParameterInfo[] signature,Descriptor descriptor) Constructs anMBeanConstructorInfoobject.MBeanException(Exception e,String message) Creates anMBeanExceptionthat wraps the actualjava.lang.Exceptionwitha detail message.MBeanFeatureInfo(String name,String description) Constructs anMBeanFeatureInfoobject.MBeanFeatureInfo(String name,String description,Descriptor descriptor) Constructs anMBeanFeatureInfoobject.MBeanInfo(String className,String description,MBeanAttributeInfo[] attributes,MBeanConstructorInfo[] constructors,MBeanOperationInfo[] operations,MBeanNotificationInfo[] notifications) Constructs anMBeanInfo.MBeanInfo(String className,String description,MBeanAttributeInfo[] attributes,MBeanConstructorInfo[] constructors,MBeanOperationInfo[] operations,MBeanNotificationInfo[] notifications,Descriptor descriptor) Constructs anMBeanInfo.MBeanNotificationInfo(String[] notifTypes,String name,String description) Constructs anMBeanNotificationInfoobject.MBeanNotificationInfo(String[] notifTypes,String name,String description,Descriptor descriptor) Constructs anMBeanNotificationInfoobject.MBeanOperationInfo(String description,Method method) Constructs anMBeanOperationInfoobject.MBeanOperationInfo(String name,String description,MBeanParameterInfo[] signature,String type, int impact) Constructs anMBeanOperationInfoobject.MBeanOperationInfo(String name,String description,MBeanParameterInfo[] signature,String type, int impact,Descriptor descriptor) Constructs anMBeanOperationInfoobject.MBeanParameterInfo(String name,String type,String description) Constructs anMBeanParameterInfoobject.MBeanParameterInfo(String name,String type,String description,Descriptor descriptor) Constructs anMBeanParameterInfoobject.MBeanPermission(String name,String actions) Deprecated, for removal: This API element is subject to removal in a future version.Create a new MBeanPermission object with the specified target nameand actions.MBeanPermission(String className,String member,ObjectName objectName,String actions) Deprecated, for removal: This API element is subject to removal in a future version.Create a new MBeanPermission object with the specified target name(class name, member, object name) and actions.MBeanRegistrationException(Exception e,String message) Creates anMBeanRegistrationExceptionthat wrapsthe actualjava.lang.Exceptionwith a detailedmessage.MBeanServerNotification(String type,Object source, long sequenceNumber,ObjectName objectName) Creates an MBeanServerNotification object specifying object names ofthe MBeans that caused the notification and the specified notificationtype.MBeanServerPermission(String name) Deprecated, for removal: This API element is subject to removal in a future version.Create a new MBeanServerPermission with the given name.MBeanServerPermission(String name,String actions) Deprecated, for removal: This API element is subject to removal in a future version.Create a new MBeanServerPermission with the given name.MBeanTrustPermission(String name) Deprecated, for removal: This API element is subject to removal in a future version.Create a new MBeanTrustPermission with the given name.MBeanTrustPermission(String name,String actions) Deprecated, for removal: This API element is subject to removal in a future version.Create a new MBeanTrustPermission with the given name.NotCompliantMBeanException(String message) Constructor that allows a specific error message to be specified.Notification(String type,Object source, long sequenceNumber) Creates a Notification object.Notification(String type,Object source, long sequenceNumber, long timeStamp) Creates a Notification object.Notification(String type,Object source, long sequenceNumber, long timeStamp,String message) Creates a Notification object.Notification(String type,Object source, long sequenceNumber,String message) Creates a Notification object.ObjectInstance(String objectName,String className) Allows an object instance to be created given a string representation ofan object name and the full class name, including the package name.ObjectInstance(ObjectName objectName,String className) Allows an object instance to be created given an object name andthe full class name, including the package name.ObjectName(String name) Construct an object name from the given string.ObjectName(String domain,String key,String value) Construct an object name with exactly one key property.ObjectName(String domain,Hashtable<String, String> table) Construct an object name with several key properties from a Hashtable.OperationsException(String message) Constructor that allows a specific error message to be specified.ReflectionException(Exception e,String message) Creates aReflectionExceptionthat wraps the actualjava.lang.Exceptionwitha detail message.RuntimeErrorException(Error e,String message) Constructor that allows a specific error message to be specified.RuntimeMBeanException(RuntimeException e,String message) Creates aRuntimeMBeanExceptionthat wraps the actualjava.lang.RuntimeExceptionwitha detailed message.RuntimeOperationsException(RuntimeException e,String message) Creates aRuntimeOperationsExceptionthat wraps the actualjava.lang.RuntimeExceptionwith a detailed message.ServiceNotFoundException(String message) Constructor that allows a specific error message to be specified.StringValueExp(String val) Creates a newStringValueExprepresenting thegiven string.Constructor parameters injavax.management with type arguments of typeStringModifierConstructorDescriptionImmutableDescriptor(Map<String, ?> fields) Construct a descriptor where the names and values of the fieldsare the keys and values of the given Map.ObjectName(String domain,Hashtable<String, String> table) Construct an object name with several key properties from a Hashtable.ObjectName(String domain,Hashtable<String, String> table) Construct an object name with several key properties from a Hashtable.Uses ofString injavax.management.loading
Methods injavax.management.loading with parameters of typeStringModifier and TypeMethodDescriptionClass<?> Load the given class name through the list of class loaders.staticClass<?> Deprecated.Go through the list of class loaders and try to load the requestedclass.Class<?> ClassLoaderRepository.loadClassBefore(ClassLoader stop,String className) Load the given class name through the list of class loaders,stopping at the given one.Class<?> ClassLoaderRepository.loadClassWithout(ClassLoader exclude,String className) Load the given class name through the list of class loaders,excluding the given one.staticClass<?> DefaultLoaderRepository.loadClassWithout(ClassLoader loader,String className) Deprecated.Go through the list of class loaders but exclude the givenclass loader, then try to loadthe requested class.Uses ofString injavax.management.modelmbean
Methods injavax.management.modelmbean that returnStringModifier and TypeMethodDescriptionModelMBeanInfo.getClassName()Returns the name of the Java class of the MBean described bythisMBeanInfo.ModelMBeanInfo.getDescription()Returns a human readable description of the MBean.String[]DescriptorSupport.getFieldNames()String[]DescriptorSupport.getFields()DescriptorSupport.toString()Returns a human readable string representing thedescriptor.ModelMBeanAttributeInfo.toString()Returns a human-readable version of theModelMBeanAttributeInfo instance.ModelMBeanConstructorInfo.toString()Returns a string containing the entire contents of the ModelMBeanConstructorInfo in human readable form.ModelMBeanNotificationInfo.toString()Returns a human readable string containingModelMBeanNotificationInfo.ModelMBeanOperationInfo.toString()Returns a string containing the entire contents of theModelMBeanOperationInfo in human readable form.DescriptorSupport.toXMLString()Deprecated, for removal: This API element is subject to removal in a future version.This method exists for historical reasons.Methods injavax.management.modelmbean with parameters of typeStringModifier and TypeMethodDescriptionvoidModelMBeanNotificationBroadcaster.addAttributeChangeNotificationListener(NotificationListener listener,String attributeName,Object handback) Registers an object which implements the NotificationListener interface as a listener.voidRequiredModelMBean.addAttributeChangeNotificationListener(NotificationListener inlistener,String inAttributeName,Object inhandback) ModelMBeanInfo.getAttribute(String inName) Returns a ModelMBeanAttributeInfo requested by name.ModelMBeanInfoSupport.getAttribute(String inName) RequiredModelMBean.getAttribute(String attrName) Returns the value of a specific attribute defined for thisModelMBean.RequiredModelMBean.getAttributes(String[] attrNames) Returns the values of several attributes in the ModelMBean.ModelMBeanInfoSupport.getConstructor(String inName) Returns the ModelMBeanConstructorInfo requested by name.ModelMBeanInfo.getDescriptor(String inDescriptorName,String inDescriptorType) Returns a Descriptor requested by name and descriptorType.ModelMBeanInfoSupport.getDescriptor(String inDescriptorName) Returns a Descriptor requested by name.ModelMBeanInfoSupport.getDescriptor(String inDescriptorName,String inDescriptorType) ModelMBeanInfo.getDescriptors(String inDescriptorType) Returns a Descriptor array consisting of allDescriptors for the ModelMBeanInfo of type inDescriptorType.ModelMBeanInfoSupport.getDescriptors(String inDescriptorType) DescriptorSupport.getFieldValue(String fieldName) Object[]DescriptorSupport.getFieldValues(String... fieldNames) ModelMBeanInfo.getNotification(String inName) Returns a ModelMBeanNotificationInfo requested by name.ModelMBeanInfoSupport.getNotification(String inName) ModelMBeanInfo.getOperation(String inName) Returns a ModelMBeanOperationInfo requested by name.ModelMBeanInfoSupport.getOperation(String inName) Invokes a method on or through a RequiredModelMBean and returnsthe result of the method execution.voidModelMBeanNotificationBroadcaster.removeAttributeChangeNotificationListener(NotificationListener listener,String attributeName) Removes a listener for attributeChangeNotifications from the RequiredModelMBean.voidRequiredModelMBean.removeAttributeChangeNotificationListener(NotificationListener inlistener,String inAttributeName) voidDescriptorSupport.removeField(String fieldName) voidModelMBeanNotificationBroadcaster.sendNotification(String ntfyText) Sends a Notification which contains the text string that is passed into the registered Notification listeners on the ModelMBean.voidRequiredModelMBean.sendNotification(String ntfyText) voidModelMBeanInfo.setDescriptor(Descriptor inDescriptor,String inDescriptorType) Sets descriptors in the info array of type inDescriptorTypefor the ModelMBean.voidModelMBeanInfoSupport.setDescriptor(Descriptor inDescriptor,String inDescriptorType) voidvoidvoidModelMBean.setManagedResource(Object mr,String mr_type) Sets the instance handle of the object against which toexecute all methods in this ModelMBean management interface(MBeanInfo and Descriptors).voidRequiredModelMBean.setManagedResource(Object mr,String mr_type) Sets the instance handle of the object against which toexecute all methods in this ModelMBean management interface(MBeanInfo and Descriptors).Constructors injavax.management.modelmbean with parameters of typeStringModifierConstructorDescriptionDescriptorSupport(String inStr) Deprecated, for removal: This API element is subject to removal in a future version.This constructor exists for historical reasons.DescriptorSupport(String... fields) Constructor taking fields in thefieldName=fieldValueformat.DescriptorSupport(String[] fieldNames,Object[] fieldValues) Constructor taking field names and field values.Constructor taking an exception and a string.Constructor from a string.ModelMBeanAttributeInfo(String name,String description,Method getter,Method setter) Constructs a ModelMBeanAttributeInfo object with a defaultdescriptor.ModelMBeanAttributeInfo(String name,String description,Method getter,Method setter,Descriptor descriptor) Constructs a ModelMBeanAttributeInfo object.ModelMBeanAttributeInfo(String name,String type,String description, boolean isReadable, boolean isWritable, boolean isIs) Constructs a ModelMBeanAttributeInfo object with a default descriptor.ModelMBeanAttributeInfo(String name,String type,String description, boolean isReadable, boolean isWritable, boolean isIs,Descriptor descriptor) Constructs a ModelMBeanAttributeInfo object.ModelMBeanConstructorInfo(String description,Constructor<?> constructorMethod) Constructs a ModelMBeanConstructorInfo object with a defaultdescriptor.ModelMBeanConstructorInfo(String description,Constructor<?> constructorMethod,Descriptor descriptor) Constructs a ModelMBeanConstructorInfo object.ModelMBeanConstructorInfo(String name,String description,MBeanParameterInfo[] signature) Constructs a ModelMBeanConstructorInfo object with a default descriptor.ModelMBeanConstructorInfo(String name,String description,MBeanParameterInfo[] signature,Descriptor descriptor) Constructs a ModelMBeanConstructorInfo object.ModelMBeanInfoSupport(String className,String description,ModelMBeanAttributeInfo[] attributes,ModelMBeanConstructorInfo[] constructors,ModelMBeanOperationInfo[] operations,ModelMBeanNotificationInfo[] notifications) Creates a ModelMBeanInfoSupport with the provided information,but the descriptor is a default.ModelMBeanInfoSupport(String className,String description,ModelMBeanAttributeInfo[] attributes,ModelMBeanConstructorInfo[] constructors,ModelMBeanOperationInfo[] operations,ModelMBeanNotificationInfo[] notifications,Descriptor mbeandescriptor) Creates a ModelMBeanInfoSupport with the provided informationand the descriptor given in parameter.ModelMBeanNotificationInfo(String[] notifTypes,String name,String description) Constructs a ModelMBeanNotificationInfo object with a defaultdescriptor.ModelMBeanNotificationInfo(String[] notifTypes,String name,String description,Descriptor descriptor) Constructs a ModelMBeanNotificationInfo object.ModelMBeanOperationInfo(String description,Method operationMethod) Constructs a ModelMBeanOperationInfo object with a defaultdescriptor.ModelMBeanOperationInfo(String description,Method operationMethod,Descriptor descriptor) Constructs a ModelMBeanOperationInfo object.ModelMBeanOperationInfo(String name,String description,MBeanParameterInfo[] signature,String type, int impact) Constructs a ModelMBeanOperationInfo object with a default descriptor.ModelMBeanOperationInfo(String name,String description,MBeanParameterInfo[] signature,String type, int impact,Descriptor descriptor) Constructs a ModelMBeanOperationInfo object.Deprecated, for removal: This API element is subject to removal in a future version.Constructor taking a string and an exception.Deprecated, for removal: This API element is subject to removal in a future version.Constructor taking a string.Uses ofString injavax.management.monitor
Fields injavax.management.monitor declared asStringModifier and TypeFieldDescriptionprotectedStringMonitor.dbgTagDeprecated.No replacement.static finalStringMonitorNotification.OBSERVED_ATTRIBUTE_ERRORNotification type denoting that the observed attribute is not contained in the observed object.static finalStringMonitorNotification.OBSERVED_ATTRIBUTE_TYPE_ERRORNotification type denoting that the type of the observed attribute is not correct.static finalStringMonitorNotification.OBSERVED_OBJECT_ERRORNotification type denoting that the observed object is not registered in the MBean server.static finalStringMonitorNotification.RUNTIME_ERRORNotification type denoting that a non-predefined error type has occurred when trying to get the value of the observed attribute.static finalStringMonitorNotification.STRING_TO_COMPARE_VALUE_DIFFEREDNotification type denoting that the observed attribute has differed from the "string to compare" value.static finalStringMonitorNotification.STRING_TO_COMPARE_VALUE_MATCHEDNotification type denoting that the observed attribute has matched the "string to compare" value.static finalStringMonitorNotification.THRESHOLD_ERRORNotification type denoting that the type of the thresholds, offset or modulus is not correct.static finalStringMonitorNotification.THRESHOLD_HIGH_VALUE_EXCEEDEDNotification type denoting that the observed attribute has exceeded the threshold high value.static finalStringMonitorNotification.THRESHOLD_LOW_VALUE_EXCEEDEDNotification type denoting that the observed attribute has exceeded the threshold low value.static finalStringMonitorNotification.THRESHOLD_VALUE_EXCEEDEDNotification type denoting that the observed attribute has reached the threshold value.Methods injavax.management.monitor that returnStringModifier and TypeMethodDescriptionStringMonitor.getDerivedGauge()Deprecated.As of JMX 1.2, replaced byStringMonitor.getDerivedGauge(ObjectName)StringMonitor.getDerivedGauge(ObjectName object) Gets the derived gauge of the specified object, if this object iscontained in the set of observed MBeans, ornullotherwise.StringMonitorMBean.getDerivedGauge()Deprecated.As of JMX 1.2, replaced byStringMonitorMBean.getDerivedGauge(ObjectName)StringMonitorMBean.getDerivedGauge(ObjectName object) Gets the derived gauge for the specified MBean.Monitor.getObservedAttribute()Gets the attribute being observed.MonitorMBean.getObservedAttribute()Gets the attribute being observed.MonitorNotification.getObservedAttribute()Gets the observed attribute of this monitor notification.StringMonitor.getStringToCompare()Gets the string to compare with the observed attribute commonto all observed MBeans.StringMonitorMBean.getStringToCompare()Gets the string to compare with the observed attribute.Methods injavax.management.monitor with parameters of typeStringModifier and TypeMethodDescriptionvoidMonitor.setObservedAttribute(String attribute) Sets the attribute to observe.voidMonitorMBean.setObservedAttribute(String attribute) Sets the attribute to observe.voidStringMonitor.setStringToCompare(String value) Sets the string to compare with the observed attribute commonto all observed MBeans.voidStringMonitorMBean.setStringToCompare(String value) Sets the string to compare with the observed attribute.Constructors injavax.management.monitor with parameters of typeStringModifierConstructorDescriptionMonitorSettingException(String message) Constructor that allows an error message to be specified.Uses ofString injavax.management.openmbean
Fields injavax.management.openmbean declared asStringModifier and TypeFieldDescriptionstatic finalString[]OpenType.ALLOWED_CLASSNAMESDeprecated.UseALLOWED_CLASSNAMES_LISTinstead.Fields injavax.management.openmbean with type parameters of typeStringModifier and TypeFieldDescriptionOpenType.ALLOWED_CLASSNAMES_LISTList of the fully qualified names of the Java classes allowed for opendata values.static finalSimpleType<String> SimpleType.STRINGTheSimpleTypeinstance describing values whoseJava class name isjava.lang.String.Methods injavax.management.openmbean that returnStringModifier and TypeMethodDescriptionOpenMBeanInfo.getClassName()Returns the fully qualified Java class name of the open MBeaninstances thisOpenMBeanInfodescribes.OpenType.getClassName()Returns the fully qualified Java class name of the open data valuesthis open type describes.CompositeType.getDescription(String itemName) Returns the description of the item whose name isitemName,ornullif thisCompositeTypeinstance does not define any itemwhose name isitemName.OpenMBeanConstructorInfo.getDescription()Returns a human readable description of the constructordescribed by thisOpenMBeanConstructorInfoinstance.OpenMBeanInfo.getDescription()Returns a human readable description of the type of open MBeaninstances thisOpenMBeanInfodescribes.OpenMBeanOperationInfo.getDescription()Returns a human readable description of the operationdescribed by thisOpenMBeanOperationInfoinstance.OpenMBeanParameterInfo.getDescription()Returns a human readable description of the parameterdescribed by thisOpenMBeanParameterInfoinstance.OpenType.getDescription()Returns the text description of thisOpenTypeinstance.OpenMBeanConstructorInfo.getName()Returns the name of the constructordescribed by thisOpenMBeanConstructorInfoinstance.OpenMBeanOperationInfo.getName()Returns the name of the operationdescribed by thisOpenMBeanOperationInfoinstance.OpenMBeanParameterInfo.getName()Returns the name of the parameterdescribed by thisOpenMBeanParameterInfoinstance.OpenMBeanOperationInfo.getReturnType()Returns the fully qualified Java class name of the valuesreturned by the operation described by thisOpenMBeanOperationInfoinstance.OpenType.getTypeName()Returns the name of thisOpenTypeinstance.ArrayType.toString()Returns a string representation of thisArrayTypeinstance.CompositeData.toString()Returns a string representation of thisCompositeDatainstance.CompositeDataSupport.toString()Returns a string representation of thisCompositeDataSupportinstance.CompositeType.toString()Returns a string representation of thisCompositeTypeinstance.OpenMBeanAttributeInfo.toString()Returns a string representation of thisOpenMBeanAttributeInfoinstance.OpenMBeanAttributeInfoSupport.toString()Returns a string representation of thisOpenMBeanAttributeInfoSupportinstance.OpenMBeanConstructorInfo.toString()Returns a string representation of thisOpenMBeanConstructorInfoinstance.OpenMBeanConstructorInfoSupport.toString()Returns a string representation of thisOpenMBeanConstructorInfoSupportinstance.OpenMBeanInfo.toString()Returns a string representation of thisOpenMBeanInfoinstance.OpenMBeanInfoSupport.toString()Returns a string representation of thisOpenMBeanInfoSupportinstance.OpenMBeanOperationInfo.toString()Returns a string representation of thisOpenMBeanOperationInfoinstance.OpenMBeanOperationInfoSupport.toString()Returns a string representation of thisOpenMBeanOperationInfoSupportinstance.OpenMBeanParameterInfo.toString()Returns a string representation of thisOpenMBeanParameterInfoinstance.OpenMBeanParameterInfoSupport.toString()Returns a string representation of thisOpenMBeanParameterInfoSupportinstance.abstractStringOpenType.toString()Returns a string representation of this open type instance.SimpleType.toString()Returns a string representation of thisSimpleTypeinstance.TabularData.toString()Returns a string representation of thisTabularDatainstance.TabularDataSupport.toString()Returns a string representation of thisTabularDataSupportinstance.TabularType.toString()Returns a string representation of thisTabularTypeinstance.Methods injavax.management.openmbean that return types with arguments of typeStringModifier and TypeMethodDescriptionTabularType.getIndexNames()Returns, in the same order as was given to this instance'sconstructor, an unmodifiable List of the names of the items thevalues of which are used to uniquely index each row element oftabular data values described by thisTabularTypeinstance.CompositeType.keySet()Returns an unmodifiable Set view of all the item names defined by thisCompositeTypeinstance.Methods injavax.management.openmbean with parameters of typeStringModifier and TypeMethodDescriptionbooleanCompositeData.containsKey(String key) Returnstrueif and only if thisCompositeDatainstance containsan item whose name iskey.booleanCompositeDataSupport.containsKey(String key) Returnstrueif and only if thisCompositeDatainstance containsan item whose name iskey.booleanCompositeType.containsKey(String itemName) Returnstrueif thisCompositeTypeinstance defines an itemwhose name isitemName.Returns the value of the item whose name iskey.Returns the value of the item whose name iskey.Object[]Returns an array of the values of the items whose namesare specified bykeys, in the same order askeys.Object[]Returns an array of the values of the items whose names are specified bykeys, in the same order askeys.CompositeType.getDescription(String itemName) Returns the description of the item whose name isitemName,ornullif thisCompositeTypeinstance does not define any itemwhose name isitemName.OpenType<?> Returns theopen type of the item whose name isitemName,ornullif thisCompositeTypeinstance does not define any itemwhose name isitemName.Constructors injavax.management.openmbean with parameters of typeStringModifierConstructorDescriptionCompositeDataSupport(CompositeType compositeType,String[] itemNames,Object[] itemValues) Constructs aCompositeDataSupportinstance with the specifiedcompositeType, whose item valuesare specified byitemValues[], in the same order as initemNames[].CompositeType(String typeName,String description,String[] itemNames,String[] itemDescriptions,OpenType<?>[] itemTypes) Constructs aCompositeTypeinstance, checking for the validity of the given parameters.An InvalidKeyException with a detail message.An InvalidOpenTypeException with a detail message.A KeyAlreadyExistsException with a detail message.OpenDataException(String msg) An OpenDataException with a detail message.OpenMBeanAttributeInfoSupport(String name,String description,OpenType<?> openType, boolean isReadable, boolean isWritable, boolean isIs) Constructs anOpenMBeanAttributeInfoSupportinstance,which describes the attribute of an open MBean with thespecifiedname,openTypeanddescription, and the specified read/write access properties.OpenMBeanAttributeInfoSupport(String name,String description,OpenType<?> openType, boolean isReadable, boolean isWritable, boolean isIs,Descriptor descriptor) Constructs anOpenMBeanAttributeInfoSupportinstance,which describes the attribute of an open MBean with thespecifiedname,openType,description, read/write access properties, andDescriptor.<T>OpenMBeanAttributeInfoSupport(String name,String description,OpenType<T> openType, boolean isReadable, boolean isWritable, boolean isIs, T defaultValue) Constructs anOpenMBeanAttributeInfoSupportinstance,which describes the attribute of an open MBean with thespecifiedname,openType,descriptionanddefaultValue, and the specified read/write accessproperties.<T>OpenMBeanAttributeInfoSupport(String name,String description,OpenType<T> openType, boolean isReadable, boolean isWritable, boolean isIs, T defaultValue,Comparable<T> minValue,Comparable<T> maxValue) Constructs anOpenMBeanAttributeInfoSupportinstance,which describes the attribute of an open MBean, with thespecifiedname,openType,description,defaultValue,minValueandmaxValue.<T>OpenMBeanAttributeInfoSupport(String name,String description,OpenType<T> openType, boolean isReadable, boolean isWritable, boolean isIs, T defaultValue, T[] legalValues) Constructs anOpenMBeanAttributeInfoSupportinstance,which describes the attribute of an open MBean with thespecifiedname,openType,description,defaultValueandlegalValues, and the specifiedread/write access properties.OpenMBeanConstructorInfoSupport(String name,String description,OpenMBeanParameterInfo[] signature) Constructs anOpenMBeanConstructorInfoSupportinstance, which describes the constructor of a class of openMBeans with the specifiedname,descriptionandsignature.OpenMBeanConstructorInfoSupport(String name,String description,OpenMBeanParameterInfo[] signature,Descriptor descriptor) Constructs anOpenMBeanConstructorInfoSupportinstance, which describes the constructor of a class of openMBeans with the specifiedname,description,signature, anddescriptor.OpenMBeanInfoSupport(String className,String description,OpenMBeanAttributeInfo[] openAttributes,OpenMBeanConstructorInfo[] openConstructors,OpenMBeanOperationInfo[] openOperations,MBeanNotificationInfo[] notifications) Constructs anOpenMBeanInfoSupportinstance, whichdescribes a class of open MBeans with the specifiedclassName,description,openAttributes,openConstructors,openOperationsandnotifications.OpenMBeanInfoSupport(String className,String description,OpenMBeanAttributeInfo[] openAttributes,OpenMBeanConstructorInfo[] openConstructors,OpenMBeanOperationInfo[] openOperations,MBeanNotificationInfo[] notifications,Descriptor descriptor) Constructs anOpenMBeanInfoSupportinstance, whichdescribes a class of open MBeans with the specifiedclassName,description,openAttributes,openConstructors,openOperations,notifications, anddescriptor.OpenMBeanOperationInfoSupport(String name,String description,OpenMBeanParameterInfo[] signature,OpenType<?> returnOpenType, int impact) Constructs anOpenMBeanOperationInfoSupportinstance, which describes the operation of a class of openMBeans, with the specifiedname,description,signature,returnOpenTypeandimpact.OpenMBeanOperationInfoSupport(String name,String description,OpenMBeanParameterInfo[] signature,OpenType<?> returnOpenType, int impact,Descriptor descriptor) Constructs anOpenMBeanOperationInfoSupportinstance, which describes the operation of a class of openMBeans, with the specifiedname,description,signature,returnOpenType,impact, anddescriptor.OpenMBeanParameterInfoSupport(String name,String description,OpenType<?> openType) Constructs anOpenMBeanParameterInfoSupportinstance,which describes the parameter used in one or more operations orconstructors of a class of open MBeans, with the specifiedname,openTypeanddescription.OpenMBeanParameterInfoSupport(String name,String description,OpenType<?> openType,Descriptor descriptor) Constructs anOpenMBeanParameterInfoSupportinstance,which describes the parameter used in one or more operations orconstructors of a class of open MBeans, with the specifiedname,openType,description,anddescriptor.<T>OpenMBeanParameterInfoSupport(String name,String description,OpenType<T> openType, T defaultValue) Constructs anOpenMBeanParameterInfoSupportinstance,which describes the parameter used in one or more operations orconstructors of a class of open MBeans, with the specifiedname,openType,descriptionanddefaultValue.<T>OpenMBeanParameterInfoSupport(String name,String description,OpenType<T> openType, T defaultValue,Comparable<T> minValue,Comparable<T> maxValue) Constructs anOpenMBeanParameterInfoSupportinstance,which describes the parameter used in one or more operations orconstructors of a class of open MBeans, with the specifiedname,openType,description,defaultValue,minValueandmaxValue.<T>OpenMBeanParameterInfoSupport(String name,String description,OpenType<T> openType, T defaultValue, T[] legalValues) Constructs anOpenMBeanParameterInfoSupportinstance,which describes the parameter used in one or more operations orconstructors of a class of open MBeans, with the specifiedname,openType,description,defaultValueandlegalValues.protectedConstructs anOpenTypeinstance (actually a subclass instance asOpenTypeis abstract),checking for the validity of the given parameters.TabularType(String typeName,String description,CompositeType rowType,String[] indexNames) Constructs aTabularTypeinstance, checking for the validity of the given parameters.Constructor parameters injavax.management.openmbean with type arguments of typeStringModifierConstructorDescriptionCompositeDataSupport(CompositeType compositeType,Map<String, ?> items) Constructs aCompositeDataSupportinstance with the specifiedcompositeType,whose item names and corresponding valuesare given by the mappings in the mapitems.Uses ofString injavax.management.relation
Fields injavax.management.relation declared asStringModifier and TypeFieldDescriptionstatic finalStringRelationNotification.RELATION_BASIC_CREATIONType for the creation of an internal relation.static finalStringRelationNotification.RELATION_BASIC_REMOVALType for the removal from the Relation Service of an internal relation.static finalStringRelationNotification.RELATION_BASIC_UPDATEType for an update of an internal relation.static finalStringRelationNotification.RELATION_MBEAN_CREATIONType for the relation MBean added into the Relation Service.static finalStringRelationNotification.RELATION_MBEAN_REMOVALType for the removal from the Relation Service of a relation MBean.static finalStringRelationNotification.RELATION_MBEAN_UPDATEType for the update of a relation MBean.Methods injavax.management.relation that returnStringModifier and TypeMethodDescriptionRoleInfo.getDescription()Returns description text for the role.RoleInfo.getName()Returns the name of the role.RoleInfo.getRefMBeanClassName()Returns name of type of MBean expected to be referenced incorresponding role.Relation.getRelationId()Returns relation identifier (used to uniquely identify the relationinside the Relation Service).RelationNotification.getRelationId()Returns the relation identifier of created/removed/updated relation.RelationSupport.getRelationId()Returns relation identifier (used to uniquely identify the relationinside the Relation Service).Relation.getRelationTypeName()Returns name of associated relation type.RelationNotification.getRelationTypeName()Returns the relation type name of created/removed/updated relation.RelationService.getRelationTypeName(String relationId) Returns name of associated relation type for given relation.RelationServiceMBean.getRelationTypeName(String relationId) Returns name of associated relation type for given relation.RelationSupport.getRelationTypeName()Returns name of associated relation type.RelationType.getRelationTypeName()Returns the relation type name.RelationTypeSupport.getRelationTypeName()Returns the relation type name.RelationNotification.getRoleName()Returns name of updated role of updated relation (only for role update).Role.getRoleName()Retrieves role name.RoleUnresolved.getRoleName()Retrieves role name.RelationService.isRelation(ObjectName objectName) Returns the relation id associated to the given ObjectName if theMBean has been added as a relation in the Relation Service.RelationServiceMBean.isRelation(ObjectName objectName) Returns the relation id associated to the given ObjectName if theMBean has been added as a relation in the Relation Service.staticStringRole.roleValueToString(List<ObjectName> roleValue) Returns a string for the given role value.Role.toString()Returns a string describing the role.RoleInfo.toString()Returns a string describing the role info.RoleUnresolved.toString()Return a string describing this object.Methods injavax.management.relation that return types with arguments of typeStringModifier and TypeMethodDescriptionRelationService.findAssociatedMBeans(ObjectName mbeanName,String relationTypeName,String roleName) Retrieves the MBeans associated to given one in a relation.RelationServiceMBean.findAssociatedMBeans(ObjectName mbeanName,String relationTypeName,String roleName) Retrieves the MBeans associated to given one in a relation.RelationService.findReferencingRelations(ObjectName mbeanName,String relationTypeName,String roleName) Retrieves the relations where a given MBean is referenced.RelationService.findReferencingRelations(ObjectName mbeanName,String relationTypeName,String roleName) Retrieves the relations where a given MBean is referenced.RelationServiceMBean.findReferencingRelations(ObjectName mbeanName,String relationTypeName,String roleName) Retrieves the relations where a given MBean is referenced.RelationServiceMBean.findReferencingRelations(ObjectName mbeanName,String relationTypeName,String roleName) Retrieves the relations where a given MBean is referenced.RelationService.findRelationsOfType(String relationTypeName) Returns the relation ids for relations of the given type.RelationServiceMBean.findRelationsOfType(String relationTypeName) Returns the relation ids for relations of the given type.RelationService.getAllRelationIds()Returns all the relation ids for all the relations handled by theRelation Service.RelationServiceMBean.getAllRelationIds()Returns all the relation ids for all the relations handled by theRelation Service.RelationService.getAllRelationTypeNames()Retrieves names of all known relation types.RelationServiceMBean.getAllRelationTypeNames()Retrieves names of all known relation types.Relation.getReferencedMBeans()Retrieves MBeans referenced in the various roles of the relation.RelationService.getReferencedMBeans(String relationId) Retrieves MBeans referenced in the various roles of the relation.RelationServiceMBean.getReferencedMBeans(String relationId) Retrieves MBeans referenced in the various roles of the relation.RelationSupport.getReferencedMBeans()Retrieves MBeans referenced in the various roles of the relation.Methods injavax.management.relation with parameters of typeStringModifier and TypeMethodDescriptionRelationService.checkRoleReading(String roleName,String relationTypeName) Checks if given Role can be read in a relation of the given type.RelationServiceMBean.checkRoleReading(String roleName,String relationTypeName) Checks if given Role can be read in a relation of the given type.RelationService.checkRoleWriting(Role role,String relationTypeName,Boolean initFlag) Checks if given Role can be set in a relation of given type.RelationServiceMBean.checkRoleWriting(Role role,String relationTypeName,Boolean initFlag) Checks if given Role can be set in a relation of given type.voidRelationService.createRelation(String relationId,String relationTypeName,RoleList roleList) Creates a simple relation (represented by a RelationSupport object) ofgiven relation type, and adds it in the Relation Service.voidRelationServiceMBean.createRelation(String relationId,String relationTypeName,RoleList roleList) Creates a simple relation (represented by a RelationSupport object) ofgiven relation type, and adds it in the Relation Service.voidRelationService.createRelationType(String relationTypeName,RoleInfo[] roleInfoArray) Creates a relation type (a RelationTypeSupport object) with givenrole infos (provided by the RoleInfo objects), and adds it in theRelation Service.voidRelationServiceMBean.createRelationType(String relationTypeName,RoleInfo[] roleInfoArray) Creates a relation type (RelationTypeSupport object) with givenrole infos (provided by the RoleInfo objects), and adds it in theRelation Service.RelationService.findAssociatedMBeans(ObjectName mbeanName,String relationTypeName,String roleName) Retrieves the MBeans associated to given one in a relation.RelationServiceMBean.findAssociatedMBeans(ObjectName mbeanName,String relationTypeName,String roleName) Retrieves the MBeans associated to given one in a relation.RelationService.findReferencingRelations(ObjectName mbeanName,String relationTypeName,String roleName) Retrieves the relations where a given MBean is referenced.RelationServiceMBean.findReferencingRelations(ObjectName mbeanName,String relationTypeName,String roleName) Retrieves the relations where a given MBean is referenced.RelationService.findRelationsOfType(String relationTypeName) Returns the relation ids for relations of the given type.RelationServiceMBean.findRelationsOfType(String relationTypeName) Returns the relation ids for relations of the given type.RelationService.getAllRoles(String relationId) Returns all roles present in the relation.RelationServiceMBean.getAllRoles(String relationId) Returns all roles present in the relation.RelationService.getReferencedMBeans(String relationId) Retrieves MBeans referenced in the various roles of the relation.RelationServiceMBean.getReferencedMBeans(String relationId) Retrieves MBeans referenced in the various roles of the relation.RelationService.getRelationTypeName(String relationId) Returns name of associated relation type for given relation.RelationServiceMBean.getRelationTypeName(String relationId) Returns name of associated relation type for given relation.Retrieves role value for given role name.Retrieves role value for given role name in given relation.Retrieves role value for given role name in given relation.Retrieves role value for given role name.Relation.getRoleCardinality(String roleName) Returns the number of MBeans currently referenced in the given role.RelationService.getRoleCardinality(String relationId,String roleName) Retrieves the number of MBeans currently referenced in the given role.RelationServiceMBean.getRoleCardinality(String relationId,String roleName) Retrieves the number of MBeans currently referenced in thegiven role.RelationSupport.getRoleCardinality(String roleName) Returns the number of MBeans currently referenced in the given role.RelationService.getRoleInfo(String relationTypeName,String roleInfoName) Retrieves role info for given role name of a given relation type.RelationServiceMBean.getRoleInfo(String relationTypeName,String roleInfoName) Retrieves role info for given role of a given relation type.RelationType.getRoleInfo(String roleInfoName) Returns the role info (RoleInfo object) for the given role info name(null if not found).RelationTypeSupport.getRoleInfo(String roleInfoName) Returns the role info (RoleInfo object) for the given role info name(null if not found).RelationService.getRoleInfos(String relationTypeName) Retrieves list of role infos (RoleInfo objects) of a given relationtype.RelationServiceMBean.getRoleInfos(String relationTypeName) Retrieves list of role infos (RoleInfo objects) of a given relationtype.Retrieves values of roles with given names.Retrieves values of roles with given names in given relation.Retrieves values of roles with given names in given relation.Retrieves values of roles with given names.voidRelation.handleMBeanUnregistration(ObjectName objectName,String roleName) Callback used by the Relation Service when a MBean referenced in a roleis unregistered.voidRelationSupport.handleMBeanUnregistration(ObjectName objectName,String roleName) Callback used by the Relation Service when a MBean referenced in a roleis unregistered.RelationService.hasRelation(String relationId) Checks if there is a relation identified in Relation Service with givenrelation id.RelationServiceMBean.hasRelation(String relationId) Checks if there is a relation identified in Relation Service with givenrelation id.RelationService.isRelationMBean(String relationId) If the relation is represented by an MBean (created by the user andadded as a relation in the Relation Service), returns the ObjectName ofthe MBean.RelationServiceMBean.isRelationMBean(String relationId) If the relation is represented by an MBean (created by the user andadded as a relation in the Relation Service), returns the ObjectName ofthe MBean.voidRelationService.removeRelation(String relationId) Removes given relation from the Relation Service.voidRelationServiceMBean.removeRelation(String relationId) Removes given relation from the Relation Service.voidRelationService.removeRelationType(String relationTypeName) Removes given relation type from Relation Service.voidRelationServiceMBean.removeRelationType(String relationTypeName) Removes given relation type from Relation Service.voidRelationService.sendRelationCreationNotification(String relationId) Sends a notification (RelationNotification) for a relation creation.voidRelationServiceMBean.sendRelationCreationNotification(String relationId) Sends a notification (RelationNotification) for a relation creation.voidRelationService.sendRelationRemovalNotification(String relationId,List<ObjectName> unregMBeanList) Sends a notification (RelationNotification) for a relation removal.voidRelationServiceMBean.sendRelationRemovalNotification(String relationId,List<ObjectName> unregMBeanList) Sends a notification (RelationNotification) for a relation removal.voidRelationService.sendRoleUpdateNotification(String relationId,Role newRole,List<ObjectName> oldValue) Sends a notification (RelationNotification) for a role update in thegiven relation.voidRelationServiceMBean.sendRoleUpdateNotification(String relationId,Role newRole,List<ObjectName> oldRoleValue) Sends a notification (RelationNotification) for a role update in thegiven relation.voidSets the given role in given relation.voidSets the given role in given relation.voidRole.setRoleName(String roleName) Sets role name.voidRoleUnresolved.setRoleName(String name) Sets role name.Sets the given roles in given relation.Sets the given roles in given relation.voidRelationService.updateRoleMap(String relationId,Role newRole,List<ObjectName> oldValue) Handles update of the Relation Service role map for the update of givenrole in given relation.voidRelationServiceMBean.updateRoleMap(String relationId,Role newRole,List<ObjectName> oldRoleValue) Handles update of the Relation Service role map for the update of givenrole in given relation.Constructors injavax.management.relation with parameters of typeStringModifierConstructorDescriptionInvalidRelationIdException(String message) Constructor with given message put in exception.InvalidRelationServiceException(String message) Constructor with given message put in exception.InvalidRelationTypeException(String message) Constructor with given message put in exception.InvalidRoleInfoException(String message) Constructor with given message put in exception.InvalidRoleValueException(String message) Constructor with given message put in exception.RelationException(String message) Constructor with given message put in exception.RelationNotFoundException(String message) Constructor with given message put in exception.RelationNotification(String notifType,Object sourceObj, long sequence, long timeStamp,String message,String id,String typeName,ObjectName objectName,String name,List<ObjectName> newValue,List<ObjectName> oldValue) Creates a notification for a role update in a relation.RelationNotification(String notifType,Object sourceObj, long sequence, long timeStamp,String message,String id,String typeName,ObjectName objectName,List<ObjectName> unregMBeanList) Creates a notification for either a relation creation (RelationSupportobject created internally in the Relation Service, or an MBean added as arelation) or for a relation removal from the Relation Service.Constructor with given message put in exception.RelationSupport(String relationId,ObjectName relationServiceName,String relationTypeName,RoleList list) Creates aRelationSupportobject.RelationSupport(String relationId,ObjectName relationServiceName,MBeanServer relationServiceMBeanServer,String relationTypeName,RoleList list) Creates aRelationSupportobject.RelationTypeNotFoundException(String message) Constructor with given message put in exception.protectedRelationTypeSupport(String relationTypeName) Constructor to be used for subclasses.RelationTypeSupport(String relationTypeName,RoleInfo[] roleInfoArray) Constructor where all role definitions are dynamically created andpassed as parameter.Role(String roleName,List<ObjectName> roleValue) Make a new Role object.Constructor.Constructor.RoleInfo(String roleName,String mbeanClassName, boolean read, boolean write, int min, int max,String descr) Constructor.RoleInfoNotFoundException(String message) Constructor with given message put in exception.RoleNotFoundException(String message) Constructor with given message put in exception.RoleUnresolved(String name,List<ObjectName> value, int pbType) Constructor.Uses ofString injavax.management.remote
Fields injavax.management.remote declared asStringModifier and TypeFieldDescriptionstatic finalStringJMXConnectorServer.AUTHENTICATORName of the attribute that specifies the authenticator for aconnector server.static finalStringJMXConnectionNotification.CLOSEDNotification type string for a connection-closed notification.static finalStringJMXConnector.CREDENTIALSName of the attribute that specifies the credentials to sendto the connector server during connection.static finalStringJMXConnectorFactory.DEFAULT_CLASS_LOADERName of the attribute that specifies the default classloader.static finalStringJMXConnectorServerFactory.DEFAULT_CLASS_LOADERName of the attribute that specifies the default classloader.static finalStringJMXConnectorServerFactory.DEFAULT_CLASS_LOADER_NAMEName of the attribute that specifies the default classloader MBean name.static finalStringJMXConnectionNotification.FAILEDNotification type string for a connection-failed notification.static finalStringJMXConnectionNotification.NOTIFS_LOSTNotification type string for a connection that has possiblylost notifications.static finalStringJMXConnectionNotification.OPENEDNotification type string for a connection-opened notification.static finalStringJMXConnectorFactory.PROTOCOL_PROVIDER_CLASS_LOADERName of the attribute that specifies the classloader for loading protocol providers.static finalStringJMXConnectorServerFactory.PROTOCOL_PROVIDER_CLASS_LOADERName of the attribute that specifies the classloader for loading protocol providers.static finalStringJMXConnectorFactory.PROTOCOL_PROVIDER_PACKAGESName of the attribute that specifies the provider packagesthat are consulted when looking for the handler for a protocol.static finalStringJMXConnectorServerFactory.PROTOCOL_PROVIDER_PACKAGESName of the attribute that specifies the provider packagesthat are consulted when looking for the handler for a protocol.Methods injavax.management.remote that returnStringModifier and TypeMethodDescriptionJMXConnectionNotification.getConnectionId()The connection ID to which this notification pertains.JMXConnector.getConnectionId()Gets this connection's ID from the connector server.String[]JMXConnectorServer.getConnectionIds()String[]JMXConnectorServerMBean.getConnectionIds()The list of IDs for currently-open connections to thisconnector server.JMXServiceURL.getHost()The host part of the Service URL.JMXPrincipal.getName()Returns the name of this principal.JMXServiceURL.getProtocol()The protocol part of the Service URL.JMXServiceURL.getURLPath()The URL Path part of the Service URL.JMXPrincipal.toString()Returns a string representation of thisJMXPrincipal.JMXServiceURL.toString()The string representation of this Service URL.NotificationResult.toString()Returns a string representation of the object.TargetedNotification.toString()Returns a textual representation of this Targeted Notification.Methods injavax.management.remote that return types with arguments of typeStringModifier and TypeMethodDescriptionJMXConnectorServerMBean.getAttributes()The attributes for this connector server.Methods injavax.management.remote with parameters of typeStringModifier and TypeMethodDescriptionprotected voidJMXConnectorServer.connectionClosed(String connectionId,String message,Object userData) Called by a subclass when a client connection is closednormally.protected voidJMXConnectorServer.connectionFailed(String connectionId,String message,Object userData) Called by a subclass when a client connection fails.protected voidJMXConnectorServer.connectionOpened(String connectionId,String message,Object userData) Called by a subclass when a new client connection is opened.Method parameters injavax.management.remote with type arguments of typeStringModifier and TypeMethodDescriptionvoidEstablishes the connection to the connector server.staticJMXConnectorJMXConnectorFactory.connect(JMXServiceURL serviceURL,Map<String, ?> environment) Creates a connection to the connector server at the givenaddress.staticJMXConnectorJMXConnectorFactory.newJMXConnector(JMXServiceURL serviceURL,Map<String, ?> environment) Creates a connector client for the connector server at thegiven address.JMXConnectorProvider.newJMXConnector(JMXServiceURL serviceURL,Map<String, ?> environment) Creates a new connector client that is ready to connectto the connector server at the given address.staticJMXConnectorServerJMXConnectorServerFactory.newJMXConnectorServer(JMXServiceURL serviceURL,Map<String, ?> environment,MBeanServer mbeanServer) Creates a connector server at the given address.JMXConnectorServerProvider.newJMXConnectorServer(JMXServiceURL serviceURL,Map<String, ?> environment,MBeanServer mbeanServer) Creates a new connector server at the given address.JMXConnectorServer.toJMXConnector(Map<String, ?> env) Returns a client stub for this connector server.JMXConnectorServerMBean.toJMXConnector(Map<String, ?> env) Returns a client stub for this connector server.Constructors injavax.management.remote with parameters of typeStringModifierConstructorDescriptionJMXConnectionNotification(String type,Object source,String connectionId, long sequenceNumber,String message,Object userData) Constructs a new connection notification.JMXPrincipal(String name) Creates a JMXPrincipal for a given identity.JMXProviderException(String message) Constructs aJMXProviderExceptionwith thespecified detail message.JMXProviderException(String message,Throwable cause) Constructs aJMXProviderExceptionwith thespecified detail message and nested exception.JMXServerErrorException(String s,Error err) Constructs aJMXServerErrorExceptionwith the specifieddetail message and nested error.JMXServiceURL(String serviceURL) Constructs aJMXServiceURLby parsing a Service URLstring.JMXServiceURL(String protocol,String host, int port) Constructs aJMXServiceURLwith the given protocol,host, and port.JMXServiceURL(String protocol,String host, int port,String urlPath) Constructs aJMXServiceURLwith the given parts.Deprecated, for removal: This API element is subject to removal in a future version.Creates a new SubjectDelegationPermission with the specified name.SubjectDelegationPermission(String name,String actions) Deprecated, for removal: This API element is subject to removal in a future version.Creates a new SubjectDelegationPermission object with thespecified name.Uses ofString injavax.management.remote.rmi
Fields injavax.management.remote.rmi declared asStringModifier and TypeFieldDescriptionstatic finalStringRMIConnectorServer.CREDENTIALS_FILTER_PATTERNName of the attribute that specifies anObjectInputFilterpattern string to filter classes acceptableforRMIServer.newClient()remote method call.static finalStringRMIConnectorServer.JNDI_REBIND_ATTRIBUTEName of the attribute that specifies whether theRMIServerstub that represents an RMI connector server shouldoverride an existing stub at the same address.static finalStringRMIConnectorServer.RMI_CLIENT_SOCKET_FACTORY_ATTRIBUTEName of the attribute that specifies theRMIClientSocketFactoryfor the RMI objects created inconjunction with this connector.static finalStringRMIConnectorServer.RMI_SERVER_SOCKET_FACTORY_ATTRIBUTEName of the attribute that specifies theRMIServerSocketFactoryfor the RMI objects created inconjunction with this connector.static finalStringRMIConnectorServer.SERIAL_FILTER_PATTERNThis attribute defines a pattern from which to create aObjectInputFilterthat will be used when deserializingobjects sent to theJMXConnectorServerby any client.Methods injavax.management.remote.rmi that returnStringModifier and TypeMethodDescriptionRMIConnection.getConnectionId()Returns the connection ID.RMIConnectionImpl_Stub.getConnectionId()RMIConnectionImpl.getConnectionId()RMIConnector.getConnectionId()RMIConnection.getDefaultDomain(Subject delegationSubject) Handles the methodMBeanServerConnection.getDefaultDomain().RMIConnectionImpl_Stub.getDefaultDomain(Subject $param_Subject_1) RMIConnectionImpl.getDefaultDomain(Subject delegationSubject) String[]RMIConnection.getDomains(Subject delegationSubject) Handles the methodMBeanServerConnection.getDomains().String[]RMIConnectionImpl_Stub.getDomains(Subject $param_Subject_1) String[]RMIConnectionImpl.getDomains(Subject delegationSubject) protectedStringRMIJRMPServerImpl.getProtocol()protected abstractStringRMIServerImpl.getProtocol()Returns the protocol string for this object.RMIServer.getVersion()The version of the RMI Connector Protocol understood by thisconnector server.RMIServerImpl_Stub.getVersion()RMIServerImpl.getVersion()RMIConnectionImpl.toString()Returns a string representation of this object.RMIConnector.toString()Returns a string representation of this object.Methods injavax.management.remote.rmi that return types with arguments of typeStringMethods injavax.management.remote.rmi with parameters of typeStringModifier and TypeMethodDescriptionRMIConnection.createMBean(String className,ObjectName name,MarshalledObject params,String[] signature,Subject delegationSubject) Handles the methodMBeanServerConnection.createMBean(String, ObjectName, Object[], String[]).RMIConnection.createMBean(String className,ObjectName name,ObjectName loaderName,MarshalledObject params,String[] signature,Subject delegationSubject) RMIConnection.createMBean(String className,ObjectName name,ObjectName loaderName,Subject delegationSubject) Handles the methodMBeanServerConnection.createMBean(String, ObjectName, ObjectName).RMIConnection.createMBean(String className,ObjectName name,Subject delegationSubject) Handles the methodMBeanServerConnection.createMBean(String, ObjectName).RMIConnectionImpl_Stub.createMBean(String $param_String_1,ObjectName $param_ObjectName_2,MarshalledObject $param_MarshalledObject_3,String[] $param_arrayOf_String_4,Subject $param_Subject_5) RMIConnectionImpl_Stub.createMBean(String $param_String_1,ObjectName $param_ObjectName_2,ObjectName $param_ObjectName_3,MarshalledObject $param_MarshalledObject_4,String[] $param_arrayOf_String_5,Subject $param_Subject_6) RMIConnectionImpl_Stub.createMBean(String $param_String_1,ObjectName $param_ObjectName_2,ObjectName $param_ObjectName_3,Subject $param_Subject_4) RMIConnectionImpl_Stub.createMBean(String $param_String_1,ObjectName $param_ObjectName_2,Subject $param_Subject_3) RMIConnectionImpl.createMBean(String className,ObjectName name,MarshalledObject params,String[] signature,Subject delegationSubject) RMIConnectionImpl.createMBean(String className,ObjectName name,ObjectName loaderName,MarshalledObject params,String[] signature,Subject delegationSubject) RMIConnectionImpl.createMBean(String className,ObjectName name,ObjectName loaderName,Subject delegationSubject) RMIConnectionImpl.createMBean(String className,ObjectName name,Subject delegationSubject) RMIConnection.getAttribute(ObjectName name,String attribute,Subject delegationSubject) Handles the methodMBeanServerConnection.getAttribute(ObjectName, String).RMIConnectionImpl_Stub.getAttribute(ObjectName $param_ObjectName_1,String $param_String_2,Subject $param_Subject_3) RMIConnectionImpl.getAttribute(ObjectName name,String attribute,Subject delegationSubject) RMIConnection.getAttributes(ObjectName name,String[] attributes,Subject delegationSubject) Handles the methodMBeanServerConnection.getAttributes(ObjectName, String[]).RMIConnectionImpl_Stub.getAttributes(ObjectName $param_ObjectName_1,String[] $param_arrayOf_String_2,Subject $param_Subject_3) RMIConnectionImpl.getAttributes(ObjectName name,String[] attributes,Subject delegationSubject) RMIConnection.invoke(ObjectName name,String operationName,MarshalledObject params,String[] signature,Subject delegationSubject) Handles the methodMBeanServerConnection.invoke(ObjectName, String, Object[], String[]).RMIConnectionImpl_Stub.invoke(ObjectName $param_ObjectName_1,String $param_String_2,MarshalledObject $param_MarshalledObject_3,String[] $param_arrayOf_String_4,Subject $param_Subject_5) RMIConnectionImpl.invoke(ObjectName name,String operationName,MarshalledObject params,String[] signature,Subject delegationSubject) booleanRMIConnection.isInstanceOf(ObjectName name,String className,Subject delegationSubject) Handles the methodMBeanServerConnection.isInstanceOf(ObjectName, String).booleanRMIConnectionImpl_Stub.isInstanceOf(ObjectName $param_ObjectName_1,String $param_String_2,Subject $param_Subject_3) booleanRMIConnectionImpl.isInstanceOf(ObjectName name,String className,Subject delegationSubject) protectedRMIConnectionRMIJRMPServerImpl.makeClient(String connectionId,Subject subject) Creates a new client connection as an RMI object exportedthrough JRMP.protected abstractRMIConnectionRMIServerImpl.makeClient(String connectionId,Subject subject) Creates a new client connection.Method parameters injavax.management.remote.rmi with type arguments of typeStringModifier and TypeMethodDescriptionvoidRMIConnectorServer.toJMXConnector(Map<String, ?> env) Returns a client stub for this connector server.Constructors injavax.management.remote.rmi with parameters of typeStringModifierConstructorDescriptionRMIConnectionImpl(RMIServerImpl rmiServer,String connectionId,ClassLoader defaultClassLoader,Subject subject,Map<String, ?> env) Constructs a newRMIConnection.Constructor parameters injavax.management.remote.rmi with type arguments of typeStringModifierConstructorDescriptionRMIConnectionImpl(RMIServerImpl rmiServer,String connectionId,ClassLoader defaultClassLoader,Subject subject,Map<String, ?> env) Constructs a newRMIConnection.RMIConnector(JMXServiceURL url,Map<String, ?> environment) Constructs anRMIConnectorthat will connectthe RMI connector server with the given address.RMIConnector(RMIServer rmiServer,Map<String, ?> environment) Constructs anRMIConnectorusing the given RMI stub.RMIConnectorServer(JMXServiceURL url,Map<String, ?> environment) Makes anRMIConnectorServer.RMIConnectorServer(JMXServiceURL url,Map<String, ?> environment,MBeanServer mbeanServer) Makes anRMIConnectorServerfor the given MBeanserver.RMIConnectorServer(JMXServiceURL url,Map<String, ?> environment,RMIServerImpl rmiServerImpl,MBeanServer mbeanServer) Makes anRMIConnectorServerfor the given MBeanserver.RMIJRMPServerImpl(int port,RMIClientSocketFactory csf,RMIServerSocketFactory ssf,Map<String, ?> env) Creates a newRMIServerobject that will be exportedon the given port using the given socket factories.RMIServerImpl(Map<String, ?> env) Constructs a newRMIServerImpl.Uses ofString injavax.management.timer
Methods injavax.management.timer that returnStringModifier and TypeMethodDescriptionTimer.getNotificationMessage(Integer id) Gets the timer notification detailed message corresponding to the specified identifier.TimerMBean.getNotificationMessage(Integer id) Gets the timer notification detailed message corresponding to the specified identifier.Timer.getNotificationType(Integer id) Gets the timer notification type corresponding to the specified identifier.TimerMBean.getNotificationType(Integer id) Gets the timer notification type corresponding to the specified identifier.Methods injavax.management.timer with parameters of typeStringModifier and TypeMethodDescriptionTimer.addNotification(String type,String message,Object userData,Date date) Creates a new timer notification with the specifiedtype,messageanduserDataand inserts it into the list of notifications with a given dateand a null period and number of occurrences.Timer.addNotification(String type,String message,Object userData,Date date, long period) Creates a new timer notification with the specifiedtype,messageanduserDataand inserts it into the list of notifications with a given dateand period and a null number of occurrences.Timer.addNotification(String type,String message,Object userData,Date date, long period, long nbOccurences) Creates a new timer notification with the specifiedtype,messageanduserDataand inserts it into the list of notifications with a given date,period and number of occurrences.Timer.addNotification(String type,String message,Object userData,Date date, long period, long nbOccurences, boolean fixedRate) Creates a new timer notification with the specifiedtype,messageanduserDataand inserts it into the list of notifications with a given date,period and number of occurrences.TimerMBean.addNotification(String type,String message,Object userData,Date date) Creates a new timer notification with the specifiedtype,messageanduserDataand inserts it into the list of notifications with a given dateand a null period and number of occurrences.TimerMBean.addNotification(String type,String message,Object userData,Date date, long period) Creates a new timer notification with the specifiedtype,messageanduserDataand inserts it into the list of notifications with a given dateand period and a null number of occurrences.TimerMBean.addNotification(String type,String message,Object userData,Date date, long period, long nbOccurences) Creates a new timer notification with the specifiedtype,messageanduserDataand inserts it into the list of notifications with a given date,period and number of occurrences.TimerMBean.addNotification(String type,String message,Object userData,Date date, long period, long nbOccurences, boolean fixedRate) Creates a new timer notification with the specifiedtype,messageanduserDataand inserts it into the list of notifications with a given date,period and number of occurrences.Timer.getNotificationIDs(String type) Gets all the identifiers of timer notifications corresponding to the specified type.TimerMBean.getNotificationIDs(String type) Gets all the identifiers of timer notifications corresponding to the specified type.voidTimer.removeNotifications(String type) Removes all the timer notifications corresponding to the specified type from the list of notifications.voidTimerMBean.removeNotifications(String type) Removes all the timer notifications corresponding to the specified type from the list of notifications.Constructors injavax.management.timer with parameters of typeStringModifierConstructorDescriptionTimerNotification(String type,Object source, long sequenceNumber, long timeStamp,String msg,Integer id) Creates a timer notification object.Uses ofString injavax.naming
Fields injavax.naming declared asStringModifier and TypeFieldDescriptionprotectedStringRefAddr.addrTypeContains the type of this address.static finalStringContext.AUTHORITATIVEConstant that holds the name of the environment property forspecifying the authoritativeness of the service requested.static finalStringContext.BATCHSIZEConstant that holds the name of the environment property forspecifying the batch size to use when returning data via theservice's protocol.protectedStringReference.classFactoryContains the name of the factory class for creatingan instance of the object to which this Reference refers.protectedStringReference.classFactoryLocationContains the location of the factory class.protectedStringReference.classNameContains the fully-qualified name of the class of the object to whichthis Reference refers.static finalStringContext.DNS_URLConstant that holds the name of the environment propertyfor specifying the DNS host and domain names to use for theJNDI URL context (for example, "dns://somehost/wiz.com").static finalStringContext.INITIAL_CONTEXT_FACTORYConstant that holds the name of the environment propertyfor specifying the initial context factory to use.static finalStringContext.LANGUAGEConstant that holds the name of the environment property forspecifying the preferred language to use with the service.protectedStringLinkException.linkExplanationContains the exception of why resolution of the link failed.static finalStringContext.OBJECT_FACTORIESConstant that holds the name of the environment propertyfor specifying the list of object factories to use.static finalStringContext.PROVIDER_URLConstant that holds the name of the environment propertyfor specifying configuration information for the service providerto use.static finalStringContext.REFERRALConstant that holds the name of the environment property forspecifying how referrals encountered by the service providerare to be processed.static finalStringContext.SECURITY_AUTHENTICATIONConstant that holds the name of the environment property forspecifying the security level to use.static finalStringContext.SECURITY_CREDENTIALSConstant that holds the name of the environment property forspecifying the credentials of the principal for authenticatingthe caller to the service.static finalStringContext.SECURITY_PRINCIPALConstant that holds the name of the environment property forspecifying the identity of the principal for authenticatingthe caller to the service.static finalStringContext.SECURITY_PROTOCOLConstant that holds the name of the environment property forspecifying the security protocol to use.static finalStringContext.STATE_FACTORIESConstant that holds the name of the environment propertyfor specifying the list of state factories to use.static finalStringContext.URL_PKG_PREFIXESConstant that holds the name of the environment propertyfor specifying the list of package prefixes to use whenloading in URL context factories.Methods injavax.naming that returnStringModifier and TypeMethodDescriptionContext.composeName(String name,String prefix) Composes the name of this context with a name relative tothis context.InitialContext.composeName(String name,String prefix) Composes the name of this context with a name relative tothis context.CompositeName.get(int posn) Retrieves a component of this composite name.CompoundName.get(int posn) Retrieves a component of this compound name.Name.get(int posn) Retrieves a component of this name.Binding.getClassName()Retrieves the class name of the object bound to the name of this binding.NameClassPair.getClassName()Retrieves the class name of the object bound to the name of this binding.Reference.getClassName()Retrieves the class name of the object to which this reference refers.NamingException.getExplanation()Retrieves the explanation associated with this exception.Reference.getFactoryClassLocation()Retrieves the location of the factory of the objectto which this reference refers.Reference.getFactoryClassName()Retrieves the class name of the factory of the objectto which this reference refers.LinkException.getLinkExplanation()Retrieves the explanation associated with the problem encounteredwhen resolving a link.LinkRef.getLinkName()Retrieves the name of this link.NameClassPair.getName()Retrieves the name of this binding.Context.getNameInNamespace()Retrieves the full name of this context within its own namespace.InitialContext.getNameInNamespace()NameClassPair.getNameInNamespace()Retrieves the full name of this binding.RefAddr.getType()Retrieves the address type of this address.BinaryRefAddr.toString()Generates the string representation of this address.Binding.toString()Generates the string representation of this binding.CompositeName.toString()Generates the string representation of this composite name.CompoundName.toString()Generates the string representation of this compound name, usingthe syntax rules of the compound name.LinkException.toString()Generates the string representation of this exception.LinkException.toString(boolean detail) Generates the string representation of this exception.NameClassPair.toString()Generates the string representation of this name/class pair.NamingException.toString()Generates the string representation of this exception.NamingException.toString(boolean detail) Generates the string representation in more detail.RefAddr.toString()Generates the string representation of this address.Reference.toString()Generates the string representation of this reference.Methods injavax.naming that return types with arguments of typeStringModifier and TypeMethodDescriptionCompositeName.getAll()Retrieves the components of this composite name as an enumerationof strings.CompoundName.getAll()Retrieves the components of this compound name as an enumerationof strings.Name.getAll()Retrieves the components of this name as an enumerationof strings.Methods injavax.naming with parameters of typeStringModifier and TypeMethodDescriptionAdds a single component at a specified position within thiscomposite name.Adds a single component to the end of this composite name.Adds a single component at a specified position within thiscompound name.Adds a single component to the end of this compound name.Adds a single component at a specified position within this name.Adds a single component to the end of this name.Context.addToEnvironment(String propName,Object propVal) Adds a new environment property to the environment of thiscontext.InitialContext.addToEnvironment(String propName,Object propVal) voidNamingException.appendRemainingComponent(String name) Add name as the last component in remaining name.voidBinds a name to an object.voidContext.composeName(String name,String prefix) Composes the name of this context with a name relative tothis context.InitialContext.composeName(String name,String prefix) Composes the name of this context with a name relative tothis context.Context.createSubcontext(String name) Creates and binds a new context.InitialContext.createSubcontext(String name) voidContext.destroySubcontext(String name) Destroys the named context and removes it from the namespace.voidInitialContext.destroySubcontext(String name) static <T> TA static method to retrieve the named object.Retrieves the first address that has the address type 'addrType'.Context.getNameParser(String name) Retrieves the parser associated with the named context.InitialContext.getNameParser(String name) protectedContextInitialContext.getURLOrDefaultInitCtx(String name) Retrieves a context for resolving the string namename.Enumerates the names bound in the named context, along with theclass names of objects bound to them.Context.listBindings(String name) Enumerates the names bound in the named context, along with theobjects bound to them.InitialContext.listBindings(String name) Retrieves the named object.Context.lookupLink(String name) Retrieves the named object, following links exceptfor the terminal atomic component of the name.InitialContext.lookupLink(String name) Parses a name into its components.voidBinds a name to an object, overwriting any existing binding.voidContext.removeFromEnvironment(String propName) Removes an environment property from the environment of thiscontext.InitialContext.removeFromEnvironment(String propName) voidBinds a new name to the object bound to an old name, and unbindsthe old name.voidvoidNameClassPair.setClassName(String name) Sets the class name of this binding.voidLinkException.setLinkExplanation(String msg) Sets the explanation associated with the problem encounteredwhen resolving a link.voidSets the name of this binding.voidNameClassPair.setNameInNamespace(String fullName) Sets the full name of this binding.voidUnbinds the named object.voidConstructors injavax.naming with parameters of typeStringModifierConstructorDescriptionAuthenticationException(String explanation) Constructs a new instance of AuthenticationException using theexplanation supplied.AuthenticationNotSupportedException(String explanation) Constructs a new instance of AuthenticationNotSupportedException usingan explanation.BinaryRefAddr(String addrType, byte[] src) Constructs a new instance of BinaryRefAddr using its address type and a bytearray for contents.BinaryRefAddr(String addrType, byte[] src, int offset, int count) Constructs a new instance of BinaryRefAddr using its address type anda region of a byte array for contents.Constructs an instance of a Binding given its name and object.Constructs an instance of a Binding given its name, object, and whether the name is relative.Constructs an instance of a Binding given its name, class name, and object.Constructs an instance of a Binding given itsname, class name, object, and whether the name is relative.CannotProceedException(String explanation) Constructs a new instance of CannotProceedException using anexplanation.CommunicationException(String explanation) Constructs a new instance of CommunicationException using thearguments supplied.Constructs a new composite name instance by parsing the string nusing the composite name syntax (left-to-right, slash separated).CompoundName(String n,Properties syntax) Constructs a new compound name instance by parsing the string nusing the syntax specified by the syntax properties supplied.ConfigurationException(String explanation) Constructs a new instance of ConfigurationException using anexplanation.ContextNotEmptyException(String explanation) Constructs a new instance of ContextNotEmptyException using anexplanation.InsufficientResourcesException(String explanation) Constructs a new instance of InsufficientResourcesException using anexplanation.InterruptedNamingException(String explanation) Constructs an instance of InterruptedNamingException using anexplanation of the problem.InvalidNameException(String explanation) Constructs an instance of InvalidNameException using anexplanation of the problem.LimitExceededException(String explanation) Constructs a new instance of LimitExceededException using anexplanation.LinkException(String explanation) Constructs a new instance of LinkException with an explanation.LinkLoopException(String explanation) Constructs a new instance of LinkLoopException with an explanation.Constructs a LinkRef for a string name.MalformedLinkException(String explanation) Constructs a new instance of MalformedLinkException with an explanation.NameAlreadyBoundException(String explanation) Constructs a new instance of NameAlreadyBoundException using theexplanation supplied.NameClassPair(String name,String className) Constructs an instance of a NameClassPair given itsname and class name.NameClassPair(String name,String className, boolean isRelative) Constructs an instance of a NameClassPair given itsname, class name, and whether it is relative to the listing context.NameNotFoundException(String explanation) Constructs a new instance of NameNotFoundException using theexplanation supplied.NamingException(String explanation) Constructs a new NamingException with an explanation.NamingSecurityException(String explanation) Constructs a new instance of NamingSecurityException using theexplanation supplied.NoInitialContextException(String explanation) Constructs an instance of NoInitialContextException with anexplanation.NoPermissionException(String explanation) Constructs a new instance of NoPermissionException using anexplanation.NotContextException(String explanation) Constructs a new instance of NotContextException using anexplanation.OperationNotSupportedException(String explanation) Constructs a new instance of OperationNotSupportedException using anexplanation.PartialResultException(String explanation) Constructs a new instance of the exception using the explanationmessage specified.protectedConstructs a new instance of RefAddr using its address type.Constructs a new reference for an object with class name 'className'.Constructs a new reference for an object with class name 'className',and the class name and location of the object's factory.Constructs a new reference for an object with class name 'className' andan address.Constructs a new reference for an object with class name 'className',the class name and location of the object's factory, and the address forthe object.protectedReferralException(String explanation) Constructs a new instance of ReferralException using theexplanation supplied.ServiceUnavailableException(String explanation) Constructs a new instance of ServiceUnavailableException using anexplanation.SizeLimitExceededException(String explanation) Constructs a new instance of SizeLimitExceededException using anexplanation.StringRefAddr(String addrType,String addr) Constructs a new instance of StringRefAddr using its address typeand contents.TimeLimitExceededException(String explanation) Constructs a new instance of TimeLimitExceededExceptionusing the argument supplied.Constructor parameters injavax.naming with type arguments of typeStringModifierConstructorDescriptionprotectedCompositeName(Enumeration<String> comps) Constructs a new composite name instance using the componentsspecified by 'comps'.protectedCompoundName(Enumeration<String> comps,Properties syntax) Constructs a new compound name instance using the componentsspecified in comps and syntax.Uses ofString injavax.naming.directory
Fields injavax.naming.directory declared asStringMethods injavax.naming.directory that returnStringModifier and TypeMethodDescriptionAttribute.getID()Retrieves the id of this attribute.BasicAttribute.getID()String[]SearchControls.getReturningAttributes()Retrieves the attributes that will be returned as part of the search.AttributeModificationException.toString()The string representation of this exception consists ofinformation about where the error occurred, andthe first unexecuted modification.BasicAttribute.toString()Generates the string representation of this attribute.BasicAttributes.toString()Generates the string representation of this attribute set.ModificationItem.toString()Generates the string representation of this modification item,which consists of the modification operation and its related attribute.SearchResult.toString()Generates the string representation of this SearchResult.Methods injavax.naming.directory that return types with arguments of typeStringModifier and TypeMethodDescriptionAttributes.getIDs()Retrieves an enumeration of the ids of the attributes in theattribute set.BasicAttributes.getIDs()Methods injavax.naming.directory with parameters of typeStringModifier and TypeMethodDescriptionvoidDirContext.bind(String name,Object obj,Attributes attrs) Binds a name to an object, along with associated attributes.voidInitialDirContext.bind(String name,Object obj,Attributes attrs) DirContext.createSubcontext(String name,Attributes attrs) Creates and binds a new context, along with associated attributes.InitialDirContext.createSubcontext(String name,Attributes attrs) Retrieves the attribute with the given attribute id from theattribute set.DirContext.getAttributes(String name) Retrieves all of the attributes associated with a named object.DirContext.getAttributes(String name,String[] attrIds) Retrieves selected attributes associated with a named object.DirContext.getAttributes(Name name,String[] attrIds) Retrieves selected attributes associated with a named object.InitialDirContext.getAttributes(String name) InitialDirContext.getAttributes(String name,String[] attrIds) InitialDirContext.getAttributes(Name name,String[] attrIds) Retrieves the schema associated with the named object.DirContext.getSchemaClassDefinition(String name) Retrieves a context containing the schema objects of thenamed object's class definitions.InitialDirContext.getSchemaClassDefinition(String name) voidDirContext.modifyAttributes(String name, int mod_op,Attributes attrs) Modifies the attributes associated with a named object.voidDirContext.modifyAttributes(String name,ModificationItem[] mods) Modifies the attributes associated with a named object usingan ordered list of modifications.voidInitialDirContext.modifyAttributes(String name, int mod_op,Attributes attrs) voidInitialDirContext.modifyAttributes(String name,ModificationItem[] mods) Adds a new attribute to the attribute set.voidDirContext.rebind(String name,Object obj,Attributes attrs) Binds a name to an object, along with associated attributes,overwriting any existing binding.voidInitialDirContext.rebind(String name,Object obj,Attributes attrs) Removes the attribute with the attribute id 'attrID' fromthe attribute set.DirContext.search(String name,String filterExpr,Object[] filterArgs,SearchControls cons) Searches in the named context or object for entries that satisfy thegiven search filter.DirContext.search(String name,String filter,SearchControls cons) Searches in the named context or object for entries that satisfy thegiven search filter.DirContext.search(String name,Attributes matchingAttributes) Searches in a single context for objects that contain aspecified set of attributes.DirContext.search(String name,Attributes matchingAttributes,String[] attributesToReturn) Searches in a single context for objects that contain aspecified set of attributes, and retrieves selected attributes.DirContext.search(Name name,String filterExpr,Object[] filterArgs,SearchControls cons) Searches in the named context or object for entries that satisfy the given search filter.DirContext.search(Name name,String filter,SearchControls cons) Searches in the named context or object for entries that satisfy the given search filter.DirContext.search(Name name,Attributes matchingAttributes,String[] attributesToReturn) Searches in a single context for objects that contain a specified set of attributes, and retrieves selected attributes.InitialDirContext.search(String name,String filterExpr,Object[] filterArgs,SearchControls cons) InitialDirContext.search(String name,String filter,SearchControls cons) InitialDirContext.search(String name,Attributes matchingAttributes) InitialDirContext.search(String name,Attributes matchingAttributes,String[] attributesToReturn) InitialDirContext.search(Name name,String filterExpr,Object[] filterArgs,SearchControls cons) InitialDirContext.search(Name name,String filter,SearchControls cons) InitialDirContext.search(Name name,Attributes matchingAttributes,String[] attributesToReturn) voidSearchControls.setReturningAttributes(String[] attrs) Specifies the attributes that will be returned as part of the search.Constructors injavax.naming.directory with parameters of typeStringModifierConstructorDescriptionAttributeInUseException(String explanation) Constructs a new instance of AttributeInUseException withan explanation.AttributeModificationException(String explanation) Constructs a new instance of AttributeModificationException usingan explanation.BasicAttribute(String id) Constructs a new instance of an unordered attribute with no value.BasicAttribute(String id, boolean ordered) Constructs a new instance of a possibly ordered attribute with no value.BasicAttribute(String id,Object value) Constructs a new instance of an unordered attribute with a single value.BasicAttribute(String id,Object value, boolean ordered) Constructs a new instance of a possibly ordered attribute with asingle value.BasicAttributes(String attrID,Object val) Constructs a new instance of Attributes with one attribute.BasicAttributes(String attrID,Object val, boolean ignoreCase) Constructs a new instance of Attributes with one attribute.InvalidAttributeIdentifierException(String explanation) Constructs a new instance of InvalidAttributeIdentifierException using theexplanation supplied.InvalidAttributesException(String explanation) Constructs a new instance of InvalidAttributesException using anexplanation.InvalidAttributeValueException(String explanation) Constructs a new instance of InvalidAttributeValueException usingan explanation.Constructs a new instance of InvalidSearchControlsExceptionwith an explanation.Constructs a new instance of InvalidSearchFilterExceptionwith an explanation.NoSuchAttributeException(String explanation) Constructs a new instance of NoSuchAttributeException usingan explanation.SchemaViolationException(String explanation) Constructs a new instance of SchemaViolationExceptionusing the explanation supplied.SearchControls(int scope, long countlim, int timelim,String[] attrs, boolean retobj, boolean deref) Constructs a search constraints using arguments.SearchResult(String name,Object obj,Attributes attrs) Constructs a search result using the result's name, its bound object, and its attributes.SearchResult(String name,Object obj,Attributes attrs, boolean isRelative) Constructs a search result using the result's name, its bound object, and its attributes, and whether the name is relative.SearchResult(String name,String className,Object obj,Attributes attrs) Constructs a search result using the result's name, its class name,its bound object, and its attributes.SearchResult(String name,String className,Object obj,Attributes attrs, boolean isRelative) Constructs a search result using the result's name, its class name,its bound object, its attributes, and whether the name is relative.Uses ofString injavax.naming.event
Methods injavax.naming.event with parameters of typeStringModifier and TypeMethodDescriptionvoidEventContext.addNamingListener(String target, int scope,NamingListener l) Adds a listener for receiving naming events firedwhen the object named by the string target name and scope changes.voidEventDirContext.addNamingListener(String target,String filter,Object[] filterArgs,SearchControls ctls,NamingListener l) Adds a listener for receiving naming events fired whenobjects identified by the search filterfilterand filter arguments at theobject named by the string target name are modified.voidEventDirContext.addNamingListener(String target,String filter,SearchControls ctls,NamingListener l) Adds a listener for receiving naming events fired whenobjects identified by the search filterfilterat theobject named by the string target name are modified.voidEventDirContext.addNamingListener(Name target,String filter,Object[] filterArgs,SearchControls ctls,NamingListener l) Adds a listener for receiving naming events firedwhen objects identified by the search filterfilterandfilter arguments at the object named by the target are modified.voidEventDirContext.addNamingListener(Name target,String filter,SearchControls ctls,NamingListener l) Adds a listener for receiving naming events firedwhen objects identified by the search filterfilteratthe object named by target are modified.Uses ofString injavax.naming.ldap
Fields injavax.naming.ldap declared asStringModifier and TypeFieldDescriptionstatic finalStringLdapContext.CONTROL_FACTORIESConstant that holds the name of the environment property for specifying the list of control factories to use.protectedStringBasicControl.idThe control's object identifier string.static finalStringManageReferralControl.OIDThe ManageReferral control's assigned object identifieris 2.16.840.1.113730.3.4.2.static finalStringPagedResultsControl.OIDThe paged-results control's assigned object identifieris 1.2.840.113556.1.4.319.static finalStringPagedResultsResponseControl.OIDThe paged-results response control's assigned object identifieris 1.2.840.113556.1.4.319.static finalStringSortControl.OIDThe server-side sort control's assigned object identifieris 1.2.840.113556.1.4.473.static finalStringSortResponseControl.OIDThe server-side sort response control's assigned object identifieris 1.2.840.113556.1.4.474.static finalStringStartTlsRequest.OIDThe StartTLS extended request's assigned object identifieris 1.3.6.1.4.1.1466.20037.static finalStringStartTlsResponse.OIDThe StartTLS extended response's assigned object identifieris 1.3.6.1.4.1.1466.20037.Methods injavax.naming.ldap that returnStringModifier and TypeMethodDescriptionstaticStringRdn.escapeValue(Object val) Given the value of an attribute, returns a string escaped accordingto the rules specified inRFC 2253.LdapName.get(int posn) Retrieves a component of this LDAP name as a string.SortKey.getAttributeID()Retrieves the attribute ID of the sort key.SortResponseControl.getAttributeID()Retrieves the ID of the attribute that caused the sort to fail.BasicControl.getID()Retrieves the control's object identifier string.Control.getID()Retrieves the object identifier assigned for the LDAP control.ExtendedRequest.getID()Retrieves the object identifier of the request.ExtendedResponse.getID()Retrieves the object identifier of the response.StartTlsRequest.getID()Retrieves the StartTLS request's object identifier string.StartTlsResponse.getID()Retrieves the StartTLS response's object identifier string.SortKey.getMatchingRuleID()Retrieves the matching rule ID used to order the attribute values.String[]UnsolicitedNotification.getReferrals()Retrieves the referral(s) sent by the server.Rdn.getType()Retrieves one of this Rdn's type.LdapName.toString()Returns a string representation of this LDAP name in a formatdefined byRFC 2253and described in the class description.Rdn.toString()Methods injavax.naming.ldap that return types with arguments of typeStringModifier and TypeMethodDescriptionLdapName.getAll()Retrieves the components of this name as an enumerationof strings.Methods injavax.naming.ldap with parameters of typeStringModifier and TypeMethodDescriptionAdds a single component at a specified position within thisLDAP name.Adds a single component to the end of this LDAP name.ExtendedRequest.createExtendedResponse(String id, byte[] berValue, int offset, int length) Creates the response object that corresponds to this request.StartTlsRequest.createExtendedResponse(String id, byte[] berValue, int offset, int length) Creates an extended response object that corresponds to theLDAP StartTLS extended request.abstract voidStartTlsResponse.setEnabledCipherSuites(String[] suites) Overrides the default list of cipher suites enabled for use on theTLS connection.staticObjectRdn.unescapeValue(String val) Given an attribute value string formatted according to the rulesspecified inRFC 2253,returns the unformatted value.Constructors injavax.naming.ldap with parameters of typeStringModifierConstructorDescriptionBasicControl(String id) Constructs a non-critical control.BasicControl(String id, boolean criticality, byte[] value) Constructs a control using the supplied arguments.Constructs an LDAP name from the given distinguished name.protectedLdapReferralException(String explanation) Constructs a new instance of LdapReferralException using theexplanation supplied.PagedResultsResponseControl(String id, boolean criticality, byte[] value) Constructs a paged-results response control.Constructs an Rdn from the given string.Constructs an Rdn from the given attribute type andvalue.SortControl(String[] sortBy, boolean criticality) Constructs a control to sort on a list of attributes in ascending order.SortControl(String sortBy, boolean criticality) Constructs a control to sort on a single attribute in ascending order.Creates the default sort key for an attribute.Creates a sort key for an attribute.SortResponseControl(String id, boolean criticality, byte[] value) Constructs a control to indicate the outcome of a sort request.Uses ofString injavax.naming.ldap.spi
Methods injavax.naming.ldap.spi that returnStringModifier and TypeMethodDescriptionLdapDnsProviderResult.getDomainName()Returns the domain name resolved from the LDAP URL.Methods injavax.naming.ldap.spi that return types with arguments of typeStringModifier and TypeMethodDescriptionLdapDnsProviderResult.getEndpoints()Returns the possibly empty list of individual server endpoints resolvedfrom the LDAP URL.Methods injavax.naming.ldap.spi with parameters of typeStringModifier and TypeMethodDescriptionabstractOptional<LdapDnsProviderResult> LdapDnsProvider.lookupEndpoints(String url,Map<?, ?> env) Lookup the endpoints and domain name for the givenContextprovider URLand environment.Constructors injavax.naming.ldap.spi with parameters of typeStringModifierConstructorDescriptionLdapDnsProviderResult(String domainName,List<String> endpoints) Construct an LdapDnsProviderResult consisting of a resolved domain nameand the LDAP server endpoints that serve the domain.Constructor parameters injavax.naming.ldap.spi with type arguments of typeStringModifierConstructorDescriptionLdapDnsProviderResult(String domainName,List<String> endpoints) Construct an LdapDnsProviderResult consisting of a resolved domain nameand the LDAP server endpoints that serve the domain.Uses ofString injavax.naming.spi
Fields injavax.naming.spi declared asStringModifier and TypeFieldDescriptionstatic finalStringNamingManager.CPEConstant that holds the name of the environment property into whichgetContinuationContext()stores the value of itsCannotProceedExceptionparameter.Methods injavax.naming.spi with parameters of typeStringModifier and TypeMethodDescriptionvoidResolveResult.appendRemainingComponent(String name) Adds a single component to the end of remaining name.staticContextNamingManager.getURLContext(String scheme,Hashtable<?, ?> environment) Creates a context for the given URL scheme id.Resolver.resolveToClass(String name,Class<? extendsContext> contextType) Partially resolves a name.Constructors injavax.naming.spi with parameters of typeStringModifierConstructorDescriptionResolveResult(Object robj,String rcomp) Constructs a new instance of ResolveResult consisting ofthe resolved object and the remaining unresolved component.Uses ofString injavax.net
Modifier and TypeMethodDescriptionabstractSocketSocketFactory.createSocket(String host, int port) Creates a socket and connects it to the specified remote hostat the specified remote port.abstractSocketSocketFactory.createSocket(String host, int port,InetAddress localHost, int localPort) Creates a socket and connects it to the specified remote hoston the specified remote port.Uses ofString injavax.net.ssl
Methods injavax.net.ssl that returnStringModifier and TypeMethodDescriptionX509KeyManager.chooseClientAlias(String[] keyType,Principal[] issuers,Socket socket) Choose an alias to authenticate the client side of a securesocket given the public key type and the list ofcertificate issuer authorities recognized by the peer (if any).X509ExtendedKeyManager.chooseEngineClientAlias(String[] keyType,Principal[] issuers,SSLEngine engine) Choose an alias to authenticate the client side of anSSLEngineconnection given the public key typeand the list of certificate issuer authorities recognized bythe peer (if any).X509ExtendedKeyManager.chooseEngineServerAlias(String keyType,Principal[] issuers,SSLEngine engine) Choose an alias to authenticate the server side of anSSLEngineconnection given the public key typeand the list of certificate issuer authorities recognized bythe peer (if any).X509KeyManager.chooseServerAlias(String keyType,Principal[] issuers,Socket socket) Choose an alias to authenticate the server side of a securesocket given the public key type and the list ofcertificate issuer authorities recognized by the peer (if any).finalStringKeyManagerFactory.getAlgorithm()Returns the algorithm name of thisKeyManagerFactoryobject.finalStringTrustManagerFactory.getAlgorithm()Returns the algorithm name of thisTrustManagerFactoryobject.SSLEngine.getApplicationProtocol()Returns the most recent application protocol value negotiated for thisconnection.SSLSocket.getApplicationProtocol()Returns the most recent application protocol value negotiated for thisconnection.String[]SSLParameters.getApplicationProtocols()Returns a prioritized array of application-layer protocol names thatcan be negotiated over the SSL/TLS/DTLS protocols.SNIHostName.getAsciiName()Returns theStandardCharsets.US_ASCII-compliant hostname ofthisSNIHostNameobject.HandshakeCompletedEvent.getCipherSuite()Returns the cipher suite in use by the session which was producedby the handshake.abstractStringHttpsURLConnection.getCipherSuite()Returns the cipher suite in use on this connection.SSLSession.getCipherSuite()Returns the name of the SSL cipher suite which is used for allconnections in the session.String[]SSLParameters.getCipherSuites()Returns a copy of the array of ciphersuites or null if nonehave been set.String[]X509KeyManager.getClientAliases(String keyType,Principal[] issuers) Get the matching aliases for authenticating the client side of a securesocket given the public key type and the list ofcertificate issuer authorities recognized by the peer (if any).static finalStringKeyManagerFactory.getDefaultAlgorithm()Obtains the default KeyManagerFactory algorithm name.static finalStringTrustManagerFactory.getDefaultAlgorithm()Obtains the default TrustManagerFactory algorithm name.abstractString[]SSLServerSocketFactory.getDefaultCipherSuites()Returns the list of cipher suites which are enabled by default.abstractString[]SSLSocketFactory.getDefaultCipherSuites()Returns the list of cipher suites which are enabled by default.abstractString[]SSLEngine.getEnabledCipherSuites()Returns the names of the SSL cipher suites which are currentlyenabled for use on this engine.abstractString[]SSLServerSocket.getEnabledCipherSuites()Returns the list of cipher suites which are currently enabledfor use by newly accepted connections.abstractString[]SSLSocket.getEnabledCipherSuites()Returns the names of the SSL cipher suites which are currentlyenabled for use on this connection.abstractString[]SSLEngine.getEnabledProtocols()Returns the names of the protocol versions which are currentlyenabled for use with thisSSLEngine.abstractString[]SSLServerSocket.getEnabledProtocols()Returns the names of the protocols which are currentlyenabled for use by the newly accepted connections.abstractString[]SSLSocket.getEnabledProtocols()Returns the names of the protocol versions which are currentlyenabled for use on this connection.SSLParameters.getEndpointIdentificationAlgorithm()Gets the endpoint identification algorithm.SSLEngine.getHandshakeApplicationProtocol()Returns the application protocol value negotiated on a SSL/TLShandshake currently in progress.SSLSocket.getHandshakeApplicationProtocol()Returns the application protocol value negotiated on a SSL/TLShandshake currently in progress.abstractString[]ExtendedSSLSession.getLocalSupportedSignatureAlgorithms()Obtains an array of supported signature algorithms that the local sideis willing to use.SSLSessionBindingEvent.getName()Returns the name to which the object is being bound, or the namefrom which the object is being unbound.String[]SSLParameters.getNamedGroups()Returns a prioritized array of key exchange named groups names thatcan be used over the SSL/TLS/DTLS protocols.SSLEngine.getPeerHost()Returns the host name of the peer.SSLSession.getPeerHost()Returns the host name of the peer in this session.abstractString[]ExtendedSSLSession.getPeerSupportedSignatureAlgorithms()Obtains an array of supported signature algorithms that the peer isable to use.finalStringSSLContext.getProtocol()Returns the protocol name of thisSSLContextobject.SSLSession.getProtocol()Returns the standard name of the protocol used for allconnections in the session.String[]SSLParameters.getProtocols()Returns a copy of the array of protocols or null if nonehave been set.String[]X509KeyManager.getServerAliases(String keyType,Principal[] issuers) Get the matching aliases for authenticating the server side of a securesocket given the public key type and the list ofcertificate issuer authorities recognized by the peer (if any).String[]SSLParameters.getSignatureSchemes()Returns a prioritized array of signature scheme names that can be usedover the SSL/TLS/DTLS protocols.abstractString[]SSLEngine.getSupportedCipherSuites()Returns the names of the cipher suites which could be enabled for useon this engine.abstractString[]SSLServerSocket.getSupportedCipherSuites()Returns the names of the cipher suites which could be enabled for useon an SSL connection.abstractString[]SSLServerSocketFactory.getSupportedCipherSuites()Returns the names of the cipher suites which could be enabled for useon an SSL connection created by this factory.abstractString[]SSLSocket.getSupportedCipherSuites()Returns the names of the cipher suites which could be enabled for useon this connection.abstractString[]SSLSocketFactory.getSupportedCipherSuites()Returns the names of the cipher suites which could be enabled for useon an SSL connection.abstractString[]SSLEngine.getSupportedProtocols()Returns the names of the protocols which could be enabled for usewith thisSSLEngine.abstractString[]SSLServerSocket.getSupportedProtocols()Returns the names of the protocols which could be enabled for use.abstractString[]SSLSocket.getSupportedProtocols()Returns the names of the protocols which could be enabled for useon an SSL connection.String[]SSLSession.getValueNames()Returns an array of the names of all the application layerdata objects bound into the Session.SNIHostName.toString()Returns a string representation of the object, including the DNShostname in thisSNIHostNameobject.SNIServerName.toString()Returns a string representation of this server name, including the servername type and the encoded server name value in thisSNIServerNameobject.SSLEngineResult.toString()Returns a String representation of this object.Methods injavax.net.ssl that return types with arguments of typeStringModifier and TypeMethodDescriptionSSLEngine.getHandshakeApplicationProtocolSelector()Retrieves the callback function that selects an application protocolvalue during a SSL/TLS/DTLS handshake.SSLEngine.getHandshakeApplicationProtocolSelector()Retrieves the callback function that selects an application protocolvalue during a SSL/TLS/DTLS handshake.SSLSocket.getHandshakeApplicationProtocolSelector()Retrieves the callback function that selects an application protocolvalue during a SSL/TLS/DTLS handshake.SSLSocket.getHandshakeApplicationProtocolSelector()Retrieves the callback function that selects an application protocolvalue during a SSL/TLS/DTLS handshake.Methods injavax.net.ssl with parameters of typeStringModifier and TypeMethodDescriptionabstract voidX509ExtendedTrustManager.checkClientTrusted(X509Certificate[] chain,String authType,Socket socket) Given the partial or complete certificate chain provided by thepeer, build and validate the certificate path based on theauthentication type and ssl parameters.abstract voidX509ExtendedTrustManager.checkClientTrusted(X509Certificate[] chain,String authType,SSLEngine engine) Given the partial or complete certificate chain provided by thepeer, build and validate the certificate path based on theauthentication type and ssl parameters.voidX509TrustManager.checkClientTrusted(X509Certificate[] chain,String authType) Given the partial or complete certificate chain provided by thepeer, build a certificate path to a trusted root and return ifit can be validated and is trusted for client SSLauthentication based on the authentication type.abstract voidX509ExtendedTrustManager.checkServerTrusted(X509Certificate[] chain,String authType,Socket socket) Given the partial or complete certificate chain provided by thepeer, build and validate the certificate path based on theauthentication type and ssl parameters.abstract voidX509ExtendedTrustManager.checkServerTrusted(X509Certificate[] chain,String authType,SSLEngine engine) Given the partial or complete certificate chain provided by thepeer, build and validate the certificate path based on theauthentication type and ssl parameters.voidX509TrustManager.checkServerTrusted(X509Certificate[] chain,String authType) Given the partial or complete certificate chain provided by thepeer, build a certificate path to a trusted root and return ifit can be validated and is trusted for server SSLauthentication based on the authentication type.X509KeyManager.chooseClientAlias(String[] keyType,Principal[] issuers,Socket socket) Choose an alias to authenticate the client side of a securesocket given the public key type and the list ofcertificate issuer authorities recognized by the peer (if any).X509ExtendedKeyManager.chooseEngineClientAlias(String[] keyType,Principal[] issuers,SSLEngine engine) Choose an alias to authenticate the client side of anSSLEngineconnection given the public key typeand the list of certificate issuer authorities recognized bythe peer (if any).X509ExtendedKeyManager.chooseEngineServerAlias(String keyType,Principal[] issuers,SSLEngine engine) Choose an alias to authenticate the server side of anSSLEngineconnection given the public key typeand the list of certificate issuer authorities recognized bythe peer (if any).X509KeyManager.chooseServerAlias(String keyType,Principal[] issuers,Socket socket) Choose an alias to authenticate the server side of a securesocket given the public key type and the list ofcertificate issuer authorities recognized by the peer (if any).staticSNIMatcherSNIHostName.createSNIMatcher(String regex) Creates anSNIMatcherobject forSNIHostNames.abstractSocketSSLSocketFactory.createSocket(Socket s,String host, int port, boolean autoClose) Returns a socket layered over an existing socket connected to the namedhost, at the given port.finalSSLEngineSSLContext.createSSLEngine(String peerHost, int peerPort) Creates a newSSLEngineusing this context usingadvisory peer information.protected abstractSSLEngineSSLContextSpi.engineCreateSSLEngine(String host, int port) Creates aSSLEngineusing this context.byte[]ExtendedSSLSession.exportKeyingMaterialData(String label, byte[] context, int length) Generates Exported Keying Material (EKM) calculated according to thealgorithms defined in RFCs 5705/8446.ExtendedSSLSession.exportKeyingMaterialKey(String keyAlg,String label, byte[] context, int length) Generates Exported Keying Material (EKM) calculated according to thealgorithms defined in RFCs 5705/8446.X509KeyManager.getCertificateChain(String alias) Returns the certificate chain associated with the given alias.String[]X509KeyManager.getClientAliases(String keyType,Principal[] issuers) Get the matching aliases for authenticating the client side of a securesocket given the public key type and the list ofcertificate issuer authorities recognized by the peer (if any).static finalKeyManagerFactoryKeyManagerFactory.getInstance(String algorithm) Returns aKeyManagerFactoryobject that acts as afactory for key managers.static finalKeyManagerFactoryKeyManagerFactory.getInstance(String algorithm,String provider) Returns aKeyManagerFactoryobject that acts as afactory for key managers.static finalKeyManagerFactoryKeyManagerFactory.getInstance(String algorithm,Provider provider) Returns aKeyManagerFactoryobject that acts as afactory for key managers.staticSSLContextSSLContext.getInstance(String protocol) Returns aSSLContextobject that implements thespecified secure socket protocol.staticSSLContextSSLContext.getInstance(String protocol,String provider) Returns aSSLContextobject that implements thespecified secure socket protocol.staticSSLContextSSLContext.getInstance(String protocol,Provider provider) Returns aSSLContextobject that implements thespecified secure socket protocol.static finalTrustManagerFactoryTrustManagerFactory.getInstance(String algorithm) Returns aTrustManagerFactoryobject that acts as afactory for trust managers.static finalTrustManagerFactoryTrustManagerFactory.getInstance(String algorithm,String provider) Returns aTrustManagerFactoryobject that acts as afactory for trust managers.static finalTrustManagerFactoryTrustManagerFactory.getInstance(String algorithm,Provider provider) Returns aTrustManagerFactoryobject that acts as afactory for trust managers.X509KeyManager.getPrivateKey(String alias) Returns the key associated with the given alias.String[]X509KeyManager.getServerAliases(String keyType,Principal[] issuers) Get the matching aliases for authenticating the server side of a securesocket given the public key type and the list ofcertificate issuer authorities recognized by the peer (if any).Returns the object bound to the given name in the session'sapplication layer data.voidBinds the specifiedvalueobject into thesession's application layer datawith the givenname.voidSSLSession.removeValue(String name) Removes the object bound to the given name in the session'sapplication layer data.voidSSLParameters.setApplicationProtocols(String[] protocols) Sets the prioritized array of application-layer protocol names thatcan be negotiated over the SSL/TLS/DTLS protocols.voidSSLParameters.setCipherSuites(String[] cipherSuites) Sets the array of ciphersuites.abstract voidSSLEngine.setEnabledCipherSuites(String[] suites) Sets the cipher suites enabled for use on this engine.abstract voidSSLServerSocket.setEnabledCipherSuites(String[] suites) Sets the cipher suites enabled for use by accepted connections.abstract voidSSLSocket.setEnabledCipherSuites(String[] suites) Sets the cipher suites enabled for use on this connection.abstract voidSSLEngine.setEnabledProtocols(String[] protocols) Set the protocol versions enabled for use on this engine.abstract voidSSLServerSocket.setEnabledProtocols(String[] protocols) Controls which particular protocols are enabled for use byaccepted connections.abstract voidSSLSocket.setEnabledProtocols(String[] protocols) Sets the protocol versions enabled for use on this connection.voidSSLParameters.setEndpointIdentificationAlgorithm(String algorithm) Sets the endpoint identification algorithm.voidSSLParameters.setNamedGroups(String[] namedGroups) Sets the prioritized array of key exchange named groups names thatcan be used over the SSL/TLS/DTLS protocols.voidSSLParameters.setProtocols(String[] protocols) Sets the array of protocols.voidSSLParameters.setSignatureSchemes(String[] signatureSchemes) Sets the prioritized array of signature scheme names thatcan be used over the SSL/TLS/DTLS protocols.Returns the enum constant of this class with the specified name.staticSSLEngineResult.StatusReturns the enum constant of this class with the specified name.booleanHostnameVerifier.verify(String hostname,SSLSession session) Verify that the host name is an acceptable match withthe server's authentication scheme.Method parameters injavax.net.ssl with type arguments of typeStringModifier and TypeMethodDescriptionvoidSSLEngine.setHandshakeApplicationProtocolSelector(BiFunction<SSLEngine,List<String>,String> selector) Registers a callback function that selects an application protocolvalue for a SSL/TLS/DTLS handshake.voidSSLEngine.setHandshakeApplicationProtocolSelector(BiFunction<SSLEngine,List<String>,String> selector) Registers a callback function that selects an application protocolvalue for a SSL/TLS/DTLS handshake.voidSSLSocket.setHandshakeApplicationProtocolSelector(BiFunction<SSLSocket,List<String>,String> selector) Registers a callback function that selects an application protocolvalue for a SSL/TLS/DTLS handshake.voidSSLSocket.setHandshakeApplicationProtocolSelector(BiFunction<SSLSocket,List<String>,String> selector) Registers a callback function that selects an application protocolvalue for a SSL/TLS/DTLS handshake.Constructors injavax.net.ssl with parameters of typeStringModifierConstructorDescriptionprotectedKeyManagerFactory(KeyManagerFactorySpi factorySpi,Provider provider,String algorithm) Creates a KeyManagerFactory object.SNIHostName(String hostname) Creates anSNIHostNameusing the specified hostname.protectedSSLContext(SSLContextSpi contextSpi,Provider provider,String protocol) Creates an SSLContext object.protectedConstructor for anSSLEngine.SSLException(String reason) Constructs an exception reporting an error found byan SSL subsystem.SSLException(String message,Throwable cause) Creates aSSLExceptionwith the specifieddetail message and cause.SSLHandshakeException(String reason) Constructs an exception reporting an error found byan SSL subsystem during handshaking.SSLHandshakeException(String message,Throwable cause) Creates aSSLHandshakeExceptionwith the specified detailmessage and cause.SSLKeyException(String reason) Constructs an exception reporting a key management errorfound by an SSL subsystem.SSLKeyException(String message,Throwable cause) Creates aSSLKeyExceptionwith the specified detailmessage and cause.SSLParameters(String[] cipherSuites) Constructs SSLParameters from the specified array of ciphersuites.SSLParameters(String[] cipherSuites,String[] protocols) Constructs SSLParameters from the specified array of ciphersuitesand protocols.SSLPeerUnverifiedException(String reason) Constructs an exception reporting that the SSL peer'sidentity has not been verified.SSLPeerUnverifiedException(String message,Throwable cause) Creates aSSLPeerUnverifiedExceptionwith the specified detailmessage and cause.SSLPermission(String name) Deprecated, for removal: This API element is subject to removal in a future version.Creates a new SSLPermission with the specified name.SSLPermission(String name,String actions) Deprecated, for removal: This API element is subject to removal in a future version.Creates a new SSLPermission object with the specified name.SSLProtocolException(String reason) Constructs an exception reporting an SSL protocol errordetected by an SSL subsystem.SSLProtocolException(String message,Throwable cause) Creates aSSLProtocolExceptionwith the specified detailmessage and cause.SSLSessionBindingEvent(SSLSession session,String name) Constructs a new SSLSessionBindingEvent.protectedUsed only by subclasses.protectedSSLSocket(String host, int port,InetAddress clientAddress, int clientPort) Used only by subclasses.protectedTrustManagerFactory(TrustManagerFactorySpi factorySpi,Provider provider,String algorithm) Creates a TrustManagerFactory object.Uses ofString injavax.print
Fields injavax.print declared asStringModifier and TypeFieldDescriptionstatic finalStringServiceUIFactory.DIALOG_UIDenotes a UI implemented as an AWT dialog.static finalStringDocFlavor.hostEncodingA string representing the host operating system encoding.static finalStringServiceUIFactory.JCOMPONENT_UIDenotes a UI implemented as a Swing component.static finalStringServiceUIFactory.JDIALOG_UIDenotes a UI implemented as a Swing dialog.static finalStringServiceUIFactory.PANEL_UIDenotes a UI implemented as an AWT panel.Methods injavax.print that returnStringModifier and TypeMethodDescriptionDocFlavor.getMediaSubtype()Returns this doc flavor object's media subtype (from the MIME type).DocFlavor.getMediaType()Returns this doc flavor object's media type (from the MIME type).DocFlavor.getMimeType()Returns this doc flavor object's MIME type string based on the canonicalform.PrintService.getName()Returns a string name for this print service which may be used byapplications to request a particular print service.abstractStringStreamPrintService.getOutputFormat()Returns the document format emitted by this print service.abstractStringStreamPrintServiceFactory.getOutputFormat()Queries the factory for the document format that is emitted by printersobtained from this factory.DocFlavor.getParameter(String paramName) Returns aStringrepresenting a MIME parameter.DocFlavor.getRepresentationClassName()Returns the name of this doc flavor object's representation class.abstractString[]ServiceUIFactory.getUIClassNamesForRole(int role) Given a UI role obtained from this factory obtain the UI types availablefrom this factory which implement this role.DocFlavor.toString()Converts thisDocFlavorto a string.Methods injavax.print with parameters of typeStringModifier and TypeMethodDescriptionDocFlavor.getParameter(String paramName) Returns aStringrepresenting a MIME parameter.abstractObjectGet a UI object which may be cast to the requested UI type by theapplication and used in its user interface.staticStreamPrintServiceFactory[]StreamPrintServiceFactory.lookupStreamPrintServiceFactories(DocFlavor flavor,String outputMimeType) Locates factories for print services that can be used with a print job tooutput a stream of data in the format specified byoutputMimeType.Constructors injavax.print with parameters of typeStringModifierConstructorDescriptionBYTE_ARRAY(String mimeType) Constructs a new doc flavor with the given MIME type and a print datarepresentation class name of"[B"(byte array).CHAR_ARRAY(String mimeType) Constructs a new doc flavor with the given MIME type and a print datarepresentation class name of"[C"(character array).Constructs a new doc flavor object from the given MIME type andrepresentation class name.INPUT_STREAM(String mimeType) Constructs a new doc flavor with the given MIME type and a print datarepresentation class name of"java.io.InputStream"(bytestream).Construct a print exception with the given detail message.Construct a print exception with the given detail message and chainedexception.Constructs a new doc flavor with the given MIME type and a print datarepresentation class name of"java.io.Reader"(characterstream).SERVICE_FORMATTED(String className) Constructs a new doc flavor with a MIME type of"application/x-java-jvm-local-objectref"indicating serviceformatted print data and the given print data representation classname.Constructs a new doc flavor with the given MIME type and a print datarepresentation class name of"java.lang.String".Constructs a new doc flavor with the given MIME type and a print datarepresentation class name of"java.net.URL".Uses ofString injavax.print.attribute
Methods injavax.print.attribute that returnStringModifier and TypeMethodDescriptionAttribute.getName()Get the name of the category of which this attribute value is aninstance.protectedString[]EnumSyntax.getStringTable()Returns the string table for this enumeration value's enumeration class.TextSyntax.getValue()Returns this text attribute's text string.DateTimeSyntax.toString()Returns a string value corresponding to this date-time attribute.EnumSyntax.toString()Returns a string value corresponding to this enumeration value.IntegerSyntax.toString()Returns a string value corresponding to this integer attribute.ResolutionSyntax.toString()Returns a string version of this resolution attribute.Returns a string version of this resolution attribute in the given units.SetOfIntegerSyntax.toString()Returns a string value corresponding to this set-of-integer attribute.Size2DSyntax.toString()Returns a string version of this two-dimensional size attribute.Returns a string version of this two-dimensional size attribute in thegiven units.TextSyntax.toString()Returns aStringidentifying this text attribute.URISyntax.toString()Returns aStringidentifying thisURIattribute.Methods injavax.print.attribute with parameters of typeStringModifier and TypeMethodDescriptionReturns a string version of this resolution attribute in the given units.Returns a string version of this two-dimensional size attribute in thegiven units.Constructors injavax.print.attribute with parameters of typeStringModifierConstructorDescriptionprotectedSetOfIntegerSyntax(String members) Construct a new set-of-integer attribute with the given members in stringform.protectedTextSyntax(String value,Locale locale) Constructs aTextAttributewith the specified string and locale.UnmodifiableSetException(String message) Constructs anUnmodifiableSetExceptionwith the specified detailmessage.Uses ofString injavax.print.attribute.standard
Methods injavax.print.attribute.standard that returnStringModifier and TypeMethodDescriptionfinalStringChromaticity.getName()Get the name of the category of which this attribute value is aninstance.finalStringColorSupported.getName()Get the name of the category of which this attribute value is aninstance.finalStringCompression.getName()Get the name of the category of which this attribute value is aninstance.finalStringCopies.getName()Get the name of the category of which this attribute value is aninstance.finalStringCopiesSupported.getName()Get the name of the category of which this attribute value is aninstance.finalStringDateTimeAtCompleted.getName()Get the name of the category of which this attribute value is aninstance.finalStringDateTimeAtCreation.getName()Get the name of the category of which this attribute value is aninstance.finalStringDateTimeAtProcessing.getName()Get the name of the category of which this attribute value is aninstance.finalStringDestination.getName()Get the name of the category of which this attribute value is aninstance.finalStringDialogOwner.getName()Get the name of the category of which this attribute value is aninstance.finalStringDialogTypeSelection.getName()Gets the name of the category of which this attribute value is aninstance.finalStringDocumentName.getName()Get the name of the category of which this attribute value is aninstance.finalStringFidelity.getName()Get the name of the category of which this attribute value is aninstance.finalStringFinishings.getName()Get the name of the category of which this attribute value is aninstance.finalStringJobHoldUntil.getName()Get the name of the category of which this attribute value is aninstance.finalStringJobImpressions.getName()Get the name of the category of which this attribute value is aninstance.finalStringJobImpressionsCompleted.getName()Get the name of the category of which this attribute value is aninstance.finalStringJobImpressionsSupported.getName()Get the name of the category of which this attribute value is aninstance.finalStringJobKOctets.getName()Get the name of the category of which this attribute value is aninstance.finalStringJobKOctetsProcessed.getName()Get the name of the category of which this attribute value is aninstance.finalStringJobKOctetsSupported.getName()Get the name of the category of which this attribute value is aninstance.finalStringJobMediaSheets.getName()Get the name of the category of which this attribute value is aninstance.finalStringJobMediaSheetsCompleted.getName()Get the name of the category of which this attribute value is aninstance.finalStringJobMediaSheetsSupported.getName()Get the name of the category of which this attribute value is aninstance.finalStringJobMessageFromOperator.getName()Get the name of the category of which this attribute value is aninstance.finalStringJobName.getName()Get the name of the category of which this attribute value is aninstance.finalStringJobOriginatingUserName.getName()Get the name of the category of which this attribute value is aninstance.finalStringJobPriority.getName()Get the name of the category of which this attribute value is aninstance.finalStringJobPrioritySupported.getName()Get the name of the category of which this attribute value is aninstance.finalStringJobSheets.getName()Get the name of the category of which this attribute value is aninstance.finalStringJobState.getName()Get the name of the category of which this attribute value is aninstance.finalStringJobStateReason.getName()Get the name of the category of which this attribute value is aninstance.finalStringJobStateReasons.getName()Get the name of the category of which this attribute value is aninstance.finalStringMedia.getName()Get the name of the category of which this attribute value is aninstance.finalStringMediaPrintableArea.getName()Get the name of the category of which this attribute value is aninstance.finalStringMediaSize.getName()Get the name of the category of which this attribute value is aninstance.finalStringMultipleDocumentHandling.getName()Get the name of the category of which this attribute value is aninstance.finalStringNumberOfDocuments.getName()Get the name of the category of which this attribute value is aninstance.finalStringNumberOfInterveningJobs.getName()Get the name of the category of which this attribute value is aninstance.finalStringNumberUp.getName()Get the name of the category of which this attribute value is aninstance.finalStringNumberUpSupported.getName()Get the name of the category of which this attribute value is aninstance.finalStringOrientationRequested.getName()Get the name of the category of which this attribute value is aninstance.finalStringOutputBin.getName()Get the name of the category of which this attribute value is aninstance.finalStringOutputDeviceAssigned.getName()Get the name of the category of which this attribute value is aninstance.finalStringPageRanges.getName()Get the name of the category of which this attribute value is aninstance.finalStringPagesPerMinute.getName()Get the name of the category of which this attribute value is aninstance.finalStringPagesPerMinuteColor.getName()Get the name of the category of which this attribute value is aninstance.finalStringPDLOverrideSupported.getName()Get the name of the category of which this attribute value is aninstance.finalStringPresentationDirection.getName()Get the name of the category of which this attribute value is aninstance.finalStringPrinterInfo.getName()Get the name of the category of which this attribute value is aninstance.finalStringPrinterIsAcceptingJobs.getName()Get the name of the category of which this attribute value is aninstance.finalStringPrinterLocation.getName()Get the name of the category of which this attribute value is aninstance.finalStringPrinterMakeAndModel.getName()Get the name of the category of which this attribute value is aninstance.finalStringPrinterMessageFromOperator.getName()Get the name of the category of which this attribute value is aninstance.finalStringPrinterMoreInfo.getName()Get the name of the category of which this attribute value is aninstance.finalStringPrinterMoreInfoManufacturer.getName()Get the name of the category of which this attribute value is aninstance.finalStringPrinterName.getName()Get the name of the category of which this attribute value is aninstance.finalStringPrinterResolution.getName()Get the name of the category of which this attribute value is aninstance.finalStringPrinterState.getName()Get the name of the category of which this attribute value is aninstance.finalStringPrinterStateReason.getName()Get the name of the category of which this attribute value is aninstance.finalStringPrinterStateReasons.getName()Get the name of the category of which this attribute value is aninstance.finalStringPrinterURI.getName()Get the name of the category of which this attribute value is aninstance.finalStringPrintQuality.getName()Get the name of the category of which this attribute value is aninstance.finalStringQueuedJobCount.getName()Get the name of the category of which this attribute value is aninstance.finalStringReferenceUriSchemesSupported.getName()Get the name of the category of which this attribute value is aninstance.finalStringRequestingUserName.getName()Get the name of the category of which this attribute value is aninstance.finalStringSeverity.getName()Get the name of the category of which this attribute value is aninstance.finalStringSheetCollate.getName()Get the name of the category of which this attribute value is aninstance.finalStringSides.getName()Get the name of the category of which this attribute value is aninstance.protectedString[]Chromaticity.getStringTable()Returns the string table for classChromaticity.protectedString[]ColorSupported.getStringTable()Returns the string table for classColorSupported.protectedString[]Compression.getStringTable()Returns the string table for classCompression.protectedString[]DialogTypeSelection.getStringTable()Returns the string table for classDialogTypeSelection.protectedString[]Fidelity.getStringTable()Returns the string table for classFidelity.protectedString[]Finishings.getStringTable()Returns the string table for classFinishings.protectedString[]JobSheets.getStringTable()Returns the string table for classJobSheets.protectedString[]JobState.getStringTable()Returns the string table for classJobState.protectedString[]JobStateReason.getStringTable()Returns the string table for classJobStateReason.protectedString[]MediaName.getStringTable()Returns the string table for classMediaTray.protectedString[]MediaSizeName.getStringTable()Returns the string table for classMediaSizeName.protectedString[]MediaTray.getStringTable()Returns the string table for classMediaTray.protectedString[]MultipleDocumentHandling.getStringTable()Returns the string table for classMultipleDocumentHandling.protectedString[]OrientationRequested.getStringTable()Returns the string table for classOrientationRequested.protectedString[]OutputBin.getStringTable()Returns the string table for classOutputBin.protectedString[]PDLOverrideSupported.getStringTable()Returns the string table for classPDLOverrideSupported.protectedString[]PresentationDirection.getStringTable()Returns the string table for classPresentationDirection.protectedString[]PrinterIsAcceptingJobs.getStringTable()Returns the string table for classPrinterIsAcceptingJobs.protectedString[]PrinterState.getStringTable()Returns the string table for classPrinterState.protectedString[]PrinterStateReason.getStringTable()Returns the string table for classPrinterStateReason.protectedString[]PrintQuality.getStringTable()Returns the string table for classPrintQuality.protectedString[]ReferenceUriSchemesSupported.getStringTable()Returns the string table for classReferenceUriSchemesSupported.protectedString[]Severity.getStringTable()Returns the string table for classSeverity.protectedString[]SheetCollate.getStringTable()Returns the string table for classSheetCollate.protectedString[]Sides.getStringTable()Returns the string table for classSides.MediaPrintableArea.toString()Returns a string version of this rectangular size attribute in mm.Returns a string version of this rectangular size attribute in the givenunits.Methods injavax.print.attribute.standard with parameters of typeStringModifier and TypeMethodDescriptionReturns a string version of this rectangular size attribute in the givenunits.Constructors injavax.print.attribute.standard with parameters of typeStringModifierConstructorDescriptionDocumentName(String documentName,Locale locale) Constructs a new document name attribute with the given document name andlocale.JobMessageFromOperator(String message,Locale locale) Constructs a new job message from operator attribute with the givenmessage and locale.Constructs a new job name attribute with the given job name and locale.JobOriginatingUserName(String userName,Locale locale) Constructs a new job originating user name attribute with the given username and locale.OutputDeviceAssigned(String deviceName,Locale locale) Constructs a new output device assigned attribute with the given devicename and locale.PageRanges(String members) Construct a new page ranges attribute with the given members in stringform.PrinterInfo(String info,Locale locale) Constructs a new printer info attribute with the given information stringand locale.PrinterLocation(String location,Locale locale) Constructs a new printer location attribute with the given location andlocale.PrinterMakeAndModel(String makeAndModel,Locale locale) Constructs a new printer make and model attribute with the given make andmodel string and locale.PrinterMessageFromOperator(String message,Locale locale) Constructs a new printer message from operator attribute with the givenmessage and locale.PrinterName(String printerName,Locale locale) Constructs a new printer name attribute with the given name and locale.RequestingUserName(String userName,Locale locale) Constructs a new requesting user name attribute with the given user nameand locale.Uses ofString injavax.print.event
Methods injavax.print.event that returnStringUses ofString injavax.rmi.ssl
Methods injavax.rmi.ssl that returnStringModifier and TypeMethodDescriptionfinalString[]SslRMIServerSocketFactory.getEnabledCipherSuites()Returns the names of the cipher suites enabled on SSLconnections accepted by server sockets created by this factory,ornullif this factory uses the cipher suitesthat are enabled by default.finalString[]SslRMIServerSocketFactory.getEnabledProtocols()Returns the names of the protocol versions enabled on SSLconnections accepted by server sockets created by this factory,ornullif this factory uses the protocol versionsthat are enabled by default.Methods injavax.rmi.ssl with parameters of typeStringModifier and TypeMethodDescriptionSslRMIClientSocketFactory.createSocket(String host, int port) Creates an SSL socket.Constructors injavax.rmi.ssl with parameters of typeStringModifierConstructorDescriptionSslRMIServerSocketFactory(String[] enabledCipherSuites,String[] enabledProtocols, boolean needClientAuth) Creates a newSslRMIServerSocketFactorywiththe specified SSL socket configuration.SslRMIServerSocketFactory(SSLContext context,String[] enabledCipherSuites,String[] enabledProtocols, boolean needClientAuth) Creates a newSslRMIServerSocketFactorywith thespecifiedSSLContextand SSL socket configuration.Uses ofString injavax.script
Subinterfaces with type arguments of typeString injavax.scriptModifier and TypeInterfaceDescriptioninterfaceA mapping of key/value pairs, all of whose keys areStrings.Fields injavax.script declared asStringModifier and TypeFieldDescriptionstatic finalStringScriptEngine.ARGVReserved key for a named value that passesan array of positional arguments to a script.static finalStringScriptEngine.ENGINEReserved key for a named value that isthe name of theScriptEngineimplementation.static finalStringScriptEngine.ENGINE_VERSIONReserved key for a named value that identifiesthe version of theScriptEngineimplementation.static finalStringScriptEngine.FILENAMEReserved key for a named value that isthe name of the file being executed.static finalStringScriptEngine.LANGUAGEReserved key for a named value that isthe full name of Scripting Language supported by the implementation.static finalStringScriptEngine.LANGUAGE_VERSIONReserved key for the named value that identifiesthe version of the scripting language supported by the implementation.static finalStringScriptEngine.NAMEReserved key for a named value that identifiesthe short name of the scripting language.Methods injavax.script that returnStringModifier and TypeMethodDescriptionScriptEngineFactory.getEngineName()Returns the full name of theScriptEngine.ScriptEngineFactory.getEngineVersion()Returns the version of theScriptEngine.ScriptException.getFileName()Get the source of the script causing the error.ScriptEngineFactory.getLanguageName()Returns the name of the scripting language supported by thisScriptEngine.ScriptEngineFactory.getLanguageVersion()Returns the version of the scripting language supported by thisScriptEngine.ScriptException.getMessage()Returns a message containing the String passed to a constructor as well asline and column numbers and filename if any of these are known.ScriptEngineFactory.getMethodCallSyntax(String obj,String m,String... args) Returns a String which can be used to invoke a method of a Java object using the syntaxof the supported scripting language.ScriptEngineFactory.getOutputStatement(String toDisplay) Returns a String that can be used as a statement to display the specified String usingthe syntax of the supported scripting language.ScriptEngineFactory.getProgram(String... statements) Returns a valid scripting language executable program with given statements.Methods injavax.script that return types with arguments of typeStringModifier and TypeMethodDescriptionSimpleBindings.entrySet()Returns aSetview of the mappings contained in this map.ScriptEngineFactory.getExtensions()Returns an immutable list of filename extensions, which generally identify scriptswritten in the language supported by thisScriptEngine.ScriptEngineFactory.getMimeTypes()Returns an immutable list of mimetypes, associated with scripts thatcan be executed by the engine.ScriptEngineFactory.getNames()Returns an immutable list of short names for theScriptEngine, which may be used toidentify theScriptEngineby theScriptEngineManager.SimpleBindings.keySet()Returns aSetview of the keys contained in this map.Methods injavax.script with parameters of typeStringModifier and TypeMethodDescriptionCompiles the script (source represented as aString) forlater execution.Same aseval(Reader)except that the abstracteval(String, ScriptContext)is used.Same aseval(Reader, Bindings)except that the abstracteval(String, ScriptContext)is used.Executes the specified script.Executes the script using theBindingsargument as theENGINE_SCOPEBindingsof theScriptEngineduring the script execution.ScriptEngine.eval(String script,ScriptContext context) Causes the immediate execution of the script whose source is the Stringpassed as the first argument.Gets the value for the specified key in theENGINE_SCOPEof theprotectedcontextfield.Retrieves a value set in the state of this engine.Gets the value for the specified key in the Global ScopeScriptContext.getAttribute(String name) Retrieves the value of the attribute with the given name inthe scope occurring earliest in the search order.ScriptContext.getAttribute(String name, int scope) Gets the value of an attribute in a given scope.SimpleScriptContext.getAttribute(String name) Retrieves the value of the attribute with the given name inthe scope occurring earliest in the search order.SimpleScriptContext.getAttribute(String name, int scope) Gets the value of an attribute in a given scope.intScriptContext.getAttributesScope(String name) Get the lowest scope in which an attribute is defined.intSimpleScriptContext.getAttributesScope(String name) Get the lowest scope in which an attribute is defined.ScriptEngineManager.getEngineByExtension(String extension) Look up and create aScriptEnginefor a given extension.ScriptEngineManager.getEngineByMimeType(String mimeType) Look up and create aScriptEnginefor a given mime type.ScriptEngineManager.getEngineByName(String shortName) Looks up and creates aScriptEnginefor a given name.ScriptEngineFactory.getMethodCallSyntax(String obj,String m,String... args) Returns a String which can be used to invoke a method of a Java object using the syntaxof the supported scripting language.ScriptEngineFactory.getOutputStatement(String toDisplay) Returns a String that can be used as a statement to display the specified String usingthe syntax of the supported scripting language.ScriptEngineFactory.getParameter(String key) Returns the value of an attribute whose meaning may be implementation-specific.ScriptEngineFactory.getProgram(String... statements) Returns a valid scripting language executable program with given statements.Invocable.invokeFunction(String name,Object... args) Used to call top-level procedures and functions defined in scripts.Invocable.invokeMethod(Object thiz,String name,Object... args) Calls a method on a script object compiled during a previous script execution,which is retained in the state of theScriptEngine.voidSets the specified value with the specified key in theENGINE_SCOPEBindingsof the protectedcontextfield.Set a named value.voidSets a key/value pair in the state of the ScriptEngine that may either createa Java Language Binding to be used in the execution of scripts or be used in someother way, depending on whether the key is reserved.voidSets the specified key/value pair in the Global Scope.Sets the specified key/value in the underlyingmapfield.voidScriptEngineManager.registerEngineExtension(String extension,ScriptEngineFactory factory) Registers aScriptEngineFactoryto handle an extension.voidScriptEngineManager.registerEngineMimeType(String type,ScriptEngineFactory factory) Registers aScriptEngineFactoryto handle a mime type.voidScriptEngineManager.registerEngineName(String name,ScriptEngineFactory factory) Registers aScriptEngineFactoryto handle a languagename.ScriptContext.removeAttribute(String name, int scope) Remove an attribute in a given scope.SimpleScriptContext.removeAttribute(String name, int scope) Remove an attribute in a given scope.voidScriptContext.setAttribute(String name,Object value, int scope) Sets the value of an attribute in a given scope.voidSimpleScriptContext.setAttribute(String name,Object value, int scope) Sets the value of an attribute in a given scope.Method parameters injavax.script with type arguments of typeStringModifier and TypeMethodDescriptionvoidAdds all the mappings in a givenMapto thisBindings.voidputAllis implemented usingMap.putAll.Constructors injavax.script with parameters of typeStringModifierConstructorDescriptionCreates aScriptExceptionwith a String to be used in its message.ScriptException(String message,String fileName, int lineNumber) Creates aScriptExceptionwith message, filename and linenumber tobe used in error messages.ScriptException(String message,String fileName, int lineNumber, int columnNumber) ScriptExceptionconstructor specifying message, filename, line numberand column number.Constructor parameters injavax.script with type arguments of typeStringModifierConstructorDescriptionConstructor uses an existingMapto store the values.Uses ofString injavax.security.auth
Methods injavax.security.auth that returnStringModifier and TypeMethodDescriptionPrivateCredentialPermission.getActions()Deprecated, for removal: This API element is subject to removal in a future version.Returns the "canonical string representation" of the actions.PrivateCredentialPermission.getCredentialClass()Deprecated, for removal: This API element is subject to removal in a future version.Returns the Class name of the Credential associated with thisPrivateCredentialPermission.String[][]PrivateCredentialPermission.getPrincipals()Deprecated, for removal: This API element is subject to removal in a future version.Returns thePrincipalclasses and namesassociated with thisPrivateCredentialPermission.Subject.toString()Return the String representation of thisSubject.Constructors injavax.security.auth with parameters of typeStringModifierConstructorDescriptionAuthPermission(String name) Deprecated, for removal: This API element is subject to removal in a future version.Creates a new AuthPermission with the specified name.AuthPermission(String name,String actions) Deprecated, for removal: This API element is subject to removal in a future version.Creates a new AuthPermission object with the specified name.Constructs a DestroyFailedException with the specified detailmessage.PrivateCredentialPermission(String name,String actions) Deprecated, for removal: This API element is subject to removal in a future version.Creates a newPrivateCredentialPermissionwith the specifiedname.Constructs a RefreshFailedException with the specified detailmessage.Uses ofString injavax.security.auth.callback
Methods injavax.security.auth.callback that returnStringModifier and TypeMethodDescriptionString[]ChoiceCallback.getChoices()Get the list of choices.NameCallback.getDefaultName()Get the default name.TextInputCallback.getDefaultText()Get the default text.TextOutputCallback.getMessage()Get the message to be displayed.NameCallback.getName()Get the retrieved name.String[]ConfirmationCallback.getOptions()Get the confirmation options.ChoiceCallback.getPrompt()Get the prompt.ConfirmationCallback.getPrompt()Get the prompt.NameCallback.getPrompt()Get the prompt.PasswordCallback.getPrompt()Get the prompt.TextInputCallback.getPrompt()Get the prompt.TextInputCallback.getText()Get the retrieved text.Methods injavax.security.auth.callback with parameters of typeStringModifier and TypeMethodDescriptionvoidSet the retrieved name.voidSet the retrieved text.Constructors injavax.security.auth.callback with parameters of typeStringModifierConstructorDescriptionChoiceCallback(String prompt,String[] choices, int defaultChoice, boolean multipleSelectionsAllowed) Construct aChoiceCallbackwith a prompt,a list of choices, a default choice, and a boolean specifyingwhether multiple selections from the list of choices are allowed.ConfirmationCallback(int messageType,String[] options, int defaultOption) Construct aConfirmationCallbackwith amessage type, a list of options and a default option.ConfirmationCallback(String prompt, int messageType, int optionType, int defaultOption) Construct aConfirmationCallbackwith a prompt,message type, an option type and a default option.ConfirmationCallback(String prompt, int messageType,String[] options, int defaultOption) Construct aConfirmationCallbackwith a prompt,message type, a list of options and a default option.NameCallback(String prompt) Construct aNameCallbackwith a prompt.NameCallback(String prompt,String defaultName) Construct aNameCallbackwith a promptand default name.PasswordCallback(String prompt, boolean echoOn) Construct aPasswordCallbackwith a promptand a boolean specifying whether the password should be displayedas it is being typed.TextInputCallback(String prompt) Construct aTextInputCallbackwith a prompt.TextInputCallback(String prompt,String defaultText) Construct aTextInputCallbackwith a promptand default input value.TextOutputCallback(int messageType,String message) Construct a TextOutputCallback with a message type and messageto be displayed.UnsupportedCallbackException(Callback callback,String msg) Constructs a UnsupportedCallbackException with the specified detailmessage.Uses ofString injavax.security.auth.kerberos
Methods injavax.security.auth.kerberos that returnStringModifier and TypeMethodDescriptionServicePermission.getActions()Deprecated, for removal: This API element is subject to removal in a future version.Returns the canonical string representation of the actions.EncryptionKey.getAlgorithm()Returns the standard algorithm name for this key.finalStringKerberosKey.getAlgorithm()Returns the standard algorithm name for this key.EncryptionKey.getFormat()Returns the name of the encoding format for this key.finalStringKerberosKey.getFormat()Returns the name of the encoding format for this secret key.KerberosPrincipal.getName()The returned string corresponds to the single-stringrepresentation of a Kerberos Principal name as specified inSection 2.1 ofRFC 1964.KerberosPrincipal.getRealm()Returns the realm component of this Kerberos principal.EncryptionKey.toString()Returns an informative textual representation of thisEncryptionKey.KerberosCredMessage.toString()Returns an informative textual representation of thisKerberosCredMessage.KerberosKey.toString()Returns an informative textual representation of thisKerberosKey.KerberosPrincipal.toString()Returns an informative textual representation of thisKerberosPrincipal.KerberosTicket.toString()Returns an informative textual representation of thisKerberosTicket.KeyTab.toString()Returns an informative textual representation of thisKeyTab.Constructors injavax.security.auth.kerberos with parameters of typeStringModifierConstructorDescriptionDelegationPermission(String principals) Deprecated, for removal: This API element is subject to removal in a future version.Create a newDelegationPermissionwith the specified subordinate and target principals.DelegationPermission(String principals,String actions) Deprecated, for removal: This API element is subject to removal in a future version.Create a newDelegationPermissionwith the specified subordinate and target principals.KerberosKey(KerberosPrincipal principal, char[] password,String algorithm) Constructs aKerberosKeyfrom a principal's password using thespecified algorithm name.KerberosPrincipal(String name) Constructs aKerberosPrincipalfrom the provided string input.KerberosPrincipal(String name, int nameType) Constructs aKerberosPrincipalfrom the provided string andname type input.ServicePermission(String servicePrincipal,String action) Deprecated, for removal: This API element is subject to removal in a future version.Create a newServicePermissionwith the specifiedservicePrincipalandaction.Uses ofString injavax.security.auth.login
Methods injavax.security.auth.login that returnStringModifier and TypeMethodDescriptionAppConfigurationEntry.getLoginModuleName()Get the class name of the configuredLoginModule.Configuration.getType()Return the type of this Configuration.AppConfigurationEntry.LoginModuleControlFlag.toString()Return a String representation of this controlFlag.Methods injavax.security.auth.login that return types with arguments of typeStringModifier and TypeMethodDescriptionAppConfigurationEntry.getOptions()Get the options configured for thisLoginModule.Methods injavax.security.auth.login with parameters of typeStringModifier and TypeMethodDescriptionprotected abstractAppConfigurationEntry[]ConfigurationSpi.engineGetAppConfigurationEntry(String name) Retrieve the AppConfigurationEntries for the specifiedname.abstractAppConfigurationEntry[]Configuration.getAppConfigurationEntry(String name) Retrieve the AppConfigurationEntries for the specifiednamefrom this Configuration.staticConfigurationConfiguration.getInstance(String type,Configuration.Parameters params) Returns a Configuration object of the specified type.staticConfigurationConfiguration.getInstance(String type,Configuration.Parameters params,String provider) Returns a Configuration object of the specified type.staticConfigurationConfiguration.getInstance(String type,Configuration.Parameters params,Provider provider) Returns a Configuration object of the specified type.Constructors injavax.security.auth.login with parameters of typeStringModifierConstructorDescriptionAccountException(String msg) Constructs a AccountException with the specified detail message.Constructs a AccountExpiredException with the specified detailmessage.Constructs a AccountLockedException with the specifieddetail message.Constructs a AccountNotFoundException with the specifieddetail message.AppConfigurationEntry(String loginModuleName,AppConfigurationEntry.LoginModuleControlFlag controlFlag,Map<String, ?> options) Default constructor for this class.Constructs a CredentialException with the specified detail message.Constructs a CredentialExpiredException with the specified detailmessage.Constructs a CredentialNotFoundException with the specifieddetail message.Constructs a FailedLoginException with the specified detailmessage.LoginContext(String name) Instantiate a newLoginContextobject with a name.LoginContext(String name,CallbackHandler callbackHandler) Instantiate a newLoginContextobject with a nameand aCallbackHandlerobject.LoginContext(String name,Subject subject) Instantiate a newLoginContextobject with a nameand aSubjectobject.LoginContext(String name,Subject subject,CallbackHandler callbackHandler) Instantiate a newLoginContextobject with a name,aSubjectto be authenticated, and aCallbackHandlerobject.LoginContext(String name,Subject subject,CallbackHandler callbackHandler,Configuration config) Instantiate a newLoginContextobject with a name,aSubjectto be authenticated,aCallbackHandlerobject, and a loginConfiguration.LoginException(String msg) Constructs a LoginException with the specified detail message.Constructor parameters injavax.security.auth.login with type arguments of typeStringModifierConstructorDescriptionAppConfigurationEntry(String loginModuleName,AppConfigurationEntry.LoginModuleControlFlag controlFlag,Map<String, ?> options) Default constructor for this class.Uses ofString injavax.security.auth.spi
Method parameters injavax.security.auth.spi with type arguments of typeStringModifier and TypeMethodDescriptionvoidLoginModule.initialize(Subject subject,CallbackHandler callbackHandler,Map<String, ?> sharedState,Map<String, ?> options) Initialize thisLoginModule.Uses ofString injavax.security.auth.x500
Fields injavax.security.auth.x500 declared asStringModifier and TypeFieldDescriptionstatic finalStringX500Principal.CANONICALCanonical String format of Distinguished Names.static finalStringX500Principal.RFC1779RFC 1779 String format of Distinguished Names.static finalStringX500Principal.RFC2253RFC 2253 String format of Distinguished Names.Methods injavax.security.auth.x500 that returnStringModifier and TypeMethodDescriptionX500PrivateCredential.getAlias()Returns the KeyStore alias.X500Principal.getName()Returns a string representation of the X.500 distinguished name usingthe format defined in RFC 2253.Returns a string representation of the X.500 distinguished nameusing the specified format.Returns a string representation of the X.500 distinguished nameusing the specified format.X500Principal.toString()Return a user-friendly string representation of thisX500Principal.Methods injavax.security.auth.x500 with parameters of typeStringModifier and TypeMethodDescriptionReturns a string representation of the X.500 distinguished nameusing the specified format.Returns a string representation of the X.500 distinguished nameusing the specified format.Method parameters injavax.security.auth.x500 with type arguments of typeStringModifier and TypeMethodDescriptionReturns a string representation of the X.500 distinguished nameusing the specified format.Returns a string representation of the X.500 distinguished nameusing the specified format.Constructors injavax.security.auth.x500 with parameters of typeStringModifierConstructorDescriptionX500Principal(String name) Creates anX500Principalfrom a string representation ofan X.500 distinguished name (ex:"CN=Duke, OU=JavaSoft, O=Sun Microsystems, C=US").X500Principal(String name,Map<String, String> keywordMap) Creates anX500Principalfrom a string representation ofan X.500 distinguished name (ex:"CN=Duke, OU=JavaSoft, O=Sun Microsystems, C=US").X500PrivateCredential(X509Certificate cert,PrivateKey key,String alias) Creates an X500PrivateCredential that associates an X.509 certificate,a private key and the KeyStore alias.Constructor parameters injavax.security.auth.x500 with type arguments of typeStringModifierConstructorDescriptionX500Principal(String name,Map<String, String> keywordMap) Creates anX500Principalfrom a string representation ofan X.500 distinguished name (ex:"CN=Duke, OU=JavaSoft, O=Sun Microsystems, C=US").X500Principal(String name,Map<String, String> keywordMap) Creates anX500Principalfrom a string representation ofan X.500 distinguished name (ex:"CN=Duke, OU=JavaSoft, O=Sun Microsystems, C=US").Uses ofString injavax.security.cert
Methods injavax.security.cert that returnStringModifier and TypeMethodDescriptionabstractStringX509Certificate.getSigAlgName()Deprecated, for removal: This API element is subject to removal in a future version.Gets the signature algorithm name for the certificatesignature algorithm.abstractStringX509Certificate.getSigAlgOID()Deprecated, for removal: This API element is subject to removal in a future version.Gets the signature algorithm OID string from the certificate.abstractStringCertificate.toString()Deprecated, for removal: This API element is subject to removal in a future version.Returns a string representation of this certificate.Methods injavax.security.cert with parameters of typeStringModifier and TypeMethodDescriptionabstract voidDeprecated, for removal: This API element is subject to removal in a future version.Verifies that this certificate was signed using theprivate key that corresponds to the specified public key.Constructors injavax.security.cert with parameters of typeStringModifierConstructorDescriptionCertificateEncodingException(String message) Deprecated, for removal: This API element is subject to removal in a future version.Constructs a CertificateEncodingException with the specified detailmessage.Deprecated, for removal: This API element is subject to removal in a future version.Constructs a certificate exception with the given detailmessage.CertificateExpiredException(String message) Deprecated, for removal: This API element is subject to removal in a future version.Constructs a CertificateExpiredException with the specified detailmessage.CertificateNotYetValidException(String message) Deprecated, for removal: This API element is subject to removal in a future version.Constructs a CertificateNotYetValidException with the specified detailmessage.CertificateParsingException(String message) Deprecated, for removal: This API element is subject to removal in a future version.Constructs a CertificateParsingException with the specified detailmessage.Uses ofString injavax.security.sasl
Fields injavax.security.sasl declared asStringModifier and TypeFieldDescriptionstatic finalStringSasl.BOUND_SERVER_NAMEThe name of a property that specifies the bound server name foran unbound server.static finalStringSasl.CREDENTIALSThe name of a property that specifies the credentials to use.static finalStringSasl.MAX_BUFFERThe name of a property that specifies the maximum size of the receivebuffer in bytes ofSaslClient/SaslServer.static finalStringThe name of a property that specifies whether mechanisms that implement forward secrecy between sessions are required.static finalStringSasl.POLICY_NOACTIVEThe name of a property that specifies whethermechanisms susceptible to active (non-dictionary) attacksare not permitted.static finalStringSasl.POLICY_NOANONYMOUSThe name of a property that specifies whether mechanisms that accept anonymous login are not permitted.static finalStringSasl.POLICY_NODICTIONARYThe name of a property that specifies whether mechanisms susceptible to passive dictionary attacks are not permitted.static finalStringSasl.POLICY_NOPLAINTEXTThe name of a property that specifieswhether mechanisms susceptible to simple plain passive attacks (e.g.,"PLAIN") are not permitted.static finalStringThe name of a property that specifies whether mechanisms that pass client credentials are required.static finalStringSasl.QOPThe name of a property that specifies the quality-of-protection to use.static finalStringSasl.RAW_SEND_SIZEThe name of a property that specifies the maximum size of the raw sendbuffer in bytes ofSaslClient/SaslServer.static finalStringSasl.REUSEThe name of a property that specifies whether to reuse previouslyauthenticated session information.static finalStringSasl.SERVER_AUTHThe name of a property that specifies whether theserver must authenticate to the client.static finalStringSasl.STRENGTHThe name of a property that specifies the cipher strength to use.Methods injavax.security.sasl that returnStringModifier and TypeMethodDescriptionAuthorizeCallback.getAuthenticationID()Returns the authentication id to check.AuthorizeCallback.getAuthorizationID()Returns the authorization id to check.SaslServer.getAuthorizationID()Reports the authorization ID in effect for the client of thissession.AuthorizeCallback.getAuthorizedID()Returns the id of the authorized user.SaslClient.getMechanismName()Returns the IANA-registered mechanism name of this SASL client.SaslServer.getMechanismName()Returns the IANA-registered mechanism name of this SASL server.String[]SaslClientFactory.getMechanismNames(Map<String, ?> props) Returns an array of names of mechanisms that match the specifiedmechanism selection policies.String[]SaslServerFactory.getMechanismNames(Map<String, ?> props) Returns an array of names of mechanisms that match the specifiedmechanism selection policies.SaslException.toString()Returns the string representation of this exception.Methods injavax.security.sasl with parameters of typeStringModifier and TypeMethodDescriptionstaticSaslClientSasl.createSaslClient(String[] mechanisms,String authorizationId,String protocol,String serverName,Map<String, ?> props,CallbackHandler cbh) Creates aSaslClientusing the parameters supplied.SaslClientFactory.createSaslClient(String[] mechanisms,String authorizationId,String protocol,String serverName,Map<String, ?> props,CallbackHandler cbh) Creates a SaslClient using the parameters supplied.staticSaslServerSasl.createSaslServer(String mechanism,String protocol,String serverName,Map<String, ?> props,CallbackHandler cbh) Creates aSaslServerfor the specified mechanism.SaslServerFactory.createSaslServer(String mechanism,String protocol,String serverName,Map<String, ?> props,CallbackHandler cbh) Creates aSaslServerusing the parameters supplied.SaslClient.getNegotiatedProperty(String propName) Retrieves the negotiated property.SaslServer.getNegotiatedProperty(String propName) Retrieves the negotiated property.voidAuthorizeCallback.setAuthorizedID(String id) Sets the id of the authorized entity.Method parameters injavax.security.sasl with type arguments of typeStringModifier and TypeMethodDescriptionstaticSaslClientSasl.createSaslClient(String[] mechanisms,String authorizationId,String protocol,String serverName,Map<String, ?> props,CallbackHandler cbh) Creates aSaslClientusing the parameters supplied.SaslClientFactory.createSaslClient(String[] mechanisms,String authorizationId,String protocol,String serverName,Map<String, ?> props,CallbackHandler cbh) Creates a SaslClient using the parameters supplied.staticSaslServerSasl.createSaslServer(String mechanism,String protocol,String serverName,Map<String, ?> props,CallbackHandler cbh) Creates aSaslServerfor the specified mechanism.SaslServerFactory.createSaslServer(String mechanism,String protocol,String serverName,Map<String, ?> props,CallbackHandler cbh) Creates aSaslServerusing the parameters supplied.String[]SaslClientFactory.getMechanismNames(Map<String, ?> props) Returns an array of names of mechanisms that match the specifiedmechanism selection policies.String[]SaslServerFactory.getMechanismNames(Map<String, ?> props) Returns an array of names of mechanisms that match the specifiedmechanism selection policies.Constructors injavax.security.sasl with parameters of typeStringModifierConstructorDescriptionAuthenticationException(String detail) Constructs a new instance ofAuthenticationExceptionwith a detailed message.AuthenticationException(String detail,Throwable ex) Constructs a new instance ofAuthenticationExceptionwith a detailed messageand a root exception.AuthorizeCallback(String authnID,String authzID) Constructs an instance ofAuthorizeCallback.RealmCallback(String prompt) Constructs aRealmCallbackwith a prompt.RealmCallback(String prompt,String defaultRealmInfo) Constructs aRealmCallbackwith a prompt and defaultrealm information.RealmChoiceCallback(String prompt,String[] choices, int defaultChoice, boolean multiple) Constructs aRealmChoiceCallbackwith a prompt, a list ofchoices and a default choice.SaslException(String detail) Constructs a new instance ofSaslExceptionwith a detailed message.SaslException(String detail,Throwable ex) Constructs a new instance ofSaslExceptionwith a detailed messageand a root exception.Uses ofString injavax.smartcardio
Methods injavax.smartcardio that returnStringModifier and TypeMethodDescriptionCardPermission.getActions()Returns the canonical string representation of the actions.staticStringTerminalFactory.getDefaultType()Get the default TerminalFactory type.abstractStringCardTerminal.getName()Returns the unique name of this terminal.abstractStringCard.getProtocol()Returns the protocol in use for this card.TerminalFactory.getType()Returns the type of this TerminalFactory.ATR.toString()Returns a string representation of this ATR.CommandAPDU.toString()Returns a string representation of this command APDU.ResponseAPDU.toString()Returns a string representation of this response APDU.TerminalFactory.toString()Returns a string representation of this TerminalFactory.Methods injavax.smartcardio with parameters of typeStringModifier and TypeMethodDescriptionabstractCardEstablishes a connection to the card.staticTerminalFactoryTerminalFactory.getInstance(String type,Object params) Returns a TerminalFactory of the specified type that is initializedwith the specified parameters.staticTerminalFactoryTerminalFactory.getInstance(String type,Object params,String provider) Returns a TerminalFactory of the specified type that is initializedwith the specified parameters.staticTerminalFactoryTerminalFactory.getInstance(String type,Object params,Provider provider) Returns a TerminalFactory of the specified type that is initializedwith the specified parameters.CardTerminals.getTerminal(String name) Returns the terminal with the specified name or null if no suchterminal exists.staticCardTerminals.StateReturns the enum constant of this class with the specified name.Constructors injavax.smartcardio with parameters of typeStringModifierConstructorDescriptionCardException(String message) Constructs a new CardException with the specified detail message.CardException(String message,Throwable cause) Constructs a new CardException with the specified detail message and cause.CardNotPresentException(String message) Constructs a new CardNotPresentException with the specified detail message.CardNotPresentException(String message,Throwable cause) Constructs a new CardNotPresentException with the specified detail message and cause.CardPermission(String terminalName,String actions) Constructs a new CardPermission with the specified actions.Uses ofString injavax.sound.midi
Methods injavax.sound.midi that returnStringModifier and TypeMethodDescriptionfinalStringMidiDevice.Info.getDescription()Obtains the description of the device.Soundbank.getDescription()Obtains a textual description of the sound bank, suitable for display.finalStringMidiDevice.Info.getName()Obtains the name of the device.Soundbank.getName()Obtains the name of the sound bank.SoundbankResource.getName()Obtains the name of the resource.finalStringMidiDevice.Info.getVendor()Obtains the name of the company who supplies the device.Soundbank.getVendor()Obtains astringnaming the company that provides the sound bank.finalStringMidiDevice.Info.getVersion()Obtains the version of the device.Soundbank.getVersion()Obtains the version string for the sound bank.finalStringMidiDevice.Info.toString()Returns a string representation of the info object.finalStringSequencer.SyncMode.toString()Returns mode's name as the string representation of thesynchronization mode.Methods injavax.sound.midi that return types with arguments of typeStringModifier and TypeMethodDescriptionMidiFileFormat.properties()Obtain an unmodifiable map of properties.Methods injavax.sound.midi with parameters of typeStringModifier and TypeMethodDescriptionMidiFileFormat.getProperty(String key) Obtain the property value specified by the key.Constructors injavax.sound.midi with parameters of typeStringModifierConstructorDescriptionprotectedConstructs a device info object.protectedInstrument(Soundbank soundbank,Patch patch,String name,Class<?> dataClass) Constructs a new MIDI instrument from the specifiedPatch.InvalidMidiDataException(String message) Constructs anInvalidMidiDataExceptionwith the specified detailmessage.MidiUnavailableException(String message) Constructs aMidiUnavailableExceptionwith the specified detailmessage.protectedSoundbankResource(Soundbank soundBank,String name,Class<?> dataClass) Constructs a newSoundbankResourcefrom the given sound bank andwavetable index.protectedConstructs a synchronization mode.Constructor parameters injavax.sound.midi with type arguments of typeStringModifierConstructorDescriptionMidiFileFormat(int type, float divisionType, int resolution, int bytes, long microseconds,Map<String, Object> properties) Construct aMidiFileFormatwith a set of properties.Uses ofString injavax.sound.sampled
Methods injavax.sound.sampled that returnStringModifier and TypeMethodDescriptionfinalStringMixer.Info.getDescription()Obtains the description of the mixer.AudioFileFormat.Type.getExtension()Obtains the common file name extension for this file type.FloatControl.getMaxLabel()Obtains the label for the maximum value, such as "Right" or "Full".FloatControl.getMidLabel()Obtains the label for the mid-point value, such as "Center" or "Default".FloatControl.getMinLabel()Obtains the label for the minimum value, such as "Left" or "Off".finalStringMixer.Info.getName()Obtains the name of the mixer.Port.Info.getName()Obtains the name of the port.ReverbType.getName()Obtains the name of this reverb type.BooleanControl.getStateLabel(boolean state) Obtains the label for the specified state.FloatControl.getUnits()Obtains the label for the units in which the control's values areexpressed, such as "dB" or "frames per second."finalStringMixer.Info.getVendor()Obtains the vendor of the mixer.finalStringMixer.Info.getVersion()Obtains the version of the mixer.AudioFileFormat.toString()Returns a string representation of the audio file format.finalStringAudioFileFormat.Type.toString()Returns type's name as the string representation of the file type.finalStringAudioFormat.Encoding.toString()Returns encoding's name as the string representation of the encoding.AudioFormat.toString()Returns a string that describes the audio format, such as: "PCM SIGNED22050 Hz 16 bit mono big-endian".BooleanControl.toString()Returns a string representation of the boolean control.CompoundControl.toString()Returns a string representation of the compound control.Control.toString()Returns a string representation of the control.finalStringControl.Type.toString()Returns type's name as the string representation of the control type.DataLine.Info.toString()Returns a string representation of the info object.EnumControl.toString()Returns a string representation of the enumerated control.FloatControl.toString()Returns a string representation of the float control.Line.Info.toString()Returns a string representation of the info object.LineEvent.toString()Returns a string representation of the event.LineEvent.Type.toString()Returns type's name as the string representation of the event type.finalStringMixer.Info.toString()Returns a string representation of the info object.finalStringPort.Info.toString()Returns a string representation of the info object.finalStringReverbType.toString()Returns a string representation of the reverb type, including its nameand its parameter settings.Methods injavax.sound.sampled that return types with arguments of typeStringModifier and TypeMethodDescriptionAudioFileFormat.properties()Obtain an unmodifiable map of properties.AudioFormat.properties()Obtain an unmodifiable map of properties.Methods injavax.sound.sampled with parameters of typeStringModifier and TypeMethodDescriptionAudioFileFormat.getProperty(String key) Obtain the property value specified by the key.AudioFormat.getProperty(String key) Obtain the property value specified by the key.Constructors injavax.sound.sampled with parameters of typeStringModifierConstructorDescriptionAudioPermission(String name) Deprecated, for removal: This API element is subject to removal in a future version.Creates a newAudioPermissionobject that has the specifiedsymbolic name, such as "play" or "record".AudioPermission(String name,String actions) Deprecated, for removal: This API element is subject to removal in a future version.Creates a newAudioPermissionobject that has the specifiedsymbolic name, such as "play" or "record".protectedBooleanControl(BooleanControl.Type type, boolean initialValue,String trueStateLabel,String falseStateLabel) Constructs a new boolean control object with the given parameters.Constructs a new encoding.protectedFloatControl(FloatControl.Type type, float minimum, float maximum, float precision, int updatePeriod, float initialValue,String units) Constructs a new float control object with the given parameters.protectedFloatControl(FloatControl.Type type, float minimum, float maximum, float precision, int updatePeriod, float initialValue,String units,String minLabel,String midLabel,String maxLabel) Constructs a new float control object with the given parameters.protectedConstructs a mixer's info object, passing it the given textualinformation.Constructs a port's info object from the information given.LineUnavailableException(String message) Constructs aLineUnavailableExceptionthat has the specifieddetail message.protectedReverbType(String name, int earlyReflectionDelay, float earlyReflectionIntensity, int lateReflectionDelay, float lateReflectionIntensity, int decayTime) Constructs a new reverb type that has the specified reverberationparameter values.Constructs a file type.protectedConstructs a new boolean control type.protectedConstructs a new compound control type.protectedConstructs a new control type with the name specified.protectedConstructs a new enumerated control type.protectedConstructs a new float control type.protectedConstructs a new event type.UnsupportedAudioFileException(String message) Constructs anUnsupportedAudioFileExceptionthat has thespecified detail message.Constructor parameters injavax.sound.sampled with type arguments of typeStringModifierConstructorDescriptionAudioFileFormat(AudioFileFormat.Type type,AudioFormat format, int frameLength,Map<String, Object> properties) Construct an audio file format object with a set of defined properties.AudioFormat(AudioFormat.Encoding encoding, float sampleRate, int sampleSizeInBits, int channels, int frameSize, float frameRate, boolean bigEndian,Map<String, Object> properties) Constructs anAudioFormatwith the given parameters.Uses ofString injavax.sql
Modifier and TypeMethodDescriptionRowSet.getCommand()Retrieves thisRowSetobject's command property.RowSet.getDataSourceName()Retrieves the logical name that identifies the data source for thisRowSetobject.RowSet.getPassword()Retrieves the password used to create a database connection.RowSet.getUrl()Retrieves the url property thisRowSetobject will use tocreate a connection if it uses theDriverManagerinstead of aDataSourceobject to establish the connection.RowSet.getUsername()Retrieves the username used to create a database connection for thisRowSetobject.Modifier and TypeMethodDescriptionRowSet.getTypeMap()Retrieves theMapobject associated with thisRowSetobject, which specifies the custom mappingof SQL user-defined types, if any.Modifier and TypeMethodDescriptionDataSource.getConnection(String username,String password) Attempts to establish a connection with the data source thatthisDataSourceobject represents.ConnectionPoolDataSource.getPooledConnection(String user,String password) Attempts to establish a physical database connection that canbe used as a pooled connection.XADataSource.getXAConnection(String user,String password) Attempts to establish a physical database connection, using the givenuser name and password.Specifies the password to be used when creating a connectionSpecifies the password to be used when creating a connectionvoidRowSet.setAsciiStream(String parameterName,InputStream x) Sets the designated parameter to the given input stream.voidRowSet.setAsciiStream(String parameterName,InputStream x, int length) Sets the designated parameter to the given input stream, which will havethe specified number of bytes.voidRowSet.setBigDecimal(String parameterName,BigDecimal x) Sets the designated parameter to the givenjava.math.BigDecimalvalue.voidRowSet.setBinaryStream(String parameterName,InputStream x) Sets the designated parameter to the given input stream.voidRowSet.setBinaryStream(String parameterName,InputStream x, int length) Sets the designated parameter to the given input stream, which will havethe specified number of bytes.voidRowSet.setBlob(String parameterName,InputStream inputStream) Sets the designated parameter to aInputStreamobject.voidRowSet.setBlob(String parameterName,InputStream inputStream, long length) Sets the designated parameter to aInputStreamobject.voidSets the designated parameter to the givenjava.sql.Blobobject.voidRowSet.setBoolean(String parameterName, boolean x) Sets the designated parameter to the given Javabooleanvalue.voidSets the designated parameter to the given Javabytevalue.voidSets the designated parameter to the given Java array of bytes.voidRowSetMetaData.setCatalogName(int columnIndex,String catalogName) Sets the designated column's table's catalog name, if any, to the givenString.voidRowSet.setCharacterStream(String parameterName,Reader reader) Sets the designated parameter to the givenReaderobject.voidRowSet.setCharacterStream(String parameterName,Reader reader, int length) Sets the designated parameter to the givenReaderobject, which is the given number of characters long.voidSets the designated parameter to aReaderobject.voidSets the designated parameter to aReaderobject.voidSets the designated parameter to the givenjava.sql.Clobobject.voidRowSetMetaData.setColumnLabel(int columnIndex,String label) Sets the suggested column title for use in printouts anddisplays, if any, to the givenString.voidRowSetMetaData.setColumnName(int columnIndex,String columnName) Sets the name of the designated column to the givenString.voidRowSetMetaData.setColumnTypeName(int columnIndex,String typeName) Sets the designated column's type name that is specific to thedata source, if any, to the givenString.voidRowSet.setCommand(String cmd) Sets thisRowSetobject's command property to the givenSQL query.voidRowSet.setDataSourceName(String name) Sets the data source name property for thisRowSetobject to thegivenString.voidSets the designated parameter to the givenjava.sql.Datevalueusing the default time zone of the virtual machine that is runningthe application.voidSets the designated parameter to the givenjava.sql.Datevalue,using the givenCalendarobject.voidSets the designated parameter to the given Javadoublevalue.voidSets the designated parameter to the given Javafloatvalue.voidSets the designated parameter to the given Javaintvalue.voidSets the designated parameter to the given Javalongvalue.voidRowSet.setNCharacterStream(String parameterName,Reader value) Sets the designated parameter to aReaderobject.voidRowSet.setNCharacterStream(String parameterName,Reader value, long length) Sets the designated parameter to aReaderobject.voidSets the designated parameter to aReaderobject.voidSets the designated parameter to aReaderobject.voidSets the designated parameter to ajava.sql.NClobobject.voidRowSet.setNString(int parameterIndex,String value) Sets the designated parameter to the givenStringobject.voidRowSet.setNString(String parameterName,String value) Sets the designated parameter to the givenStringobject.voidSets the designated parameter in thisRowSetobject's SQLcommand to SQLNULL.voidSets the designated parameter to SQLNULL.voidSets the designated parameter to SQLNULL.voidSets the value of the designated parameter with the given object.voidSets the value of the designated parameter with the given object.voidSets the value of the designated parameter with the given object.voidRowSet.setPassword(String password) Sets the database password for thisRowSetobject tothe givenString.voidSets the designated parameter to the givenjava.sql.RowIdobject.voidRowSetMetaData.setSchemaName(int columnIndex,String schemaName) Sets the name of the designated column's table's schema, if any, tothe givenString.voidSets the designated parameter to the given Javashortvalue.voidSets the designated parameter to the givenjava.sql.SQLXMLobject.voidSets the designated parameter in thisRowSetobject's commandto the given JavaStringvalue.voidSets the designated parameter to the given JavaStringvalue.voidRowSetMetaData.setTableName(int columnIndex,String tableName) Sets the designated column's table name, if any, to the givenString.voidSets the designated parameter to the givenjava.sql.Timevalue.voidSets the designated parameter to the givenjava.sql.Timevalue,using the givenCalendarobject.voidRowSet.setTimestamp(String parameterName,Timestamp x) Sets the designated parameter to the givenjava.sql.Timestampvalue.voidRowSet.setTimestamp(String parameterName,Timestamp x,Calendar cal) Sets the designated parameter to the givenjava.sql.Timestampvalue,using the givenCalendarobject.voidSets the URL thisRowSetobject will use when it uses theDriverManagerto create a connection.voidRowSet.setUsername(String name) Sets the username property for thisRowSetobject to thegivenString.Specifies the username to be used when creating a connectionSpecifies the username to be used when creating a connectionModifier and TypeMethodDescriptionvoidRowSet.setTypeMap(Map<String, Class<?>> map) Installs the givenjava.util.Mapobject as the defaulttype map for thisRowSetobject.Uses ofString injavax.sql.rowset
Fields injavax.sql.rowset declared asStringModifier and TypeFieldDescriptionstatic finalStringWebRowSet.PUBLIC_XML_SCHEMAThe public identifier for the XML Schema definition that defines the XMLtags and their valid values for aWebRowSetimplementation.static finalStringWebRowSet.SCHEMA_SYSTEM_IDThe URL for the XML Schema definition file that defines the XML tags andtheir valid values for aWebRowSetimplementation.Methods injavax.sql.rowset that returnStringModifier and TypeMethodDescriptionRowSetMetaDataImpl.getCatalogName(int columnIndex) Retrieves the catalog name of the table from which the valuein the designated column was derived.RowSetMetaDataImpl.getColumnClassName(int columnIndex) Retrieves the fully-qualified name of the class in the Javaprogramming language to which a value in the designated columnwill be mapped.RowSetMetaDataImpl.getColumnLabel(int columnIndex) Retrieves the suggested column title for the designatedcolumn for use in printouts and displays.RowSetMetaDataImpl.getColumnName(int columnIndex) Retrieves the name of the designated column.RowSetMetaDataImpl.getColumnTypeName(int columnIndex) Retrieves the DBMS-specific type name for values stored in thedesignated column.BaseRowSet.getCommand()Retrieves the SQL query that is the command for thisRowSetobject.BaseRowSet.getDataSourceName()Returns the logical name that when supplied to a naming servicethat uses the Java Naming and Directory Interface (JNDI) API, willretrieve ajavax.sql.DataSourceobject.String[]Joinable.getMatchColumnNames()Retrieves the names of the match columns that were set for thisRowSetobject with the methodsetMatchColumn(String [] columnNames).BaseRowSet.getPassword()Returns the password used to create a database connection for thisRowSetobject.String[]JoinRowSet.getRowSetNames()Returns aStringarray containing the names of theRowSetobjects added to thisJoinRowSetobject.RowSetMetaDataImpl.getSchemaName(int columnIndex) Retrieves the schema name of the table from which the valuein the designated column was derived.CachedRowSet.getTableName()Returns an identifier for the object (table) that was used tocreate thisCachedRowSetobject.RowSetMetaDataImpl.getTableName(int columnIndex) Retrieves the name of the table from which the valuein the designated column was derived.BaseRowSet.getUrl()Retrieves the JDBC URL that thisRowSetobject'sjavax.sql.Readerobject uses to make a connection with a relational database using a JDBC technology-enabled driver.BaseRowSet.getUsername()Returns the user name used to create a database connection.JoinRowSet.getWhereClause()Return a SQL-like description of the WHERE clause being usedin a JoinRowSet object.Methods injavax.sql.rowset that return types with arguments of typeStringModifier and TypeMethodDescriptionBaseRowSet.getTypeMap()Retrieves the type map associated with theConnectionobject for thisRowSetobject.Methods injavax.sql.rowset with parameters of typeStringModifier and TypeMethodDescriptionvoidAdds one or moreRowSetobjects contained in the givenarray ofRowSetobjects to thisJoinRowSetobject and sets the match column foreach of theRowSetobjects to the match columnsin the given array of column names.voidAddsrowset to thisJoinRowSetobject andsets the designated column as the match column.booleanCachedRowSet.columnUpdated(String columnName) Indicates whether the designated column in the current row of thisCachedRowSetobject has been updated.booleanThis method is called by theFilteredRowSetobjectto check whether the value lies between the filtering criteria setusing the setFilter method.staticRowSetFactoryRowSetProvider.newFactory(String factoryClassName,ClassLoader cl) Creates a new instance of aRowSetFactoryfrom thespecified factory class name.voidBaseRowSet.setAsciiStream(String parameterName,InputStream x) Sets the designated parameter to the given input stream.voidBaseRowSet.setAsciiStream(String parameterName,InputStream x, int length) Sets the designated parameter to the given input stream, which will havethe specified number of bytes.voidBaseRowSet.setBigDecimal(String parameterName,BigDecimal x) Sets the designated parameter to the givenjava.math.BigDecimalvalue.voidBaseRowSet.setBinaryStream(String parameterName,InputStream x) Sets the designated parameter to the given input stream.voidBaseRowSet.setBinaryStream(String parameterName,InputStream x, int length) Sets the designated parameter to the given input stream, which will havethe specified number of bytes.voidBaseRowSet.setBlob(String parameterName,InputStream inputStream) Sets the designated parameter to aInputStreamobject.voidBaseRowSet.setBlob(String parameterName,InputStream inputStream, long length) Sets the designated parameter to aInputStreamobject.voidSets the designated parameter to the givenjava.sql.Blobobject.voidBaseRowSet.setBoolean(String parameterName, boolean x) Sets the designated parameter to the given Javabooleanvalue.voidSets the designated parameter to the given Javabytevalue.voidSets the designated parameter to the given Java array of bytes.voidRowSetMetaDataImpl.setCatalogName(int columnIndex,String catalogName) Sets the catalog name of the table from which the designatedcolumn was derived tocatalogName.voidBaseRowSet.setCharacterStream(String parameterName,Reader reader) Sets the designated parameter to the givenReaderobject.voidBaseRowSet.setCharacterStream(String parameterName,Reader reader, int length) Sets the designated parameter to the givenReaderobject, which is the given number of characters long.voidSets the designated parameter to aReaderobject.voidSets the designated parameter to aReaderobject.voidSets the designated parameter to the givenjava.sql.Clobobject.voidRowSetMetaDataImpl.setColumnLabel(int columnIndex,String label) Sets the suggested column label for use in printouts anddisplays, if any, tolabel.voidRowSetMetaDataImpl.setColumnName(int columnIndex,String columnName) Sets the column name of the designated column to the given name.voidRowSetMetaDataImpl.setColumnTypeName(int columnIndex,String typeName) Sets the type name used by the data source for values stored in thedesignated column to the given type name.voidBaseRowSet.setCommand(String cmd) Sets thisRowSetobject'scommandproperty tothe givenStringobject and clears the parameters, if any,that were set for the previous command.voidBaseRowSet.setDataSourceName(String name) Sets theDataSourcename property for thisRowSetobject to the given logical name and sets thisRowSetobject'sUrl property tonull.voidSets the designated parameter to the givenjava.sql.Datevalueusing the default time zone of the virtual machine that is runningthe application.voidSets the designated parameter to the givenjava.sql.Datevalue,using the givenCalendarobject.voidSets the designated parameter to the given Javadoublevalue.voidSets the designated parameter to the given Javafloatvalue.voidSets the designated parameter to the given Javaintvalue.voidSets the designated parameter to the given Javalongvalue.voidJoinable.setMatchColumn(String columnName) Sets the designated column as the match column for thisRowSetobject.voidJoinable.setMatchColumn(String[] columnNames) Sets the designated columns as the match column for thisRowSetobject.voidBaseRowSet.setNCharacterStream(String parameterName,Reader value) Sets the designated parameter to aReaderobject.voidBaseRowSet.setNCharacterStream(String parameterName,Reader value, long length) Sets the designated parameter to aReaderobject.voidSets the designated parameter to aReaderobject.voidSets the designated parameter to aReaderobject.voidSets the designated parameter to ajava.sql.NClobobject.voidBaseRowSet.setNString(int parameterIndex,String value) Sets the designated parameter to the givenStringobject.voidBaseRowSet.setNString(String parameterName,String value) Sets the designated parameter to the givenStringobject.voidSets the designated parameter to SQLNULL.voidSets the designated parameter to SQLNULL.voidSets the designated parameter to SQLNULL.voidSets the value of the designated parameter with the given object.voidSets the value of the designated parameter with the given object.voidSets the value of the designated parameter with the given object.voidBaseRowSet.setPassword(String pass) Sets the password used to create a database connection for thisRowSetobject to the givenStringobject.voidSets the designated parameter to the givenjava.sql.RowIdobject.voidRowSetMetaDataImpl.setSchemaName(int columnIndex,String schemaName) Sets the designated column's table's schema name, if any, toschemaName.voidSets the designated parameter to the given Javashortvalue.voidSets the designated parameter to the givenjava.sql.SQLXMLobject.voidSets the designated parameter to the givenStringvalue.voidSets the designated parameter to the given JavaStringvalue.voidCachedRowSet.setSyncProvider(String provider) Sets theSyncProviderobject for thisCachedRowSetobject to the one specified.voidCachedRowSet.setTableName(String tabName) Sets the identifier for the table from which thisCachedRowSetobject was derived to the given table name.voidRowSetMetaDataImpl.setTableName(int columnIndex,String tableName) Sets the name of the table from which the designated columnwas derived to the given table name.voidSets the designated parameter to the givenjava.sql.Timevalue.voidSets the designated parameter to the givenjava.sql.Timevalue,using the givenCalendarobject.voidBaseRowSet.setTimestamp(String parameterName,Timestamp x) Sets the designated parameter to the givenjava.sql.Timestampvalue.voidBaseRowSet.setTimestamp(String parameterName,Timestamp x,Calendar cal) Sets the designated parameter to the givenjava.sql.Timestampvalue,using the givenCalendarobject.voidSets the Url property for thisRowSetobjectto the givenStringobject and sets the dataSource nameproperty tonull.voidBaseRowSet.setUsername(String name) Sets the username property for thisRowSetobjectto the given user name.Collection<?> CachedRowSet.toCollection(String column) Converts the designated column in thisCachedRowSetobjectto aCollectionobject.voidJoinable.unsetMatchColumn(String columnName) Unsets the designated column as the match column for thisRowSetobject.voidJoinable.unsetMatchColumn(String[] columnName) Unsets the designated columns as the match columns for thisRowSetobject.Method parameters injavax.sql.rowset with type arguments of typeStringModifier and TypeMethodDescriptionvoidBaseRowSet.setTypeMap(Map<String, Class<?>> map) Installs the givenjava.util.Mapobject as the type mapassociated with theConnectionobject for thisRowSetobject.Constructors injavax.sql.rowset with parameters of typeStringModifierConstructorDescriptionRowSetWarning(String reason) Constructs aRowSetWarningobjectwith the given value for the reason; SQLState defaults to null,and vendorCode defaults to 0.RowSetWarning(String reason,String SQLState) Constructs aRowSetWarningobject initialized with thegiven values for the reason and SQLState.RowSetWarning(String reason,String SQLState, int vendorCode) Constructs a fully specifiedRowSetWarningobject initializedwith the given values for the reason, SQLState and vendorCode.Uses ofString injavax.sql.rowset.serial
Methods injavax.sql.rowset.serial that returnStringModifier and TypeMethodDescriptionSerialArray.getBaseTypeName()Retrieves the DBMS-specific type name for the elements in thisSerialArrayobject.SerialRef.getBaseTypeName()Returns a string describing the base type name of theRef.SerialStruct.getSQLTypeName()Retrieves the SQL type name for thisSerialStructobject.SerialClob.getSubString(long pos, int length) Returns a copy of the substring contained in thisSerialClobobject, starting at the given positionand continuing for the specified number or characters.SQLInputImpl.readNString()Reads the next attribute in the stream and returns it as aStringin the Java programming language.SQLInputImpl.readString()Retrieves the next attribute in thisSQLInputImplobject asaStringin the Java programming language.Methods injavax.sql.rowset.serial with parameters of typeStringModifier and TypeMethodDescriptionlongReturns the position in thisSerialClobobjectwhere the givenStringobject begins, startingthe search at the specified position.intWrites the given JavaStringto theCLOBvalue that thisSerialClobobject represents, at the positionpos.intWriteslencharacters ofstr, startingat characteroffset, to theCLOBvaluethat thisClobrepresents.voidSQLOutputImpl.writeNString(String x) Writes the next attribute to the stream as aStringin the Java programming language.voidSQLOutputImpl.writeString(String x) Writes aStringin the Java programming languageto thisSQLOutputImplobject.Method parameters injavax.sql.rowset.serial with type arguments of typeStringModifier and TypeMethodDescriptionReturns a new array that is a copy of a sliceof thisSerialArrayobject, starting with theelement at the given index and containing the given numberof consecutive elements.Returns a new array that is a copy of thisSerialArrayobject, using the given type map for the custommapping of each element when the elements are SQL UDTs.Object[]SerialStruct.getAttributes(Map<String, Class<?>> map) Retrieves the attributes for the SQL structured type thatthisSerialStructrepresents as an array ofObjectvalues, using the given type map forcustom mapping if appropriate.Returns anObjectrepresenting the SQL structured typeto which thisSerialRefobject refers.SerialArray.getResultSet(long index, int count,Map<String, Class<?>> map) Retrieves a result set holding the elements of the subarray that starts atRetrieves aResultSetobject that contains a subarray of theelements in thisSerialArrayobject, starting atindexindex and containing up tocount successiveelements.SerialArray.getResultSet(Map<String, Class<?>> map) Retrieves aResultSetobject that contains all ofthe elements of the SQLARRAYvalue represented by thisSerialArrayobject.Constructors injavax.sql.rowset.serial with parameters of typeStringModifierConstructorDescriptionSerialException(String msg) Creates a newSerialExceptionwith thespecified message.Constructor parameters injavax.sql.rowset.serial with type arguments of typeStringModifierConstructorDescriptionSerialArray(Array array,Map<String, Class<?>> map) Constructs a newSerialArrayobject from the givenArrayobject, using the given type map for the custommapping of each element when the elements are SQL UDTs.SerialStruct(SQLData in,Map<String, Class<?>> map) Constructs aSerialStructobject from thegivenSQLDataobject, using the given typemap to custom map it to a class in the Java programminglanguage.SerialStruct(Struct in,Map<String, Class<?>> map) Constructs aSerialStructobject from the givenStructobject, using the givenjava.util.Mapobject for custom mapping the SQL structured type or any of itsattributes that are SQL structured types.SQLInputImpl(Object[] attributes,Map<String, Class<?>> map) Creates anSQLInputImplobject initialized with thegiven array of attributes and the given type map.SQLOutputImpl(Vector<?> attributes,Map<String, ?> map) Creates a newSQLOutputImplobjectinitialized with the given vector of attributes andtype map.Uses ofString injavax.sql.rowset.spi
Fields injavax.sql.rowset.spi declared asStringModifier and TypeFieldDescriptionstatic finalStringSyncFactory.ROWSET_SYNC_PROVIDERThe standard property-id for a synchronization provider implementationname.static finalStringSyncFactory.ROWSET_SYNC_PROVIDER_VERSIONThe standard property-id for a synchronization provider implementationversion tag.static finalStringSyncFactory.ROWSET_SYNC_VENDORThe standard property-id for a synchronization provider implementationvendor name.Methods injavax.sql.rowset.spi that returnStringModifier and TypeMethodDescriptionabstractStringSyncProvider.getProviderID()Returns the unique identifier for thisSyncProviderobject.abstractStringSyncProvider.getVendor()Returns the vendor name of thisSyncProviderinstanceabstractStringSyncProvider.getVersion()Returns the release version of thisSyncProviderinstance.Methods injavax.sql.rowset.spi with parameters of typeStringModifier and TypeMethodDescriptionSyncResolver.getConflictValue(String columnName) Retrieves the value in the designated column in the current row of thisSyncResolverobject, which is the value in the data sourcethat caused a conflict.staticSyncProviderSyncFactory.getInstance(String providerID) Returns theSyncProviderinstance identified byproviderID.static voidSyncFactory.registerProvider(String providerID) Adds the given synchronization provider to the factory register.voidSyncResolver.setResolvedValue(String columnName,Object obj) Setsobj as the value in columncolumnName in the current row of theRowSetobject that is being synchronized.static voidSyncFactory.unregisterProvider(String providerID) Removes the designated currently registered synchronization provider from theFactory SPI register.Constructors injavax.sql.rowset.spi with parameters of typeStringModifierConstructorDescriptionConstructs anSyncFactoryExceptionwith the specifieddetail message.Constructs aSyncProviderExceptionobject with the specifieddetail message.Uses ofString injavax.swing
Fields injavax.swing declared asStringModifier and TypeFieldDescriptionstatic finalStringAction.ACCELERATOR_KEYThe key used for storing aKeyStroketo be used as theaccelerator for the action.static finalStringJFileChooser.ACCEPT_ALL_FILE_FILTER_USED_CHANGED_PROPERTYIdentifies whether the AcceptAllFileFilter is used or not.static finalStringJFileChooser.ACCESSORY_CHANGED_PROPERTYSays that a different accessory component is in use(for example, to preview files).static finalStringAction.ACTION_COMMAND_KEYThe key used to determine the commandStringfor theActionEventthat will be created when anActionis going to be notified as the result ofresiding in aKeymapassociated with aJComponent.protectedStringDefaultButtonModel.actionCommandThe action command string fired by the button.protectedStringJComboBox.actionCommandThis protected field is implementation specific.static finalStringBound property name for anchor selection path.static finalStringJFileChooser.APPROVE_BUTTON_MNEMONIC_CHANGED_PROPERTYIdentifies change in the mnemonic for the approve (yes, ok) button.static finalStringJFileChooser.APPROVE_BUTTON_TEXT_CHANGED_PROPERTYIdentifies change in the text on the approve (yes, ok) button.static finalStringJFileChooser.APPROVE_BUTTON_TOOL_TIP_TEXT_CHANGED_PROPERTYIdentifies change in the tooltip text for the approve (yes, ok)button.static finalStringJFileChooser.APPROVE_SELECTIONInstruction to approve the current selection(same as pressing yes or ok).static finalStringSpringLayout.BASELINESpecifies the baseline of a component.static finalStringAbstractButton.BORDER_PAINTED_CHANGED_PROPERTYIdentifies a change to having the border drawn,or having it not drawn.static finalStringJCheckBox.BORDER_PAINTED_FLAT_CHANGED_PROPERTYIdentifies a change to the flat property.static finalStringJSplitPane.BOTTOMUsed to add aComponentbelow the otherComponent.static finalStringJFileChooser.CANCEL_SELECTIONInstruction to cancel the current selection.static finalStringJTree.CELL_EDITOR_PROPERTYBound property name forcellEditor.static finalStringJTree.CELL_RENDERER_PROPERTYBound property name forcellRenderer.static finalStringJFileChooser.CHOOSABLE_FILE_FILTER_CHANGED_PROPERTYIdentifies a change in the list of predefined file filtersthe user can choose from.static finalStringJColorChooser.CHOOSER_PANELS_PROPERTYThe chooserPanel array property name.static finalStringScrollPaneConstants.COLUMN_HEADERIdentifies the area at the top the viewport between theupper left corner and the upper right corner.static finalStringAbstractButton.CONTENT_AREA_FILLED_CHANGED_PROPERTYIdentifies a change to having the button paint the content area.static finalStringJInternalFrame.CONTENT_PANE_PROPERTYBound property name.static finalStringJSplitPane.CONTINUOUS_LAYOUT_PROPERTYBound property name for continuousLayout.static finalStringJFileChooser.CONTROL_BUTTONS_ARE_SHOWN_CHANGED_PROPERTYInstruction to display the control buttons.static finalStringAction.DEFAULTNot currently used.static finalStringJFileChooser.DIALOG_TITLE_CHANGED_PROPERTYIdentifies a change in the dialog title.static finalStringJFileChooser.DIALOG_TYPE_CHANGED_PROPERTYIdentifies a change in the type of files displayed (files only,directories only, or both files and directories).static finalStringJFileChooser.DIRECTORY_CHANGED_PROPERTYIdentifies user's directory change.static finalStringAbstractButton.DISABLED_ICON_CHANGED_PROPERTYIdentifies a change to the icon used when the button hasbeen disabled.static finalStringAbstractButton.DISABLED_SELECTED_ICON_CHANGED_PROPERTYIdentifies a change to the icon used when the button has beendisabled and selected.static finalStringAction.DISPLAYED_MNEMONIC_INDEX_KEYThe key used for storing anIntegerthat correspondsto the index in the text (identified by theNAMEproperty) that the decoration for a mnemonic should be rendered at.static finalStringJSplitPane.DIVIDERUsed to add aComponentthat will represent the divider.static finalStringJSplitPane.DIVIDER_LOCATION_PROPERTYBound property for the dividerLocation.static finalStringJSplitPane.DIVIDER_SIZE_PROPERTYBound property name for border.static finalStringSpringLayout.EASTSpecifies the right edge of a component's bounding rectangle.static finalStringJTree.EDITABLE_PROPERTYBound property name foreditable.static finalStringBound property name for expands selected paths propertystatic finalStringJFileChooser.FILE_FILTER_CHANGED_PROPERTYUser changed the kind of files to display.static finalStringJFileChooser.FILE_HIDING_CHANGED_PROPERTYIdentifies a change in the display-hidden-files property.static finalStringJFileChooser.FILE_SELECTION_MODE_CHANGED_PROPERTYIdentifies a change in the kind of selection (single,multiple, etc.).static finalStringJFileChooser.FILE_SYSTEM_VIEW_CHANGED_PROPERTYSays that a different object is being used to find available driveson the system.static finalStringJFileChooser.FILE_VIEW_CHANGED_PROPERTYSays that a different object is being used to retrieve fileinformation.static finalStringFocusManager.FOCUS_MANAGER_CLASS_PROPERTYThis field is obsolete, and its use is discouraged since itsspecification is incompatible with the 1.4 focus APIs.static finalStringAbstractButton.FOCUS_PAINTED_CHANGED_PROPERTYIdentifies a change to having the border highlighted when focused,or not.static finalStringJInternalFrame.FRAME_ICON_PROPERTYBound property name.static finalStringJInternalFrame.GLASS_PANE_PROPERTYBound property name.static finalStringSpringLayout.HEIGHTSpecifies the height of a component's bounding rectangle.static finalStringJEditorPane.HONOR_DISPLAY_PROPERTIESKey for a client property used to indicate whetherthe default font and foreground color from the component areused if a font or foreground color is not specified in the styledtext.static finalStringAbstractButton.HORIZONTAL_ALIGNMENT_CHANGED_PROPERTYIdentifies a change in the button's horizontal alignment.static finalStringSpringLayout.HORIZONTAL_CENTERSpecifies the horizontal center of a component's bounding rectangle.static finalStringScrollPaneConstants.HORIZONTAL_SCROLLBARIdentifies a horizontal scrollbar.static finalStringScrollPaneConstants.HORIZONTAL_SCROLLBAR_POLICYIdentifies the horizontal scroll bar policy property.static finalStringAbstractButton.HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTYIdentifies a change in the button's horizontal text position.static finalStringAbstractButton.ICON_CHANGED_PROPERTYIdentifies a change to the icon that represents the button.static finalStringJOptionPane.ICON_PROPERTYBound property name foricon.static finalStringJOptionPane.INITIAL_SELECTION_VALUE_PROPERTYBound property name forinitialSelectionValue.static finalStringJOptionPane.INITIAL_VALUE_PROPERTYBound property name forinitialValue.static finalStringJOptionPane.INPUT_VALUE_PROPERTYBound property name forinputValue.static finalStringBound property name formessagesStopCellEditing.static finalStringJInternalFrame.IS_CLOSED_PROPERTYConstrained property name indicating that the internal frame is closed.static finalStringJInternalFrame.IS_ICON_PROPERTYConstrained property name indicating that the internal frame is iconified.static finalStringJInternalFrame.IS_MAXIMUM_PROPERTYConstrained property name indicating that the internal frame is maximized.static finalStringJInternalFrame.IS_SELECTED_PROPERTYConstrained property name indicated that this frame hasselected status.static finalStringAction.LARGE_ICON_KEYThe key used for storing anIcon.static finalStringJTree.LARGE_MODEL_PROPERTYBound property name forlargeModel.static finalStringJSplitPane.LAST_DIVIDER_LOCATION_PROPERTYBound property for lastLocation.static finalStringJLayeredPane.LAYER_PROPERTYBound propertystatic finalStringJInternalFrame.LAYERED_PANE_PROPERTYBound property name.static finalStringBound property name forleadSelectionPath.static finalStringJSplitPane.LEFTUsed to add aComponentto the left of the otherComponent.static finalStringAction.LONG_DESCRIPTIONThe key used for storing a longerStringdescription for the action, could be used for context-sensitive help.static finalStringScrollPaneConstants.LOWER_LEADING_CORNERIdentifies the lower leading edge corner of the viewport.static finalStringScrollPaneConstants.LOWER_LEFT_CORNERIdentifies the lower left corner of the viewport.static finalStringScrollPaneConstants.LOWER_RIGHT_CORNERIdentifies the lower right corner of the viewport.static finalStringScrollPaneConstants.LOWER_TRAILING_CORNERIdentifies the lower trailing edge corner of the viewport.static finalStringAbstractButton.MARGIN_CHANGED_PROPERTYIdentifies a change in the button's margins.static finalStringJInternalFrame.MENU_BAR_PROPERTYBound property name.static finalStringJOptionPane.MESSAGE_PROPERTYBound property name formessage.static finalStringJOptionPane.MESSAGE_TYPE_PROPERTYBound property name fortype.static finalStringAbstractButton.MNEMONIC_CHANGED_PROPERTYIdentifies a change to the button's mnemonic.static finalStringAction.MNEMONIC_KEYThe key used for storing anIntegerthat corresponds toone of theKeyEventkey codes.static finalStringAbstractButton.MODEL_CHANGED_PROPERTYIdentifies a change in the button model.static finalStringJFileChooser.MULTI_SELECTION_ENABLED_CHANGED_PROPERTYEnables multiple-file selections.static finalStringAction.NAMEThe key used for storing theStringnamefor the action, used for a menu or button.static finalStringSpringLayout.NORTHSpecifies the top edge of a component's bounding rectangle.static finalStringJTextField.notifyActionName of the action to send notification that thecontents of the field have been accepted.static finalStringJSplitPane.ONE_TOUCH_EXPANDABLE_PROPERTYBound property for oneTouchExpandable.static finalStringJOptionPane.OPTION_TYPE_PROPERTYBound property name foroptionType.static finalStringJOptionPane.OPTIONS_PROPERTYBound property name foroption.static finalStringJSplitPane.ORIENTATION_PROPERTYBound property name for orientation (horizontal or vertical).static finalStringAbstractButton.PRESSED_ICON_CHANGED_PROPERTYIdentifies a change to the icon used when the button has beenpressed.static finalStringJColorChooser.PREVIEW_PANEL_PROPERTYThe preview panel property name.protectedStringJProgressBar.progressStringAn optional string that can be displayed on the progress bar.static finalStringJSplitPane.RESIZE_WEIGHT_PROPERTYBound property for weight.static finalStringJSplitPane.RIGHTUsed to add aComponentto the right of the otherComponent.static finalStringAbstractButton.ROLLOVER_ENABLED_CHANGED_PROPERTYIdentifies a change from rollover enabled to disabled or backto enabled.static finalStringAbstractButton.ROLLOVER_ICON_CHANGED_PROPERTYIdentifies a change to the icon used when the cursor is overthe button.static finalStringAbstractButton.ROLLOVER_SELECTED_ICON_CHANGED_PROPERTYIdentifies a change to the icon used when the cursor isover the button and it has been selected.static finalStringJInternalFrame.ROOT_PANE_PROPERTYBound property name.static finalStringJTree.ROOT_VISIBLE_PROPERTYBound property name forrootVisible.static finalStringScrollPaneConstants.ROW_HEADERIdentifies the area along the left side of the viewport between theupper left corner and the lower left corner.static finalStringJTree.ROW_HEIGHT_PROPERTYBound property name forrowHeight.static finalStringBound property name forscrollsOnExpand.static finalStringJFileChooser.SELECTED_FILE_CHANGED_PROPERTYIdentifies change in user's single-file selection.static finalStringJFileChooser.SELECTED_FILES_CHANGED_PROPERTYIdentifies change in user's multiple-file selection.static finalStringAbstractButton.SELECTED_ICON_CHANGED_PROPERTYIdentifies a change to the icon used when the button hasbeen selected.static finalStringAction.SELECTED_KEYThe key used for storing aBooleanthat correspondsto the selected state.static finalStringJColorChooser.SELECTION_MODEL_PROPERTYThe selection model property name.static finalStringJTree.SELECTION_MODEL_PROPERTYBound property name for selectionModel.static finalStringJOptionPane.SELECTION_VALUES_PROPERTYBound property name forselectionValues.static finalStringAction.SHORT_DESCRIPTIONThe key used for storing a shortStringdescription for the action, used for tooltip text.static finalStringBound property name forshowsRootHandles.static finalStringAction.SMALL_ICONThe key used for storing a smallIcon, suchasImageIcon.static finalStringSpringLayout.SOUTHSpecifies the bottom edge of a component's bounding rectangle.static finalStringAbstractButton.TEXT_CHANGED_PROPERTYIdentifies a change in the button's text.protectedStringJInternalFrame.titleThe title displayed in this internal frame's title bar.static finalStringJInternalFrame.TITLE_PROPERTYBound property name.static finalStringBound property name fortoggleClickCount.static finalStringJComponent.TOOL_TIP_TEXT_KEYThe comment to display when the cursor is over the component,also known as a "value tip", "flyover help", or "flyover label".static finalStringJSplitPane.TOPUsed to add aComponentabove the otherComponent.static finalStringJTree.TREE_MODEL_PROPERTYBound property name fortreeModel.static finalStringScrollPaneConstants.UPPER_LEADING_CORNERIdentifies the upper leading edge corner of the viewport.static finalStringScrollPaneConstants.UPPER_LEFT_CORNERIdentifies the upper left corner of the viewport.static finalStringScrollPaneConstants.UPPER_RIGHT_CORNERIdentifies the upper right corner of the viewport.static finalStringScrollPaneConstants.UPPER_TRAILING_CORNERIdentifies the upper trailing edge corner of the viewport.static finalStringJOptionPane.VALUE_PROPERTYBound property name forvalue.static finalStringAbstractButton.VERTICAL_ALIGNMENT_CHANGED_PROPERTYIdentifies a change in the button's vertical alignment.static finalStringSpringLayout.VERTICAL_CENTERSpecifies the vertical center of a component's bounding rectangle.static finalStringScrollPaneConstants.VERTICAL_SCROLLBARIdentifies a vertical scrollbar.static finalStringScrollPaneConstants.VERTICAL_SCROLLBAR_POLICYIdentifies the vertical scroll bar policy property.static finalStringAbstractButton.VERTICAL_TEXT_POSITION_CHANGED_PROPERTYIdentifies a change in the button's vertical text position.static finalStringScrollPaneConstants.VIEWPORTIdentifies a "viewport" or display area, within whichscrolled contents are visible.static finalStringBound property name forvisibleRowCount.static finalStringJEditorPane.W3C_LENGTH_UNITSKey for a client property used to indicate whetherw3c compliant length units are used for html rendering.static finalStringJOptionPane.WANTS_INPUT_PROPERTYBound property name forwantsInput.static finalStringSpringLayout.WESTSpecifies the left edge of a component's bounding rectangle.static finalStringSpringLayout.WIDTHSpecifies the width of a component's bounding rectangle.Methods injavax.swing that returnStringModifier and TypeMethodDescriptionJTree.convertValueToText(Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) Called by the renderers to convert the specified value totext.AbstractButton.AccessibleAbstractButton.getAccessibleActionDescription(int i) Return a description of the specified action of the object.JComboBox.AccessibleJComboBox.getAccessibleActionDescription(int i) Return a description of the specified action of the object.JEditorPane.JEditorPaneAccessibleHypertextSupport.HTMLLink.getAccessibleActionDescription(int i) Return a String description of this particularlink action.JList.AccessibleJList.AccessibleJListChild.getAccessibleActionDescription(int i) Returns a description of the specified action of the object.JSlider.AccessibleJSlider.getAccessibleActionDescription(int i) Returns a description of the specified action of the object.JSpinner.AccessibleJSpinner.getAccessibleActionDescription(int i) Returns a description of the specified action of the object.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleActionDescription(int i) Return a description of the specified action of the tree node.JComponent.AccessibleJComponent.getAccessibleDescription()Gets the accessible description of this object.JEditorPane.AccessibleJEditorPane.getAccessibleDescription()Gets the accessibleDescription property of this object.JTable.AccessibleJTable.AccessibleJTableCell.getAccessibleDescription()Gets the accessible description of this object.JToolTip.AccessibleJToolTip.getAccessibleDescription()Get the accessible description of this object.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleDescription()Get the accessible description of this object.ProgressMonitor.AccessibleProgressMonitor.getAccessibleDescription()Gets the accessibleDescription property of this object.ImageIcon.AccessibleImageIcon.getAccessibleIconDescription()Gets the description of the icon.AbstractButton.AccessibleAbstractButton.getAccessibleName()Returns the accessible name of this object.JComponent.AccessibleJComponent.getAccessibleName()Gets the accessible name of this object.JDialog.AccessibleJDialog.getAccessibleName()Get the accessible name of this object.JFrame.AccessibleJFrame.getAccessibleName()Get the accessible name of this object.JInternalFrame.AccessibleJInternalFrame.getAccessibleName()Get the accessible name of this object.JLabel.AccessibleJLabel.getAccessibleName()Get the accessible name of this object.JTabbedPane.AccessibleJTabbedPane.getAccessibleName()Returns the accessible name of this object, ornullifthere is no accessible name.JTable.AccessibleJTable.AccessibleJTableCell.getAccessibleName()Gets the accessible name of this object.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleName()Get the accessible name of this object.ProgressMonitor.AccessibleProgressMonitor.getAccessibleName()Gets the accessibleName property of this object.AbstractButton.getActionCommand()Returns the action command for this button.ButtonModel.getActionCommand()Returns the action command string for the button.DefaultButtonModel.getActionCommand()Returns the action command string for the button.JComboBox.getActionCommand()Returns the action command that is included in the event sent toaction listeners.Timer.getActionCommand()Returns the string that will be delivered as the action commandinActionEvents fired by this timer.AbstractButton.AccessibleAbstractButton.getAfterIndex(int part, int index) Returns the String after a given index.JLabel.AccessibleJLabel.getAfterIndex(int part, int index) Returns the String after a given index.JPasswordField.AccessibleJPasswordField.getAfterIndex(int part, int index) Returns theStringafter a givenindex.JSpinner.AccessibleJSpinner.getAfterIndex(int part, int index) Returns the String after a given index.ProgressMonitor.AccessibleProgressMonitor.getAfterIndex(int part, int index) Returns the String after a given index.JFileChooser.getApproveButtonText()Returns the text used in theApproveButtonin theFileChooserUI.JFileChooser.getApproveButtonToolTipText()Returns the tooltip text used in theApproveButton.AbstractButton.AccessibleAbstractButton.getAtIndex(int part, int index) Returns the String at a given index.JLabel.AccessibleJLabel.getAtIndex(int part, int index) Returns the String at a given index.JPasswordField.AccessibleJPasswordField.getAtIndex(int part, int index) Returns theStringat a givenindex.JSpinner.AccessibleJSpinner.getAtIndex(int part, int index) Returns the String at a given index.ProgressMonitor.AccessibleProgressMonitor.getAtIndex(int part, int index) Returns the String at a given index.AbstractButton.AccessibleAbstractButton.getBeforeIndex(int part, int index) Returns the String before a given index.JLabel.AccessibleJLabel.getBeforeIndex(int part, int index) Returns the String before a given index.JPasswordField.AccessibleJPasswordField.getBeforeIndex(int part, int index) Returns theStringbefore a givenindex.JSpinner.AccessibleJSpinner.getBeforeIndex(int part, int index) Returns the String before a given index.ProgressMonitor.AccessibleProgressMonitor.getBeforeIndex(int part, int index) Returns the String before a given index.protectedStringJComponent.AccessibleJComponent.getBorderTitle(Border b) Recursively search through the border hierarchy (if it exists)for a TitledBorder with a non-null title.UIManager.LookAndFeelInfo.getClassName()Returns the name of the class that implements this look and feel.JTable.getColumnName(int column) Returns the name of the column appearing in the view atcolumn positioncolumn.finalStringJEditorPane.getContentType()Gets the type of content that this editoris currently set to deal with.staticStringUIManager.getCrossPlatformLookAndFeelClassName()Returns the name of theLookAndFeelclass that implementsthe default cross platform look and feel -- the JavaLook and Feel (JLF).ImageIcon.getDescription()Gets the description of the image.JFileChooser.getDescription(File f) Returns the file description.abstractStringLookAndFeel.getDescription()Return a one line description of this look and feel implementation,e.g.JFileChooser.getDialogTitle()Gets the string that goes in theJFileChooser's titlebar.staticStringJEditorPane.getEditorKitClassNameForContentType(String type) Returns the currently registeredEditorKitclass name for thetypetype.abstractStringLookAndFeel.getID()Return a string that identifies this look and feel.AbstractButton.getLabel()Deprecated.- Replaced bygetTextJPopupMenu.getLabel()Returns the popup menu's labelJEditorPane.JEditorPaneAccessibleHypertextSupport.getLinkText(int linkIndex) Returns the contiguous text within the document thatis associated with this hyperlink.Returns the filename.abstractStringLookAndFeel.getName()Return a short string that identifies this look and feel, e.g.UIManager.LookAndFeelInfo.getName()Returns the name of the look and feel in a form suitablefor a menu or other presentationProgressMonitor.getNote()Specifies the additional note that is displayed along with theprogress message.AbstractButton.AccessibleAbstractButton.getSelectedText()Returns the portion of the text that is selected.JLabel.AccessibleJLabel.getSelectedText()Returns the portion of the text that is selected.JSpinner.AccessibleJSpinner.getSelectedText()Returns the portion of the text that is selected.ProgressMonitor.AccessibleProgressMonitor.getSelectedText()Returns the portion of the text that is selected.JProgressBar.getString()Returns aStringrepresentation of the current progress.If the value ofkeyis aStringreturn it,otherwise returnnull.If the value ofkeyfor the givenLocaleis aStringreturn it, otherwise returnnull.staticStringReturns a string from the defaults.staticStringReturns a string from the defaults that is appropriate for thegiven locale.RowFilter.Entry.getStringValue(int index) Returns the string value at the specified index.DefaultRowSorter.ModelWrapper.getStringValueAt(int row, int column) Returns the value as aStringat the specifiedindex.staticStringUIManager.getSystemLookAndFeelClassName()Returns the name of theLookAndFeelclass that implementsthe native system look and feel if there is one, otherwisethe name of the default cross platformLookAndFeelclass.AbstractButton.getText()Returns the button's text.JEditorPane.getText()Returns the text contained in thisTextComponentin terms of thecontent type of this editor.JLabel.getText()Returns the text string that the label displays.JPasswordField.getText()Deprecated.As of Java 2 platform v1.2,replaced bygetPassword.JPasswordField.getText(int offs, int len) Deprecated.As of Java 2 platform v1.2,replaced bygetPassword.JPasswordField.AccessibleJPasswordField.getTextRange(int startIndex, int endIndex) Returns the text between twoindices.JSpinner.AccessibleJSpinner.getTextRange(int startIndex, int endIndex) Returns the text string between two indices.JToolTip.getTipText()Returns the text that is shown when the tool tip is displayed.JInternalFrame.getTitle()Returns the title of theJInternalFrame.JTabbedPane.getTitleAt(int index) Returns the tab title atindex.AbstractButton.AccessibleAbstractButton.getTitledBorderText()Returns the titled border textJComponent.AccessibleJComponent.getTitledBorderText()Returns the titled border textJLabel.AccessibleJLabel.getTitledBorderText()Returns the titled border textAbstractButton.AccessibleAbstractButton.getToolTipText()Returns the tool tip textJComponent.AccessibleJComponent.getToolTipText()Returns the tool tip textJComponent.getToolTipText()Returns the tooltip string that has been set withsetToolTipText.JComponent.getToolTipText(MouseEvent event) Returns the string to be used as the tooltip forevent.JLabel.AccessibleJLabel.getToolTipText()Returns the tool tip textJList.getToolTipText(MouseEvent event) Returns the tooltip text to be used for the given event.JTabbedPane.getToolTipText(MouseEvent event) Returns the tooltip text for the component determined by themouse event location.JTable.getToolTipText(MouseEvent event) OverridesJComponent'sgetToolTipTextmethod in order to allow the renderer's tips to be usedif it has text set.JTree.getToolTipText(MouseEvent event) OverridesJComponent'sgetToolTipTextmethod in order to allowrenderer's tips to be used if it has text set.JTabbedPane.getToolTipTextAt(int index) Returns the tab tooltip text atindex.JFileChooser.getTypeDescription(File f) Returns the file type.JButton.getUIClassID()Returns a string that specifies the name of the L&F classthat renders this component.JCheckBox.getUIClassID()Returns a string that specifies the name of the L&F classthat renders this component.JCheckBoxMenuItem.getUIClassID()Returns the name of the L&F classthat renders this component.JColorChooser.getUIClassID()Returns the name of the L&F class that renders this component.JComboBox.getUIClassID()Returns the name of the L&F class that renders this component.JComponent.getUIClassID()Returns theUIDefaultskey used tolook up the name of theswing.plaf.ComponentUIclass that defines the look and feelfor this component.JDesktopPane.getUIClassID()Returns the name of the L&F class that renders this component.JEditorPane.getUIClassID()Gets the class ID for the UI.JFileChooser.getUIClassID()Returns a string that specifies the name of the L&F classthat renders this component.JFormattedTextField.getUIClassID()Gets the class ID for a UI.JInternalFrame.getUIClassID()Returns the name of the look-and-feelclass that renders this component.JInternalFrame.JDesktopIcon.getUIClassID()Returns the name of the look-and-feelclass that renders this component.JLabel.getUIClassID()Returns a string that specifies the name of the l&f classthat renders this component.JList.getUIClassID()Returns"ListUI", theUIDefaultskey used to lookup the name of thejavax.swing.plaf.ListUIclass that definesthe look and feel for this component.JMenu.getUIClassID()Returns the name of the L&F class that renders this component.JMenuBar.getUIClassID()Returns the name of the L&F class that renders this component.JMenuItem.getUIClassID()Returns the suffix used to construct the name of the L&F class used torender this component.JOptionPane.getUIClassID()Returns the name of the UI class that implements theL&F for this component.JPanel.getUIClassID()Returns a string that specifies the name of the L&F classthat renders this component.JPasswordField.getUIClassID()Returns the name of the L&F class that renders this component.JPopupMenu.getUIClassID()Returns the name of the L&F class that renders this component.JPopupMenu.Separator.getUIClassID()Returns the name of the L&F class that renders this component.JProgressBar.getUIClassID()Returns the name of the look-and-feel class that renders this component.JRadioButton.getUIClassID()Returns the name of the L&F classthat renders this component.JRadioButtonMenuItem.getUIClassID()Returns the name of the L&F class that renders this component.JRootPane.getUIClassID()Returns a string that specifies the name of the L&F classthat renders this component.JScrollBar.getUIClassID()Returns the name of the LookAndFeel class for this component.JScrollPane.getUIClassID()Returns the suffix used to construct the name of the L&F class used torender this component.JSeparator.getUIClassID()Returns the name of the L&F class that renders this component.JSlider.getUIClassID()Returns the name of the L&F class that renders this component.JSpinner.getUIClassID()Returns the suffix used to construct the name of the look and feel(L&F) class used to render this component.JSplitPane.getUIClassID()Returns the name of the L&F class that renders this component.JTabbedPane.getUIClassID()Returns the name of the UI class that implements theL&F for this component.JTable.getUIClassID()Returns the suffix used to construct the name of the L&F class used torender this component.JTextArea.getUIClassID()Returns the class ID for the UI.JTextField.getUIClassID()Gets the class ID for a UI.JTextPane.getUIClassID()Returns the class ID for the UI.JToggleButton.getUIClassID()Returns a string that specifies the name of the l&f classthat renders this component.JToolBar.getUIClassID()Returns the name of the L&F class that renders this component.JToolBar.Separator.getUIClassID()Returns the name of the L&F class that renders this component.JToolTip.getUIClassID()Returns the name of the L&F class that renders this component.JTree.getUIClassID()Returns the name of the L&F class that renders this component.JViewport.getUIClassID()Returns a string that specifies the name of the L&F classthat renders this component.finalStringJInternalFrame.getWarningString()Deprecated, for removal: This API element is subject to removal in a future version.since JDK 24staticStringSwingUtilities.layoutCompoundLabel(FontMetrics fm,String text,Icon icon, int verticalAlignment, int horizontalAlignment, int verticalTextPosition, int horizontalTextPosition,Rectangle viewR,Rectangle iconR,Rectangle textR, int textIconGap) Compute and return the location of the icons origin, thelocation of origin of the text baseline, and a possibly clippedversion of the compound labels string.staticStringSwingUtilities.layoutCompoundLabel(JComponent c,FontMetrics fm,String text,Icon icon, int verticalAlignment, int horizontalAlignment, int verticalTextPosition, int horizontalTextPosition,Rectangle viewR,Rectangle iconR,Rectangle textR, int textIconGap) Compute and return the location of the icons origin, thelocation of origin of the text baseline, and a possibly clippedversion of the compound labels string.protectedStringAbstractButton.paramString()Returns a string representation of thisAbstractButton.protectedStringJApplet.paramString()Deprecated, for removal: This API element is subject to removal in a future version.Returns a string representation of this JApplet.protectedStringJButton.paramString()Returns a string representation of thisJButton.protectedStringJCheckBox.paramString()Returns a string representation of this JCheckBox.protectedStringJCheckBoxMenuItem.paramString()Returns a string representation of this JCheckBoxMenuItem.protectedStringJColorChooser.paramString()Returns a string representation of thisJColorChooser.protectedStringJComboBox.paramString()Returns a string representation of thisJComboBox.protectedStringJComponent.paramString()Returns a string representation of thisJComponent.protectedStringJDesktopPane.paramString()Returns a string representation of thisJDesktopPane.protectedStringJDialog.paramString()Returns a string representation of thisJDialog.protectedStringJEditorPane.paramString()Returns a string representation of thisJEditorPane.protectedStringJFileChooser.paramString()Returns a string representation of thisJFileChooser.protectedStringJFrame.paramString()Returns a string representation of thisJFrame.protectedStringJInternalFrame.paramString()Returns a string representation of thisJInternalFrame.protectedStringJLabel.paramString()Returns a string representation of this JLabel.protectedStringJLayeredPane.paramString()Returns a string representation of this JLayeredPane.protectedStringJList.paramString()Returns aStringrepresentation of thisJList.protectedStringJMenu.paramString()Returns a string representation of thisJMenu.protectedStringJMenuBar.paramString()Returns a string representation of thisJMenuBar.protectedStringJMenuItem.paramString()Returns a string representation of thisJMenuItem.protectedStringJOptionPane.paramString()Returns a string representation of thisJOptionPane.protectedStringJPanel.paramString()Returns a string representation of this JPanel.protectedStringJPasswordField.paramString()Returns a string representation of thisJPasswordField.protectedStringJPopupMenu.paramString()Returns a string representation of thisJPopupMenu.protectedStringJProgressBar.paramString()Returns a string representation of thisJProgressBar.protectedStringJRadioButton.paramString()Returns a string representation of this JRadioButton.protectedStringJRadioButtonMenuItem.paramString()Returns a string representation of thisJRadioButtonMenuItem.protectedStringJRootPane.paramString()Returns a string representation of thisJRootPane.protectedStringJScrollBar.paramString()Returns a string representation of this JScrollBar.protectedStringJScrollPane.paramString()Returns a string representation of thisJScrollPane.protectedStringJSeparator.paramString()Returns a string representation of thisJSeparator.protectedStringJSlider.paramString()Returns a string representation of this JSlider.protectedStringJSplitPane.paramString()Returns a string representation of thisJSplitPane.protectedStringJTabbedPane.paramString()Returns a string representation of thisJTabbedPane.protectedStringJTable.paramString()Returns a string representation of this table.protectedStringJTextArea.paramString()Returns a string representation of this JTextArea.protectedStringJTextField.paramString()Returns a string representation of thisJTextField.protectedStringJTextPane.paramString()Returns a string representation of thisJTextPane.protectedStringJToggleButton.paramString()Returns a string representation of this JToggleButton.protectedStringJToolBar.paramString()Returns a string representation of thisJToolBar.protectedStringJToolTip.paramString()Returns a string representation of thisJToolTip.protectedStringJTree.paramString()Returns a string representation of thisJTree.protectedStringJViewport.paramString()Returns a string representation of thisJViewport.protectedStringJWindow.paramString()Returns a string representation of thisJWindow.staticStringJOptionPane.showInputDialog(Component parentComponent,Object message) Shows a question-message dialog requesting input from the userparented toparentComponent.staticStringJOptionPane.showInputDialog(Component parentComponent,Object message,Object initialSelectionValue) Shows a question-message dialog requesting input from the user andparented toparentComponent.staticStringJOptionPane.showInputDialog(Component parentComponent,Object message,String title, int messageType) Shows a dialog requesting input from the user parented toparentComponentwith the dialog having the titletitleand message typemessageType.staticStringJOptionPane.showInputDialog(Object message) Shows a question-message dialog requesting input from the user.staticStringJOptionPane.showInputDialog(Object message,Object initialSelectionValue) Shows a question-message dialog requesting input from the user, withthe input value initialized toinitialSelectionValue.staticStringJOptionPane.showInternalInputDialog(Component parentComponent,Object message) Shows an internal question-message dialog requesting input fromthe user parented toparentComponent.staticStringJOptionPane.showInternalInputDialog(Component parentComponent,Object message,String title, int messageType) Shows an internal dialog requesting input from the user parentedtoparentComponentwith the dialog having the titletitleand message typemessageType.DefaultBoundedRangeModel.toString()Returns a string that displays all of theBoundedRangeModelproperties.DefaultListModel.toString()Returns a string that displays and identifies thisobject's properties.DefaultListSelectionModel.toString()Returns a string that displays and identifies thisobject's properties.GroupLayout.toString()Returns a string representation of thisGroupLayout.ImageIcon.toString()Returns a string representation of this image.JList.DropLocation.toString()Returns a string representation of this drop location.JTable.DropLocation.toString()Returns a string representation of this drop location.JTree.DropLocation.toString()Returns a string representation of this drop location.LookAndFeel.toString()Returns a string that displays and identifies thisobject's properties.RepaintManager.toString()Returns a string that displays and identifies thisobject's properties.SizeRequirements.toString()Returns a string describing the minimum, preferred, and maximumsize requirements, along with the alignment.TransferHandler.DropLocation.toString()Returns a string representation of this drop location.UIManager.LookAndFeelInfo.toString()Returns a string that displays and identifies thisobject's properties.abstractStringJFormattedTextField.AbstractFormatter.valueToString(Object value) Returns the string value to display forvalue.Methods injavax.swing with parameters of typeStringModifier and TypeMethodDescriptionprotected voidAbstractButton.actionPropertyChanged(Action action,String propertyName) Updates the button's state in response to property changes in theassociated action.protected voidJComboBox.actionPropertyChanged(Action action,String propertyName) Updates the combobox's state in response to property changes inassociated action.protected voidJMenuItem.actionPropertyChanged(Action action,String propertyName) Updates the button's state in response to property changes in theassociated action.protected voidJTextField.actionPropertyChanged(Action action,String propertyName) Updates the textfield's state in response to property changes inassociated action.Creates a new menu item with the specified text and appendsit to the end of this menu.Creates a new menu item with the specified text and appendsit to the end of this menu.Adds acomponentwith the specified tab title.voidBoxLayout.addLayoutComponent(String name,Component comp) Not used by this class.voidGroupLayout.addLayoutComponent(String name,Component component) Notification that aComponenthas been added tothe parent container.voidJRootPane.RootLayout.addLayoutComponent(String name,Component comp) voidJSpinner.DefaultEditor.addLayoutComponent(String name,Component child) ThisLayoutManagermethod does nothing.voidOverlayLayout.addLayoutComponent(String name,Component comp) Adds the specified component to the layout.voidScrollPaneLayout.addLayoutComponent(String s,Component c) Adds the specified component to the layout.voidSpringLayout.addLayoutComponent(String name,Component c) Has no effect,since this layout manager does notuse a per-component string.voidViewportLayout.addLayoutComponent(String name,Component c) Adds the specified component to the layout.voidUIDefaults.addResourceBundle(String bundleName) Adds a resource bundle to the list of resource bundles that aresearched for localized values.Adds a new style into the logical style hierarchy.voidAdds acomponentrepresented by atitleand no icon.voidAdds acomponentrepresented by atitleand/oricon, either of which can benull.voidAdds acomponentandtiprepresented by atitleand/oricon,either of which can benull.voidAppends the given text to the end of the document.protected intAbstractButton.checkHorizontalKey(int key,String exception) Verify that thekeyargument is a legal value for thehorizontalAlignmentandhorizontalTextPositionproperties.protected intJLabel.checkHorizontalKey(int key,String message) Verify that key is a legal value for the horizontalAlignment properties.protected intAbstractButton.checkVerticalKey(int key,String exception) Verify that thekeyargument is a legal value for thevertical properties.protected intJLabel.checkVerticalKey(int key,String message) Verify that key is a legal value for theverticalAlignment or verticalTextPosition properties.static intSwingUtilities.computeStringWidth(FontMetrics fm,String str) Compute the width of the string using a font with the specified"metrics" (sizes).staticJDialogJColorChooser.createDialog(Component c,String title, boolean modal,JColorChooser chooserPane,ActionListener okListener,ActionListener cancelListener) Creates and returns a new dialog containing the specifiedColorChooserpane along with "OK", "Cancel", and "Reset"buttons.JOptionPane.createDialog(Component parentComponent,String title) Creates and returns a newJDialogwrappingthiscentered on theparentComponentin theparentComponent's frame.JOptionPane.createDialog(String title) Creates and returns a new parentlessJDialogwith the specified title.staticEditorKitJEditorPane.createEditorKitForContentType(String type) Creates a handler for the given type from the default registryof editor kits.JOptionPane.createInternalFrame(Component parentComponent,String title) Creates and returns an instance ofJInternalFrame.staticLookAndFeelUIManager.createLookAndFeel(String name) Creates a supported built-in JavaLookAndFeelspecifiedby the givenL&F namename.staticTitledBorderBorderFactory.createTitledBorder(String title) Creates a new titled border with the specified title,the default border type (determined by the current look and feel),the default text position (determined by the current look and feel),the default justification (leading), and the defaultfont and text color (determined by the current look and feel).staticTitledBorderBorderFactory.createTitledBorder(Border border,String title) Adds a title to an existing border,with default positioning (determined by the current look and feel),default justification (leading) and the defaultfont and text color (determined by the current look and feel).staticTitledBorderBorderFactory.createTitledBorder(Border border,String title, int titleJustification, int titlePosition) Adds a title to an existing border, with the specified positioning and using the default font and text color (determined by the current look and feel).staticTitledBorderBorderFactory.createTitledBorder(Border border,String title, int titleJustification, int titlePosition,Font titleFont) Adds a title to an existing border, with the specified positioning and font, and using the default text color (determined by the current look and feel).staticTitledBorderBorderFactory.createTitledBorder(Border border,String title, int titleJustification, int titlePosition,Font titleFont,Color titleColor) Adds a title to an existing border, with the specified positioning, font and color.voidDebugGraphics.drawString(String aString, int x, int y) OverridesGraphics.drawString.protected voidJFileChooser.fireActionPerformed(String command) Notifies all listeners that have registered interest fornotification on this event type.protected voidAbstractAction.firePropertyChange(String propertyName,Object oldValue,Object newValue) Supports reporting bound property changes.voidDefaultListCellRenderer.firePropertyChange(String propertyName, boolean oldValue, boolean newValue) Overridden for performance reasons.voidDefaultListCellRenderer.firePropertyChange(String propertyName, byte oldValue, byte newValue) Overridden for performance reasons.voidDefaultListCellRenderer.firePropertyChange(String propertyName, char oldValue, char newValue) Overridden for performance reasons.voidDefaultListCellRenderer.firePropertyChange(String propertyName, double oldValue, double newValue) Overridden for performance reasons.voidDefaultListCellRenderer.firePropertyChange(String propertyName, float oldValue, float newValue) Overridden for performance reasons.voidDefaultListCellRenderer.firePropertyChange(String propertyName, int oldValue, int newValue) Overridden for performance reasons.voidDefaultListCellRenderer.firePropertyChange(String propertyName, long oldValue, long newValue) Overridden for performance reasons.voidDefaultListCellRenderer.firePropertyChange(String propertyName, short oldValue, short newValue) Overridden for performance reasons.protected voidDefaultListCellRenderer.firePropertyChange(String propertyName,Object oldValue,Object newValue) Overridden for performance reasons.voidJComponent.firePropertyChange(String propertyName, boolean oldValue, boolean newValue) Support for reporting bound property changes for boolean properties.voidJComponent.firePropertyChange(String propertyName, int oldValue, int newValue) Support for reporting bound property changes for integer properties.protected voidJViewport.firePropertyChange(String propertyName,Object oldValue,Object newValue) Notifies listeners of a property change.final voidSwingWorker.firePropertyChange(String propertyName,Object oldValue,Object newValue) Reports a bound property update to any registered listeners.protected voidUIDefaults.firePropertyChange(String propertyName,Object oldValue,Object newValue) Support for reporting bound property changes.protected voidJComponent.fireVetoableChange(String propertyName,Object oldValue,Object newValue) Supports reporting constrained property changes.staticContainerSwingUtilities.getAncestorNamed(String name,Component comp) Convenience method for searching abovecompin thecomponent hierarchy and returns the first object ofnameitfinds.SpringLayout.Constraints.getConstraint(String edgeName) Returns the value of the specified edge, which may bea derived value, or evennull.SpringLayout.getConstraint(String edgeName,Component c) Returns the spring controlling the distance betweenthe specified edge ofthe component and the top or left edge of its parent.Returns the component at the specified corner.Returns theComponentat the specified corner.staticObjectLookAndFeel.getDesktopPropertyValue(String systemPropertyName,Object fallbackValue) Returns the value of the specified system desktop property byinvokingToolkit.getDefaultToolkit().getDesktopProperty().staticStringJEditorPane.getEditorKitClassNameForContentType(String type) Returns the currently registeredEditorKitclass name for thetypetype.JEditorPane.getEditorKitForContentType(String type) Fetches the editor kit to use for the given typeof content.staticKeyStrokeKeyStroke.getKeyStroke(String s) Parses a string and returns aKeyStroke.intJList.getNextMatch(String prefix, int startIndex,Position.Bias bias) Returns the next list element whosetoStringvaluestarts with the given prefix.JTree.getNextMatch(String prefix, int startingRow,Position.Bias bias) Returns the TreePath to the next tree element thatbegins with a prefix.Fetches a named non-nullstyle previously added.Class<? extendsComponentUI> UIDefaults.getUIClass(String uiClassID) Returns the L&F class that renders this component.Class<? extendsComponentUI> UIDefaults.getUIClass(String uiClassID,ClassLoader uiClassLoader) The value ofget(uidClassID)must be theStringname of aclass that implements the correspondingComponentUIclass.protected voidUIDefaults.getUIError(String msg) IfgetUI()fails for any reason,it calls this method before returningnull.Gets theObjectassociated with the specified key.Gets one of this object's propertiesusing the associated key.intJTabbedPane.indexOfTab(String title) Returns the first tab index with a giventitle, or-1 if no tab has this title.protected voidInitialization of theAbstractButton.protected voidInitializes the menu item with the specified text and icon.voidInserts a new menu item with the specified text at agiven position.voidInserts the specified text at the specified position.voidInserts a new tab for the given component, at the given index,represented by the given title and/or icon, either of which maybenull.voidJSpinner.AccessibleJSpinner.insertTextAtIndex(int index,String s) Inserts the specified string at the given index/static voidLookAndFeel.installBorder(JComponent c,String defaultBorderName) Convenience method for setting a component's border property witha value from the defaults.static voidLookAndFeel.installColors(JComponent c,String defaultBgName,String defaultFgName) Convenience method for setting a component's foregroundand background color properties with values from thedefaults.static voidLookAndFeel.installColorsAndFont(JComponent c,String defaultBgName,String defaultFgName,String defaultFontName) Convenience method for setting a component's foreground,background and font properties with values from thedefaults.static voidUIManager.installLookAndFeel(String name,String className) Adds the specified look and feel to the set of available lookand feels.static voidLookAndFeel.installProperty(JComponent c,String propertyName,Object propertyValue) Convenience method for installing a property with the specified nameand value on a component if that property has not already been setby the developer.staticStringSwingUtilities.layoutCompoundLabel(FontMetrics fm,String text,Icon icon, int verticalAlignment, int horizontalAlignment, int verticalTextPosition, int horizontalTextPosition,Rectangle viewR,Rectangle iconR,Rectangle textR, int textIconGap) Compute and return the location of the icons origin, thelocation of origin of the text baseline, and a possibly clippedversion of the compound labels string.staticStringSwingUtilities.layoutCompoundLabel(JComponent c,FontMetrics fm,String text,Icon icon, int verticalAlignment, int horizontalAlignment, int verticalTextPosition, int horizontalTextPosition,Rectangle viewR,Rectangle iconR,Rectangle textR, int textIconGap) Compute and return the location of the icons origin, thelocation of origin of the text baseline, and a possibly clippedversion of the compound labels string.staticObjectCreates and returns aUIDefault.LazyValuethat loads animage.voidSpringLayout.putConstraint(String e1,Component c1, int pad,String e2,Component c2) Links edgee1of componentc1toedgee2of componentc2,with a fixed distance between the edges.voidLinks edgee1of componentc1toedgee2of componentc2.voidSets theValueassociated with the specified key.voidSets one of this object's propertiesusing the associated key.static <M,I> RowFilter <M, I> RowFilter.regexFilter(String regex, int... indices) Returns aRowFilterthat uses a regularexpression to determine which entries to include.static voidJEditorPane.registerEditorKitForContentType(String type,String classname) Establishes the default bindings oftypetoclassname.static voidJEditorPane.registerEditorKitForContentType(String type,String classname,ClassLoader loader) Establishes the default bindings oftypetoclassname.voidJComponent.registerKeyboardAction(ActionListener anAction,String aCommand,KeyStroke aKeyStroke, int aCondition) This method is now obsolete, please use a combination ofgetActionMap()andgetInputMap()forsimilar behavior.voidUIDefaults.removeResourceBundle(String bundleName) Removes a resource bundle from the list of resource bundles that aresearched for localized defaults.voidJTextPane.removeStyle(String nm) Removes a named non-nullstyle previously added tothe document.voidJTextArea.replaceRange(String str, int start, int end) Replaces text from the indicated start to end position with thenew text specified.voidJEditorPane.replaceSelection(String content) Replaces the currently selected content with new contentrepresented by the given string.voidJTextPane.replaceSelection(String content) Replaces the currently selected content with new contentrepresented by the given string.voidJSpinner.AccessibleJSpinner.replaceText(int startIndex, int endIndex,String s) Replaces the text between two indices with the specifiedstring.voidJEditorPane.scrollToReference(String reference) Scrolls the view to the given reference location(that is, the value returned by theURL.getRefmethod for the URL being displayed).voidJList.AccessibleJList.AccessibleJListChild.setAccessibleDescription(String s) voidJTable.AccessibleJTable.AccessibleJTableCell.setAccessibleDescription(String s) Sets the accessible description of this object.voidJTree.AccessibleJTree.AccessibleJTreeNode.setAccessibleDescription(String s) Set the accessible description of this object.voidImageIcon.AccessibleImageIcon.setAccessibleIconDescription(String description) Sets the description of the icon.voidJList.AccessibleJList.AccessibleJListChild.setAccessibleName(String s) voidJTable.AccessibleJTable.AccessibleJTableCell.setAccessibleName(String s) Sets the localized accessible name of this object.voidJTree.AccessibleJTree.AccessibleJTreeNode.setAccessibleName(String s) Set the localized accessible name of this object.voidAbstractButton.setActionCommand(String actionCommand) Sets the action command for this button.voidButtonModel.setActionCommand(String s) Sets the action command string that gets sent as part of theActionEventwhen the button is triggered.voidDefaultButtonModel.setActionCommand(String actionCommand) Sets the action command string that gets sent as part of theActionEventwhen the button is triggered.voidJComboBox.setActionCommand(String aCommand) Sets the action command that should be included in the eventsent to action listeners.voidJTextField.setActionCommand(String command) Sets the command string used for action events.voidTimer.setActionCommand(String command) Sets the string that will be delivered as the action commandinActionEvents fired by this timer.voidJFileChooser.setApproveButtonText(String approveButtonText) Sets the text used in theApproveButtonin theFileChooserUI.voidJFileChooser.setApproveButtonToolTipText(String toolTipText) Sets the tooltip text used in theApproveButton.voidSpringLayout.Constraints.setConstraint(String edgeName,Spring s) Sets the spring controlling the specified edge.final voidJEditorPane.setContentType(String type) Sets the type of content that this editorhandles.voidAdds a child that will appear in one of the scroll panescorners, if there's room.voidImageIcon.setDescription(String description) Sets the description of the image.voidJFileChooser.setDialogTitle(String dialogTitle) Sets the string that goes in theJFileChooserwindow'stitle bar.voidJEditorPane.setEditorKitForContentType(String type,EditorKit k) Directly sets the editor kit to use for the given type.voidDeprecated.- Replaced bysetText(text)voidSets the popup menu's label.static voidUIManager.setLookAndFeel(String className) Loads theLookAndFeelspecified by the given classname, using the current thread's context class loader, andpasses it tosetLookAndFeel(LookAndFeel).voidSpecifies the additional note that is displayed along with theprogress message.voidSets the current URL being displayed.voidSets the value of the progress string.voidSets the button's text.voidSets the text of thisTextComponentto the specifiedcontent,which is expected to be in the format of the content type ofthis editor.voidDefines the single line of text this component will display.voidvoidJSpinner.AccessibleJSpinner.setTextContents(String s) Sets the text contents to the specified string.voidJToolTip.setTipText(String tipText) Sets the text to show when the tool tip is displayed.voidSets theJInternalFrametitle.voidJTabbedPane.setTitleAt(int index,String title) Sets the title atindextotitlewhichcan benull.voidJComponent.setToolTipText(String text) Registers the text to display in a tool tip.voidJTabbedPane.setToolTipTextAt(int index,String toolTipText) Sets the tooltip text atindextotoolTipTextwhich can benull.static intJOptionPane.showConfirmDialog(Component parentComponent,Object message,String title, int optionType) Brings up a dialog where the number of choices is determinedby theoptionTypeparameter.static intJOptionPane.showConfirmDialog(Component parentComponent,Object message,String title, int optionType, int messageType) Brings up a dialog where the number of choices is determinedby theoptionTypeparameter, where themessageTypeparameter determines the icon to display.static intJOptionPane.showConfirmDialog(Component parentComponent,Object message,String title, int optionType, int messageType,Icon icon) Brings up a dialog with a specified icon, where the number ofchoices is determined by theoptionTypeparameter.staticColorJColorChooser.showDialog(Component component,String title,Color initialColor) Shows a modal color-chooser dialog and blocks until thedialog is hidden.staticColorJColorChooser.showDialog(Component component,String title,Color initialColor, boolean colorTransparencySelectionEnabled) Shows a modal color-chooser dialog and blocks until thedialog is hidden.intJFileChooser.showDialog(Component parent,String approveButtonText) Pops a custom file chooser dialog with a custom approve button.staticStringJOptionPane.showInputDialog(Component parentComponent,Object message,String title, int messageType) Shows a dialog requesting input from the user parented toparentComponentwith the dialog having the titletitleand message typemessageType.staticObjectJOptionPane.showInputDialog(Component parentComponent,Object message,String title, int messageType,Icon icon,Object[] selectionValues,Object initialSelectionValue) Prompts the user for input in a blocking dialog where theinitial selection, possible selections, and all other options canbe specified.static intJOptionPane.showInternalConfirmDialog(Component parentComponent,Object message,String title, int optionType) Brings up a internal dialog panel where the number of choicesis determined by theoptionTypeparameter.static intJOptionPane.showInternalConfirmDialog(Component parentComponent,Object message,String title, int optionType, int messageType) Brings up an internal dialog panel where the number of choicesis determined by theoptionTypeparameter, wherethemessageTypeparameter determines the icon to display.static intJOptionPane.showInternalConfirmDialog(Component parentComponent,Object message,String title, int optionType, int messageType,Icon icon) Brings up an internal dialog panel with a specified icon, wherethe number of choices is determined by theoptionTypeparameter.staticStringJOptionPane.showInternalInputDialog(Component parentComponent,Object message,String title, int messageType) Shows an internal dialog requesting input from the user parentedtoparentComponentwith the dialog having the titletitleand message typemessageType.staticObjectJOptionPane.showInternalInputDialog(Component parentComponent,Object message,String title, int messageType,Icon icon,Object[] selectionValues,Object initialSelectionValue) Prompts the user for input in a blocking internal dialog wherethe initial selection, possible selections, and all otheroptions can be specified.static voidJOptionPane.showInternalMessageDialog(Component parentComponent,Object message,String title, int messageType) Brings up an internal dialog panel that displays a messageusing a default icon determined by themessageTypeparameter.static voidJOptionPane.showInternalMessageDialog(Component parentComponent,Object message,String title, int messageType,Icon icon) Brings up an internal dialog panel displaying a message,specifying all parameters.static intJOptionPane.showInternalOptionDialog(Component parentComponent,Object message,String title, int optionType, int messageType,Icon icon,Object[] options,Object initialValue) Brings up an internal dialog panel with a specified icon, wherethe initial choice is determined by theinitialValueparameter and the number of choices is determined by theoptionTypeparameter.static voidJOptionPane.showMessageDialog(Component parentComponent,Object message,String title, int messageType) Brings up a dialog that displays a message using a defaulticon determined by themessageTypeparameter.static voidJOptionPane.showMessageDialog(Component parentComponent,Object message,String title, int messageType,Icon icon) Brings up a dialog displaying a message, specifying all parameters.static intJOptionPane.showOptionDialog(Component parentComponent,Object message,String title, int optionType, int messageType,Icon icon,Object[] options,Object initialValue) Brings up a dialog with a specified icon, where the initialchoice is determined by theinitialValueparameter andthe number of choices is determined by theoptionTypeparameter.abstractObjectJFormattedTextField.AbstractFormatter.stringToValue(String text) Parsestextreturning an arbitrary Object.staticDropModeReturns the enum constant of this class with the specified name.staticGroupLayout.AlignmentReturns the enum constant of this class with the specified name.staticJTable.PrintModeReturns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.staticRowFilter.ComparisonTypeReturns the enum constant of this class with the specified name.staticSortOrderReturns the enum constant of this class with the specified name.staticSwingWorker.StateValueReturns the enum constant of this class with the specified name.Constructors injavax.swing with parameters of typeStringModifierConstructorDescriptionAbstractAction(String name) Creates anActionwith the specified name.AbstractAction(String name,Icon icon) Creates anActionwith the specified name and small icon.DateEditor(JSpinner spinner,String dateFormatPattern) Construct aJSpinnereditor that supports displayingand editing the value of aSpinnerDateModelwith aJFormattedTextField.Creates an ImageIcon from an array of bytes which wereread from an image file containing a supported image format,such as GIF, JPEG, or (as of 1.3) PNG.Creates an ImageIcon from the image.Creates an ImageIcon from the specified file.Creates an ImageIcon from the specified file.Creates an ImageIcon from the specified URL.Creates a button with text.Creates a button with initial text and an icon.Creates an initially unselected check box with text.Creates a check box with text and specifies whetheror not it is initially selected.Creates an initially unselected check box withthe specified text and icon.Creates a check box with text and icon,and specifies whether or not it is initially selected.JCheckBoxMenuItem(String text) Creates an initially unselected check box menu item with text.JCheckBoxMenuItem(String text, boolean b) Creates a check box menu item with the specified text and selection state.JCheckBoxMenuItem(String text,Icon icon) Creates an initially unselected check box menu item with the specified text and icon.JCheckBoxMenuItem(String text,Icon icon, boolean b) Creates a check box menu item with the specified text, icon, and selection state.Creates a modeless dialog with the specified title andwith the specified owner dialog.Creates a dialog with the specified title, modalityand the specified ownerDialog.JDialog(Dialog owner,String title, boolean modal,GraphicsConfiguration gc) Creates a dialog with the specified title, ownerDialog,modality andGraphicsConfiguration.Creates a modeless dialog with the specified title andwith the specified owner frame.Creates a dialog with the specified title, ownerFrameand modality.JDialog(Frame owner,String title, boolean modal,GraphicsConfiguration gc) Creates a dialog with the specified title,ownerFrame, modality andGraphicsConfiguration.Creates a modeless dialog with the specified title and ownerWindow.JDialog(Window owner,String title,Dialog.ModalityType modalityType) Creates a dialog with the specified title, ownerWindowandmodality.JDialog(Window owner,String title,Dialog.ModalityType modalityType,GraphicsConfiguration gc) Creates a dialog with the specified title, ownerWindow,modality andGraphicsConfiguration.JEditorPane(String url) Creates aJEditorPanebased on a string containinga URL specification.JEditorPane(String type,String text) Creates aJEditorPanethat has been initializedto the given text.JFileChooser(String currentDirectoryPath) Constructs aJFileChooserusing the given path.JFileChooser(String currentDirectoryPath,FileSystemView fsv) Constructs aJFileChooserusing the given current directorypath andFileSystemView.Creates a new, initially invisibleFramewith thespecified title.JFrame(String title,GraphicsConfiguration gc) Creates aJFramewith the specified title and thespecifiedGraphicsConfigurationof a screen device.JInternalFrame(String title) Creates a non-resizable, non-closable, non-maximizable,non-iconifiableJInternalFramewith the specified title.JInternalFrame(String title, boolean resizable) Creates a non-closable, non-maximizable, non-iconifiableJInternalFramewith the specified titleand resizability.JInternalFrame(String title, boolean resizable, boolean closable) Creates a non-maximizable, non-iconifiableJInternalFramewith the specified title, resizability, andclosability.JInternalFrame(String title, boolean resizable, boolean closable, boolean maximizable) Creates a non-iconifiableJInternalFramewith the specified title,resizability, closability, and maximizability.JInternalFrame(String title, boolean resizable, boolean closable, boolean maximizable, boolean iconifiable) Creates aJInternalFramewith the specified title,resizability, closability, maximizability, and iconifiability.Creates aJLabelinstance with the specified text.Creates aJLabelinstance with the specifiedtext and horizontal alignment.Creates aJLabelinstance with the specifiedtext, image, and horizontal alignment.Constructs a newJMenuwith the supplied stringas its text.Constructs a newJMenuwith the supplied string asits text and specified as a tear-off menu or not.Creates aJMenuItemwith the specified text.Creates aJMenuItemwith the specified text andkeyboard mnemonic.Creates aJMenuItemwith the specified text and icon.JPasswordField(String text) Constructs a newJPasswordFieldinitializedwith the specified text.JPasswordField(String text, int columns) Constructs a newJPasswordFieldinitialized withthe specified text and columns.JPasswordField(Document doc,String txt, int columns) Constructs a newJPasswordFieldthat uses thegiven text storage model and the given number of columns.JPopupMenu(String label) Constructs aJPopupMenuwith the specified title.JRadioButton(String text) Creates an unselected radio button with the specified text.JRadioButton(String text, boolean selected) Creates a radio button with the specified textand selection state.JRadioButton(String text,Icon icon) Creates a radio button that has the specified text and image,and that is initially unselected.JRadioButton(String text,Icon icon, boolean selected) Creates a radio button that has the specified text, image,and selection state.JRadioButtonMenuItem(String text) Creates aJRadioButtonMenuItemwith text.JRadioButtonMenuItem(String text, boolean selected) Creates a radio button menu item with the specified textand selection state.JRadioButtonMenuItem(String text,Icon icon) Creates a radio button menu item with the specified textandIcon.JRadioButtonMenuItem(String text,Icon icon, boolean selected) Creates a radio button menu item that has the specifiedtext, image, and selection state.Constructs a new TextArea with the specified text displayed.Constructs a new TextArea with the specified text and numberof rows and columns.Constructs a new JTextArea with the specified number of rowsand columns, and the given model.JTextField(String text) Constructs a newTextFieldinitialized with thespecified text.JTextField(String text, int columns) Constructs a newTextFieldinitialized with thespecified text and columns.JTextField(Document doc,String text, int columns) Constructs a newJTextFieldthat uses the given textstorage model and the given number of columns.JToggleButton(String text) Creates an unselected toggle button with the specified text.JToggleButton(String text, boolean selected) Creates a toggle button with the specified textand selection state.JToggleButton(String text,Icon icon) Creates a toggle button that has the specified text and image,and that is initially unselected.JToggleButton(String text,Icon icon, boolean selected) Creates a toggle button with the specified text, image, andselection state.Creates a new tool bar with the specifiedname.Creates a new tool bar with a specifiednameandorientation.LookAndFeelInfo(String name,String className) Constructs aUIManagersLookAndFeelInfoobject.NumberEditor(JSpinner spinner,String decimalFormatPattern) Construct aJSpinnereditor that supports displayingand editing the value of aSpinnerNumberModelwith aJFormattedTextField.ProgressMonitor(Component parentComponent,Object message,String note, int min, int max) Constructs a graphic object that shows progress, typically by fillingin a rectangular bar as the process nears completion.Creates aLazyValuewhich will construct an instancewhen asked.ProxyLazyValue(String c,Object[] o) Creates aLazyValuewhich will construct an instancewhen asked.ProxyLazyValue(String c,String m) Creates aLazyValuewhich will construct an instancewhen asked.ProxyLazyValue(String c,String m,Object[] o) Creates aLazyValuewhich will construct an instancewhen asked.TransferHandler(String property) Constructs a transfer handler that can transfer a Java Bean propertyfrom one component to another via the clipboard or a drag and dropoperation.Constructs an UnsupportedLookAndFeelException object.Uses ofString injavax.swing.border
Fields injavax.swing.border declared asStringModifier and TypeFieldDescriptionprotectedStringTitledBorder.titleThe title the border should display.Methods injavax.swing.border that returnStringMethods injavax.swing.border with parameters of typeStringModifier and TypeMethodDescriptionvoidSets the title of the titled border.Constructors injavax.swing.border with parameters of typeStringModifierConstructorDescriptionTitledBorder(String title) Creates a TitledBorder instance.TitledBorder(Border border,String title) Creates a TitledBorder instance with the specified borderand title.TitledBorder(Border border,String title, int titleJustification, int titlePosition) Creates a TitledBorder instance with the specified border,title, title-justification, and title-position.TitledBorder(Border border,String title, int titleJustification, int titlePosition,Font titleFont) Creates a TitledBorder instance with the specified border,title, title-justification, title-position, and title-font.TitledBorder(Border border,String title, int titleJustification, int titlePosition,Font titleFont,Color titleColor) Creates a TitledBorder instance with the specified border,title, title-justification, title-position, title-font, andtitle-color.Uses ofString injavax.swing.colorchooser
Fields injavax.swing.colorchooser declared asStringModifier and TypeFieldDescriptionstatic finalStringAbstractColorChooserPanel.TRANSPARENCY_ENABLED_PROPERTYIdentifies that the transparency of the color (alpha value) can beselectedMethods injavax.swing.colorchooser that returnStringModifier and TypeMethodDescriptionabstractStringAbstractColorChooserPanel.getDisplayName()Returns a string containing the display name of the panel.Uses ofString injavax.swing.event
Methods injavax.swing.event that returnStringModifier and TypeMethodDescriptionHyperlinkEvent.getDescription()Get the description of the link as a string.InternalFrameEvent.paramString()Returns a parameter string identifying this event.DocumentEvent.EventType.toString()Converts the type to a string.EventListenerList.toString()Returns a string representation of the EventListenerList.HyperlinkEvent.EventType.toString()Converts the type to a string.ListDataEvent.toString()Returns a string representation of this ListDataEvent.ListSelectionEvent.toString()Returns aStringthat displays and identifies thisobject's properties.TreeModelEvent.toString()Returns a string that displays and identifies this object'sproperties.Methods injavax.swing.event with parameters of typeStringModifier and TypeMethodDescriptionstaticRowSorterEvent.TypeReturns the enum constant of this class with the specified name.Constructors injavax.swing.event with parameters of typeStringModifierConstructorDescriptionHyperlinkEvent(Object source,HyperlinkEvent.EventType type,URL u,String desc) Creates a new object representing a hypertext link event.HyperlinkEvent(Object source,HyperlinkEvent.EventType type,URL u,String desc,Element sourceElement) Creates a new object representing a hypertext link event.HyperlinkEvent(Object source,HyperlinkEvent.EventType type,URL u,String desc,Element sourceElement,InputEvent inputEvent) Creates a new object representing a hypertext link event.Uses ofString injavax.swing.filechooser
Methods injavax.swing.filechooser that returnStringModifier and TypeMethodDescriptionabstractStringFileFilter.getDescription()The description of this filter.FileNameExtensionFilter.getDescription()The description of this filter.FileView.getDescription(File f) A human readable description of the file.String[]FileNameExtensionFilter.getExtensions()Returns the set of file name extensions files are tested against.The name of the file.FileSystemView.getSystemDisplayName(File f) Name of a file, directory, or folder as it would be displayed ina system file browser.FileSystemView.getSystemTypeDescription(File f) Type description for a file, directory, or folder as it would be displayed ina system file browser.FileView.getTypeDescription(File f) A human readable description of the type of the file.FileNameExtensionFilter.toString()Returns a string representation of theFileNameExtensionFilter.Methods injavax.swing.filechooser with parameters of typeStringModifier and TypeMethodDescriptionFileSystemView.createFileObject(File dir,String filename) Returns a File object constructed in dir from the given filename.FileSystemView.createFileObject(String path) Returns a File object constructed from the given path string.Returns aFileobject which is normally constructed withnewFile(parent, fileName)except when the parent and child are bothspecial folders, in which case theFileis a wrapper containinga ShellFolder object.Constructors injavax.swing.filechooser with parameters of typeStringModifierConstructorDescriptionFileNameExtensionFilter(String description,String... extensions) Creates aFileNameExtensionFilterwith the specifieddescription and file name extensions.Uses ofString injavax.swing.plaf
Methods injavax.swing.plaf that returnStringModifier and TypeMethodDescriptionabstractStringFileChooserUI.getApproveButtonText(JFileChooser fc) Returns approve button text.abstractStringFileChooserUI.getDialogTitle(JFileChooser fc) Returns the dialog title.TextUI.getToolTipText(JTextComponent t,Point pt) Deprecated.TextUI.getToolTipText2D(JTextComponent t,Point2D pt) Returns the string to be used as the tooltip at the passed in location.Methods injavax.swing.plaf with parameters of typeStringModifier and TypeMethodDescriptionvoidLayerUI.addPropertyChangeListener(String propertyName,PropertyChangeListener listener) Adds a PropertyChangeListener to the listener list for a specificproperty.protected voidLayerUI.firePropertyChange(String propertyName,Object oldValue,Object newValue) Support for reporting bound property changes for Object properties.LayerUI.getPropertyChangeListeners(String propertyName) Returns an array of all the listeners which have been associatedwith the named property.voidLayerUI.removePropertyChangeListener(String propertyName,PropertyChangeListener listener) Removes aPropertyChangeListenerfrom the listenerlist for a specific property.Constructors injavax.swing.plaf with parameters of typeStringModifierConstructorDescriptionFontUIResource(String name, int style, int size) Constructs aFontUIResource.TitledBorderUIResource(String title) Constructs aTitledBorderUIResource.TitledBorderUIResource(Border border,String title) Constructs aTitledBorderUIResource.TitledBorderUIResource(Border border,String title, int titleJustification, int titlePosition) Constructs aTitledBorderUIResource.TitledBorderUIResource(Border border,String title, int titleJustification, int titlePosition,Font titleFont) Constructs aTitledBorderUIResource.TitledBorderUIResource(Border border,String title, int titleJustification, int titlePosition,Font titleFont,Color titleColor) Constructs aTitledBorderUIResource.Uses ofString injavax.swing.plaf.basic
Fields injavax.swing.plaf.basic declared asStringModifier and TypeFieldDescriptionprotectedStringBasicMenuItemUI.acceleratorDelimiterAccelerator delimiter string, such as'+'in'Ctrl+C'.protectedStringBasicFileChooserUI.cancelButtonTextCancel button textprotectedStringBasicFileChooserUI.cancelButtonToolTipTextCancel button tool tip textprotected static finalStringBasicInternalFrameTitlePane.CLOSE_CMDThe close button text property.protectedStringBasicToolBarUI.constraintBeforeFloatingThe layout before floating.protectedStringBasicFileChooserUI.directoryOpenButtonTextThe label text displayed on the approve button when a directoryis selected and the current selection mode is FILES_ONLY.protectedStringBasicFileChooserUI.directoryOpenButtonToolTipTextThe tooltip text displayed on the approve button when a directoryis selected and the current selection mode is FILES_ONLY.static finalStringBasicHTML.documentBaseKeyKey stored as a client property to indicate the base that relativereferences are resolved against.protectedStringBasicFileChooserUI.helpButtonTextHelp button textprotectedStringBasicFileChooserUI.helpButtonToolTipTextHelp button tool tip textprotected static finalStringBasicInternalFrameTitlePane.ICONIFY_CMDThe minimize button text property.protected static finalStringBasicInternalFrameTitlePane.MAXIMIZE_CMDThe maximize button text property.protected static finalStringBasicInternalFrameTitlePane.MOVE_CMDThe move button text property.protected static finalStringBasicSplitPaneUI.NON_CONTINUOUS_DIVIDERThe divider used for non-continuous layout is added to the split panewith this object.protectedStringBasicFileChooserUI.openButtonTextOpen button textprotectedStringBasicFileChooserUI.openButtonToolTipTextOpen button tool tip textstatic finalStringBasicHTML.propertyKeyKey to use for the html renderer when stored as aclient property of a JComponent.protected static finalStringBasicInternalFrameTitlePane.RESTORE_CMDThe restore button text property.protectedStringBasicFileChooserUI.saveButtonTextSave button textprotectedStringBasicFileChooserUI.saveButtonToolTipTextSave button tool tip textprotected static finalStringBasicInternalFrameTitlePane.SIZE_CMDThe size button text property.protectedStringBasicFileChooserUI.updateButtonTextUpdate button textprotectedStringBasicFileChooserUI.updateButtonToolTipTextUpdate button tool tip textMethods injavax.swing.plaf.basic that returnStringModifier and TypeMethodDescriptionBasicFileChooserUI.getApproveButtonText(JFileChooser fc) Returns approve button text.BasicFileChooserUI.getApproveButtonToolTipText(JFileChooser fc) Returns the approve button tool tip.staticStringBasicGraphicsUtils.getClippedString(JComponent c,FontMetrics fm,String string, int availTextWidth) Clips the passed in string to the space provided.BasicFileChooserUI.AcceptAllFileFilter.getDescription()The description of this filter.BasicFileChooserUI.getDialogTitle(JFileChooser fc) Returns the title of this dialogBasicFileChooserUI.getDirectoryName()Returns the directory name.BasicFileChooserUI.getFileName()Returns the file name.protectedStringBasicTextUI.getKeymapName()Fetches the name of the keymap that will be installed/usedby default for this UI.protectedStringBasicButtonUI.getPropertyPrefix()Returns the property prefix.BasicCheckBoxUI.getPropertyPrefix()protectedStringBasicEditorPaneUI.getPropertyPrefix()Fetches the name used as a key to lookup properties through theUIManager.protectedStringBasicFormattedTextFieldUI.getPropertyPrefix()Fetches the name used as a key to lookup properties through theUIManager.protectedStringBasicMenuItemUI.getPropertyPrefix()Returns a property prefix.protectedStringBasicPasswordFieldUI.getPropertyPrefix()Fetches the name used as a key to look up properties through theUIManager.protectedStringBasicTextAreaUI.getPropertyPrefix()Fetches the name used as a key to look up properties through theUIManager.protectedStringBasicTextFieldUI.getPropertyPrefix()Fetches the name used as a key to lookup properties through theUIManager.protectedStringBasicTextPaneUI.getPropertyPrefix()Fetches the name used as a key to lookup properties through theUIManager.protected abstractStringBasicTextUI.getPropertyPrefix()Gets the name used as a key to look up properties through theUIManager.protectedStringBasicInternalFrameTitlePane.getTitle(String text,FontMetrics fm, int availTextWidth) Returns the title.BasicTextUI.getToolTipText(JTextComponent t,Point pt) Returns the string to be used as the tooltip at the passed in location.protectedStringBasicLabelUI.layoutCL(JLabel label,FontMetrics fontMetrics,String text,Icon icon,Rectangle viewR,Rectangle iconR,Rectangle textR) Forwards the call to SwingUtilities.layoutCompoundLabel().Methods injavax.swing.plaf.basic with parameters of typeStringModifier and TypeMethodDescriptionvoidBasicComboBoxUI.ComboBoxLayoutManager.addLayoutComponent(String name,Component comp) voidBasicInternalFrameTitlePane.TitlePaneLayout.addLayoutComponent(String name,Component c) voidBasicInternalFrameUI.InternalFrameLayout.addLayoutComponent(String name,Component c) If the layout manager uses a per-component string,adds the componentcompto the layout,associating itwith the string specified byname.voidBasicOptionPaneUI.ButtonAreaLayout.addLayoutComponent(String string,Component comp) voidBasicScrollBarUI.addLayoutComponent(String name,Component child) voidBasicSplitPaneDivider.DividerLayout.addLayoutComponent(String string,Component c) voidBasicSplitPaneUI.BasicHorizontalLayoutManager.addLayoutComponent(String place,Component component) Adds the component at place.voidBasicTabbedPaneUI.TabbedPaneLayout.addLayoutComponent(String name,Component comp) protected voidBasicOptionPaneUI.burstStringInto(Container c,String d, int maxll) Recursively creates newJLabelinstances to representd.staticViewBasicHTML.createHTMLView(JComponent c,String html) Create an html renderer for the given component andstring of html.static voidBasicGraphicsUtils.drawString(Graphics g,String text, int underlinedChar, int x, int y) Draw a string with the graphicsgat location (x,y)just likeg.drawStringwould.static voidBasicGraphicsUtils.drawString(JComponent c,Graphics2D g,String string, float x, float y) Draws the given string at the specified location using text propertiesand anti-aliasing hints from the provided component.static voidBasicGraphicsUtils.drawStringUnderlineCharAt(Graphics g,String text, int underlinedIndex, int x, int y) Draw a string with the graphicsgat location(x,y)just likeg.drawStringwould.static voidBasicGraphicsUtils.drawStringUnderlineCharAt(JComponent c,Graphics2D g,String string, int underlinedIndex, float x, float y) Draws the given string at the specified location underliningthe specified character.protected voidBasicDirectoryModel.firePropertyChange(String propertyName,Object oldValue,Object newValue) Support for reporting bound property changes for boolean properties.staticStringBasicGraphicsUtils.getClippedString(JComponent c,FontMetrics fm,String string, int availTextWidth) Clips the passed in string to the space provided.protectedPointBasicProgressBarUI.getStringPlacement(Graphics g,String progressString, int x, int y, int width, int height) Designate the place where the progress string will be painted.static floatBasicGraphicsUtils.getStringWidth(JComponent c,FontMetrics fm,String string) Returns the width of the passed in string using text propertiesand anti-aliasing hints from the provided component.protectedStringBasicInternalFrameTitlePane.getTitle(String text,FontMetrics fm, int availTextWidth) Returns the title.static booleanBasicHTML.isHTMLString(String s) Check the given string to see if it should trigger thehtml rendering logic in a non-text component that supportshtml rendering.protectedStringBasicLabelUI.layoutCL(JLabel label,FontMetrics fontMetrics,String text,Icon icon,Rectangle viewR,Rectangle iconR,Rectangle textR) Forwards the call to SwingUtilities.layoutCompoundLabel().protected voidBasicTabbedPaneUI.layoutLabel(int tabPlacement,FontMetrics metrics, int tabIndex,String title,Icon icon,Rectangle tabRect,Rectangle iconRect,Rectangle textRect, boolean isSelected) Lays out a label.protected voidBasicLookAndFeel.loadSystemColors(UIDefaults table,String[] systemColors, boolean useNative) Populatestablewith thename-colorpairs insystemColors.protected voidBasicLabelUI.paintDisabledText(JLabel l,Graphics g,String s, int textX, int textY) Paint clippedText at textX, textY with background.lighter() and thenshifted down and to the right by one pixel with background.darker().protected voidBasicLabelUI.paintEnabledText(JLabel l,Graphics g,String s, int textX, int textY) Paint clippedText at textX, textY with the labels foreground color.protected voidBasicButtonUI.paintText(Graphics g,AbstractButton b,Rectangle textRect,String text) Method which renders the text of the current button.protected voidBasicButtonUI.paintText(Graphics g,JComponent c,Rectangle textRect,String text) Method which renders the text of the current button.protected voidRenders the text of the current menu item.protected voidBasicTabbedPaneUI.paintText(Graphics g, int tabPlacement,Font font,FontMetrics metrics, int tabIndex,String title,Rectangle textRect, boolean isSelected) Paints text.voidBasicFileChooserUI.setDirectoryName(String dirname) Sets the directory name.voidBasicFileChooserUI.setFileName(String filename) Sets the file name.static voidBasicHTML.updateRenderer(JComponent c,String text) Stash the HTML render for the given text into the clientproperties of the given JComponent.Constructors injavax.swing.plaf.basic with parameters of typeStringModifierConstructorDescriptionConstructs a new instance ofTreeCancelEditingAction.TreeHomeAction(int direction,String name) Constructs a new instance ofTreeHomeAction.TreeIncrementAction(int direction,String name) Constructs a new instance ofTreeIncrementAction.TreePageAction(int direction,String name) Constructs a new instance ofTreePageAction.TreeToggleAction(String name) Constructs a new instance ofTreeToggleAction.TreeTraverseAction(int direction,String name) Constructs a new instance ofTreeTraverseAction.Uses ofString injavax.swing.plaf.metal
Fields injavax.swing.plaf.metal declared asStringModifier and TypeFieldDescriptionstatic finalStringMetalScrollBarUI.FREE_STANDING_PROPThe propertyJScrollBar.isFreeStanding.protected staticStringMetalInternalFrameUI.IS_PALETTEThe propertyJInternalFrame.isPalette.protected finalStringMetalSliderUI.SLIDER_FILLProperty forJSlider.isFilled.Methods injavax.swing.plaf.metal that returnStringModifier and TypeMethodDescriptionMetalToolTipUI.getAcceleratorString()Returns the accelerator string.MetalLookAndFeel.getDescription()Returns a short description of this look and feel.MetalFileChooserUI.getDirectoryName()Returns the directory name.MetalLookAndFeel.getID()Returns an identifier for this look and feel.DefaultMetalTheme.getName()Returns the name of this theme.MetalLookAndFeel.getName()Returns the name of this look and feel.abstractStringMetalTheme.getName()Returns the name of this theme.OceanTheme.getName()Return the name of this theme, "Ocean".MetalCheckBoxUI.getPropertyPrefix()Methods injavax.swing.plaf.metal with parameters of typeStringModifier and TypeMethodDescriptionprotected voidMetalLabelUI.paintDisabledText(JLabel l,Graphics g,String s, int textX, int textY) Just paint the text gray (Label.disabledForeground) rather thanin the labels foreground color.voidMetalFileChooserUI.setDirectoryName(String dirname) Sets the directory name.Uses ofString injavax.swing.plaf.multi
Methods injavax.swing.plaf.multi that returnStringModifier and TypeMethodDescriptionMultiFileChooserUI.getApproveButtonText(JFileChooser a) Invokes thegetApproveButtonTextmethod on each UI handled by this object.MultiLookAndFeel.getDescription()Returns a one-line description of this look and feel.MultiFileChooserUI.getDialogTitle(JFileChooser a) Invokes thegetDialogTitlemethod on each UI handled by this object.MultiLookAndFeel.getID()Returns a string, suitable for use by applications/services,that identifies this look and feel.MultiLookAndFeel.getName()Returns a string, suitable for use in menus,that identifies this look and feel.MultiTextUI.getToolTipText(JTextComponent a,Point b) Invokes thegetToolTipTextmethod on each UI handled by this object.Uses ofString injavax.swing.plaf.nimbus
Fields injavax.swing.plaf.nimbus declared asStringModifier and TypeFieldDescriptionstatic finalStringNimbusStyle.LARGE_KEYLarge keystatic finalStringNimbusStyle.MINI_KEYMini keystatic finalStringNimbusStyle.SMALL_KEYSmall keyMethods injavax.swing.plaf.nimbus that returnStringModifier and TypeMethodDescriptionNimbusLookAndFeel.getDescription()Returns a textual description of this look and feel.NimbusLookAndFeel.getID()Return a string that identifies this look and feel.NimbusLookAndFeel.getName()Return a short string that identifies this look and feel.Methods injavax.swing.plaf.nimbus with parameters of typeStringModifier and TypeMethodDescriptionprotected finalColorAbstractRegionPainter.decodeColor(String key, float hOffset, float sOffset, float bOffset, int aOffset) Decodes and returns a color, which is derived from a base color in UIdefaults.protected finalColorAbstractRegionPainter.getComponentColor(JComponent c,String property,Color defaultColor, float saturationOffset, float brightnessOffset, int alphaOffset) Get a color property from the given JComponent.NimbusLookAndFeel.getDerivedColor(String uiDefaultParentName, float hOffset, float sOffset, float bOffset, int aOffset, boolean uiResource) Get a derived color, derived colors are shared instances and is colorvalue will change when its parent UIDefault color changes.voidRegisters a third party component with the NimbusLookAndFeel.Returns the enum constant of this class with the specified name.Constructors injavax.swing.plaf.nimbus with parameters of typeStringUses ofString injavax.swing.plaf.synth
Methods injavax.swing.plaf.synth that returnStringModifier and TypeMethodDescriptionSynthLookAndFeel.getDescription()Returns a textual description of SynthLookAndFeel.SynthLookAndFeel.getID()Return a string that identifies this look and feel.Region.getName()Returns the name of the region.SynthLookAndFeel.getName()Return a short string that identifies this look and feel.protectedStringSynthFormattedTextFieldUI.getPropertyPrefix()Fetches the name used as a key to lookup properties through theUIManager.protectedStringSynthPasswordFieldUI.getPropertyPrefix()Fetches the name used as a key to look up properties through theUIManager.protectedStringSynthTextPaneUI.getPropertyPrefix()Fetches the name used as a key to lookup properties through theUIManager.SynthStyle.getString(SynthContext context,Object key,String defaultValue) Convenience method to get a specific style property whose value isa String.SynthGraphicsUtils.layoutText(SynthContext ss,FontMetrics fm,String text,Icon icon, int hAlign, int vAlign, int hTextPosition, int vTextPosition,Rectangle viewR,Rectangle iconR,Rectangle textR, int iconTextGap) Lays out text and an icon returning, by reference, the location toplace the icon and text.ColorType.toString()Returns the textual description of thisColorType.Region.toString()Returns the name of the Region.Methods injavax.swing.plaf.synth with parameters of typeStringModifier and TypeMethodDescriptionintSynthGraphicsUtils.computeStringWidth(SynthContext ss,Font font,FontMetrics metrics,String text) Returns the size of the passed in string.SynthGraphicsUtils.getMaximumSize(SynthContext ss,Font font,String text,Icon icon, int hAlign, int vAlign, int hTextPosition, int vTextPosition, int iconTextGap, int mnemonicIndex) Returns the maximum size needed to properly render an icon and text.SynthGraphicsUtils.getMinimumSize(SynthContext ss,Font font,String text,Icon icon, int hAlign, int vAlign, int hTextPosition, int vTextPosition, int iconTextGap, int mnemonicIndex) Returns the minimum size needed to properly render an icon and text.SynthGraphicsUtils.getPreferredSize(SynthContext ss,Font font,String text,Icon icon, int hAlign, int vAlign, int hTextPosition, int vTextPosition, int iconTextGap, int mnemonicIndex) Returns the preferred size needed to properly render an icon and text.SynthStyle.getString(SynthContext context,Object key,String defaultValue) Convenience method to get a specific style property whose value isa String.SynthGraphicsUtils.layoutText(SynthContext ss,FontMetrics fm,String text,Icon icon, int hAlign, int vAlign, int hTextPosition, int vTextPosition,Rectangle viewR,Rectangle iconR,Rectangle textR, int iconTextGap) Lays out text and an icon returning, by reference, the location toplace the icon and text.voidSynthGraphicsUtils.paintText(SynthContext ss,Graphics g,String text, int x, int y, int mnemonicIndex) Paints text at the specified location.voidSynthGraphicsUtils.paintText(SynthContext ss,Graphics g,String text,Rectangle bounds, int mnemonicIndex) Paints text at the specified location.voidSynthGraphicsUtils.paintText(SynthContext ss,Graphics g,String text,Icon icon, int hAlign, int vAlign, int hTextPosition, int vTextPosition, int iconTextGap, int mnemonicIndex, int textOffset) Paints an icon and text.protected voidSynthProgressBarUI.paintText(SynthContext context,Graphics g,String title) Paints the component's text.Constructors injavax.swing.plaf.synth with parameters of typeStringUses ofString injavax.swing.table
Fields injavax.swing.table declared asStringModifier and TypeFieldDescriptionstatic finalStringTableColumn.CELL_RENDERER_PROPERTYObsolete as of Java 2 platform v1.3.static finalStringTableColumn.COLUMN_WIDTH_PROPERTYObsolete as of Java 2 platform v1.3.static finalStringTableColumn.HEADER_RENDERER_PROPERTYObsolete as of Java 2 platform v1.3.static finalStringTableColumn.HEADER_VALUE_PROPERTYObsolete as of Java 2 platform v1.3.Methods injavax.swing.table that returnStringModifier and TypeMethodDescriptionAbstractTableModel.getColumnName(int column) Returns a default name for the column using spreadsheet conventions: A, B, C, ...DefaultTableModel.getColumnName(int column) Returns the column name.TableModel.getColumnName(int columnIndex) Returns the name of the column atcolumnIndex.JTableHeader.getToolTipText(MouseEvent event) Allows the renderer's tips to be used if there is text set.JTableHeader.getUIClassID()Returns the suffix used to construct the name of the look and feel(L&F) class used to render this component.protectedStringJTableHeader.paramString()Returns a string representation of thisJTableHeader.abstractStringTableStringConverter.toString(TableModel model, int row, int column) Returns the string representation of the value at the specifiedlocation.Methods injavax.swing.table with parameters of typeStringModifier and TypeMethodDescriptionintAbstractTableModel.findColumn(String columnName) Returns a column given its name.voidDefaultTableCellRenderer.firePropertyChange(String propertyName, boolean oldValue, boolean newValue) Overridden for performance reasons.protected voidDefaultTableCellRenderer.firePropertyChange(String propertyName,Object oldValue,Object newValue) Overridden for performance reasons.voidJTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry.setAccessibleDescription(String s) voidJTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry.setAccessibleName(String s) Uses ofString injavax.swing.text
Fields injavax.swing.text declared asStringModifier and TypeFieldDescriptionJTextComponent.KeyBinding.actionNameThe name of the action for the key.static finalStringDefaultEditorKit.backwardActionName of the Action for moving the caretlogically backward one position.protected static finalStringAbstractDocument.BAD_LOCATIONError message to indicate a bad location.static finalStringDefaultEditorKit.beepActionName of the action to create a beep.static finalStringDefaultEditorKit.beginActionName of theActionfor moving the caretto the beginning of the document.static finalStringDefaultEditorKit.beginLineActionName of theActionfor moving the caretto the beginning of a line.static finalStringDefaultEditorKit.beginLineUpActionName of theActionfor moving the caretto the beginning of the current line or up to thebeginning of the previous line if the caret isalready at the beginning of the line.static finalStringDefaultEditorKit.beginParagraphActionName of theActionfor moving the caretto the beginning of a paragraph.static finalStringDefaultEditorKit.beginWordActionName of theActionfor moving the caretto the beginning of a word.static finalStringAbstractDocument.BidiElementNameName of elements used to hold a unidirectional runstatic finalStringStyleConstants.ComponentElementNameName of elements used to represent components.static finalStringAbstractDocument.ContentElementNameName of elements used to represent contentstatic finalStringDefaultEditorKit.copyActionName of the action to copy the selected regionand place the contents into the system clipboard.static finalStringDefaultEditorKit.cutActionName of the action to cut the selected regionand place the contents into the system clipboard.static finalStringJTextComponent.DEFAULT_KEYMAPThe default keymap that will be shared by allJTextComponentinstances unless theyhave had a different keymap set.static finalStringStyleContext.DEFAULT_STYLEThe name given to the default logical style attachedto paragraphs.static finalStringDefaultEditorKit.defaultKeyTypedActionName of the action that is executed by default ifakey typed event is received and thereis no keymap entry.static finalStringDefaultEditorKit.deleteNextCharActionName of the action to delete the character of content thatfollows the current caret position.static finalStringDefaultEditorKit.deleteNextWordActionName of the action to delete the word thatfollows the beginning of the selection.static finalStringDefaultEditorKit.deletePrevCharActionName of the action to delete the character of content thatprecedes the current caret position.static finalStringDefaultEditorKit.deletePrevWordActionName of the action to delete the word thatprecedes the beginning of the selection.static finalStringDefaultEditorKit.downActionName of the Action for moving the caretlogically downward one position.static finalStringAbstractDocument.ElementNameAttributeName of the attribute used to specify elementnames.static finalStringDefaultEditorKit.endActionName of theActionfor moving the caretto the end of the document.static finalStringDefaultEditorKit.endLineActionName of theActionfor moving the caretto the end of a line.static finalStringDefaultEditorKit.endLineDownActionName of theActionfor moving the caretto the end of the current line or down to theend of the next line if the caret is alreadyat the end of the line.static finalStringDefaultEditorKit.EndOfLineStringPropertyWhen reading a document if a CRLF is encountered a propertywith this name is added and the value will be "\r\n".static finalStringDefaultEditorKit.endParagraphActionName of theActionfor moving the caretto the end of a paragraph.static finalStringDefaultEditorKit.endWordActionName of the Action for moving the caretto the end of a word.static finalStringJTextComponent.FOCUS_ACCELERATOR_KEYThe bound property name for the focus accelerator.static finalStringDefaultEditorKit.forwardActionName of the Action for moving the caretlogically forward one position.static finalStringStyleConstants.IconElementNameName of elements used to represent icons.static finalStringDefaultEditorKit.insertBreakActionName of the action to place a line/paragraph break intothe document.static finalStringDefaultEditorKit.insertContentActionName of the action to place content into the associateddocument.static finalStringDefaultEditorKit.insertTabActionName of the action to place a tab character intothe document.static finalStringPlainDocument.lineLimitAttributeName of the attribute that specifies the maximumlength of a line, if there is a maximum length.static finalStringDefaultEditorKit.nextWordActionName of theActionfor moving the caret to thebeginning of the next word.static finalStringDefaultEditorKit.pageDownActionName of the action to page down vertically.static finalStringDefaultEditorKit.pageUpActionName of the action to page up vertically.static finalStringAbstractDocument.ParagraphElementNameName of elements used to represent paragraphsstatic finalStringDefaultEditorKit.pasteActionName of the action to paste the contents of thesystem clipboard into the selected region, or before thecaret if nothing is selected.static finalStringDefaultEditorKit.previousWordActionName of theActionfor moving the caret to thebeginning of the previous word.static finalStringDefaultEditorKit.readOnlyActionName of the action to set the editor into read-onlymode.static finalStringAbstractDocument.SectionElementNameName of elements used to hold sections (lines/paragraphs).static finalStringDefaultEditorKit.selectAllActionName of the Action for selecting the entire documentstatic finalStringDefaultEditorKit.selectionBackwardActionName of the Action for extending the selectionby moving the caret logically backward one position.static finalStringDefaultEditorKit.selectionBeginActionName of theActionfor moving the caretto the beginning of the document.static finalStringDefaultEditorKit.selectionBeginLineActionName of theActionfor moving the caretto the beginning of a line, extending the selection.static finalStringDefaultEditorKit.selectionBeginParagraphActionName of theActionfor moving the caretto the beginning of a paragraph, extending the selection.static finalStringDefaultEditorKit.selectionBeginWordActionName of theActionfor moving the caretto the beginning of a word, extending the selection.static finalStringDefaultEditorKit.selectionDownActionName of the Action for moving the caretlogically downward one position, extending the selection.static finalStringDefaultEditorKit.selectionEndActionName of the Action for moving the caretto the end of the document.static finalStringDefaultEditorKit.selectionEndLineActionName of theActionfor moving the caretto the end of a line, extending the selection.static finalStringDefaultEditorKit.selectionEndParagraphActionName of theActionfor moving the caretto the end of a paragraph, extending the selection.static finalStringDefaultEditorKit.selectionEndWordActionName of the Action for moving the caretto the end of a word, extending the selection.static finalStringDefaultEditorKit.selectionForwardActionName of the Action for extending the selectionby moving the caret logically forward one position.static finalStringDefaultEditorKit.selectionNextWordActionName of theActionfor moving the selection to thebeginning of the next word, extending the selection.static finalStringDefaultEditorKit.selectionPreviousWordActionName of theActionfor moving the selection to thebeginning of the previous word, extending the selection.static finalStringDefaultEditorKit.selectionUpActionName of the Action for moving the caretlogically upward one position, extending the selection.static finalStringDefaultEditorKit.selectLineActionName of the Action for selecting a line around the caret.static finalStringDefaultEditorKit.selectParagraphActionName of the Action for selecting a paragraph around the caret.static finalStringDefaultEditorKit.selectWordActionName of the Action for selecting a word around the caret.static finalStringDocument.StreamDescriptionPropertyThe property name for the description of the streamused to initialize the document.static finalStringPlainDocument.tabSizeAttributeName of the attribute that specifies the tabsize for tabs contained in the content.static finalStringDocument.TitlePropertyThe property name for the title of the document, ifthere is one.static finalStringDefaultEditorKit.upActionName of the Action for moving the caretlogically upward one position.static finalStringDefaultEditorKit.writableActionName of the action to set the editor into writeablemode.Methods injavax.swing.text that returnStringModifier and TypeMethodDescriptionJTextComponent.AccessibleJTextComponent.getAccessibleActionDescription(int i) Returns a description of the specified action of the object.JTextComponent.AccessibleJTextComponent.getAfterIndex(int part, int index) Returns the String after a given index.JTextComponent.AccessibleJTextComponent.getAtIndex(int part, int index) Returns the String at a given index.JTextComponent.AccessibleJTextComponent.getBeforeIndex(int part, int index) Returns the String before a given index.ChangedCharSetException.getCharSetSpec()Returns the char set specification.DefaultEditorKit.getContentType()Gets the MIME type of the data that thiskit represents support for.abstractStringEditorKit.getContentType()Gets the MIME type of the data that thiskit represents support for.staticStringStyleConstants.getFontFamily(AttributeSet a) Gets the font family setting from the attribute list.MaskFormatter.getInvalidCharacters()Returns the characters that are not valid for input.AbstractWriter.getLineSeparator()Returns the string used to represent newlines.MaskFormatter.getMask()Returns the formatting mask.AbstractDocument.AbstractElement.getName()Gets the name of the element.AbstractDocument.BranchElement.getName()Gets the element name.AbstractDocument.LeafElement.getName()Gets the element name.DefaultStyledDocument.SectionElement.getName()Gets the name of the element.Element.getName()Fetches the name of the element.Keymap.getName()Fetches the name of the set of key-bindings.Style.getName()Fetches the name of the style.StyleContext.NamedStyle.getName()Fetches the name of the style.MaskFormatter.getPlaceholder()Returns the String to use if the value does not completely fillin the mask.AbstractDocument.DefaultDocumentEvent.getPresentationName()Provides a localized, human readable description of this editsuitable for use in, say, a change log.AbstractDocument.DefaultDocumentEvent.getRedoPresentationName()Provides a localized, human readable description of the redoableform of this edit, e.g. for use as a Redo menu item.JTextComponent.AccessibleJTextComponent.getSelectedText()Returns the portion of the text that is selected.JTextComponent.getSelectedText()Returns the selected text contained in thisTextComponent.AbstractDocument.Content.getString(int where, int len) Fetches a string of characters contained in the sequence.GapContent.getString(int where, int len) Retrieves a portion of the content.StringContent.getString(int where, int len) Retrieves a portion of the content.AbstractDocument.getText(int offset, int length) Gets a sequence of text from the document.protectedStringReturns the text associated with the element.Document.getText(int offset, int length) Fetches the text contained within the given portionof the document.JTextComponent.getText()Returns the text contained in thisTextComponent.JTextComponent.getText(int offs, int len) Fetches a portion of the text represented by thecomponent.JTextComponent.AccessibleJTextComponent.getTextRange(int startIndex, int endIndex) Returns the text string between two indices.JTextComponent.getToolTipText(MouseEvent event) Returns the string to be used as the tooltip forevent.View.getToolTipText(float x, float y,Shape allocation) Returns the tooltip text at the specified location.AbstractDocument.DefaultDocumentEvent.getUndoPresentationName()Provides a localized, human readable description of the undoableform of this edit, e.g. for use as an Undo menu item.MaskFormatter.getValidCharacters()Returns the valid characters that can be input.protectedStringJTextComponent.paramString()Returns a string representation of thisJTextComponent.AbstractDocument.BranchElement.toString()Converts the element to a string.AbstractDocument.DefaultDocumentEvent.toString()Returns a string description of the change event.AbstractDocument.LeafElement.toString()Converts the element to a string.DefaultStyledDocument.ElementSpec.toString()Converts the element to a string.JTextComponent.DropLocation.toString()Returns a string representation of this drop location.Position.Bias.toString()string representationSegment.toString()Converts a segment into a String.SimpleAttributeSet.toString()Converts the attribute set to a String.StyleConstants.toString()Returns the string representation.StyleContext.NamedStyle.toString()Converts the style to a string.StyleContext.SmallAttributeSet.toString()Returns a string showing the key/value pairs.StyleContext.toString()Converts a StyleContext to a String.TabSet.toString()Returns the string representation of the set of tabs.DefaultFormatter.valueToString(Object value) Converts the passed in Object into a String by way of thetoStringmethod.InternationalFormatter.valueToString(Object value) Returns a String representation of the Objectvalue.MaskFormatter.valueToString(Object value) Returns a String representation of the Objectvaluebased on the mask.Methods injavax.swing.text with parameters of typeStringModifier and TypeMethodDescriptionstaticKeymapAdds a new keymap into the keymap hierarchy.Adds a new style into the logical style hierarchy.Adds a new style into the style hierarchy.Adds a new style into the logical style hierarchy.Gets a new font.staticKeymapFetches a named keymap previously added to the document.Fetches a named style previously added.Fetches a named style previously added to the documentFetches a named style previously added.AbstractDocument.Content.insertString(int where,String str) Inserts a string of characters into the sequence.voidAbstractDocument.insertString(int offs,String str,AttributeSet a) Inserts some content into the document.voidDocument.insertString(int offset,String str,AttributeSet a) Inserts a string of content.abstract voidDocumentFilter.FilterBypass.insertString(int offset,String string,AttributeSet attr) Inserts the specified text, bypassing theDocumentFilter.voidDocumentFilter.insertString(DocumentFilter.FilterBypass fb, int offset,String string,AttributeSet attr) Invoked prior to insertion of text into thespecified Document.GapContent.insertString(int where,String str) Inserts a string into the content.voidPlainDocument.insertString(int offs,String str,AttributeSet a) Inserts some content into the document.StringContent.insertString(int where,String str) Inserts a string into the content.voidJTextComponent.AccessibleJTextComponent.insertTextAtIndex(int index,String s) Inserts the specified string at the given indexstaticKeymapJTextComponent.removeKeymap(String nm) Removes a named keymap previously added to the document.voidDefaultStyledDocument.removeStyle(String nm) Removes a named style previously added to the document.voidStyleContext.removeStyle(String nm) Removes a named style previously added to the document.voidStyledDocument.removeStyle(String nm) Removes a named style previously added to the document.voidAbstractDocument.replace(int offset, int length,String text,AttributeSet attrs) Deletes the region of text fromoffsettooffset + length, and replaces it withtext.abstract voidDocumentFilter.FilterBypass.replace(int offset, int length,String string,AttributeSet attrs) Deletes the region of text fromoffsettooffset + length, and replaces it withtext.voidDocumentFilter.replace(DocumentFilter.FilterBypass fb, int offset, int length,String text,AttributeSet attrs) Invoked prior to replacing a region of text in thespecified Document.voidJTextComponent.replaceSelection(String content) Replaces the currently selected content with new contentrepresented by the given string.voidJTextComponent.AccessibleJTextComponent.replaceText(int startIndex, int endIndex,String s) Replaces the text between two indices with the specifiedstring.static voidStyleConstants.setFontFamily(MutableAttributeSet a,String fam) Sets the font attribute.voidMaskFormatter.setInvalidCharacters(String invalidCharacters) Allows for further restricting of the characters that can be input.voidAbstractWriter.setLineSeparator(String value) Sets the String used to represent newlines.voidSets the mask dictating the legal characters.voidChanges the name of the style.voidMaskFormatter.setPlaceholder(String placeholder) Sets the string to use if the value does not completely fill inthe mask.voidSets the text of thisTextComponentto the specified text.voidJTextComponent.AccessibleJTextComponent.setTextContents(String s) Sets the text contents to the specified string.voidMaskFormatter.setValidCharacters(String validCharacters) Allows for further restricting of the characters that can be input.DefaultFormatter.stringToValue(String string) Converts the passed in String into an instance ofgetValueClassby way of the constructor thattakes a String argument.InternationalFormatter.stringToValue(String text) Returns theObjectrepresentation of theStringtext.MaskFormatter.stringToValue(String value) Parses the text, returning the appropriate Object representation ofthe Stringvalue.protected voidWrites out a string.Constructors injavax.swing.text with parameters of typeStringModifierConstructorDescriptionAlignmentAction(String nm, int a) Creates a new AlignmentAction.BadLocationException(String s, int offs) Creates a new BadLocationException object.ChangedCharSetException(String charSetSpec, boolean charSetKey) Constructs aChangedCharSetException.FontFamilyAction(String nm,String family) Creates a new FontFamilyAction.FontSizeAction(String nm, int size) Creates a new FontSizeAction.ForegroundAction(String nm,Color fg) Creates a new ForegroundAction.KeyBinding(KeyStroke key,String actionName) Creates a new key binding.MaskFormatter(String mask) Creates aMaskFormatterwith the specified mask.NamedStyle(String name,Style parent) Creates a new named style.Creates a new StyledTextAction from a string action name.TextAction(String name) Creates a new JTextAction object.Uses ofString injavax.swing.text.html
Fields injavax.swing.text.html declared asStringModifier and TypeFieldDescriptionstatic finalStringHTMLDocument.AdditionalCommentsDocument property key value.static finalStringHTMLEditorKit.BOLD_ACTIONThe bold action identifierstatic finalStringHTMLEditorKit.COLOR_ACTIONThe Color choice action identifier The color is passed as an argumentstatic finalStringHTMLEditorKit.DEFAULT_CSSDefault Cascading Style Sheet file that setsup the tag views.static finalStringHTMLEditorKit.FONT_CHANGE_BIGGERThe font size increase to next value action identifierstatic finalStringHTMLEditorKit.FONT_CHANGE_SMALLERThe font size decrease to next value action identifierprotectedStringHTMLEditorKit.InsertHTMLTextAction.htmlHTML to insert.static finalStringHTMLEditorKit.IMG_ALIGN_BOTTOMAlign images at the bottom.static finalStringHTMLEditorKit.IMG_ALIGN_MIDDLEAlign images in the middle.static finalStringHTMLEditorKit.IMG_ALIGN_TOPAlign images at the top.static finalStringHTMLEditorKit.IMG_BORDERAlign images at the border.static finalStringHTMLEditorKit.ITALIC_ACTIONThe italic action identifierstatic finalStringHTMLEditorKit.LOGICAL_STYLE_ACTIONThe logical style choice action identifier The logical style is passed in as an argumentstatic finalStringHTML.NULL_ATTRIBUTE_VALUENULL_ATTRIBUTE_VALUEused in cases where the value for the attribute has notbeen specified.static finalStringHTMLEditorKit.PARA_INDENT_LEFTThe paragraph left indent action identifierstatic finalStringHTMLEditorKit.PARA_INDENT_RIGHTThe paragraph right indent action identifierstatic finalStringFormView.RESETDeprecated.As of 1.3, value comes from UIManager UIManager property FormView.resetButtonTextstatic finalStringFormView.SUBMITDeprecated.As of 1.3, value now comes from UIManager property FormView.submitButtonTextMethods injavax.swing.text.html that returnStringModifier and TypeMethodDescriptionImageView.getAltText()Returns the text to display if the image cannot be loaded.HTMLEditorKit.getContentType()Get the MIME type of the data that thiskit represents support for.FormSubmitEvent.getData()Gets the form submission data.CSS.Attribute.getDefaultValue()Fetch the default value for the attribute.Option.getLabel()Fetch the label associated with the option.HTMLDocument.BlockElement.getName()Gets the name of the element.HTMLDocument.RunElement.getName()Gets the name of the element.HTMLFrameHyperlinkEvent.getTarget()returns the target for the link.ImageView.getToolTipText(float x, float y,Shape allocation) For images the tooltip text comes from text specified with theALTattribute.Option.getValue()Convenient method to return the string associatedwith thevalueattribute.CSS.Attribute.toString()The string representation of the attribute.HTML.Attribute.toString()Returns the string representation of this attribute.HTML.Tag.toString()Returns the string representation of thetag.Option.toString()String representation is the label.Methods injavax.swing.text.html with parameters of typeStringModifier and TypeMethodDescriptionvoidStyleSheet.addCSSAttribute(MutableAttributeSet attr,CSS.Attribute key,String value) Adds a CSS attribute to the given set.booleanStyleSheet.addCSSAttributeFromHTML(MutableAttributeSet attr,CSS.Attribute key,String value) Adds a CSS attribute to the given set.voidAdds a set of rules to the sheet.static finalCSS.AttributeCSS.getAttribute(String name) Translates a string to aCSS.Attributeobject.staticHTML.AttributeHTML.getAttributeKey(String attName) Fetches an attribute constant for a well-known attribute name(i.e. one of the attributes in the set {FACE, COMMENT, SIZE,COLOR, CLEAR, BACKGROUND, BGCOLOR, TEXT, LINK, VLINK, ALINK,WIDTH, HEIGHT, ALIGN, NAME, HREF, REL, REV, TITLE, TARGET,SHAPE, COORDS, ISMAP, NOHREF, ALT, ID, SRC, HSPACE, VSPACE,USEMAP, LOWSRC, CODEBASE, CODE, ARCHIVE, VALUE, VALUETYPE,TYPE, CLASS, STYLE, LANG, DIR, DECLARE, CLASSID, DATA, CODETYPE,STANDBY, BORDER, SHAPES, NOSHADE, COMPACT, START, ACTION, METHOD,ENCTYPE, CHECKED, MAXLENGTH, MULTIPLE, SELECTED, ROWS, COLS,DUMMY, CELLSPACING, CELLPADDING, VALIGN, HALIGN, NOWRAP, ROWSPAN,COLSPAN, PROMPT, HTTPEQUIV, CONTENT, LANGUAGE, VERSION, N,FRAMEBORDER, MARGINWIDTH, MARGINHEIGHT, SCROLLING, NORESIZE,MEDIA, ENDTAG}).StyleSheet.getDeclaration(String decl) Translates a CSS declaration to an AttributeSet that representsthe CSS declaration.HTMLDocument.getElement(String id) Returns the element that has the given idAttribute.floatStyleSheet.getPointSize(String size) Given a string such as "+2", "-2", or "2", returns a point size value.Fetches the rule that best matches the selector givenin string form.staticHTML.TagFetches a tag constant for a well-known tag name (i.e. one ofthe tags in the set {A, ADDRESS, APPLET, AREA, B,BASE, BASEFONT, BIG,BLOCKQUOTE, BODY, BR, CAPTION, CENTER, CITE, CODE,DD, DFN, DIR, DIV, DL, DT, EM, FONT, FORM, FRAME,FRAMESET, H1, H2, H3, H4, H5, H6, HEAD, HR, HTML,I, IMG, INPUT, ISINDEX, KBD, LI, LINK, MAP, MENU,META, NOBR, NOFRAMES, OBJECT, OL, OPTION, P, PARAM,PRE, SAMP, SCRIPT, SELECT, SMALL, SPAN, STRIKE, S,STRONG, STYLE, SUB, SUP, TABLE, TD, TEXTAREA,TH, TITLE, TR, TT, U, UL, VAR}.voidHTMLDocument.HTMLReader.handleEndOfLineString(String eol) This is invoked after the stream has been parsed, but beforeflush.voidHTMLEditorKit.ParserCallback.handleEndOfLineString(String eol) This is invoked after the stream has been parsed, but beforeflush.voidHTMLEditorKit.ParserCallback.handleError(String errorMsg, int pos) Callback from the parser.protected voidFormView.imageSubmit(String imageData) This method is called to submit a form in responseto a click on an image -- an <INPUT> formelement of type "image".voidHTMLDocument.insertAfterEnd(Element elem,String htmlText) Inserts the HTML specified as a string after the end of thegiven element.voidHTMLDocument.insertAfterStart(Element elem,String htmlText) Inserts the HTML specified as a string at the startof the element.protected voidHTMLEditorKit.InsertHTMLTextAction.insertAtBoundary(JEditorPane editor,HTMLDocument doc, int offset,Element insertElement,String html,HTML.Tag parentTag,HTML.Tag addTag) This is invoked when inserting at a boundary.protected voidHTMLEditorKit.InsertHTMLTextAction.insertAtBoundry(JEditorPane editor,HTMLDocument doc, int offset,Element insertElement,String html,HTML.Tag parentTag,HTML.Tag addTag) Deprecated.As of Java 2 platform v1.3, use insertAtBoundaryvoidHTMLDocument.insertBeforeEnd(Element elem,String htmlText) Inserts the HTML specified as a string at the end ofthe element.voidHTMLDocument.insertBeforeStart(Element elem,String htmlText) Inserts the HTML specified as a string before the start ofthe given element.voidHTMLEditorKit.insertHTML(HTMLDocument doc, int offset,String html, int popDepth, int pushDepth,HTML.Tag insertTag) Inserts HTML into an existing document.protected voidHTMLEditorKit.InsertHTMLTextAction.insertHTML(JEditorPane editor,HTMLDocument doc, int offset,String html, int popDepth, int pushDepth,HTML.Tag addTag) A cover for HTMLEditorKit.insertHTML.voidStyleSheet.removeStyle(String nm) Removes a named style previously added to the document.voidStyleSheet.setBaseFontSize(String size) Sets the base font size from the passed in String.voidHTMLDocument.setInnerHTML(Element elem,String htmlText) Replaces the children of the given element with the contentsspecified as an HTML string.voidSets the label to be used for the option.voidHTMLDocument.setOuterHTML(Element elem,String htmlText) Replaces the given element in the parent with the contentsspecified as an HTML string.protected voidMinimalHTMLWriter.startFontTag(String style) This is no longer used, instead <span> will be written out.StyleSheet.stringToColor(String string) Converts a color string such as "RED" or "#NNNNNN" to a Color.protected voidFormView.submitData(String data) This method is responsible for submitting the form data.Returns the enum constant of this class with the specified name.protected voidMinimalHTMLWriter.writeEndTag(String endTag) Writes out an end tag appropriatelyindented.protected voidMinimalHTMLWriter.writeStartTag(String tag) Writes out a start tag appropriatelyindented.Constructors injavax.swing.text.html with parameters of typeStringModifierConstructorDescriptionHTMLFrameHyperlinkEvent(Object source,HyperlinkEvent.EventType type,URL targetURL,String targetFrame) Creates a new object representing a html framehypertext link event.HTMLFrameHyperlinkEvent(Object source,HyperlinkEvent.EventType type,URL targetURL,String desc,String targetFrame) Creates a new object representing a hypertext link event.HTMLFrameHyperlinkEvent(Object source,HyperlinkEvent.EventType type,URL targetURL,String desc,Element sourceElement,InputEvent inputEvent,String targetFrame) Creates a new object representing a hypertext link event.HTMLFrameHyperlinkEvent(Object source,HyperlinkEvent.EventType type,URL targetURL,String desc,Element sourceElement,String targetFrame) Creates a new object representing a hypertext link event.HTMLFrameHyperlinkEvent(Object source,HyperlinkEvent.EventType type,URL targetURL,Element sourceElement,String targetFrame) Creates a new object representing a hypertext link event.HTMLTextAction(String name) Creates a new HTMLTextAction from a string action name.InsertHTMLTextAction(String name,String html,HTML.Tag parentTag,HTML.Tag addTag) Creates a new InsertHTMLTextAction.InsertHTMLTextAction(String name,String html,HTML.Tag parentTag,HTML.Tag addTag,HTML.Tag alternateParentTag,HTML.Tag alternateAddTag) Creates a new InsertHTMLTextAction.protectedCreates a newTagwith the specifiedid,and withcausesBreakandisBlockset tofalse.protectedCreates a newTagwith the specifiedid;causesBreakandisBlockare definedby the user.UnknownTag(String id) Creates a newUnknownTagwith the specifiedid.Uses ofString injavax.swing.text.html.parser
Fields injavax.swing.text.html.parser declared asStringModifier and TypeFieldDescriptionAttributeList.nameThe attribute nameDTD.namethe name of the DTDElement.nameThe name of the elementEntity.nameThe name of the entity.AttributeList.valueThe default attribute valueFields injavax.swing.text.html.parser with type parameters of typeStringModifier and TypeFieldDescriptionDTD.elementHashThe hash table contains the name of element andthe corresponding element.Methods injavax.swing.text.html.parser that returnStringModifier and TypeMethodDescriptionAttributeList.getName()Returns the attribute name.DTD.getName()Gets the name of the DTD.Element.getName()Get the name of the element.Entity.getName()Gets the name of the entity.Entity.getString()Returns the data as aString.AttributeList.getValue()Returns default attribute value.Parser.parseDTDMarkup()Parses the Document Type Declaration markup declaration.AttributeList.toString()ContentModel.toString()Convert to a string.DTD.toString()Returns a string representation of this DTD.Element.toString()Convert to a string.staticStringAttributeList.type2name(int tp) Converts a type to the attribute nameMethods injavax.swing.text.html.parser with parameters of typeStringModifier and TypeMethodDescriptionprotected staticDTDRecreates a DTD from an archived format with the specifiedname.protectedAttributeListDTD.defAttributeList(String name, int type, int modifier,String value,String values,AttributeList atts) Creates and returns anAttributeListresponding to a new attribute.protectedElementDTD.defElement(String name, int type, boolean omitStart, boolean omitEnd,ContentModel content,String[] exclusions,String[] inclusions,AttributeList atts) Creates and returns anElement.Creates and returns a characterEntity.protectedEntityCreates and returns anEntity.voidDTD.defineAttributes(String name,AttributeList atts) Defines attributes for anElement.DTD.defineElement(String name, int type, boolean omitStart, boolean omitEnd,ContentModel content,BitSet exclusions,BitSet inclusions,AttributeList atts) Returns theElementwhich matches thespecified parameters.DTD.defineEntity(String name, int type, char[] data) Defines an entity.protected voidInvokes the error handler with the 1st, 2nd and 3rd error message argument "?".protected voidInvokes the error handler with the 2nd and 3rd error message argument "?".protected voidInvokes the error handler with the 3rd error message argument "?".protected voidInvokes the error handler.Element.getAttribute(String name) Get an attribute by name.Element.getAttributeByValue(String value) Get an attribute by value.staticDTDReturns a DTD with the specifiedname.DTD.getElement(String name) Gets an element by name.Gets an entity by name.protected voidParser.handleError(int ln,String msg) An error has occurred.static intConverts an attribute name to the typestatic intConvertsnmto type.static intConvertsnmstring to the correspondingentity type.static voidDTD.putDTDHash(String name,DTD dtd) Put a name and appropriate DTD to hashtable.Constructors injavax.swing.text.html.parser with parameters of typeStringModifierConstructorDescriptionAttributeList(String name) Create an attribute list element.AttributeList(String name, int type, int modifier,String value,Vector<?> values,AttributeList next) Create an attribute list element.protectedCreates a new DTD with the specified name.Creates an entity.Uses ofString injavax.swing.text.rtf
Methods injavax.swing.text.rtf that returnStringModifier and TypeMethodDescriptionRTFEditorKit.getContentType()Get the MIME type of the data that thiskit represents support for.Uses ofString injavax.swing.tree
Fields injavax.swing.tree declared asStringModifier and TypeFieldDescriptionstatic finalStringDefaultTreeSelectionModel.SELECTION_MODE_PROPERTYProperty name for selectionMode.Methods injavax.swing.tree that returnStringModifier and TypeMethodDescriptionDefaultMutableTreeNode.toString()Returns the result of sendingtoString()to this node'suser object, or the empty string if the node has no user object.DefaultTreeSelectionModel.toString()Returns a string that displays and identifies thisobject's properties.TreePath.toString()Returns a string that displays and identifies thisobject's properties.Methods injavax.swing.tree with parameters of typeStringModifier and TypeMethodDescriptionvoidDefaultTreeCellRenderer.firePropertyChange(String propertyName, boolean oldValue, boolean newValue) Overridden for performance reasons.voidDefaultTreeCellRenderer.firePropertyChange(String propertyName, byte oldValue, byte newValue) Overridden for performance reasons.voidDefaultTreeCellRenderer.firePropertyChange(String propertyName, char oldValue, char newValue) Overridden for performance reasons.voidDefaultTreeCellRenderer.firePropertyChange(String propertyName, double oldValue, double newValue) Overridden for performance reasons.voidDefaultTreeCellRenderer.firePropertyChange(String propertyName, float oldValue, float newValue) Overridden for performance reasons.voidDefaultTreeCellRenderer.firePropertyChange(String propertyName, int oldValue, int newValue) Overridden for performance reasons.voidDefaultTreeCellRenderer.firePropertyChange(String propertyName, long oldValue, long newValue) Overridden for performance reasons.voidDefaultTreeCellRenderer.firePropertyChange(String propertyName, short oldValue, short newValue) Overridden for performance reasons.protected voidDefaultTreeCellRenderer.firePropertyChange(String propertyName,Object oldValue,Object newValue) Overridden for performance reasons.Constructors injavax.swing.tree with parameters of typeStringModifierConstructorDescriptionExpandVetoException(TreeExpansionEvent event,String message) Constructs an ExpandVetoException object with the specified message.Uses ofString injavax.swing.undo
Fields injavax.swing.undo declared asStringModifier and TypeFieldDescriptionprotected static finalStringStateEdit.RCSIDObsolete RCS version identity.static finalStringStateEditable.RCSIDResource ID for this class.protected static finalStringAbstractUndoableEdit.RedoNameString returned bygetRedoPresentationName;as of Java 2 platform v1.3.1 this field is no longer used.protected static finalStringAbstractUndoableEdit.UndoNameString returned bygetUndoPresentationName;as of Java 2 platform v1.3.1 this field is no longer used.protectedStringStateEdit.undoRedoNameThe undo/redo presentation nameMethods injavax.swing.undo that returnStringModifier and TypeMethodDescriptionAbstractUndoableEdit.getPresentationName()This default implementation returns "".CompoundEdit.getPresentationName()ReturnsgetPresentationNamefrom thelastUndoableEditadded toedits.StateEdit.getPresentationName()Gets the presentation name for this editUndoableEdit.getPresentationName()Returns a localized, human-readable description of this edit, suitablefor use in a change log, for example.AbstractUndoableEdit.getRedoPresentationName()Retrieves the value from the defaults table with keyAbstractUndoableEdit.redoTextand returnsthat value followed by a space, followed bygetPresentationName.CompoundEdit.getRedoPresentationName()ReturnsgetRedoPresentationNamefrom the lastUndoableEditadded toedits.UndoableEdit.getRedoPresentationName()Returns a localized, human-readable description of the redoable form ofthis edit, suitable for use as a Redo menu item, for example.UndoManager.getRedoPresentationName()Returns a description of the redoable form of this edit.UndoManager.getUndoOrRedoPresentationName()Convenience method that returns eithergetUndoPresentationNameorgetRedoPresentationName.AbstractUndoableEdit.getUndoPresentationName()Retrieves the value from the defaults table with keyAbstractUndoableEdit.undoTextand returnsthat value followed by a space, followed bygetPresentationName.CompoundEdit.getUndoPresentationName()ReturnsgetUndoPresentationNamefrom the lastUndoableEditadded toedits.UndoableEdit.getUndoPresentationName()Returns a localized, human-readable description of the undoable form ofthis edit, suitable for use as an Undo menu item, for example.UndoManager.getUndoPresentationName()Returns a description of the undoable form of this edit.AbstractUndoableEdit.toString()Returns a string that displays and identifies thisobject's properties.CompoundEdit.toString()Returns a string that displays and identifies thisobject's properties.UndoableEditSupport.toString()Returns a string that displays and identifies thisobject's properties.UndoManager.toString()Returns a string that displays and identifies thisobject's properties.Methods injavax.swing.undo with parameters of typeStringModifier and TypeMethodDescriptionprotected voidStateEdit.init(StateEditable anObject,String name) Initialize the state edit.Constructors injavax.swing.undo with parameters of typeStringModifierConstructorDescriptionStateEdit(StateEditable anObject,String name) Create and return a new StateEdit with a presentation name.Uses ofString injavax.tools
Fields injavax.tools declared asStringModifier and TypeFieldDescriptionfinalStringJavaFileObject.Kind.extensionThe extension which (by convention) is normally used forthis kind of file object.Methods injavax.tools that returnStringModifier and TypeMethodDescriptionDiagnostic.getCode()Returns a diagnostic code indicating the type of diagnostic.Diagnostic.getMessage(Locale locale) Returns a localized message for the given locale.DocumentationTool.Location.getName()FileObject.getName()Returns a user-friendly name for this file object.ForwardingFileObject.getName()JavaFileManager.Location.getName()Returns the name of this location.SimpleJavaFileObject.getName()StandardLocation.getName()ForwardingJavaFileManager.inferBinaryName(JavaFileManager.Location location,JavaFileObject file) JavaFileManager.inferBinaryName(JavaFileManager.Location location,JavaFileObject file) Infers a binary name of a file object based on a package-oriented location.ForwardingJavaFileManager.inferModuleName(JavaFileManager.Location location) defaultStringJavaFileManager.inferModuleName(JavaFileManager.Location location) Infer the name of the module from its location, as returned bygetLocationForModuleorlistModuleLocations.defaultStringTool.name()Returns the name of this tool, or an empty string if no name is provided.Methods injavax.tools with parameters of typeStringModifier and TypeMethodDescriptionstaticJavaFileObjectCreates aJavaFileObjectwhich represents the given source content.ForwardingJavaFileManager.getFileForInput(JavaFileManager.Location location,String packageName,String relativeName) JavaFileManager.getFileForInput(JavaFileManager.Location location,String packageName,String relativeName) Returns afile object for inputrepresenting the specifiedrelativename in the specified package in the given package-oriented location.ForwardingJavaFileManager.getFileForOutput(JavaFileManager.Location location,String packageName,String relativeName,FileObject sibling) JavaFileManager.getFileForOutput(JavaFileManager.Location location,String packageName,String relativeName,FileObject sibling) Returns afile object for outputrepresenting the specifiedrelativename in the specified package in the given location.ForwardingJavaFileManager.getFileForOutputForOriginatingFiles(JavaFileManager.Location location,String packageName,String relativeName,FileObject... originatingFiles) Returns afile object for outputrepresenting the specifiedrelativename in the specified package in the given location.defaultFileObjectJavaFileManager.getFileForOutputForOriginatingFiles(JavaFileManager.Location location,String packageName,String relativeName,FileObject... originatingFiles) Returns afile object for outputrepresenting the specifiedrelativename in the specified package in the given location.ForwardingJavaFileManager.getJavaFileForInput(JavaFileManager.Location location,String className,JavaFileObject.Kind kind) JavaFileManager.getJavaFileForInput(JavaFileManager.Location location,String className,JavaFileObject.Kind kind) Returns afile object for inputrepresenting the specified class of the specified kind in thegiven package-oriented location.ForwardingJavaFileManager.getJavaFileForOutput(JavaFileManager.Location location,String className,JavaFileObject.Kind kind,FileObject sibling) JavaFileManager.getJavaFileForOutput(JavaFileManager.Location location,String className,JavaFileObject.Kind kind,FileObject sibling) Returns afile object for outputrepresenting the specified class of the specified kind in thegiven package-oriented location.ForwardingJavaFileManager.getJavaFileForOutputForOriginatingFiles(JavaFileManager.Location location,String className,JavaFileObject.Kind kind,FileObject... originatingFiles) Returns afile object for outputrepresenting the specified class of the specified kind in thegiven package-oriented location.defaultJavaFileObjectJavaFileManager.getJavaFileForOutputForOriginatingFiles(JavaFileManager.Location location,String className,JavaFileObject.Kind kind,FileObject... originatingFiles) Returns afile object for outputrepresenting the specified class of the specified kind in thegiven package-oriented location.Iterable<? extendsJavaFileObject> StandardJavaFileManager.getJavaFileObjects(String... names) Returns file objects representing the given file names.ForwardingJavaFileManager.getLocationForModule(JavaFileManager.Location location,String moduleName) defaultJavaFileManager.LocationJavaFileManager.getLocationForModule(JavaFileManager.Location location,String moduleName) Gets a location for a named module within a location, which may be eithera module-oriented location or an output location.Converts a path string, or a sequence of strings that when joined form a path string, to a Path.booleanForwardingJavaFileManager.handleOption(String current,Iterator<String> remaining) booleanJavaFileManager.handleOption(String current,Iterator<String> remaining) Handles one option.booleanForwardingJavaFileObject.isNameCompatible(String simpleName,JavaFileObject.Kind kind) booleanJavaFileObject.isNameCompatible(String simpleName,JavaFileObject.Kind kind) Checks if this file object is compatible with the specifiedsimple name and kind.booleanSimpleJavaFileObject.isNameCompatible(String simpleName,JavaFileObject.Kind kind) Checks if this file object is compatible with the specifiedsimple name and kind.intForwardingJavaFileManager.isSupportedOption(String option) intOptionChecker.isSupportedOption(String option) Determines if the given option is supported and if so, thenumber of arguments the option takes.ForwardingJavaFileManager.list(JavaFileManager.Location location,String packageName,Set<JavaFileObject.Kind> kinds, boolean recurse) JavaFileManager.list(JavaFileManager.Location location,String packageName,Set<JavaFileObject.Kind> kinds, boolean recurse) Lists all file objects matching the given criteria in the givenpackage-oriented location.staticJavaFileManager.LocationStandardLocation.locationFor(String name) Returns a location object with the given name.intTool.run(InputStream in,OutputStream out,OutputStream err,String... arguments) Run the tool with the given I/O channels and arguments.default voidStandardJavaFileManager.setLocationForModule(JavaFileManager.Location location,String moduleName,Collection<? extendsPath> paths) Associates the given search path with the given module and location,which must be a module-oriented or output location.staticDiagnostic.KindReturns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.staticJavaFileObject.KindReturns the enum constant of this class with the specified name.staticStandardLocationReturns the enum constant of this class with the specified name.Method parameters injavax.tools with type arguments of typeStringModifier and TypeMethodDescriptionvoidDocumentationTool.DocumentationTask.addModules(Iterable<String> moduleNames) Adds root modules to be taken into account during moduleresolution.voidJavaCompiler.CompilationTask.addModules(Iterable<String> moduleNames) Adds root modules to be taken into account during moduleresolution.Iterable<? extendsJavaFileObject> StandardJavaFileManager.getJavaFileObjectsFromStrings(Iterable<String> names) Returns file objects representing the given file names.DocumentationTool.getTask(Writer out,JavaFileManager fileManager,DiagnosticListener<? superJavaFileObject> diagnosticListener,Class<?> docletClass,Iterable<String> options,Iterable<? extendsJavaFileObject> compilationUnits) Creates a future for a documentation task with the givencomponents and arguments.JavaCompiler.getTask(Writer out,JavaFileManager fileManager,DiagnosticListener<? superJavaFileObject> diagnosticListener,Iterable<String> options,Iterable<String> classes,Iterable<? extendsJavaFileObject> compilationUnits) Creates a future for a compilation task with the givencomponents and arguments.booleanForwardingJavaFileManager.handleOption(String current,Iterator<String> remaining) booleanJavaFileManager.handleOption(String current,Iterator<String> remaining) Handles one option.Uses ofString injavax.transaction.xa
Constructors injavax.transaction.xa with parameters of typeStringUses ofString injavax.xml
Modifier and TypeFieldDescriptionstatic finalStringXMLConstants.ACCESS_EXTERNAL_DTDProperty: accessExternalDTDstatic finalStringXMLConstants.ACCESS_EXTERNAL_SCHEMAProperty: accessExternalSchemastatic finalStringXMLConstants.ACCESS_EXTERNAL_STYLESHEETProperty: accessExternalStylesheetstatic finalStringXMLConstants.DEFAULT_NS_PREFIXPrefix to use to represent the default XML Namespace.static finalStringXMLConstants.FEATURE_SECURE_PROCESSINGFeature for secure processing.static finalStringXMLConstants.NULL_NS_URINamespace URI to use to represent that there is no Namespace.static finalStringXMLConstants.RELAXNG_NS_URIRELAX NG Namespace URI.static finalStringXMLConstants.USE_CATALOGFeature: useCatalogstatic finalStringXMLConstants.W3C_XML_SCHEMA_INSTANCE_NS_URIW3C XML Schema Instance Namespace URI.static finalStringXMLConstants.W3C_XML_SCHEMA_NS_URIW3C XML Schema Namespace URI.static finalStringXMLConstants.W3C_XPATH_DATATYPE_NS_URIW3C XPath Datatype Namespace URI.static finalStringXMLConstants.XML_DTD_NS_URIXML Document Type Declaration Namespace URI as an arbitrary value.static finalStringXMLConstants.XML_NS_PREFIXThe official XML Namespace prefix.static finalStringXMLConstants.XML_NS_URIThe official XML Namespace name URI.static finalStringXMLConstants.XMLNS_ATTRIBUTEThe official XML attribute used for specifying XML Namespacedeclarations.static finalStringXMLConstants.XMLNS_ATTRIBUTE_NS_URIThe official XML attribute used for specifying XML Namespacedeclarations,XMLConstants.XMLNS_ATTRIBUTE, Namespace name URI.Uses ofString injavax.xml.catalog
Methods injavax.xml.catalog that returnStringModifier and TypeMethodDescriptionCatalogFeatures.Feature.defaultValue()Returns the default value of the property.CatalogFeatures.get(CatalogFeatures.Feature cf) Returns the value of the specified feature.CatalogFeatures.Feature.getPropertyName()Returns the name of the corresponding System Property.Catalog.matchPublic(String publicId) Attempts to find a matching entry in the catalog by publicId.Catalog.matchSystem(String systemId) Attempts to find a matching entry in the catalog by systemId.Attempts to find a matching entry in the catalog by the uri element.Methods injavax.xml.catalog with parameters of typeStringModifier and TypeMethodDescriptionReturns the action type mapped to the specifiedresolveproperty.Catalog.matchPublic(String publicId) Attempts to find a matching entry in the catalog by publicId.Catalog.matchSystem(String systemId) Attempts to find a matching entry in the catalog by systemId.Attempts to find a matching entry in the catalog by the uri element.Implements URIResolver.CatalogResolver.resolveEntity(String publicId,String systemId) ImplementsEntityResolver.CatalogResolver.resolveEntity(String publicId,String systemId,String baseUri,String namespace) ImplementsXMLResolver.CatalogResolver.resolveResource(String type,String namespaceUri,String publicId,String systemId,String baseUri) ImplementsLSResourceResolver.staticCatalogFeatures.FeatureReturns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.CatalogFeatures.Builder.with(CatalogFeatures.Feature feature,String value) Sets the value to a specified Feature.Constructors injavax.xml.catalog with parameters of typeStringModifierConstructorDescriptionCatalogException(String message) Constructs a new CatalogException with the specified detail message.CatalogException(String message,Throwable cause) Constructs a new CatalogException with the specified detail message andcause.Uses ofString injavax.xml.crypto
Methods injavax.xml.crypto that returnStringModifier and TypeMethodDescriptionAlgorithmMethod.getAlgorithm()Returns the algorithm URI of thisAlgorithmMethod.XMLCryptoContext.getBaseURI()Returns the base URI.XMLCryptoContext.getDefaultNamespacePrefix()Returns the default namespace prefix.OctetStreamData.getMimeType()Returns the MIME type associated with the data object represented by thisOctetStreamData.XMLCryptoContext.getNamespacePrefix(String namespaceURI,String defaultPrefix) Returns the namespace prefix that the specified namespace URI isassociated with.URIReference.getType()Returns the type of data referenced by this URI.OctetStreamData.getURI()Returns the URI String identifying the data object represented by thisOctetStreamData.URIReference.getURI()Returns the URI of the referenced data object.XMLCryptoContext.putNamespacePrefix(String namespaceURI,String prefix) Maps the specified namespace URI to the specified prefix.KeySelector.Purpose.toString()Returns a string representation of this purpose ("sign","verify", "encrypt", or "decrypt").Methods injavax.xml.crypto with parameters of typeStringModifier and TypeMethodDescriptionXMLCryptoContext.getNamespacePrefix(String namespaceURI,String defaultPrefix) Returns the namespace prefix that the specified namespace URI isassociated with.XMLCryptoContext.getProperty(String name) Returns the value of the specified property.booleanXMLStructure.isFeatureSupported(String feature) Indicates whether a specified feature is supported.XMLCryptoContext.putNamespacePrefix(String namespaceURI,String prefix) Maps the specified namespace URI to the specified prefix.voidXMLCryptoContext.setBaseURI(String baseURI) Sets the base URI.voidXMLCryptoContext.setDefaultNamespacePrefix(String defaultPrefix) Sets the default namespace prefix.XMLCryptoContext.setProperty(String name,Object value) Sets the specified property.Constructors injavax.xml.crypto with parameters of typeStringModifierConstructorDescriptionKeySelectorException(String message) Constructs a newKeySelectorExceptionwith the specifieddetail message.KeySelectorException(String message,Throwable cause) Constructs a newKeySelectorExceptionwith thespecified detail message and cause.MarshalException(String message) Constructs a newMarshalExceptionwith the specifieddetail message.MarshalException(String message,Throwable cause) Constructs a newMarshalExceptionwith thespecified detail message and cause.NoSuchMechanismException(String message) Constructs a newNoSuchMechanismExceptionwith thespecified detail message.NoSuchMechanismException(String message,Throwable cause) Constructs a newNoSuchMechanismExceptionwith thespecified detail message and cause.OctetStreamData(InputStream octetStream,String uri,String mimeType) Creates a newOctetStreamData.URIReferenceException(String message) Constructs a newURIReferenceExceptionwith the specifieddetail message.URIReferenceException(String message,Throwable cause) Constructs a newURIReferenceExceptionwith thespecified detail message and cause.URIReferenceException(String message,Throwable cause,URIReference uriReference) Constructs a newURIReferenceExceptionwith thespecified detail message, cause andURIReference.Uses ofString injavax.xml.crypto.dom
Methods injavax.xml.crypto.dom that returnStringModifier and TypeMethodDescriptionDOMCryptoContext.getBaseURI()DOMCryptoContext.getDefaultNamespacePrefix()DOMCryptoContext.getNamespacePrefix(String namespaceURI,String defaultPrefix) This implementation uses an internalHashMapto get the prefixthat the specified URI maps to.DOMCryptoContext.putNamespacePrefix(String namespaceURI,String prefix) This implementation uses an internalHashMapto map the URIto the specified prefix.Methods injavax.xml.crypto.dom that return types with arguments of typeStringModifier and TypeMethodDescriptionDOMCryptoContext.iterator()Returns a read-only iterator over the set of Id/Element mappings ofthisDOMCryptoContext.Methods injavax.xml.crypto.dom with parameters of typeStringModifier and TypeMethodDescriptionDOMCryptoContext.getElementById(String idValue) Returns theElementwith the specified ID attribute value.DOMCryptoContext.getNamespacePrefix(String namespaceURI,String defaultPrefix) This implementation uses an internalHashMapto get the prefixthat the specified URI maps to.DOMCryptoContext.getProperty(String name) This implementation uses an internalHashMapto get the objectthat the specified name maps to.booleanDOMStructure.isFeatureSupported(String feature) DOMCryptoContext.putNamespacePrefix(String namespaceURI,String prefix) This implementation uses an internalHashMapto map the URIto the specified prefix.voidDOMCryptoContext.setBaseURI(String baseURI) voidDOMCryptoContext.setDefaultNamespacePrefix(String defaultPrefix) voidDOMCryptoContext.setIdAttributeNS(Element element,String namespaceURI,String localName) Registers the element's attribute specified by the namespace URI andlocal name to be of type ID.DOMCryptoContext.setProperty(String name,Object value) This implementation uses an internalHashMapto map the nameto the specified object.Uses ofString injavax.xml.crypto.dsig
Fields injavax.xml.crypto.dsig declared asStringModifier and TypeFieldDescriptionstatic finalStringTransform.BASE64TheBase64transform algorithm URI.static finalStringSignatureMethod.DSA_SHA1TheDSA-SHA1(DSS) signature method algorithm URI.static finalStringSignatureMethod.DSA_SHA256TheDSA-SHA256(DSS) signature method algorithm URI.static finalStringSignatureMethod.ECDSA_SHA1TheECDSA-SHA1 (FIPS 180-4) signature method algorithm URI.static finalStringSignatureMethod.ECDSA_SHA224TheECDSA-SHA224 (FIPS 180-4) signature method algorithm URI.static finalStringSignatureMethod.ECDSA_SHA256TheECDSA-SHA256 (FIPS 180-4) signature method algorithm URI.static finalStringSignatureMethod.ECDSA_SHA3_224TheECDSA-SHA3-224 signature method algorithm URI.static finalStringSignatureMethod.ECDSA_SHA3_256TheECDSA-SHA3-256 signature method algorithm URI.static finalStringSignatureMethod.ECDSA_SHA3_384TheECDSA-SHA3-384 signature method algorithm URI.static finalStringSignatureMethod.ECDSA_SHA3_512TheECDSA-SHA3-512 signature method algorithm URI.static finalStringSignatureMethod.ECDSA_SHA384TheECDSA-SHA384 (FIPS 180-4) signature method algorithm URI.static finalStringSignatureMethod.ECDSA_SHA512TheECDSA-SHA512 (FIPS 180-4) signature method algorithm URI.static finalStringSignatureMethod.ED25519TheED25519 signature method algorithm URI.static finalStringSignatureMethod.ED448TheED448 signature method algorithm URI.static finalStringTransform.ENVELOPEDTheEnveloped Signature transform algorithm URI.static finalStringCanonicalizationMethod.EXCLUSIVETheExclusiveCanonical XML (without comments) canonicalization method algorithmURI.static finalStringCanonicalizationMethod.EXCLUSIVE_WITH_COMMENTSTheExclusive Canonical XML with comments canonicalization methodalgorithm URI.static finalStringSignatureMethod.HMAC_SHA1TheHMAC-SHA1MAC signature method algorithm URIstatic finalStringSignatureMethod.HMAC_SHA224TheHMAC-SHA224 MAC signature method algorithm URI.static finalStringSignatureMethod.HMAC_SHA256TheHMAC-SHA256 MAC signature method algorithm URI.static finalStringSignatureMethod.HMAC_SHA384TheHMAC-SHA384 MAC signature method algorithm URI.static finalStringSignatureMethod.HMAC_SHA512TheHMAC-SHA512 MAC signature method algorithm URI.static finalStringCanonicalizationMethod.INCLUSIVETheCanonicalXML (without comments) canonicalization method algorithm URI.static finalStringCanonicalizationMethod.INCLUSIVE_11TheCanonical XML 1.1(without comments) canonicalization method algorithm URI.static finalStringCanonicalizationMethod.INCLUSIVE_11_WITH_COMMENTSTheCanonical XML 1.1 with comments canonicalization method algorithmURI.static finalStringCanonicalizationMethod.INCLUSIVE_WITH_COMMENTSTheCanonical XML with comments canonicalization method algorithm URI.static finalStringDigestMethod.RIPEMD160TheRIPEMD-160 digest method algorithm URI.static finalStringSignatureMethod.RSA_PSSTheRSASSA-PSS signature method algorithm URI.static finalStringSignatureMethod.RSA_SHA1TheRSA-SHA1(PKCS #1) signature method algorithm URI.static finalStringSignatureMethod.RSA_SHA224TheRSA-SHA224 (PKCS #1) signature method algorithm URI.static finalStringSignatureMethod.RSA_SHA256TheRSA-SHA256 (PKCS #1) signature method algorithm URI.static finalStringSignatureMethod.RSA_SHA384TheRSA-SHA384 (PKCS #1) signature method algorithm URI.static finalStringSignatureMethod.RSA_SHA512TheRSA-SHA512 (PKCS #1) signature method algorithm URI.static finalStringDigestMethod.SHA1TheSHA1 digest method algorithm URI.static finalStringSignatureMethod.SHA1_RSA_MGF1TheSHA1-RSA-MGF1 (PKCS #1) signature method algorithm URI.static finalStringDigestMethod.SHA224TheSHA224 digest method algorithm URI.static finalStringSignatureMethod.SHA224_RSA_MGF1TheSHA224-RSA-MGF1 (PKCS #1) signature method algorithm URI.static finalStringDigestMethod.SHA256TheSHA256 digest method algorithm URI.static finalStringSignatureMethod.SHA256_RSA_MGF1TheSHA256-RSA-MGF1 (PKCS #1) signature method algorithm URI.static finalStringDigestMethod.SHA3_224TheSHA3-224 digest method algorithm URI.static finalStringSignatureMethod.SHA3_224_RSA_MGF1TheSHA3-224-RSA-MGF1 (PKCS #1) signature method algorithm URI.static finalStringDigestMethod.SHA3_256TheSHA3-256 digest method algorithm URI.static finalStringSignatureMethod.SHA3_256_RSA_MGF1TheSHA3-256-RSA-MGF1 (PKCS #1) signature method algorithm URI.static finalStringDigestMethod.SHA3_384TheSHA3-384 digest method algorithm URI.static finalStringSignatureMethod.SHA3_384_RSA_MGF1TheSHA3-384-RSA-MGF1 (PKCS #1) signature method algorithm URI.static finalStringDigestMethod.SHA3_512TheSHA3-512 digest method algorithm URI.static finalStringSignatureMethod.SHA3_512_RSA_MGF1TheSHA3-512-RSA-MGF1 (PKCS #1) signature method algorithm URI.static finalStringDigestMethod.SHA384TheSHA384 digest method algorithm URI.static finalStringSignatureMethod.SHA384_RSA_MGF1TheSHA384-RSA-MGF1 (PKCS #1) signature method algorithm URI.static finalStringDigestMethod.SHA512TheSHA512 digest method algorithm URI.static finalStringSignatureMethod.SHA512_RSA_MGF1TheSHA512-RSA-MGF1 (PKCS #1) signature method algorithm URI.static finalStringManifest.TYPEURI that identifies theManifestelement (this can bespecified as the value of thetypeparameter of theReferenceclass to identify the referent's type).static finalStringSignatureProperties.TYPEURI that identifies theSignaturePropertieselement (thiscan be specified as the value of thetypeparameter of theReferenceclass to identify the referent's type).static finalStringXMLObject.TYPEURI that identifies theObjectelement (this can bespecified as the value of thetypeparameter of theReferenceclass to identify the referent's type).static finalStringXMLSignature.XMLNSThe XML Namespace URI of the W3C Recommendation for XML-SignatureSyntax and Processing.static finalStringTransform.XPATHTheXPathtransform algorithm URI.static finalStringTransform.XPATH2TheXPath Filter 2 transform algorithm URI.static finalStringTransform.XSLTTheXSLTtransform algorithm URI.Methods injavax.xml.crypto.dsig that returnStringModifier and TypeMethodDescriptionfinalStringTransformService.getAlgorithm()Returns the URI of the algorithm supported by thisTransformService.XMLObject.getEncoding()Returns the encoding URI of thisXMLObject.Manifest.getId()Returns the Id of thisManifest.Reference.getId()Returns the optionalIdattribute of thisReference, which permits this reference to bereferenced from elsewhere.SignatureProperties.getId()Returns the Id of thisSignatureProperties.SignatureProperty.getId()Returns the Id of thisSignatureProperty.SignedInfo.getId()Returns the optionalIdattribute of thisSignedInfo.XMLObject.getId()Returns the Id of thisXMLObject.XMLSignature.getId()Returns the optional Id of thisXMLSignature.XMLSignature.SignatureValue.getId()Returns the optionalIdattribute of thisSignatureValue, which permits this element to bereferenced from elsewhere.finalStringTransformService.getMechanismType()Returns the mechanism type supported by thisTransformService.finalStringXMLSignatureFactory.getMechanismType()Returns the type of the XML processing mechanism and representationsupported by thisXMLSignatureFactory(ex: "DOM").XMLObject.getMimeType()Returns the mime type of thisXMLObject.SignatureProperty.getTarget()Returns the target URI of thisSignatureProperty.Methods injavax.xml.crypto.dsig with parameters of typeStringModifier and TypeMethodDescriptionstaticTransformServiceTransformService.getInstance(String algorithm,String mechanismType) Returns aTransformServicethat supports the specifiedalgorithm URI (ex:Transform.XPATH2) and mechanism type(ex: DOM).staticTransformServiceTransformService.getInstance(String algorithm,String mechanismType,String provider) Returns aTransformServicethat supports the specifiedalgorithm URI (ex:Transform.XPATH2) and mechanism type(ex: DOM) as supplied by the specified provider.staticTransformServiceTransformService.getInstance(String algorithm,String mechanismType,Provider provider) Returns aTransformServicethat supports the specifiedalgorithm URI (ex:Transform.XPATH2) and mechanism type(ex: DOM) as supplied by the specified provider.staticXMLSignatureFactoryXMLSignatureFactory.getInstance(String mechanismType) Returns anXMLSignatureFactorythat supports thespecified XML processing mechanism and representation type (ex: "DOM").staticXMLSignatureFactoryXMLSignatureFactory.getInstance(String mechanismType,String provider) Returns anXMLSignatureFactorythat supports therequested XML processing mechanism and representation type (ex: "DOM"),as supplied by the specified provider.staticXMLSignatureFactoryXMLSignatureFactory.getInstance(String mechanismType,Provider provider) Returns anXMLSignatureFactorythat supports therequested XML processing mechanism and representation type (ex: "DOM"),as supplied by the specified provider.abstract booleanXMLSignatureFactory.isFeatureSupported(String feature) Indicates whether a specified feature is supported.abstractCanonicalizationMethodXMLSignatureFactory.newCanonicalizationMethod(String algorithm,C14NMethodParameterSpec params) Creates aCanonicalizationMethodfor the specifiedalgorithm URI and parameters.abstractCanonicalizationMethodXMLSignatureFactory.newCanonicalizationMethod(String algorithm,XMLStructure params) Creates aCanonicalizationMethodfor the specifiedalgorithm URI and parameters.abstractDigestMethodXMLSignatureFactory.newDigestMethod(String algorithm,DigestMethodParameterSpec params) Creates aDigestMethodfor the specified algorithm URIand parameters.abstractManifestXMLSignatureFactory.newManifest(List<? extendsReference> references,String id) Creates aManifestcontaining the specifiedlist ofReferences and optional id.abstractReferenceXMLSignatureFactory.newReference(String uri,DigestMethod dm) Creates aReferencewith the specified URI and digestmethod.abstractReferenceXMLSignatureFactory.newReference(String uri,DigestMethod dm,List<? extendsTransform> transforms,String type,String id) Creates aReferencewith the specified parameters.abstractReferenceXMLSignatureFactory.newReference(String uri,DigestMethod dm,List<? extendsTransform> transforms,String type,String id, byte[] digestValue) Creates aReferencewith the specified parameters andpre-calculated digest value.abstractReferenceXMLSignatureFactory.newReference(String uri,DigestMethod dm,List<? extendsTransform> appliedTransforms,Data result,List<? extendsTransform> transforms,String type,String id) Creates aReferencewith the specified parameters.abstractSignatureMethodXMLSignatureFactory.newSignatureMethod(String algorithm,SignatureMethodParameterSpec params) Creates aSignatureMethodfor the specified algorithm URIand parameters.abstractSignaturePropertiesXMLSignatureFactory.newSignatureProperties(List<? extendsSignatureProperty> properties,String id) Creates aSignaturePropertiescontaining the specifiedlist ofSignaturePropertys and optional id.abstractSignaturePropertyXMLSignatureFactory.newSignatureProperty(List<? extendsXMLStructure> content,String target,String id) Creates aSignaturePropertycontaining the specifiedlist ofXMLStructures, target URI and optional id.abstractSignedInfoXMLSignatureFactory.newSignedInfo(CanonicalizationMethod cm,SignatureMethod sm,List<? extendsReference> references,String id) Creates aSignedInfowith the specified parameters.abstractTransformXMLSignatureFactory.newTransform(String algorithm,TransformParameterSpec params) Creates aTransformfor the specified algorithm URIand parameters.abstractTransformXMLSignatureFactory.newTransform(String algorithm,XMLStructure params) Creates aTransformfor the specified algorithm URIand parameters.abstractXMLObjectXMLSignatureFactory.newXMLObject(List<? extendsXMLStructure> content,String id,String mimeType,String encoding) Creates anXMLObjectfrom the specified parameters.abstractXMLSignatureXMLSignatureFactory.newXMLSignature(SignedInfo si,KeyInfo ki,List<? extendsXMLObject> objects,String id,String signatureValueId) Creates anXMLSignatureand initializes it with thespecified parameters.Constructors injavax.xml.crypto.dsig with parameters of typeStringModifierConstructorDescriptionTransformException(String message) Constructs a newTransformExceptionwith the specifieddetail message.TransformException(String message,Throwable cause) Constructs a newTransformExceptionwith thespecified detail message and cause.XMLSignatureException(String message) Constructs a newXMLSignatureExceptionwith the specifieddetail message.XMLSignatureException(String message,Throwable cause) Constructs a newXMLSignatureExceptionwith thespecified detail message and cause.Uses ofString injavax.xml.crypto.dsig.keyinfo
Fields injavax.xml.crypto.dsig.keyinfo declared asStringModifier and TypeFieldDescriptionstatic finalStringKeyValue.DSA_TYPEURI identifying the DSA KeyValue KeyInfo type:http://www.w3.org/2000/09/xmldsig#DSAKeyValue.static finalStringKeyValue.EC_TYPEURI identifying the EC KeyValue KeyInfo type:http://www.w3.org/2009/xmldsig11#ECKeyValue.static finalStringX509Data.RAW_X509_CERTIFICATE_TYPEURI identifying the binary (ASN.1 DER) X.509 Certificate KeyInfo type:http://www.w3.org/2000/09/xmldsig#rawX509Certificate.static finalStringKeyValue.RSA_TYPEURI identifying the RSA KeyValue KeyInfo type:http://www.w3.org/2000/09/xmldsig#RSAKeyValue.static finalStringPGPData.TYPEURI identifying the PGPData KeyInfo type:http://www.w3.org/2000/09/xmldsig#PGPData.static finalStringX509Data.TYPEURI identifying the X509Data KeyInfo type:http://www.w3.org/2000/09/xmldsig#X509Data.Methods injavax.xml.crypto.dsig.keyinfo that returnStringModifier and TypeMethodDescriptionKeyInfo.getId()Return the optional Id attribute of thisKeyInfo, whichmay be useful for referencing thisKeyInfofrom otherXML structures.X509IssuerSerial.getIssuerName()Returns the X.500 distinguished name of thisX509IssuerSerialinRFC 2253 String format.finalStringKeyInfoFactory.getMechanismType()Returns the type of the XML processing mechanism and representationsupported by thisKeyInfoFactory(ex: "DOM")KeyName.getName()Returns the name of thisKeyName.RetrievalMethod.getURI()Returns the URI of the referencedKeyInfoinformation.Methods injavax.xml.crypto.dsig.keyinfo with parameters of typeStringModifier and TypeMethodDescriptionstaticKeyInfoFactoryKeyInfoFactory.getInstance(String mechanismType) Returns aKeyInfoFactorythat supports thespecified XML processing mechanism and representation type (ex: "DOM").staticKeyInfoFactoryKeyInfoFactory.getInstance(String mechanismType,String provider) Returns aKeyInfoFactorythat supports therequested XML processing mechanism and representation type (ex: "DOM"),as supplied by the specified provider.staticKeyInfoFactoryKeyInfoFactory.getInstance(String mechanismType,Provider provider) Returns aKeyInfoFactorythat supports therequested XML processing mechanism and representation type (ex: "DOM"),as supplied by the specified provider.abstract booleanKeyInfoFactory.isFeatureSupported(String feature) Indicates whether a specified feature is supported.abstractKeyInfoKeyInfoFactory.newKeyInfo(List<? extendsXMLStructure> content,String id) Creates aKeyInfocontaining the specified list of keyinformation types and optional id.abstractKeyNameKeyInfoFactory.newKeyName(String name) Creates aKeyNamefrom the specified name.abstractRetrievalMethodKeyInfoFactory.newRetrievalMethod(String uri) Creates aRetrievalMethodfrom the specified URI.abstractRetrievalMethodKeyInfoFactory.newRetrievalMethod(String uri,String type,List<? extendsTransform> transforms) Creates aRetrievalMethodfrom the specified parameters.abstractX509IssuerSerialKeyInfoFactory.newX509IssuerSerial(String issuerName,BigInteger serialNumber) Creates anX509IssuerSerialfrom the specified X.500 issuerdistinguished name and serial number.Uses ofString injavax.xml.crypto.dsig.spec
Fields injavax.xml.crypto.dsig.spec declared asStringModifier and TypeFieldDescriptionstatic finalStringExcC14NParameterSpec.DEFAULTIndicates the default namespace ("#default").Methods injavax.xml.crypto.dsig.spec that returnStringModifier and TypeMethodDescriptionXPathType.getExpression()Returns the XPath expression to be evaluated.XPathFilterParameterSpec.getXPath()Returns the XPath expression to be evaluated.XPathType.Filter.toString()Returns the string form of the operation.Methods injavax.xml.crypto.dsig.spec that return types with arguments of typeStringModifier and TypeMethodDescriptionXPathFilterParameterSpec.getNamespaceMap()Returns a map of namespace prefixes.XPathFilterParameterSpec.getNamespaceMap()Returns a map of namespace prefixes.XPathType.getNamespaceMap()Returns a map of namespace prefixes.XPathType.getNamespaceMap()Returns a map of namespace prefixes.ExcC14NParameterSpec.getPrefixList()Returns the inclusive namespace prefix list.Constructors injavax.xml.crypto.dsig.spec with parameters of typeStringModifierConstructorDescriptionXPathFilterParameterSpec(String xPath) Creates anXPathFilterParameterSpecwith the specifiedXPath expression.XPathFilterParameterSpec(String xPath,Map<String, String> namespaceMap) Creates anXPathFilterParameterSpecwith the specifiedXPath expression and namespace map.XPathType(String expression,XPathType.Filter filter) Creates anXPathTypeinstance with the specified XPathexpression and filter.Creates anXPathTypeinstance with the specified XPathexpression, filter, and namespace map.Constructor parameters injavax.xml.crypto.dsig.spec with type arguments of typeStringModifierConstructorDescriptionExcC14NParameterSpec(List<String> prefixList) Creates aExcC14NParameterSpecwith the specified listof prefixes.XPathFilterParameterSpec(String xPath,Map<String, String> namespaceMap) Creates anXPathFilterParameterSpecwith the specifiedXPath expression and namespace map.XPathFilterParameterSpec(String xPath,Map<String, String> namespaceMap) Creates anXPathFilterParameterSpecwith the specifiedXPath expression and namespace map.Creates anXPathTypeinstance with the specified XPathexpression, filter, and namespace map.Creates anXPathTypeinstance with the specified XPathexpression, filter, and namespace map.Uses ofString injavax.xml.datatype
Fields injavax.xml.datatype declared asStringModifier and TypeFieldDescriptionstatic finalStringDatatypeFactory.DATATYPEFACTORY_IMPLEMENTATION_CLASSDefault implementation class name as defined inJSR 206: Java(TM) API for XML Processing (JAXP) 1.3.static finalStringDatatypeFactory.DATATYPEFACTORY_PROPERTYDefault property name as defined in JSR 206: Java(TM) API for XML Processing (JAXP) 1.3.Methods injavax.xml.datatype that returnStringModifier and TypeMethodDescriptionDatatypeConstants.Field.toString()Returns a field name in English.Duration.toString()Returns aStringrepresentation of thisDuration Object.XMLGregorianCalendar.toString()Returns aStringrepresentation of thisXMLGregorianCalendarObject.abstractStringXMLGregorianCalendar.toXMLFormat()Return the lexical representation ofthisinstance.Methods injavax.xml.datatype with parameters of typeStringModifier and TypeMethodDescriptionabstractDurationDatatypeFactory.newDuration(String lexicalRepresentation) Obtain a new instance of aDurationspecifying theDurationas its string representation, "PnYnMnDTnHnMnS",as defined in XML Schema 1.0 section 3.2.6.1.DatatypeFactory.newDurationDayTime(String lexicalRepresentation) Create aDurationof typexdt:dayTimeDurationby parsing itsStringrepresentation,"PnDTnHnMnS", XQuery 1.0 and XPath 2.0 Data Model, xdt:dayTimeDuration.DatatypeFactory.newDurationYearMonth(String lexicalRepresentation) Create aDurationof typexdt:yearMonthDurationby parsing itsStringrepresentation,"PnYnM", XQuery 1.0 and XPath 2.0 Data Model, xdt:yearMonthDuration.staticDatatypeFactoryDatatypeFactory.newInstance(String factoryClassName,ClassLoader classLoader) Obtain a new instance of aDatatypeFactoryfrom class name.abstractXMLGregorianCalendarDatatypeFactory.newXMLGregorianCalendar(String lexicalRepresentation) Create a new XMLGregorianCalendar by parsing the String as a lexical representation.Constructors injavax.xml.datatype with parameters of typeStringModifierConstructorDescriptionDatatypeConfigurationException(String message) Create a newDatatypeConfigurationExceptionwiththe specified detail message.DatatypeConfigurationException(String message,Throwable cause) Create a newDatatypeConfigurationExceptionwiththe specified detail message and cause.Uses ofString injavax.xml.namespace
Methods injavax.xml.namespace that returnStringModifier and TypeMethodDescriptionQName.getLocalPart()Get the local part of thisQName.NamespaceContext.getNamespaceURI(String prefix) Get Namespace URI bound to a prefix in the current scope.QName.getNamespaceURI()Get the Namespace URI of thisQName.Get prefix bound to Namespace URI in the current scope.QName.getPrefix()Get the prefix of thisQName.QName.toString()Returns the string representation of thisQName.Methods injavax.xml.namespace that return types with arguments of typeStringModifier and TypeMethodDescriptionNamespaceContext.getPrefixes(String namespaceURI) Get all prefixes bound to a Namespace URI in the currentscope.Methods injavax.xml.namespace with parameters of typeStringModifier and TypeMethodDescriptionNamespaceContext.getNamespaceURI(String prefix) Get Namespace URI bound to a prefix in the current scope.Get prefix bound to Namespace URI in the current scope.NamespaceContext.getPrefixes(String namespaceURI) Get all prefixes bound to a Namespace URI in the currentscope.staticQNameReturns aQNamefrom its string representation.Constructors injavax.xml.namespace with parameters of typeStringModifierConstructorDescriptionQNameconstructor specifying the local part.QNameconstructor specifying the Namespace URIand local part.QNameconstructor specifying the Namespace URI,local part and prefix.Uses ofString injavax.xml.parsers
Methods injavax.xml.parsers that returnStringModifier and TypeMethodDescriptionFactoryConfigurationError.getMessage()Return the message (if any) for this error .Methods injavax.xml.parsers with parameters of typeStringModifier and TypeMethodDescriptionabstractObjectDocumentBuilderFactory.getAttribute(String name) Allows the user to retrieve specific attributes on the underlyingimplementation.abstract booleanDocumentBuilderFactory.getFeature(String name) Get the state of the named feature.abstract booleanSAXParserFactory.getFeature(String name) Returns the particular property requested for in the underlyingimplementation of org.xml.sax.XMLReader.abstractObjectSAXParser.getProperty(String name) Returns the particular property requested for in the underlyingimplementation ofXMLReader.staticDocumentBuilderFactoryDocumentBuilderFactory.newInstance(String factoryClassName,ClassLoader classLoader) Obtain a new instance of aDocumentBuilderFactoryfrom class name.staticSAXParserFactorySAXParserFactory.newInstance(String factoryClassName,ClassLoader classLoader) Obtain a new instance of aSAXParserFactoryfrom class name.staticDocumentBuilderFactoryDocumentBuilderFactory.newNSInstance(String factoryClassName,ClassLoader classLoader) Creates a new NamespaceAware instance of aDocumentBuilderFactoryfrom the class name.staticSAXParserFactorySAXParserFactory.newNSInstance(String factoryClassName,ClassLoader classLoader) Creates a new NamespaceAware instance of aSAXParserFactoryfromthe class name.DocumentBuilder.parse(InputStream is,String systemId) Parse the content of the givenInputStreamas anXML document and return a new DOMDocumentobject.Parse the content of the given URI as an XML documentand return a new DOMDocumentobject.voidSAXParser.parse(InputStream is,HandlerBase hb,String systemId) Parse the content of the givenInputStreaminstance as XML using the specifiedHandlerBase.voidSAXParser.parse(InputStream is,DefaultHandler dh,String systemId) Parse the content of the givenInputStreaminstance as XML using the specifiedDefaultHandler.voidSAXParser.parse(String uri,HandlerBase hb) Parse the content described by the giving Uniform ResourceIdentifier (URI) as XML using the specifiedHandlerBase.voidSAXParser.parse(String uri,DefaultHandler dh) Parse the content described by the giving Uniform ResourceIdentifier (URI) as XML using the specifiedDefaultHandler.abstract voidDocumentBuilderFactory.setAttribute(String name,Object value) Allows the user to set specific attributes on the underlyingimplementation.abstract voidDocumentBuilderFactory.setFeature(String name, boolean value) Set a feature for thisDocumentBuilderFactoryandDocumentBuilders created by this factory.abstract voidSAXParserFactory.setFeature(String name, boolean value) Sets the particular feature in the underlying implementation oforg.xml.sax.XMLReader.abstract voidSAXParser.setProperty(String name,Object value) Sets the particular property in the underlying implementation ofXMLReader.Constructors injavax.xml.parsers with parameters of typeStringModifierConstructorDescriptionCreate a newFactoryConfigurationErrorwith thegivenExceptionbase cause and detail message.Create a newFactoryConfigurationErrorwiththeStringspecified as an error message.Create a newParserConfigurationExceptionwiththeStringspecified as an error message.Uses ofString injavax.xml.stream
Fields injavax.xml.stream declared asStringModifier and TypeFieldDescriptionstatic finalStringXMLInputFactory.ALLOCATORThe property used to set/get the implementation of the allocatorstatic finalStringXMLInputFactory.IS_COALESCINGThe property that requires the parser to coalesce adjacent character data sectionsstatic finalStringXMLInputFactory.IS_NAMESPACE_AWAREThe property used to turn on/off namespace support,this is to support XML 1.0 documents,only the true setting must be supportedstatic finalStringXMLOutputFactory.IS_REPAIRING_NAMESPACESProperty used to set prefix defaulting on the output sidestatic finalStringXMLInputFactory.IS_REPLACING_ENTITY_REFERENCESRequires the parser to replace internalentity references with their replacementtext and report them as charactersstatic finalStringXMLInputFactory.IS_SUPPORTING_EXTERNAL_ENTITIESThe property that requires the parser to resolve external parsed entitiesstatic finalStringXMLInputFactory.IS_VALIDATINGThe property used to turn on/off implementation specific validationstatic finalStringXMLInputFactory.REPORTERThe property used toset/get the implementation of the XMLReporter interfacestatic finalStringXMLInputFactory.RESOLVERThe property used to set/get the implementation of the XMLResolverstatic finalStringXMLInputFactory.SUPPORT_DTDThe property that requires the parser to support DTDsMethods injavax.xml.stream that returnStringModifier and TypeMethodDescriptionXMLStreamReader.getAttributeLocalName(int index) Returns the localName of the attribute at the providedindexXMLStreamReader.getAttributeNamespace(int index) Returns the namespace of the attribute at the providedindexXMLStreamReader.getAttributePrefix(int index) Returns the prefix of this attribute at theprovided indexXMLStreamReader.getAttributeType(int index) Returns the XML type of the attribute at the providedindexXMLStreamReader.getAttributeValue(int index) Returns the value of the attribute at theindexXMLStreamReader.getAttributeValue(String namespaceURI,String localName) Returns the normalized attribute value of theattribute with the namespace and localNameIf the namespaceURI is null the namespaceis not checked for equalityXMLStreamReader.getCharacterEncodingScheme()Returns the character encoding declared on the xml declarationReturns null if none was declaredXMLEventReader.getElementText()Reads the content of a text-only element.XMLStreamReader.getElementText()Reads the content of a text-only element, an exception is thrown if this isnot a text-only element.XMLStreamReader.getEncoding()Return input encoding if known or null if unknown.XMLStreamReader.getLocalName()Returns the (local) name of the current event.FactoryConfigurationError.getMessage()Report the message associated with this errorXMLStreamReader.getNamespacePrefix(int index) Returns the prefix for the namespace declared at theindex.XMLStreamReader.getNamespaceURI()If the current event is a START_ELEMENT or END_ELEMENT this methodreturns the URI of the prefix or the default namespace.XMLStreamReader.getNamespaceURI(int index) Returns the uri for the namespace declared at theindex.XMLStreamReader.getNamespaceURI(String prefix) Return the uri for the given prefix.XMLStreamReader.getPIData()Get the data section of a processing instructionXMLStreamReader.getPITarget()Get the target of a processing instructionGets the prefix the uri is bound toXMLStreamReader.getPrefix()Returns the prefix of the current event or null if the event does not have a prefixGets the prefix the uri is bound to.Location.getPublicId()Returns the public ID of the XMLLocation.getSystemId()Returns the system ID of the XMLXMLStreamReader.getText()Returns the current value of the parse event as a string,this returns the string value of a CHARACTERS event,returns the value of a COMMENT, the replacement valuefor an ENTITY_REFERENCE, the string value of a CDATA section,the string value for a SPACE event,or the String value of the internal subset of the DTD.XMLStreamReader.getVersion()Get the xml version declared on the xml declarationReturns null if none was declaredMethods injavax.xml.stream with parameters of typeStringModifier and TypeMethodDescriptionabstractAttributeXMLEventFactory.createAttribute(String localName,String value) Create a new AttributeabstractAttributeXMLEventFactory.createAttribute(String prefix,String namespaceURI,String localName,String value) Create a new AttributeabstractAttributeXMLEventFactory.createAttribute(QName name,String value) Create a new AttributeabstractCharactersXMLEventFactory.createCData(String content) Create a Characters event with the CData flag set to trueabstractCharactersXMLEventFactory.createCharacters(String content) Create a Characters event, this method does not check if the contentis all whitespace.abstractCommentXMLEventFactory.createComment(String text) Create a comment.abstractDTDCreate a document type definition eventThis string contains the entire document type declaration that matchesthe doctypedecl in the XML 1.0 specificationabstractEndElementXMLEventFactory.createEndElement(String prefix,String namespaceUri,String localName) Create a new EndElementabstractEndElementXMLEventFactory.createEndElement(String prefix,String namespaceUri,String localName,Iterator<? extendsNamespace> namespaces) Create a new EndElementabstractEntityReferenceXMLEventFactory.createEntityReference(String name,EntityDeclaration declaration) Creates a new instance of a EntityReference eventabstractCharactersXMLEventFactory.createIgnorableSpace(String content) Create an ignorable spaceabstractNamespaceXMLEventFactory.createNamespace(String namespaceURI) Create a new default NamespaceabstractNamespaceXMLEventFactory.createNamespace(String prefix,String namespaceUri) Create a new NamespaceabstractProcessingInstructionXMLEventFactory.createProcessingInstruction(String target,String data) Create a processing instructionabstractCharactersXMLEventFactory.createSpace(String content) Create a Characters event with the isSpace flag set to trueabstractStartDocumentXMLEventFactory.createStartDocument(String encoding) Creates a new instance of a StartDocument eventabstractStartDocumentXMLEventFactory.createStartDocument(String encoding,String version) Creates a new instance of a StartDocument eventabstractStartDocumentXMLEventFactory.createStartDocument(String encoding,String version, boolean standalone) Creates a new instance of a StartDocument eventabstractStartElementXMLEventFactory.createStartElement(String prefix,String namespaceUri,String localName) Create a new StartElement.abstractStartElementXMLEventFactory.createStartElement(String prefix,String namespaceUri,String localName,Iterator<? extendsAttribute> attributes,Iterator<? extendsNamespace> namespaces) Create a new StartElement.abstractStartElementXMLEventFactory.createStartElement(String prefix,String namespaceUri,String localName,Iterator<? extendsAttribute> attributes,Iterator<? extendsNamespace> namespaces,NamespaceContext context) Create a new StartElement.abstractXMLEventReaderXMLInputFactory.createXMLEventReader(InputStream stream,String encoding) Create a new XMLEventReader from a java.io.InputStreamabstractXMLEventReaderXMLInputFactory.createXMLEventReader(String systemId,InputStream stream) Create a new XMLEventReader from a java.io.InputStreamabstractXMLEventReaderXMLInputFactory.createXMLEventReader(String systemId,Reader reader) Create a new XMLEventReader from a reader.abstractXMLEventWriterXMLOutputFactory.createXMLEventWriter(OutputStream stream,String encoding) Create a new XMLEventWriter that writes to a streamabstractXMLStreamReaderXMLInputFactory.createXMLStreamReader(InputStream stream,String encoding) Create a new XMLStreamReader from a java.io.InputStream.abstractXMLStreamReaderXMLInputFactory.createXMLStreamReader(String systemId,InputStream stream) Create a new XMLStreamReader from a java.io.InputStream.abstractXMLStreamReaderXMLInputFactory.createXMLStreamReader(String systemId,Reader reader) Create a new XMLStreamReader from a java.io.InputStream.abstractXMLStreamWriterXMLOutputFactory.createXMLStreamWriter(OutputStream stream,String encoding) Create a new XMLStreamWriter that writes to a streamXMLStreamReader.getAttributeValue(String namespaceURI,String localName) Returns the normalized attribute value of theattribute with the namespace and localNameIf the namespaceURI is null the namespaceis not checked for equalityXMLStreamReader.getNamespaceURI(String prefix) Return the uri for the given prefix.Gets the prefix the uri is bound toGets the prefix the uri is bound to.XMLEventReader.getProperty(String name) Get the value of a feature/property from the underlying implementationabstractObjectXMLInputFactory.getProperty(String name) Get the value of a feature/property from the underlying implementationabstractObjectXMLOutputFactory.getProperty(String name) Get a feature/property on the underlying implementationXMLStreamReader.getProperty(String name) Get the value of a feature/property from the underlying implementationXMLStreamWriter.getProperty(String name) Get the value of a feature/property from the underlying implementationabstract booleanXMLInputFactory.isPropertySupported(String name) Query the set of properties that this factory supports.abstract booleanXMLOutputFactory.isPropertySupported(String name) Query the set of properties that this factory supports.staticXMLEventFactoryXMLEventFactory.newFactory(String factoryId,ClassLoader classLoader) Create a new instance of the factory.staticXMLInputFactoryXMLInputFactory.newFactory(String factoryId,ClassLoader classLoader) Create a new instance of the factory.staticXMLOutputFactoryXMLOutputFactory.newFactory(String factoryId,ClassLoader classLoader) Create a new instance of the factory.staticXMLEventFactoryXMLEventFactory.newInstance(String factoryId,ClassLoader classLoader) Deprecated.This method has been deprecated to maintain API consistency.staticXMLInputFactoryXMLInputFactory.newInstance(String factoryId,ClassLoader classLoader) Deprecated.This method has been deprecated to maintain API consistency.staticXMLInputFactoryXMLOutputFactory.newInstance(String factoryId,ClassLoader classLoader) Deprecated.This method has been deprecated because it returns an instance of XMLInputFactory, which is of the wrong class.voidReport the desired message in an application specific format.voidTest if the current event is of the given type and if the namespace and name match the currentnamespace and name of the current event.XMLResolver.resolveEntity(String publicID,String systemID,String baseURI,String namespace) Retrieves a resource.voidXMLEventWriter.setDefaultNamespace(String uri) Binds a URI to the default namespaceThis URI is boundin the scope of the current START_ELEMENT / END_ELEMENT pair.voidXMLStreamWriter.setDefaultNamespace(String uri) Binds a URI to the default namespaceThis URI is boundin the scope of the current START_ELEMENT / END_ELEMENT pair.voidSets the prefix the uri is bound to.voidSets the prefix the uri is bound to.abstract voidXMLInputFactory.setProperty(String name,Object value) Allows the user to set specific feature/property on the underlyingimplementation.abstract voidXMLOutputFactory.setProperty(String name,Object value) Allows the user to set specific features/properties on the underlying implementation.voidXMLStreamWriter.writeAttribute(String localName,String value) Writes an attribute to the output stream withouta prefix.voidXMLStreamWriter.writeAttribute(String namespaceURI,String localName,String value) Writes an attribute to the output streamvoidXMLStreamWriter.writeAttribute(String prefix,String namespaceURI,String localName,String value) Writes an attribute to the output streamvoidXMLStreamWriter.writeCData(String data) Writes a CData sectionvoidXMLStreamWriter.writeCharacters(String text) Write text to the outputvoidXMLStreamWriter.writeComment(String data) Writes an xml comment with the data enclosedvoidXMLStreamWriter.writeDefaultNamespace(String namespaceURI) Writes the default namespace to the streamvoidWrite a DTD section.voidXMLStreamWriter.writeEmptyElement(String localName) Writes an empty element tag to the outputvoidXMLStreamWriter.writeEmptyElement(String namespaceURI,String localName) Writes an empty element tag to the outputvoidXMLStreamWriter.writeEmptyElement(String prefix,String localName,String namespaceURI) Writes an empty element tag to the outputvoidXMLStreamWriter.writeEntityRef(String name) Writes an entity referencevoidXMLStreamWriter.writeNamespace(String prefix,String namespaceURI) Writes a namespace to the output streamIf the prefix argument to this method is the empty string,"xmlns", or null this method will delegate to writeDefaultNamespacevoidXMLStreamWriter.writeProcessingInstruction(String target) Writes a processing instructionvoidXMLStreamWriter.writeProcessingInstruction(String target,String data) Writes a processing instructionvoidXMLStreamWriter.writeStartDocument(String version) Write the XML Declaration.voidXMLStreamWriter.writeStartDocument(String encoding,String version) Write the XML Declaration.voidXMLStreamWriter.writeStartElement(String localName) Writes a start tag to the output.voidXMLStreamWriter.writeStartElement(String namespaceURI,String localName) Writes a start tag to the outputvoidXMLStreamWriter.writeStartElement(String prefix,String localName,String namespaceURI) Writes a start tag to the outputConstructors injavax.xml.stream with parameters of typeStringModifierConstructorDescriptionConstruct an exception with a nested inner exceptionand a messageConstruct an exception with associated messageConstruct an exception with a nested inner exceptionand a messageXMLStreamException(String msg) Construct an exception with the associated message.XMLStreamException(String msg,Throwable th) Construct an exception with the associated message and exceptionXMLStreamException(String msg,Location location) Construct an exception with the associated message, exception and location.XMLStreamException(String msg,Location location,Throwable th) Construct an exception with the associated message, exception and location.Uses ofString injavax.xml.stream.events
Methods injavax.xml.stream.events that returnStringModifier and TypeMethodDescriptionEntityDeclaration.getBaseURI()Get the base URI for this referenceor null if this information is not availableStartDocument.getCharacterEncodingScheme()Returns the encoding style of the XML dataCharacters.getData()Get the character data of this eventProcessingInstruction.getData()The data section of the processing instructionReturns the entire Document Type Declaration as a string, including theinternal DTD subset.Attribute.getDTDType()Gets the type of this attribute, default isthe String "CDATA".EntityDeclaration.getName()The entity's nameEntityReference.getName()The name of the entityNotationDeclaration.getName()The notation name.Namespace.getNamespaceURI()Gets the uri bound to the prefix of this namespaceStartElement.getNamespaceURI(String prefix) Gets the value that the prefix is bound to in thecontext of this element.EntityDeclaration.getNotationName()The name of the associated notation.Namespace.getPrefix()Gets the prefix, returns "" if this is a defaultnamespace declaration.EntityDeclaration.getPublicId()The entity's public identifier, or null if none was givenNotationDeclaration.getPublicId()The notation's public identifier, or null if none was given.EntityDeclaration.getReplacementText()The replacement text of the entity.EntityDeclaration.getSystemId()The entity's system identifier.NotationDeclaration.getSystemId()The notation's system identifier, or null if none was given.StartDocument.getSystemId()Returns the system ID of the XML dataProcessingInstruction.getTarget()The target section of the processing instructionComment.getText()Return the string data of the comment, returns empty string if itdoes not exist.Attribute.getValue()Gets the normalized value of this attribute.StartDocument.getVersion()Returns the version of XML of this XML streamMethods injavax.xml.stream.events with parameters of typeStringModifier and TypeMethodDescriptionStartElement.getNamespaceURI(String prefix) Gets the value that the prefix is bound to in thecontext of this element.Uses ofString injavax.xml.stream.util
Methods injavax.xml.stream.util that returnStringModifier and TypeMethodDescriptionStreamReaderDelegate.getAttributeLocalName(int index) StreamReaderDelegate.getAttributeNamespace(int index) StreamReaderDelegate.getAttributePrefix(int index) StreamReaderDelegate.getAttributeType(int index) StreamReaderDelegate.getAttributeValue(int index) StreamReaderDelegate.getAttributeValue(String namespaceUri,String localName) StreamReaderDelegate.getCharacterEncodingScheme()EventReaderDelegate.getElementText()StreamReaderDelegate.getElementText()StreamReaderDelegate.getEncoding()StreamReaderDelegate.getLocalName()StreamReaderDelegate.getNamespacePrefix(int index) StreamReaderDelegate.getNamespaceURI()StreamReaderDelegate.getNamespaceURI(int index) StreamReaderDelegate.getNamespaceURI(String prefix) StreamReaderDelegate.getPIData()StreamReaderDelegate.getPITarget()StreamReaderDelegate.getPrefix()StreamReaderDelegate.getText()StreamReaderDelegate.getVersion()Methods injavax.xml.stream.util with parameters of typeStringModifier and TypeMethodDescriptionStreamReaderDelegate.getAttributeValue(String namespaceUri,String localName) StreamReaderDelegate.getNamespaceURI(String prefix) EventReaderDelegate.getProperty(String name) StreamReaderDelegate.getProperty(String name) voidUses ofString injavax.xml.transform
Fields injavax.xml.transform declared asStringModifier and TypeFieldDescriptionstatic finalStringOutputKeys.CDATA_SECTION_ELEMENTScdata-section-elements =expanded names.static finalStringOutputKeys.DOCTYPE_PUBLICdoctype-public =string.static finalStringOutputKeys.DOCTYPE_SYSTEMdoctype-system =string.static finalStringOutputKeys.ENCODINGencoding =string.static finalStringOutputKeys.INDENTindent = "yes" | "no".static finalStringOutputKeys.MEDIA_TYPEmedia-type =string.static finalStringOutputKeys.METHODmethod = "xml" | "html" | "text" |expanded name.static finalStringOutputKeys.OMIT_XML_DECLARATIONomit-xml-declaration = "yes" | "no".static finalStringResult.PI_DISABLE_OUTPUT_ESCAPINGThe name of the processing instruction that is sent if theresult tree disables output escaping.static finalStringResult.PI_ENABLE_OUTPUT_ESCAPINGThe name of the processing instruction that is sentif the result tree enables output escaping at some point after havingreceived a PI_DISABLE_OUTPUT_ESCAPING processing instruction.static finalStringOutputKeys.STANDALONEstandalone = "yes" | "no".static finalStringOutputKeys.VERSIONversion =nmtoken.Methods injavax.xml.transform that returnStringModifier and TypeMethodDescriptionTransformerException.getLocationAsString()Get the location information as a string.TransformerFactoryConfigurationError.getMessage()Return the message (if any) for this error .TransformerException.getMessageAndLocation()Get the error message with location informationappended.abstractStringTransformer.getOutputProperty(String name) Get an output property that is in effect for the transformer.SourceLocator.getPublicId()Return the public identifier for the current document event.Result.getSystemId()Get the system identifier that was set with setSystemId.Source.getSystemId()Get the system identifier that was set with setSystemId.SourceLocator.getSystemId()Return the system identifier for the current document event.Methods injavax.xml.transform with parameters of typeStringModifier and TypeMethodDescriptionabstractSourceTransformerFactory.getAssociatedStylesheet(Source source,String media,String title,String charset) Get the stylesheet specification(s) associated with theXMLSourcedocument via thexml-stylesheet processing instruction that match the given criteria.abstractObjectTransformerFactory.getAttribute(String name) Allows the user to retrieve specific attributes on the underlyingimplementation.abstract booleanTransformerFactory.getFeature(String name) Look up the value of a feature.abstractStringTransformer.getOutputProperty(String name) Get an output property that is in effect for the transformer.abstractObjectTransformer.getParameter(String name) Get a parameter that was explicitly set with setParameter.staticTransformerFactoryTransformerFactory.newInstance(String factoryClassName,ClassLoader classLoader) Obtain a new instance of aTransformerFactoryfrom factory class name.Called by the processor when it encountersan xsl:include, xsl:import, or document() function.abstract voidTransformerFactory.setAttribute(String name,Object value) Allows the user to set specific attributes on the underlyingimplementation.abstract voidTransformerFactory.setFeature(String name, boolean value) Set a feature for thisTransformerFactoryandTransformersorTemplates created by this factory.abstract voidTransformer.setOutputProperty(String name,String value) Set an output property that will be in effect for thetransformation.abstract voidTransformer.setParameter(String name,Object value) Add a parameter for the transformation.voidResult.setSystemId(String systemId) Set the system identifier for this Result.voidSource.setSystemId(String systemId) Set the system identifier for this Source.Constructors injavax.xml.transform with parameters of typeStringModifierConstructorDescriptionCreate a newTransformerConfigurationExceptionwiththeStringspecified as an error message.Create a newTransformerConfigurationExceptionwith thegivenExceptionbase cause and detail message.TransformerConfigurationException(String message,SourceLocator locator) Create a new TransformerConfigurationException from a message and a Locator.TransformerConfigurationException(String message,SourceLocator locator,Throwable e) Wrap an existing exception in a TransformerConfigurationException.TransformerException(String message) Create a new TransformerException.TransformerException(String message,Throwable e) Wrap an existing exception in a TransformerException.TransformerException(String message,SourceLocator locator) Create a new TransformerException from a message and a Locator.TransformerException(String message,SourceLocator locator,Throwable e) Wrap an existing exception in a TransformerException.Create a newTransformerFactoryConfigurationErrorwith thegivenExceptionbase cause and detail message.Create a newTransformerFactoryConfigurationErrorwiththeStringspecified as an error message.Uses ofString injavax.xml.transform.dom
Fields injavax.xml.transform.dom declared asStringModifier and TypeFieldDescriptionstatic finalStringDOMResult.FEATUREIfTransformerFactory.getFeature(String)returnstruewhen passed this value as an argument,theTransformersupportsResultoutput of this type.static finalStringDOMSource.FEATUREIfTransformerFactory.getFeature(String)returns true when passed this value as an argument, the Transformer supports Source input of this type.Methods injavax.xml.transform.dom that returnStringModifier and TypeMethodDescriptionDOMResult.getSystemId()Get the System Identifier.DOMSource.getSystemId()Get the base ID (URL or system ID) from where URLswill be resolved.Methods injavax.xml.transform.dom with parameters of typeStringModifier and TypeMethodDescriptionvoidDOMResult.setSystemId(String systemId) Set the systemId that may be used in association with the node.voidDOMSource.setSystemId(String systemID) Set the base ID (URL or system ID) from where URLswill be resolved.Constructors injavax.xml.transform.dom with parameters of typeStringModifierConstructorDescriptionUse a DOM node to create a new output target with the specified System ID.Use a DOM node to create a new output target specifying the childnode where the result nodes should be inserted before andthe specified System ID.Create a new input source with a DOM node, and with thesystem ID also passed in as the base URI.Uses ofString injavax.xml.transform.sax
Fields injavax.xml.transform.sax declared asStringModifier and TypeFieldDescriptionstatic finalStringSAXResult.FEATUREIfTransformerFactory.getFeature(String)returns true when passed this value as an argument,the Transformer supports Result output of this type.static finalStringSAXSource.FEATUREIfTransformerFactory.getFeature(String)returns true when passed this value as an argument,the Transformer supports Source input of this type.static finalStringSAXTransformerFactory.FEATUREIfTransformerFactory.getFeature(String)returns true when passed this value as an argument, the TransformerFactory returned fromTransformerFactory.newInstance()may be safely cast to a SAXTransformerFactory.static finalStringSAXTransformerFactory.FEATURE_XMLFILTERIfTransformerFactory.getFeature(String)returns true when passed this value as an argument, theSAXTransformerFactory.newXMLFilter(Source src)andSAXTransformerFactory.newXMLFilter(Templates templates)methods are supported.Methods injavax.xml.transform.sax that returnStringModifier and TypeMethodDescriptionSAXResult.getSystemId()Get the system identifier that was set with setSystemId.SAXSource.getSystemId()Get the base ID (URI or system ID) from where URIswill be resolved.TemplatesHandler.getSystemId()Get the base ID (URI or system ID) from where relativeURLs will be resolved.TransformerHandler.getSystemId()Get the base ID (URI or system ID) from where relativeURLs will be resolved.Methods injavax.xml.transform.sax with parameters of typeStringModifier and TypeMethodDescriptionvoidSAXResult.setSystemId(String systemId) Method setSystemId Set the systemID that may be used in associationwith theContentHandler.voidSAXSource.setSystemId(String systemId) Set the system identifier for this Source.voidTemplatesHandler.setSystemId(String systemID) Set the base ID (URI or system ID) for the Templates objectcreated by this builder.voidTransformerHandler.setSystemId(String systemID) Set the base ID (URI or system ID) from where relativeURLs will be resolved.Uses ofString injavax.xml.transform.stax
Fields injavax.xml.transform.stax declared asStringModifier and TypeFieldDescriptionstatic finalStringStAXResult.FEATUREIfTransformerFactory.getFeature(String name)returns true when passed this value as an argument, the Transformer supports Result output of this type.static finalStringStAXSource.FEATUREIfTransformerFactory.getFeature(String name)returns true when passed this value as an argument, the Transformer supports Source input of this type.Methods injavax.xml.transform.stax that returnStringModifier and TypeMethodDescriptionStAXResult.getSystemId()The returned system identifier is alwaysnull.StAXSource.getSystemId()Get the system identifier used by thisStAXSource.Methods injavax.xml.transform.stax with parameters of typeStringModifier and TypeMethodDescriptionvoidStAXResult.setSystemId(String systemId) In the context of aStAXResult, it is not appropriateto explicitly set the system identifier.voidStAXSource.setSystemId(String systemId) In the context of aStAXSource, it is not appropriateto explicitly set the system identifier.Uses ofString injavax.xml.transform.stream
Fields injavax.xml.transform.stream declared asStringModifier and TypeFieldDescriptionstatic finalStringStreamResult.FEATUREIfTransformerFactory.getFeature(String)returns true when passed this value as an argument, the Transformer supports Result output of this type.static finalStringStreamSource.FEATUREIfTransformerFactory.getFeature(String)returns true when passed this value as an argument, the Transformer supports Source input of this type.Methods injavax.xml.transform.stream that returnStringModifier and TypeMethodDescriptionStreamSource.getPublicId()Get the public identifier that was set with setPublicId.StreamResult.getSystemId()Get the system identifier that was set with setSystemId.StreamSource.getSystemId()Get the system identifier that was set with setSystemId.Methods injavax.xml.transform.stream with parameters of typeStringModifier and TypeMethodDescriptionvoidStreamSource.setPublicId(String publicId) Set the public identifier for this Source.voidStreamResult.setSystemId(String systemId) Set the systemID that may be used in associationwith the byte or character stream, or, if neither is set, usethis value as a writeable URI (probably a file name).voidStreamSource.setSystemId(String systemId) Set the system identifier for this Source.Constructors injavax.xml.transform.stream with parameters of typeStringModifierConstructorDescriptionStreamResult(String systemId) Construct a StreamResult from a URL.StreamSource(InputStream inputStream,String systemId) Construct a StreamSource from a byte stream.StreamSource(Reader reader,String systemId) Construct a StreamSource from a character reader.StreamSource(String systemId) Construct a StreamSource from a URL.Uses ofString injavax.xml.validation
Methods injavax.xml.validation with parameters of typeStringModifier and TypeMethodDescriptionbooleanSchemaFactory.getFeature(String name) Look up the value of a feature flag.booleanValidator.getFeature(String name) Look up the value of a feature flag.booleanValidatorHandler.getFeature(String name) Look up the value of a feature flag.SchemaFactory.getProperty(String name) Look up the value of a property.Validator.getProperty(String name) Look up the value of a property.ValidatorHandler.getProperty(String name) Look up the value of a property.abstract booleanSchemaFactory.isSchemaLanguageSupported(String schemaLanguage) Is specified schema supported by thisSchemaFactory?abstractSchemaFactorySchemaFactoryLoader.newFactory(String schemaLanguage) Creates a newSchemaFactoryobject for the specifiedschema language.staticSchemaFactorySchemaFactory.newInstance(String schemaLanguage) Obtains a new instance of aSchemaFactorythat supportsthe specified schema language.staticSchemaFactorySchemaFactory.newInstance(String schemaLanguage,String factoryClassName,ClassLoader classLoader) Obtain a new instance of aSchemaFactoryfrom class name.voidSchemaFactory.setFeature(String name, boolean value) Set a feature for thisSchemaFactory,Schemas created by this factory, and by extension,Validators andValidatorHandlers created bythoseSchemas.voidValidator.setFeature(String name, boolean value) Set the value of a feature flag.voidValidatorHandler.setFeature(String name, boolean value) Set a feature for thisValidatorHandler.voidSchemaFactory.setProperty(String name,Object object) Set the value of a property.voidValidator.setProperty(String name,Object object) Set the value of a property.voidValidatorHandler.setProperty(String name,Object object) Set the value of a property.Constructors injavax.xml.validation with parameters of typeStringModifierConstructorDescriptionSchemaFactoryConfigurationError(String message) Create a newSchemaFactoryConfigurationErrorwiththeStringspecified as an error message.SchemaFactoryConfigurationError(String message,Throwable cause) Create a newSchemaFactoryConfigurationErrorwith thegivenThrowablebase cause and detail message.Uses ofString injavax.xml.xpath
Fields injavax.xml.xpath declared asStringModifier and TypeFieldDescriptionstatic finalStringXPathFactory.DEFAULT_OBJECT_MODEL_URIDefault Object Model URI.static finalStringXPathFactory.DEFAULT_PROPERTY_NAMEThe default property name according to the JAXP spec.static finalStringXPathConstants.DOM_OBJECT_MODELThe URI for the DOM object model, "http://java.sun.com/jaxp/xpath/dom".Methods injavax.xml.xpath that returnStringModifier and TypeMethodDescriptionEvaluate an XPath expression in the specified context and return the result as aString.XPath.evaluate(String expression,InputSource source) Evaluate an XPath expression in the context of the specifiedInputSourceand return the result as aString.Evaluate the compiled XPath expression in the specified context and return the result as aString.XPathExpression.evaluate(InputSource source) Evaluate the compiled XPath expression in the contextof the specifiedInputSourceand return the result as aString.XPathFactory.getProperty(String name) Returns the value of the specified property.Methods injavax.xml.xpath with parameters of typeStringModifier and TypeMethodDescriptionCompile an XPath expression for later evaluation.Evaluate an XPath expression in the specified context and return the result as aString.Evaluate anXPathexpression in the specified context andreturn the result as the specified type.XPath.evaluate(String expression,InputSource source) Evaluate an XPath expression in the context of the specifiedInputSourceand return the result as aString.XPath.evaluate(String expression,InputSource source,QName returnType) Evaluate an XPath expression in the context of the specifiedInputSourceand return the result as the specified type.defaultXPathEvaluationResult<?> XPath.evaluateExpression(String expression,Object item) Evaluate an XPath expression in the specified context.default <T> TXPath.evaluateExpression(String expression,Object item,Class<T> type) Evaluate an XPath expression in the specified context and returnthe result with the type specified through theclass typedefaultXPathEvaluationResult<?> XPath.evaluateExpression(String expression,InputSource source) Evaluate an XPath expression in the specified context.default <T> TXPath.evaluateExpression(String expression,InputSource source,Class<T> type) Evaluate an XPath expression in the context of the specifiedsourceand return the result as specified.abstract booleanXPathFactory.getFeature(String name) Get the state of the named feature.XPathFactory.getProperty(String name) Returns the value of the specified property.abstract booleanXPathFactory.isObjectModelSupported(String objectModel) Is specified object model supported by thisXPathFactory?staticXPathFactoryXPathFactory.newInstance(String uri) Obtains a newXPathFactoryinstance using the specified object model.staticXPathFactoryXPathFactory.newInstance(String uri,String factoryClassName,ClassLoader classLoader) Obtain a new instance of aXPathFactoryfrom a factory class name.abstract voidXPathFactory.setFeature(String name, boolean value) Sets a feature for thisXPathFactory.voidXPathFactory.setProperty(String name,String value) Sets a property for thisXPathFactory.Returns the enum constant of this class with the specified name.Constructors injavax.xml.xpath with parameters of typeStringModifierConstructorDescriptionXPathException(String message) Constructs a newXPathExceptionwith the specified detailmessage.XPathExpressionException(String message) Constructs a newXPathExpressionExceptionwith the specified detailmessage.XPathFactoryConfigurationException(String message) Constructs a newXPathFactoryConfigurationExceptionwith the specified detailmessage.XPathFunctionException(String message) Constructs a newXPathFunctionExceptionwith the specified detailmessage.Uses ofString injdk.dynalink
Fields injdk.dynalink declared asStringModifier and TypeFieldDescriptionstatic finalStringSecureLookupSupplier.GET_LOOKUP_PERMISSION_NAMEThe name of a runtime permission required to successfully invoke theSecureLookupSupplier.getLookup()method.Methods injdk.dynalink that returnStringModifier and TypeMethodDescriptionCallSiteDescriptor.toString()Returns the string representation of this call site descriptor, of theformatname(parameterTypes)returnType@lookup.NamedOperation.toString()Returns the string representation of this named operation.NamespaceOperation.toString()Returns the string representation of this namespace operation.Methods injdk.dynalink with parameters of typeStringModifier and TypeMethodDescriptionfinalNamedOperationNamedOperation.changeName(String newName) Finds or creates a named operation that differs from this one only in the name.staticStandardNamespaceReturns the enum constant of this class with the specified name.staticStandardOperationReturns the enum constant of this class with the specified name.Constructors injdk.dynalink with parameters of typeStringModifierConstructorDescriptionNoSuchDynamicMethodException(String message) Creates a new NoSuchDynamicMethodExceptionUses ofString injdk.dynalink.beans
Methods injdk.dynalink.beans that return types with arguments of typeStringModifier and TypeMethodDescriptionBeansLinker.getInstanceMethodNames(Class<?> clazz) Returns a set of names of all instance methods of a class.BeansLinker.getReadableInstancePropertyNames(Class<?> clazz) Returns a set of names of all readable instance properties of a class.BeansLinker.getReadableStaticPropertyNames(Class<?> clazz) Returns a set of names of all readable static properties of a class.BeansLinker.getStaticMethodNames(Class<?> clazz) Returns a set of names of all static methods of a class.BeansLinker.getWritableInstancePropertyNames(Class<?> clazz) Returns a set of names of all writable instance properties of a class.BeansLinker.getWritableStaticPropertyNames(Class<?> clazz) Returns a set of names of all writable static properties of a class.Methods injdk.dynalink.beans with parameters of typeStringModifier and TypeMethodDescriptionstaticObjectBeansLinker.getConstructorMethod(Class<?> clazz,String signature) Return the dynamic method of constructor of the given class and the givensignature.Uses ofString injdk.dynalink.linker
Fields injdk.dynalink.linker declared asStringModifier and TypeFieldDescriptionstatic finalStringGuardingDynamicLinkerExporter.AUTOLOAD_PERMISSION_NAMEThe name of the runtime permission for creating instances of this class.Methods injdk.dynalink.linker with parameters of typeStringModifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.Uses ofString injdk.dynalink.linker.support
Methods injdk.dynalink.linker.support with parameters of typeStringModifier and TypeMethodDescriptionLookup.findGetter(Class<?> refc,String name,Class<?> type) Performs aMethodHandles.Lookup.findGetter(Class, String, Class),converting any encounteredIllegalAccessExceptioninto anIllegalAccessErrorandNoSuchFieldExceptioninto aNoSuchFieldError.staticMethodHandleLookup.findOwnSpecial(MethodHandles.Lookup lookup,String name,Class<?> rtype,Class<?>... ptypes) Given a lookup, finds usingLookup.findSpecial(Class, String, MethodType)a method on that lookup's class.Lookup.findOwnSpecial(String name,Class<?> rtype,Class<?>... ptypes) Finds usingLookup.findSpecial(Class, String, MethodType)a method onthat lookup's class.staticMethodHandleLookup.findOwnStatic(MethodHandles.Lookup lookup,String name,Class<?> rtype,Class<?>... ptypes) Given a lookup, finds usingLookup.findStatic(Class, String, MethodType)a method on that lookup's class.Lookup.findOwnStatic(String name,Class<?> rtype,Class<?>... ptypes) Finds usingLookup.findStatic(Class, String, MethodType)a method onthat lookup's class.Lookup.findSpecial(Class<?> declaringClass,String name,MethodType type) Performs aMethodHandles.Lookup.findSpecial(Class, String, MethodType, Class)on the underlying lookup.Lookup.findStatic(Class<?> declaringClass,String name,MethodType type) Performs aMethodHandles.Lookup.findStatic(Class, String, MethodType)on the underlying lookup.Lookup.findVirtual(Class<?> declaringClass,String name,MethodType type) Performs aMethodHandles.Lookup.findVirtual(Class, String, MethodType)on the underlying lookup.staticClass<?> TypeUtilities.getPrimitiveTypeByName(String name) Given a name of a primitive type returns the class representing it.Uses ofString injdk.incubator.vector
Methods injdk.incubator.vector that returnStringModifier and TypeMethodDescriptionVectorOperators.Operator.name()Returns the symbolic name of this operator,as a constant inVectorOperators.VectorOperators.Operator.operatorName()Returns the Java operator symbol or methodname corresponding to this operator.staticStringFloat16.toHexString(Float16 f16) Returns a hexadecimal string representation of theFloat16argument.finalStringByteVector.toString()Returns a string representation of this vector, of the form"[0,1,2...]", reporting the lane values of this vector,in lane order.finalStringDoubleVector.toString()Returns a string representation of this vector, of the form"[0,1,2...]", reporting the lane values of this vector,in lane order.Float16.toString()Returns a string representation of thisFloat16.staticStringReturns a string representation of theFloat16argument.finalStringFloatVector.toString()Returns a string representation of this vector, of the form"[0,1,2...]", reporting the lane values of this vector,in lane order.finalStringIntVector.toString()Returns a string representation of this vector, of the form"[0,1,2...]", reporting the lane values of this vector,in lane order.finalStringLongVector.toString()Returns a string representation of this vector, of the form"[0,1,2...]", reporting the lane values of this vector,in lane order.finalStringShortVector.toString()Returns a string representation of this vector, of the form"[0,1,2...]", reporting the lane values of this vector,in lane order.abstractStringVector.toString()Returns a string representation of this vector, of the form"[0,1,2...]", reporting the lane values of thisvector, in lane order.finalStringVectorMask.toString()Returns a string representation of this mask, of the form"Mask[T.TT...]", reporting the mask bitsettings (as 'T' or '.' characters) in lane order.finalStringVectorShuffle.toString()Returns a string representation of this shuffle, of the form"Shuffle[0,1,2...]", reporting the source indexesin lane order.VectorSpecies.toString()Returns a string of the form "Species[ETYPE, VLENGTH, SHAPE]",whereETYPEis the primitivelane type,VLENGTHis thevector lane count associated with the species, andSHAPEis thevector shapeassociated with the species.Methods injdk.incubator.vector with parameters of typeStringUses ofString injdk.javadoc.doclet
Methods injdk.javadoc.doclet that returnStringModifier and TypeMethodDescriptionDoclet.Option.getDescription()Returns the description of the option.Doclet.getName()Returns a name identifying the doclet.StandardDoclet.getName()Taglet.getName()Returns the name of the tag supported by this taglet.Doclet.Option.getParameters()Returns the parameters of the option.Returns the string representation of a series of instances ofthis tag to be included in the generated output.Methods injdk.javadoc.doclet that return types with arguments of typeStringModifier and TypeMethodDescriptionDoclet.Option.getNames()Returns the list of names that may be used to identify the option.Methods injdk.javadoc.doclet with parameters of typeStringModifier and TypeMethodDescriptiondefault voidReporter.print(Diagnostic.Kind kind,DocTreePath path, int start, int pos, int end,String message) Prints a diagnostic message related to a position within a range of characters in a tree node.voidReporter.print(Diagnostic.Kind kind,DocTreePath path,String message) Prints a diagnostic message related to a tree node in a documentation comment.voidReporter.print(Diagnostic.Kind kind,String message) Prints a diagnostic message.voidReporter.print(Diagnostic.Kind kind,Element element,String message) Prints a diagnostic message related to an element.default voidReporter.print(Diagnostic.Kind kind,FileObject file, int start, int pos, int end,String message) Prints a diagnostic message related to a position within a range of characters in a file.booleanProcesses the option and arguments as needed.staticDoclet.Option.KindReturns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.staticTaglet.LocationReturns the enum constant of this class with the specified name.Method parameters injdk.javadoc.doclet with type arguments of typeStringUses ofString injdk.jfr
Modifier and TypeFieldDescriptionstatic finalStringDataAmount.BITSUnit for bitsstatic finalStringDataAmount.BYTESUnit for bytesstatic finalStringTimespan.MICROSECONDSUnit for microseconds.static finalStringTimespan.MILLISECONDSUnit for milliseconds.static finalStringTimestamp.MILLISECONDS_SINCE_EPOCHThe unit for the difference, measured in milliseconds, between the currenttime and midnight, January 1, 1970 UTC.static finalStringEnabled.NAMESetting name"enabled", signifies that the event should berecorded.static finalStringPeriod.NAMESettings name"period"for configuring periodic eventsstatic finalStringStackTrace.NAMESettings name"stackTrace"to be used for enabling event stack traces.static finalStringThreshold.NAMESetting name"threshold"for configuring event thresholds.static finalStringThrottle.NAMESetting name"throttle"for configuring throttled events.static finalStringTimespan.NANOSECONDSUnit for nanoseconds.static finalStringTimespan.SECONDSUnit for seconds.static finalStringTimespan.TICKSUnit for ticks.static finalStringTimestamp.TICKSThe unit for the number of ticks that have transpired since some arbitrarystarting date.Modifier and TypeMethodDescriptionabstractStringCombines the setting values for all running recordings into one value whenmultiple recordings are running at the same time,Configuration.getContents()Returns a textual representation of the configuration (for example, thecontents of a JFC file).SettingDescriptor.getContentType()Returns a textual identifier that specifies how a value that is represented bythisSettingDescriptorobject is interpreted or formatted.ValueDescriptor.getContentType()Returns a textual identifier that specifies how a value represented bythisValueDescriptoris interpreted or formatted.SettingDescriptor.getDefaultValue()Returns the default value for this setting descriptor.Configuration.getDescription()Returns a short sentence that describes the configuration (for example"Lowoverhead configuration safe for continuous use in productionenvironments")EventType.getDescription()Returns a short sentence that describes the event class.SettingDescriptor.getDescription()Returns a sentence that describes the setting (for example"Record event with durationabove or equal to threshold").ValueDescriptor.getDescription()Returns a sentence describing the value (for example,"Maximumthroughput in the transaction system. Value is reset after each newbatch.").Configuration.getLabel()Returns a human-readable name (for example,"Continuous" or "Profiling"}.EventType.getLabel()Returns a human-readable name (for example,"CPU Load").SettingDescriptor.getLabel()Returns a human-readable name that describes the setting (for example,"Threshold").ValueDescriptor.getLabel()Returns a human-readable name that describes the value (for example,"Maximum Throughput").Configuration.getName()Returns an identifying name (for example,"default" or "profile").EventType.getName()Returns an identifier for the event (for example,"jdk.CPULoad").Recording.getName()Returns the name of this recording.SettingDescriptor.getName()Returns the name of the setting (for example,"threshold").ValueDescriptor.getName()Returns the name of the value (for example,"maxThroughput").Configuration.getProvider()Returns who created the configuration (for example"OpenJDK").AnnotationElement.getTypeName()Returns the fully qualified name of the annotation type that corresponds tothisAnnotationElement(for example,"jdk.jfr.Label").SettingDescriptor.getTypeName()Returns the fully qualified class name of the type that is associated with thissetting descriptor.ValueDescriptor.getTypeName()Returns the fully qualified class name of the type that is associated withthis value descriptor.abstractStringSettingControl.getValue()Returns the currently used value for this setting, notnull.Modifier and TypeMethodDescriptionEventType.getCategoryNames()Returns the list of human-readable names that makes up the categories forthis event type (for example,"Java Application","Statistics").Configuration.getSettings()Returns the settings that specifies how a recording is configured.Configuration.getSettings()Returns the settings that specifies how a recording is configured.Recording.getSettings()Returns settings used by this recording.Recording.getSettings()Returns settings used by this recording.Modifier and TypeMethodDescriptionDisables event with the specified name.Enables the event with the specified name.staticConfigurationConfiguration.getConfiguration(String name) Returns a predefined configuration.Returns the field with the specified name, ornullif it doesn'texist.Returns a value for thisAnnotationElement.booleanReturnstrueif an annotation value with the specified name exists inthisAnnotationElement.voidSets a human-readable name (for example,"My Recording").abstract voidSets the value for this setting.staticRecordingStateReturns the enum constant of this class with the specified name.abstractEventSettingsSets a setting value for the event that is associated with this event setting.Modifier and TypeMethodDescriptionabstractStringCombines the setting values for all running recordings into one value whenmultiple recordings are running at the same time,voidRecording.setSettings(Map<String, String> settings) Replaces all settings for this recording.voidRecording.setSettings(Map<String, String> settings) Replaces all settings for this recording.ModifierConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Constructs aFlightRecorderPermissionwith the specified name.ValueDescriptor(Class<?> type,String name) Constructs a value descriptor, useful for dynamically creating event types andannotations.ValueDescriptor(Class<?> type,String name,List<AnnotationElement> annotations) Constructs a value descriptor, useful for dynamically creating event types andannotations.ModifierConstructorDescriptionAnnotationElement(Class<? extendsAnnotation> annotationType,Map<String, Object> values) Creates an annotation element to use for dynamically defined events.Creates a recording with settings from a map of name-value pairs.Creates a recording with settings from a map of name-value pairs.Uses ofString injdk.jfr.consumer
Methods injdk.jfr.consumer that returnStringModifier and TypeMethodDescriptionRecordedMethod.getDescriptor()Returns the method descriptor for this method (for example,"(Ljava/lang/String;)V").RecordedThread.getJavaName()Returns the Java thread name, ornullif doesn't exist.RecordedClass.getName()Returns the fully qualified name of the class (for example,"java.lang.String").RecordedClassLoader.getName()Returns the name of the class loader (for example, "boot", "platform", and"app").RecordedMethod.getName()Returns the name of this method, for example"toString".RecordedThreadGroup.getName()Returns the name of the thread group, ornullif doesn't exist.RecordedThread.getOSName()Returns the thread name used by the operating system.finalStringReturns the value of a field of typeString.RecordedFrame.getType()Returns the frame type for the execution point that is represented by thisrecorded frame (for example,"Interpreted","JIT compiled"or"Inlined").finalStringRecordedObject.toString()Returns a textual representation of this object.Methods injdk.jfr.consumer with parameters of typeStringModifier and TypeMethodDescriptionDisables event with the specified name.Enables the event with the specified name.final booleanRecordedObject.getBoolean(String name) Returns the value of a field of typeboolean.final byteReturns the value of a field of typebyte.final charReturns the value of a field of typechar.finalRecordedClassReturns the value of a field of typeClass.final doubleReturns the value of a field of typedoubleor of another primitivetype that is convertible to typedoubleby a widening conversion.finalDurationRecordedObject.getDuration(String name) Returns the value of a timespan field.final floatReturns the value of a field of typefloator of another primitivetype convertible to typefloatby a widening conversion.finalInstantRecordedObject.getInstant(String name) Returns the value of a timestamp field.final intReturns the value of a field of typeintor of another primitive typethat is convertible to typeintby a widening conversion.final longReturns the value of a field of typelongor of another primitivetype that is convertible to typelongby a widening conversion.final shortReturns the value of a field of typeshortor of another primitivetype convertible to typeshortby a widening conversion.finalStringReturns the value of a field of typeString.finalRecordedThreadReturns the value of a field of typeThread.final <T> TReturns the value of the field with the given name.booleanReturnstrueif a field with the given name exists,falseotherwise.voidEventStream.onEvent(String eventName,Consumer<RecordedEvent> action) Registers an action to perform on all events matching a name.voidRecordingStream.onEvent(String eventName,Consumer<RecordedEvent> action) Method parameters injdk.jfr.consumer with type arguments of typeStringModifier and TypeMethodDescriptionvoidRecordingStream.setSettings(Map<String, String> settings) Replaces all settings for this recording stream.voidRecordingStream.setSettings(Map<String, String> settings) Replaces all settings for this recording stream.Uses ofString injdk.jshell
Methods injdk.jshell that returnStringModifier and TypeMethodDescriptionabstractStringSourceCodeAnalysis.analyzeType(String code, int cursor) Infer the type of the given expression.SourceCodeAnalysis.Suggestion.continuation()The candidate continuation of the given user's input.SourceCodeAnalysis.SnippetWrapper.fullClassName()Returns the fully qualified class name of theSourceCodeAnalysis.SnippetWrapper.wrapped()class.ImportSnippet.fullname()The qualified name of the import.abstractStringDiag.getCode()Returns a diagnostic code indicating the type of diagnostic.EvalException.getExceptionClassName()Returns the name of the Throwable subclass which was thrown in theexecuting client.abstractStringDiag.getMessage(Locale locale) Returns a localized message for the given locale.Snippet.id()The unique identifier for the snippet.SourceCodeAnalysis.Documentation.javadoc()The javadoc of the given element.ExpressionSnippet.name()Variable name which is the value of the expression.ImportSnippet.name()The identifying name of the import.PersistentSnippet.name()Name of the Snippet.MethodSnippet.parameterTypes()A String representation of the parameter types of the method.Provides a prompt, then reads a single line of text from theconsole.SourceCodeAnalysis.CompletionInfo.remaining()Input remaining after the complete part of the source.MethodSnippet.signature()The full type signature of the method, including return type.SourceCodeAnalysis.Documentation.signature()The signature of the given element.Snippet.source()Return the source code of the snippet.SourceCodeAnalysis.CompletionInfo.source()Source code for the first Snippet of code input.SourceCodeAnalysis.SnippetWrapper.source()Returns the input that is wrapped.SnippetEvent.toString()Return a string representation of the eventfinalStringSourceCodeAnalysis.Highlight.toString()Returns a string representation of this record class.ExpressionSnippet.typeName()Type of the expressionVarSnippet.typeName()A String representation of the type of the variable.SnippetEvent.value()The result value of successful run.JShell.varValue(VarSnippet snippet) Get the current value of a variable.SourceCodeAnalysis.SnippetWrapper.wrapped()Returns a Java class definition that wraps theSourceCodeAnalysis.SnippetWrapper.source()or, if an import, the import source.Methods injdk.jshell that return types with arguments of typeStringModifier and TypeMethodDescriptionSourceCodeAnalysis.QualifiedNames.getNames()Known qualified names for the given simple name in the original code.JShell.unresolvedDependencies(DeclarationSnippet snippet) ForRECOVERABLE_DEFINEDorRECOVERABLE_NOT_DEFINEDdeclarations, the names of current unresolved dependencies forthe snippet.Methods injdk.jshell with parameters of typeStringModifier and TypeMethodDescriptionvoidJShell.addToClasspath(String path) The specified path is added to the end of the classpath used in eval().SourceCodeAnalysis.analyzeCompletion(String input) Given an input string, find the first snippet of code (one statement,definition, import, or expression) and evaluate if it is complete.abstractStringSourceCodeAnalysis.analyzeType(String code, int cursor) Infer the type of the given expression.JShell.Builder.compilerOptions(String... options) Adds compiler options.abstractList<SourceCodeAnalysis.Suggestion> SourceCodeAnalysis.completionSuggestions(String input, int cursor, int[] anchor) Compute possible follow-ups for the given input.abstractList<SourceCodeAnalysis.Documentation> SourceCodeAnalysis.documentation(String input, int cursor, boolean computeJavadoc) Compute documentation for the given user's input.Evaluate the input String, including definition and/or execution, ifapplicable.JShell.Builder.executionEngine(String executionControlSpec) Sets the custom engine for execution.abstractList<SourceCodeAnalysis.Highlight> SourceCodeAnalysis.highlights(String snippet) Returns a collection ofHighlights which can be used to colorthe given snippet.SourceCodeAnalysis.listQualifiedNames(String code, int cursor) List qualified names known for the simple name in the given code immediatelyto the left of the given cursor position.Provides a prompt, then reads a single line of text from theconsole.char[]JShellConsole.readPassword(String prompt) Provides a prompt, then reads a password or passphrase fromthe console with echoing disabled.JShell.Builder.remoteVMOptions(String... options) Sets additional VM options for launching the VM.SourceCodeAnalysis.sourceToSnippets(String input) Converts the source code of a snippet into aSnippetobject (orlist ofSnippetobjects in the case of some var declarations,e.g.: int x, y, z;).staticSnippet.KindReturns the enum constant of this class with the specified name.staticSnippet.StatusReturns the enum constant of this class with the specified name.staticSnippet.SubKindReturns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.abstractList<SourceCodeAnalysis.SnippetWrapper> Returns the wrapper information for the snippet within theinput source string.Method parameters injdk.jshell with type arguments of typeStringModifier and TypeMethodDescriptionJShell.Builder.executionEngine(ExecutionControlProvider executionControlProvider,Map<String, String> executionControlParameters) Sets the custom engine for execution.JShell.Builder.executionEngine(ExecutionControlProvider executionControlProvider,Map<String, String> executionControlParameters) Sets the custom engine for execution.JShell.Builder.idGenerator(BiFunction<Snippet, Integer, String> generator) Sets the generator of identifying names for Snippets.JShell.Builder.tempVariableNameGenerator(Supplier<String> generator) Sets a generator of temp variable names forVarSnippetofSnippet.SubKind.TEMP_VAR_EXPRESSION_SUBKIND.Uses ofString injdk.jshell.execution
Fields injdk.jshell.execution declared asStringModifier and TypeFieldDescriptionstatic finalStringJdiExecutionControlProvider.PARAM_HOST_NAMEThe local hostname to connect to.static finalStringJdiExecutionControlProvider.PARAM_LAUNCHShould JDI-controlled launching be used?static finalStringJdiExecutionControlProvider.PARAM_REMOTE_AGENTThe remote agent to launch.static finalStringJdiExecutionControlProvider.PARAM_TIMEOUTMilliseconds before connect timeout.Methods injdk.jshell.execution that returnStringModifier and TypeMethodDescriptionprotectedStringInvoke the specified "doit-method", a static method with no parameters.FailOverExecutionControlProvider.name()The unique name of thisExecutionControlProvider.JdiExecutionControlProvider.name()The unique name of thisExecutionControlProvider.LocalExecutionControlProvider.name()The unique name of thisExecutionControlProvider.protectedStringDirectExecutionControl.throwConvertedInvocationException(Throwable cause) Converts incoming exceptions in user code into instances of subtypes ofExecutionControl.ExecutionControlExceptionand throws theconverted exception.protectedStringDirectExecutionControl.throwConvertedOtherException(Throwable ex) Converts incoming exceptions in agent code into instances of subtypes ofExecutionControl.ExecutionControlExceptionand throws theconverted exception.finalStringJdiDefaultExecutionControl.JdiStarter.TargetDescription.toString()Returns a string representation of this record class.protected staticStringDirectExecutionControl.valueString(Object value) Converts theObjectvalue fromExecutionControl.invoke(String, String)orExecutionControl.varValue(String, String)toString.Methods injdk.jshell.execution that return types with arguments of typeStringModifier and TypeMethodDescriptionFailOverExecutionControlProvider.defaultParameters()Create and return the default parameter map for thisExecutionControlProvider.FailOverExecutionControlProvider.defaultParameters()Create and return the default parameter map for thisExecutionControlProvider.JdiExecutionControlProvider.defaultParameters()Create and return the default parameter map for thisExecutionControlProvider.JdiExecutionControlProvider.defaultParameters()Create and return the default parameter map for thisExecutionControlProvider.LocalExecutionControlProvider.defaultParameters()Create and return the default parameter map forLocalExecutionControlProvider.LocalExecutionControlProvider.defaultParameters()Create and return the default parameter map forLocalExecutionControlProvider.Methods injdk.jshell.execution with parameters of typeStringModifier and TypeMethodDescriptionvoidDirectExecutionControl.addToClasspath(String cp) voidLoaderDelegate.addToClasspath(String path) Adds the path to the execution class path.voidStreamingExecutionControl.addToClasspath(String path) DirectExecutionControl.extensionCommand(String command,Object arg) StreamingExecutionControl.extensionCommand(String command,Object arg) protectedClass<?> Finds the class with the specified binary name.Class<?> Finds the class with the specified binary name.static voidLaunch the agent, connecting to the JShell-core over the socket specifiedin the command-line argument.protectedReferenceTypeJdiExecutionControl.referenceType(VirtualMachine vm,String name) Returns the JDIReferenceTypecorresponding to the specifiedclass name.protected voidJdiInitiator.runListenProcess(String jdiAddress, int jshellControlPort,List<String> remoteVMOptions,JdiInitiator.ProcessStarted setupVM) Create a process that will attach to the given address.Method parameters injdk.jshell.execution with type arguments of typeStringModifier and TypeMethodDescriptionLocalExecutionControlProvider.createExecutionControl(ExecutionEnv env,Map<String, String> parameters) Create a newExecutionControlinstance.LocalExecutionControlProvider.createExecutionControl(ExecutionEnv env,Map<String, String> parameters) Create a newExecutionControlinstance.static voidUtil.detectJdiExitEvent(VirtualMachine vm,Consumer<String> unbiddenExitHandler) Monitor the JDI event stream forVMDeathEventandVMDisconnectEvent.static voidUtil.forwardExecutionControlAndIO(ExecutionControl ec,InputStream inStream,OutputStream outStream,Map<String,Consumer<OutputStream>> outputStreamMap,Map<String,Consumer<InputStream>> inputStreamMap) Forward commands from the input to the specifiedExecutionControlinstance, then responses back on the output.FailOverExecutionControlProvider.generate(ExecutionEnv env,Map<String, String> parameters) Create and return a locally executingExecutionControlinstance.FailOverExecutionControlProvider.generate(ExecutionEnv env,Map<String, String> parameters) Create and return a locally executingExecutionControlinstance.JdiExecutionControlProvider.generate(ExecutionEnv env,Map<String, String> parameters) JdiExecutionControlProvider.generate(ExecutionEnv env,Map<String, String> parameters) LocalExecutionControlProvider.generate(ExecutionEnv env,Map<String, String> parameters) Create and return a locally executingExecutionControlinstance.LocalExecutionControlProvider.generate(ExecutionEnv env,Map<String, String> parameters) Create and return a locally executingExecutionControlinstance.staticExecutionControlUtil.remoteInputOutput(InputStream input,OutputStream output,Map<String,OutputStream> outputStreamMap,Map<String,InputStream> inputStreamMap,BiFunction<ObjectInput,ObjectOutput,ExecutionControl> factory) Creates an ExecutionControl for given packetized input and output.protected voidJdiInitiator.runListenProcess(String jdiAddress, int jshellControlPort,List<String> remoteVMOptions,JdiInitiator.ProcessStarted setupVM) Create a process that will attach to the given address.JdiDefaultExecutionControl.JdiStarter.start(ExecutionEnv env,Map<String, String> parameters, int port) Start the external process based on the given parameters.JdiDefaultExecutionControl.JdiStarter.start(ExecutionEnv env,Map<String, String> parameters, int port) Start the external process based on the given parameters.Constructors injdk.jshell.execution with parameters of typeStringModifierConstructorDescriptionJdiInitiator(int port,List<String> remoteVMOptions,String remoteAgent, boolean isLaunch,String host, int timeout,Map<String, String> customConnectorArgs) Start the remote agent and establish a JDI connection to it.Constructor parameters injdk.jshell.execution with type arguments of typeStringModifierConstructorDescriptionJdiInitiator(int port,List<String> remoteVMOptions,String remoteAgent, boolean isLaunch,String host, int timeout,Map<String, String> customConnectorArgs) Start the remote agent and establish a JDI connection to it.JdiInitiator(int port,List<String> remoteVMOptions,String remoteAgent, boolean isLaunch,String host, int timeout,Map<String, String> customConnectorArgs) Start the remote agent and establish a JDI connection to it.JdiInitiator(int port,List<String> remoteVMOptions,String remoteAgent, boolean isLaunch,String host, int timeout,Map<String, String> customConnectorArgs) Start the remote agent and establish a JDI connection to it.Uses ofString injdk.jshell.spi
Methods injdk.jshell.spi that returnStringModifier and TypeMethodDescriptionExecutionControl.UserException.causeExceptionClass()Returns the class of the user exception.Invokes an executable Snippet by calling a method on the specifiedwrapper class.ExecutionControl.ClassBytecodes.name()The class name.ExecutionControlProvider.name()The unique name of thisExecutionControlProvider.Returns the value of a variable.Methods injdk.jshell.spi that return types with arguments of typeStringModifier and TypeMethodDescriptionExecutionControlProvider.defaultParameters()Create and return the default parameter map for thisExecutionControlProvider.ExecutionControlProvider.defaultParameters()Create and return the default parameter map for thisExecutionControlProvider.ExecutionEnv.extraRemoteVMOptions()Returns the additional VM options to be used when launching the remoteJVM.Methods injdk.jshell.spi with parameters of typeStringModifier and TypeMethodDescriptionvoidExecutionControl.addToClasspath(String path) Adds the path to the execution class path.ExecutionControl.extensionCommand(String command,Object arg) Run a non-standard command (or a standard command from a newer version).staticExecutionControlExecutionControl.generate(ExecutionEnv env,String spec) Search for a provider, then create and return theExecutionControlinstance.staticExecutionControlSearch for a provider, then create and return theExecutionControlinstance.Invokes an executable Snippet by calling a method on the specifiedwrapper class.Returns the value of a variable.Method parameters injdk.jshell.spi with type arguments of typeStringModifier and TypeMethodDescriptionstaticExecutionControlSearch for a provider, then create and return theExecutionControlinstance.staticExecutionControlSearch for a provider, then create and return theExecutionControlinstance.ExecutionControlProvider.generate(ExecutionEnv env,Map<String, String> parameters) Create and return theExecutionControlinstance.ExecutionControlProvider.generate(ExecutionEnv env,Map<String, String> parameters) Create and return theExecutionControlinstance.Constructors injdk.jshell.spi with parameters of typeStringModifierConstructorDescriptionClassBytecodes(String name, byte[] bytecodes) Creates a name/bytecode pair.ClassInstallException(String message, boolean[] installed) EngineTerminationException(String message) ExecutionControlException(String message) InternalException(String message) NotImplementedException(String message) UserException(String message,String causeExceptionClass,StackTraceElement[] stackElements) Uses ofString injdk.jshell.tool
Methods injdk.jshell.tool with parameters of typeStringModifier and TypeMethodDescriptionvoidRun an instance of the Java shell tool as configured by the other methodsin this interface.default intRun an instance of the Java shell tool as configured by the other methodsin this interface.Method parameters injdk.jshell.tool with type arguments of typeStringModifier and TypeMethodDescriptionSet the source for environment variables.Set the source for environment variables.JavaShellToolBuilder.persistence(Map<String, String> prefsMap) Set the storage mechanism for persistent information which includesinput history and retained settings.JavaShellToolBuilder.persistence(Map<String, String> prefsMap) Set the storage mechanism for persistent information which includesinput history and retained settings.Uses ofString injdk.management.jfr
Fields injdk.management.jfr declared asStringModifier and TypeFieldDescriptionstatic finalStringFlightRecorderMXBean.MXBEAN_NAMEString representation of theObjectNamefor theFlightRecorderMXBean.Methods injdk.management.jfr that returnStringModifier and TypeMethodDescriptionConfigurationInfo.getContents()Returns the textual representation of the configuration associated withthisConfigurationInfo, typically the contents of theconfiguration file that was used to create the configuration.SettingDescriptorInfo.getContentType()Returns the content type of the setting associated thisSettingDescriptorInfo(for example,"jdk.jfr.Timespan").SettingDescriptorInfo.getDefaultValue()Returns the default value of the setting associated thisSettingDescriptorInfo(for example,"20 ms").ConfigurationInfo.getDescription()Returns a short sentence that describes the configuration associated withthisConfigurationInfo(for example,"Lowoverhead configuration safe for continuous use in productionenvironments".EventTypeInfo.getDescription()Returns a short sentence or two describing the event type associated withthisEventTypeInfo, for example"Garbage collection performed by the JVM"".SettingDescriptorInfo.getDescription()Returns the description of the setting associated thisSettingDescriptorInfo(for example,"The duration an event must exceed to be be recorded").RecordingInfo.getDestination()Returns destination path where data, for the recording associated withthisRecordingInfo, should be written when the recording stops,ornullif the recording should not be written.ConfigurationInfo.getLabel()Returns the human-readable name (for example,"Continuous"or"Profiling") forthe configuration associated with thisConfigurationInfoEventTypeInfo.getLabel()Returns the label, a human-readable name, associated with the event typefor thisEventTypeInfo(for example,"Garbage Collection").SettingDescriptorInfo.getLabel()Returns the human-readable name of the setting associated with thisSettingDescriptorInfo(for example,"Threshold").ConfigurationInfo.getName()Returns the name of the configuration associated with thisConfigurationInfo(for example,"default").EventTypeInfo.getName()Returns the name for the event type associated with thisEventTypeInfo(for example,"jdk.GarbageCollection").RecordingInfo.getName()Returns the name of the recording associated with thisRecordingInfo.SettingDescriptorInfo.getName()Returns the name of the setting associated with thisSettingDescriptorInfo(for example,"threshold").ConfigurationInfo.getProvider()Returns the provider of the configuration associated with thisConfigurationInfo(for example,"OpenJDK").RecordingInfo.getState()Returns aStringrepresentation of state of the recordingassociated with thisRecordingInfo.SettingDescriptorInfo.getTypeName()Returns the type name of the setting associated thisSettingDescriptorInfo(for example,"jdk.settings.Threshold").ConfigurationInfo.toString()Returns a description of the configuration that is associated with thisConfigurationInfo.EventTypeInfo.toString()Returns a description of thisEventTypeInfo.RecordingInfo.toString()Returns a string description of the recording associated with thisRecordingInfoSettingDescriptorInfo.toString()Returns aStringdescription of thisSettingDescriptorInfo.Methods injdk.management.jfr that return types with arguments of typeStringModifier and TypeMethodDescriptionEventTypeInfo.getCategoryNames()Returns the list of human-readable names that makes up the category for thisEventTypeInfo(for example,"Java Virtual Machine"or"Garbage Collector").FlightRecorderMXBean.getRecordingOptions(long recordingId) Returns a map that contains the options for the recording with thespecified ID (for example, the destination file or time span to keeprecorded data).FlightRecorderMXBean.getRecordingOptions(long recordingId) Returns a map that contains the options for the recording with thespecified ID (for example, the destination file or time span to keeprecorded data).FlightRecorderMXBean.getRecordingSettings(long recordingId) Returns aMapthat contains the settings for the recording with the specified ID,(for example, the event thresholds)FlightRecorderMXBean.getRecordingSettings(long recordingId) Returns aMapthat contains the settings for the recording with the specified ID,(for example, the event thresholds)ConfigurationInfo.getSettings()Returns the settings for the configuration associated with thisConfigurationInfo.ConfigurationInfo.getSettings()Returns the settings for the configuration associated with thisConfigurationInfo.RecordingInfo.getSettings()Returns the settings for the recording associated with thisRecordingInfo.RecordingInfo.getSettings()Returns the settings for the recording associated with thisRecordingInfo.Methods injdk.management.jfr with parameters of typeStringModifier and TypeMethodDescriptionvoidWrites recording data to the specified file.Disables event with the specified name.Enables the event with the specified name.voidRemoteRecordingStream.onEvent(String eventName,Consumer<RecordedEvent> action) voidFlightRecorderMXBean.setConfiguration(long recordingId,String contents) Sets a configuration as a string representation for the recording with thespecified ID.voidFlightRecorderMXBean.setPredefinedConfiguration(long recordingId,String configurationName) Sets a predefined configuration for the recording with the specified ID.Method parameters injdk.management.jfr with type arguments of typeStringModifier and TypeMethodDescriptionlongFlightRecorderMXBean.openStream(long recordingId,Map<String, String> streamOptions) Opens a data stream for the recording with the specified ID, or0to get data irrespective of recording.longFlightRecorderMXBean.openStream(long recordingId,Map<String, String> streamOptions) Opens a data stream for the recording with the specified ID, or0to get data irrespective of recording.voidFlightRecorderMXBean.setRecordingOptions(long recordingId,Map<String, String> options) Configures the recording options (for example, destination file and time spanto keep data).voidFlightRecorderMXBean.setRecordingOptions(long recordingId,Map<String, String> options) Configures the recording options (for example, destination file and time spanto keep data).voidFlightRecorderMXBean.setRecordingSettings(long recordingId,Map<String, String> settings) Sets and replaces all previous settings for the specified recording.voidFlightRecorderMXBean.setRecordingSettings(long recordingId,Map<String, String> settings) Sets and replaces all previous settings for the specified recording.voidRemoteRecordingStream.setSettings(Map<String, String> settings) Replaces all settings for this recording stream.voidRemoteRecordingStream.setSettings(Map<String, String> settings) Replaces all settings for this recording stream.Uses ofString injdk.net
Modifier and TypeMethodDescriptionfinalStringUnixDomainPrincipal.toString()Returns a string representation of this record class.ModifierConstructorDescriptionNetworkPermission(String name) Deprecated, for removal: This API element is subject to removal in a future version.Creates a NetworkPermission with the given target name.NetworkPermission(String name,String actions) Deprecated, for removal: This API element is subject to removal in a future version.Creates a NetworkPermission with the given target name.Uses ofString injdk.security.jarsigner
Methods injdk.security.jarsigner that returnStringModifier and TypeMethodDescriptionstaticStringJarSigner.Builder.getDefaultDigestAlgorithm()Gets the default digest algorithm.staticStringJarSigner.Builder.getDefaultSignatureAlgorithm(PrivateKey key) Gets the default signature algorithm for a private key.JarSigner.getDigestAlgorithm()Returns the digest algorithm for thisJarSigner.JarSigner.getProperty(String key) Returns the value of an additional implementation-specific propertyindicated by the specified key.JarSigner.getSignatureAlgorithm()Returns the signature algorithm for thisJarSigner.JarSigner.getSignerName()Returns the signer name of thisJarSigner.Methods injdk.security.jarsigner with parameters of typeStringModifier and TypeMethodDescriptionJarSigner.Builder.digestAlgorithm(String algorithm) Sets the digest algorithm.JarSigner.Builder.digestAlgorithm(String algorithm,Provider provider) Sets the digest algorithm from the specified provider.JarSigner.getProperty(String key) Returns the value of an additional implementation-specific propertyindicated by the specified key.JarSigner.Builder.setProperty(String key,String value) Sets an additional implementation-specific property indicated bythe specified key.JarSigner.Builder.signatureAlgorithm(String algorithm) Sets the signature algorithm.JarSigner.Builder.signatureAlgorithm(String algorithm,Provider provider) Sets the signature algorithm from the specified provider.JarSigner.Builder.signerName(String name) Sets the signer name.Method parameters injdk.security.jarsigner with type arguments of typeStringModifier and TypeMethodDescriptionJarSigner.Builder.eventHandler(BiConsumer<String, String> handler) Sets en event handler that will be triggered when aJarEntryis to be added, signed, or updated during the signing process.JarSigner.Builder.eventHandler(BiConsumer<String, String> handler) Sets en event handler that will be triggered when aJarEntryis to be added, signed, or updated during the signing process.Constructors injdk.security.jarsigner with parameters of typeStringModifierConstructorDescriptionJarSignerException(String message,Throwable cause) Constructs a newJarSignerExceptionwith the specified detailmessage and cause.Uses ofString innetscape.javascript
Methods innetscape.javascript with parameters of typeStringModifier and TypeMethodDescriptionabstractObjectDeprecated, for removal: This API element is subject to removal in a future version.Calls a JavaScript method.abstractObjectDeprecated, for removal: This API element is subject to removal in a future version.Evaluates a JavaScript expression.abstractObjectDeprecated, for removal: This API element is subject to removal in a future version.Retrieves a named member of a JavaScript object.abstract voidJSObject.removeMember(String name) Deprecated, for removal: This API element is subject to removal in a future version.Removes a named member of a JavaScript object.abstract voidDeprecated, for removal: This API element is subject to removal in a future version.Sets a named member of a JavaScript object.Constructors innetscape.javascript with parameters of typeStringModifierConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Construct a new JavaScript exception with the specified detail message.Uses ofString inorg.ietf.jgss
Methods inorg.ietf.jgss that returnStringModifier and TypeMethodDescriptionGSSException.getMajorString()Returns a string explaining the GSS-API level major error code inthis exception.GSSException.getMessage()Returns a textual representation of both the major and the minorstatus codes.GSSException.getMinorString()Returns a string explaining the mechanism specific error code.MessageProp.getMinorString()Retrieves a string explaining the minor status code.GSSException.toString()Returns a textual representation of both the major and the minorstatus codes.GSSName.toString()Returns a textual representation of theGSSNameobject.Oid.toString()Returns a string representation of the oid's integer componentsin dot separated notation.Methods inorg.ietf.jgss with parameters of typeStringModifier and TypeMethodDescriptionabstractGSSNameGSSManager.createName(String nameStr,Oid nameType) Factory method to convert a string name from thespecified namespace to a GSSName object.abstractGSSNameGSSManager.createName(String nameStr,Oid nameType,Oid mech) Factory method to convert a string name from thespecified namespace to a GSSName object and canonicalize it at thesame time for a mechanism.voidUsed by the exception thrower to set the mechanismlevel minor error code and its string explanation.voidMessageProp.setSupplementaryStates(boolean duplicate, boolean old, boolean unseq, boolean gap, int minorStatus,String minorString) This method sets the state for the supplementary information flagsand the minor status in MessageProp.Constructors inorg.ietf.jgss with parameters of typeStringModifierConstructorDescriptionGSSException(int majorCode, int minorCode,String minorString) Creates a GSSException object with the specified major code, minorcode, and minor code textual explanation.Constructs an Oid object from a string representation of itsinteger components.Uses ofString inorg.w3c.dom
Methods inorg.w3c.dom that returnStringModifier and TypeMethodDescriptionElement.getAttribute(String name) Retrieves an attribute value by name.Element.getAttributeNS(String namespaceURI,String localName) Retrieves an attribute value by local name and namespace URI.Node.getBaseURI()The absolute base URI of this node ornullif theimplementation wasn't able to obtain an absolute URI.CharacterData.getData()The character data of the node that implements this interface.ProcessingInstruction.getData()The content of this processing instruction.Document.getDocumentURI()The location of the document ornullif undefined or iftheDocumentwas created usingDOMImplementation.createDocument.Document.getInputEncoding()An attribute specifying the encoding used for this document at the timeof the parsing.Entity.getInputEncoding()An attribute specifying the encoding used for this entity at the timeof parsing, when it is an external parsed entity.DocumentType.getInternalSubset()The internal subset as a string, ornullif there is none.Node.getLocalName()Returns the local part of the qualified name of this node.DOMError.getMessage()An implementation specific string describing the error that occurred.Attr.getName()Returns the name of this attribute.DocumentType.getName()The name of DTD; i.e., the name immediately following theDOCTYPEkeyword.NameList.getName(int index) Returns theindexth name item in the collection.NameList.getNamespaceURI(int index) Returns theindexth namespaceURI item in the collection.Node.getNamespaceURI()The namespace URI of this node, ornullif it isunspecified (see ).Node.getNodeName()The name of this node, depending on its type; see the table above.Node.getNodeValue()The value of this node, depending on its type; see the table above.Entity.getNotationName()For unparsed entities, the name of the notation for the entity.Node.getPrefix()The namespace prefix of this node, ornullif it isunspecified.DocumentType.getPublicId()The public identifier of the external subset.Entity.getPublicId()The public identifier associated with the entity if specified, andnullotherwise.Notation.getPublicId()The public identifier of this notation.DocumentType.getSystemId()The system identifier of the external subset.Entity.getSystemId()The system identifier associated with the entity if specified, andnullotherwise.Notation.getSystemId()The system identifier of this notation.Element.getTagName()The name of the element.ProcessingInstruction.getTarget()The target of this processing instruction.Node.getTextContent()This attribute returns the text content of this node and itsdescendants.DOMError.getType()ADOMStringindicating which related data is expected inrelatedData.TypeInfo.getTypeName()The name of a type declared for the associated element or attribute,ornullif unknown.TypeInfo.getTypeNamespace()The namespace of the type declared for the associated element orattribute ornullif the element does not havedeclaration or if no namespace information is available.DOMLocator.getUri()The URI this locator is pointing to, ornullif no URI isavailable.Attr.getValue()On retrieval, the value of the attribute is returned as a string.Text.getWholeText()Returns all text ofTextnodes logically-adjacent textnodes to this node, concatenated in document order.Document.getXmlEncoding()An attribute specifying, as part of theXML declaration, the encoding of this document.Entity.getXmlEncoding()An attribute specifying, as part of the text declaration, the encodingof this entity, when it is an external parsed entity.Document.getXmlVersion()An attribute specifying, as part of theXML declaration, the version number of this document.Entity.getXmlVersion()An attribute specifying, as part of the text declaration, the versionnumber of this entity, when it is an external parsed entity.DOMStringList.item(int index) Returns theindexth item in the collection.Node.lookupNamespaceURI(String prefix) Look up the namespace URI associated to the given prefix, starting fromthis node.Node.lookupPrefix(String namespaceURI) Look up the prefix associated to the given namespace URI, starting fromthis node.CharacterData.substringData(int offset, int count) Extracts a range of data from the node.Methods inorg.w3c.dom with parameters of typeStringModifier and TypeMethodDescriptionvoidCharacterData.appendData(String arg) Append the string to the end of the character data of the node.booleanDOMConfiguration.canSetParameter(String name,Object value) Check if setting a parameter to a specific value is supported.booleanTest if a string is part of thisDOMStringList.booleanTest if a name is part of thisNameList.booleanNameList.containsNS(String namespaceURI,String name) Test if the pair namespaceURI/name is part of thisNameList.Document.createAttribute(String name) Creates anAttrof the given name.Document.createAttributeNS(String namespaceURI,String qualifiedName) Creates an attribute of the given qualified name and namespace URI.Document.createCDATASection(String data) Creates aCDATASectionnode whose value is the specifiedstring.Document.createComment(String data) Creates aCommentnode given the specified string.DOMImplementation.createDocument(String namespaceURI,String qualifiedName,DocumentType doctype) Creates a DOM Document object of the specified type with its documentelement.DOMImplementation.createDocumentType(String qualifiedName,String publicId,String systemId) Creates an emptyDocumentTypenode.Document.createElement(String tagName) Creates an element of the type specified.Document.createElementNS(String namespaceURI,String qualifiedName) Creates an element of the given qualified name and namespace URI.Document.createEntityReference(String name) Creates anEntityReferenceobject.Document.createProcessingInstruction(String target,String data) Creates aProcessingInstructionnode given the specifiedname and data strings.Document.createTextNode(String data) Creates aTextnode given the specified string.Element.getAttribute(String name) Retrieves an attribute value by name.Element.getAttributeNode(String name) Retrieves an attribute node by name.Element.getAttributeNodeNS(String namespaceURI,String localName) Retrieves anAttrnode by local name and namespace URI.Element.getAttributeNS(String namespaceURI,String localName) Retrieves an attribute value by local name and namespace URI.DOMImplementationSource.getDOMImplementation(String features) A method to request the first DOM implementation that supports thespecified features.DOMImplementationSource.getDOMImplementationList(String features) A method to request a list of DOM implementations that support thespecified features and versions, as specified in .Document.getElementById(String elementId) Returns theElementthat has an ID attribute with thegiven value.Document.getElementsByTagName(String tagname) Returns aNodeListof all theElementsindocument order with a given tag name and are contained in thedocument.Element.getElementsByTagName(String name) Returns aNodeListof all descendantElementswith a given tag name, in document order.Document.getElementsByTagNameNS(String namespaceURI,String localName) Returns aNodeListof all theElementswith agiven local name and namespace URI in document order.Element.getElementsByTagNameNS(String namespaceURI,String localName) Returns aNodeListof all the descendantElementswith a given local name and namespace URI indocument order.DOMImplementation.getFeature(String feature,String version) This method returns a specialized object which implements thespecialized APIs of the specified feature and version, as specifiedinDOM Features.Node.getFeature(String feature,String version) This method returns a specialized object which implements thespecialized APIs of the specified feature and version, as specifiedin .NamedNodeMap.getNamedItem(String name) Retrieves a node specified by name.NamedNodeMap.getNamedItemNS(String namespaceURI,String localName) Retrieves a node specified by local name and namespace URI.DOMConfiguration.getParameter(String name) Return the value of a parameter if known.Node.getUserData(String key) Retrieves the object associated to a key on a this node.voidThis method is called whenever the node for which this handler isregistered is imported or cloned.booleanElement.hasAttribute(String name) Returnstruewhen an attribute with a given name isspecified on this element or has a default value,falseotherwise.booleanElement.hasAttributeNS(String namespaceURI,String localName) Returnstruewhen an attribute with a given local name andnamespace URI is specified on this element or has a default value,falseotherwise.booleanDOMImplementation.hasFeature(String feature,String version) Test if the DOM implementation implements a specific feature andversion, as specified inDOM Features.voidCharacterData.insertData(int offset,String arg) Insert a string at the specified 16-bit unit offset.booleanNode.isDefaultNamespace(String namespaceURI) This method checks if the specifiednamespaceURIis thedefault namespace or not.booleanTypeInfo.isDerivedFrom(String typeNamespaceArg,String typeNameArg, int derivationMethod) This method returns if there is a derivation between the referencetype definition, i.e. theTypeInfoon which the methodis being called, and the other type definition, i.e. the one passedas parameters.booleanNode.isSupported(String feature,String version) Tests whether the DOM implementation implements a specific feature andthat feature is supported by this node, as specified in .Node.lookupNamespaceURI(String prefix) Look up the namespace URI associated to the given prefix, starting fromthis node.Node.lookupPrefix(String namespaceURI) Look up the prefix associated to the given namespace URI, starting fromthis node.voidElement.removeAttribute(String name) Removes an attribute by name.voidElement.removeAttributeNS(String namespaceURI,String localName) Removes an attribute by local name and namespace URI.NamedNodeMap.removeNamedItem(String name) Removes a node specified by name.NamedNodeMap.removeNamedItemNS(String namespaceURI,String localName) Removes a node specified by local name and namespace URI.Document.renameNode(Node n,String namespaceURI,String qualifiedName) Rename an existing node of typeELEMENT_NODEorATTRIBUTE_NODE.voidCharacterData.replaceData(int offset, int count,String arg) Replace the characters starting at the specified 16-bit unit offsetwith the specified string.Text.replaceWholeText(String content) Replaces the text of the current node and all logically-adjacent textnodes with the specified text.voidElement.setAttribute(String name,String value) Adds a new attribute.voidElement.setAttributeNS(String namespaceURI,String qualifiedName,String value) Adds a new attribute.voidThe character data of the node that implements this interface.voidThe content of this processing instruction.voidDocument.setDocumentURI(String documentURI) The location of the document ornullif undefined or iftheDocumentwas created usingDOMImplementation.createDocument.voidElement.setIdAttribute(String name, boolean isId) If the parameterisIdistrue, this methoddeclares the specified attribute to be a user-determined ID attribute.voidElement.setIdAttributeNS(String namespaceURI,String localName, boolean isId) If the parameterisIdistrue, this methoddeclares the specified attribute to be a user-determined ID attribute.voidNode.setNodeValue(String nodeValue) The value of this node, depending on its type; see the table above.voidDOMConfiguration.setParameter(String name,Object value) Set the value of a parameter.voidThe namespace prefix of this node, ornullif it isunspecified.voidNode.setTextContent(String textContent) This attribute returns the text content of this node and itsdescendants.Node.setUserData(String key,Object data,UserDataHandler handler) Associate an object to a key on this node.voidOn retrieval, the value of the attribute is returned as a string.voidDocument.setXmlVersion(String xmlVersion) An attribute specifying, as part of theXML declaration, the version number of this document.Constructors inorg.w3c.dom with parameters of typeStringUses ofString inorg.w3c.dom.bootstrap
Fields inorg.w3c.dom.bootstrap declared asStringModifier and TypeFieldDescriptionstatic finalStringDOMImplementationRegistry.PROPERTYThe system property to specify theDOMImplementationSource class names.Methods inorg.w3c.dom.bootstrap with parameters of typeStringModifier and TypeMethodDescriptionDOMImplementationRegistry.getDOMImplementation(String features) Return the first implementation that has the desiredfeatures, ornullif none is found.DOMImplementationRegistry.getDOMImplementationList(String features) Return a list of implementations that support thedesired features.Uses ofString inorg.w3c.dom.css
Methods inorg.w3c.dom.css that returnStringModifier and TypeMethodDescriptionCSS2Properties.getAzimuth()See the azimuth property definition in CSS2.CSS2Properties.getBackground()See the background property definition in CSS2.CSS2Properties.getBackgroundAttachment()See the background-attachment property definition in CSS2.CSS2Properties.getBackgroundColor()See the background-color property definition in CSS2.CSS2Properties.getBackgroundImage()See the background-image property definition in CSS2.CSS2Properties.getBackgroundPosition()See the background-position property definition in CSS2.CSS2Properties.getBackgroundRepeat()See the background-repeat property definition in CSS2.CSS2Properties.getBorder()See the border property definition in CSS2.CSS2Properties.getBorderBottom()See the border-bottom property definition in CSS2.CSS2Properties.getBorderBottomColor()See the border-bottom-color property definition in CSS2.CSS2Properties.getBorderBottomStyle()See the border-bottom-style property definition in CSS2.CSS2Properties.getBorderBottomWidth()See the border-bottom-width property definition in CSS2.CSS2Properties.getBorderCollapse()See the border-collapse property definition in CSS2.CSS2Properties.getBorderColor()See the border-color property definition in CSS2.CSS2Properties.getBorderLeft()See the border-left property definition in CSS2.CSS2Properties.getBorderLeftColor()See the border-left-color property definition in CSS2.CSS2Properties.getBorderLeftStyle()See the border-left-style property definition in CSS2.CSS2Properties.getBorderLeftWidth()See the border-left-width property definition in CSS2.CSS2Properties.getBorderRight()See the border-right property definition in CSS2.CSS2Properties.getBorderRightColor()See the border-right-color property definition in CSS2.CSS2Properties.getBorderRightStyle()See the border-right-style property definition in CSS2.CSS2Properties.getBorderRightWidth()See the border-right-width property definition in CSS2.CSS2Properties.getBorderSpacing()See the border-spacing property definition in CSS2.CSS2Properties.getBorderStyle()See the border-style property definition in CSS2.CSS2Properties.getBorderTop()See the border-top property definition in CSS2.CSS2Properties.getBorderTopColor()See the border-top-color property definition in CSS2.CSS2Properties.getBorderTopStyle()See the border-top-style property definition in CSS2.CSS2Properties.getBorderTopWidth()See the border-top-width property definition in CSS2.CSS2Properties.getBorderWidth()See the border-width property definition in CSS2.CSS2Properties.getBottom()See the bottom property definition in CSS2.CSS2Properties.getCaptionSide()See the caption-side property definition in CSS2.CSS2Properties.getClear()See the clear property definition in CSS2.CSS2Properties.getClip()See the clip property definition in CSS2.CSS2Properties.getColor()See the color property definition in CSS2.CSS2Properties.getContent()See the content property definition in CSS2.CSS2Properties.getCounterIncrement()See the counter-increment property definition in CSS2.CSS2Properties.getCounterReset()See the counter-reset property definition in CSS2.CSS2Properties.getCssFloat()See the float property definition in CSS2.CSSRule.getCssText()The parsable textual representation of the rule.CSSStyleDeclaration.getCssText()The parsable textual representation of the declaration block(excluding the surrounding curly braces).CSSValue.getCssText()A string representation of the current value.CSS2Properties.getCue()See the cue property definition in CSS2.CSS2Properties.getCueAfter()See the cue-after property definition in CSS2.CSS2Properties.getCueBefore()See the cue-before property definition in CSS2.CSS2Properties.getCursor()See the cursor property definition in CSS2.CSS2Properties.getDirection()See the direction property definition in CSS2.CSS2Properties.getDisplay()See the display property definition in CSS2.CSS2Properties.getElevation()See the elevation property definition in CSS2.CSS2Properties.getEmptyCells()See the empty-cells property definition in CSS2.CSSCharsetRule.getEncoding()The encoding information used in this@charsetrule.CSS2Properties.getFont()See the font property definition in CSS2.CSS2Properties.getFontFamily()See the font-family property definition in CSS2.CSS2Properties.getFontSize()See the font-size property definition in CSS2.CSS2Properties.getFontSizeAdjust()See the font-size-adjust property definition in CSS2.CSS2Properties.getFontStretch()See the font-stretch property definition in CSS2.CSS2Properties.getFontStyle()See the font-style property definition in CSS2.CSS2Properties.getFontVariant()See the font-variant property definition in CSS2.CSS2Properties.getFontWeight()See the font-weight property definition in CSS2.CSS2Properties.getHeight()See the height property definition in CSS2.CSSImportRule.getHref()The location of the style sheet to be imported.Counter.getIdentifier()This attribute is used for the identifier of the counter.CSS2Properties.getLeft()See the left property definition in CSS2.CSS2Properties.getLetterSpacing()See the letter-spacing property definition in CSS2.CSS2Properties.getLineHeight()See the line-height property definition in CSS2.Counter.getListStyle()This attribute is used for the style of the list.CSS2Properties.getListStyle()See the list-style property definition in CSS2.CSS2Properties.getListStyleImage()See the list-style-image property definition in CSS2.CSS2Properties.getListStylePosition()See the list-style-position property definition in CSS2.CSS2Properties.getListStyleType()See the list-style-type property definition in CSS2.CSS2Properties.getMargin()See the margin property definition in CSS2.CSS2Properties.getMarginBottom()See the margin-bottom property definition in CSS2.CSS2Properties.getMarginLeft()See the margin-left property definition in CSS2.CSS2Properties.getMarginRight()See the margin-right property definition in CSS2.CSS2Properties.getMarginTop()See the margin-top property definition in CSS2.CSS2Properties.getMarkerOffset()See the marker-offset property definition in CSS2.CSS2Properties.getMarks()See the marks property definition in CSS2.CSS2Properties.getMaxHeight()See the max-height property definition in CSS2.CSS2Properties.getMaxWidth()See the max-width property definition in CSS2.CSS2Properties.getMinHeight()See the min-height property definition in CSS2.CSS2Properties.getMinWidth()See the min-width property definition in CSS2.CSS2Properties.getOrphans()See the orphans property definition in CSS2.CSS2Properties.getOutline()See the outline property definition in CSS2.CSS2Properties.getOutlineColor()See the outline-color property definition in CSS2.CSS2Properties.getOutlineStyle()See the outline-style property definition in CSS2.CSS2Properties.getOutlineWidth()See the outline-width property definition in CSS2.CSS2Properties.getOverflow()See the overflow property definition in CSS2.CSS2Properties.getPadding()See the padding property definition in CSS2.CSS2Properties.getPaddingBottom()See the padding-bottom property definition in CSS2.CSS2Properties.getPaddingLeft()See the padding-left property definition in CSS2.CSS2Properties.getPaddingRight()See the padding-right property definition in CSS2.CSS2Properties.getPaddingTop()See the padding-top property definition in CSS2.CSS2Properties.getPage()See the page property definition in CSS2.CSS2Properties.getPageBreakAfter()See the page-break-after property definition in CSS2.CSS2Properties.getPageBreakBefore()See the page-break-before property definition in CSS2.CSS2Properties.getPageBreakInside()See the page-break-inside property definition in CSS2.CSS2Properties.getPause()See the pause property definition in CSS2.CSS2Properties.getPauseAfter()See the pause-after property definition in CSS2.CSS2Properties.getPauseBefore()See the pause-before property definition in CSS2.CSS2Properties.getPitch()See the pitch property definition in CSS2.CSS2Properties.getPitchRange()See the pitch-range property definition in CSS2.CSS2Properties.getPlayDuring()See the play-during property definition in CSS2.CSS2Properties.getPosition()See the position property definition in CSS2.CSSStyleDeclaration.getPropertyPriority(String propertyName) Used to retrieve the priority of a CSS property (e.g. the"important"qualifier) if the priority has beenexplicitly set in this declaration block.CSSStyleDeclaration.getPropertyValue(String propertyName) Used to retrieve the value of a CSS property if it has been explicitlyset within this declaration block.CSS2Properties.getQuotes()See the quotes property definition in CSS2.CSS2Properties.getRichness()See the richness property definition in CSS2.CSS2Properties.getRight()See the right property definition in CSS2.CSSPageRule.getSelectorText()The parsable textual representation of the page selector for the rule.CSSStyleRule.getSelectorText()The textual representation of the selector for the rule set.Counter.getSeparator()This attribute is used for the separator of the nested counters.CSS2Properties.getSize()See the size property definition in CSS2.CSS2Properties.getSpeak()See the speak property definition in CSS2.CSS2Properties.getSpeakHeader()See the speak-header property definition in CSS2.CSS2Properties.getSpeakNumeral()See the speak-numeral property definition in CSS2.CSS2Properties.getSpeakPunctuation()See the speak-punctuation property definition in CSS2.CSS2Properties.getSpeechRate()See the speech-rate property definition in CSS2.CSS2Properties.getStress()See the stress property definition in CSS2.CSSPrimitiveValue.getStringValue()This method is used to get the string value.CSS2Properties.getTableLayout()See the table-layout property definition in CSS2.CSS2Properties.getTextAlign()See the text-align property definition in CSS2.CSS2Properties.getTextDecoration()See the text-decoration property definition in CSS2.CSS2Properties.getTextIndent()See the text-indent property definition in CSS2.CSS2Properties.getTextShadow()See the text-shadow property definition in CSS2.CSS2Properties.getTextTransform()See the text-transform property definition in CSS2.CSS2Properties.getTop()See the top property definition in CSS2.CSS2Properties.getUnicodeBidi()See the unicode-bidi property definition in CSS2.CSS2Properties.getVerticalAlign()See the vertical-align property definition in CSS2.CSS2Properties.getVisibility()See the visibility property definition in CSS2.CSS2Properties.getVoiceFamily()See the voice-family property definition in CSS2.CSS2Properties.getVolume()See the volume property definition in CSS2.CSS2Properties.getWhiteSpace()See the white-space property definition in CSS2.CSS2Properties.getWidows()See the widows property definition in CSS2.CSS2Properties.getWidth()See the width property definition in CSS2.CSS2Properties.getWordSpacing()See the word-spacing property definition in CSS2.CSS2Properties.getZIndex()See the z-index property definition in CSS2.CSSStyleDeclaration.item(int index) Used to retrieve the properties that have been explicitly set in thisdeclaration block.CSSStyleDeclaration.removeProperty(String propertyName) Used to remove a CSS property if it has been explicitly set withinthis declaration block.Methods inorg.w3c.dom.css with parameters of typeStringModifier and TypeMethodDescriptionDOMImplementationCSS.createCSSStyleSheet(String title,String media) Creates a newCSSStyleSheet.ViewCSS.getComputedStyle(Element elt,String pseudoElt) This method is used to get the computed style as it is defined in [CSS2].DocumentCSS.getOverrideStyle(Element elt,String pseudoElt) This method is used to retrieve the override style declaration for aspecified element and a specified pseudo-element.CSSStyleDeclaration.getPropertyCSSValue(String propertyName) Used to retrieve the object representation of the value of a CSSproperty if it has been explicitly set within this declaration block.CSSStyleDeclaration.getPropertyPriority(String propertyName) Used to retrieve the priority of a CSS property (e.g. the"important"qualifier) if the priority has beenexplicitly set in this declaration block.CSSStyleDeclaration.getPropertyValue(String propertyName) Used to retrieve the value of a CSS property if it has been explicitlyset within this declaration block.intCSSMediaRule.insertRule(String rule, int index) Used to insert a new rule into the media block.intCSSStyleSheet.insertRule(String rule, int index) Used to insert a new rule into the style sheet.CSSStyleDeclaration.removeProperty(String propertyName) Used to remove a CSS property if it has been explicitly set withinthis declaration block.voidCSS2Properties.setAzimuth(String azimuth) See the azimuth property definition in CSS2.voidCSS2Properties.setBackground(String background) See the background property definition in CSS2.voidCSS2Properties.setBackgroundAttachment(String backgroundAttachment) See the background-attachment property definition in CSS2.voidCSS2Properties.setBackgroundColor(String backgroundColor) See the background-color property definition in CSS2.voidCSS2Properties.setBackgroundImage(String backgroundImage) See the background-image property definition in CSS2.voidCSS2Properties.setBackgroundPosition(String backgroundPosition) See the background-position property definition in CSS2.voidCSS2Properties.setBackgroundRepeat(String backgroundRepeat) See the background-repeat property definition in CSS2.voidSee the border property definition in CSS2.voidCSS2Properties.setBorderBottom(String borderBottom) See the border-bottom property definition in CSS2.voidCSS2Properties.setBorderBottomColor(String borderBottomColor) See the border-bottom-color property definition in CSS2.voidCSS2Properties.setBorderBottomStyle(String borderBottomStyle) See the border-bottom-style property definition in CSS2.voidCSS2Properties.setBorderBottomWidth(String borderBottomWidth) See the border-bottom-width property definition in CSS2.voidCSS2Properties.setBorderCollapse(String borderCollapse) See the border-collapse property definition in CSS2.voidCSS2Properties.setBorderColor(String borderColor) See the border-color property definition in CSS2.voidCSS2Properties.setBorderLeft(String borderLeft) See the border-left property definition in CSS2.voidCSS2Properties.setBorderLeftColor(String borderLeftColor) See the border-left-color property definition in CSS2.voidCSS2Properties.setBorderLeftStyle(String borderLeftStyle) See the border-left-style property definition in CSS2.voidCSS2Properties.setBorderLeftWidth(String borderLeftWidth) See the border-left-width property definition in CSS2.voidCSS2Properties.setBorderRight(String borderRight) See the border-right property definition in CSS2.voidCSS2Properties.setBorderRightColor(String borderRightColor) See the border-right-color property definition in CSS2.voidCSS2Properties.setBorderRightStyle(String borderRightStyle) See the border-right-style property definition in CSS2.voidCSS2Properties.setBorderRightWidth(String borderRightWidth) See the border-right-width property definition in CSS2.voidCSS2Properties.setBorderSpacing(String borderSpacing) See the border-spacing property definition in CSS2.voidCSS2Properties.setBorderStyle(String borderStyle) See the border-style property definition in CSS2.voidCSS2Properties.setBorderTop(String borderTop) See the border-top property definition in CSS2.voidCSS2Properties.setBorderTopColor(String borderTopColor) See the border-top-color property definition in CSS2.voidCSS2Properties.setBorderTopStyle(String borderTopStyle) See the border-top-style property definition in CSS2.voidCSS2Properties.setBorderTopWidth(String borderTopWidth) See the border-top-width property definition in CSS2.voidCSS2Properties.setBorderWidth(String borderWidth) See the border-width property definition in CSS2.voidSee the bottom property definition in CSS2.voidCSS2Properties.setCaptionSide(String captionSide) See the caption-side property definition in CSS2.voidSee the clear property definition in CSS2.voidSee the clip property definition in CSS2.voidSee the color property definition in CSS2.voidCSS2Properties.setContent(String content) See the content property definition in CSS2.voidCSS2Properties.setCounterIncrement(String counterIncrement) See the counter-increment property definition in CSS2.voidCSS2Properties.setCounterReset(String counterReset) See the counter-reset property definition in CSS2.voidCSS2Properties.setCssFloat(String cssFloat) See the float property definition in CSS2.voidCSSRule.setCssText(String cssText) The parsable textual representation of the rule.voidCSSStyleDeclaration.setCssText(String cssText) The parsable textual representation of the declaration block(excluding the surrounding curly braces).voidCSSValue.setCssText(String cssText) A string representation of the current value.voidSee the cue property definition in CSS2.voidCSS2Properties.setCueAfter(String cueAfter) See the cue-after property definition in CSS2.voidCSS2Properties.setCueBefore(String cueBefore) See the cue-before property definition in CSS2.voidSee the cursor property definition in CSS2.voidCSS2Properties.setDirection(String direction) See the direction property definition in CSS2.voidCSS2Properties.setDisplay(String display) See the display property definition in CSS2.voidCSS2Properties.setElevation(String elevation) See the elevation property definition in CSS2.voidCSS2Properties.setEmptyCells(String emptyCells) See the empty-cells property definition in CSS2.voidCSSCharsetRule.setEncoding(String encoding) The encoding information used in this@charsetrule.voidSee the font property definition in CSS2.voidCSS2Properties.setFontFamily(String fontFamily) See the font-family property definition in CSS2.voidCSS2Properties.setFontSize(String fontSize) See the font-size property definition in CSS2.voidCSS2Properties.setFontSizeAdjust(String fontSizeAdjust) See the font-size-adjust property definition in CSS2.voidCSS2Properties.setFontStretch(String fontStretch) See the font-stretch property definition in CSS2.voidCSS2Properties.setFontStyle(String fontStyle) See the font-style property definition in CSS2.voidCSS2Properties.setFontVariant(String fontVariant) See the font-variant property definition in CSS2.voidCSS2Properties.setFontWeight(String fontWeight) See the font-weight property definition in CSS2.voidSee the height property definition in CSS2.voidSee the left property definition in CSS2.voidCSS2Properties.setLetterSpacing(String letterSpacing) See the letter-spacing property definition in CSS2.voidCSS2Properties.setLineHeight(String lineHeight) See the line-height property definition in CSS2.voidCSS2Properties.setListStyle(String listStyle) See the list-style property definition in CSS2.voidCSS2Properties.setListStyleImage(String listStyleImage) See the list-style-image property definition in CSS2.voidCSS2Properties.setListStylePosition(String listStylePosition) See the list-style-position property definition in CSS2.voidCSS2Properties.setListStyleType(String listStyleType) See the list-style-type property definition in CSS2.voidSee the margin property definition in CSS2.voidCSS2Properties.setMarginBottom(String marginBottom) See the margin-bottom property definition in CSS2.voidCSS2Properties.setMarginLeft(String marginLeft) See the margin-left property definition in CSS2.voidCSS2Properties.setMarginRight(String marginRight) See the margin-right property definition in CSS2.voidCSS2Properties.setMarginTop(String marginTop) See the margin-top property definition in CSS2.voidCSS2Properties.setMarkerOffset(String markerOffset) See the marker-offset property definition in CSS2.voidSee the marks property definition in CSS2.voidCSS2Properties.setMaxHeight(String maxHeight) See the max-height property definition in CSS2.voidCSS2Properties.setMaxWidth(String maxWidth) See the max-width property definition in CSS2.voidCSS2Properties.setMinHeight(String minHeight) See the min-height property definition in CSS2.voidCSS2Properties.setMinWidth(String minWidth) See the min-width property definition in CSS2.voidCSS2Properties.setOrphans(String orphans) See the orphans property definition in CSS2.voidCSS2Properties.setOutline(String outline) See the outline property definition in CSS2.voidCSS2Properties.setOutlineColor(String outlineColor) See the outline-color property definition in CSS2.voidCSS2Properties.setOutlineStyle(String outlineStyle) See the outline-style property definition in CSS2.voidCSS2Properties.setOutlineWidth(String outlineWidth) See the outline-width property definition in CSS2.voidCSS2Properties.setOverflow(String overflow) See the overflow property definition in CSS2.voidCSS2Properties.setPadding(String padding) See the padding property definition in CSS2.voidCSS2Properties.setPaddingBottom(String paddingBottom) See the padding-bottom property definition in CSS2.voidCSS2Properties.setPaddingLeft(String paddingLeft) See the padding-left property definition in CSS2.voidCSS2Properties.setPaddingRight(String paddingRight) See the padding-right property definition in CSS2.voidCSS2Properties.setPaddingTop(String paddingTop) See the padding-top property definition in CSS2.voidSee the page property definition in CSS2.voidCSS2Properties.setPageBreakAfter(String pageBreakAfter) See the page-break-after property definition in CSS2.voidCSS2Properties.setPageBreakBefore(String pageBreakBefore) See the page-break-before property definition in CSS2.voidCSS2Properties.setPageBreakInside(String pageBreakInside) See the page-break-inside property definition in CSS2.voidSee the pause property definition in CSS2.voidCSS2Properties.setPauseAfter(String pauseAfter) See the pause-after property definition in CSS2.voidCSS2Properties.setPauseBefore(String pauseBefore) See the pause-before property definition in CSS2.voidSee the pitch property definition in CSS2.voidCSS2Properties.setPitchRange(String pitchRange) See the pitch-range property definition in CSS2.voidCSS2Properties.setPlayDuring(String playDuring) See the play-during property definition in CSS2.voidCSS2Properties.setPosition(String position) See the position property definition in CSS2.voidCSSStyleDeclaration.setProperty(String propertyName,String value,String priority) Used to set a property value and priority within this declarationblock.voidSee the quotes property definition in CSS2.voidCSS2Properties.setRichness(String richness) See the richness property definition in CSS2.voidSee the right property definition in CSS2.voidCSSPageRule.setSelectorText(String selectorText) The parsable textual representation of the page selector for the rule.voidCSSStyleRule.setSelectorText(String selectorText) The textual representation of the selector for the rule set.voidSee the size property definition in CSS2.voidSee the speak property definition in CSS2.voidCSS2Properties.setSpeakHeader(String speakHeader) See the speak-header property definition in CSS2.voidCSS2Properties.setSpeakNumeral(String speakNumeral) See the speak-numeral property definition in CSS2.voidCSS2Properties.setSpeakPunctuation(String speakPunctuation) See the speak-punctuation property definition in CSS2.voidCSS2Properties.setSpeechRate(String speechRate) See the speech-rate property definition in CSS2.voidSee the stress property definition in CSS2.voidCSSPrimitiveValue.setStringValue(short stringType,String stringValue) A method to set the string value with the specified unit.voidCSS2Properties.setTableLayout(String tableLayout) See the table-layout property definition in CSS2.voidCSS2Properties.setTextAlign(String textAlign) See the text-align property definition in CSS2.voidCSS2Properties.setTextDecoration(String textDecoration) See the text-decoration property definition in CSS2.voidCSS2Properties.setTextIndent(String textIndent) See the text-indent property definition in CSS2.voidCSS2Properties.setTextShadow(String textShadow) See the text-shadow property definition in CSS2.voidCSS2Properties.setTextTransform(String textTransform) See the text-transform property definition in CSS2.voidSee the top property definition in CSS2.voidCSS2Properties.setUnicodeBidi(String unicodeBidi) See the unicode-bidi property definition in CSS2.voidCSS2Properties.setVerticalAlign(String verticalAlign) See the vertical-align property definition in CSS2.voidCSS2Properties.setVisibility(String visibility) See the visibility property definition in CSS2.voidCSS2Properties.setVoiceFamily(String voiceFamily) See the voice-family property definition in CSS2.voidSee the volume property definition in CSS2.voidCSS2Properties.setWhiteSpace(String whiteSpace) See the white-space property definition in CSS2.voidSee the widows property definition in CSS2.voidSee the width property definition in CSS2.voidCSS2Properties.setWordSpacing(String wordSpacing) See the word-spacing property definition in CSS2.voidSee the z-index property definition in CSS2.Uses ofString inorg.w3c.dom.events
Methods inorg.w3c.dom.events that returnStringModifier and TypeMethodDescriptionMutationEvent.getAttrName()attrNameindicates the name of the changedAttrnode in a DOMAttrModified event.MutationEvent.getNewValue()newValueindicates the new value of theAttrnode in DOMAttrModified events, and of theCharacterDatanode in DOMCharacterDataModified events.MutationEvent.getPrevValue()prevValueindicates the previous value of theAttrnode in DOMAttrModified events, and of theCharacterDatanode in DOMCharacterDataModified events.Event.getType()The name of the event (case-insensitive).Methods inorg.w3c.dom.events with parameters of typeStringModifier and TypeMethodDescriptionvoidEventTarget.addEventListener(String type,EventListener listener, boolean useCapture) This method allows the registration of event listeners on the eventtarget.DocumentEvent.createEvent(String eventType) voidTheinitEventmethod is used to initialize the value of anEventcreated through theDocumentEventinterface.voidMouseEvent.initMouseEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg,AbstractView viewArg, int detailArg, int screenXArg, int screenYArg, int clientXArg, int clientYArg, boolean ctrlKeyArg, boolean altKeyArg, boolean shiftKeyArg, boolean metaKeyArg, short buttonArg,EventTarget relatedTargetArg) TheinitMouseEventmethod is used to initialize the valueof aMouseEventcreated through theDocumentEventinterface.voidMutationEvent.initMutationEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg,Node relatedNodeArg,String prevValueArg,String newValueArg,String attrNameArg, short attrChangeArg) TheinitMutationEventmethod is used to initialize thevalue of aMutationEventcreated through theDocumentEventinterface.voidUIEvent.initUIEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg,AbstractView viewArg, int detailArg) TheinitUIEventmethod is used to initialize the value ofaUIEventcreated through theDocumentEventinterface.voidEventTarget.removeEventListener(String type,EventListener listener, boolean useCapture) This method allows the removal of event listeners from the eventtarget.Constructors inorg.w3c.dom.events with parameters of typeStringUses ofString inorg.w3c.dom.html
Methods inorg.w3c.dom.html that returnStringModifier and TypeMethodDescriptionHTMLTableCellElement.getAbbr()Abbreviation for header cells.HTMLInputElement.getAccept()A comma-separated list of content types that a server processing thisform will handle correctly.HTMLFormElement.getAcceptCharset()List of character sets supported by the server.HTMLAnchorElement.getAccessKey()A single character access key to give access to the form control.HTMLAreaElement.getAccessKey()A single character access key to give access to the form control.HTMLButtonElement.getAccessKey()A single character access key to give access to the form control.HTMLInputElement.getAccessKey()A single character access key to give access to the form control.HTMLLabelElement.getAccessKey()A single character access key to give access to the form control.HTMLLegendElement.getAccessKey()A single character access key to give access to the form control.HTMLTextAreaElement.getAccessKey()A single character access key to give access to the form control.HTMLFormElement.getAction()Server-side form handler.HTMLAppletElement.getAlign()Aligns this object (vertically or horizontally) with respect to itssurrounding text.HTMLDivElement.getAlign()Horizontal text alignment.HTMLHeadingElement.getAlign()Horizontal text alignment.HTMLHRElement.getAlign()Align the rule on the page.HTMLIFrameElement.getAlign()Aligns this object (vertically or horizontally) with respect to itssurrounding text.HTMLImageElement.getAlign()Aligns this object (vertically or horizontally) with respect to itssurrounding text.HTMLInputElement.getAlign()Aligns this object (vertically or horizontally) with respect to itssurrounding text.HTMLLegendElement.getAlign()Text alignment relative toFIELDSET.HTMLObjectElement.getAlign()Aligns this object (vertically or horizontally) with respect to itssurrounding text.HTMLParagraphElement.getAlign()Horizontal text alignment.HTMLTableCaptionElement.getAlign()Caption alignment with respect to the table.HTMLTableCellElement.getAlign()Horizontal alignment of data in cell.HTMLTableColElement.getAlign()Horizontal alignment of cell data in column.HTMLTableElement.getAlign()Specifies the table's position with respect to the rest of thedocument.HTMLTableRowElement.getAlign()Horizontal alignment of data within cells of this row.HTMLTableSectionElement.getAlign()Horizontal alignment of data in cells.HTMLBodyElement.getALink()Color of active links (after mouse-button down, but beforemouse-button up).HTMLAppletElement.getAlt()Alternate text for user agents not rendering the normal content ofthis element.HTMLAreaElement.getAlt()Alternate text for user agents not rendering the normal content ofthis element.HTMLImageElement.getAlt()Alternate text for user agents not rendering the normal content ofthis element.HTMLInputElement.getAlt()Alternate text for user agents not rendering the normal content ofthis element.HTMLAppletElement.getArchive()Comma-separated archive list.HTMLObjectElement.getArchive()Space-separated list of archives.HTMLTableCellElement.getAxis()Names group of related headers.HTMLBodyElement.getBackground()URI of the background texture tile image.HTMLBodyElement.getBgColor()Document background color.HTMLTableCellElement.getBgColor()Cell background color.HTMLTableElement.getBgColor()Cell background color.HTMLTableRowElement.getBgColor()Background color for rows.HTMLImageElement.getBorder()Width of border around image.HTMLObjectElement.getBorder()Width of border around the object.HTMLTableElement.getBorder()The width of the border around the table.HTMLTableElement.getCellPadding()Specifies the horizontal and vertical space between cell content andcell borders.HTMLTableElement.getCellSpacing()Specifies the horizontal and vertical separation between cells.HTMLTableCellElement.getCh()Alignment character for cells in a column.HTMLTableColElement.getCh()Alignment character for cells in a column.HTMLTableRowElement.getCh()Alignment character for cells in a column.HTMLTableSectionElement.getCh()Alignment character for cells in a column.HTMLAnchorElement.getCharset()The character encoding of the linked resource.HTMLLinkElement.getCharset()The character encoding of the resource being linked to.HTMLScriptElement.getCharset()The character encoding of the linked resource.HTMLTableCellElement.getChOff()Offset of alignment character.HTMLTableColElement.getChOff()Offset of alignment character.HTMLTableRowElement.getChOff()Offset of alignment character.HTMLTableSectionElement.getChOff()Offset of alignment character.HTMLModElement.getCite()A URI designating a document that describes the reason for the change.HTMLQuoteElement.getCite()A URI designating a source document or message.HTMLElement.getClassName()The class attribute of the element.HTMLBRElement.getClear()Control flow of text around floats.HTMLAppletElement.getCode()Applet class file.HTMLObjectElement.getCode()Applet class file.HTMLAppletElement.getCodeBase()Optional base URI for applet.HTMLObjectElement.getCodeBase()Base URI forclassid,data, andarchiveattributes.HTMLObjectElement.getCodeType()Content type for data downloaded viaclassidattribute.HTMLBaseFontElement.getColor()Font color.HTMLFontElement.getColor()Font color.HTMLFrameSetElement.getCols()The number of columns of frames in the frameset.HTMLMetaElement.getContent()Associated information.HTMLDocument.getCookie()The cookies associated with this document.HTMLAnchorElement.getCoords()Comma-separated list of lengths, defining an active region geometry.HTMLAreaElement.getCoords()Comma-separated list of lengths, defining an active region geometry.HTMLObjectElement.getData()A URI specifying the location of the object's data.HTMLModElement.getDateTime()The date and time of the change.HTMLInputElement.getDefaultValue()When thetypeattribute of the element has the value"Text", "File" or "Password", this represents the HTML value attributeof the element.HTMLTextAreaElement.getDefaultValue()Represents the contents of the element.HTMLElement.getDir()Specifies the base direction of directionally neutral text and thedirectionality of tables.HTMLDocument.getDomain()The domain name of the server that served the document, ornullif the server cannot be identified by a domain name.HTMLFormElement.getEnctype()The content type of the submitted form, generally"application/x-www-form-urlencoded".HTMLScriptElement.getEvent()Reserved for future use.HTMLBaseFontElement.getFace()Font face identifier.HTMLFontElement.getFace()Font face identifier.HTMLTableElement.getFrame()Specifies which external table borders to render.HTMLFrameElement.getFrameBorder()Request frame borders.HTMLIFrameElement.getFrameBorder()Request frame borders.HTMLTableCellElement.getHeaders()List ofidattribute values for header cells.HTMLAppletElement.getHeight()Override height.HTMLIFrameElement.getHeight()Frame height.HTMLImageElement.getHeight()Override height.HTMLObjectElement.getHeight()Override height.HTMLTableCellElement.getHeight()Cell height.HTMLAnchorElement.getHref()The URI of the linked resource.HTMLAreaElement.getHref()The URI of the linked resource.HTMLBaseElement.getHref()The base URI.HTMLLinkElement.getHref()The URI of the linked resource.HTMLAnchorElement.getHreflang()Language code of the linked resource.HTMLLinkElement.getHreflang()Language code of the linked resource.HTMLAppletElement.getHspace()Horizontal space to the left and right of this image, applet, orobject.HTMLImageElement.getHspace()Horizontal space to the left and right of this image.HTMLObjectElement.getHspace()Horizontal space to the left and right of this image, applet, orobject.HTMLLabelElement.getHtmlFor()This attribute links this label with another form control byidattribute.HTMLScriptElement.getHtmlFor()Reserved for future use.HTMLMetaElement.getHttpEquiv()HTTP response header name.HTMLElement.getId()The element's identifier.HTMLOptGroupElement.getLabel()Assigns a label to this option group.HTMLOptionElement.getLabel()Option label for use in hierarchical menus.HTMLElement.getLang()Language code defined in RFC 1766.HTMLBodyElement.getLink()Color of links that are not active and unvisited.HTMLFrameElement.getLongDesc()URI designating a long description of this image or frame.HTMLIFrameElement.getLongDesc()URI designating a long description of this image or frame.HTMLImageElement.getLongDesc()URI designating a long description of this image or frame.HTMLImageElement.getLowSrc()URI designating the source of this image, for low-resolution output.HTMLFrameElement.getMarginHeight()Frame margin height, in pixels.HTMLIFrameElement.getMarginHeight()Frame margin height, in pixels.HTMLFrameElement.getMarginWidth()Frame margin width, in pixels.HTMLIFrameElement.getMarginWidth()Frame margin width, in pixels.HTMLLinkElement.getMedia()Designed for use with one or more target media.HTMLStyleElement.getMedia()Designed for use with one or more target media.HTMLFormElement.getMethod()HTTP method used to submit form.HTMLAnchorElement.getName()Anchor name.HTMLAppletElement.getName()The name of the applet.HTMLButtonElement.getName()Form control or object name when submitted with a form.HTMLFormElement.getName()Names the form.HTMLFrameElement.getName()The frame name (object of thetargetattribute).HTMLIFrameElement.getName()The frame name (object of thetargetattribute).HTMLImageElement.getName()The name of the element (for backwards compatibility).HTMLInputElement.getName()Form control or object name when submitted with a form.HTMLMapElement.getName()Names the map (for use withusemap).HTMLMetaElement.getName()Meta information name.HTMLObjectElement.getName()Form control or object name when submitted with a form.HTMLParamElement.getName()The name of a run-time parameter.HTMLSelectElement.getName()Form control or object name when submitted with a form.HTMLTextAreaElement.getName()Form control or object name when submitted with a form.HTMLAppletElement.getObject()Serialized applet file.HTMLHeadElement.getProfile()URI designating a metadata profile.HTMLIsIndexElement.getPrompt()The prompt message.HTMLDocument.getReferrer()Returns the URI of the page that linked to this page.HTMLAnchorElement.getRel()Forward link type.HTMLLinkElement.getRel()Forward link type.HTMLAnchorElement.getRev()Reverse link type.HTMLLinkElement.getRev()Reverse link type.HTMLFrameSetElement.getRows()The number of rows of frames in the frameset.HTMLTableElement.getRules()Specifies which internal table borders to render.HTMLMetaElement.getScheme()Select form of content.HTMLTableCellElement.getScope()Scope covered by header cells.HTMLFrameElement.getScrolling()Specify whether or not the frame should have scrollbars.HTMLIFrameElement.getScrolling()Specify whether or not the frame should have scrollbars.HTMLAnchorElement.getShape()The shape of the active area.HTMLAreaElement.getShape()The shape of the active area.HTMLBaseFontElement.getSize()Font size.HTMLFontElement.getSize()Font size.HTMLHRElement.getSize()The height of the rule.HTMLInputElement.getSize()Size information.HTMLFrameElement.getSrc()A URI designating the initial frame contents.HTMLIFrameElement.getSrc()A URI designating the initial frame contents.HTMLImageElement.getSrc()URI designating the source of this image.HTMLInputElement.getSrc()When thetypeattribute has the value "Image", thisattribute specifies the location of the image to be used to decoratethe graphical submit button.HTMLScriptElement.getSrc()URI designating an external script.HTMLObjectElement.getStandby()Message to render while loading the object.HTMLTableElement.getSummary()Description about the purpose or structure of a table.HTMLAnchorElement.getTarget()Frame to render the resource in.HTMLAreaElement.getTarget()Frame to render the resource in.HTMLBaseElement.getTarget()The default target frame.HTMLFormElement.getTarget()Frame to render the resource in.HTMLLinkElement.getTarget()Frame to render the resource in.HTMLBodyElement.getText()Document text color.HTMLOptionElement.getText()The text contained within the option element.HTMLScriptElement.getText()The script content of the element.HTMLTitleElement.getText()The specified title as a string.HTMLDocument.getTitle()The title of a document as specified by theTITLEelementin the head of the document.HTMLElement.getTitle()The element's advisory title.HTMLAnchorElement.getType()Advisory content type.HTMLButtonElement.getType()The type of button.HTMLInputElement.getType()The type of control created.HTMLLIElement.getType()List item bullet style.HTMLLinkElement.getType()Advisory content type.HTMLObjectElement.getType()Content type for data downloaded viadataattribute.HTMLOListElement.getType()Numbering style.HTMLParamElement.getType()Content type for thevalueattribute whenvaluetypehas the value "ref".HTMLScriptElement.getType()The content type of the script language.HTMLSelectElement.getType()The type of this form control.HTMLStyleElement.getType()The content type pf the style sheet language.HTMLTextAreaElement.getType()The type of this form control.HTMLUListElement.getType()Bullet style.HTMLDocument.getURL()The complete URI of the document.HTMLImageElement.getUseMap()Use client-side image map.HTMLInputElement.getUseMap()Use client-side image map.HTMLObjectElement.getUseMap()Use client-side image map.HTMLTableCellElement.getVAlign()Vertical alignment of data in cell.HTMLTableColElement.getVAlign()Vertical alignment of cell data in column.HTMLTableRowElement.getVAlign()Vertical alignment of data within cells of this row.HTMLTableSectionElement.getVAlign()Vertical alignment of data in cells.HTMLButtonElement.getValue()The current form control value.HTMLInputElement.getValue()When thetypeattribute of the element has the value"Text", "File" or "Password", this represents the current contents ofthe corresponding form control, in an interactive user agent.HTMLOptionElement.getValue()The current form control value.HTMLParamElement.getValue()The value of a run-time parameter.HTMLSelectElement.getValue()The current form control value.HTMLTextAreaElement.getValue()Represents the current contents of the corresponding form control, inan interactive user agent.HTMLParamElement.getValueType()Information about the meaning of thevalueattributevalue.HTMLHtmlElement.getVersion()Version information about the document's DTD.HTMLBodyElement.getVLink()Color of links that have been visited by the user.HTMLAppletElement.getVspace()Vertical space above and below this image, applet, or object.HTMLImageElement.getVspace()Vertical space above and below this image.HTMLObjectElement.getVspace()Vertical space above and below this image, applet, or object.HTMLAppletElement.getWidth()Override width.HTMLHRElement.getWidth()The width of the rule.HTMLIFrameElement.getWidth()Frame width.HTMLImageElement.getWidth()Override width.HTMLObjectElement.getWidth()Override width.HTMLTableCellElement.getWidth()Cell width.HTMLTableColElement.getWidth()Default column width.HTMLTableElement.getWidth()Specifies the desired table width.Methods inorg.w3c.dom.html with parameters of typeStringModifier and TypeMethodDescriptionHTMLDOMImplementation.createHTMLDocument(String title) Creates anHTMLDocumentobject with the minimal tree madeof the following elements:HTML,HEAD,TITLE, andBODY.HTMLDocument.getElementsByName(String elementName) Returns the (possibly empty) collection of elements whosenamevalue is given byelementName.This method retrieves aNodeusing a name.voidvoidvoidHTMLFormElement.setAcceptCharset(String acceptCharset) voidHTMLAnchorElement.setAccessKey(String accessKey) voidHTMLAreaElement.setAccessKey(String accessKey) voidHTMLButtonElement.setAccessKey(String accessKey) voidHTMLInputElement.setAccessKey(String accessKey) voidHTMLLabelElement.setAccessKey(String accessKey) voidHTMLLegendElement.setAccessKey(String accessKey) voidHTMLTextAreaElement.setAccessKey(String accessKey) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidHTMLAppletElement.setArchive(String archive) voidHTMLObjectElement.setArchive(String archive) voidvoidHTMLBodyElement.setBackground(String background) voidHTMLBodyElement.setBgColor(String bgColor) voidHTMLTableCellElement.setBgColor(String bgColor) voidHTMLTableElement.setBgColor(String bgColor) voidHTMLTableRowElement.setBgColor(String bgColor) voidvoidvoidvoidHTMLTableElement.setCellPadding(String cellPadding) voidHTMLTableElement.setCellSpacing(String cellSpacing) voidvoidvoidvoidvoidHTMLAnchorElement.setCharset(String charset) voidHTMLLinkElement.setCharset(String charset) voidHTMLScriptElement.setCharset(String charset) voidvoidvoidvoidvoidvoidvoidHTMLElement.setClassName(String className) voidvoidvoidvoidHTMLAppletElement.setCodeBase(String codeBase) voidHTMLObjectElement.setCodeBase(String codeBase) voidHTMLObjectElement.setCodeType(String codeType) voidvoidvoidvoidHTMLMetaElement.setContent(String content) voidvoidvoidvoidvoidHTMLModElement.setDateTime(String dateTime) voidHTMLInputElement.setDefaultValue(String defaultValue) voidHTMLTextAreaElement.setDefaultValue(String defaultValue) voidvoidHTMLFormElement.setEnctype(String enctype) voidvoidvoidvoidvoidHTMLFrameElement.setFrameBorder(String frameBorder) voidHTMLIFrameElement.setFrameBorder(String frameBorder) voidHTMLTableCellElement.setHeaders(String headers) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidHTMLAnchorElement.setHreflang(String hreflang) voidHTMLLinkElement.setHreflang(String hreflang) voidvoidvoidvoidHTMLLabelElement.setHtmlFor(String htmlFor) voidHTMLScriptElement.setHtmlFor(String htmlFor) voidHTMLMetaElement.setHttpEquiv(String httpEquiv) voidvoidvoidvoidvoidvoidHTMLFrameElement.setLongDesc(String longDesc) voidHTMLIFrameElement.setLongDesc(String longDesc) voidHTMLImageElement.setLongDesc(String longDesc) voidvoidHTMLFrameElement.setMarginHeight(String marginHeight) voidHTMLIFrameElement.setMarginHeight(String marginHeight) voidHTMLFrameElement.setMarginWidth(String marginWidth) voidHTMLIFrameElement.setMarginWidth(String marginWidth) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidHTMLHeadElement.setProfile(String profile) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidHTMLFrameElement.setScrolling(String scrolling) voidHTMLIFrameElement.setScrolling(String scrolling) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidHTMLObjectElement.setStandby(String standby) voidHTMLTableElement.setSummary(String summary) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidHTMLParamElement.setValueType(String valueType) voidHTMLHtmlElement.setVersion(String version) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidWrite a string of text to a document stream opened byopen().voidWrite a string of text followed by a newline character to a documentstream opened byopen().Uses ofString inorg.w3c.dom.ls
Methods inorg.w3c.dom.ls that returnStringModifier and TypeMethodDescriptionLSInput.getBaseURI()The base URI to be used (see section 5.1.4 in [IETF RFC 2396]) forresolving a relativesystemIdto an absolute URI.LSInput.getEncoding()The character encoding, if known.LSOutput.getEncoding()The character encoding to use for the output.LSSerializer.getNewLine()The end-of-line sequence of characters to be used in the XML beingwritten out.LSInput.getPublicId()The public identifier for this input source.LSInput.getStringData()String data to parse.LSInput.getSystemId()The system identifier, a URI reference [IETF RFC 2396], for thisinput source.LSOutput.getSystemId()The system identifier, a URI reference [IETF RFC 2396], for thisoutput destination.LSSerializer.writeToString(Node nodeArg) Serialize the specified node as described above in the generaldescription of theLSSerializerinterface.Methods inorg.w3c.dom.ls with parameters of typeStringModifier and TypeMethodDescriptionDOMImplementationLS.createLSParser(short mode,String schemaType) Create a newLSParser.Parse an XML document from a location identified by a URI reference[IETF RFC 2396].LSResourceResolver.resolveResource(String type,String namespaceURI,String publicId,String systemId,String baseURI) Allow the application to resolve external resources.voidLSInput.setBaseURI(String baseURI) The base URI to be used (see section 5.1.4 in [IETF RFC 2396]) forresolving a relativesystemIdto an absolute URI.voidLSInput.setEncoding(String encoding) The character encoding, if known.voidLSOutput.setEncoding(String encoding) The character encoding to use for the output.voidLSSerializer.setNewLine(String newLine) The end-of-line sequence of characters to be used in the XML beingwritten out.voidLSInput.setPublicId(String publicId) The public identifier for this input source.voidLSInput.setStringData(String stringData) String data to parse.voidLSInput.setSystemId(String systemId) The system identifier, a URI reference [IETF RFC 2396], for thisinput source.voidLSOutput.setSystemId(String systemId) The system identifier, a URI reference [IETF RFC 2396], for thisoutput destination.booleanLSSerializer.writeToURI(Node nodeArg,String uri) A convenience method that acts as ifLSSerializer.writewas called with aLSOutputwith no encoding specifiedandLSOutput.systemIdset to theuriargument.Constructors inorg.w3c.dom.ls with parameters of typeStringUses ofString inorg.w3c.dom.ranges
Methods inorg.w3c.dom.ranges that returnStringConstructors inorg.w3c.dom.ranges with parameters of typeStringUses ofString inorg.w3c.dom.stylesheets
Methods inorg.w3c.dom.stylesheets that returnStringModifier and TypeMethodDescriptionStyleSheet.getHref()If the style sheet is a linked style sheet, the value of its attributeis its location.MediaList.getMediaText()The parsable textual representation of the media list.StyleSheet.getTitle()The advisory title.StyleSheet.getType()This specifies the style sheet language for this style sheet.MediaList.item(int index) Returns theindexth in the list.Methods inorg.w3c.dom.stylesheets with parameters of typeStringModifier and TypeMethodDescriptionvoidMediaList.appendMedium(String newMedium) Adds the mediumnewMediumto the end of the list.voidMediaList.deleteMedium(String oldMedium) Deletes the medium indicated byoldMediumfrom the list.voidMediaList.setMediaText(String mediaText) The parsable textual representation of the media list.Uses ofString inorg.w3c.dom.xpath
Methods inorg.w3c.dom.xpath that returnStringModifier and TypeMethodDescriptionXPathResult.getStringValue()The value of this string result.XPathNSResolver.lookupNamespaceURI(String prefix) Look up the namespace URI associated to the given namespace prefix.Methods inorg.w3c.dom.xpath with parameters of typeStringModifier and TypeMethodDescriptionXPathEvaluator.createExpression(String expression,XPathNSResolver resolver) Creates a parsed XPath expression with resolved namespaces.XPathEvaluator.evaluate(String expression,Node contextNode,XPathNSResolver resolver, short type,Object result) Evaluates an XPath expression string and returns a result of thespecified type if possible.XPathNSResolver.lookupNamespaceURI(String prefix) Look up the namespace URI associated to the given namespace prefix.Constructors inorg.w3c.dom.xpath with parameters of typeStringUses ofString inorg.xml.sax
Methods inorg.xml.sax that returnStringModifier and TypeMethodDescriptionInputSource.getEncoding()Get the character encoding for a byte stream or URI.Attributes.getLocalName(int index) Look up an attribute's local name by index.SAXException.getMessage()Return a detail message for this exception.AttributeList.getName(int i) Deprecated.Return the name of an attribute in this list (by position).InputSource.getPublicId()Get the public identifier for this input source.Locator.getPublicId()Return the public identifier for the current document event.SAXParseException.getPublicId()Get the public identifier of the entity where the exception occurred.Attributes.getQName(int index) Look up an attribute's XML qualified (prefixed) name by index.InputSource.getSystemId()Get the system identifier for this input source.Locator.getSystemId()Return the system identifier for the current document event.SAXParseException.getSystemId()Get the system identifier of the entity where the exception occurred.AttributeList.getType(int i) Deprecated.Return the type of an attribute in the list (by position).Deprecated.Return the type of an attribute in the list (by name).Attributes.getType(int index) Look up an attribute's type by index.Look up an attribute's type by XML qualified (prefixed) name.Look up an attribute's type by Namespace name.Attributes.getURI(int index) Look up an attribute's Namespace URI by index.AttributeList.getValue(int i) Deprecated.Return the value of an attribute in the list (by position).Deprecated.Return the value of an attribute in the list (by name).Attributes.getValue(int index) Look up an attribute's value by index.Look up an attribute's value by XML qualified (prefixed) name.Look up an attribute's value by Namespace name.SAXException.toString()Override toString to pick up any embedded exception.SAXParseException.toString()Override toString to provide more detailed error message.Methods inorg.xml.sax with parameters of typeStringModifier and TypeMethodDescriptiondefault voidContentHandler.declaration(String version,String encoding,String standalone) Receives notification of the XML declaration.voidContentHandler.endElement(String uri,String localName,String qName) Receive notification of the end of an element.voidDocumentHandler.endElement(String name) Deprecated.Receive notification of the end of an element.voidHandlerBase.endElement(String name) Deprecated.Receive notification of the end of an element.voidContentHandler.endPrefixMapping(String prefix) End the scope of a prefix-URI mapping.booleanXMLReader.getFeature(String name) Look up the value of a feature flag.intLook up the index of an attribute by XML qualified (prefixed) name.intLook up the index of an attribute by Namespace name.XMLReader.getProperty(String name) Look up the value of a property.Deprecated.Return the type of an attribute in the list (by name).Look up an attribute's type by XML qualified (prefixed) name.Look up an attribute's type by Namespace name.Deprecated.Return the value of an attribute in the list (by name).Look up an attribute's value by XML qualified (prefixed) name.Look up an attribute's value by Namespace name.voidDTDHandler.notationDecl(String name,String publicId,String systemId) Receive notification of a notation declaration event.voidHandlerBase.notationDecl(String name,String publicId,String systemId) Deprecated.Receive notification of a notation declaration.voidDeprecated.Parse an XML document from a system identifier (URI).voidParse an XML document from a system identifier (URI).voidContentHandler.processingInstruction(String target,String data) Receive notification of a processing instruction.voidDocumentHandler.processingInstruction(String target,String data) Deprecated.Receive notification of a processing instruction.voidHandlerBase.processingInstruction(String target,String data) Deprecated.Receive notification of a processing instruction.EntityResolver.resolveEntity(String publicId,String systemId) Allow the application to resolve external entities.HandlerBase.resolveEntity(String publicId,String systemId) Deprecated.Resolve an external entity.voidInputSource.setEncoding(String encoding) Set the character encoding, if known.voidXMLReader.setFeature(String name, boolean value) Set the value of a feature flag.voidXMLReader.setProperty(String name,Object value) Set the value of a property.voidInputSource.setPublicId(String publicId) Set the public identifier for this input source.voidInputSource.setSystemId(String systemId) Set the system identifier for this input source.voidContentHandler.skippedEntity(String name) Receive notification of a skipped entity.voidContentHandler.startElement(String uri,String localName,String qName,Attributes atts) Receive notification of the beginning of an element.voidDocumentHandler.startElement(String name,AttributeList atts) Deprecated.Receive notification of the beginning of an element.voidHandlerBase.startElement(String name,AttributeList attributes) Deprecated.Receive notification of the start of an element.voidContentHandler.startPrefixMapping(String prefix,String uri) Begin the scope of a prefix-URI Namespace mapping.voidDTDHandler.unparsedEntityDecl(String name,String publicId,String systemId,String notationName) Receive notification of an unparsed entity declaration event.voidHandlerBase.unparsedEntityDecl(String name,String publicId,String systemId,String notationName) Deprecated.Receive notification of an unparsed entity declaration.Constructors inorg.xml.sax with parameters of typeStringModifierConstructorDescriptionInputSource(String systemId) Create a new input source with a system identifier.SAXException(String message) Create a new SAXException.SAXException(String message,Exception e) Create a new SAXException from an existing exception.SAXNotRecognizedException(String message) Construct a new exception with the given message.SAXNotSupportedException(String message) Construct a new exception with the given message.SAXParseException(String message,String publicId,String systemId, int lineNumber, int columnNumber) Create a new SAXParseException.SAXParseException(String message,String publicId,String systemId, int lineNumber, int columnNumber,Exception e) Create a new SAXParseException with an embedded exception.SAXParseException(String message,Locator locator) Create a new SAXParseException from a message and a Locator.SAXParseException(String message,Locator locator,Exception e) Wrap an existing exception in a SAXParseException.Uses ofString inorg.xml.sax.ext
Methods inorg.xml.sax.ext that returnStringModifier and TypeMethodDescriptionLocator2.getEncoding()Returns the name of the character encoding for the entity.Locator2Impl.getEncoding()Returns the current value of the encoding property.Locator2.getXMLVersion()Returns the version of XML used for the entity.Locator2Impl.getXMLVersion()Returns the current value of the version property.Methods inorg.xml.sax.ext with parameters of typeStringModifier and TypeMethodDescriptionvoidAdd an attribute to the end of the list, setting its"specified" flag to true.voidReport an attribute type declaration.voidvoidDeclHandler.elementDecl(String name,String model) Report an element type declaration.voidDefaultHandler2.elementDecl(String name,String model) voidvoidReport the end of an entity.voidDeclHandler.externalEntityDecl(String name,String publicId,String systemId) Report a parsed external entity declaration.voidDefaultHandler2.externalEntityDecl(String name,String publicId,String systemId) DefaultHandler2.getExternalSubset(String name,String baseURI) Tells the parser that if no external subset has been declaredin the document text, none should be used.EntityResolver2.getExternalSubset(String name,String baseURI) Allows applications to provide an external subset for documentsthat don't explicitly define one.voidDeclHandler.internalEntityDecl(String name,String value) Report an internal entity declaration.voidDefaultHandler2.internalEntityDecl(String name,String value) booleanAttributes2.isDeclared(String qName) Returns false unless the attribute was declared in the DTD.booleanAttributes2.isDeclared(String uri,String localName) Returns false unless the attribute was declared in the DTD.booleanAttributes2Impl.isDeclared(String qName) Returns the current value of the attribute's "declared" flag.booleanAttributes2Impl.isDeclared(String uri,String localName) Returns the current value of the attribute's "declared" flag.booleanAttributes2.isSpecified(String qName) Returns true unless the attribute value was providedby DTD defaulting.booleanAttributes2.isSpecified(String uri,String localName) Returns true unless the attribute value was providedby DTD defaulting.booleanAttributes2Impl.isSpecified(String qName) Returns the current value of an attribute's "specified" flag.booleanAttributes2Impl.isSpecified(String uri,String localName) Returns the current value of an attribute's "specified" flag.DefaultHandler2.resolveEntity(String publicId,String systemId) InvokesEntityResolver2.resolveEntity()with null entity name and base URI.DefaultHandler2.resolveEntity(String name,String publicId,String baseURI,String systemId) Tells the parser to resolve the systemId against the baseURIand read the entity text from that resulting absolute URI.EntityResolver2.resolveEntity(String name,String publicId,String baseURI,String systemId) Allows applications to map references to external entities into inputsources, or tell the parser it should use conventional URI resolution.voidLocator2Impl.setEncoding(String encoding) Assigns the current value of the encoding property.voidLocator2Impl.setXMLVersion(String version) Assigns the current value of the version property.voidvoidReport the start of DTD declarations, if any.voidDefaultHandler2.startEntity(String name) voidLexicalHandler.startEntity(String name) Report the beginning of some internal and external XML entities.Uses ofString inorg.xml.sax.helpers
Fields inorg.xml.sax.helpers declared asStringModifier and TypeFieldDescriptionstatic finalStringNamespaceSupport.NSDECLThe namespace declaration URI as a constant.static finalStringNamespaceSupport.XMLNSThe XML Namespace URI as a constant.Methods inorg.xml.sax.helpers that returnStringModifier and TypeMethodDescriptionAttributesImpl.getLocalName(int index) Return an attribute's local name.AttributeListImpl.getName(int i) Deprecated.Get the name of an attribute (by position).Return one of the prefixes mapped to a Namespace URI.LocatorImpl.getPublicId()Return the saved public identifier.AttributesImpl.getQName(int index) Return an attribute's qualified (prefixed) name.LocatorImpl.getSystemId()Return the saved system identifier.AttributeListImpl.getType(int i) Deprecated.Get the type of an attribute (by position).Deprecated.Get the type of an attribute (by name).AttributesImpl.getType(int index) Return an attribute's type by index.Look up an attribute's type by qualified (prefixed) name.Look up an attribute's type by Namespace-qualified name.AttributesImpl.getURI(int index) Return an attribute's Namespace URI.Look up a prefix and get the currently-mapped Namespace URI.AttributeListImpl.getValue(int i) Deprecated.Get the value of an attribute (by position).Deprecated.Get the value of an attribute (by name).AttributesImpl.getValue(int index) Return an attribute's value by index.Look up an attribute's value by qualified (prefixed) name.Look up an attribute's value by Namespace-qualified name.String[]NamespaceSupport.processName(String qName,String[] parts, boolean isAttribute) Process a raw XML qualified name, after all declarations in thecurrent context have been handled bydeclarePrefix().Methods inorg.xml.sax.helpers that return types with arguments of typeStringModifier and TypeMethodDescriptionNamespaceSupport.getDeclaredPrefixes()Return an enumeration of all prefixes declared in this context.NamespaceSupport.getPrefixes()Return an enumeration of all prefixes whose declarations areactive in the current context.NamespaceSupport.getPrefixes(String uri) Return an enumeration of all prefixes for a given URI whosedeclarations are active in the current context.Methods inorg.xml.sax.helpers with parameters of typeStringModifier and TypeMethodDescriptionvoidAttributeListImpl.addAttribute(String name,String type,String value) Deprecated.Add an attribute to an attribute list.voidAdd an attribute to the end of the list.staticXMLReaderXMLReaderFactory.createXMLReader(String className) Deprecated.Attempt to create an XML reader from a class name.booleanNamespaceSupport.declarePrefix(String prefix,String uri) Declare a Namespace prefix.voidDefaultHandler.endElement(String uri,String localName,String qName) Receive notification of the end of an element.voidParserAdapter.endElement(String qName) Adapter implementation method; do not call.voidXMLFilterImpl.endElement(String uri,String localName,String qName) Filter an end element event.voidXMLReaderAdapter.endElement(String uri,String localName,String qName) Adapt a SAX2 end element event.voidDefaultHandler.endPrefixMapping(String prefix) Receive notification of the end of a Namespace mapping.voidXMLFilterImpl.endPrefixMapping(String prefix) Filter an end Namespace prefix mapping event.voidXMLReaderAdapter.endPrefixMapping(String prefix) Adapt a SAX2 end prefix mapping event.booleanParserAdapter.getFeature(String name) Check a parser feature flag.booleanXMLFilterImpl.getFeature(String name) Look up the value of a feature.intLook up an attribute's index by qualified (prefixed) name.intLook up an attribute's index by Namespace name.Return one of the prefixes mapped to a Namespace URI.NamespaceSupport.getPrefixes(String uri) Return an enumeration of all prefixes for a given URI whosedeclarations are active in the current context.ParserAdapter.getProperty(String name) Get a parser property.XMLFilterImpl.getProperty(String name) Look up the value of a property.Deprecated.Get the type of an attribute (by name).Look up an attribute's type by qualified (prefixed) name.Look up an attribute's type by Namespace-qualified name.Look up a prefix and get the currently-mapped Namespace URI.Deprecated.Get the value of an attribute (by name).Look up an attribute's value by qualified (prefixed) name.Look up an attribute's value by Namespace-qualified name.staticParserParserFactory.makeParser(String className) Deprecated.Create a new SAX parser object using the class name provided.voidDefaultHandler.notationDecl(String name,String publicId,String systemId) Receive notification of a notation declaration.voidXMLFilterImpl.notationDecl(String name,String publicId,String systemId) Filter a notation declaration event.voidParse an XML document.voidParse a document.voidParse the document.voidDefaultHandler.processingInstruction(String target,String data) Receive notification of a processing instruction.voidParserAdapter.processingInstruction(String target,String data) Adapter implementation method; do not call.voidXMLFilterImpl.processingInstruction(String target,String data) Filter a processing instruction event.voidXMLReaderAdapter.processingInstruction(String target,String data) Adapt a SAX2 processing instruction event.String[]NamespaceSupport.processName(String qName,String[] parts, boolean isAttribute) Process a raw XML qualified name, after all declarations in thecurrent context have been handled bydeclarePrefix().voidAttributeListImpl.removeAttribute(String name) Deprecated.Remove an attribute from the list.DefaultHandler.resolveEntity(String publicId,String systemId) Resolve an external entity.XMLFilterImpl.resolveEntity(String publicId,String systemId) Filter an external entity resolution.voidAttributesImpl.setAttribute(int index,String uri,String localName,String qName,String type,String value) Set an attribute in the list.voidParserAdapter.setFeature(String name, boolean value) Set a feature flag for the parser.voidXMLFilterImpl.setFeature(String name, boolean value) Set the value of a feature.voidAttributesImpl.setLocalName(int index,String localName) Set the local name of a specific attribute.voidParserAdapter.setProperty(String name,Object value) Set a parser property.voidXMLFilterImpl.setProperty(String name,Object value) Set the value of a property.voidLocatorImpl.setPublicId(String publicId) Set the public identifier for this locator.voidSet the qualified name of a specific attribute.voidLocatorImpl.setSystemId(String systemId) Set the system identifier for this locator.voidSet the type of a specific attribute.voidSet the Namespace URI of a specific attribute.voidSet the value of a specific attribute.voidDefaultHandler.skippedEntity(String name) Receive notification of a skipped entity.voidXMLFilterImpl.skippedEntity(String name) Filter a skipped entity event.voidXMLReaderAdapter.skippedEntity(String name) Adapt a SAX2 skipped entity event.voidDefaultHandler.startElement(String uri,String localName,String qName,Attributes attributes) Receive notification of the start of an element.voidParserAdapter.startElement(String qName,AttributeList qAtts) Adapter implementation method; do not call.voidXMLFilterImpl.startElement(String uri,String localName,String qName,Attributes atts) Filter a start element event.voidXMLReaderAdapter.startElement(String uri,String localName,String qName,Attributes atts) Adapt a SAX2 start element event.voidDefaultHandler.startPrefixMapping(String prefix,String uri) Receive notification of the start of a Namespace mapping.voidXMLFilterImpl.startPrefixMapping(String prefix,String uri) Filter a start Namespace prefix mapping event.voidXMLReaderAdapter.startPrefixMapping(String prefix,String uri) Adapt a SAX2 start prefix mapping event.voidDefaultHandler.unparsedEntityDecl(String name,String publicId,String systemId,String notationName) Receive notification of an unparsed entity declaration.voidXMLFilterImpl.unparsedEntityDecl(String name,String publicId,String systemId,String notationName) Filter an unparsed entity declaration event.