Java™ Platform
Standard Ed. 6

Uses of Class
java.lang.String

Packages that use String
java.applet Provides the classes necessary to create an applet and the classes an applet uses to communicate with its applet context. 
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. 
java.awt.color Provides classes for color spaces. 
java.awt.datatransfer Provides interfaces and classes for transferring data between and within applications. 
java.awt.dnd Drag and Drop is a direct manipulation gesture found in many Graphical User Interface systems that provides a mechanism to transfer information between two entities logically associated with presentation elements in the GUI. 
java.awt.event Provides interfaces and classes for dealing with different types of events fired by AWT components. 
java.awt.font Provides classes and interface relating to fonts. 
java.awt.geom Provides the Java 2D classes for defining and performing operations on objects related to two-dimensional geometry. 
java.awt.im.spi Provides interfaces that enable the development of input methods that can be used with any Java runtime environment. 
java.awt.image Provides classes for creating and modifying images. 
java.awt.image.renderable Provides classes and interfaces for producing rendering-independent images. 
java.awt.print Provides classes and interfaces for a general printing API. 
java.beans Contains classes related to developing beans -- components based on the JavaBeansTM architecture. 
java.beans.beancontext Provides classes and interfaces relating to bean context. 
java.io Provides for system input and output through data streams, serialization and the file system. 
java.lang Provides classes that are fundamental to the design of the Java programming language. 
java.lang.annotation Provides library support for the Java programming language annotation facility. 
java.lang.instrument Provides services that allow Java programming language agents to instrument programs running on the JVM. 
java.lang.management Provides the management interface for monitoring and management of the Java virtual machine as well as the operating system on which the Java virtual machine is running. 
java.lang.reflect Provides classes and interfaces for obtaining reflective information about classes and objects. 
java.math Provides classes for performing arbitrary-precision integer arithmetic (BigInteger) and arbitrary-precision decimal arithmetic (BigDecimal). 
java.net Provides the classes for implementing networking applications. 
java.nio Defines buffers, which are containers for data, and provides an overview of the other NIO packages. 
java.nio.channels Defines channels, which represent connections to entities that are capable of performing I/O operations, such as files and sockets; defines selectors, for multiplexed, non-blocking I/O operations. 
java.nio.charset Defines charsets, decoders, and encoders, for translating between bytes and Unicode characters. 
java.nio.charset.spi Service-provider classes for the java.nio.charset package. 
java.rmi Provides the RMI package. 
java.rmi.activation Provides support for RMI Object Activation. 
java.rmi.dgc Provides classes and interface for RMI distributed garbage-collection (DGC). 
java.rmi.registry Provides a class and two interfaces for the RMI registry. 
java.rmi.server Provides classes and interfaces for supporting the server side of RMI. 
java.security Provides the classes and interfaces for the security framework. 
java.security.acl The classes and interfaces in this package have been superseded by classes in the java.security package. 
java.security.cert Provides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths. 
java.security.spec Provides classes and interfaces for key specifications and algorithm parameter specifications. 
java.sql Provides the API for accessing and processing data stored in a data source (usually a relational database) using the JavaTM programming language. 
java.text Provides classes and interfaces for handling text, dates, numbers, and messages in a manner independent of natural languages. 
java.util Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array). 
java.util.concurrent Utility classes commonly useful in concurrent programming. 
java.util.concurrent.atomic A small toolkit of classes that support lock-free thread-safe programming on single variables. 
java.util.concurrent.locks Interfaces and classes providing a framework for locking and waiting for conditions that is distinct from built-in synchronization and monitors. 
java.util.jar Provides classes for reading and writing the JAR (Java ARchive) file format, which is based on the standard ZIP file format with an optional manifest file. 
java.util.logging Provides the classes and interfaces of the JavaTM 2 platform's core logging facilities. 
java.util.prefs This package allows applications to store and retrieve user and system preference and configuration data. 
java.util.regex Classes for matching character sequences against patterns specified by regular expressions. 
java.util.spi Service provider classes for the classes in the java.util package. 
java.util.zip Provides classes for reading and writing the standard ZIP and GZIP file formats. 
javax.accessibility Defines a contract between user-interface components and an assistive technology that provides access to those components. 
javax.activation   
javax.activity Contains Activity service related exceptions thrown by the ORB machinery during unmarshalling. 
javax.annotation   
javax.annotation.processing Facilities for declaring annotation processors and for allowing annotation processors to communicate with an annotation processing tool environment. 
javax.crypto Provides the classes and interfaces for cryptographic operations. 
javax.crypto.spec Provides classes and interfaces for key specifications and algorithm parameter specifications. 
javax.imageio The main package of the Java Image I/O API. 
javax.imageio.event A package of the Java Image I/O API dealing with synchronous notification of events during the reading and writing of images. 
javax.imageio.metadata A package of the Java Image I/O API dealing with reading and writing metadata. 
javax.imageio.plugins.jpeg Classes supporting the built-in JPEG plug-in. 
javax.imageio.spi A package of the Java Image I/O API containing the plug-in interfaces for readers, writers, transcoders, and streams, and a runtime registry. 
javax.imageio.stream A package of the Java Image I/O API dealing with low-level I/O from files and streams. 
javax.jws   
javax.jws.soap   
javax.lang.model Classes and hierarchies of packages used to model the Java programming language. 
javax.lang.model.element Interfaces used to model elements of the Java programming language. 
javax.lang.model.type Interfaces used to model Java programming language types. 
javax.lang.model.util Utilities to assist in the processing of program elements and types
javax.management Provides the core classes for the Java Management Extensions. 
javax.management.loading Provides the classes which implement advanced dynamic loading. 
javax.management.modelmbean Provides the definition of the ModelMBean classes. 
javax.management.monitor Provides the definition of the monitor classes. 
javax.management.openmbean Provides the open data types and Open MBean descriptor classes. 
javax.management.relation Provides the definition of the Relation Service. 
javax.management.remote Interfaces for remote access to JMX MBean servers. 
javax.management.remote.rmi The RMI connector is a connector for the JMX Remote API that uses RMI to transmit client requests to a remote MBean server. 
javax.management.timer Provides the definition of the Timer MBean. 
javax.naming Provides the classes and interfaces for accessing naming services. 
javax.naming.directory Extends the javax.naming package to provide functionality for accessing directory services. 
javax.naming.event Provides support for event notification when accessing naming and directory services. 
javax.naming.ldap Provides support for LDAPv3 extended operations and controls. 
javax.naming.spi Provides the means for dynamically plugging in support for accessing naming and directory services through the javax.naming and related packages. 
javax.net Provides classes for networking applications. 
javax.net.ssl Provides classes for the secure socket package. 
javax.print Provides the principal classes and interfaces for the JavaTM Print Service API. 
javax.print.attribute Provides classes and interfaces that describe the types of JavaTM Print Service attributes and how they can be collected into attribute sets. 
javax.print.attribute.standard Package javax.print.attribute.standard contains classes for specific printing attributes. 
javax.print.event Package javax.print.event contains event classes and listener interfaces. 
javax.rmi.CORBA Contains portability APIs for RMI-IIOP. 
javax.rmi.ssl Provides implementations of RMIClientSocketFactory and RMIServerSocketFactory over the Secure Sockets Layer (SSL) or Transport Layer Security (TLS) protocols. 
javax.script The scripting API consists of interfaces and classes that define Java TM Scripting Engines and provides a framework for their use in Java applications. 
javax.security.auth This package provides a framework for authentication and authorization. 
javax.security.auth.callback This package provides the classes necessary for services to interact with applications in order to retrieve information (authentication data including usernames or passwords, for example) or to display information (error and warning messages, for example). 
javax.security.auth.kerberos This package contains utility classes related to the Kerberos network authentication protocol. 
javax.security.auth.login This package provides a pluggable authentication framework. 
javax.security.auth.spi This package provides the interface to be used for implementing pluggable authentication modules. 
javax.security.auth.x500 This package contains the classes that should be used to store X500 Principal and X500 Private Crendentials in a Subject
javax.security.cert Provides classes for public key certificates. 
javax.security.sasl Contains class and interfaces for supporting SASL. 
javax.sound.midi Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI (Musical Instrument Digital Interface) data. 
javax.sound.sampled Provides interfaces and classes for capture, processing, and playback of sampled audio data. 
javax.sql Provides the API for server side data source access and processing from the JavaTM programming language. 
javax.sql.rowset Standard interfaces and base classes for JDBC RowSet implementations. 
javax.sql.rowset.serial Provides utility classes to allow serializable mappings between SQL types and data types in the Java programming language. 
javax.sql.rowset.spi The standard classes and interfaces that a third party vendor has to use in its implementation of a synchronization provider. 
javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. 
javax.swing.border Provides classes and interface for drawing specialized borders around a Swing component. 
javax.swing.colorchooser Contains classes and interfaces used by the JColorChooser component. 
javax.swing.event Provides for events fired by Swing components. 
javax.swing.filechooser Contains classes and interfaces used by the JFileChooser component. 
javax.swing.plaf Provides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities. 
javax.swing.plaf.basic Provides user interface objects built according to the Basic look and feel. 
javax.swing.plaf.metal Provides user interface objects built according to the Java look and feel (once codenamed Metal), which is the default look and feel. 
javax.swing.plaf.multi Provides user interface objects that combine two or more look and feels. 
javax.swing.plaf.synth Synth is a skinnable look and feel in which all painting is delegated. 
javax.swing.table Provides classes and interfaces for dealing with javax.swing.JTable
javax.swing.text Provides classes and interfaces that deal with editable and noneditable text components. 
javax.swing.text.html Provides the class HTMLEditorKit and supporting classes for creating HTML text editors. 
javax.swing.text.html.parser Provides the default HTML parser, along with support classes. 
javax.swing.text.rtf Provides a class (RTFEditorKit) for creating Rich-Text-Format text editors. 
javax.swing.tree Provides classes and interfaces for dealing with javax.swing.JTree
javax.swing.undo Allows developers to provide support for undo/redo in applications such as text editors. 
javax.tools Provides interfaces for tools which can be invoked from a program, for example, compilers. 
javax.transaction Contains three exceptions thrown by the ORB machinery during unmarshalling. 
javax.transaction.xa Provides the API that defines the contract between the transaction manager and the resource manager, which allows the transaction manager to enlist and delist resource objects (supplied by the resource manager driver) in JTA transactions. 
javax.xml Defines core XML constants and functionality from the XML specifications. 
javax.xml.bind Provides a runtime binding framework for client applications including unmarshalling, marshalling, and validation capabilities. 
javax.xml.bind.annotation Defines annotations for customizing Java program elements to XML Schema mapping. 
javax.xml.bind.annotation.adapters XmlAdapter and its spec-defined sub-classes to allow arbitrary Java classes to be used with JAXB. 
javax.xml.bind.attachment This package is implemented by a MIME-based package processor that enables the interpretation and creation of optimized binary data within an MIME-based package format. 
javax.xml.bind.helpers JAXB Provider Use Only: Provides partial default implementations for some of the javax.xml.bind interfaces. 
javax.xml.crypto Common classes for XML cryptography. 
javax.xml.crypto.dom DOM-specific classes for the javax.xml.crypto package. 
javax.xml.crypto.dsig Classes for generating and validating XML digital signatures. 
javax.xml.crypto.dsig.keyinfo Classes for parsing and processing KeyInfo elements and structures. 
javax.xml.crypto.dsig.spec Parameter classes for XML digital signatures. 
javax.xml.datatype XML/Java Type Mappings. 
javax.xml.namespace XML Namespace processing. 
javax.xml.parsers Provides classes allowing the processing of XML documents. 
javax.xml.soap Provides the API for creating and building SOAP messages. 
javax.xml.stream   
javax.xml.stream.events   
javax.xml.stream.util   
javax.xml.transform This package defines the generic APIs for processing transformation instructions, and performing a transformation from source to result. 
javax.xml.transform.dom This package implements DOM-specific transformation APIs. 
javax.xml.transform.sax This package implements SAX2-specific transformation APIs. 
javax.xml.transform.stax Provides for StAX-specific transformation APIs. 
javax.xml.transform.stream This package implements stream- and URI- specific transformation APIs. 
javax.xml.validation This package provides an API for validation of XML documents. 
javax.xml.ws This package contains the core JAX-WS APIs. 
javax.xml.ws.handler This package defines APIs for message handlers. 
javax.xml.ws.handler.soap This package defines APIs for SOAP message handlers. 
javax.xml.ws.http This package defines APIs specific to the HTTP binding. 
javax.xml.ws.soap This package defines APIs specific to the SOAP binding. 
javax.xml.ws.spi This package defines SPIs for JAX-WS. 
javax.xml.ws.wsaddressing This package defines APIs related to WS-Addressing. 
javax.xml.xpath This package provides an object-model neutral API for the evaluation of XPath expressions and access to the evaluation environment. 
org.ietf.jgss This package presents a framework that allows application developers to make use of security services like authentication, data integrity and data confidentiality from a variety of underlying security mechanisms like Kerberos, using a unified API. 
org.omg.CORBA Provides the mapping of the OMG CORBA APIs to the JavaTM programming language, including the class ORB, which is implemented so that a programmer can use it as a fully-functional Object Request Broker (ORB). 
org.omg.CORBA_2_3 The CORBA_2_3 package defines additions to existing CORBA interfaces in the Java[tm] Standard Edition 6.   These changes occurred in recent revisions to the CORBA API defined by the OMG.  The new methods were added to  interfaces derived from the corresponding interfaces in the CORBA package.  This provides backward compatibility and avoids breaking the JCK tests. 
org.omg.CORBA_2_3.portable Provides methods for the input and output of value types, and contains other updates to the org/omg/CORBA/portable package. 
org.omg.CORBA.DynAnyPackage Provides the exceptions used with the DynAny interface (InvalidValue, Invalid, InvalidSeq, and TypeMismatch). 
org.omg.CORBA.ORBPackage Provides the exception InvalidName, which is thrown by the method ORB.resolve_initial_references and the exception InconsistentTypeCode, which is thrown by the Dynamic Any creation methods in the ORB class. 
org.omg.CORBA.portable Provides a portability layer, that is, a set of ORB APIs that makes it possible for code generated by one vendor to run on another vendor's ORB. 
org.omg.CORBA.TypeCodePackage Provides the user-defined exceptions BadKind and Bounds, which are thrown by methods in in the class TypeCode
org.omg.CosNaming Provides a naming service for Java IDL. 
org.omg.CosNaming.NamingContextExtPackage This package contains the following classes, which are used in org.omg.CosNaming.NamingContextExt
org.omg.CosNaming.NamingContextPackage This package contains Exception classes for the org.omg.CosNaming package. 
org.omg.DynamicAny Provides classes and interfaces that enable traversal of the data value associated with an any at runtime, and extraction of the primitive constituents of the data value. 
org.omg.DynamicAny.DynAnyFactoryPackage This package contains classes and exceptions from the DynAnyFactory interface of the DynamicAny module specified in the OMG The Common Object Request Broker: Architecture and Specification, http://cgi.omg.org/cgi-bin/doc?formal/99-10-07, section 9.2.2. 
org.omg.DynamicAny.DynAnyPackage This package contains classes and exceptions from the DynAny interface of the DynamicAny module specified in the OMG The Common Object Request Broker: Architecture and Specification, http://cgi.omg.org/cgi-bin/doc?formal/99-10-07, section 9.2. 
org.omg.IOP This package contains the IOP module specified in the OMG document The Common Object Request Broker: Architecture and Specification, http://cgi.omg.org/cgi-bin/doc?formal/99-10-07, section 13.6. 
org.omg.IOP.CodecFactoryPackage This package contains the exceptions specified in the IOP::CodeFactory interface (as part of the Portable Interceptors spec). 
org.omg.IOP.CodecPackage This package is generated from the IOP::Codec IDL interface definition. 
org.omg.Messaging This package contains the Messaging module specified in the OMG CORBA Messaging specification, http://cgi.omg.org/cgi-bin/doc?formal/99-10-07
org.omg.PortableInterceptor Provides a mechanism to register ORB hooks through which ORB services can intercept the normal flow of execution of the ORB. 
org.omg.PortableInterceptor.ORBInitInfoPackage This package contains the exceptions and typedefs from the ORBInitInfo local interface of the PortableInterceptor module specified in the OMG Portable Interceptor specification, http://cgi.omg.org/cgi-bin/doc?ptc/2000-08-06, section 21.7.2. 
org.omg.PortableServer Provides classes and interfaces for making the server side of your applications portable across multivendor ORBs. 
org.omg.PortableServer.CurrentPackage Provides method implementations with access to the identity of the object on which the method was invoked. 
org.omg.PortableServer.POAManagerPackage Encapsulates the processing state of the POAs it is associated with. 
org.omg.PortableServer.POAPackage Allows programmers to construct object implementations that are portable between different ORB products. 
org.omg.PortableServer.portable Provides classes and interfaces for making the server side of your applications portable across multivendor ORBs. 
org.omg.stub.java.rmi Contains RMI-IIOP Stubs for the Remote types that occur in the java.rmi package. 
org.w3c.dom Provides the interfaces for the Document Object Model (DOM) which is a component API of the Java API for XML Processing
org.w3c.dom.bootstrap   
org.w3c.dom.events   
org.w3c.dom.ls   
org.xml.sax This package provides the core SAX APIs. 
org.xml.sax.ext This package contains interfaces to SAX2 facilities that conformant SAX drivers won't necessarily support. 
org.xml.sax.helpers This package contains "helper" classes, including support for bootstrapping SAX-based applications. 
 

Uses of String in java.applet
 

Methods in java.applet that return String
 String Applet.getAppletInfo()
          Returns information about this applet.
 String Applet.getParameter(String name)
          Returns the value of the named parameter in the HTML tag.
 String AppletStub.getParameter(String name)
          Returns the value of the named parameter in the HTML tag.
 String[][] Applet.getParameterInfo()
          Returns information about the parameters that are understood by this applet.
 

Methods in java.applet that return types with arguments of type String
 Iterator<String> AppletContext.getStreamKeys()
          Finds all the keys of the streams in this applet context.
 

Methods in java.applet with parameters of type String
 Applet AppletContext.getApplet(String name)
          Finds and returns the applet in the document represented by this applet context with the given name.
 AudioClip Applet.getAudioClip(URL url, String name)
          Returns the AudioClip object specified by the URL and name arguments.
 Image Applet.getImage(URL url, String name)
          Returns an Image object that can then be painted on the screen.
 String Applet.getParameter(String name)
          Returns the value of the named parameter in the HTML tag.
 String AppletStub.getParameter(String name)
          Returns the value of the named parameter in the HTML tag.
 InputStream AppletContext.getStream(String key)
          Returns the stream to which specified key is associated within this applet context.
 void Applet.play(URL url, String name)
          Plays the audio clip given the URL and a specifier that is relative to it.
 void AppletContext.setStream(String key, InputStream stream)
          Associates the specified stream with the specified key in this applet context.
 void AppletContext.showDocument(URL url, String target)
          Requests that the browser or applet viewer show the Web page indicated by the url argument.
 void Applet.showStatus(String msg)
          Requests that the argument string be displayed in the "status window".
 void AppletContext.showStatus(String status)
          Requests that the argument string be displayed in the "status window".
 

Uses of String in java.awt
 

Fields in java.awt declared as String
static String BorderLayout.AFTER_LAST_LINE
          Synonym for PAGE_END.
static String BorderLayout.AFTER_LINE_ENDS
          Synonym for LINE_END.
static String BorderLayout.BEFORE_FIRST_LINE
          Synonym for PAGE_START.
static String BorderLayout.BEFORE_LINE_BEGINS
          Synonym for LINE_START.
static String BorderLayout.CENTER
          The center layout constraint (middle of container).
static String Font.DIALOG
          A String constant for the canonical family name of the logical font "Dialog".
static String Font.DIALOG_INPUT
          A String constant for the canonical family name of the logical font "DialogInput".
static String BorderLayout.EAST
          The east layout constraint (right side of container).
static String BorderLayout.LINE_END
          The component goes at the end of the line direction for the layout.
static String BorderLayout.LINE_START
          The component goes at the beginning of the line direction for the layout.
static String Font.MONOSPACED
          A String constant for the canonical family name of the logical font "Monospaced".
protected  String Cursor.name
          The user-visible name of the cursor.
protected  String Font.name
          The logical name of this Font, as passed to the constructor.
static String BorderLayout.NORTH
          The north layout constraint (top of container).
static String BorderLayout.PAGE_END
          The component comes after the last line of the layout's content.
static String BorderLayout.PAGE_START
          The component comes before the first line of the layout's content.
static String Font.SANS_SERIF
          A String constant for the canonical family name of the logical font "SansSerif".
static String Font.SERIF
          A String constant for the canonical family name of the logical font "Serif".
static String BorderLayout.SOUTH
          The south layout constraint (bottom of container).
static String BorderLayout.WEST
          The west layout constraint (left side of container).
 

Fields in java.awt with type parameters of type String
protected  Map<String,Object> Toolkit.desktopProperties
           
 

Methods in java.awt that return String
 String CheckboxMenuItem.AccessibleAWTCheckboxMenuItem.getAccessibleActionDescription(int i)
          Return a description of the specified action of the object.
 String MenuItem.AccessibleAWTMenuItem.getAccessibleActionDescription(int i)
          Return a description of the specified action of the object.
 String Choice.AccessibleAWTChoice.getAccessibleActionDescription(int i)
          Returns a description of the specified action of the object.
 String Checkbox.AccessibleAWTCheckbox.getAccessibleActionDescription(int i)
          Return a description of the specified action of the object.
 String Button.AccessibleAWTButton.getAccessibleActionDescription(int i)
          Return a description of the specified action of the object.
 String MenuComponent.AccessibleAWTMenuComponent.getAccessibleDescription()
          Gets the accessible description of this object.
 String Component.AccessibleAWTComponent.getAccessibleDescription()
          Gets the accessible description of this object.
 String MenuItem.AccessibleAWTMenuItem.getAccessibleName()
          Get the accessible name of this object.
 String MenuComponent.AccessibleAWTMenuComponent.getAccessibleName()
          Gets the accessible name of this object.
 String Label.AccessibleAWTLabel.getAccessibleName()
          Get the accessible name of this object.
 String Button.AccessibleAWTButton.getAccessibleName()
          Get the accessible name of this object.
 String Component.AccessibleAWTComponent.getAccessibleName()
          Gets the accessible name of this object.
 String MenuItem.getActionCommand()
          Gets the command name of the action event that is fired by this menu item.
 String Button.getActionCommand()
          Returns the command name of the action event fired by this button.
 String TrayIcon.getActionCommand()
          Returns the command name of the action event fired by this tray icon.
 String TextComponent.AccessibleAWTTextComponent.getAfterIndex(int part, int index)
          Returns the String after a given index.
 String TextComponent.AccessibleAWTTextComponent.getAtIndex(int part, int index)
          Returns the String at a given index.
abstract  String[] GraphicsEnvironment.getAvailableFontFamilyNames()
          Returns an array containing the names of all font families in this GraphicsEnvironment localized for the default locale, as returned by Locale.getDefault().
abstract  String[] GraphicsEnvironment.getAvailableFontFamilyNames(Locale l)
          Returns an array containing the names of all font families in this GraphicsEnvironment localized for the specified locale.
 String TextComponent.AccessibleAWTTextComponent.getBeforeIndex(int part, int index)
          Returns the String before a given index.
 String FileDialog.getDirectory()
          Gets the directory of this file dialog.
 String Font.getFamily()
          Returns the family name of this Font.
 String Font.getFamily(Locale l)
          Returns the family name of this Font, localized for the specified locale.
 String FileDialog.getFile()
          Gets the selected file of this file dialog.
 String JobAttributes.getFileName()
          Specifies the file name for the output file for jobs using these attributes.
abstract  String[] Toolkit.getFontList()
          Deprecated. see GraphicsEnvironment.getAvailableFontFamilyNames()
 String Font.getFontName()
          Returns the font face name of this Font.
 String Font.getFontName(Locale l)
          Returns the font face name of the Font, localized for the specified locale.
abstract  String GraphicsDevice.getIDstring()
          Returns the identification string associated with this GraphicsDevice.
 String Choice.getItem(int index)
          Gets the string at the specified index in this Choice menu.
 String List.getItem(int index)
          Gets the item associated with the specified index.
 String[] List.getItems()
          Gets the items in the list.
 String MenuItem.getLabel()
          Gets the label for this menu item.
 String Checkbox.getLabel()
          Gets the label of this check box.
 String Button.getLabel()
          Gets the label of this button.
 String HeadlessException.getMessage()
           
 String MenuComponent.getName()
          Gets the name of the menu component.
 String Component.getName()
          Gets the name of the component.
 String Cursor.getName()
          Returns the name of this cursor.
 String Font.getName()
          Returns the logical name of this Font.
 String JobAttributes.getPrinter()
          Returns the destination printer for jobs using these attributes.
static String Toolkit.getProperty(String key, String defaultValue)
          Gets a property with the specified key and default.
 String Font.getPSName()
          Returns the postscript name of this Font.
 String Choice.getSelectedItem()
          Gets a representation of the current choice as a string.
 String List.getSelectedItem()
          Gets the selected item on this scrolling list.
 String[] List.getSelectedItems()
          Gets the selected items on this scrolling list.
 String TextComponent.getSelectedText()
          Returns the selected text from the text that is presented by this text component.
 String TextComponent.AccessibleAWTTextComponent.getSelectedText()
          Returns the portion of the text that is selected.
 String Label.getText()
          Gets the text of this label.
 String TextComponent.getText()
          Returns the text that is presented by this text component.
 String Dialog.getTitle()
          Gets the title of the dialog.
 String Frame.getTitle()
          Gets the title of the frame.
 String TrayIcon.getToolTip()
          Returns the tooltip string associated with this TrayIcon.
 String Window.getWarningString()
          Gets the warning string that is displayed with this window.
 String CheckboxMenuItem.paramString()
          Returns a string representing the state of this CheckBoxMenuItem.
protected  String FileDialog.paramString()
          Returns a string representing the state of this FileDialog window.
 String MenuItem.paramString()
          Returns a string representing the state of this MenuItem.
 String Menu.paramString()
          Returns a string representing the state of this Menu.
protected  String MenuComponent.paramString()
          Returns a string representing the state of this MenuComponent.
protected  String Dialog.paramString()
          Returns a string representing the state of this dialog.
protected  String Frame.paramString()
          Returns a string representing the state of this Frame.
protected  String Choice.paramString()
          Returns a string representing the state of this Choice menu.
protected  String TextArea.paramString()
          Returns a string representing the state of this TextArea.
protected  String Container.paramString()
          Returns a string representing the state of this Container.
 String ScrollPane.paramString()
          Returns a string representing the state of this ScrollPane.
protected  String Scrollbar.paramString()
          Returns a string representing the state of this Scrollbar.
protected  String Checkbox.paramString()
          Returns a string representing the state of this Checkbox.
protected  String List.paramString()
          Returns the parameter string representing the state of this scrolling list.
protected  String Label.paramString()
          Returns a string representing the state of this Label.
protected  String TextComponent.paramString()
          Returns a string representing the state of this TextComponent.
protected  String TextField.paramString()
          Returns a string representing the state of this TextField.
protected  String Button.paramString()
          Returns a string representing the state of this Button.
protected  String Component.paramString()
          Returns a string representing the state of this component.
protected  String MenuShortcut.paramString()
          Returns the parameter string representing the state of this MenuShortcut.
 String ScrollPaneAdjustable.paramString()
          Returns a string representing the state of this scrollbar.
protected  String Event.paramString()
          NOTE: The Event class is obsolete and is available only for backwards compatilibility.
 String AWTEvent.paramString()
          Returns a string representing the state of this Event.
 String MenuComponent.toString()
          Returns a representation of this menu component as a string.
 String Rectangle.toString()
          Returns a String representing this Rectangle and its values.
 String Component.toString()
          Returns a string representation of this component and its values.
 String Dimension.toString()
          Returns a string representation of the values of this Dimension object's height and width fields.
 String Point.toString()
          Returns a string representation of this point and its location in the (x,y) coordinate space.
 String SystemColor.toString()
          Returns a string representation of this Color's values.
 String Robot.toString()
          Returns a string representation of this Robot.
 String GridLayout.toString()
          Returns the string representation of this grid layout's values.
 String GridBagLayout.toString()
          Returns a string representation of this grid bag layout's values.
 String FlowLayout.toString()
          Returns a string representation of this FlowLayout object and its values.
 String CardLayout.toString()
          Returns a string representation of the state of this card layout.
 String BorderLayout.toString()
          Returns a string representation of the state of this border layout.
 String MenuShortcut.toString()
          Returns an internationalized description of the MenuShortcut.
 String ScrollPaneAdjustable.toString()
          Returns a string representation of this scrollbar and its values.
 String CheckboxGroup.toString()
          Returns a string representation of this check box group, including the value of its current selection.
 String AWTKeyStroke.toString()
          Returns a string that displays and identifies this object's properties.
 String RenderingHints.toString()
          Returns a rather long string representation of the hashmap which contains the mappings of keys to values for this RenderingHints object.
 String Cursor.toString()
          Returns a string representation of this cursor.
 String PageAttributes.toString()
          Returns a string representation of this PageAttributes.
 String JobAttributes.toString()
          Returns a string representation of this JobAttributes.
 String Insets.toString()
          Returns a string representation of this Insets object.
 String Color.toString()
          Returns a string representation of this Color.
 String FontMetrics.toString()
          Returns a representation of this FontMetrics object's values as a String.
 String Font.toString()
          Converts this Font object to a String representation.
 String Graphics.toString()
          Returns a String object representing this Graphics object's value.
 String Event.toString()
          NOTE: The Event class is obsolete and is available only for backwards compatilibility.
 String AWTEvent.toString()
          Returns a String representation of this object.
 

Methods in java.awt with parameters of type String
 void Menu.add(String label)
          Adds an item with the specified label to this menu.
 void Choice.add(String item)
          Adds an item to this Choice menu.
 void List.add(String item)
          Adds the specified item to the end of scrolling list.
 Component Container.add(String name, Component comp)
          Adds the specified component to this container.
 void List.add(String item, int index)
          Adds the specified item to the the scrolling list at the position indicated by the index.
 void Choice.addItem(String item)
          Obsolete as of Java 2 platform v1.1.
 void List.addItem(String item)
          Deprecated. replaced by add(String).
 void List.addItem(String item, int index)
          Deprecated. replaced by add(String, int).
 void GridLayout.addLayoutComponent(String name, Component comp)
          Adds the specified component with the specified name to the layout.
 void GridBagLayout.addLayoutComponent(String name, Component comp)
          Has no effect, since this layout manager does not use a per-component string.
 void FlowLayout.addLayoutComponent(String name, Component comp)
          Adds the specified component to the layout.
 void CardLayout.addLayoutComponent(String name, Component comp)
          Deprecated. replaced by addLayoutComponent(Component, Object).
 void BorderLayout.addLayoutComponent(String name, Component comp)
          Deprecated. replaced by addLayoutComponent(Component, Object).
 void LayoutManager.addLayoutComponent(String name, Component comp)
          If the layout manager uses a per-component string, adds the component comp to the layout, associating it with the string specified by name.
 void Window.addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
          Adds a PropertyChangeListener to the listener list for a specific property.
 void Container.addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
          Adds a PropertyChangeListener to the listener list for a specific property.
 void Component.addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
          Adds a PropertyChangeListener to the listener list for a specific property.
 void Toolkit.addPropertyChangeListener(String name, PropertyChangeListener pcl)
          Adds the specified property change listener for the named desktop property.
 void SystemTray.addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
          Adds a PropertyChangeListener to the listener list for a specific property.
 void KeyboardFocusManager.addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
          Adds a PropertyChangeListener to the listener list for a specific property.
 void KeyboardFocusManager.addVetoableChangeListener(String propertyName, VetoableChangeListener listener)
          Adds a VetoableChangeListener to the listener list for a specific property.
 void TextArea.append(String str)
          Appends the given text to the text area's current text.
 void TextArea.appendText(String str)
          Deprecated. As of JDK version 1.1, replaced by append(String).
 void Window.applyResourceBundle(String rbName)
          Deprecated. As of J2SE 1.4, replaced by Component.applyComponentOrientation.
 int Font.canDisplayUpTo(String str)
          Indicates whether or not this Font can display a specified String.
 Cursor Toolkit.createCustomCursor(Image cursor, Point hotSpot, String name)
          Creates a new custom cursor object.
 GlyphVector Font.createGlyphVector(FontRenderContext frc, String str)
          Creates a GlyphVector by mapping characters to glyphs one-to-one based on the Unicode cmap in this Font.
abstract  Image Toolkit.createImage(String filename)
          Returns an image which gets pixel data from the specified file.
static Color Color.decode(String nm)
          Converts a String to an integer and returns the specified opaque Color.
static Font Font.decode(String str)
          Returns the Font that the str argument describes.
 void TrayIcon.displayMessage(String caption, String text, TrayIcon.MessageType messageType)
          Displays a popup message near the tray icon.
abstract  void Graphics2D.drawString(String str, float x, float y)
          Renders the text specified by the specified String, using the current text attribute state in the Graphics2D context.
abstract  void Graphics2D.drawString(String str, int x, int y)
          Renders the text of the specified String, using the current text attribute state in the Graphics2D context.
abstract  void Graphics.drawString(String str, int x, int y)
          Draws the text given by the specified string, using this graphics context's current font and color.
protected  void Component.firePropertyChange(String propertyName, boolean oldValue, boolean newValue)
          Support for reporting bound property changes for boolean properties.
 void Component.firePropertyChange(String propertyName, byte oldValue, byte newValue)
          Reports a bound property change.
 void Component.firePropertyChange(String propertyName, char oldValue, char newValue)
          Reports a bound property change.
 void Component.firePropertyChange(String propertyName, double oldValue, double newValue)
          Reports a bound property change.
 void Component.firePropertyChange(String propertyName, float oldValue, float newValue)
          Reports a bound property change.
protected  void Component.firePropertyChange(String propertyName, int oldValue, int newValue)
          Support for reporting bound property changes for integer properties.
 void Component.firePropertyChange(String propertyName, long oldValue, long newValue)
          Reports a bound property change.
protected  void Component.firePropertyChange(String propertyName, Object oldValue, Object newValue)
          Support for reporting bound property changes for Object properties.
protected  void KeyboardFocusManager.firePropertyChange(String propertyName, Object oldValue, Object newValue)
          Fires a PropertyChangeEvent in response to a change in a bound property.
 void Component.firePropertyChange(String propertyName, short oldValue, short newValue)
          Reports a bound property change.
protected  void KeyboardFocusManager.fireVetoableChange(String propertyName, Object oldValue, Object newValue)
          Fires a PropertyChangeEvent in response to a change in a vetoable property.
static AWTKeyStroke AWTKeyStroke.getAWTKeyStroke(String s)
          Parses a string and returns an AWTKeyStroke.
static Color Color.getColor(String nm)
          Finds a color in the system properties.
static Color Color.getColor(String nm, Color v)
          Finds a color in the system properties.
static Color Color.getColor(String nm, int v)
          Finds a color in the system properties.
 Object Toolkit.getDesktopProperty(String propertyName)
          Obtains a value for the specified desktop property.
static Font Font.getFont(String nm)
          Returns a Font object from the system properties list.
static Font Font.getFont(String nm, Font font)
          Gets the specified Font from the system properties list.
protected abstract  java.awt.peer.FontPeer Toolkit.getFontPeer(String name, int style)
          Deprecated. see java.awt.GraphicsEnvironment#getAllFonts
abstract  Image Toolkit.getImage(String filename)
          Returns an image which gets pixel data from the specified file, whose format can be either GIF, JPEG or PNG.
 LineMetrics Font.getLineMetrics(String str, FontRenderContext frc)
          Returns a LineMetrics object created with the specified String and FontRenderContext.
 LineMetrics FontMetrics.getLineMetrics(String str, Graphics context)
          Returns the LineMetrics object for the specified String in the specified Graphics context.
 LineMetrics Font.getLineMetrics(String str, int beginIndex, int limit, FontRenderContext frc)
          Returns a LineMetrics object created with the specified arguments.
 LineMetrics FontMetrics.getLineMetrics(String str, int beginIndex, int limit, Graphics context)
          Returns the LineMetrics object for the specified String in the specified Graphics context.
 PrintJob Toolkit.getPrintJob(Frame frame, String jobtitle, JobAttributes jobAttributes, PageAttributes pageAttributes)
          Gets a PrintJob object which is the result of initiating a print operation on the toolkit's platform.
abstract  PrintJob Toolkit.getPrintJob(Frame frame, String jobtitle, Properties props)
          Gets a PrintJob object which is the result of initiating a print operation on the toolkit's platform.
abstract  Object Image.getProperty(String name, ImageObserver observer)
          Gets a property of this image by name.
static String Toolkit.getProperty(String key, String defaultValue)
          Gets a property with the specified key and default.
 PropertyChangeListener[] Component.getPropertyChangeListeners(String propertyName)
          Returns an array of all the listeners which have been associated with the named property.
 PropertyChangeListener[] Toolkit.getPropertyChangeListeners(String propertyName)
          Returns an array of all the PropertyChangeListeners associated with the named property.
 PropertyChangeListener[] SystemTray.getPropertyChangeListeners(String propertyName)
          Returns an array of all the listeners that have been associated with the named property.
 PropertyChangeListener[] KeyboardFocusManager.getPropertyChangeListeners(String propertyName)
          Returns an array of all the PropertyChangeListeners associated with the named property.
 Rectangle2D Font.getStringBounds(String str, FontRenderContext frc)
          Returns the logical bounds of the specified String in the specified FontRenderContext.
 Rectangle2D FontMetrics.getStringBounds(String str, Graphics context)
          Returns the bounds of the specified String in the specified Graphics context.
 Rectangle2D Font.getStringBounds(String str, int beginIndex, int limit, FontRenderContext frc)
          Returns the logical bounds of the specified String in the specified FontRenderContext.
 Rectangle2D FontMetrics.getStringBounds(String str, int beginIndex, int limit, Graphics context)
          Returns the bounds of the specified String in the specified Graphics context.
static Cursor Cursor.getSystemCustomCursor(String name)
          Returns a system-specific custom cursor object matching the specified name.
 VetoableChangeListener[] KeyboardFocusManager.getVetoableChangeListeners(String propertyName)
          Returns an array of all the VetoableChangeListeners associated with the named property.
 void Menu.insert(String label, int index)
          Inserts a menu item with the specified label into this menu at the specified position.
 void Choice.insert(String item, int index)
          Inserts the item into this choice at the specified position.
 void TextArea.insert(String str, int pos)
          Inserts the specified text at the specified position in this text area.
 void TextArea.insertText(String str, int pos)
          Deprecated. As of JDK version 1.1, replaced by insert(String, int).
protected  Object Toolkit.lazilyLoadDesktopProperty(String name)
          an opportunity to lazily evaluate desktop property values.
 void Choice.remove(String item)
          Removes the first occurrence of item from the Choice menu.
 void List.remove(String item)
          Removes the first occurrence of an item from the list.
 void Component.removePropertyChangeListener(String propertyName, PropertyChangeListener listener)
          Removes a PropertyChangeListener from the listener list for a specific property.
 void Toolkit.removePropertyChangeListener(String name, PropertyChangeListener pcl)
          Removes the specified property change listener for the named desktop property.
 void SystemTray.removePropertyChangeListener(String propertyName, PropertyChangeListener listener)
          Removes a PropertyChangeListener from the listener list for a specific property.
 void KeyboardFocusManager.removePropertyChangeListener(String propertyName, PropertyChangeListener listener)
          Removes a PropertyChangeListener from the listener list for a specific property.
 void KeyboardFocusManager.removeVetoableChangeListener(String propertyName, VetoableChangeListener listener)
          Removes a VetoableChangeListener from the listener list for a specific property.
 void List.replaceItem(String newValue, int index)
          Replaces the item at the specified index in the scrolling list with the new string.
 void TextArea.replaceRange(String str, int start, int end)
          Replaces text between the indicated start and end positions with the specified replacement text.
 void TextArea.replaceText(String str, int start, int end)
          Deprecated. As of JDK version 1.1, replaced by replaceRange(String, int, int).
protected static void AWTEventMulticaster.save(ObjectOutputStream s, String k, EventListener l)
           
protected  void AWTEventMulticaster.saveInternal(ObjectOutputStream s, String k)
           
 void Choice.select(String str)
          Sets the selected item in this Choice menu to be the item whose name is equal to the specified string.
 void MenuItem.setActionCommand(String command)
          Sets the command name of the action event that is fired by this menu item.
 void Button.setActionCommand(String command)
          Sets the command name for the action event fired by this button.
 void TrayIcon.setActionCommand(String command)
          Sets the command name for the action event fired by this tray icon.
protected  void Toolkit.setDesktopProperty(String name, Object newValue)
          Sets the named desktop property to the specified value and fires a property change event to notify any listeners that the value has changed.
 void FileDialog.setDirectory(String dir)
          Sets the directory of this file dialog window to be the specified directory.
 void FileDialog.setFile(String file)
          Sets the selected file for this file dialog window to be the specified file.
 void JobAttributes.setFileName(String fileName)
          Specifies the file name for the output file for jobs using these attributes.
 void MenuItem.setLabel(String label)
          Sets the label for this menu item to the specified label.
 void Checkbox.setLabel(String label)
          Sets this check box's label to be the string argument.
 void Button.setLabel(String label)
          Sets the button's label to be the specified string.
 void MenuComponent.setName(String name)
          Sets the name of the component to the specified string.
 void Component.setName(String name)
          Sets the name of the component to the specified string.
 void JobAttributes.setPrinter(String printer)
          Specifies the destination printer for jobs using these attributes.
 void Label.setText(String text)
          Sets the text for this label to the specified text.
 void TextComponent.setText(String t)
          Sets the text that is presented by this text component to be the specified text.
 void TextField.setText(String t)
          Sets the text that is presented by this text component to be the specified text.
 void Dialog.setTitle(String title)
          Sets the title of the Dialog.
 void Frame.setTitle(String title)
          Sets the title for this frame to the specified string.
 void TrayIcon.setToolTip(String tooltip)
          Sets the tooltip string for this TrayIcon.
 void CardLayout.show(Container parent, String name)
          Flips to the component that was added to this layout with the specified name, using addLayoutComponent.
 int FontMetrics.stringWidth(String str)
          Returns the total advance width for showing the specified String in this Font.
static Dialog.ModalityType Dialog.ModalityType.valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Dialog.ModalExclusionType Dialog.ModalExclusionType.valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Component.BaselineResizeBehavior Component.BaselineResizeBehavior.valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TrayIcon.MessageType TrayIcon.MessageType.valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MultipleGradientPaint.CycleMethod MultipleGradientPaint.CycleMethod.valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MultipleGradientPaint.ColorSpaceType MultipleGradientPaint.ColorSpaceType.valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Desktop.Action Desktop.Action.valueOf(String name)
          Returns the enum constant of this type with the specified name.
 

Constructors in java.awt with parameters of type String
AWTError(String msg)
          Constructs an instance of AWTError with the specified detail message.
AWTException(String msg)
          Constructs an instance of AWTException with the specified detail message.
AWTPermission(String name)
          Creates a new AWTPermission with the specified name.
AWTPermission(String name, String actions)
          Creates a new AWTPermission object with the specified name.
Button(String label)
          Constructs a button with the specified label.
Checkbox(String label)
          Creates a check box with the specified label.
Checkbox(String label, boolean state)
          Creates a check box with the specified label and sets the specified state.
Checkbox(String label, boolean state, CheckboxGroup group)
          Constructs a Checkbox with the specified label, set to the specified state, and in the specified check box group.
Checkbox(String label, CheckboxGroup group, boolean state)
          Creates a check box with the specified label, in the specified check box group, and set to the specified state.
CheckboxMenuItem(String label)
          Create a check box menu item with the specified label.
CheckboxMenuItem(String label, boolean state)
          Create a check box menu item with the specified label and state.
Cursor(String name)
          Creates a new custom cursor object with the specified name.
Dialog(Dialog owner, String title)
          Constructs an initially invisible, modeless Dialog with the specified owner Dialog and title.
Dialog(Dialog owner, String title, boolean modal)
          Constructs an initially invisible Dialog with the specified owner Dialog, title, and modality.
Dialog(Dialog owner, String title, boolean modal, GraphicsConfiguration gc)
          Constructs an initially invisible Dialog with the specified owner Dialog, title, modality and GraphicsConfiguration.
Dialog(Frame owner, String title)
          Constructs an initially invisible, modeless Dialog with the specified owner Frame and title.
Dialog(Frame owner, String title, boolean modal)
          Constructs an initially invisible Dialog with the specified owner Frame, title and modality.
Dialog(Frame owner, String title, boolean modal, GraphicsConfiguration gc)
          Constructs an initially invisible Dialog with the specified owner Frame, title, modality, and GraphicsConfiguration.
Dialog(Window owner, String title)
          Constructs an initially invisible, modeless Dialog with the specified owner Window and title.
Dialog(Window owner, String title, Dialog.ModalityType modalityType)
          Constructs an initially invisible Dialog with the specified owner Window, title and modality.
Dialog(Window owner, String title, Dialog.ModalityType modalityType, GraphicsConfiguration gc)
          Constructs an initially invisible Dialog with the specified owner Window, title, modality and GraphicsConfiguration.
FileDialog(Dialog parent, String title)
          Creates a file dialog window with the specified title for loading a file.
FileDialog(Dialog parent, String title, int mode)
          Creates a file dialog window with the specified title for loading or saving a file.
FileDialog(Frame parent, String title)
          Creates a file dialog window with the specified title for loading a file.
FileDialog(Frame parent, String title, int mode)
          Creates a file dialog window with the specified title for loading or saving a file.
Font(String name, int style, int size)
          Creates a new Font from the specified name, style and point size.
FontFormatException(String reason)
          Report a FontFormatException for the reason specified.
Frame(String title)
          Constructs a new, initially invisible Frame object with the specified title.
Frame(String title, GraphicsConfiguration gc)
          Constructs a new, initially invisible Frame object with the specified title and a GraphicsConfiguration.
HeadlessException(String msg)
           
IllegalComponentStateException(String s)
          Constructs an IllegalComponentStateException with the specified detail message.
JobAttributes(int copies, JobAttributes.DefaultSelectionType defaultSelection, JobAttributes.DestinationType destination, JobAttributes.DialogType dialog, String fileName, int maxPage, int minPage, JobAttributes.MultipleDocumentHandlingType multipleDocumentHandling, int[][] pageRanges, String printer, JobAttributes.SidesType sides)
          Constructs a JobAttributes instance with the specified values for every attribute.
Label(String text)
          Constructs a new label with the specified string of text, left justified.
Label(String text, int alignment)
          Constructs a new label that presents the specified string of text with the specified alignment.
Menu(String label)
          Constructs a new menu with the specified label.
Menu(String label, boolean tearOff)
          Constructs a new menu with the specified label, indicating whether the menu can be torn off.
MenuItem(String label)
          Constructs a new MenuItem with the specified label and no keyboard shortcut.
MenuItem(String label, MenuShortcut s)
          Create a menu item with an associated keyboard shortcut.
PopupMenu(String label)
          Creates a new popup menu with the specified name.
TextArea(String text)
          Constructs a new text area with the specified text.
TextArea(String text, int rows, int columns)
          Constructs a new text area with the specified text, and with the specified number of rows and columns.
TextArea(String text, int rows, int columns, int scrollbars)
          Constructs a new text area with the specified text, and with the rows, columns, and scroll bar visibility as specified.
TextField(String text)
          Constructs a new text field initialized with the specified text.
TextField(String text, int columns)
          Constructs a new text field initialized with the specified text to be displayed, and wide enough to hold the specified number of columns.
TrayIcon(Image image, String tooltip)
          Creates a TrayIcon with the specified image and tooltip text.
TrayIcon(Image image, String tooltip, PopupMenu popup)
          Creates a TrayIcon with the specified image, tooltip and popup menu.
 

Uses of String in java.awt.color
 

Methods in java.awt.color that return String
 String ColorSpace.getName(int idx)
          Returns the name of the component given the component index.
 

Methods in java.awt.color with parameters of type String
static ICC_Profile ICC_Profile.getInstance(String fileName)
          Constructs an ICC_Profile corresponding to the data in a file.
 void ICC_Profile.write(String fileName)
          Write this ICC_Profile to a file.
 

Constructors in java.awt.color with parameters of type String
CMMException(String s)
          Constructs a CMMException with the specified detail message.
ProfileDataException(String s)
          Constructs a ProfileDataException with the specified detail message.
 

Uses of String in java.awt.datatransfer
 

Fields in java.awt.datatransfer declared as String
static String DataFlavor.javaJVMLocalObjectMimeType
          To transfer a reference to an arbitrary Java object reference that has no associated MIME Content-type, across a Transferable interface WITHIN THE SAME JVM, a DataFlavor with this type/subtype is used, with a representationClass equal to the type of the class/interface being passed across the Transferable.
static String DataFlavor.javaRemoteObjectMimeType
          In order to pass a live link to a Remote object via a Drag and Drop ACTION_LINK operation a Mime Content Type of application/x-java-remote-object should be used, where the representation class of the DataFlavor represents the type of the Remote interface to be transferred.
static String DataFlavor.javaSerializedObjectMimeType
          A MIME Content-Type of application/x-java-serialized-object represents a graph of Java object(s) that have been made persistent.
 

Methods in java.awt.datatransfer that return String
static String SystemFlavorMap.decodeJavaMIMEType(String nat)
          Decodes a String native for use as a Java MIME type.
static String SystemFlavorMap.encodeDataFlavor(DataFlavor flav)
          Encodes a DataFlavor for use as a String native.
static String SystemFlavorMap.encodeJavaMIMEType(String mimeType)
          Encodes a MIME type for use as a String native.
 String DataFlavor.getDefaultRepresentationClassAsString()
           
 String DataFlavor.getHumanPresentableName()
          Returns the human presentable name for the data format that this DataFlavor represents.
 String DataFlavor.getMimeType()
          Returns the MIME type string for this DataFlavor.
 String Clipboard.getName()
          Returns the name of this clipboard object.
 String DataFlavor.getParameter(String paramName)
          Returns the human presentable name for this DataFlavor if paramName equals "humanPresentableName".
 String DataFlavor.getPrimaryType()
          Returns the primary MIME type for this DataFlavor.
 String DataFlavor.getSubType()
          Returns the sub MIME type of this DataFlavor.
protected  String DataFlavor.normalizeMimeType(String mimeType)
          Deprecated.  
protected  String DataFlavor.normalizeMimeTypeParameter(String parameterName, String parameterValue)
          Deprecated.  
 String DataFlavor.toString()
          String representation of this DataFlavor and its parameters.
 

Methods in java.awt.datatransfer that return types with arguments of type String
 Map<String,DataFlavor> SystemFlavorMap.getFlavorsForNatives(String[] natives)
          Returns a Map of the specified String natives to their most preferred DataFlavor.
 Map<String,DataFlavor> FlavorMap.getFlavorsForNatives(String[] natives)
          Returns a Map of the specified String natives to their corresponding DataFlavor.
 List<String> SystemFlavorMap.getNativesForFlavor(DataFlavor flav)
          Returns a List of String natives to which the specified DataFlavor can be translated by the data transfer subsystem.
 List<String> FlavorTable.getNativesForFlavor(DataFlavor flav)
          Returns a List of String natives to which the specified DataFlavor corresponds.
 Map<DataFlavor,String> SystemFlavorMap.getNativesForFlavors(DataFlavor[] flavors)
          Returns a Map of the specified DataFlavors to their most preferred String native.
 Map<DataFlavor,String> FlavorMap.getNativesForFlavors(DataFlavor[] flavors)
          Returns a Map of the specified DataFlavors to their corresponding String native.
 

Methods in java.awt.datatransfer with parameters of type String
 void SystemFlavorMap.addFlavorForUnencodedNative(String nat, DataFlavor flav)
          Adds a mapping from a single String native to a single DataFlavor.
 void SystemFlavorMap.addUnencodedNativeForFlavor(DataFlavor flav, String nat)
          Adds a mapping from the specified DataFlavor (and all DataFlavors equal to the specified DataFlavor) to the specified String native.
static DataFlavor SystemFlavorMap.decodeDataFlavor(String nat)
          Decodes a String native for use as a DataFlavor.
static String SystemFlavorMap.decodeJavaMIMEType(String nat)
          Decodes a String native for use as a Java MIME type.
static String SystemFlavorMap.encodeJavaMIMEType(String mimeType)
          Encodes a MIME type for use as a String native.
 boolean DataFlavor.equals(String s)
          Deprecated. As inconsistent with hashCode() contract, use isMimeTypeEqual(String) instead.
 List<DataFlavor> SystemFlavorMap.getFlavorsForNative(String nat)
          Returns a List of DataFlavors to which the specified String native can be translated by the data transfer subsystem.
 List<DataFlavor> FlavorTable.getFlavorsForNative(String nat)
          Returns a List of DataFlavors to which the specified String corresponds.
 Map<String,DataFlavor> SystemFlavorMap.getFlavorsForNatives(String[] natives)
          Returns a Map of the specified String natives to their most preferred DataFlavor.
 Map<String,DataFlavor> FlavorMap.getFlavorsForNatives(String[] natives)
          Returns a Map of the specified String natives to their corresponding DataFlavor.
 String DataFlavor.getParameter(String paramName)
          Returns the human presentable name for this DataFlavor if paramName equals "humanPresentableName".
static boolean SystemFlavorMap.isJavaMIMEType(String str)
          Returns whether the specified String is an encoded Java MIME type.
 boolean DataFlavor.isMimeTypeEqual(String mimeType)
          Returns whether the string representation of the MIME type passed in is equivalent to the MIME type of this DataFlavor.
protected  String DataFlavor.normalizeMimeType(String mimeType)
          Deprecated.  
protected  String DataFlavor.normalizeMimeTypeParameter(String parameterName, String parameterValue)
          Deprecated.  
 void SystemFlavorMap.setFlavorsForNative(String nat, DataFlavor[] flavors)
          Discards the current mappings for the specified String native, and creates new mappings to the specified DataFlavors.
 void DataFlavor.setHumanPresentableName(String humanPresentableName)
          Sets the human presentable name for the data format that this DataFlavor represents.
 void SystemFlavorMap.setNativesForFlavor(DataFlavor flav, String[] natives)
          Discards the current mappings for the specified DataFlavor and all DataFlavors equal to the specified DataFlavor, and creates new mappings to the specified String natives.
protected static Class<?> DataFlavor.tryToLoadClass(String className, ClassLoader fallback)
          Tries to load a class from: the bootstrap loader, the system loader, the context loader (if one is present) and finally the loader specified.
 

Constructors in java.awt.datatransfer with parameters of type String
Clipboard(String name)
          Creates a clipboard object.
DataFlavor(Class<?> representationClass, String humanPresentableName)
          Constructs a DataFlavor that represents a Java class.
DataFlavor(String mimeType)
          Constructs a DataFlavor from a mimeType string.
DataFlavor(String mimeType, String humanPresentableName)
          Constructs a DataFlavor that represents a MimeType.
DataFlavor(String mimeType, String humanPresentableName, ClassLoader classLoader)
          Constructs a DataFlavor that represents a MimeType.
MimeTypeParseException(String s)
          Constructs a MimeTypeParseException with the specified detail message.
StringSelection(String data)
          Creates a Transferable capable of transferring the specified String.
 

Uses of String in java.awt.dnd
 

Constructors in java.awt.dnd with parameters of type String
InvalidDnDOperationException(String msg)
          Create an Exception with its own descriptive message
 

Uses of String in java.awt.event
 

Methods in java.awt.event that return String
 String ActionEvent.getActionCommand()
          Returns the command string associated with this action.
static String KeyEvent.getKeyModifiersText(int modifiers)
          Returns a String describing the modifier key(s), such as "Shift", or "Ctrl+Shift".
static String KeyEvent.getKeyText(int keyCode)
          Returns a String describing the keyCode, such as "HOME", "F1" or "A".
static String InputEvent.getModifiersExText(int modifiers)
          Returns a String describing the extended modifier keys and mouse buttons, such as "Shift", "Button1", or "Ctrl+Shift".
static String MouseEvent.getMouseModifiersText(int modifiers)
          Returns a String describing the modifier keys and mouse buttons that were down during the event, such as "Shift", or "Ctrl+Shift".
 String MouseEvent.paramString()
          Returns a parameter string identifying this event.
 String MouseWheelEvent.paramString()
          Returns a parameter string identifying this event.
 String KeyEvent.paramString()
          Returns a parameter string identifying this event.
 String InvocationEvent.paramString()
          Returns a parameter string identifying this event.
 String WindowEvent.paramString()
          Returns a parameter string identifying this event.
 String ContainerEvent.paramString()
          Returns a parameter string identifying this event.
 String AdjustmentEvent.paramString()
           
 String ItemEvent.paramString()
          Returns a parameter string identifying this item event.
 String TextEvent.paramString()
          Returns a parameter string identifying this text event.
 String ActionEvent.paramString()
          Returns a parameter string identifying this action event.
 String HierarchyEvent.paramString()
          Returns a parameter string identifying this event.
 String InputMethodEvent.paramString()
          Returns a parameter string identifying this event.
 String FocusEvent.paramString()
          Returns a parameter string identifying this event.
 String PaintEvent.paramString()
           
 String ComponentEvent.paramString()
          Returns a parameter string identifying this event.
 

Constructors in java.awt.event with parameters of type String
ActionEvent(Object source, int id, String command)
          Constructs an ActionEvent object.
ActionEvent(Object source, int id, String command, int modifiers)
          Constructs an ActionEvent object with modifier keys.
ActionEvent(Object source, int id, String command, long when, int modifiers)
          Constructs an ActionEvent object with the specified modifier keys and timestamp.
 

Uses of String in java.awt.font
 

Methods in java.awt.font that return String
 String[] MultipleMaster.getDesignAxisNames()
          Returns the name for each design axis.
 String TextLayout.toString()
          Returns debugging information for this TextLayout.
 String TextHitInfo.toString()
          Returns a String representing the hit for debugging use only.
 String NumericShaper.toString()
          Returns a String that describes this shaper.
 

Methods in java.awt.font with parameters of type String
 byte[] OpenType.getFontTable(String strSfntTag)
          Returns the table as an array of bytes for a specified tag.
 byte[] OpenType.getFontTable(String strSfntTag, int offset, int count)
          Returns a subset of the table as an array of bytes for a specified tag.
 int OpenType.getFontTableSize(String strSfntTag)
          Returns the size of the table for a specified tag.
 

Constructors in java.awt.font with parameters of type String
TextAttribute(String name)
          Constructs a TextAttribute with the specified name.
TextLayout(String string, Font font, FontRenderContext frc)
          Constructs a TextLayout from a String and a Font.
TextLayout(String string, Map<? extends AttributedCharacterIterator.Attribute,?> attributes, FontRenderContext frc)
          Constructs a TextLayout from a String and an attribute set.
 

Uses of String in java.awt.geom
 

Methods in java.awt.geom that return String
 String Rectangle2D.Float.toString()
          Returns the String representation of this Rectangle2D.
 String Rectangle2D.Double.toString()
          Returns the String representation of this Rectangle2D.
 String AffineTransform.toString()
          Returns a String that represents the value of this Object.
 String Point2D.Float.toString()
          Returns a String that represents the value of this Point2D.
 String Point2D.Double.toString()
          Returns a String that represents the value of this Point2D.
 

Constructors in java.awt.geom with parameters of type String
IllegalPathStateException(String s)
          Constructs an IllegalPathStateException with the specified detail message.
NoninvertibleTransformException(String s)
          Constructs an instance of NoninvertibleTransformException with the specified detail message.
 

Uses of String in java.awt.im.spi
 

Methods in java.awt.im.spi that return String
 String InputMethodDescriptor.getInputMethodDisplayName(Locale inputLocale, Locale displayLanguage)
          Returns the user-visible name of the corresponding input method for the given input locale in the language in which the name will be displayed.
 

Methods in java.awt.im.spi with parameters of type String
 JFrame InputMethodContext.createInputMethodJFrame(String title, boolean attachToInputContext)
          Creates a top-level Swing JFrame for use by the input method.
 Window InputMethodContext.createInputMethodWindow(String title, boolean attachToInputContext)
          Creates a top-level window for use by the input method.
 

Uses of String in java.awt.image
 

Methods in java.awt.image that return String
 String[] BufferedImage.getPropertyNames()
          Returns an array of names recognized by getProperty(String) or null, if no property names are recognized.
 String[] RenderedImage.getPropertyNames()
          Returns an array of names recognized by getProperty(String) or null, if no property names are recognized.
 String DirectColorModel.toString()
          Returns a String that represents this DirectColorModel.
 String BufferedImage.toString()
          Returns a String representation of this BufferedImage object and its values.
 String IndexColorModel.toString()
          Returns the String representation of the contents of this ColorModelobject.
 String ColorModel.toString()
          Returns the String representation of the contents of this ColorModelobject.
 

Methods in java.awt.image with parameters of type String
 Object BufferedImage.getProperty(String name)
          Returns a property of the image by name.
 Object RenderedImage.getProperty(String name)
          Gets a property from the property set of this image.
 Object BufferedImage.getProperty(String name, ImageObserver observer)
          Returns a property of the image by name.
 

Constructors in java.awt.image with parameters of type String
ImagingOpException(String s)
          Constructs an ImagingOpException object with the specified message.
RasterFormatException(String s)
          Constructs a new RasterFormatException with the specified message.
 

Uses of String in java.awt.image.renderable
 

Fields in java.awt.image.renderable declared as String
static String RenderableImage.HINTS_OBSERVED
          String constant that can be used to identify a property on a RenderedImage obtained via the createRendering or createScaledRendering methods.
 

Methods in java.awt.image.renderable that return String
 String[] RenderableImageOp.getPropertyNames()
          Return a list of names recognized by getProperty.
 String[] ContextualRenderedImageFactory.getPropertyNames()
          Returns a list of names recognized by getProperty.
 String[] RenderableImage.getPropertyNames()
          Returns a list of names recognized by getProperty.
 

Methods in java.awt.image.renderable with parameters of type String
 Object ContextualRenderedImageFactory.getProperty(ParameterBlock paramBlock, String name)
          Gets the appropriate instance of the property specified by the name parameter.
 Object RenderableImageOp.getProperty(String name)
          Gets a property from the property set of this image.
 Object RenderableImage.getProperty(String name)
          Gets a property from the property set of this image.
 

Uses of String in java.awt.print
 

Methods in java.awt.print that return String
abstract  String PrinterJob.getJobName()
          Gets the name of the document to be printed.
abstract  String PrinterJob.getUserName()
          Gets the name of the printing user.
 

Methods in java.awt.print with parameters of type String
static StreamPrintServiceFactory[] PrinterJob.lookupStreamPrintServices(String mimeType)
          A convenience method which locates factories for stream print services which can image 2D graphics.
abstract  void PrinterJob.setJobName(String jobName)
          Sets the name of the document to be printed.
 

Constructors in java.awt.print with parameters of type String
PrinterAbortException(String msg)
          Constructs a new PrinterAbortException with the specified detail message.
PrinterException(String msg)
          Constructs a new PrinterException object with the specified detail message.
 

Uses of String in java.beans
 

Fields in java.beans declared as String
static String DesignMode.PROPERTYNAME
          The standard value of the propertyName as fired from a BeanContext or other source of PropertyChangeEvents.
 

Methods in java.beans that return String
static String Introspector.decapitalize(String name)
          Utility method to take a string and convert it to normal Java variable name capitalization.
 String EventHandler.getAction()
          Returns the name of the target's writable property that this event handler will set, or the name of the method that this event handler will invoke on the target.
 String PropertyEditorSupport.getAsText()
          Gets the property value as a string suitable for presentation to a human to edit.
 String PropertyEditor.getAsText()
          Gets the property value as text.
static String[] Introspector.getBeanInfoSearchPath()
          Gets the list of package names that will be used for finding BeanInfo classes.
 String FeatureDescriptor.getDisplayName()
          Gets the localized display name of this feature.
static String[] PropertyEditorManager.getEditorSearchPath()
          Gets the package names that will be searched for property editors.
 String EventHandler.getEventPropertyName()
          Returns the property of the event that should be used in the action applied to the target.
 String PropertyEditorSupport.getJavaInitializationString()
          This method is intended for use when generating Java code to set the value of the property.
 String PropertyEditor.getJavaInitializationString()
          Returns a fragment of Java code that can be used to set a property to match the editors current state.
 String EventHandler.getListenerMethodName()
          Returns the name of the method that will trigger the action.
 String Statement.getMethodName()
          Returns the name of the method.
 String FeatureDescriptor.getName()
          Gets the programmatic name of this feature.
 String VetoableChangeListenerProxy.getPropertyName()
          Returns the name of the named property associated with the listener.
 String PropertyChangeListenerProxy.getPropertyName()
          Returns the name of the named property associated with the listener.
 String PropertyChangeEvent.getPropertyName()
          Gets the programmatic name of the property that was changed.
 String FeatureDescriptor.getShortDescription()
          Gets the short description of this feature.
 String[] PropertyEditorSupport.getTags()
          If the property value must be one of a set of known tagged values, then this method should return an array of the tag values.
 String[] PropertyEditor.getTags()
          If the property value must be one of a set of known tagged values, then this method should return an array of the tags.
 String Expression.toString()
          Prints the value of this expression using a Java-style syntax.
 String Statement.toString()
          Prints the value of this statement using a Java-style syntax.
 

Methods in java.beans that return types with arguments of type String
 Enumeration<String> FeatureDescriptor.attributeNames()
          Gets an enumeration of the locale-independent names of this feature.
 

Methods in java.beans with parameters of type String
 void PropertyChangeSupport.addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
          Add a PropertyChangeListener for a specific property.
 void VetoableChangeSupport.addVetoableChangeListener(String propertyName, VetoableChangeListener listener)
          Add a VetoableChangeListener for a specific property.
static
<T> T
EventHandler.create(Class<T> listenerInterface, Object target, String action)
          Creates an implementation of listenerInterface in which all of the methods in the listener interface apply the handler's action to the target.
static
<T> T
EventHandler.create(Class<T> listenerInterface, Object target, String action, String eventPropertyName)
          /** Creates an implementation of listenerInterface in which all of the methods pass the value of the event expression, eventPropertyName, to the final method in the statement, action, which is applied to the target.
static
<T> T
EventHandler.create(Class<T> listenerInterface, Object target, String action, String eventPropertyName, String listenerMethodName)
          Creates an implementation of listenerInterface in which the method named listenerMethodName passes the value of the event expression, eventPropertyName, to the final method in the statement, action, which is applied to the target.
static String Introspector.decapitalize(String name)
          Utility method to take a string and convert it to normal Java variable name capitalization.
 void PropertyChangeSupport.fireIndexedPropertyChange(String propertyName, int index, boolean oldValue, boolean newValue)
          Report a boolean bound indexed property update to any registered listeners.
 void PropertyChangeSupport.fireIndexedPropertyChange(String propertyName, int index, int oldValue, int newValue)
          Report an int bound indexed property update to any registered listeners.
 void PropertyChangeSupport.fireIndexedPropertyChange(String propertyName, int index, Object oldValue, Object newValue)
          Report a bound indexed property update to any registered listeners.
 void PropertyChangeSupport.firePropertyChange(String propertyName, boolean oldValue, boolean newValue)
          Report a boolean bound property update to any registered listeners.
 void PropertyChangeSupport.firePropertyChange(String propertyName, int oldValue, int newValue)
          Report an int bound property update to any registered listeners.
 void PropertyChangeSupport.firePropertyChange(String propertyName, Object oldValue, Object newValue)
          Report a bound property update to any registered listeners.
 void VetoableChangeSupport.fireVetoableChange(String propertyName, boolean oldValue, boolean newValue)
          Report a boolean vetoable property update to any registered listeners.
 void VetoableChangeSupport.fireVetoableChange(String propertyName, int oldValue, int newValue)
          Report a int vetoable property update to any registered listeners.
 void VetoableChangeSupport.fireVetoableChange(String propertyName, Object oldValue, Object newValue)
          Report a vetoable property update to any registered listeners.
 PropertyChangeListener[] PropertyChangeSupport.getPropertyChangeListeners(String propertyName)
          Returns an array of all the listeners which have been associated with the named property.
 Object FeatureDescriptor.getValue(String attributeName)
          Retrieve a named attribute with this feature.
 VetoableChangeListener[] VetoableChangeSupport.getVetoableChangeListeners(String propertyName)
          Returns an array of all the listeners which have been associated with the named property.
 boolean VetoableChangeSupport.hasListeners(String propertyName)
          Check if there are any listeners for a specific property, including those registered on all properties.
 boolean PropertyChangeSupport.hasListeners(String propertyName)
          Check if there are any listeners for a specific property, including those registered on all properties.
static Object Beans.instantiate(ClassLoader cls, String beanName)
           Instantiate a JavaBean.
static Object Beans.instantiate(ClassLoader cls, String beanName, BeanContext beanContext)
           Instantiate a JavaBean.
static Object Beans.instantiate(ClassLoader cls, String beanName, BeanContext beanContext, AppletInitializer initializer)
          Instantiate a bean.
 Image SimpleBeanInfo.loadImage(String resourceName)
          This is a utility method to help in loading icon images.
 void PropertyChangeSupport.removePropertyChangeListener(String propertyName, PropertyChangeListener listener)
          Remove a PropertyChangeListener for a specific property.
 void VetoableChangeSupport.removeVetoableChangeListener(String propertyName, VetoableChangeListener listener)
          Remove a VetoableChangeListener for a specific property.
 void PropertyEditorSupport.setAsText(String text)
          Sets the property value by parsing a given String.
 void PropertyEditor.setAsText(String text)
          Set the property value by parsing a given String.
static void Introspector.setBeanInfoSearchPath(String[] path)
          Change the list of package names that will be used for finding BeanInfo classes.
 void FeatureDescriptor.setDisplayName(String displayName)
          Sets the localized display name of this feature.
static void PropertyEditorManager.setEditorSearchPath(String[] path)
          Change the list of package names that will be used for finding property editors.
 void FeatureDescriptor.setName(String name)
          Sets the programmatic name of this feature.
 void FeatureDescriptor.setShortDescription(String text)
          You can associate a short descriptive string with a feature.
 void FeatureDescriptor.setValue(String attributeName, Object value)
          Associate a named attribute with this feature.
 

Constructors in java.beans with parameters of type String
DefaultPersistenceDelegate(String[] constructorPropertyNames)
          Creates a default persistence delegate for a class with a constructor whose arguments are the values of the property names as specified by constructorPropertyNames.
EventHandler(Object target, String action, String eventPropertyName, String listenerMethodName)
          Creates a new EventHandler object; you generally use one of the create methods instead of invoking this constructor directly.
EventSetDescriptor(Class<?> sourceClass, String eventSetName, Class<?> listenerType, String listenerMethodName)
          Creates an EventSetDescriptor assuming that you are following the most simple standard design pattern where a named event "fred" is (1) delivered as a call on the single method of interface FredListener, (2) has a single argument of type FredEvent, and (3) where the FredListener may be registered with a call on an addFredListener method of the source component and removed with a call on a removeFredListener method.
EventSetDescriptor(Class<?> sourceClass, String eventSetName, Class<?> listenerType, String[] listenerMethodNames, String addListenerMethodName, String removeListenerMethodName)
          Creates an EventSetDescriptor from scratch using string names.
EventSetDescriptor(Class<?> sourceClass, String eventSetName, Class<?> listenerType, String[] listenerMethodNames, String addListenerMethodName, String removeListenerMethodName)
          Creates an EventSetDescriptor from scratch using string names.
EventSetDescriptor(Class<?> sourceClass, String eventSetName, Class<?> listenerType, String[] listenerMethodNames, String addListenerMethodName, String removeListenerMethodName, String getListenerMethodName)
          This constructor creates an EventSetDescriptor from scratch using string names.
EventSetDescriptor(Class<?> sourceClass, String eventSetName, Class<?> listenerType, String[] listenerMethodNames, String addListenerMethodName, String removeListenerMethodName, String getListenerMethodName)
          This constructor creates an EventSetDescriptor from scratch using string names.
EventSetDescriptor(String eventSetName, Class<?> listenerType, Method[] listenerMethods, Method addListenerMethod, Method removeListenerMethod)
          Creates an EventSetDescriptor from scratch using java.lang.reflect.Method and java.lang.Class objects.
EventSetDescriptor(String eventSetName, Class<?> listenerType, Method[] listenerMethods, Method addListenerMethod, Method removeListenerMethod, Method getListenerMethod)
          This constructor creates an EventSetDescriptor from scratch using java.lang.reflect.Method and java.lang.Class objects.
EventSetDescriptor(String eventSetName, Class<?> listenerType, MethodDescriptor[] listenerMethodDescriptors, Method addListenerMethod, Method removeListenerMethod)
          Creates an EventSetDescriptor from scratch using java.lang.reflect.MethodDescriptor and java.lang.Class objects.
Expression(Object value, Object target, String methodName, Object[] arguments)
          Creates a new Expression object for a method that returns a result.
Expression(Object target, String methodName, Object[] arguments)
          Creates a new Statement object with a target, methodName and arguments as per the parameters.
IndexedPropertyChangeEvent(Object source, String propertyName, Object oldValue, Object newValue, int index)
          Constructs a new IndexedPropertyChangeEvent object.
IndexedPropertyDescriptor(String propertyName, Class<?> beanClass)
          This constructor constructs an IndexedPropertyDescriptor for a property that follows the standard Java conventions by having getFoo and setFoo accessor methods, for both indexed access and array access.
IndexedPropertyDescriptor(String propertyName, Class<?> beanClass, String readMethodName, String writeMethodName, String indexedReadMethodName, String indexedWriteMethodName)
          This constructor takes the name of a simple property, and method names for reading and writing the property, both indexed and non-indexed.
IndexedPropertyDescriptor(String propertyName, Method readMethod, Method writeMethod, Method indexedReadMethod, Method indexedWriteMethod)
          This constructor takes the name of a simple property, and Method objects for reading and writing the property.
IntrospectionException(String mess)
          Constructs an IntrospectionException with a detailed message.
PropertyChangeEvent(Object source, String propertyName, Object oldValue, Object newValue)
          Constructs a new PropertyChangeEvent.
PropertyChangeListenerProxy(String propertyName, PropertyChangeListener listener)
          Constructor which binds the PropertyChangeListener to a specific property.
PropertyDescriptor(String propertyName, Class<?> beanClass)
          Constructs a PropertyDescriptor for a property that follows the standard Java convention by having getFoo and setFoo accessor methods.
PropertyDescriptor(String propertyName, Class<?> beanClass, String readMethodName, String writeMethodName)
          This constructor takes the name of a simple property, and method names for reading and writing the property.
PropertyDescriptor(String propertyName, Method readMethod, Method writeMethod)
          This constructor takes the name of a simple property, and Method objects for reading and writing the property.
PropertyVetoException(String mess, PropertyChangeEvent evt)
          Constructs a PropertyVetoException with a detailed message.
Statement(Object target, String methodName, Object[] arguments)
          Creates a new Statement object with a target, methodName and arguments as per the parameters.
VetoableChangeListenerProxy(String propertyName, VetoableChangeListener listener)
           
 

Uses of String in java.beans.beancontext
 

Methods in java.beans.beancontext with parameters of type String
 void BeanContextChildSupport.addPropertyChangeListener(String name, PropertyChangeListener pcl)
          Add a PropertyChangeListener for a specific property.
 void BeanContextChild.addPropertyChangeListener(String name, PropertyChangeListener pcl)
          Adds a PropertyChangeListener to this BeanContextChild in order to receive a PropertyChangeEvent whenever the specified property has changed.
 void BeanContextChildSupport.addVetoableChangeListener(String name, VetoableChangeListener vcl)
          Add a VetoableChangeListener for a specific property.
 void BeanContextChild.addVetoableChangeListener(String name, VetoableChangeListener vcl)
          Adds a VetoableChangeListener to this BeanContextChild to receive events whenever the specified property changes.
 void BeanContextChildSupport.firePropertyChange(String name, Object oldValue, Object newValue)
          Report a bound property update to any registered listeners.
 void BeanContextChildSupport.fireVetoableChange(String name, Object oldValue, Object newValue)
          Report a vetoable property update to any registered listeners.
 URL BeanContextSupport.getResource(String name, BeanContextChild bcc)
           
 URL BeanContext.getResource(String name, BeanContextChild bcc)
          Analagous to java.lang.ClassLoader.getResource(), this method allows a BeanContext implementation to interpose behavior between the child Component and underlying ClassLoader.
 InputStream BeanContextSupport.getResourceAsStream(String name, BeanContextChild bcc)
           
 InputStream BeanContext.getResourceAsStream(String name, BeanContextChild bcc)
          Analagous to java.lang.ClassLoader.getResourceAsStream(), this method allows a BeanContext implementation to interpose behavior between the child Component and underlying ClassLoader.
 Object BeanContextSupport.instantiateChild(String beanName)
           The instantiateChild method is a convenience hook in BeanContext to simplify the task of instantiating a Bean, nested, into a BeanContext.
 Object BeanContext.instantiateChild(String beanName)
          Instantiate the javaBean named as a child of this BeanContext.
 void BeanContextChildSupport.removePropertyChangeListener(String name, PropertyChangeListener pcl)
          Remove a PropertyChangeListener for a specific property.
 void BeanContextChild.removePropertyChangeListener(String name, PropertyChangeListener pcl)
          Removes a PropertyChangeListener from this BeanContextChild so that it no longer receives PropertyChangeEvents when the specified property is changed.
 void BeanContextChildSupport.removeVetoableChangeListener(String name, VetoableChangeListener vcl)
          Removes a VetoableChangeListener.
 void BeanContextChild.removeVetoableChangeListener(String name, VetoableChangeListener vcl)
          Removes a VetoableChangeListener from this BeanContextChild so that it no longer receives events when the specified property changes.
 

Uses of String in java.io
 

Fields in java.io declared as String
protected  String StringBufferInputStream.buffer
          Deprecated. The string from which bytes are read.
 String InvalidClassException.classname
          Name of the invalid class.
static String File.pathSeparator
          The system-dependent path-separator character, represented as a string for convenience.
static String File.separator
          The system-dependent default name-separator character, represented as a string for convenience.
 String StreamTokenizer.sval
          If the current token is a word token, this field contains a string giving the characters of the word token.
 

Methods in java.io that return String
 String File.getAbsolutePath()
          Returns the absolute pathname string of this abstract pathname.
 String FilePermission.getActions()
          Returns the "canonical string representation" of the actions.
 String File.getCanonicalPath()
          Returns the canonical pathname string of this abstract pathname.
 String InputStreamReader.getEncoding()
          Returns the name of the character encoding being used by this stream.
 String OutputStreamWriter.getEncoding()
          Returns the name of the character encoding being used by this stream.
 String WriteAbortedException.getMessage()
          Produce the message and include the message from the nested exception, if there is one.
 String InvalidClassException.getMessage()
          Produce the message and include the classname, if present.
 String File.getName()
          Returns the name of the file or directory denoted by this abstract pathname.
 String ObjectStreamClass.getName()
          Returns the name of the class described by this descriptor.
 String ObjectStreamField.getName()
          Get the name of this field.
 String File.getParent()
          Returns the pathname string of this abstract pathname's parent, or null if this pathname does not name a parent directory.
 String File.getPath()
          Converts this abstract pathname into a pathname string.
 String ObjectStreamField.getTypeString()
          Return the JVM type signature.
 String[] File.list()
          Returns an array of strings naming the files and directories in the directory denoted by this abstract pathname.
 String[] File.list(FilenameFilter filter)
          Returns an array of strings naming the files and directories in the directory denoted by this abstract pathname that satisfy the specified filter.
 String LineNumberReader.readLine()
          Read a line of text.
 String RandomAccessFile.readLine()
          Reads the next line of text from this file.
 String BufferedReader.readLine()
          Reads a line of text.
 String Console.readLine()
          Reads a single line of text from the console.
 String DataInputStream.readLine()
          Deprecated. This method does not properly convert bytes to characters. As of JDK 1.1, the preferred way to read lines of text is via the BufferedReader.readLine() method. Programs that use the DataInputStream class to read lines can be converted to use the BufferedReader class by replacing code of the form:
     DataInputStream d = new DataInputStream(in);
 
with:
     BufferedReader d
          = new BufferedReader(new InputStreamReader(in));
 
 String DataInput.readLine()
          Reads the next line of text from the input stream.
 String ObjectInputStream.readLine()
          Deprecated. This method does not properly convert bytes to characters. see DataInputStream for the details and alternatives.
 String Console.readLine(String fmt, Object... args)
          Provides a formatted prompt, then reads a single line of text from the console.
 String RandomAccessFile.readUTF()
          Reads in a string from this file.
 String DataInputStream.readUTF()
          See the general contract of the readUTF method of DataInput.
 String DataInput.readUTF()
          Reads in a string that has been encoded using a modified UTF-8 format.
 String ObjectInputStream.readUTF()
          Reads a String in modified UTF-8 format.
static String DataInputStream.readUTF(DataInput in)
          Reads from the stream in a representation of a Unicode character string encoded in modified UTF-8 format; this string of characters is then returned as a String.
 String StringWriter.toString()
          Return the buffer's current value as a string.
 String CharArrayWriter.toString()
          Converts input data to a string.
 String StreamTokenizer.toString()
          Returns the string representation of the current stream token and the line number it occurs on.
 String ByteArrayOutputStream.toString()
          Converts the buffer's contents into a string decoding bytes using the platform's default character set.
 String File.toString()
          Returns the pathname string of this abstract pathname.
 String ObjectStreamClass.toString()
          Return a string describing this ObjectStreamClass.
 String ObjectStreamField.toString()
          Return a string that describes this field.
 String ByteArrayOutputStream.toString(int hibyte)
          Deprecated. This method does not properly convert bytes into characters. As of JDK 1.1, the preferred way to do this is via the toString(String enc) method, which takes an encoding-name argument, or the toString() method, which uses the platform's default character encoding.
 String ByteArrayOutputStream.toString(String charsetName)
          Converts the buffer's contents into a string by decoding the bytes using the specified charsetName.
 

Methods in java.io with parameters of type String
 boolean FilenameFilter.accept(File dir, String name)
          Tests if a specified file should be included in a file list.
static File File.createTempFile(String prefix, String suffix)
          Creates an empty file in the default temporary-file directory, using the given prefix and suffix to generate its name.
static File File.createTempFile(String prefix, String suffix, File directory)
           Creates a new empty file in the specified directory, using the given prefix and suffix strings to generate its name.
abstract  boolean ObjectInputStream.GetField.defaulted(String name)
          Return true if the named field is defaulted and has no value in this stream.
 PrintWriter PrintWriter.format(Locale l, String format, Object... args)
          Writes a formatted string to this writer using the specified format string and arguments.
 PrintStream PrintStream.format(Locale l, String format, Object... args)
          Writes a formatted string to this output stream using the specified format string and arguments.
 Console Console.format(String fmt, Object... args)
          Writes a formatted string to this console's output stream using the specified format string and arguments.
 PrintWriter PrintWriter.format(String format, Object... args)
          Writes a formatted string to this writer using the specified format string and arguments.
 PrintStream PrintStream.format(String format, Object... args)
          Writes a formatted string to this output stream using the specified format string and arguments.
abstract  boolean ObjectInputStream.GetField.get(String name, boolean val)
          Get the value of the named boolean field from the persistent field.
abstract  byte ObjectInputStream.GetField.get(String name, byte val)
          Get the value of the named byte field from the persistent field.
abstract  char ObjectInputStream.GetField.get(String name, char val)
          Get the value of the named char field from the persistent field.
abstract  double ObjectInputStream.GetField.get(String name, double val)
          Get the value of the named double field from the persistent field.
abstract  float ObjectInputStream.GetField.get(String name, float val)
          Get the value of the named float field from the persistent field.
abstract  int ObjectInputStream.GetField.get(String name, int val)
          Get the value of the named int field from the persistent field.
abstract  long ObjectInputStream.GetField.get(String name, long val)
          Get the value of the named long field from the persistent field.
abstract  Object ObjectInputStream.GetField.get(String name, Object val)
          Get the value of the named Object field from the persistent field.
abstract  short ObjectInputStream.GetField.get(String name, short val)
          Get the value of the named short field from the persistent field.
 ObjectStreamField ObjectStreamClass.getField(String name)
          Get the field of this class by name.
 void PrintWriter.print(String s)
          Prints a string.
 void PrintStream.print(String s)
          Prints a string.
 PrintWriter PrintWriter.printf(Locale l, String format, Object... args)
          A convenience method to write a formatted string to this writer using the specified format string and arguments.
 PrintStream PrintStream.printf(Locale l, String format, Object... args)
          A convenience method to write a formatted string to this output stream using the specified format string and arguments.
 Console Console.printf(String format, Object... args)
          A convenience method to write a formatted string to this console's output stream using the specified format string and arguments.
 PrintWriter PrintWriter.printf(String format, Object... args)
          A convenience method to write a formatted string to this writer using the specified format string and arguments.
 PrintStream PrintStream.printf(String format, Object... args)
          A convenience method to write a formatted string to this output stream using the specified format string and arguments.
 void PrintWriter.println(String x)
          Prints a String and then terminates the line.
 void PrintStream.println(String x)
          Prints a String and then terminate the line.
abstract  void ObjectOutputStream.PutField.put(String name, boolean val)
          Put the value of the named boolean field into the persistent field.
abstract  void ObjectOutputStream.PutField.put(String name, byte val)
          Put the value of the named byte field into the persistent field.
abstract  void ObjectOutputStream.PutField.put(String name, char val)
          Put the value of the named char field into the persistent field.
abstract  void ObjectOutputStream.PutField.put(String name, double val)
          Put the value of the named double field into the persistent field.
abstract  void ObjectOutputStream.PutField.put(String name, float val)
          Put the value of the named float field into the persistent field.
abstract  void ObjectOutputStream.PutField.put(String name, int val)
          Put the value of the named int field into the persistent field.
abstract  void ObjectOutputStream.PutField.put(String name, long val)
          Put the value of the named long field into the persistent field.
abstract  void ObjectOutputStream.PutField.put(String name, Object val)
          Put the value of the named Object field into the persistent field.
abstract  void ObjectOutputStream.PutField.put(String name, short val)
          Put the value of the named short field into the persistent field.
 String Console.readLine(String fmt, Object... args)
          Provides a formatted prompt, then reads a single line of text from the console.
 char[] Console.readPassword(String fmt, Object... args)
          Provides a formatted prompt, then reads a password or passphrase from the console with echoing disabled.
protected  Class<?> ObjectInputStream.resolveProxyClass(String[] interfaces)
          Returns a proxy class that implements the interfaces named in a proxy class descriptor; subclasses may implement this method to read custom data from the stream along with the descriptors for dynamic proxy classes, allowing them to use an alternate loading mechanism for the interfaces and the proxy class.
 String ByteArrayOutputStream.toString(String charsetName)
          Converts the buffer's contents into a string by decoding the bytes using the specified charsetName.
 void StringWriter.write(String str)
          Write a string.
 void Writer.write(String str)
          Writes a string.
 void PrintWriter.write(String s)
          Writes a string.
 void StringWriter.write(String str, int off, int len)
          Write a portion of a string.
 void FilterWriter.write(String str, int off, int len)
          Writes a portion of a string.
 void CharArrayWriter.write(String str, int off, int len)
          Write a portion of a string to the buffer.
 void OutputStreamWriter.write(String str, int off, int len)
          Writes a portion of a string.
 void BufferedWriter.write(String s, int off, int len)
          Writes a portion of a String.
 void Writer.write(String str, int off, int len)
          Writes a portion of a string.
 void PrintWriter.write(String s, int off, int len)
          Writes a portion of a string.
 void RandomAccessFile.writeBytes(String s)
          Writes the string to the file as a sequence of bytes.
 void DataOutputStream.writeBytes(String s)
          Writes out the string to the underlying output stream as a sequence of bytes.
 void DataOutput.writeBytes(String s)
          Writes a string to the output stream.
 void ObjectOutputStream.writeBytes(String str)
          Writes a String as a sequence of bytes.
 void RandomAccessFile.writeChars(String s)
          Writes a string to the file as a sequence of characters.
 void DataOutputStream.writeChars(String s)
          Writes a string to the underlying output stream as a sequence of characters.
 void DataOutput.writeChars(String s)
          Writes every character in the string s, to the output stream, in order, two bytes per character.
 void ObjectOutputStream.writeChars(String str)
          Writes a String as a sequence of chars.
 void RandomAccessFile.writeUTF(String str)
          Writes a string to the file using modified UTF-8 encoding in a machine-independent manner.
 void DataOutputStream.writeUTF(String str)
          Writes a string to the underlying output stream using modified UTF-8 encoding in a machine-independent manner.
 void DataOutput.writeUTF(String s)
          Writes two bytes of length information to the output stream, followed by the modified UTF-8 representation of every character in the string s.
 void ObjectOutputStream.writeUTF(String str)
          Primitive data write of this String in modified UTF-8 format.
 

Constructors in java.io with parameters of type String
CharConversionException(String s)
          This provides a detailed message.
EOFException(String s)
          Constructs an EOFException with the specified detail message.
File(File parent, String child)
          Creates a new File instance from a parent abstract pathname and a child pathname string.
File(String pathname)
          Creates a new File instance by converting the given pathname string into an abstract pathname.
File(String parent, String child)
          Creates a new File instance from a parent pathname string and a child pathname string.
FileInputStream(String name)
          Creates a FileInputStream by opening a connection to an actual file, the file named by the path name name in the file system.
FileNotFoundException(String s)
          Constructs a FileNotFoundException with the specified detail message.
FileOutputStream(String name)
          Creates an output file stream to write to the file with the specified name.
FileOutputStream(String name, boolean append)
          Creates an output file stream to write to the file with the specified name.
FilePermission(String path, String actions)
          Creates a new FilePermission object with the specified actions.
FileReader(String fileName)
          Creates a new FileReader, given the name of the file to read from.
FileWriter(String fileName)
          Constructs a FileWriter object given a file name.
FileWriter(String fileName, boolean append)
          Constructs a FileWriter object given a file name with a boolean indicating whether or not to append the data written.
InputStreamReader(InputStream in, String charsetName)
          Creates an InputStreamReader that uses the named charset.
InterruptedIOException(String s)
          Constructs an InterruptedIOException with the specified detail message.
InvalidClassException(String reason)
          Report an InvalidClassException for the reason specified.
InvalidClassException(String cname, String reason)
          Constructs an InvalidClassException object.
InvalidObjectException(String reason)
          Constructs an InvalidObjectException.
IOException(String message)
          Constructs an IOException with the specified detail message.
IOException(String message, Throwable cause)
          Constructs an IOException with the specified detail message and cause.
NotActiveException(String reason)
          Constructor to create a new NotActiveException with the reason given.
NotSerializableException(String classname)
          Constructs a NotSerializableException object with message string.
ObjectStreamException(String classname)
          Create an ObjectStreamException with the specified argument.
ObjectStreamField(String name, Class<?> type)
          Create a Serializable field with the specified type.
ObjectStreamField(String name, Class<?> type, boolean unshared)
          Creates an ObjectStreamField representing a serializable field with the given name and type.
OutputStreamWriter(OutputStream out, String charsetName)
          Creates an OutputStreamWriter that uses the named charset.
PrintStream(File file, String csn)
          Creates a new print stream, without automatic line flushing, with the specified file and charset.
PrintStream(OutputStream out, boolean autoFlush, String encoding)
          Creates a new print stream.
PrintStream(String fileName)
          Creates a new print stream, without automatic line flushing, with the specified file name.
PrintStream(String fileName, String csn)
          Creates a new print stream, without automatic line flushing, with the specified file name and charset.
PrintWriter(File file, String csn)
          Creates a new PrintWriter, without automatic line flushing, with the specified file and charset.
PrintWriter(String fileName)
          Creates a new PrintWriter, without automatic line flushing, with the specified file name.
PrintWriter(String fileName, String csn)
          Creates a new PrintWriter, without automatic line flushing, with the specified file name and charset.
RandomAccessFile(File file, String mode)
          Creates a random access file stream to read from, and optionally to write to, the file specified by the File argument.
RandomAccessFile(String name, String mode)
          Creates a random access file stream to read from, and optionally to write to, a file with the specified name.
SerializablePermission(String name)
          Creates a new SerializablePermission with the specified name.
SerializablePermission(String name, String actions)
          Creates a new SerializablePermission object with the specified name.
StreamCorruptedException(String reason)
          Create a StreamCorruptedException and list a reason why thrown.
StringBufferInputStream(String s)
          Deprecated. Creates a string input stream to read data from the specified string.
StringReader(String s)
          Creates a new string reader.
SyncFailedException(String desc)
          Constructs an SyncFailedException with a detail message.
UnsupportedEncodingException(String s)
          Constructs an UnsupportedEncodingException with a detail message.
UTFDataFormatException(String s)
          Constructs a UTFDataFormatException with the specified detail message.
WriteAbortedException(String s, Exception ex)
          Constructs a WriteAbortedException with a string describing the exception and the exception causing the abort.
 

Uses of String in java.lang
 

Fields in java.lang with type parameters of type String
static Comparator<String> String.CASE_INSENSITIVE_ORDER
          A Comparator that orders String objects as by compareToIgnoreCase.
 

Methods in java.lang that return String
static String System.clearProperty(String key)
          Removes the system property indicated by the specified key.
 String String.concat(String str)
          Concatenates the specified string to the end of this string.
 String EnumConstantNotPresentException.constantName()
          Returns the name of the missing enum constant.
static String String.copyValueOf(char[] data)
          Returns a String that represents the character sequence in the array specified.
static String String.copyValueOf(char[] data, int offset, int count)
          Returns a String that represents the character sequence in the array specified.
protected  String ClassLoader.findLibrary(String libname)
          Returns the absolute path name of a native library.
static String String.format(Locale l, String format, Object... args)
          Returns a formatted string using the specified locale, format string, and arguments.
static String String.format(String format, Object... args)
          Returns a formatted string using the specified format string and arguments.
 String Class.getCanonicalName()
          Returns the canonical name of the underlying class as defined by the Java Language Specification.
 String StackTraceElement.getClassName()
          Returns the fully qualified name of the class containing the execution point represented by this stack trace element.
static String System.getenv(String name)
          Gets the value of the specified environment variable.
 String StackTraceElement.getFileName()
          Returns the name of the source file containing the execution point represented by this stack trace element.
 String Package.getImplementationTitle()
          Return the title of this package.
 String Package.getImplementationVendor()
          Returns the name of the organization, vendor or company that provided this implementation.
 String Package.getImplementationVersion()
          Return the version of this implementation.
 String Throwable.getLocalizedMessage()
          Creates a localized description of this throwable.
 String Throwable.getMessage()
          Returns the detail message string of this throwable.
 String StackTraceElement.getMethodName()
          Returns the name of the method containing the execution point represented by this stack trace element.
 String Thread.getName()
          Returns this thread's name.
 String ThreadGroup.getName()
          Returns the name of this thread group.
 String Package.getName()
          Return the name of this package.
 String Class.getName()
          Returns the name of the entity (class, interface, array class, primitive type, or void) represented by this Class object, as a String.
static String System.getProperty(String key)
          Gets the system property indicated by the specified key.
static String System.getProperty(String key, String def)
          Gets the system property indicated by the specified key.
 String Class.getSimpleName()
          Returns the simple name of the underlying class as given in the source code.
 String Package.getSpecificationTitle()
          Return the title of the specification that this package implements.
 String Package.getSpecificationVendor()
          Return the name of the organization, vendor, or company that owns and maintains the specification of the classes that implement this package.
 String Package.getSpecificationVersion()
          Returns the version number of the specification that this package implements.
 String String.intern()
          Returns a canonical representation for the string object.
static String System.mapLibraryName(String libname)
          Maps a library name into a platform-specific string representing a native library.
 String Enum.name()
          Returns the name of this enum constant, exactly as declared in its enum declaration.
 String String.replace(char oldChar, char newChar)
          Returns a new string resulting from replacing all occurrences of oldChar in this string with newChar.
 String String.replace(CharSequence target, CharSequence replacement)
          Replaces each substring of this string that matches the literal target sequence with the specified literal replacement sequence.
 String String.replaceAll(String regex, String replacement)
          Replaces each substring of this string that matches the given regular expression with the given replacement.
 String String.replaceFirst(String regex, String replacement)
          Replaces the first substring of this string that matches the given regular expression with the given replacement.
static String System.setProperty(String key, String value)
          Sets the system property indicated by the specified key.
 String[] String.split(String regex)
          Splits this string around matches of the given regular expression.
 String[] String.split(String regex, int limit)
          Splits this string around matches of the given regular expression.
 String StringBuffer.substring(int start)
           
 String String.substring(int beginIndex)
          Returns a new string that is a substring of this string.
 String StringBuffer.substring(int start, int end)
           
 String String.substring(int beginIndex, int endIndex)
          Returns a new string that is a substring of this string.
static String Integer.toBinaryString(int i)
          Returns a string representation of the integer argument as an unsigned integer in base 2.
static String Long.toBinaryString(long i)
          Returns a string representation of the long argument as an unsigned integer in base 2.
static String Double.toHexString(double d)
          Returns a hexadecimal string representation of the double argument.
static String Float.toHexString(float f)
          Returns a hexadecimal string representation of the float argument.
static String Integer.toHexString(int i)
          Returns a string representation of the integer argument as an unsigned integer in base 16.
static String Long.toHexString(long i)
          Returns a string representation of the long argument as an unsigned integer in base 16.
 String String.toLowerCase()
          Converts all of the characters in this String to lower case using the rules of the default locale.
 String String.toLowerCase(Locale locale)
          Converts all of the characters in this String to lower case using the rules of the given Locale.
static String Integer.toOctalString(int i)
          Returns a string representation of the integer argument as an unsigned integer in base 8.
static String Long.toOctalString(long i)
          Returns a string representation of the long argument as an unsigned integer in base 8.
 String Double.toString()
          Returns a string representation of this Double object.
 String Float.toString()
          Returns a string representation of this Float object.
 String Short.toString()
          Returns a String object representing this Short's value.
 String Byte.toString()
          Returns a String object representing this Byte's value.
 String Integer.toString()
          Returns a String object representing this Integer's value.
 String Character.toString()
          Returns a String object representing this Character's value.
 String Character.Subset.toString()
          Returns the name of this subset.
 String Boolean.toString()
          Returns a String object representing this Boolean's value.
 String Thread.toString()
          Returns a string representation of this thread, including the thread's name, priority, and thread group.
 String ThreadGroup.toString()
          Returns a string representation of this Thread group.
 String Long.toString()
          Returns a String object representing this Long's value.
 String Enum.toString()
          Returns the name of this enum constant, as contained in the declaration.
 String StringBuilder.toString()
           
 String StringBuffer.toString()
           
 String StackTraceElement.toString()
          Returns a string representation of this stack trace element.
 String Package.toString()
          Returns the string representation of this Package.
 String CharSequence.toString()
          Returns a string containing the characters in this sequence in the same order as this sequence.
 String String.toString()
          This object (which is already a string!) is itself returned.
 String Throwable.toString()
          Returns a short description of this throwable.
 String Class.toString()
          Converts the object to a string.
 String Object.toString()
          Returns a string representation of the object.
static String Boolean.toString(boolean b)
          Returns a String object representing the specified boolean.
static String Byte.toString(byte b)
          Returns a new String object representing the specified byte.
static String Character.toString(char c)
          Returns a String object representing the specified char.
static String Double.toString(double d)
          Returns a string representation of the double argument.
static String Float.toString(float f)
          Returns a string representation of the float argument.
static String Integer.toString(int i)
          Returns a String object representing the specified integer.
static String Integer.toString(int i, int radix)
          Returns a string representation of the first argument in the radix specified by the second argument.
static String Long.toString(long i)
          Returns a String object representing the specified long.
static String Long.toString(long i, int radix)
          Returns a string representation of the first argument in the radix specified by the second argument.
static String Short.toString(short s)
          Returns a new String object representing the specified short.
 String String.toUpperCase()
          Converts all of the characters in this String to upper case using the rules of the default locale.
 String String.toUpperCase(Locale locale)
          Converts all of the characters in this String to upper case using the rules of the given Locale.
 String String.trim()
          Returns a copy of the string, with leading and trailing whitespace omitted.
 String TypeNotPresentException.typeName()
          Returns the fully qualified name of the unavailable type.
static String String.valueOf(boolean b)
          Returns the string representation of the boolean argument.
static String String.valueOf(char c)
          Returns the string representation of the char argument.
static String String.valueOf(char[] data)
          Returns the string representation of the char array argument.
static String String.valueOf(char[] data, int offset, int count)
          Returns the string representation of a specific subarray of the char array argument.
static String String.valueOf(double d)
          Returns the string representation of the double argument.
static String String.valueOf(float f)
          Returns the string representation of the float argument.
static String String.valueOf(int i)
          Returns the string representation of the int argument.
static String String.valueOf(long l)
          Returns the string representation of the long argument.
static String String.valueOf(Object obj)
          Returns the string representation of the Object argument.
 

Methods in java.lang that return types with arguments of type String
 List<String> ProcessBuilder.command()
          Returns this process builder's operating system program and arguments.
 Map<String,String> ProcessBuilder.environment()
          Returns a string map view of this process builder's environment.
 Map<String,String> ProcessBuilder.environment()
          Returns a string map view of this process builder's environment.
static Map<String,String> System.getenv()
          Returns an unmodifiable string map view of the current system environment.
static Map<String,String> System.getenv()
          Returns an unmodifiable string map view of the current system environment.
 

Methods in java.lang with parameters of type String
 StringBuilder StringBuilder.append(String str)
           
 StringBuffer StringBuffer.append(String str)
           
 void SecurityManager.checkAccept(String host, int port)
          Throws a SecurityException if the calling thread is not permitted to accept a socket connection from the specified host and port number.
 void SecurityManager.checkConnect(String host, int port)
          Throws a SecurityException if the calling thread is not allowed to open a socket connection to the specified host and port number.
 void SecurityManager.checkConnect(String host, int port, Object context)
          Throws a SecurityException if the specified security context is not allowed to open a socket connection to the specified host and port number.
 void SecurityManager.checkDelete(String file)
          Throws a SecurityException if the calling thread is not allowed to delete the specified file.
 void SecurityManager.checkExec(String cmd)
          Throws a SecurityException if the calling thread is not allowed to create a subprocess.
 void SecurityManager.checkLink(String lib)
          Throws a SecurityException if the calling thread is not allowed to dynamic link the library code specified by the string argument file.
 void SecurityManager.checkPackageAccess(String pkg)
          Throws a SecurityException if the calling thread is not allowed to access the package specified by the argument.
 void SecurityManager.checkPackageDefinition(String pkg)
          Throws a SecurityException if the calling thread is not allowed to define classes in the package specified by the argument.
 void SecurityManager.checkPropertyAccess(String key)
          Throws a SecurityException if the calling thread is not allowed to access the system property with the specified key name.
 void SecurityManager.checkRead(String file)
          Throws a SecurityException if the calling thread is not allowed to read the file specified by the string argument.
 void SecurityManager.checkRead(String file, Object context)
          Throws a SecurityException if the specified security context is not allowed to read the file specified by the string argument.
 void SecurityManager.checkSecurityAccess(String target)
          Determines whether the permission with the specified permission target name should be granted or denied.
 void SecurityManager.checkWrite(String file)
          Throws a SecurityException if the calling thread is not allowed to write to the file specified by the string argument.
protected  int SecurityManager.classDepth(String name)
          Deprecated. This type of security checking is not recommended. It is recommended that the checkPermission call be used instead.
static String System.clearProperty(String key)
          Removes the system property indicated by the specified key.
 ProcessBuilder ProcessBuilder.command(String... command)
          Sets this process builder's operating system program and arguments.
 int String.compareTo(String anotherString)
          Compares two strings lexicographically.
 int String.compareToIgnoreCase(String str)
          Compares two strings lexicographically, ignoring case differences.
static boolean Compiler.compileClasses(String string)
          Compiles all classes whose name matches the specified string.
 String String.concat(String str)
          Concatenates the specified string to the end of this string.
static Short Short.decode(String nm)
          Decodes a String into a Short.
static Byte Byte.decode(String nm)
          Decodes a String into a Byte.
static Integer Integer.decode(String nm)
          Decodes a String into an Integer.
static Long Long.decode(String nm)
          Decodes a String into a Long.
protected  Class<?> ClassLoader.defineClass(String name, byte[] b, int off, int len)
          Converts an array of bytes into an instance of class Class.
protected  Class<?> ClassLoader.defineClass(String name, byte[] b, int off, int len, ProtectionDomain protectionDomain)
          Converts an array of bytes into an instance of class Class, with an optional ProtectionDomain.
protected  Class<?> ClassLoader.defineClass(String name, ByteBuffer b, ProtectionDomain protectionDomain)
          Converts a ByteBuffer into an instance of class Class, with an optional ProtectionDomain.
protected  Package ClassLoader.definePackage(String name, String specTitle, String specVersion, String specVendor, String implTitle, String implVersion, String implVendor, URL sealBase)
          Defines a package by name in this ClassLoader.
 boolean String.endsWith(String suffix)
          Tests if this string ends with the specified suffix.
 boolean String.equalsIgnoreCase(String anotherString)
          Compares this String to another String, ignoring case considerations.
 Process Runtime.exec(String command)
          Executes the specified string command in a separate process.
 Process Runtime.exec(String[] cmdarray)
          Executes the specified command and arguments in a separate process.
 Process Runtime.exec(String[] cmdarray, String[] envp)
          Executes the specified command and arguments in a separate process with the specified environment.
 Process Runtime.exec(String[] cmdarray, String[] envp)
          Executes the specified command and arguments in a separate process with the specified environment.
 Process Runtime.exec(String[] cmdarray, String[] envp, File dir)
          Executes the specified command and arguments in a separate process with the specified environment and working directory.
 Process Runtime.exec(String[] cmdarray, String[] envp, File dir)
          Executes the specified command and arguments in a separate process with the specified environment and working directory.
 Process Runtime.exec(String command, String[] envp)
          Executes the specified string command in a separate process with the specified environment.
 Process Runtime.exec(String command, String[] envp)
          Executes the specified string command in a separate process with the specified environment.
 Process Runtime.exec(String command, String[] envp, File dir)
          Executes the specified string command in a separate process with the specified environment and working directory.
 Process Runtime.exec(String command, String[] envp, File dir)
          Executes the specified string command in a separate process with the specified environment and working directory.
protected  Class<?> ClassLoader.findClass(String name)
          Finds the class with the specified binary name.
protected  String ClassLoader.findLibrary(String libname)
          Returns the absolute path name of a native library.
protected  Class<?> ClassLoader.findLoadedClass(String name)
          Returns the class with the given binary name if this loader has been recorded by the Java virtual machine as an initiating loader of a class with that binary name.
protected  URL ClassLoader.findResource(String name)
          Finds the resource with the given name.
protected  Enumeration<URL> ClassLoader.findResources(String name)
          Returns an enumeration of URL objects representing all the resources with the given name.
protected  Class<?> ClassLoader.findSystemClass(String name)
          Finds a class with the specified binary name, loading it if necessary.
static String String.format(Locale l, String format, Object... args)
          Returns a formatted string using the specified locale, format string, and arguments.
static String String.format(String format, Object... args)
          Returns a formatted string using the specified format string and arguments.
static Character.UnicodeBlock Character.UnicodeBlock.forName(String blockName)
          Returns the UnicodeBlock with the given name.
static Class<?> Class.forName(String className)
          Returns the Class object associated with the class or interface with the given string name.
static Class<?> Class.forName(String name, boolean initialize, ClassLoader loader)
          Returns the Class object associated with the class or interface with the given string name, using the given class loader.
static boolean Boolean.getBoolean(String name)
          Returns true if and only if the system property named by the argument exists and is equal to the string "true".
 byte[] String.getBytes(String charsetName)
          Encodes this String into a sequence of bytes using the named charset, storing the result into a new byte array.
 Field Class.getDeclaredField(String name)
          Returns a Field object that reflects the specified declared field of the class or interface represented by this Class object.
 Method Class.getDeclaredMethod(String name, Class<?>... parameterTypes)
          Returns a Method object that reflects the specified declared method of the class or interface represented by this Class object.
static String System.getenv(String name)
          Gets the value of the specified environment variable.
 Field Class.getField(String name)
          Returns a Field object that reflects the specified public member field of the class or interface represented by this Class object.
static Integer Integer.getInteger(String nm)
          Determines the integer value of the system property with the specified name.
static Integer Integer.getInteger(String nm, int val)
          Determines the integer value of the system property with the specified name.
static Integer Integer.getInteger(String nm, Integer val)
          Returns the integer value of the system property with the specified name.
static Long Long.getLong(String nm)
          Determines the long value of the system property with the specified name.
static Long Long.getLong(String nm, long val)
          Determines the long value of the system property with the specified name.
static Long Long.getLong(String nm, Long val)
          Returns the long value of the system property with the specified name.
 Method Class.getMethod(String name, Class<?>... parameterTypes)
          Returns a Method object that reflects the specified public member method of the class or interface represented by this Class object.
static Package Package.getPackage(String name)
          Find a package by name in the callers ClassLoader instance.
protected  Package ClassLoader.getPackage(String name)
          Returns a Package that has been defined by this class loader or any of its ancestors.
static String System.getProperty(String key)
          Gets the system property indicated by the specified key.
static String System.getProperty(String key, String def)
          Gets the system property indicated by the specified key.
 URL ClassLoader.getResource(String name)
          Finds the resource with the given name.
 URL Class.getResource(String name)
          Finds a resource with a given name.
 InputStream ClassLoader.getResourceAsStream(String name)
          Returns an input stream for reading the specified resource.
 InputStream Class.getResourceAsStream(String name)
          Finds a resource with a given name.
 Enumeration<URL> ClassLoader.getResources(String name)
          Finds all the resources with the given name.
static URL ClassLoader.getSystemResource(String name)
          Find a resource of the specified name from the search path used to load classes.
static InputStream ClassLoader.getSystemResourceAsStream(String name)
          Open for reading, a resource of the specified name from the search path used to load classes.
static Enumeration<URL> ClassLoader.getSystemResources(String name)
          Finds all resources of the specified name from the search path used to load classes.
protected  boolean SecurityManager.inClass(String name)
          Deprecated. This type of security checking is not recommended. It is recommended that the checkPermission call be used instead.
 int StringBuilder.indexOf(String str)
           
 int StringBuffer.indexOf(String str)
           
 int String.indexOf(String str)
          Returns the index within this string of the first occurrence of the specified substring.
 int StringBuilder.indexOf(String str, int fromIndex)
           
 int StringBuffer.indexOf(String str, int fromIndex)
           
 int String.indexOf(String str, int fromIndex)
          Returns the index within this string of the first occurrence of the specified substring, starting at the specified index.
 StringBuilder StringBuilder.insert(int offset, String str)
           
 StringBuffer StringBuffer.insert(int offset, String str)
           
 boolean Package.isCompatibleWith(String desired)
          Compare this package's specification version with a desired version.
 int StringBuilder.lastIndexOf(String str)
           
 int StringBuffer.lastIndexOf(String str)
           
 int String.lastIndexOf(String str)
          Returns the index within this string of the rightmost occurrence of the specified substring.
 int StringBuilder.lastIndexOf(String str, int fromIndex)
           
 int StringBuffer.lastIndexOf(String str, int fromIndex)
           
 int String.lastIndexOf(String str, int fromIndex)
          Returns the index within this string of the last occurrence of the specified substring, searching backward starting at the specified index.
static void System.load(String filename)
          Loads a code file with the specified filename from the local file system as a dynamic library.
 void Runtime.load(String filename)
          Loads the specified filename as a dynamic library.
 Class<?> ClassLoader.loadClass(String name)
          Loads the class with the specified binary name.
protected  Class<?> ClassLoader.loadClass(String name, boolean resolve)
          Loads the class with the specified binary name.
static void System.loadLibrary(String libname)
          Loads the system library specified by the libname argument.
 void Runtime.loadLibrary(String libname)
          Loads the dynamic library with the specified library name.
static String System.mapLibraryName(String libname)
          Maps a library name into a platform-specific string representing a native library.
 boolean String.matches(String regex)
          Tells whether or not this string matches the given regular expression.
static boolean Boolean.parseBoolean(String s)
          Parses the string argument as a boolean.
static byte Byte.parseByte(String s)
          Parses the string argument as a signed decimal byte.
static byte Byte.parseByte(String s, int radix)
          Parses the string argument as a signed byte in the radix specified by the second argument.
static double Double.parseDouble(String s)
          Returns a new double initialized to the value represented by the specified String, as performed by the valueOf method of class Double.
static float Float.parseFloat(String s)
          Returns a new float initialized to the value represented by the specified String, as performed by the valueOf method of class Float.
static int Integer.parseInt(String s)
          Parses the string argument as a signed decimal integer.
static int Integer.parseInt(String s, int radix)
          Parses the string argument as a signed integer in the radix specified by the second argument.
static long Long.parseLong(String s)
          Parses the string argument as a signed decimal long.
static long Long.parseLong(String s, int radix)
          Parses the string argument as a signed long in the radix specified by the second argument.
static short Short.parseShort(String s)
          Parses the string argument as a signed decimal short.
static short Short.parseShort(String s, int radix)
          Parses the string argument as a signed short in the radix specified by the second argument.
 boolean String.regionMatches(boolean ignoreCase, int toffset, String other, int ooffset, int len)
          Tests if two string regions are equal.
 boolean String.regionMatches(int toffset, String other, int ooffset, int len)
          Tests if two string regions are equal.
 StringBuilder StringBuilder.replace(int start, int end, String str)
           
 StringBuffer StringBuffer.replace(int start, int end, String str)
           
 String String.replaceAll(String regex, String replacement)
          Replaces each substring of this string that matches the given regular expression with the given replacement.
 String String.replaceFirst(String regex, String replacement)
          Replaces the first substring of this string that matches the given regular expression with the given replacement.
 void ClassLoader.setClassAssertionStatus(String className, boolean enabled)
          Sets the desired assertion status for the named top-level class in this class loader and any nested classes contained therein.
 void Thread.setName(String name)
          Changes the name of this thread to be equal to the argument name.
 void ClassLoader.setPackageAssertionStatus(String packageName, boolean enabled)
          Sets the package default assertion status for the named package.
static String System.setProperty(String key, String value)
          Sets the system property indicated by the specified key.
 String[] String.split(String regex)
          Splits this string around matches of the given regular expression.
 String[] String.split(String regex, int limit)
          Splits this string around matches of the given regular expression.
 boolean String.startsWith(String prefix)
          Tests if this string starts with the specified prefix.
 boolean String.startsWith(String prefix, int toffset)
          Tests if the substring of this string beginning at the specified index starts with the specified prefix.
static
<T extends Enum<T>>
T
Enum.valueOf(Class<T> enumType, String name)
          Returns the enum constant of the specified enum type with the specified name.
static Double Double.valueOf(String s)
          Returns a Double object holding the double value represented by the argument string s.
static Float Float.valueOf(String s)
          Returns a Float object holding the float value represented by the argument string s.
static Short Short.valueOf(String s)
          Returns a Short object holding the value given by the specified String.
static Byte Byte.valueOf(String s)
          Returns a Byte object holding the value given by the specified String.
static Integer Integer.valueOf(String s)
          Returns an Integer object holding the value of the specified String.
static Boolean Boolean.valueOf(String s)
          Returns a Boolean with a value represented by the specified string.
static Thread.State Thread.State.valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Long Long.valueOf(String s)
          Returns a Long object holding the value of the specified String.
static Short Short.valueOf(String s, int radix)
          Returns a Short object holding the value extracted from the specified String when parsed with the radix given by the second argument.
static Byte Byte.valueOf(String s, int radix)
          Returns a Byte object holding the value extracted from the specified String when parsed with the radix given by the second argument.
static Integer Integer.valueOf(String s, int radix)
          Returns an Integer object holding the value extracted from the specified String when parsed with the radix given by the second argument.
static Long Long.valueOf(String s, int radix)
          Returns a Long object holding the value extracted from the specified String when parsed with the radix given by the second argument.
 

Method parameters in java.lang with type arguments of type String
 ProcessBuilder ProcessBuilder.command(List<String> command)
          Sets this process builder's operating system program and arguments.
 

Constructors in java.lang with parameters of type String
AbstractMethodError(String s)
          Constructs an AbstractMethodError with the specified detail message.
ArithmeticException(String s)
          Constructs an ArithmeticException with the specified detail message.
ArrayIndexOutOfBoundsException(String s)
          Constructs an ArrayIndexOutOfBoundsException class with the specified detail message.
ArrayStoreException(String s)
          Constructs an ArrayStoreException with the specified detail message.
Boolean(String s)
          Allocates a Boolean object representing the value true if the string argument is not null and is equal, ignoring case, to the string "true".
Byte(String s)
          Constructs a newly allocated Byte object that represents the byte value indicated by the String parameter.
Character.Subset(String name)
          Constructs a new Subset instance.
ClassCastException(String s)
          Constructs a ClassCastException with the specified detail message.
ClassCircularityError(String s)
          Constructs a ClassCircularityError with the specified detail message.
ClassFormatError(String s)
          Constructs a ClassFormatError with the specified detail message.
ClassNotFoundException(String s)
          Constructs a ClassNotFoundException with the specified detail message.
ClassNotFoundException(String s, Throwable ex)
          Constructs a ClassNotFoundException with the specified detail message and optional exception that was raised while loading the class.
CloneNotSupportedException(String s)
          Constructs a CloneNotSupportedException with the specified detail message.
Double(String s)
          Constructs a newly allocated Double object that represents the floating-point value of type double represented by the string.
Enum(String name, int ordinal)
          Sole constructor.
EnumConstantNotPresentException(Class<? extends Enum> enumType, String constantName)
          Constructs an EnumConstantNotPresentException for the specified constant.
Error(String message)
          Constructs a new error with the specified detail message.
Error(String message, Throwable cause)
          Constructs a new error with the specified detail message and cause.
Exception(String message)
          Constructs a new exception with the specified detail message.
Exception(String message, Throwable cause)
          Constructs a new exception with the specified detail message and cause.
ExceptionInInitializerError(String s)
          Constructs an ExceptionInInitializerError with the specified detail message string.
Float(String s)
          Constructs a newly allocated Float object that represents the floating-point value of type float represented by the string.
IllegalAccessError(String s)
          Constructs an IllegalAccessError with the specified detail message.
IllegalAccessException(String s)
          Constructs an IllegalAccessException with a detail message.
IllegalArgumentException(String s)
          Constructs an IllegalArgumentException with the specified detail message.
IllegalArgumentException(String message, Throwable cause)
          Constructs a new exception with the specified detail message and cause.
IllegalMonitorStateException(String s)
          Constructs an IllegalMonitorStateException with the specified detail message.
IllegalStateException(String s)
          Constructs an IllegalStateException with the specified detail message.
IllegalStateException(String message, Throwable cause)
          Constructs a new exception with the specified detail message and cause.
IllegalThreadStateException(String s)
          Constructs an IllegalThreadStateException with the specified detail message.
IncompatibleClassChangeError(String s)
          Constructs an IncompatibleClassChangeError with the specified detail message.
IndexOutOfBoundsException(String s)
          Constructs an IndexOutOfBoundsException with the specified detail message.
InstantiationError(String s)
          Constructs an InstantiationError with the specified detail message.
InstantiationException(String s)
          Constructs an InstantiationException with the specified detail message.
Integer(String s)
          Constructs a newly allocated Integer object that represents the int value indicated by the String parameter.
InternalError(String s)
          Constructs an InternalError with the specified detail message.
InterruptedException(String s)
          Constructs an InterruptedException with the specified detail message.
LinkageError(String s)
          Constructs a LinkageError with the specified detail message.
Long(String s)
          Constructs a newly allocated Long object that represents the long value indicated by the String parameter.
NegativeArraySizeException(String s)
          Constructs a NegativeArraySizeException with the specified detail message.
NoClassDefFoundError(String s)
          Constructs a NoClassDefFoundError with the specified detail message.
NoSuchFieldError(String s)
          Constructs a NoSuchFieldException with the specified detail message.
NoSuchFieldException(String s)
          Constructor with a detail message.
NoSuchMethodError(String s)
          Constructs a NoSuchMethodError with the specified detail message.
NoSuchMethodException(String s)
          Constructs a NoSuchMethodException with a detail message.
NullPointerException(String s)
          Constructs a NullPointerException with the specified detail message.
NumberFormatException(String s)
          Constructs a NumberFormatException with the specified detail message.
OutOfMemoryError(String s)
          Constructs an OutOfMemoryError with the specified detail message.
ProcessBuilder(String... command)
          Constructs a process builder with the specified operating system program and arguments.
RuntimeException(String message)
          Constructs a new runtime exception with the specified detail message.
RuntimeException(String message, Throwable cause)
          Constructs a new runtime exception with the specified detail message and cause.
RuntimePermission(String name)
          Creates a new RuntimePermission with the specified name.
RuntimePermission(String name, String actions)
          Creates a new RuntimePermission object with the specified name.
SecurityException(String s)
          Constructs a SecurityException with the specified detail message.
SecurityException(String message, Throwable cause)
          Creates a SecurityException with the specified detail message and cause.
Short(String s)
          Constructs a newly allocated Short object that represents the short value indicated by the String parameter.
StackOverflowError(String s)
          Constructs a StackOverflowError with the specified detail message.
StackTraceElement(String declaringClass, String methodName, String fileName, int lineNumber)
          Creates a stack trace element representing the specified execution point.
String(byte[] bytes, int offset, int length, String charsetName)
          Constructs a new String by decoding the specified subarray of bytes using the specified charset.
String(byte[] bytes, String charsetName)
          Constructs a new String by decoding the specified array of bytes using the specified charset.
String(String original)
          Initializes a newly created String object so that it represents the same sequence of characters as the argument; in other words, the newly created string is a copy of the argument string.
StringBuffer(String str)
          Constructs a string buffer initialized to the contents of the specified string.
StringBuilder(String str)
          Constructs a string builder initialized to the contents of the specified string.
StringIndexOutOfBoundsException(String s)
          Constructs a StringIndexOutOfBoundsException with the specified detail message.
Thread(Runnable target, String name)
          Allocates a new Thread object.
Thread(String name)
          Allocates a new Thread object.
Thread(ThreadGroup group, Runnable target, String name)
          Allocates a new Thread object so that it has target as its run object, has the specified name as its name, and belongs to the thread group referred to by group.
Thread(ThreadGroup group, Runnable target, String name, long stackSize)
          Allocates a new Thread object so that it has target as its run object, has the specified name as its name, belongs to the thread group referred to by group, and has the specified stack size.
Thread(ThreadGroup group, String name)
          Allocates a new Thread object.
ThreadGroup(String name)
          Constructs a new thread group.
ThreadGroup(ThreadGroup parent, String name)
          Creates a new thread group.
Throwable(String message)
          Constructs a new throwable with the specified detail message.
Throwable(String message, Throwable cause)
          Constructs a new throwable with the specified detail message and cause.
TypeNotPresentException(String typeName, Throwable cause)
          Constructs a TypeNotPresentException for the named type with the specified cause.
UnknownError(String s)
          Constructs an UnknownError with the specified detail message.
UnsatisfiedLinkError(String s)
          Constructs an UnsatisfiedLinkError with the specified detail message.
UnsupportedClassVersionError(String s)
          Constructs a UnsupportedClassVersionError with the specified detail message.
UnsupportedOperationException(String message)
          Constructs an UnsupportedOperationException with the specified detail message.
UnsupportedOperationException(String message, Throwable cause)
          Constructs a new exception with the specified detail message and cause.
VerifyError(String s)
          Constructs an VerifyError with the specified detail message.
VirtualMachineError(String s)
          Constructs a VirtualMachineError with the specified detail message.
 

Constructor parameters in java.lang with type arguments of type String
ProcessBuilder(List<String> command)
          Constructs a process builder with the specified operating system program and arguments.
 

Uses of String in java.lang.annotation
 

Methods in java.lang.annotation that return String
 String IncompleteAnnotationException.elementName()
          Returns the name of the missing element.
 String AnnotationTypeMismatchException.foundType()
          Returns the type of data found in the incorrectly typed element.
 String Annotation.toString()
          Returns a string representation of this annotation.
 

Methods in java.lang.annotation with parameters of type String
static ElementType ElementType.valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RetentionPolicy RetentionPolicy.valueOf(String name)
          Returns the enum constant of this type with the specified name.
 

Constructors in java.lang.annotation with parameters of type String
AnnotationFormatError(String message)
          Constructs a new AnnotationFormatError with the specified detail message.
AnnotationFormatError(String message, Throwable cause)
          Constructs a new AnnotationFormatError with the specified detail message and cause.
AnnotationTypeMismatchException(Method element, String foundType)
          Constructs an AnnotationTypeMismatchException for the specified annotation type element and found data type.
IncompleteAnnotationException(Class<? extends Annotation> annotationType, String elementName)
          Constructs an IncompleteAnnotationException to indicate that the named element was missing from the specified annotation type.
 

Uses of String in java.lang.instrument
 

Methods in java.lang.instrument with parameters of type String
 void Instrumentation.setNativeMethodPrefix(ClassFileTransformer transformer, String prefix)
          This method modifies the failure handling of native method resolution by allowing retry with a prefix applied to the name.
 byte[] ClassFileTransformer.transform(ClassLoader loader, String className, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer)
          The implementation of this method may transform the supplied class file and return a new replacement class file.
 

Constructors in java.lang.instrument with parameters of type String
IllegalClassFormatException(String s)
          Constructs an IllegalClassFormatException with the specified detail message.
UnmodifiableClassException(String s)
          Constructs an UnmodifiableClassException with the specified detail message.
 

Uses of String in java.lang.management
 

Fields in java.lang.management declared as String
static String ManagementFactory.CLASS_LOADING_MXBEAN_NAME
          String representation of the ObjectName for the ClassLoadingMXBean.
static String ManagementFactory.COMPILATION_MXBEAN_NAME
          String representation of the ObjectName for the CompilationMXBean.
static String ManagementFactory.GARBAGE_COLLECTOR_MXBEAN_DOMAIN_TYPE
          The domain name and the type key property in the ObjectName for a GarbageCollectorMXBean.
static String MemoryNotificationInfo.MEMORY_COLLECTION_THRESHOLD_EXCEEDED
          Notification type denoting that the memory usage of a memory pool is greater than or equal to its collection usage threshold after the Java virtual machine has expended effort in recycling unused objects in that memory pool.
static String ManagementFactory.MEMORY_MANAGER_MXBEAN_DOMAIN_TYPE
          The domain name and the type key property in the ObjectName for a MemoryManagerMXBean.
static String ManagementFactory.MEMORY_MXBEAN_NAME
          String representation of the ObjectName for the MemoryMXBean.
static String ManagementFactory.MEMORY_POOL_MXBEAN_DOMAIN_TYPE
          The domain name and the type key property in the ObjectName for a MemoryPoolMXBean.
static String MemoryNotificationInfo.MEMORY_THRESHOLD_EXCEEDED
          Notification type denoting that the memory usage of a memory pool has reached or exceeded its usage threshold value.
static String ManagementFactory.OPERATING_SYSTEM_MXBEAN_NAME
          String representation of the ObjectName for the OperatingSystemMXBean.
static String ManagementFactory.RUNTIME_MXBEAN_NAME
          String representation of the ObjectName for the RuntimeMXBean.
static String ManagementFactory.THREAD_MXBEAN_NAME
          String representation of the ObjectName for the ThreadMXBean.
 

Methods in java.lang.management that return String
 String OperatingSystemMXBean.getArch()
          Returns the operating system architecture.
 String RuntimeMXBean.getBootClassPath()
          Returns the boot class path that is used by the bootstrap class loader to search for class files.
 String LockInfo.getClassName()
          Returns the fully qualified name of the class of the lock object.
 String RuntimeMXBean.getClassPath()
          Returns the Java class path that is used by the system class loader to search for class files.
 String RuntimeMXBean.getLibraryPath()
          Returns the Java library path.
 String ThreadInfo.getLockName()
          Returns the string representation of an object for which the thread associated with this ThreadInfo is blocked waiting.
 String ThreadInfo.getLockOwnerName()
          Returns the name of the thread which owns the object for which the thread associated with this ThreadInfo is blocked waiting.
 String RuntimeMXBean.getManagementSpecVersion()
          Returns the version of the specification for the management interface implemented by the running Java virtual machine.
 String[] MemoryPoolMXBean.getMemoryManagerNames()
          Returns the name of memory managers that manages this memory pool.
 String[] MemoryManagerMXBean.getMemoryPoolNames()
          Returns the name of memory pools that this memory manager manages.
 String MemoryPoolMXBean.getName()
          Returns the name representing this memory pool.
 String OperatingSystemMXBean.getName()
          Returns the operating system name.
 String RuntimeMXBean.getName()
          Returns the name representing the running Java virtual machine.
 String MemoryManagerMXBean.getName()
          Returns the name representing this memory manager.
 String CompilationMXBean.getName()
          Returns the name of the Just-in-time (JIT) compiler.
 String MemoryNotificationInfo.getPoolName()
          Returns the name of the memory pool that triggers this notification.
 String RuntimeMXBean.getSpecName()
          Returns the Java virtual machine specification name.
 String RuntimeMXBean.getSpecVendor()
          Returns the Java virtual machine specification vendor.
 String RuntimeMXBean.getSpecVersion()
          Returns the Java virtual machine specification version.
 String ThreadInfo.getThreadName()
          Returns the name of the thread associated with this ThreadInfo.
 String OperatingSystemMXBean.getVersion()
          Returns the operating system version.
 String RuntimeMXBean.getVmName()
          Returns the Java virtual machine implementation name.
 String RuntimeMXBean.getVmVendor()
          Returns the Java virtual machine implementation vendor.
 String RuntimeMXBean.getVmVersion()
          Returns the Java virtual machine implementation version.
 String MemoryType.toString()
          Returns the string representation of this MemoryType.
 String ThreadInfo.toString()
          Returns a string representation of this thread info.
 String MemoryUsage.toString()
          Returns a descriptive representation of this memory usage.
 String LockInfo.toString()
          Returns a string representation of a lock.
 

Methods in java.lang.management that return types with arguments of type String
 List<String> RuntimeMXBean.getInputArguments()
          Returns the input arguments passed to the Java virtual machine which does not include the arguments to the main method.
 Map<String,String> RuntimeMXBean.getSystemProperties()
          Returns a map of names and values of all system properties.
 Map<String,String> RuntimeMXBean.getSystemProperties()
          Returns a map of names and values of all system properties.
 

Methods in java.lang.management with parameters of type String
static
<T> T
ManagementFactory.newPlatformMXBeanProxy(MBeanServerConnection connection, String mxbeanName, Class<T> mxbeanInterface)
          Returns a proxy for a platform MXBean interface of a given MXBean name that forwards its method calls through the given MBeanServerConnection.
static MemoryType MemoryType.valueOf(String name)
          Returns the enum constant of this type with the specified name.
 

Constructors in java.lang.management with parameters of type String
LockInfo(String className, int identityHashCode)
          Constructs a LockInfo object.
ManagementPermission(String name)
          Constructs a ManagementPermission with the specified name.
ManagementPermission(String name, String actions)
          Constructs a new ManagementPermission object.
MemoryNotificationInfo(String poolName, MemoryUsage usage, long count)
          Constructs a MemoryNotificationInfo object.
MonitorInfo(String className, int identityHashCode, int stackDepth, StackTraceElement stackFrame)
          Construct a MonitorInfo object.
 

Uses of String in java.lang.reflect
 

Methods in java.lang.reflect that return String
 String Field.getName()
          Returns the name of the field represented by this Field object.
 String Method.getName()
          Returns the name of the method represented by this Method object, as a String.
 String TypeVariable.getName()
          Returns the name of this type variable, as it occurs in the source code.
 String Member.getName()
          Returns the simple name of the underlying member or constructor represented by this Member.
 String Constructor.getName()
          Returns the name of this constructor, as a string.
 String Field.toGenericString()
          Returns a string describing this Field, including its generic type.
 String Method.toGenericString()
          Returns a string describing this Method, including type parameters.
 String Constructor.toGenericString()
          Returns a string describing this Constructor, including type parameters.
 String Field.toString()
          Returns a string describing this Field.
 String Method.toString()
          Returns a string describing this Method.
 String Constructor.toString()
          Returns a string describing this Constructor.
static String Modifier.toString(int mod)
          Return a string describing the access modifier flags in the specified modifier.
 

Constructors in java.lang.reflect with parameters of type String
InvocationTargetException(Throwable target, String s)
          Constructs a InvocationTargetException with a target exception and a detail message.
ReflectPermission(String name)
          Constructs a ReflectPermission with the specified name.
ReflectPermission(String name, String actions)
          Constructs a ReflectPermission with the specified name and actions.
UndeclaredThrowableException(Throwable undeclaredThrowable, String s)
          Constructs an UndeclaredThrowableException with the specified Throwable and a detail message.
 

Uses of String in java.math
 

Methods in java.math that return String
 String BigDecimal.toEngineeringString()
          Returns a string representation of this BigDecimal, using engineering notation if an exponent is needed.
 String BigDecimal.toPlainString()
          Returns a string representation of this BigDecimal without an exponent field.
 String MathContext.toString()
          Returns the string representation of this MathContext.
 String BigDecimal.toString()
          Returns the string representation of this BigDecimal, using scientific notation if an exponent is needed.
 String BigInteger.toString()
          Returns the decimal String representation of this BigInteger.
 String BigInteger.toString(int radix)
          Returns the String representation of this BigInteger in the given radix.
 

Methods in java.math with parameters of type String
static RoundingMode RoundingMode.valueOf(String name)
          Returns the enum constant of this type with the specified name.
 

Constructors in java.math with parameters of type String
BigDecimal(String val)
          Translates the string representation of a BigDecimal into a BigDecimal.
BigDecimal(String val, MathContext mc)
          Translates the string representation of a BigDecimal into a BigDecimal, accepting the same strings as the BigDecimal.BigDecimal(String) constructor, with rounding according to the context settings.
BigInteger(String val)
          Translates the decimal String representation of a BigInteger into a BigInteger.
BigInteger(String val, int radix)
          Translates the String representation of a BigInteger in the specified radix into a BigInteger.
MathContext(String val)
          Constructs a new MathContext from a string.
 

Uses of String in java.net
 

Fields in java.net declared as String
protected  String HttpURLConnection.method
          The HTTP method (GET,POST,PUT,etc.).
protected  String HttpURLConnection.responseMessage
          The HTTP response message.
 

Methods in java.net that return String
static String URLDecoder.decode(String s)
          Deprecated. The resulting string may vary depending on the platform's default encoding. Instead, use the decode(String,String) method to specify the encoding.
static String URLDecoder.decode(String s, String enc)
          Decodes a application/x-www-form-urlencoded string using a specific encoding scheme.
static String URLEncoder.encode(String s)
          Deprecated. The resulting string may vary depending on the platform's default encoding. Instead, use the encode(String,String) method to specify the encoding.
static String URLEncoder.encode(String s, String enc)
          Translates a string into application/x-www-form-urlencoded format using a specific encoding scheme.
 String SocketPermission.getActions()
          Returns the canonical string representation of the actions.
 String URI.getAuthority()
          Returns the decoded authority component of this URI.
 String URL.getAuthority()
          Gets the authority part of this URL.
 String InetAddress.getCanonicalHostName()
          Gets the fully qualified domain name for this IP address.
abstract  String SecureCacheResponse.getCipherSuite()
          Returns the cipher suite in use on the original connection that retrieved the network resource.
 String HttpCookie.getComment()
          Returns the comment describing the purpose of this cookie, or null if the cookie has no comment.
 String HttpCookie.getCommentURL()
          Returns the comment url describing the purpose of this cookie, or null if the cookie has no comment url.
 String URLConnection.getContentEncoding()
          Returns the value of the content-encoding header field.
 String URLConnection.getContentType()
          Returns the value of the content-type header field.
 String FileNameMap.getContentTypeFor(String fileName)
          Gets the MIME type for the specified file name.
static String URLConnection.getDefaultRequestProperty(String key)
          Deprecated. The instance specific getRequestProperty method should be used after an appropriate instance of URLConnection is obtained.
 String NetworkInterface.getDisplayName()
          Get the display name of this network interface.
 String HttpCookie.getDomain()
          Returns the domain name set for this cookie.
 String JarURLConnection.getEntryName()
          Return the entry name for this connection.
 String URL.getFile()
          Gets the file name of this URL.
 String URI.getFragment()
          Returns the decoded fragment component of this URI.
 String HttpURLConnection.getHeaderField(int n)
          Returns the value for the nth header field.
 String URLConnection.getHeaderField(int n)
          Returns the value for the nth header field.
 String URLConnection.getHeaderField(String name)
          Returns the value of the named header field.
 String HttpURLConnection.getHeaderFieldKey(int n)
          Returns the key for the nth header field.
 String URLConnection.getHeaderFieldKey(int n)
          Returns the key for the nth header field.
 String URI.getHost()
          Returns the host component of this URI.
 String URL.getHost()
          Gets the host name of this URL, if applicable.
 String Inet6Address.getHostAddress()
          Returns the IP address string in textual presentation.
 String Inet4Address.getHostAddress()
          Returns the IP address string in textual presentation form.
 String InetAddress.getHostAddress()
          Returns the IP address string in textual presentation.
 String InetSocketAddress.getHostName()
          Gets the hostname.
 String InetAddress.getHostName()
          Gets the host name for this IP address.
 String URISyntaxException.getInput()
          Returns the input string.
 String HttpRetryException.getLocation()
          Returns the value of the Location header field if the error resulted from redirection.
 String URISyntaxException.getMessage()
          Returns a string describing the parse error.
 String HttpCookie.getName()
          Returns the name of the cookie.
 String NetworkInterface.getName()
          Get the name of this network interface.
 String HttpCookie.getPath()
          Returns the path on the server to which the browser returns this cookie.
 String URI.getPath()
          Returns the decoded path component of this URI.
 String URL.getPath()
          Gets the path part of this URL.
 String HttpCookie.getPortlist()
          Return the port list attribute of the cookie
 String URL.getProtocol()
          Gets the protocol name of this URL.
 String URI.getQuery()
          Returns the decoded query component of this URI.
 String URL.getQuery()
          Gets the query part of this URL.
 String URI.getRawAuthority()
          Returns the raw authority component of this URI.
 String URI.getRawFragment()
          Returns the raw fragment component of this URI.
 String URI.getRawPath()
          Returns the raw path component of this URI.
 String URI.getRawQuery()
          Returns the raw query component of this URI.
 String URI.getRawSchemeSpecificPart()
          Returns the raw scheme-specific part of this URI.
 String URI.getRawUserInfo()
          Returns the raw user-information component of this URI.
 String HttpRetryException.getReason()
          Returns a string explaining why the http request could not be retried.
 String URISyntaxException.getReason()
          Returns a string explaining why the input string could not be parsed.
 String URL.getRef()
          Gets the anchor (also known as the "reference") of this URL.
protected  String Authenticator.getRequestingHost()
          Gets the hostname of the site or proxy requesting authentication, or null if not available.
protected  String Authenticator.getRequestingPrompt()
          Gets the prompt string given by the requestor.
protected  String Authenticator.getRequestingProtocol()
          Give the protocol that's requesting the connection.
protected  String Authenticator.getRequestingScheme()
          Gets the scheme of the requestor (the HTTP scheme for an HTTP firewall, for example).
 String HttpURLConnection.getRequestMethod()
          Get the request method.
 String URLConnection.getRequestProperty(String key)
          Returns the value of the named general request property for this connection.
 String HttpURLConnection.getResponseMessage()
          Gets the HTTP response message, if any, returned along with the response code from a server.
 String URI.getScheme()
          Returns the scheme component of this URI.
 String URI.getSchemeSpecificPart()
          Returns the decoded scheme-specific part of this URI.
 String URI.getUserInfo()
          Returns the decoded user-information component of this URI.
 String URL.getUserInfo()
          Gets the userInfo part of this URL.
 String PasswordAuthentication.getUserName()
          Returns the user name.
 String HttpCookie.getValue()
          Returns the value of the cookie.
static String URLConnection.guessContentTypeFromName(String fname)
          Tries to determine the content type of an object, based on the specified "file" component of a URL.
static String URLConnection.guessContentTypeFromStream(InputStream is)
          Tries to determine the type of an input stream based on the characters at the beginning of the input stream.
static String IDN.toASCII(String input)
          Translates a string from Unicode to ASCII Compatible Encoding (ACE), as defined by the ToASCII operation of RFC 3490.
static String IDN.toASCII(String input, int flag)
          Translates a string from Unicode to ASCII Compatible Encoding (ACE), as defined by the ToASCII operation of RFC 3490.
 String URI.toASCIIString()
          Returns the content of this URI as a US-ASCII string.
 String URL.toExternalForm()
          Constructs a string representation of this URL.
protected  String URLStreamHandler.toExternalForm(URL u)
          Converts a URL of a specific protocol to a String.
 String HttpCookie.toString()
          Constructs a cookie header string representation of this cookie, which is in the format defined by corresponding cookie specification, but without the leading "Cookie:" token.
 String InetSocketAddress.toString()
          Constructs a string representation of this InetSocketAddress.
 String SocketImpl.toString()
          Returns the address and port of this socket as a String.
 String Socket.toString()
          Converts this socket to a String.
 String ServerSocket.toString()
          Returns the implementation address and implementation port of this socket as a String.
 String InterfaceAddress.toString()
          Converts this Interface address to a String.
 String NetworkInterface.toString()
           
 String Proxy.toString()
          Constructs a string representation of this Proxy.
 String URLConnection.toString()
          Returns a String representation of this URL connection.
 String URI.toString()
          Returns the content of this URI as a string.
 String InetAddress.toString()
          Converts this IP address to a String.
 String URL.toString()
          Constructs a string representation of this URL.
static String IDN.toUnicode(String input)
          Translates a string from ASCII Compatible Encoding (ACE) to Unicode, as defined by the ToUnicode operation of RFC 3490.
static String IDN.toUnicode(String input, int flag)
          Translates a string from ASCII Compatible Encoding (ACE) to Unicode, as defined by the ToUnicode operation of RFC 3490.
 

Methods in java.net that return types with arguments of type String
 Map<String,List<String>> CookieManager.get(URI uri, Map<String,List<String>> requestHeaders)
           
 Map<String,List<String>> CookieManager.get(URI uri, Map<String,List<String>> requestHeaders)
           
abstract  Map<String,List<String>> CookieHandler.get(URI uri, Map<String,List<String>> requestHeaders)
          Gets all the applicable cookies from a cookie cache for the specified uri in the request header.
abstract  Map<String,List<String>> CookieHandler.get(URI uri, Map<String,List<String>> requestHeaders)
          Gets all the applicable cookies from a cookie cache for the specified uri in the request header.
 Map<String,List<String>> URLConnection.getHeaderFields()
          Returns an unmodifiable Map of the header fields.
 Map<String,List<String>> URLConnection.getHeaderFields()
          Returns an unmodifiable Map of the header fields.
abstract  Map<String,List<String>> CacheResponse.getHeaders()
          Returns the response headers as a Map.
abstract  Map<String,List<String>> CacheResponse.getHeaders()
          Returns the response headers as a Map.
 Map<String,List<String>> URLConnection.getRequestProperties()
          Returns an unmodifiable Map of general request properties for this connection.
 Map<String,List<String>> URLConnection.getRequestProperties()
          Returns an unmodifiable Map of general request properties for this connection.
 

Methods in java.net with parameters of type String
 void URLConnection.addRequestProperty(String key, String value)
          Adds a general request property specified by a key-value pair.
protected abstract  void SocketImpl.connect(String host, int port)
          Connects this socket to the specified port on the named host.
static URI URI.create(String str)
          Creates a URI by parsing the given string.
 ContentHandler ContentHandlerFactory.createContentHandler(String mimetype)
          Creates a new ContentHandler to read an object from a URLStreamHandler.
static InetSocketAddress InetSocketAddress.createUnresolved(String host, int port)
          Creates an unresolved socket address from a hostname and a port number.
 URLStreamHandler URLStreamHandlerFactory.createURLStreamHandler(String protocol)
          Creates a new URLStreamHandler instance with the specified protocol.
static String URLDecoder.decode(String s)
          Deprecated. The resulting string may vary depending on the platform's default encoding. Instead, use the decode(String,String) method to specify the encoding.
static String URLDecoder.decode(String s, String enc)
          Decodes a application/x-www-form-urlencoded string using a specific encoding scheme.
protected  Package URLClassLoader.definePackage(String name, Manifest man, URL url)
          Defines a new package by name in this ClassLoader.
static boolean HttpCookie.domainMatches(String domain, String host)
          The utility method to check whether a host name is in a domain or not.
static String URLEncoder.encode(String s)
          Deprecated. The resulting string may vary depending on the platform's default encoding. Instead, use the encode(String,String) method to specify the encoding.
static String URLEncoder.encode(String s, String enc)
          Translates a string into application/x-www-form-urlencoded format using a specific encoding scheme.
protected  Class<?> URLClassLoader.findClass(String name)
          Finds and loads the class with the specified name from the URL search path.
 URL URLClassLoader.findResource(String name)
          Finds the resource with the specified name on the URL search path.
 Enumeration<URL> URLClassLoader.findResources(String name)
          Returns an Enumeration of URLs representing all of the resources on the URL search path having the specified name.
abstract  CacheResponse ResponseCache.get(URI uri, String rqstMethod, Map<String,List<String>> rqstHeaders)
          Retrieve the cached response based on the requesting uri, request method and request headers.
static InetAddress[] InetAddress.getAllByName(String host)
          Given the name of a host, returns an array of its IP addresses, based on the configured name service on the system.
static InetAddress InetAddress.getByAddress(String host, byte[] addr)
          Create an InetAddress based on the provided host name and IP address No name service is checked for the validity of the address.
static Inet6Address Inet6Address.getByAddress(String host, byte[] addr, int scope_id)
          Create an Inet6Address in the exact manner of InetAddress.getByAddress(String,byte[]) except that the IPv6 scope_id is set to the given numeric value.
static Inet6Address Inet6Address.getByAddress(String host, byte[] addr, NetworkInterface nif)
          Create an Inet6Address in the exact manner of InetAddress.getByAddress(String,byte[]) except that the IPv6 scope_id is set to the value corresponding to the given interface for the address type specified in addr.
static NetworkInterface NetworkInterface.getByName(String name)
          Searches for the network interface with the specified name.
static InetAddress InetAddress.getByName(String host)
          Determines the IP address of a host, given the host's name.
 String FileNameMap.getContentTypeFor(String fileName)
          Gets the MIME type for the specified file name.
static String URLConnection.getDefaultRequestProperty(String key)
          Deprecated. The instance specific getRequestProperty method should be used after an appropriate instance of URLConnection is obtained.
 String URLConnection.getHeaderField(String name)
          Returns the value of the named header field.
 long HttpURLConnection.getHeaderFieldDate(String name, long Default)
           
 long URLConnection.getHeaderFieldDate(String name, long Default)
          Returns the value of the named field parsed as date.
 int URLConnection.getHeaderFieldInt(String name, int Default)
          Returns the value of the named field parsed as a number.
 String URLConnection.getRequestProperty(String key)
          Returns the value of the named general request property for this connection.
static String URLConnection.guessContentTypeFromName(String fname)
          Tries to determine the content type of an object, based on the specified "file" component of a URL.
static List<HttpCookie> HttpCookie.parse(String header)
          Constructs cookies from set-cookie or set-cookie2 header string.
protected  void URLStreamHandler.parseURL(URL u, String spec, int start, int limit)
          Parses the string representation of a URL into a URL object.
static PasswordAuthentication Authenticator.requestPasswordAuthentication(InetAddress addr, int port, String protocol, String prompt, String scheme)
          Ask the authenticator that has been registered with the system for a password.
static PasswordAuthentication Authenticator.requestPasswordAuthentication(String host, InetAddress addr, int port, String protocol, String prompt, String scheme)
          Ask the authenticator that has been registered with the system for a password.
static PasswordAuthentication Authenticator.requestPasswordAuthentication(String host, InetAddress addr, int port, String protocol, String prompt, String scheme, URL url, Authenticator.RequestorType reqType)
          Ask the authenticator that has been registered with the system for a password.
 URI URI.resolve(String str)
          Constructs a new URI by parsing the given string and then resolving it against this URI.
protected  void URL.set(String protocol, String host, int port, String file, String ref)
          Sets the fields of the URL.
protected  void URL.set(String protocol, String host, int port, String authority, String userInfo, String path, String query, String ref)
          Sets the specified 8 fields of the URL.
 void HttpCookie.setComment(String purpose)
          Specifies a comment that describes a cookie's purpose.
 void HttpCookie.setCommentURL(String purpose)
          Specifies a comment url that describes a cookie's purpose.
static void URLConnection.setDefaultRequestProperty(String key, String value)
          Deprecated. The instance specific setRequestProperty method should be used after an appropriate instance of URLConnection is obtained. Invoking this method will have no effect.
 void HttpCookie.setDomain(String pattern)
          Specifies the domain within which this cookie should be presented.
 void HttpCookie.setPath(String uri)
          Specifies a path for the cookie to which the client should return the cookie.
 void HttpCookie.setPortlist(String ports)
          Specify the portlist of the cookie, which restricts the port(s) to which a cookie may be sent back in a Cookie header.
 void HttpURLConnection.setRequestMethod(String method)
          Set the method for the URL request, one of: GET POST HEAD OPTIONS PUT DELETE TRACE are legal, subject to protocol restrictions.
 void URLConnection.setRequestProperty(String key, String value)
          Sets the general request property.
protected  void URLStreamHandler.setURL(URL u, String protocol, String host, int port, String file, String ref)
          Deprecated. Use setURL(URL, String, String, int, String, String, String, String);
protected  void URLStreamHandler.setURL(URL u, String protocol, String host, int port, String authority, String userInfo, String path, String query, String ref)
          Sets the fields of the URL argument to the indicated values.
 void HttpCookie.setValue(String newValue)
          Assigns a new value to a cookie after the cookie is created.
static String IDN.toASCII(String input)
          Translates a string from Unicode to ASCII Compatible Encoding (ACE), as defined by the ToASCII operation of RFC 3490.
static String IDN.toASCII(String input, int flag)
          Translates a string from Unicode to ASCII Compatible Encoding (ACE), as defined by the ToASCII operation of RFC 3490.
static String IDN.toUnicode(String input)
          Translates a string from ASCII Compatible Encoding (ACE) to Unicode, as defined by the ToUnicode operation of RFC 3490.
static String IDN.toUnicode(String input, int flag)
          Translates a string from ASCII Compatible Encoding (ACE) to Unicode, as defined by the ToUnicode operation of RFC 3490.
static Authenticator.RequestorType Authenticator.RequestorType.valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Proxy.Type Proxy.Type.valueOf(String name)
          Returns the enum constant of this type with the specified name.
 

Method parameters in java.net with type arguments of type String
 Map<String,List<String>> CookieManager.get(URI uri, Map<String,List<String>> requestHeaders)
           
 Map<String,List<String>> CookieManager.get(URI uri, Map<String,List<String>> requestHeaders)
           
abstract  Map<String,List<String>> CookieHandler.get(URI uri, Map<String,List<String>> requestHeaders)
          Gets all the applicable cookies from a cookie cache for the specified uri in the request header.
abstract  Map<String,List<String>> CookieHandler.get(URI uri, Map<String,List<String>> requestHeaders)
          Gets all the applicable cookies from a cookie cache for the specified uri in the request header.
abstract  CacheResponse ResponseCache.get(URI uri, String rqstMethod, Map<String,List<String>> rqstHeaders)
          Retrieve the cached response based on the requesting uri, request method and request headers.
abstract  CacheResponse ResponseCache.get(URI uri, String rqstMethod, Map<String,List<String>> rqstHeaders)
          Retrieve the cached response based on the requesting uri, request method and request headers.
 void CookieManager.put(URI uri, Map<String,List<String>> responseHeaders)
           
 void CookieManager.put(URI uri, Map<String,List<String>> responseHeaders)
           
abstract  void CookieHandler.put(URI uri, Map<String,List<String>> responseHeaders)
          Sets all the applicable cookies, examples are response header fields that are named Set-Cookie2, present in the response headers into a cookie cache.
abstract  void CookieHandler.put(URI uri, Map<String,List<String>> responseHeaders)
          Sets all the applicable cookies, examples are response header fields that are named Set-Cookie2, present in the response headers into a cookie cache.
 

Constructors in java.net with parameters of type String
BindException(String msg)
          Constructs a new BindException with the specified detail message as to why the bind error occurred.
ConnectException(String msg)
          Constructs a new ConnectException with the specified detail message as to why the connect error occurred.
HttpCookie(String name, String value)
          Constructs a cookie with a specified name and value.
HttpRetryException(String detail, int code)
          Constructs a new HttpRetryException from the specified response code and exception detail message
HttpRetryException(String detail, int code, String location)
          Constructs a new HttpRetryException with detail message responseCode and the contents of the Location response header field.
InetSocketAddress(String hostname, int port)
          Creates a socket address from a hostname and a port number.
MalformedURLException(String msg)
          Constructs a MalformedURLException with the specified detail message.
NetPermission(String name)
          Creates a new NetPermission with the specified name.
NetPermission(String name, String actions)
          Creates a new NetPermission object with the specified name.
NoRouteToHostException(String msg)
          Constructs a new NoRouteToHostException with the specified detail message as to why the remote host cannot be reached.
PasswordAuthentication(String userName, char[] password)
          Creates a new PasswordAuthentication object from the given user name and password.
PortUnreachableException(String msg)
          Constructs a new PortUnreachableException with a detail message.
ProtocolException(String host)
          Constructs a new ProtocolException with the specified detail message.
Socket(String host, int port)
          Creates a stream socket and connects it to the specified port number on the named host.
Socket(String host, int port, boolean stream)
          Deprecated. Use DatagramSocket instead for UDP transport.
Socket(String host, int port, InetAddress localAddr, int localPort)
          Creates a socket and connects it to the specified remote host on the specified remote port.
SocketException(String msg)
          Constructs a new SocketException with the specified detail message.
SocketPermission(String host, String action)
          Creates a new SocketPermission object with the specified actions.
SocketTimeoutException(String msg)
          Constructs a new SocketTimeoutException with a detail message.
UnknownHostException(String host)
          Constructs a new UnknownHostException with the specified detail message.
UnknownServiceException(String msg)
          Constructs a new UnknownServiceException with the specified detail message.
URI(String str)
          Constructs a URI by parsing the given string.
URI(String scheme, String ssp, String fragment)
          Constructs a URI from the given components.
URI(String scheme, String userInfo, String host, int port, String path, String query, String fragment)
          Constructs a hierarchical URI from the given components.
URI(String scheme, String host, String path, String fragment)
          Constructs a hierarchical URI from the given components.
URI(String scheme, String authority, String path, String query, String fragment)
          Constructs a hierarchical URI from the given components.
URISyntaxException(String input, String reason)
          Constructs an instance from the given input string and reason.
URISyntaxException(String input, String reason, int index)
          Constructs an instance from the given input string, reason, and error index.
URL(String spec)
          Creates a URL object from the String representation.
URL(String protocol, String host, int port, String file)
          Creates a URL object from the specified protocol, host, port number, and file.
URL(String protocol, String host, int port, String file, URLStreamHandler handler)
          Creates a URL object from the specified protocol, host, port number, file, and handler.
URL(String protocol, String host, String file)
          Creates a URL from the specified protocol name, host name, and file name.
URL(URL context, String spec)
          Creates a URL by parsing the given spec within a specified context.
URL(URL context, String spec, URLStreamHandler handler)
          Creates a URL by parsing the given spec with the specified handler within a specified context.
 

Uses of String in java.nio
 

Methods in java.nio that return String
 String DoubleBuffer.toString()
          Returns a string summarizing the state of this buffer.
 String FloatBuffer.toString()
          Returns a string summarizing the state of this buffer.
 String LongBuffer.toString()
          Returns a string summarizing the state of this buffer.
 String IntBuffer.toString()
          Returns a string summarizing the state of this buffer.
 String ShortBuffer.toString()
          Returns a string summarizing the state of this buffer.
 String ByteOrder.toString()
          Constructs a string describing this object.
 String CharBuffer.toString()
          Returns a string containing the characters in this buffer.
 String ByteBuffer.toString()
          Returns a string summarizing the state of this buffer.
 

Methods in java.nio with parameters of type String
 CharBuffer CharBuffer.put(String src)
          Relative bulk put method  (optional operation).
 CharBuffer CharBuffer.put(String src, int start, int end)
          Relative bulk put method  (optional operation).
 

Uses of String in java.nio.channels
 

Methods in java.nio.channels that return String
 String FileLock.toString()
          Returns a string describing the range, type, and validity of this lock.
 String FileChannel.MapMode.toString()
          Returns a string describing this file-mapping mode.
 

Methods in java.nio.channels with parameters of type String
static Reader Channels.newReader(ReadableByteChannel ch, String csName)
          Constructs a reader that decodes bytes from the given channel according to the named charset.
static Writer Channels.newWriter(WritableByteChannel ch, String csName)
          Constructs a writer that encodes characters according to the named charset and writes the resulting bytes to the given channel.
 

Uses of String in java.nio.charset
 

Methods in java.nio.charset that return String
 String Charset.displayName()
          Returns this charset's human-readable name for the default locale.
 String Charset.displayName(Locale locale)
          Returns this charset's human-readable name for the given locale.
 String UnsupportedCharsetException.getCharsetName()
          Retrieves the name of the unsupported charset.
 String IllegalCharsetNameException.getCharsetName()
          Retrieves the illegal charset name.
 String MalformedInputException.getMessage()
           
 String UnmappableCharacterException.getMessage()
           
 String Charset.name()
          Returns this charset's canonical name.
 String CharsetDecoder.replacement()
          Returns this decoder's replacement value.
 String CoderResult.toString()
          Returns a string describing this coder result.
 String CodingErrorAction.toString()
          Returns a string describing this action.
 String Charset.toString()
          Returns a string describing this charset.
 

Methods in java.nio.charset that return types with arguments of type String
 Set<String> Charset.aliases()
          Returns a set containing this charset's aliases.
static SortedMap<String,Charset> Charset.availableCharsets()
          Constructs a sorted map from canonical charset names to charset objects.
 

Methods in java.nio.charset with parameters of type String
 ByteBuffer Charset.encode(String str)
          Convenience method that encodes a string into bytes in this charset.
static Charset Charset.forName(String charsetName)
          Returns a charset object for the named charset.
protected  void CharsetDecoder.implReplaceWith(String newReplacement)
          Reports a change to this decoder's replacement value.
static boolean Charset.isSupported(String charsetName)
          Tells whether the named charset is supported.
 CharsetDecoder CharsetDecoder.replaceWith(String newReplacement)
          Changes this decoder's replacement value.
 

Constructors in java.nio.charset with parameters of type String
Charset(String canonicalName, String[] aliases)
          Initializes a new charset with the given canonical name and alias set.
Charset(String canonicalName, String[] aliases)
          Initializes a new charset with the given canonical name and alias set.
IllegalCharsetNameException(String charsetName)
          Constructs an instance of this class.
UnsupportedCharsetException(String charsetName)
          Constructs an instance of this class.
 

Uses of String in java.nio.charset.spi
 

Methods in java.nio.charset.spi with parameters of type String
abstract  Charset CharsetProvider.charsetForName(String charsetName)
          Retrieves a charset for the given charset name.
 

Uses of String in java.rmi
 

Methods in java.rmi that return String
 String RemoteException.getMessage()
          Returns the detail message, including the message from the cause, if any, of this exception.
static String[] Naming.list(String name)
          Returns an array of the names bound in the registry.
 

Methods in java.rmi with parameters of type String
static void Naming.bind(String name, Remote obj)
          Binds the specified name to a remote object.
static String[] Naming.list(String name)
          Returns an array of the names bound in the registry.
static Remote Naming.lookup(String name)
          Returns a reference, a stub, for the remote object associated with the specified name.
static void Naming.rebind(String name, Remote obj)
          Rebinds the specified name to a new remote object.
static void Naming.unbind(String name)
          Destroys the binding for the specified name that is associated with a remote object.
 

Constructors in java.rmi with parameters of type String
AccessException(String s)
          Constructs an AccessException with the specified detail message.
AccessException(String s, Exception ex)
          Constructs an AccessException with the specified detail message and nested exception.
AlreadyBoundException(String s)
          Constructs an AlreadyBoundException with the specified detail message.
ConnectException(String s)
          Constructs a ConnectException with the specified detail message.
ConnectException(String s, Exception ex)
          Constructs a ConnectException with the specified detail message and nested exception.
ConnectIOException(String s)
          Constructs a ConnectIOException with the specified detail message.
ConnectIOException(String s, Exception ex)
          Constructs a ConnectIOException with the specified detail message and nested exception.
MarshalException(String s)
          Constructs a MarshalException with the specified detail message.
MarshalException(String s, Exception ex)
          Constructs a MarshalException with the specified detail message and nested exception.
NoSuchObjectException(String s)
          Constructs a NoSuchObjectException with the specified detail message.
NotBoundException(String s)
          Constructs a NotBoundException with the specified detail message.
RemoteException(String s)
          Constructs a RemoteException with the specified detail message.
RemoteException(String s, Throwable cause)
          Constructs a RemoteException with the specified detail message and cause.
RMISecurityException(String name)
          Deprecated. no replacement
RMISecurityException(String name, String arg)
          Deprecated. no replacement
ServerError(String s, Error err)
          Constructs a ServerError with the specified detail message and nested error.
ServerException(String s)
          Constructs a ServerException with the specified detail message.
ServerException(String s, Exception ex)
          Constructs a ServerException with the specified detail message and nested exception.
ServerRuntimeException(String s, Exception ex)
          Deprecated. no replacement
StubNotFoundException(String s)
          Constructs a StubNotFoundException with the specified detail message.
StubNotFoundException(String s, Exception ex)
          Constructs a StubNotFoundException with the specified detail message and nested exception.
UnexpectedException(String s)
          Constructs an UnexpectedException with the specified detail message.
UnexpectedException(String s, Exception ex)
          Constructs a UnexpectedException with the specified detail message and nested exception.
UnknownHostException(String s)
          Constructs an UnknownHostException with the specified detail message.
UnknownHostException(String s, Exception ex)
          Constructs an UnknownHostException with the specified detail message and nested exception.
UnmarshalException(String s)
          Constructs an UnmarshalException with the specified detail message.
UnmarshalException(String s, Exception ex)
          Constructs an UnmarshalException with the specified detail message and nested exception.
 

Uses of String in java.rmi.activation
 

Methods in java.rmi.activation that return String
 String ActivationGroupDesc.getClassName()
          Returns the group's class name (possibly null).
 String ActivationDesc.getClassName()
          Returns the class name for the object specified by this descriptor.
 String[] ActivationGroupDesc.CommandEnvironment.getCommandOptions()
          Fetch the configured java command options.
 String ActivationGroupDesc.CommandEnvironment.getCommandPath()
          Fetch the configured path-qualified java command name.
 String ActivationGroupDesc.getLocation()
          Returns the group's code location.
 String ActivationDesc.getLocation()
          Returns the code location for the object specified by this descriptor.
 String ActivationException.getMessage()
          Returns the detail message, including the message from the cause, if any, of this exception.
 

Methods in java.rmi.activation with parameters of type String
static ActivationID Activatable.exportObject(Remote obj, String location, MarshalledObject<?> data, boolean restart, int port)
          Registers an activation descriptor (with the specified location, data, and restart mode) for the specified object, and exports that object with the specified port.
static ActivationID Activatable.exportObject(Remote obj, String location, MarshalledObject<?> data, boolean restart, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)
          Registers an activation descriptor (with the specified location, data, and restart mode) for the specified object, and exports that object with the specified port, and the specified client and server socket factories.
 

Constructors in java.rmi.activation with parameters of type String
Activatable(String location, MarshalledObject<?> data, boolean restart, int port)
          Constructs an activatable remote object by registering an activation descriptor (with the specified location, data, and restart mode) for this object, and exporting the object with the specified port.
Activatable(String location, MarshalledObject<?> data, boolean restart, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)
          Constructs an activatable remote object by registering an activation descriptor (with the specified location, data, and restart mode) for this object, and exporting the object with the specified port, and specified client and server socket factories.
ActivateFailedException(String s)
          Constructs an ActivateFailedException with the specified detail message.
ActivateFailedException(String s, Exception ex)
          Constructs an ActivateFailedException with the specified detail message and nested exception.
ActivationDesc(ActivationGroupID groupID, String className, String location, MarshalledObject<?> data)
          Constructs an object descriptor for an object whose class name is className that can be loaded from the code location and whose initialization information is data.
ActivationDesc(ActivationGroupID groupID, String className, String location, MarshalledObject<?> data, boolean restart)
          Constructs an object descriptor for an object whose class name is className that can be loaded from the code location and whose initialization information is data.
ActivationDesc(String className, String location, MarshalledObject<?> data)
          Constructs an object descriptor for an object whose class name is className, that can be loaded from the code location and whose initialization information is data.
ActivationDesc(String className, String location, MarshalledObject<?> data, boolean restart)
          Constructs an object descriptor for an object whose class name is className, that can be loaded from the code location and whose initialization information is data.
ActivationException(String s)
          Constructs an ActivationException with the specified detail message.
ActivationException(String s, Throwable cause)
          Constructs an ActivationException with the specified detail message and cause.
ActivationGroupDesc.CommandEnvironment(String cmdpath, String[] argv)
          Create a CommandEnvironment with all the necessary information.
ActivationGroupDesc.CommandEnvironment(String cmdpath, String[] argv)
          Create a CommandEnvironment with all the necessary information.
ActivationGroupDesc(String className, String location, MarshalledObject<?> data, Properties overrides, ActivationGroupDesc.CommandEnvironment cmd)
          Specifies an alternate group implementation and execution environment to be used for the group.
UnknownGroupException(String s)
          Constructs an UnknownGroupException with the specified detail message.
UnknownObjectException(String s)
          Constructs an UnknownObjectException with the specified detail message.
 

Uses of String in java.rmi.dgc
 

Methods in java.rmi.dgc that return String
 String VMID.toString()
          Return string representation of this VMID.
 

Uses of String in java.rmi.registry
 

Methods in java.rmi.registry that return String
 String[] Registry.list()
          Returns an array of the names bound in this registry.
 

Methods in java.rmi.registry with parameters of type String
 void Registry.bind(String name, Remote obj)
          Binds a remote reference to the specified name in this registry.
static Registry LocateRegistry.getRegistry(String host)
          Returns a reference to the remote object Registry on the specified host on the default registry port of 1099.
static Registry LocateRegistry.getRegistry(String host, int port)
          Returns a reference to the remote object Registry on the specified host and port.
static Registry LocateRegistry.getRegistry(String host, int port, RMIClientSocketFactory csf)
          Returns a locally created remote reference to the remote object Registry on the specified host and port.
 Remote Registry.lookup(String name)
          Returns the remote reference bound to the specified name in this registry.
 void Registry.rebind(String name, Remote obj)
          Replaces the binding for the specified name in this registry with the supplied remote reference.
 Registry RegistryHandler.registryStub(String host, int port)
          Deprecated. no replacement. As of the Java 2 platform v1.2, RMI no longer uses the RegistryHandler to obtain the registry's stub.
 void Registry.unbind(String name)
          Removes the binding for the specified name in this registry.
 

Uses of String in java.rmi.server
 

Fields in java.rmi.server declared as String
static String LoaderHandler.packagePrefix
          Deprecated. package of system LoaderHandler implementation.
static String RemoteRef.packagePrefix
          Initialize the server package prefix: assumes that the implementation of server ref classes (e.g., UnicastRef, UnicastServerRef) are located in the package defined by the prefix.
 

Methods in java.rmi.server that return String
static String RMIClassLoader.getClassAnnotation(Class<?> cl)
          Returns the annotation string (representing a location for the class definition) that RMI will use to annotate the class descriptor when marshalling objects of the given class.
abstract  String RMIClassLoaderSpi.getClassAnnotation(Class<?> cl)
          Provides the implementation for RMIClassLoader.getClassAnnotation(Class).
 String ServerRef.getClientHost()
          Returns the hostname of the current client.
static String RemoteServer.getClientHost()
          Returns a string representation of the client host for the remote method invocation being processed in the current thread.
 String ServerCloneException.getMessage()
          Returns the detail message, including the message from the cause, if any, of this exception.
 String Operation.getOperation()
          Deprecated. no replacement
 String RemoteRef.getRefClass(ObjectOutput out)
          Returns the class name of the ref type to be serialized onto the stream 'out'.
 String RemoteRef.remoteToString()
          Returns a String that represents the reference of this remote object.
 String LogStream.toString()
          Deprecated. no replacement
 String UID.toString()
          Returns a string representation of this UID.
 String ObjID.toString()
          Returns a string representation of this object identifier.
 String Operation.toString()
          Deprecated. no replacement
 String RemoteObject.toString()
          Returns a String that represents the value of this remote object.
 

Methods in java.rmi.server with parameters of type String
abstract  Socket RMISocketFactory.createSocket(String host, int port)
          Creates a client socket connected to the specified host and port.
 Socket RMIClientSocketFactory.createSocket(String host, int port)
          Create a client socket connected to the specified host and port.
static ClassLoader RMIClassLoader.getClassLoader(String codebase)
          Returns a class loader that loads classes from the given codebase URL path.
abstract  ClassLoader RMIClassLoaderSpi.getClassLoader(String codebase)
          Provides the implementation for RMIClassLoader.getClassLoader(String).
 Class<?> LoaderHandler.loadClass(String name)
          Deprecated. no replacement
static Class<?> RMIClassLoader.loadClass(String name)
          Deprecated. replaced by loadClass(String,String) method
static Class<?> RMIClassLoader.loadClass(String codebase, String name)
          Loads a class from a codebase URL path.
static Class<?> RMIClassLoader.loadClass(String codebase, String name, ClassLoader defaultLoader)
          Loads a class from a codebase URL path, optionally using the supplied loader.
abstract  Class<?> RMIClassLoaderSpi.loadClass(String codebase, String name, ClassLoader defaultLoader)
          Provides the implementation for RMIClassLoader.loadClass(URL,String), RMIClassLoader.loadClass(String,String), and RMIClassLoader.loadClass(String,String,ClassLoader).
 Class<?> LoaderHandler.loadClass(URL codebase, String name)
          Deprecated. no replacement
static Class<?> RMIClassLoader.loadClass(URL codebase, String name)
          Loads a class from a codebase URL.
static Class<?> RMIClassLoader.loadProxyClass(String codebase, String[] interfaces, ClassLoader defaultLoader)
          Loads a dynamic proxy class (see Proxy) that implements a set of interfaces with the given names from a codebase URL path.
static Class<?> RMIClassLoader.loadProxyClass(String codebase, String[] interfaces, ClassLoader defaultLoader)
          Loads a dynamic proxy class (see Proxy) that implements a set of interfaces with the given names from a codebase URL path.
abstract  Class<?> RMIClassLoaderSpi.loadProxyClass(String codebase, String[] interfaces, ClassLoader defaultLoader)
          Provides the implementation for RMIClassLoader.loadProxyClass(String,String[],ClassLoader).
abstract  Class<?> RMIClassLoaderSpi.loadProxyClass(String codebase, String[] interfaces, ClassLoader defaultLoader)
          Provides the implementation for RMIClassLoader.loadProxyClass(String,String[],ClassLoader).
static LogStream LogStream.log(String name)
          Deprecated. no replacement
static int LogStream.parseLevel(String s)
          Deprecated. no replacement
 

Constructors in java.rmi.server with parameters of type String
ExportException(String s)
          Constructs an ExportException with the specified detail message.
ExportException(String s, Exception ex)
          Constructs an ExportException with the specified detail message and nested exception.
Operation(String op)
          Deprecated. no replacement
ServerCloneException(String s)
          Constructs a ServerCloneException with the specified detail message.
ServerCloneException(String s, Exception cause)
          Constructs a ServerCloneException with the specified detail message and cause.
ServerNotActiveException(String s)
          Constructs an ServerNotActiveException with the specified detail message.
SkeletonMismatchException(String s)
          Deprecated. no replacement
SkeletonNotFoundException(String s)
          Deprecated. Constructs a SkeletonNotFoundException with the specified detail message.
SkeletonNotFoundException(String s, Exception ex)
          Deprecated. Constructs a SkeletonNotFoundException with the specified detail message and nested exception.
SocketSecurityException(String s)
          Constructs an SocketSecurityException with the specified detail message.
SocketSecurityException(String s, Exception ex)
          Constructs an SocketSecurityException with the specified detail message and nested exception.
 

Uses of String in java.security
 

Methods in java.security that return String
abstract  String KeyStoreSpi.engineGetCertificateAlias(Certificate cert)
          Returns the (alias) name of the first keystore entry whose certificate matches the given certificate.
protected abstract  String AlgorithmParametersSpi.engineToString()
          Returns a formatted string describing the parameters.
 String UnresolvedPermission.getActions()
          Returns the canonical string representation of the actions, which currently is the empty string "", since there are no actions for an UnresolvedPermission.
 String AllPermission.getActions()
          Returns the canonical string representation of the actions.
 String BasicPermission.getActions()
          Returns the canonical string representation of the actions, which currently is the empty string "", since there are no actions for a BasicPermission.
abstract  String Permission.getActions()
          Returns the actions as a String.
 String KeyPairGenerator.getAlgorithm()
          Returns the standard name of the algorithm for this key pair generator.
 String SignedObject.getAlgorithm()
          Retrieves the name of the signature algorithm.
 String AlgorithmParameterGenerator.getAlgorithm()
          Returns the standard name of the algorithm this parameter generator is associated with.
 String KeyFactory.getAlgorithm()
          Gets the name of the algorithm associated with this KeyFactory.
 String Signature.getAlgorithm()
          Returns the name of the algorithm for this signature object.
 String AlgorithmParameters.getAlgorithm()
          Returns the name of the algorithm associated with this parameter object.
 String MessageDigest.getAlgorithm()
          Returns a string that identifies the algorithm, independent of implementation details.
 String SecureRandom.getAlgorithm()
          Returns the name of the algorithm implemented by this SecureRandom object.
 String Provider.Service.getAlgorithm()
          Return the name of the algorithm of this service.
 String Key.getAlgorithm()
          Returns the standard algorithm name for this key.
static String Security.getAlgorithmProperty(String algName, String propName)
          Deprecated. This method used to return the value of a proprietary property in the master file of the "SUN" Cryptographic Service Provider in order to determine how to parse algorithm-specific parameters. Use the new provider-based and algorithm-independent AlgorithmParameters and KeyFactory engine classes (introduced in the J2SE version 1.2 platform) instead.
 String Provider.Service.getAttribute(String name)
          Return the value of the specified attribute or null if this attribute is not set for this Service.
 String KeyStore.getCertificateAlias(Certificate cert)
          Returns the (alias) name of the first keystore entry whose certificate matches the given certificate.
 String Provider.Service.getClassName()
          Return the name of the class implementing this service.
static String KeyStore.getDefaultType()
          Returns the default keystore type as specified in the Java security properties file, or the string "jks" (acronym for "Java keystore") if no such property exists.
 String Certificate.getFormat()
          Deprecated. Returns the name of the coding format.
 String Key.getFormat()
          Returns the name of the primary encoding format of this key, or null if this key does not support encoding.
 String Identity.getInfo()
          Deprecated. Returns general information previously specified for this identity.
 String Provider.getInfo()
          Returns a human-readable description of the provider and its services.
 String Identity.getName()
          Deprecated. Returns this identity's name.
 String Provider.getName()
          Returns the name of this provider.
 String Principal.getName()
          Returns the name of this principal.
 String Permission.getName()
          Returns the name of this Permission.
static String Security.getProperty(String key)
          Gets a security property value.
 String Provider.getProperty(String key)
           
 String KeyStore.getType()
          Returns the type of this keystore.
 String Policy.getType()
          Return the type of this Policy.
 String Provider.Service.getType()
          Get the type of this service.
 String UnresolvedPermission.getUnresolvedActions()
          Get the actions for the underlying permission that has not been resolved.
 String UnresolvedPermission.getUnresolvedName()
          Get the target name of the underlying permission that has not been resolved.
 String UnresolvedPermission.getUnresolvedType()
          Get the type (class name) of the underlying permission that has not been resolved.
 String DigestOutputStream.toString()
          Prints a string representation of this digest output stream and its associated message digest object.
 String DigestInputStream.toString()
          Prints a string representation of this digest input stream and its associated message digest object.
 String Signer.toString()
          Deprecated. Returns a string of information about the signer.
 String UnresolvedPermission.toString()
          Returns a string describing this UnresolvedPermission.
 String KeyStore.PrivateKeyEntry.toString()
          Returns a string representation of this PrivateKeyEntry.
 String KeyStore.SecretKeyEntry.toString()
          Returns a string representation of this SecretKeyEntry.
 String KeyStore.TrustedCertificateEntry.toString()
          Returns a string representation of this TrustedCertificateEntry.
 String Identity.toString()
          Deprecated. Returns a short string describing this identity, telling its name and its scope (if any).
 String IdentityScope.toString()
          Deprecated. Returns a string representation of this identity scope, including its name, its scope name, and the number of identities in this identity scope.
 String Signature.toString()
          Returns a string representation of this signature object, providing information that includes the state of the object and the name of the algorithm used.
 String AlgorithmParameters.toString()
          Returns a formatted string describing the parameters.
 String PrivilegedActionException.toString()
           
 String MessageDigest.toString()
          Returns a string representation of this message digest object.
 String Timestamp.toString()
          Returns a string describing this timestamp.
 String Provider.toString()
          Returns a string with the name and the version number of this provider.
 String Provider.Service.toString()
          Return a String representation of this service.
 String CodeSigner.toString()
          Returns a string describing this code signer.
 String PermissionCollection.toString()
          Returns a string describing this PermissionCollection object, providing information about all the permissions it contains.
 String Principal.toString()
          Returns a string representation of this principal.
 String Permission.toString()
          Returns a string describing this Permission.
 String CodeSource.toString()
          Returns a string describing this CodeSource, telling its URL and certificates.
 String ProtectionDomain.toString()
          Convert a ProtectionDomain to a String.
 String Certificate.toString(boolean detailed)
          Deprecated. Returns a string that represents the contents of the certificate.
 String Identity.toString(boolean detailed)
          Deprecated. Returns a string representation of this identity, with optionally more details than that provided by the toString method without any arguments.
 

Methods in java.security that return types with arguments of type String
 Enumeration<String> KeyStore.aliases()
          Lists all the alias names of this keystore.
abstract  Enumeration<String> KeyStoreSpi.engineAliases()
          Lists all the alias names of this keystore.
static Set<String> Security.getAlgorithms(String serviceName)
          Returns a Set of Strings containing the names of all available algorithms or types for the specified Java cryptographic service (e.g., Signature, MessageDigest, Cipher, Mac, KeyStore).
 

Methods in java.security with parameters of type String
 boolean KeyStore.containsAlias(String alias)
          Checks if the given alias exists in this keystore.
protected  Class<?> SecureClassLoader.defineClass(String name, byte[] b, int off, int len, CodeSource cs)
          Converts an array of bytes into an instance of class Class, with an optional CodeSource.
protected  Class<?> SecureClassLoader.defineClass(String name, ByteBuffer b, CodeSource cs)
          Converts a ByteBuffer into an instance of class Class, with an optional CodeSource.
 void KeyStore.deleteEntry(String alias)
          Deletes the entry identified by the given alias from this keystore.
abstract  boolean KeyStoreSpi.engineContainsAlias(String alias)
          Checks if the given alias exists in this keystore.
abstract  void KeyStoreSpi.engineDeleteEntry(String alias)
          Deletes the entry identified by the given alias from this keystore.
 boolean KeyStoreSpi.engineEntryInstanceOf(String alias, Class<? extends KeyStore.Entry> entryClass)
          Determines if the keystore Entry for the specified alias is an instance or subclass of the specified entryClass.
abstract  Certificate KeyStoreSpi.engineGetCertificate(String alias)
          Returns the certificate associated with the given alias.
abstract  Certificate[] KeyStoreSpi.engineGetCertificateChain(String alias)
          Returns the certificate chain associated with the given alias.
abstract  Date KeyStoreSpi.engineGetCreationDate(String alias)
          Returns the creation date of the entry identified by the given alias.
protected abstract  byte[] AlgorithmParametersSpi.engineGetEncoded(String format)
          Returns the parameters encoded in the specified format.
 KeyStore.Entry KeyStoreSpi.engineGetEntry(String alias, KeyStore.ProtectionParameter protParam)
          Gets a KeyStore.Entry for the specified alias with the specified protection parameter.
abstract  Key KeyStoreSpi.engineGetKey(String alias, char[] password)
          Returns the key associated with the given alias, using the given password to recover it.
protected abstract  Object SignatureSpi.engineGetParameter(String param)
          Deprecated.  
protected abstract  void AlgorithmParametersSpi.engineInit(byte[] params, String format)
          Imports the parameters from params and decodes them according to the specified decoding format.
abstract  boolean KeyStoreSpi.engineIsCertificateEntry(String alias)
          Returns true if the entry identified by the given alias was created by a call to setCertificateEntry, or created by a call to setEntry with a TrustedCertificateEntry.
abstract  boolean KeyStoreSpi.engineIsKeyEntry(String alias)
          Returns true if the entry identified by the given alias was created by a call to setKeyEntry, or created by a call to setEntry with a PrivateKeyEntry or a SecretKeyEntry.
abstract  void KeyStoreSpi.engineSetCertificateEntry(String alias, Certificate cert)
          Assigns the given certificate to the given alias.
 void KeyStoreSpi.engineSetEntry(String alias, KeyStore.Entry entry, KeyStore.ProtectionParameter protParam)
          Saves a KeyStore.Entry under the specified alias.
abstract  void KeyStoreSpi.engineSetKeyEntry(String alias, byte[] key, Certificate[] chain)
          Assigns the given key (that has already been protected) to the given alias.
abstract  void KeyStoreSpi.engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain)
          Assigns the given key to the given alias, protecting it with the given password.
protected abstract  void SignatureSpi.engineSetParameter(String param, Object value)
          Deprecated. Replaced by engineSetParameter.
 boolean KeyStore.entryInstanceOf(String alias, Class<? extends KeyStore.Entry> entryClass)
          Determines if the keystore Entry for the specified alias is an instance or subclass of the specified entryClass.
static String Security.getAlgorithmProperty(String algName, String propName)
          Deprecated. This method used to return the value of a proprietary property in the master file of the "SUN" Cryptographic Service Provider in order to determine how to parse algorithm-specific parameters. Use the new provider-based and algorithm-independent AlgorithmParameters and KeyFactory engine classes (introduced in the J2SE version 1.2 platform) instead.
static Set<String> Security.getAlgorithms(String serviceName)
          Returns a Set of Strings containing the names of all available algorithms or types for the specified Java cryptographic service (e.g., Signature, MessageDigest, Cipher, Mac, KeyStore).
 String Provider.Service.getAttribute(String name)
          Return the value of the specified attribute or null if this attribute is not set for this Service.
 Certificate KeyStore.getCertificate(String alias)
          Returns the certificate associated with the given alias.
 Certificate[] KeyStore.getCertificateChain(String alias)
          Returns the certificate chain associated with the given alias.
 Date KeyStore.getCreationDate(String alias)
          Returns the creation date of the entry identified by the given alias.
 byte[] AlgorithmParameters.getEncoded(String format)
          Returns the parameters encoded in the specified scheme.
 KeyStore.Entry KeyStore.getEntry(String alias, KeyStore.ProtectionParameter protParam)
          Gets a keystore Entry for the specified alias with the specified protection parameter.
abstract  Identity IdentityScope.getIdentity(String name)
          Deprecated. Returns the identity in this scope with the specified name (if any).
static KeyPairGenerator KeyPairGenerator.getInstance(String algorithm)
          Returns a KeyPairGenerator object that generates public/private key pairs for the specified algorithm.
static AlgorithmParameterGenerator AlgorithmParameterGenerator.getInstance(String algorithm)
          Returns an AlgorithmParameterGenerator object for generating a set of parameters to be used with the specified algorithm.
static KeyFactory KeyFactory.getInstance(String algorithm)
          Returns a KeyFactory object that converts public/private keys of the specified algorithm.
static KeyStore KeyStore.getInstance(String type)
          Returns a keystore object of the specified type.
static Signature Signature.getInstance(String algorithm)
          Returns a Signature object that implements the specified signature algorithm.
static AlgorithmParameters AlgorithmParameters.getInstance(String algorithm)
          Returns a parameter object for the specified algorithm.
static MessageDigest MessageDigest.getInstance(String algorithm)
          Returns a MessageDigest object that implements the specified digest algorithm.
static SecureRandom SecureRandom.getInstance(String algorithm)
          Returns a SecureRandom object that implements the specified Random Number Generator (RNG) algorithm.
static Policy Policy.getInstance(String type, Policy.Parameters params)
          Returns a Policy object of the specified type.
static Policy Policy.getInstance(String type, Policy.Parameters params, Provider provider)
          Returns a Policy object of the specified type.
static Policy Policy.getInstance(String type, Policy.Parameters params, String provider)
          Returns a Policy object of the specified type.
static KeyPairGenerator KeyPairGenerator.getInstance(String algorithm, Provider provider)
          Returns a KeyPairGenerator object that generates public/private key pairs for the specified algorithm.
static AlgorithmParameterGenerator AlgorithmParameterGenerator.getInstance(String algorithm, Provider provider)
          Returns an AlgorithmParameterGenerator object for generating a set of parameters to be used with the specified algorithm.
static KeyFactory KeyFactory.getInstance(String algorithm, Provider provider)
          Returns a KeyFactory object that converts public/private keys of the specified algorithm.
static KeyStore KeyStore.getInstance(String type, Provider provider)
          Returns a keystore object of the specified type.
static Signature Signature.getInstance(String algorithm, Provider provider)
          Returns a Signature object that implements the specified signature algorithm.
static AlgorithmParameters AlgorithmParameters.getInstance(String algorithm, Provider provider)
          Returns a parameter object for the specified algorithm.
static MessageDigest MessageDigest.getInstance(String algorithm, Provider provider)
          Returns a MessageDigest object that implements the specified digest algorithm.
static SecureRandom SecureRandom.getInstance(String algorithm, Provider provider)
          Returns a SecureRandom object that implements the specified Random Number Generator (RNG) algorithm.
static KeyPairGenerator KeyPairGenerator.getInstance(String algorithm, String provider)
          Returns a KeyPairGenerator object that generates public/private key pairs for the specified algorithm.
static AlgorithmParameterGenerator AlgorithmParameterGenerator.getInstance(String algorithm, String provider)
          Returns an AlgorithmParameterGenerator object for generating a set of parameters to be used with the specified algorithm.
static KeyFactory KeyFactory.getInstance(String algorithm, String provider)
          Returns a KeyFactory object that converts public/private keys of the specified algorithm.
static KeyStore KeyStore.getInstance(String type, String provider)
          Returns a keystore object of the specified type.
static Signature Signature.getInstance(String algorithm, String provider)
          Returns a Signature object that implements the specified signature algorithm.
static AlgorithmParameters AlgorithmParameters.getInstance(String algorithm, String provider)
          Returns a parameter object for the specified algorithm.
static MessageDigest MessageDigest.getInstance(String algorithm, String provider)
          Returns a MessageDigest object that implements the specified digest algorithm.
static SecureRandom SecureRandom.getInstance(String algorithm, String provider)
          Returns a SecureRandom object that implements the specified Random Number Generator (RNG) algorithm.
 Key KeyStore.getKey(String alias, char[] password)
          Returns the key associated with the given alias, using the given password to recover it.
 Object Signature.getParameter(String param)
          Deprecated.  
static String Security.getProperty(String key)
          Gets a security property value.
 String Provider.getProperty(String key)
           
abstract  KeyStore.ProtectionParameter KeyStore.Builder.getProtectionParameter(String alias)
          Returns the ProtectionParameters that should be used to obtain the Entry with the given alias.
static Provider Security.getProvider(String name)
          Returns the provider installed with the specified name, if any.
static Provider[] Security.getProviders(String filter)
          Returns an array containing all installed providers that satisfy the specified selection criterion, or null if no such providers have been installed.
 Provider.Service Provider.getService(String type, String algorithm)
          Get the service describing this Provider's implementation of the specified type of this algorithm or alias.
 void AlgorithmParameters.init(byte[] params, String format)
          Imports the parameters from params and decodes them according to the specified decoding scheme.
 boolean KeyStore.isCertificateEntry(String alias)
          Returns true if the entry identified by the given alias was created by a call to setCertificateEntry, or created by a call to setEntry with a TrustedCertificateEntry.
 boolean KeyStore.isKeyEntry(String alias)
          Returns true if the entry identified by the given alias was created by a call to setKeyEntry, or created by a call to setEntry with a PrivateKeyEntry or a SecretKeyEntry.
static KeyStore.Builder KeyStore.Builder.newInstance(String type, Provider provider, File file, KeyStore.ProtectionParameter protection)
          Returns a new Builder object.
static KeyStore.Builder KeyStore.Builder.newInstance(String type, Provider provider, KeyStore.ProtectionParameter protection)
          Returns a new Builder object.
static void Security.removeProvider(String name)
          Removes the provider with the specified name.
 void KeyStore.setCertificateEntry(String alias, Certificate cert)
          Assigns the given trusted certificate to the given alias.
 void KeyStore.setEntry(String alias, KeyStore.Entry entry, KeyStore.ProtectionParameter protParam)
          Saves a keystore Entry under the specified alias.
 void Identity.setInfo(String info)
          Deprecated. Specifies a general information string for this identity.
 void KeyStore.setKeyEntry(String alias, byte[] key, Certificate[] chain)
          Assigns the given key (that has already been protected) to the given alias.
 void KeyStore.setKeyEntry(String alias, Key key, char[] password, Certificate[] chain)
          Assigns the given key to the given alias, protecting it with the given password.
 void Signature.setParameter(String param, Object value)
          Deprecated. Use setParameter.
static void Security.setProperty(String key, String datum)
          Sets a security property value.
static KeyRep.Type KeyRep.Type.valueOf(String name)
          Returns the enum constant of this type with the specified name.
 

Method parameters in java.security with type arguments of type String
static Provider[] Security.getProviders(Map<String,String> filter)
          Returns an array containing all installed providers that satisfy the specified* selection criteria, or null if no such providers have been installed.
static Provider[] Security.getProviders(Map<String,String> filter)
          Returns an array containing all installed providers that satisfy the specified* selection criteria, or null if no such providers have been installed.
 

Constructors in java.security with parameters of type String
AccessControlException(String s)
          Constructs an AccessControlException with the specified, detailed message.
AccessControlException(String s, Permission p)
          Constructs an AccessControlException with the specified, detailed message, and the requested permission that caused the exception.
AlgorithmParameterGenerator(AlgorithmParameterGeneratorSpi paramGenSpi, Provider provider, String algorithm)
          Creates an AlgorithmParameterGenerator object.
AlgorithmParameters(AlgorithmParametersSpi paramSpi, Provider provider, String algorithm)
          Creates an AlgorithmParameters object.
AllPermission(String name, String actions)
          Creates a new AllPermission object.
AuthProvider(String name, double version, String info)
          Constructs a provider with the specified name, version number, and information.
BasicPermission(String name)
          Creates a new BasicPermission with the specified name.
BasicPermission(String name, String actions)
          Creates a new BasicPermission object with the specified name.
DigestException(String msg)
          Constructs a DigestException with the specified detail message.
DigestException(String message, Throwable cause)
          Creates a DigestException with the specified detail message and cause.
GeneralSecurityException(String msg)
          Constructs a GeneralSecurityException with the specified detail message.
GeneralSecurityException(String message, Throwable cause)
          Creates a GeneralSecurityException with the specified detail message and cause.
Identity(String name)
          Deprecated. Constructs an identity with the specified name and no scope.
Identity(String name, IdentityScope scope)
          Deprecated. Constructs an identity with the specified name and scope.
IdentityScope(String name)
          Deprecated. Constructs a new identity scope with the specified name.
IdentityScope(String name, IdentityScope scope)
          Deprecated. Constructs a new identity scope with the specified name and scope.
InvalidAlgorithmParameterException(String msg)
          Constructs an InvalidAlgorithmParameterException with the specified detail message.
InvalidAlgorithmParameterException(String message, Throwable cause)
          Creates a InvalidAlgorithmParameterException with the specified detail message and cause.
InvalidKeyException(String msg)
          Constructs an InvalidKeyException with the specified detail message.
InvalidKeyException(String message, Throwable cause)
          Creates a InvalidKeyException with the specified detail message and cause.
InvalidParameterException(String msg)
          Constructs an InvalidParameterException with the specified detail message.
KeyException(String msg)
          Constructs a KeyException with the specified detail message.
KeyException(String message, Throwable cause)
          Creates a KeyException with the specified detail message and cause.
KeyFactory(KeyFactorySpi keyFacSpi, Provider provider, String algorithm)
          Creates a KeyFactory object.
KeyManagementException(String msg)
          Constructs a KeyManagementException with the specified detail message.
KeyManagementException(String message, Throwable cause)
          Creates a KeyManagementException with the specified detail message and cause.
KeyPairGenerator(String algorithm)
          Creates a KeyPairGenerator object for the specified algorithm.
KeyRep(KeyRep.Type type, String algorithm, String format, byte[] encoded)
          Construct the alternate Key class.
KeyStore(KeyStoreSpi keyStoreSpi, Provider provider, String type)
          Creates a KeyStore object of the given type, and encapsulates the given provider implementation (SPI object) in it.
KeyStoreException(String msg)
          Constructs a KeyStoreException with the specified detail message.
KeyStoreException(String message, Throwable cause)
          Creates a KeyStoreException with the specified detail message and cause.
MessageDigest(String algorithm)
          Creates a message digest with the specified algorithm name.
NoSuchAlgorithmException(String msg)
          Constructs a NoSuchAlgorithmException with the specified detail message.
NoSuchAlgorithmException(String message, Throwable cause)
          Creates a NoSuchAlgorithmException with the specified detail message and cause.
NoSuchProviderException(String msg)
          Constructs a NoSuchProviderException with the specified detail message.
Permission(String name)
          Constructs a permission with the specified name.
Provider.Service(Provider provider, String type, String algorithm, String className, List<String> aliases, Map<String,String> attributes)
          Construct a new service.
Provider(String name, double version, String info)
          Constructs a provider with the specified name, version number, and information.
ProviderException(String s)
          Constructs a ProviderException with the specified detail message.
ProviderException(String message, Throwable cause)
          Creates a ProviderException with the specified detail message and cause.
SecurityPermission(String name)
          Creates a new SecurityPermission with the specified name.
SecurityPermission(String name, String actions)
          Creates a new SecurityPermission object with the specified name.
Signature(String algorithm)
          Creates a Signature object for the specified algorithm.
SignatureException(String msg)
          Constructs a SignatureException with the specified detail message.
SignatureException(String message, Throwable cause)
          Creates a SignatureException with the specified detail message and cause.
Signer(String name)
          Deprecated. Creates a signer with the specified identity name.
Signer(String name, IdentityScope scope)
          Deprecated. Creates a signer with the specified identity name and scope.