|
JavaTM 2 Platform Std. Ed. v1.4.2 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
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.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.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.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.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.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.security.auth | This package provides a framework for authentication and authorization. |
javax.security.auth.callback | This package provides the classes necessary for services to interact with applications in order to retrieve information (authentication data including usernames or passwords, for example) or to display information (error and warning messages, for example). |
javax.security.auth.kerberos | This package contains utility classes related to the Kerberos network authentication protocol. |
javax.security.auth.login | This package provides a pluggable authentication framework. |
javax.security.auth.x500 | This package contains the classes that should be used to store X500 Principal and X500 Private Crendentials in a Subject. |
javax.security.cert | Provides classes for public key certificates. |
javax.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.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.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.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.parsers | Provides classes allowing the processing of XML documents. |
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.stream | This package implements stream- and URI- specific transformation APIs. |
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 2 Standard Edition. 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.xml.sax | Provides the classes and interfaces for the Simple API for XML (SAX) which is a component of the Java API for XML Processing. |
org.xml.sax.ext | Provides extension classes and interfaces for the Simple API for XML (SAX) which is a component of the Java API for XML Processing. |
org.xml.sax.helpers | Provides helper classes for the Simple API for XML (SAX) which is a component of the Java API for XML Processing. |
Uses of String in java.applet |
Methods in java.applet that return String | |
String |
AppletStub.getParameter(String name)
Returns the value of the named parameter in the HTML tag. |
String |
Applet.getParameter(String name)
Returns the value of the named parameter in the HTML tag. |
String |
Applet.getAppletInfo()
Returns information about this applet. |
String[][] |
Applet.getParameterInfo()
Returns information about the parameters that are understood by this applet. |
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. |
void |
AppletContext.showDocument(URL url,
String target)
Requests that the browser or applet viewer show the Web page indicated by the url argument. |
void |
AppletContext.showStatus(String status)
Requests that the argument string be displayed in the "status window". |
void |
AppletContext.setStream(String key,
InputStream stream)
Associates the specified stream with the specified key in this applet context. |
InputStream |
AppletContext.getStream(String key)
Returns the stream to which specified key is associated within this applet context. |
String |
AppletStub.getParameter(String name)
Returns the value of the named parameter in the HTML tag. |
String |
Applet.getParameter(String name)
Returns the value of the named parameter in the HTML tag. |
void |
Applet.showStatus(String msg)
Requests that the argument string be displayed in the "status window". |
Image |
Applet.getImage(URL url,
String name)
Returns an Image object that can then be painted on
the screen. |
AudioClip |
Applet.getAudioClip(URL url,
String name)
Returns the AudioClip object specified by the
URL and name arguments. |
void |
Applet.play(URL url,
String name)
Plays the audio clip given the URL and a specifier that is relative to it. |
Uses of String in java.awt |
Fields in java.awt declared as String | |
static String |
BorderLayout.NORTH
The north layout constraint (top of container). |
static String |
BorderLayout.SOUTH
The south layout constraint (bottom of container). |
static String |
BorderLayout.EAST
The east layout constraint (right side of container). |
static String |
BorderLayout.WEST
The west layout constraint (left side of container). |
static String |
BorderLayout.CENTER
The center layout constraint (middle of container). |
static String |
BorderLayout.BEFORE_FIRST_LINE
Synonym for PAGE_START. |
static String |
BorderLayout.AFTER_LAST_LINE
Synonym for PAGE_END. |
static String |
BorderLayout.BEFORE_LINE_BEGINS
Synonym for LINE_START. |
static String |
BorderLayout.AFTER_LINE_ENDS
Synonym for LINE_END. |
static String |
BorderLayout.PAGE_START
The component comes before the first line of the layout's content. |
static String |
BorderLayout.PAGE_END
The component comes after the last line of the layout's content. |
static String |
BorderLayout.LINE_START
The component goes at the beginning of the line direction for the layout. |
static String |
BorderLayout.LINE_END
The component goes at the end of the line direction for the layout. |
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. |
Methods in java.awt that return String | |
abstract String[] |
GraphicsEnvironment.getAvailableFontFamilyNames()
Returns an array containing the names of all font families available in this GraphicsEnvironment . |
abstract String[] |
GraphicsEnvironment.getAvailableFontFamilyNames(Locale l)
Returns an array containing the localized names of all font families available in this GraphicsEnvironment . |
String |
AWTKeyStroke.toString()
Returns a string that displays and identifies this object's properties. |
String |
GridBagLayout.toString()
Returns a string representation of this grid bag layout's values. |
String |
CardLayout.toString()
Returns a string representation of the state of this card layout. |
String |
FlowLayout.toString()
Returns a string representation of this FlowLayout
object and its values. |
String |
GridLayout.toString()
Returns the string representation of this grid layout's values. |
String |
BorderLayout.toString()
Returns a string representation of the state of this border layout. |
String |
Robot.toString()
Returns a string representation of this Robot. |
String |
SystemColor.toString()
Returns a string representation of this Color 's values. |
String |
ScrollPaneAdjustable.toString()
Returns a string representation of this scrollbar and its values. |
String |
ScrollPaneAdjustable.paramString()
Returns a string representing the state of this scrollbar. |
String |
CheckboxGroup.toString()
Returns a string representation of this check box group, including the value of its current selection. |
String |
MenuShortcut.toString()
Returns an internationalized description of the MenuShortcut. |
protected String |
MenuShortcut.paramString()
Returns the parameter string representing the state of this MenuShortcut. |
String |
PageAttributes.toString()
Returns a string representation of this PageAttributes. |
String |
JobAttributes.getFileName()
Specifies the file name for the output file for jobs using these attributes. |
String |
JobAttributes.getPrinter()
Returns the destination printer for jobs using these attributes. |
String |
JobAttributes.toString()
Returns a string representation of this JobAttributes. |
String |
CheckboxMenuItem.AccessibleAWTCheckboxMenuItem.getAccessibleActionDescription(int i)
Return a description of the specified action of the object. |
String |
CheckboxMenuItem.paramString()
Returns a string representing the state of this CheckBoxMenuItem . |
String |
FileDialog.getDirectory()
Gets the directory of this file dialog. |
String |
FileDialog.getFile()
Gets the selected file of this file dialog. |
protected String |
FileDialog.paramString()
Returns a string representing the state of this FileDialog
window. |
String |
Dialog.getTitle()
Gets the title of the dialog. |
protected String |
Dialog.paramString()
Returns a string representing the state of this dialog. |
String |
Window.getWarningString()
Gets the warning string that is displayed with this window. |
String |
Frame.getTitle()
Gets the title of the frame. |
protected String |
Frame.paramString()
Returns a string representing the state of this Frame . |
String |
Choice.getItem(int index)
Gets the string at the specified index in this Choice menu. |
String |
Choice.getSelectedItem()
Gets a representation of the current choice as a string. |
protected String |
Choice.paramString()
Returns a string representing the state of this Choice
menu. |
String |
Choice.AccessibleAWTChoice.getAccessibleActionDescription(int i)
Returns a description of the specified action of the object. |
protected String |
TextArea.paramString()
Returns a string representing the state of this TextArea . |
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 . |
String |
Checkbox.getLabel()
Gets the label of this check box. |
protected String |
Checkbox.paramString()
Returns a string representing the state of this Checkbox . |
String |
Checkbox.AccessibleAWTCheckbox.getAccessibleActionDescription(int i)
Return a description of the specified action of the object. |
String |
List.getItem(int index)
Gets the item associated with the specified index. |
String[] |
List.getItems()
Gets the items in the list. |
String |
List.getSelectedItem()
Gets the selected item on this scrolling list. |
String[] |
List.getSelectedItems()
Gets the selected items on this scrolling list. |
protected String |
List.paramString()
Returns the parameter string representing the state of this scrolling list. |
String |
Label.AccessibleAWTLabel.getAccessibleName()
Get the accessible name of this object. |
String |
TextComponent.getText()
Returns the text that is presented by this text component. |
String |
TextComponent.getSelectedText()
Returns the selected text from the text that is presented by this text component. |
protected String |
TextComponent.paramString()
Returns a string representing the state of this TextComponent . |
String |
TextComponent.AccessibleAWTTextComponent.getSelectedText()
Returns the portion of the text that is selected. |
String |
TextComponent.AccessibleAWTTextComponent.getAtIndex(int part,
int index)
Returns the String at a given index. |
String |
TextComponent.AccessibleAWTTextComponent.getAfterIndex(int part,
int index)
Returns the String after a given index. |
String |
TextComponent.AccessibleAWTTextComponent.getBeforeIndex(int part,
int index)
Returns the String before a given index. |
protected String |
TextField.paramString()
Returns a string representing the state of this TextField . |
String |
Button.getLabel()
Gets the label of this button. |
String |
Button.getActionCommand()
Returns the command name of the action event fired by this button. |
protected String |
Button.paramString()
Returns a string representing the state of this Button . |
String |
Button.AccessibleAWTButton.getAccessibleName()
Get the accessible name of this object. |
String |
Button.AccessibleAWTButton.getAccessibleActionDescription(int i)
Return a description of the specified action of the object. |
abstract String |
GraphicsDevice.getIDstring()
Returns the identification string associated with this GraphicsDevice . |
String |
Label.getText()
Gets the text of this label. |
protected String |
Label.paramString()
Returns a string representing the state of this Label . |
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 |
Insets.toString()
Returns a string representation of this Insets object. |
String |
MenuComponent.getName()
Gets the name of the menu component. |
protected String |
MenuComponent.paramString()
Returns a string representing the state of this MenuComponent . |
String |
MenuComponent.toString()
Returns a representation of this menu component as a string. |
String |
MenuComponent.AccessibleAWTMenuComponent.getAccessibleName()
Gets the accessible name of this object. |
String |
MenuComponent.AccessibleAWTMenuComponent.getAccessibleDescription()
Gets the accessible description of this object. |
String |
MenuItem.getLabel()
Gets the label for this menu item. |
String |
MenuItem.getActionCommand()
Gets the command name of the action event that is fired by this menu item. |
String |
MenuItem.paramString()
Returns a string representing the state of this MenuItem . |
String |
MenuItem.AccessibleAWTMenuItem.getAccessibleName()
Get the accessible name of this object. |
String |
MenuItem.AccessibleAWTMenuItem.getAccessibleActionDescription(int i)
Return a description of the specified action of the object. |
String |
Menu.paramString()
Returns a string representing the state of this Menu . |
String |
FontMetrics.toString()
Returns a representation of this FontMetrics
object's values as a String . |
String |
Graphics.toString()
Returns a String object representing this
Graphics object's value. |
String |
Rectangle.toString()
Returns a String representing this
Rectangle and its values. |
String |
Point.toString()
Returns a string representation of this point and its location in the (x, y) coordinate space. |
abstract String[] |
Toolkit.getFontList()
Deprecated. see GraphicsEnvironment.getAvailableFontFamilyNames() |
static String |
Toolkit.getProperty(String key,
String defaultValue)
Gets a property with the specified key and default. |
String |
Dimension.toString()
Returns a string representation of the values of this Dimension object's height and
width fields. |
String |
Cursor.getName()
Returns the name of this cursor. |
String |
Cursor.toString()
Returns a string representation of this cursor. |
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 |
Font.getPSName()
Returns the postscript name of this Font . |
String |
Font.getName()
Returns the logical name of this Font . |
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. |
String |
Font.toString()
Converts this Font object to a String
representation. |
String |
Color.toString()
Returns a string representation of this Color . |
protected String |
Container.paramString()
Returns a string representing the state of this Container . |
String |
Component.getName()
Gets the name of the component. |
protected String |
Component.paramString()
Returns a string representing the state of this component. |
String |
Component.toString()
Returns a string representation of this component and its values. |
String |
Component.AccessibleAWTComponent.getAccessibleName()
Gets the accessible name of this object. |
String |
Component.AccessibleAWTComponent.getAccessibleDescription()
Gets the accessible description of this object. |
String |
AWTEvent.toString()
Returns a String representation of this object. |
String |
AWTEvent.paramString()
Returns a string representing the state of this Event . |
protected String |
Event.paramString()
NOTE: The Event class is obsolete and is
available only for backwards compatilibility. |
String |
Event.toString()
NOTE: The Event class is obsolete and is
available only for backwards compatilibility. |
Methods in java.awt with parameters of type String | |
void |
KeyboardFocusManager.addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Adds a PropertyChangeListener to 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. |
PropertyChangeListener[] |
KeyboardFocusManager.getPropertyChangeListeners(String propertyName)
Returns an array of all the PropertyChangeListener s
associated with the named property. |
protected void |
KeyboardFocusManager.firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Fires a PropertyChangeEvent in response to a change in a bound property. |
void |
KeyboardFocusManager.addVetoableChangeListener(String propertyName,
VetoableChangeListener listener)
Adds a VetoableChangeListener to 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. |
VetoableChangeListener[] |
KeyboardFocusManager.getVetoableChangeListeners(String propertyName)
Returns an array of all the VetoableChangeListener s
associated with the named property. |
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 . |
void |
GridBagLayout.addLayoutComponent(String name,
Component comp)
Adds the specified component with the specified name to the layout. |
void |
CardLayout.addLayoutComponent(String name,
Component comp)
Deprecated. replaced by addLayoutComponent(Component, Object) . |
void |
CardLayout.show(Container parent,
String name)
Flips to the component that was added to this layout with the specified name , using addLayoutComponent . |
void |
FlowLayout.addLayoutComponent(String name,
Component comp)
Adds the specified component to the layout. |
void |
GridLayout.addLayoutComponent(String name,
Component comp)
Adds the specified component with the specified name to the layout. |
void |
BorderLayout.addLayoutComponent(String name,
Component comp)
Deprecated. replaced by addLayoutComponent(Component, Object) . |
protected void |
AWTEventMulticaster.saveInternal(ObjectOutputStream s,
String k)
|
protected static void |
AWTEventMulticaster.save(ObjectOutputStream s,
String k,
EventListener l)
|
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 |
Graphics2D.drawString(String s,
float x,
float y)
Renders the text specified by the specified String ,
using the current text attribute state in the Graphics2D context. |
void |
JobAttributes.setFileName(String fileName)
Specifies the file name for the output file for jobs using these attributes. |
void |
JobAttributes.setPrinter(String printer)
Specifies the destination printer for jobs using these attributes. |
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 |
Dialog.setTitle(String title)
Sets the title of the Dialog. |
void |
Window.addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Adds a PropertyChangeListener to the listener list for a specific property. |
void |
Window.applyResourceBundle(String rbName)
Deprecated. As of J2SE 1.4, replaced by Component.applyComponentOrientation . |
void |
Frame.setTitle(String title)
Sets the title for this frame to the specified string. |
void |
Choice.add(String item)
Adds an item to this Choice menu. |
void |
Choice.addItem(String item)
Obsolete as of Java 2 platform v1.1. |
void |
Choice.insert(String item,
int index)
Inserts the item into this choice at the specified position. |
void |
Choice.remove(String item)
Removes the first occurrence of item
from the Choice menu. |
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 |
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) . |
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 |
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) . |
void |
Checkbox.setLabel(String label)
Sets this check box's label to be the string argument. |
void |
List.add(String item)
Adds the specified item to the end of scrolling list. |
void |
List.addItem(String item)
Deprecated. replaced by add(String) . |
void |
List.add(String item,
int index)
Adds the specified item to the the scrolling list at the position indicated by the index. |
void |
List.addItem(String item,
int index)
Deprecated. replaced by add(String, int) . |
void |
List.replaceItem(String newValue,
int index)
Replaces the item at the specified index in the scrolling list with the new string. |
void |
List.remove(String item)
Removes the first occurrence of an item from the list. |
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 |
Button.setLabel(String label)
Sets the button's label to be the specified string. |
void |
Button.setActionCommand(String command)
Sets the command name for the action event fired by this button. |
void |
Label.setText(String text)
Sets the text for this label to the specified text. |
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 |
MenuComponent.setName(String name)
Sets the name of the component to the specified string. |
void |
MenuItem.setLabel(String label)
Sets the label for this menu item to the specified label. |
void |
MenuItem.setActionCommand(String command)
Sets the command name of the action event that is fired by this menu item. |
void |
Menu.add(String label)
Adds an item with the specified label to this menu. |
void |
Menu.insert(String label,
int index)
Inserts a menu item with the specified label into this menu at the specified position. |
abstract Object |
Image.getProperty(String name,
ImageObserver observer)
Gets a property of this image by name. |
int |
FontMetrics.stringWidth(String str)
Returns the total advance width for showing the specified String in this Font . |
LineMetrics |
FontMetrics.getLineMetrics(String str,
Graphics context)
Returns the LineMetrics object for the specified
String in the specified Graphics context. |
LineMetrics |
FontMetrics.getLineMetrics(String str,
int beginIndex,
int limit,
Graphics context)
Returns the LineMetrics object for the specified
String in the specified Graphics context. |
Rectangle2D |
FontMetrics.getStringBounds(String str,
Graphics context)
Returns the bounds of the specified String in the
specified Graphics context. |
Rectangle2D |
FontMetrics.getStringBounds(String str,
int beginIndex,
int limit,
Graphics context)
Returns the bounds of the specified String in the
specified Graphics 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 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. |
abstract Image |
Toolkit.createImage(String filename)
Returns an image which gets pixel data from the specified file. |
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. |
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. |
Cursor |
Toolkit.createCustomCursor(Image cursor,
Point hotSpot,
String name)
Creates a new custom cursor object. |
static String |
Toolkit.getProperty(String key,
String defaultValue)
Gets a property with the specified key and default. |
Object |
Toolkit.getDesktopProperty(String propertyName)
Obtains a value for the specified desktop property. |
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. |
protected Object |
Toolkit.lazilyLoadDesktopProperty(String name)
an opportunity to lazily evaluate desktop property values. |
void |
Toolkit.addPropertyChangeListener(String name,
PropertyChangeListener pcl)
Adds the specified property change listener for the named desktop property. |
void |
Toolkit.removePropertyChangeListener(String name,
PropertyChangeListener pcl)
Removes the specified property change listener for the named desktop property. |
PropertyChangeListener[] |
Toolkit.getPropertyChangeListeners(String propertyName)
Returns an array of all the PropertyChangeListener s
associated with the named property. |
static Cursor |
Cursor.getSystemCustomCursor(String name)
Returns a system-specific custom cursor object matching the specified name. |
static Font |
Font.getFont(String nm)
Returns a Font object from the system properties list. |
static Font |
Font.decode(String str)
Returns the Font that the str
argument describes. |
static Font |
Font.getFont(String nm,
Font font)
Gets the specified Font from the system properties
list. |
int |
Font.canDisplayUpTo(String str)
Indicates whether or not this Font can display a
specified String . |
LineMetrics |
Font.getLineMetrics(String str,
FontRenderContext frc)
Returns a LineMetrics object created with the specified
String and FontRenderContext . |
LineMetrics |
Font.getLineMetrics(String str,
int beginIndex,
int limit,
FontRenderContext frc)
Returns a LineMetrics object created with the
specified arguments. |
Rectangle2D |
Font.getStringBounds(String str,
FontRenderContext frc)
Returns the logical bounds of the specified String in
the specified FontRenderContext . |
Rectangle2D |
Font.getStringBounds(String str,
int beginIndex,
int limit,
FontRenderContext frc)
Returns the logical bounds of the specified String in
the specified FontRenderContext . |
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 . |
static Color |
Color.decode(String nm)
Converts a String to an integer and returns the
specified opaque Color . |
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. |
Component |
Container.add(String name,
Component comp)
Adds the specified component to this container. |
void |
Container.addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Adds a PropertyChangeListener to the listener list for a specific property. |
void |
Component.setName(String name)
Sets the name of the component to the specified string. |
void |
Component.addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Adds a PropertyChangeListener to the listener list for a specific property. |
void |
Component.removePropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Removes a PropertyChangeListener from the listener list for a specific property. |
PropertyChangeListener[] |
Component.getPropertyChangeListeners(String propertyName)
Returns an array of all the listeners which have been associated with the named property. |
protected void |
Component.firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Support for reporting bound property changes for Object properties. |
protected void |
Component.firePropertyChange(String propertyName,
boolean oldValue,
boolean newValue)
Support for reporting bound property changes for boolean properties. |
protected void |
Component.firePropertyChange(String propertyName,
int oldValue,
int newValue)
Support for reporting bound property changes for integer properties. |
Constructors in java.awt with parameters of type String | |
AWTError(String msg)
Constructs an instance of AWTError with the specified
detail message. |
|
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. |
|
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. |
|
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. |
|
Dialog(Frame owner,
String title)
Constructs an initially invisible, non-modal 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(Dialog owner,
String title)
Constructs an initially invisible, non-modal 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 . |
|
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 . |
|
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. |
|
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. |
|
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. |
|
Button(String label)
Constructs a Button with the specified label. |
|
HeadlessException(String msg)
|
|
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. |
|
FontFormatException(String reason)
Report a FontFormatException for the reason specified. |
|
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. |
|
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. |
|
PopupMenu(String label)
Creates a new popup menu with the specified name. |
|
AWTException(String msg)
Constructs an instance of AWTException with the
specified detail message. |
|
Cursor(String name)
Creates a new custom cursor object with the specified name. |
|
Font(String name,
int style,
int size)
Creates a new Font from the specified name, style and
point size. |
|
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. |
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.javaSerializedObjectMimeType
A MIME Content-Type of application/x-java-serialized-object represents a graph of Java object(s) that have been made persistent. |
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
Transferble . |
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. |
Methods in java.awt.datatransfer that return String | |
static String |
SystemFlavorMap.encodeJavaMIMEType(String mimeType)
Encodes a MIME type for use as a String native. |
static String |
SystemFlavorMap.encodeDataFlavor(DataFlavor flav)
Encodes a DataFlavor for use as a String
native. |
static String |
SystemFlavorMap.decodeJavaMIMEType(String nat)
Decodes a String native for use as a Java MIME type. |
String |
DataFlavor.toString()
String representation of this DataFlavor and its
parameters. |
String |
DataFlavor.getMimeType()
Returns the MIME type string for this DataFlavor . |
String |
DataFlavor.getHumanPresentableName()
Returns the human presentable name for the data format that this DataFlavor represents. |
String |
DataFlavor.getPrimaryType()
Returns the primary MIME type for this DataFlavor . |
String |
DataFlavor.getSubType()
Returns the sub MIME type of this DataFlavor . |
String |
DataFlavor.getParameter(String paramName)
Returns the human presentable name for this DataFlavor
if paramName equals "humanPresentableName". |
String |
DataFlavor.getDefaultRepresentationClassAsString()
|
protected String |
DataFlavor.normalizeMimeTypeParameter(String parameterName,
String parameterValue)
Deprecated. |
protected String |
DataFlavor.normalizeMimeType(String mimeType)
Deprecated. |
String |
Clipboard.getName()
Returns the name of this clipboard object. |
Methods in java.awt.datatransfer with parameters of type String | |
List |
SystemFlavorMap.getFlavorsForNative(String nat)
Returns a List of DataFlavor s to which the
specified String native can be translated by the data
transfer subsystem. |
Map |
SystemFlavorMap.getFlavorsForNatives(String[] natives)
Returns a Map of the specified String natives
to their most preferred DataFlavor . |
void |
SystemFlavorMap.addUnencodedNativeForFlavor(DataFlavor flav,
String nat)
Adds a mapping from the specified DataFlavor (and all
DataFlavor s equal to the specified DataFlavor )
to the specified String native. |
void |
SystemFlavorMap.setNativesForFlavor(DataFlavor flav,
String[] natives)
Discards the current mappings for the specified DataFlavor
and all DataFlavor s equal to the specified
DataFlavor , and creates new mappings to the
specified String natives. |
void |
SystemFlavorMap.addFlavorForUnencodedNative(String nat,
DataFlavor flav)
Adds a mapping from a single String native to a single
DataFlavor . |
void |
SystemFlavorMap.setFlavorsForNative(String nat,
DataFlavor[] flavors)
Discards the current mappings for the specified String
native, and creates new mappings to the specified
DataFlavor s. |
static String |
SystemFlavorMap.encodeJavaMIMEType(String mimeType)
Encodes a MIME type for use as a String native. |
static boolean |
SystemFlavorMap.isJavaMIMEType(String str)
Returns whether the specified String is an encoded Java
MIME type. |
static String |
SystemFlavorMap.decodeJavaMIMEType(String nat)
Decodes a String native for use as a Java MIME type. |
static DataFlavor |
SystemFlavorMap.decodeDataFlavor(String nat)
Decodes a String native for use as a
DataFlavor . |
List |
FlavorTable.getFlavorsForNative(String nat)
Returns a List of DataFlavor s to which the
specified String corresponds. |
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. |
String |
DataFlavor.getParameter(String paramName)
Returns the human presentable name for this DataFlavor
if paramName equals "humanPresentableName". |
void |
DataFlavor.setHumanPresentableName(String humanPresentableName)
Sets the human presentable name for the data format that this DataFlavor represents. |
boolean |
DataFlavor.equals(String s)
Deprecated. As inconsistent with hashCode() contract,
use isMimeTypeEqual(String) instead. |
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.normalizeMimeTypeParameter(String parameterName,
String parameterValue)
Deprecated. |
protected String |
DataFlavor.normalizeMimeType(String mimeType)
Deprecated. |
Map |
FlavorMap.getFlavorsForNatives(String[] natives)
Returns a Map of the specified String natives
to their corresponding DataFlavor . |
Constructors in java.awt.datatransfer with parameters of type String | |
StringSelection(String data)
Creates a Transferable capable of transferring
the specified String . |
|
MimeTypeParseException(String s)
Constructs a MimeTypeParseException with the specified detail message. |
|
DataFlavor(Class representationClass,
String humanPresentableName)
Constructs a DataFlavor that represents a Java class. |
|
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 . |
|
DataFlavor(String mimeType)
Constructs a DataFlavor from a mimeType string. |
|
Clipboard(String name)
Creates a clipboard object. |
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 |
InvocationEvent.paramString()
Returns a parameter string identifying this event. |
String |
WindowEvent.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.getActionCommand()
Returns the command string associated with this action. |
String |
ActionEvent.paramString()
Returns a parameter string identifying this action event. |
String |
ContainerEvent.paramString()
Returns a parameter string identifying this event. |
String |
PaintEvent.paramString()
|
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. |
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 |
ComponentEvent.paramString()
Returns a parameter string identifying this event. |
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 |
KeyEvent.getKeyText(int keyCode)
Returns a String describing the keyCode, such as "HOME", "F1" or "A". |
static String |
KeyEvent.getKeyModifiersText(int modifiers)
Returns a String describing the modifier key(s), such as "Shift", or "Ctrl+Shift". |
String |
KeyEvent.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 |
NumericShaper.toString()
Returns a String that describes this shaper. |
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. |
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 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 |
AffineTransform.toString()
Returns a String that represents the value of this
Object . |
String |
Rectangle2D.Float.toString()
Returns the String representation of this
Rectangle2D . |
String |
Rectangle2D.Double.toString()
Returns the String representation of this
Rectangle2D . |
String |
Point2D.Float.toString()
Returns a String that represents the value
of this Point2D . |
String |
Point2D.Double.toString()
Returns a String that represents the value
of this Point2D . |
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 | |
Window |
InputMethodContext.createInputMethodWindow(String title,
boolean attachToInputContext)
Creates a top-level window for use by the input method. |
JFrame |
InputMethodContext.createInputMethodJFrame(String title,
boolean attachToInputContext)
Creates a top-level Swing JFrame for use by the input method. |
Uses of String in java.awt.image |
Methods in java.awt.image that return String | |
String |
DirectColorModel.toString()
Returns a String that represents this
DirectColorModel . |
String |
IndexColorModel.toString()
Returns the String representation of the contents of
this ColorModel object. |
String[] |
RenderedImage.getPropertyNames()
Returns an array of names recognized by getProperty(String)
or null , if no property names are recognized. |
String |
BufferedImage.toString()
Returns a String representation of this
BufferedImage object and its values. |
String[] |
BufferedImage.getPropertyNames()
Returns an array of names recognized by getProperty(String)
or null , if no property names are recognized. |
String |
ColorModel.toString()
Returns the String representation of the contents of
this ColorModel object. |
Methods in java.awt.image with parameters of type String | |
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. |
Object |
BufferedImage.getProperty(String name)
Returns a property of the image by name. |
Constructors in java.awt.image with parameters of type String | |
RasterFormatException(String s)
Constructs a new RasterFormatException with the
specified message. |
|
ImagingOpException(String s)
Constructs an ImagingOpException object 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 |
RenderableImageOp.getProperty(String name)
Gets a property from the property set of this image. |
Object |
ContextualRenderedImageFactory.getProperty(ParameterBlock paramBlock,
String name)
Gets the appropriate instance of the property specified by the name parameter. |
Object |
RenderableImage.getProperty(String name)
Gets a property from the property set of this image. |
Uses of String in java.awt.print |
Methods in java.awt.print that return String | |
abstract String |
PrinterJob.getUserName()
Gets the name of the printing user. |
abstract String |
PrinterJob.getJobName()
Gets the name of the document to be printed. |
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 | |
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 |
EventHandler.getEventPropertyName()
Returns the property of the event that should be used in the action applied to the target. |
String |
EventHandler.getListenerMethodName()
Returns the name of the method that will trigger the action. |
String |
Statement.getMethodName()
Returns the name of the method. |
String |
Statement.toString()
Prints the value of this statement using a Java-style syntax. |
String |
Expression.toString()
Prints the value of this expression using a Java-style syntax. |
String |
PropertyEditorSupport.getJavaInitializationString()
This method is intended for use when generating Java code to set the value of the property. |
String |
PropertyEditorSupport.getAsText()
Gets the property value as a string suitable for presentation to a human to edit. |
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. |
static String[] |
PropertyEditorManager.getEditorSearchPath()
Gets the package names that will be searched for property editors. |
String |
PropertyEditor.getJavaInitializationString()
This method is intended for use when generating Java code to set the value of the property. |
String |
PropertyEditor.getAsText()
Gets the property value as text. |
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. |
static String |
Introspector.decapitalize(String name)
Utility method to take a string and convert it to normal Java variable name capitalization. |
static String[] |
Introspector.getBeanInfoSearchPath()
Gets the list of package names that will be used for finding BeanInfo classes. |
String |
VetoableChangeListenerProxy.getPropertyName()
Returns the name of the named property associated with the listener. |
String |
FeatureDescriptor.getName()
Gets the programmatic name of this feature. |
String |
FeatureDescriptor.getDisplayName()
Gets the localized display name of this feature. |
String |
FeatureDescriptor.getShortDescription()
Gets the short description of this feature. |
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. |
Methods in java.beans with parameters of type String | |
static Object |
EventHandler.create(Class 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 Object |
EventHandler.create(Class 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 Object |
EventHandler.create(Class 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 . |
void |
PropertyEditorSupport.setAsText(String text)
Sets the property value by parsing a given String. |
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. |
static void |
PropertyEditorManager.setEditorSearchPath(String[] path)
Change the list of package names that will be used for finding property editors. |
void |
PropertyEditor.setAsText(String text)
Set the property value by parsing a given String. |
Image |
SimpleBeanInfo.loadImage(String resourceName)
This is a utility method to help in loading icon images. |
static String |
Introspector.decapitalize(String name)
Utility method to take a string and convert it to normal Java variable name capitalization. |
static void |
Introspector.setBeanInfoSearchPath(String[] path)
Change the list of package names that will be used for finding BeanInfo classes. |
void |
FeatureDescriptor.setName(String name)
Sets the programmatic name of this feature. |
void |
FeatureDescriptor.setDisplayName(String displayName)
Sets the localized display 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. |
Object |
FeatureDescriptor.getValue(String attributeName)
Retrieve a named attribute with this feature. |
void |
VetoableChangeSupport.addVetoableChangeListener(String propertyName,
VetoableChangeListener listener)
Add a VetoableChangeListener for a specific property. |
void |
VetoableChangeSupport.removeVetoableChangeListener(String propertyName,
VetoableChangeListener listener)
Remove a VetoableChangeListener for a specific property. |
VetoableChangeListener[] |
VetoableChangeSupport.getVetoableChangeListeners(String propertyName)
Returns an array of all the listeners which have been associated with the named property. |
void |
VetoableChangeSupport.fireVetoableChange(String propertyName,
Object oldValue,
Object newValue)
Report a 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,
boolean oldValue,
boolean newValue)
Report a boolean vetoable property update to any registered listeners. |
boolean |
VetoableChangeSupport.hasListeners(String propertyName)
Check if there are any listeners for a specific property. |
void |
PropertyChangeSupport.addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Add a PropertyChangeListener for a specific property. |
void |
PropertyChangeSupport.removePropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Remove a PropertyChangeListener for a specific property. |
PropertyChangeListener[] |
PropertyChangeSupport.getPropertyChangeListeners(String propertyName)
Returns an array of all the listeners which have been associated with the named property. |
void |
PropertyChangeSupport.firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Report a 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,
boolean oldValue,
boolean newValue)
Report a boolean bound property update to any registered listeners. |
boolean |
PropertyChangeSupport.hasListeners(String propertyName)
Check if there are any listeners for a specific property. |
Constructors in java.beans with parameters of type String | |
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. |
|
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 . |
|
Statement(Object target,
String methodName,
Object[] arguments)
Creates a new Statement object with a target ,
methodName and arguments as per the parameters. |
|
Expression(Object target,
String methodName,
Object[] arguments)
Creates a new Statement object with a target ,
methodName and arguments as per the parameters. |
|
Expression(Object value,
Object target,
String methodName,
Object[] arguments)
Creates a new Expression object for a method
that returns a result. |
|
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 getterName,
String setterName,
String indexedGetterName,
String indexedSetterName)
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 getter,
Method setter,
Method indexedGetter,
Method indexedSetter)
This constructor takes the name of a simple property, and Method objects for reading and writing the property. |
|
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,
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. |
|
VetoableChangeListenerProxy(String propertyName,
VetoableChangeListener listener)
|
|
IntrospectionException(String mess)
Constructs an IntrospectionException with a
detailed message. |
|
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 getterName,
String setterName)
This constructor takes the name of a simple property, and method names for reading and writing the property. |
|
PropertyDescriptor(String propertyName,
Method getter,
Method setter)
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. |
|
PropertyChangeListenerProxy(String propertyName,
PropertyChangeListener listener)
Constructor which binds the PropertyChangeListener to a specific property. |
|
PropertyChangeEvent(Object source,
String propertyName,
Object oldValue,
Object newValue)
Constructs a new PropertyChangeEvent . |
Uses of String in java.beans.beancontext |
Methods in java.beans.beancontext with parameters of type String | |
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. |
InputStream |
BeanContextSupport.getResourceAsStream(String name,
BeanContextChild bcc)
|
URL |
BeanContextSupport.getResource(String name,
BeanContextChild bcc)
|
void |
BeanContextChildSupport.addPropertyChangeListener(String name,
PropertyChangeListener pcl)
Adds a property change listener. |
void |
BeanContextChildSupport.removePropertyChangeListener(String name,
PropertyChangeListener pcl)
Remove a property change listener. |
void |
BeanContextChildSupport.addVetoableChangeListener(String name,
VetoableChangeListener vcl)
Adds a VetoableChangeListener . |
void |
BeanContextChildSupport.removeVetoableChangeListener(String name,
VetoableChangeListener vcl)
Removes a VetoableChangeListener . |
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. |
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 |
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 |
BeanContextChild.addVetoableChangeListener(String name,
VetoableChangeListener vcl)
Adds a VetoableChangeListener to
this BeanContextChild
to receive events whenever the specified property changes. |
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. |
Object |
BeanContext.instantiateChild(String beanName)
Instantiate the javaBean named as a child of this BeanContext . |
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 . |
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 . |
Uses of String in java.io |
Fields in java.io declared as String | |
String |
StreamTokenizer.sval
If the current token is a word token, this field contains a string giving the characters of the word token. |
protected String |
StringBufferInputStream.buffer
Deprecated. The string from which bytes are read. |
String |
InvalidClassException.classname
Name of the invalid class. |
static String |
File.separator
The system-dependent default name-separator character, represented as a string for convenience. |
static String |
File.pathSeparator
The system-dependent path-separator character, represented as a string for convenience. |
Methods in java.io that return String | |
String |
StringWriter.toString()
Return the buffer's current value as a string. |
String |
CharArrayWriter.toString()
Converts input data to a string. |
String |
InputStreamReader.getEncoding()
Return the name of the character encoding being used by this stream. |
String |
LineNumberReader.readLine()
Read a line of text. |
String |
BufferedReader.readLine()
Read a line of text. |
String |
WriteAbortedException.getMessage()
Produce the message and include the message from the nested exception, if there is one. |
String |
FilePermission.getActions()
Returns the "canonical string representation" of the actions. |
String |
StreamTokenizer.toString()
Returns the string representation of the current stream token and the line number it occurs on. |
String |
RandomAccessFile.readLine()
Reads the next line of text from this file. |
String |
RandomAccessFile.readUTF()
Reads in a string from this file. |
String |
ByteArrayOutputStream.toString()
Converts the buffer's contents into a string, translating bytes into characters according to the platform's default character encoding. |
String |
ByteArrayOutputStream.toString(String enc)
Converts the buffer's contents into a string, translating bytes into characters according to the specified character encoding. |
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 |
DataInputStream.readLine()
Deprecated. This method does not properly convert bytes to characters. As of JDK 1.1, the preferred way to read lines of text is via the BufferedReader.readLine() method. Programs that use the
DataInputStream class to read lines can be converted to use
the BufferedReader class by replacing code of the form:
with:DataInputStream d = new DataInputStream(in); BufferedReader d = new BufferedReader(new InputStreamReader(in)); |
String |
DataInputStream.readUTF()
See the general contract of the readUTF
method of DataInput . |
static String |
DataInputStream.readUTF(DataInput in)
Reads from the stream in a representation
of a Unicode character string encoded in
Java modified UTF-8 format; this string
of characters is then returned as a String . |
String |
InvalidClassException.getMessage()
Produce the message and include the classname, if present. |
String |
ObjectStreamClass.getName()
The name of the class described by this descriptor. |
String |
ObjectStreamClass.toString()
Return a string describing this ObjectStreamClass. |
String |
OutputStreamWriter.getEncoding()
Return the name of the character encoding being used by this stream. |
String |
DataInput.readLine()
Reads the next line of text from the input stream. |
String |
DataInput.readUTF()
Reads in a string that has been encoded using a modified UTF-8 format. |
String |
ObjectInputStream.readLine()
Deprecated. This method does not properly convert bytes to characters. see DataInputStream for the details and alternatives. |
String |
ObjectInputStream.readUTF()
Reads a UTF format String. |
String |
File.getName()
Returns the name of the file or directory denoted by this abstract pathname. |
String |
File.getParent()
Returns the pathname string of this abstract pathname's parent, or null if this pathname does not name a parent directory. |
String |
File.getPath()
Converts this abstract pathname into a pathname string. |
String |
File.getAbsolutePath()
Returns the absolute pathname string of this abstract pathname. |
String |
File.getCanonicalPath()
Returns the canonical pathname string of this abstract pathname. |
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 |
File.toString()
Returns the pathname string of this abstract pathname. |
String |
ObjectStreamField.getName()
Get the name of this field. |
String |
ObjectStreamField.getTypeString()
Return the JVM type signature. |
String |
ObjectStreamField.toString()
Return a string that describes this field. |
Methods in java.io with parameters of type String | |
void |
StringWriter.write(String str)
Write 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)
Write a portion of a string. |
void |
CharArrayWriter.write(String str,
int off,
int len)
Write a portion of a string to the buffer. |
void |
RandomAccessFile.writeBytes(String s)
Writes the string to the file as a sequence of bytes. |
void |
RandomAccessFile.writeChars(String s)
Writes a string to the file as a sequence of characters. |
void |
RandomAccessFile.writeUTF(String str)
Writes a string to the file using UTF-8 encoding in a machine-independent manner. |
String |
ByteArrayOutputStream.toString(String enc)
Converts the buffer's contents into a string, translating bytes into characters according to the specified character encoding. |
void |
DataOutputStream.writeBytes(String s)
Writes out the string to the underlying output stream as a sequence of bytes. |
void |
DataOutputStream.writeChars(String s)
Writes a string to the underlying output stream as a sequence of characters. |
void |
DataOutputStream.writeUTF(String str)
Writes a string to the underlying output stream using Java modified UTF-8 encoding in a machine-independent manner. |
boolean |
FilenameFilter.accept(File dir,
String name)
Tests if a specified file should be included in a file list. |
ObjectStreamField |
ObjectStreamClass.getField(String name)
Get the field of this class by name. |
void |
OutputStreamWriter.write(String str,
int off,
int len)
Write a portion of a string. |
void |
BufferedWriter.write(String s,
int off,
int len)
Write a portion of a String. |
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. |
abstract boolean |
ObjectInputStream.GetField.defaulted(String name)
Return true if the named field is defaulted and has no value in this stream. |
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 short |
ObjectInputStream.GetField.get(String name,
short val)
Get the value of the named short 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 float |
ObjectInputStream.GetField.get(String name,
float val)
Get the value of the named float 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 Object |
ObjectInputStream.GetField.get(String name,
Object val)
Get the value of the named Object field from the persistent field. |
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. |
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. |
void |
DataOutput.writeBytes(String s)
Writes a string to the output stream. |
void |
DataOutput.writeChars(String s)
Writes every character in the string s ,
to the output stream, in order,
two bytes per character. |
void |
DataOutput.writeUTF(String str)
Writes two bytes of length information to the output stream, followed by the Java modified UTF representation of every character in the string s . |
void |
ObjectOutputStream.writeBytes(String str)
Writes a String as a sequence of bytes. |
void |
ObjectOutputStream.writeChars(String str)
Writes a String as a sequence of chars. |
void |
ObjectOutputStream.writeUTF(String str)
Primitive data write of this String in UTF format. |
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,
short val)
Put the value of the named short 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,
float val)
Put the value of the named float 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,
Object val)
Put the value of the named Object field into the persistent field. |
void |
Writer.write(String str)
Write a string. |
void |
Writer.write(String str,
int off,
int len)
Write a portion of a string. |
void |
PrintWriter.write(String s,
int off,
int len)
Write a portion of a string. |
void |
PrintWriter.write(String s)
Write a string. |
void |
PrintWriter.print(String s)
Print a string. |
void |
PrintWriter.println(String x)
Print a String and then terminate the line. |
void |
PrintStream.print(String s)
Print a string. |
void |
PrintStream.println(String x)
Print a String and then terminate the line. |
Constructors in java.io with parameters of type String | |
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. |
|
StringReader(String s)
Create a new string reader. |
|
FileReader(String fileName)
Creates a new FileReader, given the name of the file to read from. |
|
InputStreamReader(InputStream in,
String charsetName)
Create an InputStreamReader that uses the named charset. |
|
WriteAbortedException(String s,
Exception ex)
Constructs a WriteAbortedException with a string describing the exception and the exception causing the abort. |
|
FilePermission(String path,
String actions)
Creates a new FilePermission object with the specified actions. |
|
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. |
|
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. |
|
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 . |
|
StringBufferInputStream(String s)
Deprecated. Creates a string input stream to read data from the specified 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. |
|
InterruptedIOException(String s)
Constructs an InterruptedIOException with the
specified detail message. |
|
UTFDataFormatException(String s)
Constructs a UTFDataFormatException with the
specified detail message. |
|
EOFException(String s)
Constructs an EOFException with the specified detail
message. |
|
FileNotFoundException(String s)
Constructs a FileNotFoundException with the
specified detail message. |
|
NotSerializableException(String classname)
Constructs a NotSerializableException object with message string. |
|
CharConversionException(String s)
This provides a detailed message. |
|
SyncFailedException(String desc)
Constructs an SyncFailedException with a detail message. |
|
InvalidClassException(String reason)
Report a InvalidClassException for the reason specified. |
|
InvalidClassException(String cname,
String reason)
Constructs an InvalidClassException object. |
|
StreamCorruptedException(String reason)
Create a StreamCorruptedException and list a reason why thrown. |
|
InvalidObjectException(String reason)
Constructs an InvalidObjectException . |
|
NotActiveException(String reason)
Constructor to create a new NotActiveException with the reason given. |
|
ObjectStreamException(String classname)
Create an ObjectStreamException with the specified argument. |
|
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. |
|
OutputStreamWriter(OutputStream out,
String charsetName)
Create an OutputStreamWriter that uses the named charset. |
|
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. |
|
File(File parent,
String child)
Creates a new File instance from a parent abstract
pathname and a child pathname string. |
|
PrintStream(OutputStream out,
boolean autoFlush,
String encoding)
Create a new print stream. |
|
IOException(String s)
Constructs an IOException with the specified detail
message. |
|
UnsupportedEncodingException(String s)
Constructs an UnsupportedEncodingException with a detail message. |
|
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. |
Uses of String in java.lang |
Methods in java.lang that return String | |
String |
Character.toString()
Returns a String object representing this
Character 's value. |
static String |
Character.toString(char c)
Returns a String object representing the
specified char . |
String |
Character.Subset.toString()
Returns the name of this subset. |
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. |
static String |
System.setProperty(String key,
String value)
Sets the system property indicated by the specified key. |
static String |
System.getenv(String name)
Deprecated. The preferred way to extract system-dependent information is the system properties of the java.lang.System.getProperty methods and the
corresponding get TypeName methods of
the Boolean , Integer , and
Long primitive types. For example:
String classPath = System.getProperty("java.class.path","."); |
static String |
System.mapLibraryName(String libname)
Maps a library name into a platform-specific string representing a native library. |
static String |
Boolean.toString(boolean b)
Returns a String object representing the specified boolean. |
String |
Boolean.toString()
Returns a String object representing this Boolean's value. |
static String |
Double.toString(double d)
Returns a string representation of the double
argument. |
String |
Double.toString()
Returns a string representation of this Double object. |
static String |
Float.toString(float f)
Returns a string representation of the float
argument. |
String |
Float.toString()
Returns a string representation of this Float object. |
static String |
Short.toString(short s)
Returns a new String object representing the
specified short . |
String |
Short.toString()
Returns a String object representing this
Short 's value. |
static String |
Byte.toString(byte b)
Returns a new String object representing the
specified byte . |
String |
Byte.toString()
Returns a String object representing this
Byte 's value. |
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 |
Long.toHexString(long i)
Returns a string representation of the long
argument as an unsigned integer in base 16. |
static String |
Long.toOctalString(long i)
Returns a string representation of the long
argument as an unsigned integer in base 8. |
static String |
Long.toBinaryString(long i)
Returns a string representation of the long
argument as an unsigned integer in base 2. |
static String |
Long.toString(long i)
Returns a String object representing the specified
long . |
String |
Long.toString()
Returns a String object representing this
Long 's value. |
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 |
Integer.toHexString(int i)
Returns a string representation of the integer argument as an unsigned integer in base 16. |
static String |
Integer.toOctalString(int i)
Returns a string representation of the integer argument as an unsigned integer in base 8. |
static String |
Integer.toBinaryString(int i)
Returns a string representation of the integer argument as an unsigned integer in base 2. |
static String |
Integer.toString(int i)
Returns a String object representing the
specified integer. |
String |
Integer.toString()
Returns a String object representing this
Integer 's value. |
String |
Thread.getName()
Returns this thread's name. |
String |
Thread.toString()
Returns a string representation of this thread, including the thread's name, priority, and thread group. |
String |
ThreadGroup.getName()
Returns the name of this thread group. |
String |
ThreadGroup.toString()
Returns a string representation of this Thread group. |
String |
StackTraceElement.getFileName()
Returns the name of the source file containing the execution point represented by this stack trace element. |
String |
StackTraceElement.getClassName()
Returns the fully qualified name of the class containing the execution point represented by this stack trace element. |
String |
StackTraceElement.getMethodName()
Returns the name of the method containing the execution point represented by this stack trace element. |
String |
StackTraceElement.toString()
Returns a string representation of this stack trace element. |
String |
StringBuffer.substring(int start)
Returns a new String that contains a subsequence of
characters currently contained in this StringBuffer .The
substring begins at the specified index and extends to the end of the
StringBuffer . |
String |
StringBuffer.substring(int start,
int end)
Returns a new String that contains a subsequence of
characters currently contained in this StringBuffer . |
String |
StringBuffer.toString()
Converts to a string representing the data in this string buffer. |
String |
Package.getName()
Return the name of this package. |
String |
Package.getSpecificationTitle()
Return the title of the specification that this package implements. |
String |
Package.getSpecificationVersion()
Returns the version number 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.getImplementationTitle()
Return the title of this package. |
String |
Package.getImplementationVersion()
Return the version of this implementation. |
String |
Package.getImplementationVendor()
Returns the name of the organization, vendor or company that provided this implementation. |
String |
Package.toString()
Returns the string representation of this Package. |
protected String |
ClassLoader.findLibrary(String libname)
Returns the absolute path name of a native library. |
String |
Throwable.getMessage()
Returns the detail message string of this throwable. |
String |
Throwable.getLocalizedMessage()
Creates a localized description of this throwable. |
String |
Throwable.toString()
Returns a short description of this throwable. |
String |
CharSequence.toString()
Returns a string containing the characters in this sequence in the same order as this sequence. |
String |
String.substring(int beginIndex)
Returns a new string that is a substring of this string. |
String |
String.substring(int beginIndex,
int endIndex)
Returns a new string that is a substring of this string. |
String |
String.concat(String str)
Concatenates the specified string to the end of this string. |
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.replaceFirst(String regex,
String replacement)
Replaces the first substring of this string that matches the given regular expression with the given replacement. |
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.split(String regex,
int limit)
Splits this string around matches of the given regular expression. |
String[] |
String.split(String regex)
Splits this string around matches of the given regular expression. |
String |
String.toLowerCase(Locale locale)
Converts all of the characters in this String to lower
case using the rules of the given Locale . |
String |
String.toLowerCase()
Converts all of the characters in this String to lower
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.toUpperCase()
Converts all of the characters in this String to upper
case using the rules of the default locale. |
String |
String.trim()
Returns a copy of the string, with leading and trailing whitespace omitted. |
String |
String.toString()
This object (which is already a string!) is itself returned. |
static String |
String.valueOf(Object obj)
Returns the string representation of the Object 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.copyValueOf(char[] data,
int offset,
int count)
Returns a String that represents the character sequence in the array specified. |
static String |
String.copyValueOf(char[] data)
Returns a String that represents the character sequence in the array specified. |
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(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(float f)
Returns the string representation of the float argument. |
static String |
String.valueOf(double d)
Returns the string representation of the double argument. |
String |
String.intern()
Returns a canonical representation for the string object. |
String |
Class.toString()
Converts the object to a string. |
String |
Class.getName()
Returns the name of the entity (class, interface, array class, primitive type, or void) represented by this Class object, as a String. |
String |
Object.toString()
Returns a string representation of the object. |
Methods in java.lang with parameters of type String | |
static boolean |
Compiler.compileClasses(String string)
Compiles all classes whose name matches the specified 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. |
static String |
System.setProperty(String key,
String value)
Sets the system property indicated by the specified key. |
static String |
System.getenv(String name)
Deprecated. The preferred way to extract system-dependent information is the system properties of the java.lang.System.getProperty methods and the
corresponding get TypeName methods of
the Boolean , Integer , and
Long primitive types. For example:
String classPath = System.getProperty("java.class.path","."); |
static void |
System.load(String filename)
Loads a code file with the specified filename from the local file system as a dynamic library. |
static void |
System.loadLibrary(String libname)
Loads the system library specified by the libname
argument. |
static String |
System.mapLibraryName(String libname)
Maps a library name into a platform-specific string representing a native library. |
Process |
Runtime.exec(String command)
Executes the specified string command in a separate process. |
Process |
Runtime.exec(String cmd,
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[] 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,
File dir)
Executes the specified command and arguments in a separate process with the specified environment and working directory. |
void |
Runtime.load(String filename)
Loads the specified filename as a dynamic library. |
void |
Runtime.loadLibrary(String libname)
Loads the dynamic library with the specified library name. |
static Boolean |
Boolean.valueOf(String s)
Returns a Boolean with a value represented by the
specified String. |
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" . |
static Double |
Double.valueOf(String s)
Returns a Double object holding the
double value represented by the argument string
s . |
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.valueOf(String s)
Returns a Float object holding the
float value represented by the argument string
s . |
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 short |
Short.parseShort(String s)
Parses the string argument as a signed decimal short . |
static short |
Short.parseShort(String s,
int radix)
Parses the string argument as a signed short in
the radix specified by the second argument. |
static 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 Short |
Short.valueOf(String s)
Returns a Short object holding the
value given by the specified String . |
static Short |
Short.decode(String nm)
Decodes a String into a Short . |
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 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 Byte |
Byte.valueOf(String s)
Returns a Byte object holding the value
given by the specified String . |
static Byte |
Byte.decode(String nm)
Decodes a String into a Byte . |
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 long |
Long.parseLong(String s)
Parses the string argument as a signed decimal long . |
static Long |
Long.valueOf(String s,
int radix)
Returns a Long object holding the value
extracted from the specified String when parsed
with the radix given by the second argument. |
static Long |
Long.valueOf(String s)
Returns a Long object holding the value
of the specified String . |
static Long |
Long.decode(String nm)
Decodes a String into a Long . |
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. |
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 int |
Integer.parseInt(String s)
Parses the string argument as a signed decimal integer. |
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 Integer |
Integer.valueOf(String s)
Returns an Integer object holding the
value of the specified String . |
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 Integer |
Integer.decode(String nm)
Decodes a String into an Integer . |
void |
Thread.setName(String name)
Changes the name of this thread to be equal to the argument name . |
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. |
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. |
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.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.checkWrite(String file)
Throws a SecurityException if the
calling thread is not allowed to write to the file specified by
the string argument. |
void |
SecurityManager.checkDelete(String file)
Throws a SecurityException if the
calling thread is not allowed to delete the specified file. |
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.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.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.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.checkSecurityAccess(String target)
Determines whether the permission with the specified permission target name should be granted or denied. |
StringBuffer |
StringBuffer.append(String str)
Appends the string to this string buffer. |
StringBuffer |
StringBuffer.replace(int start,
int end,
String str)
Replaces the characters in a substring of this StringBuffer
with characters in the specified String . |
StringBuffer |
StringBuffer.insert(int offset,
String str)
Inserts the string into this string buffer. |
int |
StringBuffer.indexOf(String str)
Returns the index within this string of the first occurrence of the specified substring. |
int |
StringBuffer.indexOf(String str,
int fromIndex)
Returns the index within this string of the first occurrence of the specified substring, starting at the specified index. |
int |
StringBuffer.lastIndexOf(String str)
Returns the index within this string of the rightmost occurrence of the specified substring. |
int |
StringBuffer.lastIndexOf(String str,
int fromIndex)
Returns the index within this string of the last occurrence of the specified substring. |
boolean |
Package.isCompatibleWith(String desired)
Compare this package's specification version with a desired version. |
static Package |
Package.getPackage(String name)
Find a package by name in the callers ClassLoader instance. |
Class |
ClassLoader.loadClass(String name)
Loads the class with the specified name. |
protected Class |
ClassLoader.loadClass(String name,
boolean resolve)
Loads the class with the specified name. |
protected Class |
ClassLoader.findClass(String name)
Finds the specified class. |
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.findSystemClass(String name)
Finds a class with the specified name, loading it if necessary. |
protected Class |
ClassLoader.findLoadedClass(String name)
Returns the class with the given name if this loader has been recorded by the Java virtual machine as an initiating loader of a class with that name. |
URL |
ClassLoader.getResource(String name)
Finds the resource with the given name. |
Enumeration |
ClassLoader.getResources(String name)
Finds all the resources with the given name. |
protected URL |
ClassLoader.findResource(String name)
Finds the resource with the given name. |
protected Enumeration |
ClassLoader.findResources(String name)
Returns an enumeration of URL objects
representing 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 Enumeration |
ClassLoader.getSystemResources(String name)
Finds all resources of the specified name from the search path used to load classes. |
InputStream |
ClassLoader.getResourceAsStream(String name)
Returns an input stream for reading the specified resource. |
static InputStream |
ClassLoader.getSystemResourceAsStream(String name)
Open for reading, a resource of the specified name from the search path used to load classes. |
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. |
protected Package |
ClassLoader.getPackage(String name)
Returns a Package that has been defined by this class loader or any of its ancestors. |
protected String |
ClassLoader.findLibrary(String libname)
Returns the absolute path name of a native library. |
void |
ClassLoader.setPackageAssertionStatus(String packageName,
boolean enabled)
Sets the package default assertion status for the named package. |
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. |
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. |
boolean |
String.equalsIgnoreCase(String anotherString)
Compares this String to another String ,
ignoring case considerations. |
int |
String.compareTo(String anotherString)
Compares two strings lexicographically. |
int |
String.compareToIgnoreCase(String str)
Compares two strings lexicographically, ignoring case differences. |
boolean |
String.regionMatches(int toffset,
String other,
int ooffset,
int len)
Tests if two string regions are equal. |
boolean |
String.regionMatches(boolean ignoreCase,
int toffset,
String other,
int ooffset,
int len)
Tests if two string regions are equal. |
boolean |
String.startsWith(String prefix,
int toffset)
Tests if this string starts with the specified prefix beginning a specified index. |
boolean |
String.startsWith(String prefix)
Tests if this string starts with the specified prefix. |
boolean |
String.endsWith(String suffix)
Tests if this string ends with the specified suffix. |
int |
String.indexOf(String str)
Returns the index within this string of the first occurrence of the specified substring. |
int |
String.indexOf(String str,
int fromIndex)
Returns the index within this string of the first occurrence of the specified substring, starting at the specified index. |
int |
String.lastIndexOf(String str)
Returns the index within this string of the rightmost occurrence of the specified substring. |
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. |
String |
String.concat(String str)
Concatenates the specified string to the end of this string. |
boolean |
String.matches(String regex)
Tells whether or not this string matches the given regular expression. |
String |
String.replaceFirst(String regex,
String replacement)
Replaces the first substring of this string that matches the given regular expression with the given replacement. |
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.split(String regex,
int limit)
Splits this string around matches of the given regular expression. |
String[] |
String.split(String regex)
Splits this string around matches of the given regular expression. |
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. |
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. |
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. |
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. |
InputStream |
Class.getResourceAsStream(String name)
Finds a resource with a given name. |
URL |
Class.getResource(String name)
Finds a resource with a given name. |
Constructors in java.lang with parameters of type String | |
Character.Subset(String name)
Constructs a new Subset instance. |
|
UnknownError(String s)
Constructs an UnknownError with the specified detail
message. |
|
StackOverflowError(String s)
Constructs a StackOverflowError with the specified
detail message. |
|
OutOfMemoryError(String s)
Constructs an OutOfMemoryError with the specified
detail message. |
|
InternalError(String s)
Constructs an InternalError with the specified
detail message. |
|
VirtualMachineError(String s)
Constructs a VirtualMachineError with the specified
detail message. |
|
VerifyError(String s)
Constructs an VerifyError with the specified detail message. |
|
UnsatisfiedLinkError(String s)
Constructs an UnsatisfiedLinkError with the
specified detail message. |
|
NoClassDefFoundError(String s)
Constructs a NoClassDefFoundError with the specified
detail message. |
|
NoSuchMethodError(String s)
Constructs a NoSuchMethodError with the
specified detail message. |
|
NoSuchFieldError(String s)
Constructs a NoSuchFieldException with the specified
detail message. |
|
InstantiationError(String s)
Constructs an InstantiationError with the specified
detail message. |
|
IllegalAccessError(String s)
Constructs an IllegalAccessError with the specified
detail message. |
|
AbstractMethodError(String s)
Constructs an AbstractMethodError with the specified
detail message. |
|
IncompatibleClassChangeError(String s)
Constructs an IncompatibleClassChangeError with the
specified detail message. |
|
ExceptionInInitializerError(String s)
Constructs an ExceptionInInitializerError with the specified detail message string. |
|
UnsupportedClassVersionError(String s)
Constructs a UnsupportedClassVersionError with
the specified detail message. |
|
ClassCircularityError(String s)
Constructs a ClassCircularityError with the
specified detail message. |
|
IllegalMonitorStateException(String s)
Constructs an IllegalMonitorStateException with the
specified detail message. |
|
IllegalThreadStateException(String s)
Constructs an IllegalThreadStateException with the
specified detail message. |
|
IllegalStateException(String s)
Constructs an IllegalStateException with the specified detail message. |
|
NegativeArraySizeException(String s)
Constructs a NegativeArraySizeException with the
specified detail message. |
|
StringIndexOutOfBoundsException(String s)
Constructs a StringIndexOutOfBoundsException with
the specified detail message. |
|
ArrayIndexOutOfBoundsException(String s)
Constructs an ArrayIndexOutOfBoundsException class
with the specified detail message. |
|
IndexOutOfBoundsException(String s)
Constructs an IndexOutOfBoundsException with the
specified detail message. |
|
ClassCastException(String s)
Constructs a ClassCastException with the specified
detail message. |
|
ArrayStoreException(String s)
Constructs an ArrayStoreException with the specified
detail message. |
|
ArithmeticException(String s)
Constructs an ArithmeticException with the specified
detail message. |
|
NullPointerException(String s)
Constructs a NullPointerException with the specified
detail message. |
|
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. |
|
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" . |
|
Double(String s)
Constructs a newly allocated Double object that
represents the floating-point value of type double
represented by the string. |
|
Float(String s)
Constructs a newly allocated Float object that
represents the floating-point value of type float
represented by the string. |
|
Short(String s)
Constructs a newly allocated Short object that
represents the short value indicated by the
String parameter. |
|
Byte(String s)
Constructs a newly allocated Byte object that
represents the byte value indicated by the
String parameter. |
|
UnsupportedOperationException(String message)
Constructs an UnsupportedOperationException with the specified detail message. |
|
Long(String s)
Constructs a newly allocated Long object that
represents the long value indicated by the
String parameter. |
|
Integer(String s)
Constructs a newly allocated Integer object that
represents the int value indicated by the
String parameter. |
|
InterruptedException(String s)
Constructs an InterruptedException with the
specified detail message. |
|
Thread(String name)
Allocates a new Thread object. |
|
Thread(ThreadGroup group,
String name)
Allocates a new Thread object. |
|
Thread(Runnable target,
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. |
|
ThreadGroup(String name)
Constructs a new thread group. |
|
ThreadGroup(ThreadGroup parent,
String name)
Creates a new thread group. |
|
CloneNotSupportedException(String s)
Constructs a CloneNotSupportedException with the
specified detail message. |
|
NumberFormatException(String s)
Constructs a NumberFormatException with the
specified detail message. |
|
IllegalArgumentException(String s)
Constructs an IllegalArgumentException with the
specified detail message. |
|
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. |
|
LinkageError(String s)
Constructs a LinkageError with the specified detail
message. |
|
ClassFormatError(String s)
Constructs a ClassFormatError with the specified
detail message. |
|
StringBuffer(String str)
Constructs a string buffer so that it represents the same sequence of characters as the string argument; in other words, the initial contents of the string buffer is a copy of the argument string. |
|
NoSuchMethodException(String s)
Constructs a NoSuchMethodException with a detail message. |
|
NoSuchFieldException(String s)
Constructor with a detail message. |
|
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. |
|
SecurityException(String s)
Constructs a SecurityException with the specified
detail message. |
|
IllegalAccessException(String s)
Constructs an IllegalAccessException with a detail message. |
|
InstantiationException(String s)
Constructs an InstantiationException with the
specified detail message. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
Uses of String in java.lang.reflect |
Methods in java.lang.reflect that return String | |
static String |
Modifier.toString(int mod)
Return a string describing the access modifier flags in the specified modifier. |
String |
Method.getName()
Returns the name of the method represented by this Method
object, as a String . |
String |
Method.toString()
Returns a string describing this Method . |
String |
Field.getName()
Returns the name of the field represented by this Field object. |
String |
Field.toString()
Returns a string describing this Field . |
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 |
Constructor.toString()
Returns a string describing this Constructor . |
Constructors in java.lang.reflect with parameters of type String | |
UndeclaredThrowableException(Throwable undeclaredThrowable,
String s)
Constructs an UndeclaredThrowableException with the
specified Throwable 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. |
|
InvocationTargetException(Throwable target,
String s)
Constructs a InvocationTargetException with a target exception and a detail message. |
Uses of String in java.math |
Methods in java.math that return String | |
String |
BigDecimal.toString()
Returns the string representation of this BigDecimal. |
String |
BigInteger.toString(int radix)
Returns the String representation of this BigInteger in the given radix. |
String |
BigInteger.toString()
Returns the decimal String representation of this BigInteger. |
Constructors in java.math with parameters of type String | |
BigDecimal(String val)
Translates the String representation of a BigDecimal into a BigDecimal. |
|
BigInteger(String val,
int radix)
Translates the String representation of a BigInteger in the specified radix into a BigInteger. |
|
BigInteger(String val)
Translates the decimal String representation of a BigInteger into a BigInteger. |
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. |
protected String |
Authenticator.getRequestingHost()
Gets the hostname of the
site or proxy requesting authentication, or null
if not available. |
protected String |
Authenticator.getRequestingProtocol()
Give the protocol that's requesting the connection. |
protected String |
Authenticator.getRequestingPrompt()
Gets the prompt string given by the requestor. |
protected String |
Authenticator.getRequestingScheme()
Gets the scheme of the requestor (the HTTP scheme for an HTTP firewall, for example). |
String |
PasswordAuthentication.getUserName()
Returns the user name. |
String |
InetSocketAddress.getHostName()
Gets the hostname . |
String |
InetSocketAddress.toString()
Constructs a string representation of this InetSocketAddress. |
String |
Socket.toString()
Converts this socket to a String . |
String |
SocketImpl.toString()
Returns the address and port of this socket as a String . |
String |
ServerSocket.toString()
Returns the implementation address and implementation port of this socket as a String . |
String |
NetworkInterface.getName()
Get the name of this network interface. |
String |
NetworkInterface.getDisplayName()
Get the display name of this network interface. |
String |
NetworkInterface.toString()
|
String |
Inet6Address.getHostAddress()
Returns the IP address string in textual presentation. |
String |
Inet4Address.getHostAddress()
Returns the IP address string in textual presentation form. |
String |
HttpURLConnection.getHeaderFieldKey(int n)
Returns the key for the n th header field. |
String |
HttpURLConnection.getHeaderField(int n)
Returns the value for the n th header field. |
String |
HttpURLConnection.getRequestMethod()
Get the request method. |
String |
HttpURLConnection.getResponseMessage()
Gets the HTTP response message, if any, returned along with the response code from a server. |
String |
JarURLConnection.getEntryName()
Return the entry name for this connection. |
String |
URISyntaxException.getInput()
Returns the input string. |
String |
URISyntaxException.getReason()
Returns a string explaining why the input string could not be parsed. |
String |
URISyntaxException.getMessage()
Returns a string describing the parse error. |
String |
FileNameMap.getContentTypeFor(String fileName)
Gets the MIME type for the specified file name. |
String |
URI.getScheme()
Returns the scheme component of this URI. |
String |
URI.getRawSchemeSpecificPart()
Returns the raw scheme-specific part of this URI. |
String |
URI.getSchemeSpecificPart()
Returns the decoded scheme-specific part of this URI. |
String |
URI.getRawAuthority()
Returns the raw authority component of this URI. |
String |
URI.getAuthority()
Returns the decoded authority component of this URI. |
String |
URI.getRawUserInfo()
Returns the raw user-information component of this URI. |
String |
URI.getUserInfo()
Returns the decoded user-information component of this URI. |
String |
URI.getHost()
Returns the host component of this URI. |
String |
URI.getRawPath()
Returns the raw path component of this URI. |
String |
URI.getPath()
Returns the decoded path component of this URI. |
String |
URI.getRawQuery()
Returns the raw query component of this URI. |
String |
URI.getQuery()
Returns the decoded query component of this URI. |
String |
URI.getRawFragment()
Returns the raw fragment component of this URI. |
String |
URI.getFragment()
Returns the decoded fragment component of this URI. |
String |
URI.toString()
Returns the content of this URI as a string. |
String |
URI.toASCIIString()
Returns the content of this URI as a US-ASCII string. |
String |
SocketPermission.getActions()
Returns the canonical string representation of the actions. |
String |
URLConnection.getContentType()
Returns the value of the content-type header field. |
String |
URLConnection.getContentEncoding()
Returns the value of the content-encoding header field. |
String |
URLConnection.getHeaderField(String name)
Returns the value of the named header field. |
String |
URLConnection.getHeaderFieldKey(int n)
Returns the key for the n th header field. |
String |
URLConnection.getHeaderField(int n)
Returns the value for the n th header field. |
String |
URLConnection.toString()
Returns a String representation of this URL connection. |
String |
URLConnection.getRequestProperty(String key)
Returns the value of the named general request property for this connection. |
static String |
URLConnection.getDefaultRequestProperty(String key)
Deprecated. The instance specific getRequestProperty method should be used after an appropriate instance of URLConnection is obtained. |
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. |
protected String |
URLStreamHandler.toExternalForm(URL u)
Converts a URL of a specific protocol to a
String . |
String |
InetAddress.getHostName()
Gets the host name for this IP address. |
String |
InetAddress.getCanonicalHostName()
Gets the fully qualified domain name for this IP address. |
String |
InetAddress.getHostAddress()
Returns the IP address string in textual presentation. |
String |
InetAddress.toString()
Converts this IP address to a String . |
String |
URL.getQuery()
Gets the query part of this URL . |
String |
URL.getPath()
Gets the path part of this URL . |
String |
URL.getUserInfo()
Gets the userInfo part of this URL . |
String |
URL.getAuthority()
Gets the authority part of this URL . |
String |
URL.getProtocol()
Gets the protocol name of this URL . |
String |
URL.getHost()
Gets the host name of this URL , if applicable. |
String |
URL.getFile()
Gets the file name of this URL . |
String |
URL.getRef()
Gets the anchor (also known as the "reference") of this URL . |
String |
URL.toString()
Constructs a string representation of this URL . |
String |
URL.toExternalForm()
Constructs a string representation of this URL . |
Methods in java.net with parameters of type 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. |
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. |
protected abstract void |
SocketImpl.connect(String host,
int port)
Connects this socket to the specified port on the named host. |
static NetworkInterface |
NetworkInterface.getByName(String name)
Searches for the network interface with the specified name. |
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. |
long |
HttpURLConnection.getHeaderFieldDate(String name,
long Default)
|
protected Class |
URLClassLoader.findClass(String name)
Finds and loads the class with the specified name from the URL search path. |
protected Package |
URLClassLoader.definePackage(String name,
Manifest man,
URL url)
Defines a new package by name in this ClassLoader. |
URL |
URLClassLoader.findResource(String name)
Finds the resource with the specified name on the URL search path. |
Enumeration |
URLClassLoader.findResources(String name)
Returns an Enumeration of URLs representing all of the resources on the URL search path having the specified name. |
ContentHandler |
ContentHandlerFactory.createContentHandler(String mimetype)
Creates a new ContentHandler to read an object from
a URLStreamHandler . |
String |
FileNameMap.getContentTypeFor(String fileName)
Gets the MIME type for the specified file name. |
static URI |
URI.create(String str)
Creates a URI by parsing the given string. |
URI |
URI.resolve(String str)
Constructs a new URI by parsing the given string and then resolving it against this URI. |
URLStreamHandler |
URLStreamHandlerFactory.createURLStreamHandler(String protocol)
Creates a new URLStreamHandler instance with the specified
protocol. |
String |
URLConnection.getHeaderField(String name)
Returns the value of the named header field. |
int |
URLConnection.getHeaderFieldInt(String name,
int Default)
Returns the value of the named field parsed as a number. |
long |
URLConnection.getHeaderFieldDate(String name,
long Default)
Returns the value of the named field parsed as date. |
void |
URLConnection.setRequestProperty(String key,
String value)
Sets the general request property. |
void |
URLConnection.addRequestProperty(String key,
String value)
Adds a general request property specified by a key-value pair. |
String |
URLConnection.getRequestProperty(String key)
Returns the value of the named general request property for this connection. |
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. |
static String |
URLConnection.getDefaultRequestProperty(String key)
Deprecated. The instance specific getRequestProperty method should be used after an appropriate instance of URLConnection is obtained. |
static String |
URLConnection.guessContentTypeFromName(String fname)
Tries to determine the content type of an object, based on the specified "file" component of a URL. |
protected void |
URLStreamHandler.parseURL(URL u,
String spec,
int start,
int limit)
Parses the string representation of a URL into a
URL object. |
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. |
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); |
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 InetAddress |
InetAddress.getByName(String host)
Determines the IP address of a host, given the host's name. |
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. |
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. |
Constructors in java.net with parameters of type String | |
PortUnreachableException(String msg)
Constructs a new PortUnreachableException with a
detail message. |
|
NoRouteToHostException(String msg)
Constructs a new NoRouteToHostException with the specified detail message as to why the remote host cannot be reached. |
|
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. |
|
PasswordAuthentication(String userName,
char[] password)
Creates a new PasswordAuthentication object from the given
user name and password. |
|
SocketTimeoutException(String msg)
Constructs a new SocketTimeoutException with a detail message. |
|
InetSocketAddress(String hostname,
int port)
Creates a socket address from a hostname and a port number. |
|
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,
InetAddress localAddr,
int localPort)
Creates a socket and connects it to the specified remote host on the specified remote port. |
|
Socket(String host,
int port,
boolean stream)
Deprecated. Use DatagramSocket instead for UDP transport. |
|
SocketException(String msg)
Constructs a new SocketException with the
specified detail message. |
|
ProtocolException(String host)
Constructs a new ProtocolException 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. |
|
URISyntaxException(String input,
String reason,
int index)
Constructs an instance from the given input string, reason, and error index. |
|
URISyntaxException(String input,
String reason)
Constructs an instance from the given input string and reason. |
|
UnknownServiceException(String msg)
Constructs a new UnknownServiceException with the
specified detail message. |
|
UnknownHostException(String host)
Constructs a new UnknownHostException with the
specified detail message. |
|
URI(String str)
Constructs a URI by parsing the given string. |
|
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 authority,
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 ssp,
String fragment)
Constructs a URI from the given components. |
|
SocketPermission(String host,
String action)
Creates a new SocketPermission object with the specified actions. |
|
MalformedURLException(String msg)
Constructs a MalformedURLException with the
specified detail message. |
|
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,
String file)
Creates a URL from the specified protocol
name, host name, and file name. |
|
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 spec)
Creates a URL object from the String
representation. |
|
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,
int start,
int end)
Relative bulk put method (optional operation). |
CharBuffer |
CharBuffer.put(String src)
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 |
UnsupportedCharsetException.getCharsetName()
Retrieves the name of the unsupported charset. |
String |
MalformedInputException.getMessage()
|
String |
IllegalCharsetNameException.getCharsetName()
Retrieves the illegal charset name. |
String |
UnmappableCharacterException.getMessage()
|
String |
CoderResult.toString()
Returns a string describing this coder result. |
String |
CodingErrorAction.toString()
Returns a string describing this action. |
String |
CharsetDecoder.replacement()
Returns this decoder's replacement value. |
String |
Charset.name()
Returns this charset's canonical name. |
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 |
Charset.toString()
Returns a string describing this charset. |
Methods in java.nio.charset with parameters of type String | |
CharsetDecoder |
CharsetDecoder.replaceWith(String newReplacement)
Changes this decoder's replacement value. |
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. |
static Charset |
Charset.forName(String charsetName)
Returns a charset object for the named charset. |
ByteBuffer |
Charset.encode(String str)
Convenience method that encodes a string into bytes in this charset. |
Constructors in java.nio.charset with parameters of type String | |
UnsupportedCharsetException(String charsetName)
Constructs an instance of this class. |
|
IllegalCharsetNameException(String charsetName)
Constructs an instance of this class. |
|
Charset(String canonicalName,
String[] aliases)
Initializes a new charset with the given canonical name and alias set. |
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 | |
static String[] |
Naming.list(String name)
Returns an array of the names bound in the registry. |
String |
RemoteException.getMessage()
Returns the detail message, including the message from the nested exception if there is one. |
Methods in java.rmi with parameters of type String | |
static Remote |
Naming.lookup(String name)
Returns a reference, a stub, for the remote object associated with the specified name . |
static void |
Naming.bind(String name,
Remote obj)
Binds the specified name to a remote object. |
static void |
Naming.unbind(String name)
Destroys the binding for the specified name that is associated with a remote object. |
static void |
Naming.rebind(String name,
Remote obj)
Rebinds the specified name to a new remote object. |
static String[] |
Naming.list(String name)
Returns an array of the names bound in the registry. |
Constructors in java.rmi with parameters of type String | |
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. |
|
ServerRuntimeException(String s,
Exception ex)
Deprecated. no replacement |
|
RMISecurityException(String name)
Deprecated. no replacement |
|
RMISecurityException(String name,
String arg)
Deprecated. no replacement |
|
NotBoundException(String s)
Constructs a NotBoundException with the specified
detail message. |
|
AlreadyBoundException(String s)
Constructs an AlreadyBoundException with the specified
detail message. |
|
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. |
|
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. |
|
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. |
|
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. |
|
ServerError(String s,
Error err)
Constructs a ServerError with the specified
detail message and nested error. |
|
StubNotFoundException(String s)
Constructs a StubNotFoundException with the specified
detail message and nested exception. |
|
StubNotFoundException(String s,
Exception ex)
Constructs a StubNotFoundException with the specified
detail message and nested exception. |
|
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. |
|
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. |
|
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. |
|
RemoteException(String s)
Constructs a RemoteException with the specified
detail message. |
|
RemoteException(String s,
Throwable ex)
Constructs a RemoteException with the specified
detail message and nested exception. |
|
NoSuchObjectException(String s)
Constructs a NoSuchObjectException with the specified
detail message. |
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 |
ActivationGroupDesc.getLocation()
Returns the group's code location. |
String |
ActivationGroupDesc.CommandEnvironment.getCommandPath()
Fetch the configured path-qualified java command name. |
String[] |
ActivationGroupDesc.CommandEnvironment.getCommandOptions()
Fetch the configured java command options. |
String |
ActivationDesc.getClassName()
Returns the class name for the object specified by this descriptor. |
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 detail exception if there is one. |
Methods in java.rmi.activation with parameters of type String | |
static ActivationID |
Activatable.exportObject(Remote obj,
String location,
MarshalledObject data,
boolean restart,
int port)
This exportObject method may be invoked explicitly
by an "activatable" object, that does not extend the
Activatable class, in order to both a) register
the object's activation descriptor, constructed from the supplied
location , and data , with
the activation system (so the object can be activated), and
b) export the remote object, obj , on a specific
port (if port=0, then an anonymous port is chosen). |
static ActivationID |
Activatable.exportObject(Remote obj,
String location,
MarshalledObject data,
boolean restart,
int port,
RMIClientSocketFactory csf,
RMIServerSocketFactory ssf)
This exportObject method may be invoked explicitly
by an "activatable" object, that does not extend the
Activatable class, in order to both a) register
the object's activation descriptor, constructed from the supplied
location , and data , with
the activation system (so the object can be activated), and
b) export the remote object, obj , on a specific
port (if port=0, then an anonymous port is chosen). |
Constructors in java.rmi.activation with parameters of type String | |
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. |
|
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. |
|
ActivationGroupDesc.CommandEnvironment(String cmdpath,
String[] argv)
Create a CommandEnvironment with all the necessary information. |
|
UnknownGroupException(String s)
Constructs an UnknownGroupException with the specified
detail message. |
|
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 . |
|
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 . |
|
UnknownObjectException(String s)
Constructs an UnknownObjectException with the specified
detail message. |
|
Activatable(String location,
MarshalledObject data,
boolean restart,
int port)
Constructor used to register and export the object on a specified port (an anonymous port is chosen if port=0) . |
|
Activatable(String location,
MarshalledObject data,
boolean restart,
int port,
RMIClientSocketFactory csf,
RMIServerSocketFactory ssf)
Constructor used to register and export the object on a specified port (an anonymous port is chosen if port=0) . |
|
ActivationException(String s)
Constructs an ActivationException with detail
message, s . |
|
ActivationException(String s,
Throwable ex)
Constructs an ActivationException with detail message,
s , and detail exception ex . |
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 | |
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. |
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.bind(String name,
Remote obj)
Binds a remote reference to the specified name in
this registry. |
void |
Registry.unbind(String name)
Removes the binding for 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. |
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 | |
String |
ServerCloneException.getMessage()
Returns the detail message, including the message from the nested exception if there is one. |
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 |
LogStream.toString()
Deprecated. no replacement |
abstract String |
RMIClassLoaderSpi.getClassAnnotation(Class cl)
Provides the implementation for RMIClassLoader.getClassAnnotation(Class) . |
static String |
RMIClassLoader.getClassAnnotation(Class cl)
Returns the annotation string (representing a location for the class definition) that RMI will use to annotate the class descriptor when marshalling objects of the given class. |
String |
UID.toString()
Returns a string representation of this UID . |
String |
ObjID.toString()
Returns a string representation of this object identifier. |
String |
Operation.getOperation()
Deprecated. no replacement |
String |
Operation.toString()
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 |
RemoteObject.toString()
Returns a String that represents the value of this remote object. |
Methods in java.rmi.server with parameters of type String | |
Class |
LoaderHandler.loadClass(String name)
Deprecated. no replacement |
Class |
LoaderHandler.loadClass(URL codebase,
String name)
Deprecated. no replacement |
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 LogStream |
LogStream.log(String name)
Deprecated. no replacement |
static int |
LogStream.parseLevel(String s)
Deprecated. no replacement |
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) . |
abstract Class |
RMIClassLoaderSpi.loadProxyClass(String codebase,
String[] interfaces,
ClassLoader defaultLoader)
Provides the implementation for RMIClassLoader.loadProxyClass(String,String[],ClassLoader) . |
abstract ClassLoader |
RMIClassLoaderSpi.getClassLoader(String codebase)
Provides the implementation for RMIClassLoader.getClassLoader(String) . |
static Class |
RMIClassLoader.loadClass(String name)
Deprecated. replaced by loadClass(String,String) method |
static Class |
RMIClassLoader.loadClass(URL codebase,
String name)
Loads a class from a codebase URL. |
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. |
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 ClassLoader |
RMIClassLoader.getClassLoader(String codebase)
Returns a class loader that loads classes from the given codebase URL path. |
Constructors in java.rmi.server with parameters of type String | |
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. |
|
SkeletonMismatchException(String s)
Deprecated. no replacement |
|
ServerCloneException(String s)
Constructs an ServerCloneException with the specified
detail message. |
|
ServerCloneException(String s,
Exception ex)
Constructs an ServerCloneException with the specified
detail message and nested exception. |
|
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. |
|
ServerNotActiveException(String s)
Constructs an ServerNotActiveException with the specified
detail message. |
|
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 |
Uses of String in java.security |
Methods in java.security that return String | |
String |
SignedObject.getAlgorithm()
Retrieves the name of the signature algorithm. |
String |
KeyPairGenerator.getAlgorithm()
Returns the standard name of the algorithm for this key pair generator. |
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 |
AlgorithmParameterGenerator.getAlgorithm()
Returns the standard name of the algorithm this parameter generator is associated with. |
String |
Signer.toString()
Deprecated. Returns a string of information about the signer. |
String |
KeyFactory.getAlgorithm()
Gets the name of the algorithm associated with this KeyFactory. |
abstract String |
KeyStoreSpi.engineGetCertificateAlias(Certificate cert)
Returns the (alias) name of the first keystore entry whose certificate matches the given certificate. |
String |
KeyStore.getType()
Returns the type of this keystore. |
String |
KeyStore.getCertificateAlias(Certificate cert)
Returns the (alias) name of the first keystore entry whose certificate matches the given certificate. |
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 |
Certificate.toString(boolean detailed)
Deprecated. Returns a string that represents the contents of the certificate. |
String |
Identity.getName()
Deprecated. Returns this identity's name. |
String |
Identity.getInfo()
Deprecated. Returns general information previously specified for this identity. |
String |
Identity.toString()
Deprecated. Returns a short string describing this identity, telling its name and its scope (if any). |
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. |
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 |
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 |
UnresolvedPermission.toString()
Returns a string describing this UnresolvedPermission. |
String |
Signature.getAlgorithm()
Returns the name of the algorithm for this signature object. |
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. |
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 Java 2 platform) instead. |
static String |
Security.getProperty(String key)
Gets a security property value. |
protected abstract String |
AlgorithmParametersSpi.engineToString()
Returns a formatted string describing the parameters. |
String |
AlgorithmParameters.getAlgorithm()
Returns the name of the algorithm associated with this parameter object. |
String |
AlgorithmParameters.toString()
Returns a formatted string describing the parameters. |
String |
AllPermission.getActions()
Returns the canonical string representation of the actions. |
String |
Provider.getName()
Returns the name of this provider. |
String |
Provider.getInfo()
Returns a human-readable description of the provider and its services. |
String |
Provider.toString()
Returns a string with the name and the version number of this provider. |
String |
MessageDigest.toString()
Returns a string representation of this message digest object. |
String |
MessageDigest.getAlgorithm()
Returns a string that identifies the algorithm, independent of implementation details. |
String |
PrivilegedActionException.toString()
|
String |
Key.getAlgorithm()
Returns the standard algorithm name for this key. |
String |
Key.getFormat()
Returns the name of the primary encoding format of this key, or null if this key does not support encoding. |
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. |
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 |
Principal.getName()
Returns the name of this principal. |
String |
Permission.getName()
Returns the name of this Permission. |
abstract String |
Permission.getActions()
Returns the actions as a String. |
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. |
Methods in java.security with parameters of type String | |
static KeyPairGenerator |
KeyPairGenerator.getInstance(String algorithm)
Generates a KeyPairGenerator object that implements the specified digest algorithm. |
static KeyPairGenerator |
KeyPairGenerator.getInstance(String algorithm,
String provider)
Generates a KeyPairGenerator object implementing the specified algorithm, as supplied from the specified provider, if such an algorithm is available from the provider. |
static KeyPairGenerator |
KeyPairGenerator.getInstance(String algorithm,
Provider provider)
Generates a KeyPairGenerator object implementing the specified algorithm, as supplied from the specified provider, if such an algorithm is available from the provider. |
static AlgorithmParameterGenerator |
AlgorithmParameterGenerator.getInstance(String algorithm)
Generates an AlgorithmParameterGenerator object that implements the specified digest algorithm. |
static AlgorithmParameterGenerator |
AlgorithmParameterGenerator.getInstance(String algorithm,
String provider)
Generates an AlgorithmParameterGenerator object for the requested algorithm, as supplied from the specified provider, if such a parameter generator is available from the provider. |
static AlgorithmParameterGenerator |
AlgorithmParameterGenerator.getInstance(String algorithm,
Provider provider)
Generates an AlgorithmParameterGenerator object for the requested algorithm, as supplied from the specified provider, if such a parameter generator is available from the provider. |
static KeyFactory |
KeyFactory.getInstance(String algorithm)
Generates a KeyFactory object that implements the specified algorithm. |
static KeyFactory |
KeyFactory.getInstance(String algorithm,
String provider)
Generates a KeyFactory object for the specified algorithm from the specified provider. |
static KeyFactory |
KeyFactory.getInstance(String algorithm,
Provider provider)
Generates a KeyFactory object for the specified algorithm from the specified provider. |
abstract Key |
KeyStoreSpi.engineGetKey(String alias,
char[] password)
Returns the key associated with the given alias, using the given password to recover it. |
abstract Certificate[] |
KeyStoreSpi.engineGetCertificateChain(String alias)
Returns the certificate chain associated with the given alias. |
abstract Certificate |
KeyStoreSpi.engineGetCertificate(String alias)
Returns the certificate associated with the given alias. |
abstract Date |
KeyStoreSpi.engineGetCreationDate(String alias)
Returns the creation date of the entry identified by 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. |
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.engineSetCertificateEntry(String alias,
Certificate cert)
Assigns the given certificate to the given alias. |
abstract void |
KeyStoreSpi.engineDeleteEntry(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 boolean |
KeyStoreSpi.engineIsKeyEntry(String alias)
Returns true if the entry identified by the given alias is a key entry, and false otherwise. |
abstract boolean |
KeyStoreSpi.engineIsCertificateEntry(String alias)
Returns true if the entry identified by the given alias is a trusted certificate entry, and false otherwise. |
static KeyStore |
KeyStore.getInstance(String type)
Generates a keystore object of the given type. |
static KeyStore |
KeyStore.getInstance(String type,
String provider)
Generates a keystore object for the specified keystore type from the specified provider. |
static KeyStore |
KeyStore.getInstance(String type,
Provider provider)
Generates a keystore object for the specified keystore type from the specified provider. |
Key |
KeyStore.getKey(String alias,
char[] password)
Returns the key associated with the given alias, using the given password to recover it. |
Certificate[] |
KeyStore.getCertificateChain(String alias)
Returns the certificate chain associated with the given alias. |
Certificate |
KeyStore.getCertificate(String alias)
Returns the certificate associated with the given alias. |
Date |
KeyStore.getCreationDate(String alias)
Returns the creation date of the entry identified by 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 |
KeyStore.setKeyEntry(String alias,
byte[] key,
Certificate[] chain)
Assigns the given key (that has already been protected) to the given alias. |
void |
KeyStore.setCertificateEntry(String alias,
Certificate cert)
Assigns the given certificate to the given alias. |
void |
KeyStore.deleteEntry(String alias)
Deletes the entry identified by the given alias from this keystore. |
boolean |
KeyStore.containsAlias(String alias)
Checks if the given alias exists in this keystore. |
boolean |
KeyStore.isKeyEntry(String alias)
Returns true if the entry identified by the given alias is a key entry, and false otherwise. |
boolean |
KeyStore.isCertificateEntry(String alias)
Returns true if the entry identified by the given alias is a trusted certificate entry, and false otherwise. |
void |
Identity.setInfo(String info)
Deprecated. Specifies a general information string for this identity. |
abstract Identity |
IdentityScope.getIdentity(String name)
Deprecated. Returns the identity in this scope with the specified name (if any). |
static SecureRandom |
SecureRandom.getInstance(String algorithm)
Generates a SecureRandom object that implements the specified Pseudo Random Number Generator (PRNG) algorithm. |
static SecureRandom |
SecureRandom.getInstance(String algorithm,
String provider)
Generates a SecureRandom object for the specified PRNG algorithm, as supplied from the specified provider, if such a PRNG implementation is available from the provider. |
static SecureRandom |
SecureRandom.getInstance(String algorithm,
Provider provider)
Generates a SecureRandom object for the specified PRNG algorithm, as supplied from the specified provider, if such a PRNG implementation is available from the provider. |
protected abstract void |
SignatureSpi.engineSetParameter(String param,
Object value)
Deprecated. Replaced by engineSetParameter . |
protected abstract Object |
SignatureSpi.engineGetParameter(String param)
Deprecated. |
static Signature |
Signature.getInstance(String algorithm)
Generates a Signature object that implements the specified digest algorithm. |
static Signature |
Signature.getInstance(String algorithm,
String provider)
Generates a Signature object implementing the specified algorithm, as supplied from the specified provider, if such an algorithm is available from the provider. |
static Signature |
Signature.getInstance(String algorithm,
Provider provider)
Generates a Signature object implementing the specified algorithm, as supplied from the specified provider, if such an algorithm is available from the provider. |
void |
Signature.setParameter(String param,
Object value)
Deprecated. Use setParameter . |
Object |
Signature.getParameter(String param)
Deprecated. |
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 Java 2 platform) instead. |
static void |
Security.removeProvider(String name)
Removes the provider with the specified name. |
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. |
static String |
Security.getProperty(String key)
Gets a security property value. |
static void |
Security.setProperty(String key,
String datum)
Sets a security property value. |
static Set |
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). |
protected abstract void |
AlgorithmParametersSpi.engineInit(byte[] params,
String format)
Imports the parameters from params and
decodes them according to the specified decoding format. |
protected abstract byte[] |
AlgorithmParametersSpi.engineGetEncoded(String format)
Returns the parameters encoded in the specified format. |
static AlgorithmParameters |
AlgorithmParameters.getInstance(String algorithm)
Generates a parameter object for the specified algorithm. |
static AlgorithmParameters |
AlgorithmParameters.getInstance(String algorithm,
String provider)
Generates a parameter object for the specified algorithm, as supplied by the specified provider, if such an algorithm is available from the provider. |
static AlgorithmParameters |
AlgorithmParameters.getInstance(String algorithm,
Provider provider)
Generates a parameter object for the specified algorithm, as supplied by the specified provider, if such an algorithm is available from the provider. |
void |
AlgorithmParameters.init(byte[] params,
String format)
Imports the parameters from params and decodes them
according to the specified decoding scheme. |
byte[] |
AlgorithmParameters.getEncoded(String format)
Returns the parameters encoded in the specified scheme. |
static MessageDigest |
MessageDigest.getInstance(String algorithm)
Generates a MessageDigest object that implements the specified digest algorithm. |
static MessageDigest |
MessageDigest.getInstance(String algorithm,
String provider)
Generates a MessageDigest object implementing the specified algorithm, as supplied from the specified provider, if such an algorithm is available from the provider. |
static MessageDigest |
MessageDigest.getInstance(String algorithm,
Provider provider)
Generates a MessageDigest object implementing the specified algorithm, as supplied from the specified provider, if such an algorithm is available from the provider. |
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. |
Constructors in java.security with parameters of type String | |
ProviderException(String s)
Constructs a ProviderException with the specified detail message. |
|
KeyPairGenerator(String algorithm)
Creates a KeyPairGenerator object for the specified algorithm. |
|
AlgorithmParameterGenerator(AlgorithmParameterGeneratorSpi paramGenSpi,
Provider provider,
String algorithm)
Creates an AlgorithmParameterGenerator object. |
|
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. |
|
KeyFactory(KeyFactorySpi keyFacSpi,
Provider provider,
String algorithm)
Creates a KeyFactory object. |
|
KeyStoreException(String msg)
Constructs a KeyStoreException with the specified detail message. |
|
UnrecoverableKeyException(String msg)
Constructs an UnrecoverableKeyException with the specified detail message, which provides more information about why this exception has been thrown. |
|
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. |
|
KeyManagementException(String msg)
Constructs a KeyManagementException with the specified detail message. |
|
Identity(String name,
IdentityScope scope)
Deprecated. Constructs an identity with the specified name and scope. |
|
Identity(String name)
Deprecated. Constructs an identity with the specified name and no 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. |
|
UnresolvedPermission(String type,
String name,
String actions,
Certificate[] certs)
Creates a new UnresolvedPermission containing the permission information needed later to actually create a Permission of the specified class, when the permission is resolved. |
|
InvalidParameterException(String msg)
Constructs an InvalidParameterException with the specified detail message. |
|
Signature(String algorithm)
Creates a Signature object for the specified algorithm. |
|
InvalidAlgorithmParameterException(String msg)
Constructs an InvalidAlgorithmParameterException with the specified detail message. |
|
AlgorithmParameters(AlgorithmParametersSpi paramSpi,
Provider provider,
String algorithm)
Creates an AlgorithmParameters object. |
|
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. |
|
AllPermission(String name,
String actions)
Creates a new AllPermission object. |
|
DigestException(String msg)
Constructs a DigestException with the specified detail message. |
|
Provider(String name,
double version,
String info)
Constructs a provider with the specified name, version number, and information. |
|
MessageDigest(String algorithm)
Creates a message digest with the specified algorithm name. |
|
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. |
|
SignatureException(String msg)
Constructs a SignatureException with the specified detail message. |
|
NoSuchProviderException(String msg)
Constructs a NoSuchProviderException with the specified detail message. |
|
KeyException(String msg)
Constructs a KeyException with the specified detail message. |
|
InvalidKeyException(String msg)
Constructs an InvalidKeyException with the specified detail message. |
|
NoSuchAlgorithmException(String msg)
Constructs a NoSuchAlgorithmException with the specified detail message. |
|
GeneralSecurityException(String msg)
Constructs a GeneralSecurityException with the specified detail message. |
|
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. |
|
Permission(String name)
Constructs a permission with the specified name. |
Uses of String in java.security.acl |
Methods in java.security.acl that return String | |
String |
Permission.toString()
Prints a string representation of this permission. |
String |
AclEntry.toString()
Returns a string representation of the contents of this ACL entry. |
String |
Acl.getName()
Returns the name of this ACL. |
String |
Acl.toString()
Returns a string representation of the ACL contents. |
Methods in java.security.acl with parameters of type String | |
void |
Acl.setName(Principal caller,
String name)
Sets the name of this ACL. |
Uses of String in java.security.cert |
Methods in java.security.cert that return String | |
String |
PolicyNode.getValidPolicy()
Returns the valid policy represented by this node. |
String |
PKIXCertPathValidatorResult.toString()
Return a printable representation of this PKIXCertPathValidatorResult . |
String |
PKIXCertPathBuilderResult.toString()
Return a printable representation of this PKIXCertPathBuilderResult . |
String |
PKIXParameters.getSigProvider()
Returns the signature provider's name, or null
if not set. |
String |
PKIXParameters.toString()
Returns a formatted string describing the parameters. |
String |
PKIXBuilderParameters.toString()
Returns a formatted string describing the parameters. |
String |
LDAPCertStoreParameters.getServerName()
Returns the DNS name of the LDAP server. |
String |
LDAPCertStoreParameters.toString()
Returns a formatted string describing the parameters. |
String |
X509CRLSelector.toString()
Returns a printable representation of the X509CRLSelector . |
String |
TrustAnchor.getCAName()
Returns the name of the most-trusted CA in RFC 2253 String
format. |
String |
TrustAnchor.toString()
Returns a formatted string describing the TrustAnchor . |
String |
X509CertSelector.getIssuerAsString()
Returns the issuer criterion as a String . |
String |
X509CertSelector.getSubjectAsString()
Returns the subject criterion as a String . |
String |
X509CertSelector.getSubjectPublicKeyAlgID()
Returns the subjectPublicKeyAlgID criterion. |
String |
X509CertSelector.toString()
Return a printable representation of the CertSelector . |
String |
CollectionCertStoreParameters.toString()
Returns a formatted string describing the parameters. |
String |
CertStoreException.getMessage()
Returns the detail message for this CertStoreException . |
String |
CertStoreException.toString()
Returns a string describing this exception, including a description of the internal (wrapped) cause if there is one. |
String |
CertStore.getType()
Returns the type of this CertStore . |
static String |
CertStore.getDefaultType()
Returns the default CertStore type as specified in the
Java security properties file, or the string "LDAP" if no
such property exists. |
String |
CertPathValidatorException.getMessage()
Returns the detail message for this CertPathValidatorException . |
String |
CertPathValidatorException.toString()
Returns a string describing this exception, including a description of the internal (wrapped) cause if there is one. |
String |
CertPathValidator.getAlgorithm()
Returns the algorithm name of this CertPathValidator . |
static String |
CertPathValidator.getDefaultType()
Returns the default CertPathValidator type as specified in
the Java security properties file, or the string "PKIX"
if no such property exists. |
String |
CertPathBuilderException.getMessage()
Returns the detail message for this CertPathBuilderException . |
String |
CertPathBuilderException.toString()
Returns a string describing this exception, including a description of the internal (wrapped) cause if there is one. |
String |
CertPathBuilder.getAlgorithm()
Returns the name of the algorithm of this CertPathBuilder . |
static String |
CertPathBuilder.getDefaultType()
Returns the default CertPathBuilder type as specified in
the Java security properties file, or the string "PKIX"
if no such property exists. |
String |
PolicyQualifierInfo.getPolicyQualifierId()
Returns the policyQualifierId field of this
PolicyQualifierInfo . |
String |
PolicyQualifierInfo.toString()
Return a printable representation of this PolicyQualifierInfo . |
String |
CertificateFactory.getType()
Returns the name of the certificate type associated with this certificate factory. |
String |
CertPath.getType()
Returns the type of Certificate s in this certification
path. |
String |
CertPath.toString()
Returns a string representation of this certification path. |
abstract String |
X509CRLEntry.toString()
Returns a string representation of this CRL entry. |
String |
CRL.getType()
Returns the type of this CRL. |
abstract String |
CRL.toString()
Returns a string representation of this CRL. |
abstract String |
X509CRL.getSigAlgName()
Gets the signature algorithm name for the CRL signature algorithm. |
abstract String |
X509CRL.getSigAlgOID()
Gets the signature algorithm OID string from the CRL. |
abstract String |
X509Certificate.getSigAlgName()
Gets the signature algorithm name for the certificate signature algorithm. |
abstract String |
X509Certificate.getSigAlgOID()
Gets the signature algorithm OID string from the certificate. |
String |
Certificate.getType()
Returns the type of this certificate. |
abstract String |
Certificate.toString()
Returns a string representation of this certificate. |
Methods in java.security.cert with parameters of type String | |
void |
PKIXParameters.setSigProvider(String sigProvider)
Sets the signature provider's name. |
void |
X509CRLSelector.addIssuerName(String name)
Adds a name to the issuerNames criterion. |
void |
X509CertSelector.setIssuer(String issuerDN)
Sets the issuer criterion. |
void |
X509CertSelector.setSubject(String subjectDN)
Sets the subject criterion. |
void |
X509CertSelector.setSubjectPublicKeyAlgID(String oid)
Sets the subjectPublicKeyAlgID criterion. |
void |
X509CertSelector.addSubjectAlternativeName(int type,
String name)
Adds a name to the subjectAlternativeNames criterion. |
void |
X509CertSelector.addPathToName(int type,
String name)
Adds a name to the pathToNames criterion. |
static CertStore |
CertStore.getInstance(String type,
CertStoreParameters params)
Returns a CertStore object that implements the specified
CertStore type and is initialized with the specified
parameters. |
static CertStore |
CertStore.getInstance(String type,
CertStoreParameters params,
String provider)
Returns a CertStore object that implements the specified
CertStore type, as supplied by the specified provider
and initialized with the specified parameters. |
static CertStore |
CertStore.getInstance(String type,
CertStoreParameters params,
Provider provider)
Returns a CertStore object that implements the specified
CertStore type, as supplied by the specified provider and
initialized with the specified parameters. |
static CertPathValidator |
CertPathValidator.getInstance(String algorithm)
Returns a CertPathValidator object that implements the
specified algorithm. |
static CertPathValidator |
CertPathValidator.getInstance(String algorithm,
String provider)
Returns a CertPathValidator object that implements the
specified algorithm, as supplied by the specified provider. |
static CertPathValidator |
CertPathValidator.getInstance(String algorithm,
Provider provider)
Returns a CertPathValidator object that implements the
specified algorithm, as supplied by the specified provider. |
static CertPathBuilder |
CertPathBuilder.getInstance(String algorithm)
Returns a CertPathBuilder object that implements the
specified algorithm. |
static CertPathBuilder |
CertPathBuilder.getInstance(String algorithm,
String provider)
Returns a CertPathBuilder object that implements the
specified algorithm, as supplied by the specified provider. |
static CertPathBuilder |
CertPathBuilder.getInstance(String algorithm,
Provider provider)
Returns a CertPathBuilder object that implements the
specified algorithm, as supplied by the specified provider. |
static CertificateFactory |
CertificateFactory.getInstance(String type)
Generates a certificate factory object that implements the specified certificate type. |
static CertificateFactory |
CertificateFactory.getInstance(String type,
String provider)
Generates a certificate factory object for the specified certificate type from the specified provider. |
static CertificateFactory |
CertificateFactory.getInstance(String type,
Provider provider)
Generates a certificate factory object for the specified certificate type from the specified provider. |
CertPath |
CertificateFactory.generateCertPath(InputStream inStream,
String encoding)
Generates a CertPath object and initializes it with
the data read from the InputStream inStream. |
abstract byte[] |
CertPath.getEncoded(String encoding)
Returns the encoded form of this certification path, using the specified encoding. |
CertPath |
CertificateFactorySpi.engineGenerateCertPath(InputStream inStream,
String encoding)
Generates a CertPath object and initializes it with
the data read from the InputStream inStream. |
abstract void |
X509CRL.verify(PublicKey key,
String sigProvider)
Verifies that this CRL was signed using the private key that corresponds to the given public key. |
byte[] |
X509Extension.getExtensionValue(String oid)
Gets the DER-encoded OCTET string for the extension value (extnValue) identified by the passed-in oid
String. |
abstract void |
Certificate.verify(PublicKey key,
String sigProvider)
Verifies that this certificate was signed using the private key that corresponds to the specified public key. |
Constructors in java.security.cert with parameters of type String | |
LDAPCertStoreParameters(String serverName,
int port)
Creates an instance of LDAPCertStoreParameters with the
specified parameter values. |
|
LDAPCertStoreParameters(String serverName)
Creates an instance of LDAPCertStoreParameters with the
specified server name and a default port of 389. |
|
TrustAnchor(String caName,
PublicKey pubKey,
byte[] nameConstraints)
Creates an instance of TrustAnchor where the
most-trusted CA is specified as a distinguished name and public key. |
|
CertStoreException(String msg)
Creates a CertStoreException with the given detail
message. |
|
CertStoreException(String msg,
Throwable cause)
Creates a CertStoreException with the specified detail
message and cause. |
|
CertStore(CertStoreSpi storeSpi,
Provider provider,
String type,
CertStoreParameters params)
Creates a CertStore object of the given type, and
encapsulates the given provider implementation (SPI object) in it. |
|
CertPathValidatorException(String msg)
Creates a CertPathValidatorException with the given
detail message. |
|
CertPathValidatorException(String msg,
Throwable cause)
Creates a CertPathValidatorException with the specified
detail message and cause. |
|
CertPathValidatorException(String msg,
Throwable cause,
CertPath certPath,
int index)
Creates a CertPathValidatorException with the specified
detail message, cause, certification path, and index. |
|
CertPathValidator(CertPathValidatorSpi validatorSpi,
Provider provider,
String algorithm)
Creates a CertPathValidator object of the given algorithm,
and encapsulates the given provider implementation (SPI object) in it. |
|
CertPathBuilderException(String msg)
Creates a CertPathBuilderException with the given
detail message. |
|
CertPathBuilderException(String msg,
Throwable cause)
Creates a CertPathBuilderException with the specified
detail message and cause. |
|
CertPathBuilder(CertPathBuilderSpi builderSpi,
Provider provider,
String algorithm)
Creates a CertPathBuilder object of the given algorithm,
and encapsulates the given provider implementation (SPI object) in it. |
|
CertificateFactory(CertificateFactorySpi certFacSpi,
Provider provider,
String type)
Creates a CertificateFactory object of the given type, and encapsulates the given provider implementation (SPI object) in it. |
|
CertPath(String type)
Creates a CertPath of the specified type. |
|
CertPath.CertPathRep(String type,
byte[] data)
Creates a CertPathRep with the specified
type and encoded form of a certification path. |
|
CRLException(String message)
Constructs a CRLException with the specified detail message. |
|
CRL(String type)
Creates a CRL of the specified type. |
|
CertificateParsingException(String message)
Constructs a CertificateParsingException with the specified detail message. |
|
CertificateNotYetValidException(String message)
Constructs a CertificateNotYetValidException with the specified detail message. |
|
CertificateExpiredException(String message)
Constructs a CertificateExpiredException with the specified detail message. |
|
CertificateException(String msg)
Constructs a certificate exception with the given detail message. |
|
CertificateEncodingException(String message)
Constructs a CertificateEncodingException with the specified detail message. |
|
Certificate(String type)
Creates a certificate of the specified type. |
|
Certificate.CertificateRep(String type,
byte[] data)
Construct the alternate Certificate class with the Certificate type and Certificate encoding bytes. |
Uses of String in java.security.spec |
Methods in java.security.spec that return String | |
String |
PKCS8EncodedKeySpec.getFormat()
Returns the name of the encoding format associated with this key specification. |
abstract String |
EncodedKeySpec.getFormat()
Returns the name of the encoding format associated with this key specification. |
String |
X509EncodedKeySpec.getFormat()
Returns the name of the encoding format associated with this key specification. |
Constructors in java.security.spec with parameters of type String | |
InvalidKeySpecException(String msg)
Constructs an InvalidKeySpecException with the specified detail message. |
|
InvalidParameterSpecException(String msg)
Constructs an InvalidParameterSpecException with the specified detail message. |
Uses of String in java.sql |
Fields in java.sql declared as String | |
String |
DriverPropertyInfo.name
The name of the property. |
String |
DriverPropertyInfo.description
A brief description of the property, which may be null. |
String |
DriverPropertyInfo.value
The value field specifies the current value of
the property, based on a combination of the information
supplied to the method getPropertyInfo , the
Java environment, and the driver-supplied default values. |
String[] |
DriverPropertyInfo.choices
An array of possible values if the value for the field DriverPropertyInfo.value may be selected
from a particular set of values; otherwise null. |
Methods in java.sql that return String | |
String |
Struct.getSQLTypeName()
Retrieves the SQL type name of the SQL structured type that this Struct object represents. |
String |
SQLInput.readString()
Reads the next attribute in the stream and returns it as a String
in the Java programming language. |
String |
SQLData.getSQLTypeName()
Returns the fully-qualified name of the SQL user-defined type that this object represents. |
String |
Savepoint.getSavepointName()
Retrieves the name of the savepoint that this Savepoint
object represents. |
String |
DatabaseMetaData.getURL()
Retrieves the URL for this DBMS. |
String |
DatabaseMetaData.getUserName()
Retrieves the user name as known to this database. |
String |
DatabaseMetaData.getDatabaseProductName()
Retrieves the name of this database product. |
String |
DatabaseMetaData.getDatabaseProductVersion()
Retrieves the version number of this database product. |
String |
DatabaseMetaData.getDriverName()
Retrieves the name of this JDBC driver. |
String |
DatabaseMetaData.getDriverVersion()
Retrieves the version number of this JDBC driver as a String . |
String |
DatabaseMetaData.getIdentifierQuoteString()
Retrieves the string used to quote SQL identifiers. |
String |
DatabaseMetaData.getSQLKeywords()
Retrieves a comma-separated list of all of this database's SQL keywords that are NOT also SQL92 keywords. |
String |
DatabaseMetaData.getNumericFunctions()
Retrieves a comma-separated list of math functions available with this database. |
String |
DatabaseMetaData.getStringFunctions()
Retrieves a comma-separated list of string functions available with this database. |
String |
DatabaseMetaData.getSystemFunctions()
Retrieves a comma-separated list of system functions available with this database. |
String |
DatabaseMetaData.getTimeDateFunctions()
Retrieves a comma-separated list of the time and date functions available with this database. |
String |
DatabaseMetaData.getSearchStringEscape()
Retrieves the string that can be used to escape wildcard characters. |
String |
DatabaseMetaData.getExtraNameCharacters()
Retrieves all the "extra" characters that can be used in unquoted identifier names (those beyond a-z, A-Z, 0-9 and _). |
String |
DatabaseMetaData.getSchemaTerm()
Retrieves the database vendor's preferred term for "schema". |
String |
DatabaseMetaData.getProcedureTerm()
Retrieves the database vendor's preferred term for "procedure". |
String |
DatabaseMetaData.getCatalogTerm()
Retrieves the database vendor's preferred term for "catalog". |
String |
DatabaseMetaData.getCatalogSeparator()
Retrieves the String that this database uses as the
separator between a catalog and table name. |
String |
CallableStatement.getString(int parameterIndex)
Retrieves the value of the designated JDBC CHAR ,
VARCHAR , or LONGVARCHAR parameter as a
String in the Java programming language. |
String |
CallableStatement.getString(String parameterName)
Retrieves the value of a JDBC CHAR , VARCHAR ,
or LONGVARCHAR parameter as a String in
the Java programming language. |
String |
ParameterMetaData.getParameterTypeName(int param)
Retrieves the designated parameter's database-specific type name. |
String |
ParameterMetaData.getParameterClassName(int param)
Retrieves the fully-qualified name of the Java class whose instances should be passed to the method PreparedStatement.setObject . |
String |
Clob.getSubString(long pos,
int length)
Retrieves a copy of the specified substring in the CLOB value
designated by this Clob object. |
String |
Ref.getBaseTypeName()
Retrieves the fully-qualified SQL name of the SQL structured type that this Ref object references. |
String |
Connection.nativeSQL(String sql)
Converts the given SQL statement into the system's native SQL grammar. |
String |
Connection.getCatalog()
Retrieves this Connection object's current catalog name. |
String |
ResultSetMetaData.getColumnLabel(int column)
Gets the designated column's suggested title for use in printouts and displays. |
String |
ResultSetMetaData.getColumnName(int column)
Get the designated column's name. |
String |
ResultSetMetaData.getSchemaName(int column)
Get the designated column's table's schema. |
String |
ResultSetMetaData.getTableName(int column)
Gets the designated column's table name. |
String |
ResultSetMetaData.getCatalogName(int column)
Gets the designated column's table's catalog name. |
String |
ResultSetMetaData.getColumnTypeName(int column)
Retrieves the designated column's database-specific type name. |
String |
ResultSetMetaData.getColumnClassName(int column)
Returns the fully-qualified name of the Java class whose instances are manufactured if the method ResultSet.getObject
is called to retrieve a value
from the column. |
String |
Timestamp.toString()
Formats a timestamp in JDBC timestamp escape format. |
String |
Time.toString()
Formats a time in JDBC time escape format. |
String |
Date.toString()
Formats a date in the date escape format yyyy-mm-dd. |
String |
ResultSet.getString(int columnIndex)
Retrieves the value of the designated column in the current row of this ResultSet object as
a String in the Java programming language. |
String |
ResultSet.getString(String columnName)
Retrieves the value of the designated column in the current row of this ResultSet object as
a String in the Java programming language. |
String |
ResultSet.getCursorName()
Retrieves the name of the SQL cursor used by this ResultSet
object. |
String |
SQLException.getSQLState()
Retrieves the SQLState for this SQLException object. |
String |
Array.getBaseTypeName()
Retrieves the SQL type name of the elements in the array designated by this Array object. |
Methods in java.sql with parameters of type String | |
static Connection |
DriverManager.getConnection(String url,
Properties info)
Attempts to establish a connection to the given database URL. |
static Connection |
DriverManager.getConnection(String url,
String user,
String password)
Attempts to establish a connection to the given database URL. |
static Connection |
DriverManager.getConnection(String url)
Attempts to establish a connection to the given database URL. |
static Driver |
DriverManager.getDriver(String url)
Attempts to locate a driver that understands the given URL. |
static void |
DriverManager.println(String message)
Prints a message to the current JDBC log stream. |
Connection |
Driver.connect(String url,
Properties info)
Attempts to make a database connection to the given URL. |
boolean |
Driver.acceptsURL(String url)
Retrieves whether the driver thinks that it can open a connection to the given URL. |
DriverPropertyInfo[] |
Driver.getPropertyInfo(String url,
Properties info)
Gets information about the possible properties for this driver. |
void |
SQLOutput.writeString(String x)
Writes the next attribute to the stream as a String
in the Java programming language. |
void |
SQLData.readSQL(SQLInput stream,
String typeName)
Populates this object with data read from the database. |
ResultSet |
DatabaseMetaData.getProcedures(String catalog,
String schemaPattern,
String procedureNamePattern)
Retrieves a description of the stored procedures available in the given catalog. |
ResultSet |
DatabaseMetaData.getProcedureColumns(String catalog,
String schemaPattern,
String procedureNamePattern,
String columnNamePattern)
Retrieves a description of the given catalog's stored procedure parameter and result columns. |
ResultSet |
DatabaseMetaData.getTables(String catalog,
String schemaPattern,
String tableNamePattern,
String[] types)
Retrieves a description of the tables available in the given catalog. |
ResultSet |
DatabaseMetaData.getColumns(String catalog,
String schemaPattern,
String tableNamePattern,
String columnNamePattern)
Retrieves a description of table columns available in the specified catalog. |
ResultSet |
DatabaseMetaData.getColumnPrivileges(String catalog,
String schema,
String table,
String columnNamePattern)
Retrieves a description of the access rights for a table's columns. |
ResultSet |
DatabaseMetaData.getTablePrivileges(String catalog,
String schemaPattern,
String tableNamePattern)
Retrieves a description of the access rights for each table available in a catalog. |
ResultSet |
DatabaseMetaData.getBestRowIdentifier(String catalog,
String schema,
String table,
int scope,
boolean nullable)
Retrieves a description of a table's optimal set of columns that uniquely identifies a row. |
ResultSet |
DatabaseMetaData.getVersionColumns(String catalog,
String schema,
String table)
Retrieves a description of a table's columns that are automatically updated when any value in a row is updated. |
ResultSet |
DatabaseMetaData.getPrimaryKeys(String catalog,
String schema,
String table)
Retrieves a description of the given table's primary key columns. |
ResultSet |
DatabaseMetaData.getImportedKeys(String catalog,
String schema,
String table)
Retrieves a description of the primary key columns that are referenced by a table's foreign key columns (the primary keys imported by a table). |
ResultSet |
DatabaseMetaData.getExportedKeys(String catalog,
String schema,
String table)
Retrieves a description of the foreign key columns that reference the given table's primary key columns (the foreign keys exported by a table). |
ResultSet |
DatabaseMetaData.getCrossReference(String primaryCatalog,
String primarySchema,
String primaryTable,
String foreignCatalog,
String foreignSchema,
String foreignTable)
Retrieves a description of the foreign key columns in the given foreign key table that reference the primary key columns of the given primary key table (describe how one table imports another's key). |
ResultSet |
DatabaseMetaData.getIndexInfo(String catalog,
String schema,
String table,
boolean unique,
boolean approximate)
Retrieves a description of the given table's indices and statistics. |
ResultSet |
DatabaseMetaData.getUDTs(String catalog,
String schemaPattern,
String typeNamePattern,
int[] types)
Retrieves a description of the user-defined types (UDTs) defined in a particular schema. |
ResultSet |
DatabaseMetaData.getSuperTypes(String catalog,
String schemaPattern,
String typeNamePattern)
Retrieves a description of the user-defined type (UDT) hierarchies defined in a particular schema in this database. |
ResultSet |
DatabaseMetaData.getSuperTables(String catalog,
String schemaPattern,
String tableNamePattern)
Retrieves a description of the table hierarchies defined in a particular schema in this database. |
ResultSet |
DatabaseMetaData.getAttributes(String catalog,
String schemaPattern,
String typeNamePattern,
String attributeNamePattern)
Retrieves a description of the given attribute of the given type for a user-defined type (UDT) that is available in the given schema and catalog. |
void |
CallableStatement.registerOutParameter(int paramIndex,
int sqlType,
String typeName)
Registers the designated output parameter. |
void |
CallableStatement.registerOutParameter(String parameterName,
int sqlType)
Registers the OUT parameter named parameterName to the JDBC type
sqlType . |
void |
CallableStatement.registerOutParameter(String parameterName,
int sqlType,
int scale)
Registers the parameter named parameterName to be of JDBC type
sqlType . |
void |
CallableStatement.registerOutParameter(String parameterName,
int sqlType,
String typeName)
Registers the designated output parameter. |
void |
CallableStatement.setURL(String parameterName,
URL val)
Sets the designated parameter to the given java.net.URL object. |
void |
CallableStatement.setNull(String parameterName,
int sqlType)
Sets the designated parameter to SQL NULL . |
void |
CallableStatement.setBoolean(String parameterName,
boolean x)
Sets the designated parameter to the given Java boolean value. |
void |
CallableStatement.setByte(String parameterName,
byte x)
Sets the designated parameter to the given Java byte value. |
void |
CallableStatement.setShort(String parameterName,
short x)
Sets the designated parameter to the given Java short value. |
void |
CallableStatement.setInt(String parameterName,
int x)
Sets the designated parameter to the given Java int value. |
void |
CallableStatement.setLong(String parameterName,
long x)
Sets the designated parameter to the given Java long value. |
void |
CallableStatement.setFloat(String parameterName,
float x)
Sets the designated parameter to the given Java float value. |
void |
CallableStatement.setDouble(String parameterName,
double x)
Sets the designated parameter to the given Java double value. |
void |
CallableStatement.setBigDecimal(String parameterName,
BigDecimal x)
Sets the designated parameter to the given java.math.BigDecimal value. |
void |
CallableStatement.setString(String parameterName,
String x)
Sets the designated parameter to the given Java String value. |
void |
CallableStatement.setBytes(String parameterName,
byte[] x)
Sets the designated parameter to the given Java array of bytes. |
void |
CallableStatement.setDate(String parameterName,
Date x)
Sets the designated parameter to the given java.sql.Date value. |
void |
CallableStatement.setTime(String parameterName,
Time x)
Sets the designated parameter to the given java.sql.Time value. |
void |
CallableStatement.setTimestamp(String parameterName,
Timestamp x)
Sets the designated parameter to the given java.sql.Timestamp value. |
void |
CallableStatement.setAsciiStream(String parameterName,
InputStream x,
int length)
Sets the designated parameter to the given input stream, which will have the specified number of bytes. |
void |
CallableStatement.setBinaryStream(String parameterName,
InputStream x,
int length)
Sets the designated parameter to the given input stream, which will have the specified number of bytes. |
void |
CallableStatement.setObject(String parameterName,
Object x,
int targetSqlType,
int scale)
Sets the value of the designated parameter with the given object. |
void |
CallableStatement.setObject(String parameterName,
Object x,
int targetSqlType)
Sets the value of the designated parameter with the given object. |
void |
CallableStatement.setObject(String parameterName,
Object x)
Sets the value of the designated parameter with the given object. |
void |
CallableStatement.setCharacterStream(String parameterName,
Reader reader,
int length)
Sets the designated parameter to the given Reader
object, which is the given number of characters long. |
void |
CallableStatement.setDate(String parameterName,
Date x,
Calendar cal)
Sets the designated parameter to the given java.sql.Date value,
using the given Calendar object. |
void |
CallableStatement.setTime(String parameterName,
Time x,
Calendar cal)
Sets the designated parameter to the given java.sql.Time value,
using the given Calendar object. |
void |
CallableStatement.setTimestamp(String parameterName,
Timestamp x,
Calendar cal)
Sets the designated parameter to the given java.sql.Timestamp value,
using the given Calendar object. |
void |
CallableStatement.setNull(String parameterName,
int sqlType,
String typeName)
Sets the designated parameter to SQL NULL . |
String |
CallableStatement.getString(String parameterName)
Retrieves the value of a JDBC CHAR , VARCHAR ,
or LONGVARCHAR parameter as a String in
the Java programming language. |
boolean |
CallableStatement.getBoolean(String parameterName)
Retrieves the value of a JDBC BIT parameter as a
boolean in the Java programming language. |
byte |
CallableStatement.getByte(String parameterName)
Retrieves the value of a JDBC TINYINT parameter as a byte
in the Java programming language. |
short |
CallableStatement.getShort(String parameterName)
Retrieves the value of a JDBC SMALLINT parameter as a short
in the Java programming language. |
int |
CallableStatement.getInt(String parameterName)
Retrieves the value of a JDBC INTEGER parameter as an int
in the Java programming language. |
long |
CallableStatement.getLong(String parameterName)
Retrieves the value of a JDBC BIGINT parameter as a long
in the Java programming language. |
float |
CallableStatement.getFloat(String parameterName)
Retrieves the value of a JDBC FLOAT parameter as a float
in the Java programming language. |
double |
CallableStatement.getDouble(String parameterName)
Retrieves the value of a JDBC DOUBLE parameter as a double
in the Java programming language. |
byte[] |
CallableStatement.getBytes(String parameterName)
Retrieves the value of a JDBC BINARY or VARBINARY
parameter as an array of byte values in the Java
programming language. |
Date |
CallableStatement.getDate(String parameterName)
Retrieves the value of a JDBC DATE parameter as a
java.sql.Date object. |
Time |
CallableStatement.getTime(String parameterName)
Retrieves the value of a JDBC TIME parameter as a
java.sql.Time object. |
Timestamp |
CallableStatement.getTimestamp(String parameterName)
Retrieves the value of a JDBC TIMESTAMP parameter as a
java.sql.Timestamp object. |
Object |
CallableStatement.getObject(String parameterName)
Retrieves the value of a parameter as an Object in the Java
programming language. |
BigDecimal |
CallableStatement.getBigDecimal(String parameterName)
Retrieves the value of a JDBC NUMERIC parameter as a
java.math.BigDecimal object with as many digits to the
right of the decimal point as the value contains. |
Object |
CallableStatement.getObject(String parameterName,
Map map)
Returns an object representing the value of OUT parameter i and uses map for the custom
mapping of the parameter value. |
Ref |
CallableStatement.getRef(String parameterName)
Retrieves the value of a JDBC REF(<structured-type>)
parameter as a Ref object in the Java programming language. |
Blob |
CallableStatement.getBlob(String parameterName)
Retrieves the value of a JDBC BLOB parameter as a
Blob object in the Java programming language. |
Clob |
CallableStatement.getClob(String parameterName)
Retrieves the value of a JDBC CLOB parameter as a
Clob object in the Java programming language. |
Array |
CallableStatement.getArray(String parameterName)
Retrieves the value of a JDBC ARRAY parameter as an
Array object in the Java programming language. |
Date |
CallableStatement.getDate(String parameterName,
Calendar cal)
Retrieves the value of a JDBC DATE parameter as a
java.sql.Date object, using
the given Calendar object
to construct the date. |
Time |
CallableStatement.getTime(String parameterName,
Calendar cal)
Retrieves the value of a JDBC TIME parameter as a
java.sql.Time object, using
the given Calendar object
to construct the time. |
Timestamp |
CallableStatement.getTimestamp(String parameterName,
Calendar cal)
Retrieves the value of a JDBC TIMESTAMP parameter as a
java.sql.Timestamp object, using
the given Calendar object to construct
the Timestamp object. |
URL |
CallableStatement.getURL(String parameterName)
Retrieves the value of a JDBC DATALINK parameter as a
java.net.URL object. |
long |
Clob.position(String searchstr,
long start)
Retrieves the character position at which the specified substring searchstr appears in the SQL CLOB value
represented by this Clob object. |
int |
Clob.setString(long pos,
String str)
Writes the given Java String to the CLOB
value that this Clob object designates at the position
pos . |
int |
Clob.setString(long pos,
String str,
int offset,
int len)
Writes len characters of str , starting
at character offset , to the CLOB value
that this Clob represents. |
void |
PreparedStatement.setString(int parameterIndex,
String x)
Sets the designated parameter to the given Java String value. |
void |
PreparedStatement.setNull(int paramIndex,
int sqlType,
String typeName)
Sets the designated parameter to SQL NULL . |
PreparedStatement |
Connection.prepareStatement(String sql)
Creates a PreparedStatement object for sending
parameterized SQL statements to the database. |
CallableStatement |
Connection.prepareCall(String sql)
Creates a CallableStatement object for calling
database stored procedures. |
String |
Connection.nativeSQL(String sql)
Converts the given SQL statement into the system's native SQL grammar. |
void |
Connection.setCatalog(String catalog)
Sets the given catalog name in order to select a subspace of this Connection object's database
in which to work. |
PreparedStatement |
Connection.prepareStatement(String sql,
int resultSetType,
int resultSetConcurrency)
Creates a PreparedStatement object that will generate
ResultSet objects with the given type and concurrency. |
CallableStatement |
Connection.prepareCall(String sql,
int resultSetType,
int resultSetConcurrency)
Creates a CallableStatement object that will generate
ResultSet objects with the given type and concurrency. |
Savepoint |
Connection.setSavepoint(String name)
Creates a savepoint with the given name in the current transaction and returns the new Savepoint object that represents it. |
PreparedStatement |
Connection.prepareStatement(String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
Creates a PreparedStatement object that will generate
ResultSet objects with the given type, concurrency,
and holdability. |
CallableStatement |
Connection.prepareCall(String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
Creates a CallableStatement object that will generate
ResultSet objects with the given type and concurrency. |
PreparedStatement |
Connection.prepareStatement(String sql,
int autoGeneratedKeys)
Creates a default PreparedStatement object that has
the capability to retrieve auto-generated keys. |
PreparedStatement |
Connection.prepareStatement(String sql,
int[] columnIndexes)
Creates a default PreparedStatement object capable
of returning the auto-generated keys designated by the given array. |
PreparedStatement |
Connection.prepareStatement(String sql,
String[] columnNames)
Creates a default PreparedStatement object capable
of returning the auto-generated keys designated by the given array. |
ResultSet |
Statement.executeQuery(String sql)
Executes the given SQL statement, which returns a single ResultSet object. |
int |
Statement.executeUpdate(String sql)
Executes the given SQL statement, which may be an INSERT ,
UPDATE , or DELETE statement or an
SQL statement that returns nothing, such as an SQL DDL statement. |
void |
Statement.setCursorName(String name)
Sets the SQL cursor name to the given String , which
will be used by subsequent Statement object
execute methods. |
boolean |
Statement.execute(String sql)
Executes the given SQL statement, which may return multiple results. |
void |
Statement.addBatch(String sql)
Adds the given SQL command to the current list of commmands for this Statement object. |
int |
Statement.executeUpdate(String sql,
int autoGeneratedKeys)
Executes the given SQL statement and signals the driver with the given flag about whether the auto-generated keys produced by this Statement object
should be made available for retrieval. |
int |
Statement.executeUpdate(String sql,
int[] columnIndexes)
Executes the given SQL statement and signals the driver that the auto-generated keys indicated in the given array should be made available for retrieval. |
int |
Statement.executeUpdate(String sql,
String[] columnNames)
Executes the given SQL statement and signals the driver that the auto-generated keys indicated in the given array should be made available for retrieval. |
boolean |
Statement.execute(String sql,
int autoGeneratedKeys)
Executes the given SQL statement, which may return multiple results, and signals the driver that any auto-generated keys should be made available for retrieval. |
boolean |
Statement.execute(String sql,
int[] columnIndexes)
Executes the given SQL statement, which may return multiple results, and signals the driver that the auto-generated keys indicated in the given array should be made available for retrieval. |
boolean |
Statement.execute(String sql,
String[] columnNames)
Executes the given SQL statement, which may return multiple results, and signals the driver that the auto-generated keys indicated in the given array should be made available for retrieval. |
static Timestamp |
Timestamp.valueOf(String s)
Converts a String object in JDBC timestamp escape format to a
Timestamp value. |
static Time |
Time.valueOf(String s)
Converts a string in JDBC time escape format to a Time value. |
static Date |
Date.valueOf(String s)
Converts a string in JDBC date escape format to a Date value. |
String |
ResultSet.getString(String columnName)
Retrieves the value of the designated column in the current row of this ResultSet object as
a String in the Java programming language. |
boolean |
ResultSet.getBoolean(String columnName)
Retrieves the value of the designated column in the current row of this ResultSet object as
a boolean in the Java programming language. |
byte |
ResultSet.getByte(String columnName)
Retrieves the value of the designated column in the current row of this ResultSet object as
a byte in the Java programming language. |
short |
ResultSet.getShort(String columnName)
Retrieves the value of the designated column in the current row of this ResultSet object as
a short in the Java programming language. |
int |
ResultSet.getInt(String columnName)
Retrieves the value of the designated column in the current row of this ResultSet object as
an int in the Java programming language. |
long |
ResultSet.getLong(String columnName)
Retrieves the value of the designated column in the current row of this ResultSet object as
a long in the Java programming language. |
float |
ResultSet.getFloat(String columnName)
Retrieves the value of the designated column in the current row of this ResultSet object as
a float in the Java programming language. |
double |
ResultSet.getDouble(String columnName)
Retrieves the value of the designated column in the current row of this ResultSet object as
a double in the Java programming language. |
BigDecimal |
ResultSet.getBigDecimal(String columnName,
int scale)
Deprecated. |
byte[] |
ResultSet.getBytes(String columnName)
Retrieves the value of the designated column in the current row of this ResultSet object as
a byte array in the Java programming language. |
Date |
ResultSet.getDate(String columnName)
Retrieves the value of the designated column in the current row of this ResultSet object as
a java.sql.Date object in the Java programming language. |
Time |
ResultSet.getTime(String columnName)
Retrieves the value of the designated column in the current row of this ResultSet object as
a java.sql.Time object in the Java programming language. |
Timestamp |
ResultSet.getTimestamp(String columnName)
Retrieves the value of the designated column in the current row of this ResultSet object as
a java.sql.Timestamp object. |
InputStream |
ResultSet.getAsciiStream(String columnName)
Retrieves the value of the designated column in the current row of this ResultSet object as a stream of
ASCII characters. |
InputStream |
ResultSet.getUnicodeStream(String columnName)
Deprecated. use getCharacterStream instead |
InputStream |
ResultSet.getBinaryStream(String columnName)
Retrieves the value of the designated column in the current row of this ResultSet object as a stream of uninterpreted
byte s. |
Object |
ResultSet.getObject(String columnName)
Gets the value of the designated column in the current row of this ResultSet object as
an Object in the Java programming language. |
int |
ResultSet.findColumn(String columnName)
Maps the given ResultSet column name to its
ResultSet column index. |
Reader |
ResultSet.getCharacterStream(String columnName)
Retrieves the value of the designated column in the current row of this ResultSet object as a
java.io.Reader object. |
BigDecimal |
ResultSet.getBigDecimal(String columnName)
Retrieves the value of the designated column in the current row of this ResultSet object as a
java.math.BigDecimal with full precision. |
void |
ResultSet.updateString(int columnIndex,
String x)
Updates the designated column with a String value. |
void |
ResultSet.updateNull(String columnName)
Updates the designated column with a null value. |
void |
ResultSet.updateBoolean(String columnName,
boolean x)
Updates the designated column with a boolean value. |
void |
ResultSet.updateByte(String columnName,
byte x)
Updates the designated column with a byte value. |
void |
ResultSet.updateShort(String columnName,
short x)
Updates the designated column with a short value. |
void |
ResultSet.updateInt(String columnName,
int x)
Updates the designated column with an int value. |
void |
ResultSet.updateLong(String columnName,
long x)
Updates the designated column with a long value. |
void |
ResultSet.updateFloat(String columnName,
float x)
Updates the designated column with a float value. |
void |
ResultSet.updateDouble(String columnName,
double x)
Updates the designated column with a double value. |
void |
ResultSet.updateBigDecimal(String columnName,
BigDecimal x)
Updates the designated column with a java.sql.BigDecimal
value. |
void |
ResultSet.updateString(String columnName,
String x)
Updates the designated column with a String value. |
void |
ResultSet.updateBytes(String columnName,
byte[] x)
Updates the designated column with a byte array value. |
void |
ResultSet.updateDate(String columnName,
Date x)
Updates the designated column with a java.sql.Date value. |
void |
ResultSet.updateTime(String columnName,
Time x)
Updates the designated column with a java.sql.Time value. |
void |
ResultSet.updateTimestamp(String columnName,
Timestamp x)
Updates the designated column with a java.sql.Timestamp
value. |
void |
ResultSet.updateAsciiStream(String columnName,
InputStream x,
int length)
Updates the designated column with an ascii stream value. |
void |
ResultSet.updateBinaryStream(String columnName,
InputStream x,
int length)
Updates the designated column with a binary stream value. |
void |
ResultSet.updateCharacterStream(String columnName,
Reader reader,
int length)
Updates the designated column with a character stream value. |
void |
ResultSet.updateObject(String columnName,
Object x,
int scale)
Updates the designated column with an Object value. |
void |
ResultSet.updateObject(String columnName,
Object x)
Updates the designated column with an Object value. |
Object |
ResultSet.getObject(String colName,
Map map)
Retrieves the value of the designated column in the current row of this ResultSet object as an Object
in the Java programming language. |
Ref |
ResultSet.getRef(String colName)
Retrieves the value of the designated column in the current row of this ResultSet object as a Ref object
in the Java programming language. |
Blob |
ResultSet.getBlob(String colName)
Retrieves the value of the designated column in the current row of this ResultSet object as a Blob object
in the Java programming language. |
Clob |
ResultSet.getClob(String colName)
Retrieves the value of the designated column in the current row of this ResultSet object as a Clob object
in the Java programming language. |
Array |
ResultSet.getArray(String colName)
Retrieves the value of the designated column in the current row of this ResultSet object as an Array object
in the Java programming language. |
Date |
ResultSet.getDate(String columnName,
Calendar cal)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.Date object
in the Java programming language. |
Time |
ResultSet.getTime(String columnName,
Calendar cal)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.Time object
in the Java programming language. |
Timestamp |
ResultSet.getTimestamp(String columnName,
Calendar cal)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.Timestamp object
in the Java programming language. |
URL |
ResultSet.getURL(String columnName)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.net.URL
object in the Java programming language. |
void |
ResultSet.updateRef(String columnName,
Ref x)
Updates the designated column with a java.sql.Ref value. |
void |
ResultSet.updateBlob(String columnName,
Blob x)
Updates the designated column with a java.sql.Blob value. |
void |
ResultSet.updateClob(String columnName,
Clob x)
Updates the designated column with a java.sql.Clob value. |
void |
ResultSet.updateArray(String columnName,
Array x)
Updates the designated column with a java.sql.Array value. |
Constructors in java.sql with parameters of type String | |
SQLPermission(String name)
Creates a new SQLPermission object with the specified name. |
|
SQLPermission(String name,
String actions)
Creates a new SQLPermission object with the specified name. |
|
DriverPropertyInfo(String name,
String value)
Constructs a DriverPropertyInfo object with a name and value;
other members default to their initial values. |
|
BatchUpdateException(String reason,
String SQLState,
int vendorCode,
int[] updateCounts)
Constructs a fully-specified BatchUpdateException object,
initializing it with the given values. |
|
BatchUpdateException(String reason,
String SQLState,
int[] updateCounts)
Constructs a BatchUpdateException initialized with
the given arguments (reason ,
SQLState , and updateCounts ) and 0 for the vendor
code. |
|
BatchUpdateException(String reason,
int[] updateCounts)
Constructs a BatchUpdateException initialized with
reason , updateCounts and null
for the SQLState and 0 for the vendorCode. |
|
SQLWarning(String reason,
String SQLstate,
int vendorCode)
Constructs a fully-specified SQLWarning object
initialized with the given values. |
|
SQLWarning(String reason,
String SQLstate)
Constructs an SQLWarning object
with the given reason and SQLState;
the vendorCode defaults to 0. |
|
SQLWarning(String reason)
Constructs an SQLWarning object
with the given value for a reason; SQLstate defaults to
null , and vendorCode defaults to 0. |
|
SQLException(String reason,
String SQLState,
int vendorCode)
Constructs a fully-specified SQLException object. |
|
SQLException(String reason,
String SQLState)
Constructs an SQLException object with the given reason and
SQLState; the vendorCode field defaults to 0. |
|
SQLException(String reason)
Constructs an SQLException object with a reason;
the SQLState field defaults to null , and
the vendorCode field defaults to 0. |
Uses of String in java.text |
Methods in java.text that return String | |
String |
Bidi.toString()
Display the bidi internal state, used in debugging. |
String |
Annotation.toString()
Returns the String representation of this Annotation. |
String |
RuleBasedCollator.getRules()
Gets the table-based rules for the collation object. |
String |
ChoiceFormat.toPattern()
Gets the pattern. |
String |
CollationKey.getSourceString()
Returns the String that this CollationKey represents. |
String[] |
DateFormatSymbols.getEras()
Gets era strings. |
String[] |
DateFormatSymbols.getMonths()
Gets month strings. |
String[] |
DateFormatSymbols.getShortMonths()
Gets short month strings. |
String[] |
DateFormatSymbols.getWeekdays()
Gets weekday strings. |
String[] |
DateFormatSymbols.getShortWeekdays()
Gets short weekday strings. |
String[] |
DateFormatSymbols.getAmPmStrings()
Gets ampm strings. |
String[][] |
DateFormatSymbols.getZoneStrings()
Gets timezone strings. |
String |
DateFormatSymbols.getLocalPatternChars()
Gets localized date-time pattern characters. |
String |
SimpleDateFormat.toPattern()
Returns a pattern string describing this date format. |
String |
SimpleDateFormat.toLocalizedPattern()
Returns a localized pattern string describing this date format. |
String |
DateFormat.format(Date date)
Formats a Date into a date/time string. |
String |
DecimalFormatSymbols.getInfinity()
Gets the string used to represent infinity. |
String |
DecimalFormatSymbols.getNaN()
Gets the string used to represent "not a number". |
String |
DecimalFormatSymbols.getCurrencySymbol()
Returns the currency symbol for the currency of these DecimalFormatSymbols in their locale. |
String |
DecimalFormatSymbols.getInternationalCurrencySymbol()
Returns the ISO 4217 currency code of the currency of these DecimalFormatSymbols. |
String |
NumberFormat.format(double number)
Specialization of format. |
String |
NumberFormat.format(long number)
Specialization of format. |
String |
DecimalFormat.getPositivePrefix()
Get the positive prefix. |
String |
DecimalFormat.getNegativePrefix()
Get the negative prefix. |
String |
DecimalFormat.getPositiveSuffix()
Get the positive suffix. |
String |
DecimalFormat.getNegativeSuffix()
Get the negative suffix. |
String |
DecimalFormat.toPattern()
Synthesizes a pattern string that represents the current state of this Format object. |
String |
DecimalFormat.toLocalizedPattern()
Synthesizes a localized pattern string that represents the current state of this Format object. |
String |
ParsePosition.toString()
Return a string representation of this ParsePosition. |
String |
AttributedCharacterIterator.Attribute.toString()
Returns a string representation of the object. |
protected String |
AttributedCharacterIterator.Attribute.getName()
Returns the name of the attribute. |
String |
FieldPosition.toString()
Return a string representation of this FieldPosition. |
String |
Format.format(Object obj)
Formats an object to produce a string. |
String |
MessageFormat.toPattern()
Returns a pattern representing the current state of the message format. |
static String |
MessageFormat.format(String pattern,
Object[] arguments)
Creates a MessageFormat with the given pattern and uses it to format the given arguments. |
Methods in java.text with parameters of type String | |
void |
BreakIterator.setText(String newText)
Set a new text string to be scanned. |
void |
CollationElementIterator.setText(String source)
Set a new string over which to iterate. |
CollationElementIterator |
RuleBasedCollator.getCollationElementIterator(String source)
Return a CollationElementIterator for the given String. |
int |
RuleBasedCollator.compare(String source,
String target)
Compares the character data stored in two different strings based on the collation rules. |
CollationKey |
RuleBasedCollator.getCollationKey(String source)
Transforms the string into a series of characters that can be compared with CollationKey.compareTo. |
void |
ChoiceFormat.applyPattern(String newPattern)
Sets the pattern. |
void |
ChoiceFormat.setChoices(double[] limits,
String[] formats)
Set the choices to be used in formatting. |
Number |
ChoiceFormat.parse(String text,
ParsePosition status)
Parses a Number from the input text. |
void |
StringCharacterIterator.setText(String text)
Reset this iterator to point to a new string. |
abstract int |
Collator.compare(String source,
String target)
Compares the source string to the target string according to the collation rules for this Collator. |
abstract CollationKey |
Collator.getCollationKey(String source)
Transforms the String into a series of bits that can be compared bitwise to other CollationKeys. |
boolean |
Collator.equals(String source,
String target)
Convenience method for comparing the equality of two strings based on this Collator's collation rules. |
void |
DateFormatSymbols.setEras(String[] newEras)
Sets era strings. |
void |
DateFormatSymbols.setMonths(String[] newMonths)
Sets month strings. |
void |
DateFormatSymbols.setShortMonths(String[] newShortMonths)
Sets short month strings. |
void |
DateFormatSymbols.setWeekdays(String[] newWeekdays)
Sets weekday strings. |
void |
DateFormatSymbols.setShortWeekdays(String[] newShortWeekdays)
Sets short weekday strings. |
void |
DateFormatSymbols.setAmPmStrings(String[] newAmpms)
Sets ampm strings. |
void |
DateFormatSymbols.setZoneStrings(String[][] newZoneStrings)
Sets timezone strings. |
void |
DateFormatSymbols.setLocalPatternChars(String newLocalPatternChars)
Sets localized date-time pattern characters. |
Date |
SimpleDateFormat.parse(String text,
ParsePosition pos)
Parses text from a string to produce a Date . |
void |
SimpleDateFormat.applyPattern(String pattern)
Applies the given pattern string to this date format. |
void |
SimpleDateFormat.applyLocalizedPattern(String pattern)
Applies the given localized pattern string to this date format. |
Date |
DateFormat.parse(String source)
Parses text from the beginning of the given string to produce a date. |
abstract Date |
DateFormat.parse(String source,
ParsePosition pos)
Parse a date/time string according to the given parse position. |
Object |
DateFormat.parseObject(String source,
ParsePosition pos)
Parses text from a string to produce a Date . |
void |
DecimalFormatSymbols.setInfinity(String infinity)
Sets the string used to represent infinity. |
void |
DecimalFormatSymbols.setNaN(String NaN)
Sets the string used to represent "not a number". |
void |
DecimalFormatSymbols.setCurrencySymbol(String currency)
Sets the currency symbol for the currency of these DecimalFormatSymbols in their locale. |
void |
DecimalFormatSymbols.setInternationalCurrencySymbol(String currencyCode)
Sets the ISO 4217 currency code of the currency of these DecimalFormatSymbols. |
Object |
NumberFormat.parseObject(String source,
ParsePosition pos)
Parses text from a string to produce a Number . |
abstract Number |
NumberFormat.parse(String source,
ParsePosition parsePosition)
Returns a Long if possible (e.g., within the range [Long.MIN_VALUE, Long.MAX_VALUE] and with no decimals), otherwise a Double. |
Number |
NumberFormat.parse(String source)
Parses text from the beginning of the given string to produce a number. |
Number |
DecimalFormat.parse(String text,
ParsePosition pos)
Parses text from a string to produce a Number . |
void |
DecimalFormat.setPositivePrefix(String newValue)
Set the positive prefix. |
void |
DecimalFormat.setNegativePrefix(String newValue)
Set the negative prefix. |
void |
DecimalFormat.setPositiveSuffix(String newValue)
Set the positive suffix. |
void |
DecimalFormat.setNegativeSuffix(String newValue)
Set the positive suffix. |
void |
DecimalFormat.applyPattern(String pattern)
Apply the given pattern to this Format object. |
void |
DecimalFormat.applyLocalizedPattern(String pattern)
Apply the given pattern to this Format object. |
abstract Object |
Format.parseObject(String source,
ParsePosition pos)
Parses text from a string to produce an object. |
Object |
Format.parseObject(String source)
Parses text from the beginning of the given string to produce an object. |
void |
MessageFormat.applyPattern(String pattern)
Sets the pattern used by this message format. |
static String |
MessageFormat.format(String pattern,
Object[] arguments)
Creates a MessageFormat with the given pattern and uses it to format the given arguments. |
Object[] |
MessageFormat.parse(String source,
ParsePosition pos)
Parses the string. |
Object[] |
MessageFormat.parse(String source)
Parses text from the beginning of the given string to produce an object array. |
Object |
MessageFormat.parseObject(String source,
ParsePosition pos)
Parses text from a string to produce an object array. |
Constructors in java.text with parameters of type String | |
Bidi(String paragraph,
int flags)
Create Bidi from the given paragraph of text and base direction. |
|
RuleBasedCollator(String rules)
RuleBasedCollator constructor. |
|
ChoiceFormat(String newPattern)
Constructs with limits and corresponding formats based on the pattern. |
|
ChoiceFormat(double[] limits,
String[] formats)
Constructs with the limits and the corresponding formats. |
|
AttributedString(String text)
Constructs an AttributedString instance with the given text. |
|
AttributedString(String text,
Map attributes)
Constructs an AttributedString instance with the given text and attributes. |
|
StringCharacterIterator(String text)
Constructs an iterator with an initial index of 0. |
|
StringCharacterIterator(String text,
int pos)
Constructs an iterator with the specified initial index. |
|
StringCharacterIterator(String text,
int begin,
int end,
int pos)
Constructs an iterator over the given range of the given string, with the index set at the specified position. |
|
SimpleDateFormat(String pattern)
Constructs a SimpleDateFormat using the given pattern and
the default date format symbols for the default locale. |
|
SimpleDateFormat(String pattern,
Locale locale)
Constructs a SimpleDateFormat using the given pattern and
the default date format symbols for the given locale. |
|
SimpleDateFormat(String pattern,
DateFormatSymbols formatSymbols)
Constructs a SimpleDateFormat using the given pattern and
date format symbols. |
|
DateFormat.Field(String name,
int calendarField)
Creates a Field with the specified name. |
|
NumberFormat.Field(String name)
Creates a Field instance with the specified name. |
|
DecimalFormat(String pattern)
Creates a DecimalFormat using the given pattern and the symbols for the default locale. |
|
DecimalFormat(String pattern,
DecimalFormatSymbols symbols)
Creates a DecimalFormat using the given pattern and symbols. |
|
ParseException(String s,
int errorOffset)
Constructs a ParseException with the specified detail message and offset. |
|
AttributedCharacterIterator.Attribute(String name)
Constructs an Attribute with the given name. |
|
Format.Field(String name)
Creates a Field with the specified name. |
|
MessageFormat(String pattern)
Constructs a MessageFormat for the default locale and the specified pattern. |
|
MessageFormat(String pattern,
Locale locale)
Constructs a MessageFormat for the specified locale and pattern. |
|
MessageFormat.Field(String name)
Creates a Field with the specified name. |
Uses of String in java.util |
Methods in java.util that return String | |
String |
SimpleTimeZone.toString()
Returns a string representation of this time zone. |
String |
StringTokenizer.nextToken()
Returns the next token from this string tokenizer. |
String |
StringTokenizer.nextToken(String delim)
Returns the next token in this string tokenizer's string. |
String |
PropertyPermission.getActions()
Returns the "canonical string representation" of the actions. |
String |
EventObject.toString()
Returns a String representation of this EventObject. |
String |
Currency.getCurrencyCode()
Gets the ISO 4217 currency code of this currency. |
String |
Currency.getSymbol()
Gets the symbol of this currency for the default locale. |
String |
Currency.getSymbol(Locale locale)
Gets the symbol of this currency for the specified locale. |
String |
Currency.toString()
Returns the ISO 4217 currency code of this currency. |
String |
Date.toString()
Converts this Date object to a String
of the form:
|
String |
Date.toLocaleString()
Deprecated. As of JDK version 1.1, replaced by DateFormat.format(Date date) . |
String |
Date.toGMTString()
Deprecated. As of JDK version 1.1, replaced by DateFormat.format(Date date) , using a
GMT TimeZone . |
String |
TimeZone.getID()
Gets the ID of this time zone. |
String |
TimeZone.getDisplayName()
Returns a name of this time zone suitable for presentation to the user in the default locale. |
String |
TimeZone.getDisplayName(Locale locale)
Returns a name of this time zone suitable for presentation to the user in the specified locale. |
String |
TimeZone.getDisplayName(boolean daylight,
int style)
Returns a name of this time zone suitable for presentation to the user in the default locale. |
String |
TimeZone.getDisplayName(boolean daylight,
int style,
Locale locale)
Returns a name of this time zone suitable for presentation to the user in the specified locale. |
static String[] |
TimeZone.getAvailableIDs(int rawOffset)
Gets the available IDs according to the given time zone offset. |
static String[] |
TimeZone.getAvailableIDs()
Gets all the available IDs supported. |
String |
Calendar.toString()
Return a string representation of this calendar. |
String |
BitSet.toString()
Returns a string representation of this bit set. |
String |
Properties.getProperty(String key)
Searches for the property with the specified key in this property list. |
String |
Properties.getProperty(String key,
String defaultValue)
Searches for the property with the specified key in this property list. |
String |
ResourceBundle.getString(String key)
Gets a string for the given key from this resource bundle or one of its parents. |
String[] |
ResourceBundle.getStringArray(String key)
Gets a string array for the given key from this resource bundle or one of its parents. |
String |
MissingResourceException.getClassName()
Gets parameter passed by constructor. |
String |
MissingResourceException.getKey()
Gets parameter passed by constructor. |
String |
AbstractMap.toString()
Returns a string representation of this map. |
String |
AbstractCollection.toString()
Returns a string representation of this collection. |
String |
Vector.toString()
Returns a string representation of this Vector, containing the String representation of each element. |
String |
Hashtable.toString()
Returns a string representation of this Hashtable object in the form of a set of entries, enclosed in braces and separated by the ASCII characters ", " (comma and space). |
static String[] |
Locale.getISOCountries()
Returns a list of all 2-letter country codes defined in ISO 3166. |
static String[] |
Locale.getISOLanguages()
Returns a list of all 2-letter language codes defined in ISO 639. |
String |
Locale.getLanguage()
Returns the language code for this locale, which will either be the empty string or a lowercase ISO 639 code. |
String |
Locale.getCountry()
Returns the country/region code for this locale, which will either be the empty string or an upercase ISO 3166 2-letter code. |
String |
Locale.getVariant()
Returns the variant code for this locale. |
String |
Locale.toString()
Getter for the programmatic name of the entire locale, with the language, country and variant separated by underbars. |
String |
Locale.getISO3Language()
Returns a three-letter abbreviation for this locale's language. |
String |
Locale.getISO3Country()
Returns a three-letter abbreviation for this locale's country. |
String |
Locale.getDisplayLanguage()
Returns a name for the locale's language that is appropriate for display to the user. |
String |
Locale.getDisplayLanguage(Locale inLocale)
Returns a name for the locale's language that is appropriate for display to the user. |
String |
Locale.getDisplayCountry()
Returns a name for the locale's country that is appropriate for display to the user. |
String |
Locale.getDisplayCountry(Locale inLocale)
Returns a name for the locale's country that is appropriate for display to the user. |
String |
Locale.getDisplayVariant()
Returns a name for the locale's variant code that is appropriate for display to the user. |
String |
Locale.getDisplayVariant(Locale inLocale)
Returns a name for the locale's variant code that is appropriate for display to the user. |
String |
Locale.getDisplayName()
Returns a name for the locale that is appropriate for display to the user. |
String |
Locale.getDisplayName(Locale inLocale)
Returns a name for the locale that is appropriate for display to the user. |
Methods in java.util with parameters of type String | |
String |
StringTokenizer.nextToken(String delim)
Returns the next token in this string tokenizer's string. |
Object |
PropertyResourceBundle.handleGetObject(String key)
|
Object |
ListResourceBundle.handleGetObject(String key)
|
static Currency |
Currency.getInstance(String currencyCode)
Returns the Currency instance for the given currency code. |
static long |
Date.parse(String s)
Deprecated. As of JDK version 1.1, replaced by DateFormat.parse(String s) . |
void |
TimeZone.setID(String ID)
Sets the time zone ID. |
static TimeZone |
TimeZone.getTimeZone(String ID)
Gets the TimeZone for the given ID. |
Object |
Properties.setProperty(String key,
String value)
Calls the Hashtable method put . |
void |
Properties.save(OutputStream out,
String header)
Deprecated. This method does not throw an IOException if an I/O error occurs while saving the property list. As of the Java 2 platform v1.2, the preferred way to save a properties list is via the store(OutputStream out,
String header) method. |
void |
Properties.store(OutputStream out,
String header)
Writes this property list (key and element pairs) in this Properties table to the output stream in a format suitable
for loading into a Properties table using the
load method. |
String |
Properties.getProperty(String key)
Searches for the property with the specified key in this property list. |
String |
Properties.getProperty(String key,
String defaultValue)
Searches for the property with the specified key in this property list. |
String |
ResourceBundle.getString(String key)
Gets a string for the given key from this resource bundle or one of its parents. |
String[] |
ResourceBundle.getStringArray(String key)
Gets a string array for the given key from this resource bundle or one of its parents. |
Object |
ResourceBundle.getObject(String key)
Gets an object for the given key from this resource bundle or one of its parents. |
static ResourceBundle |
ResourceBundle.getBundle(String baseName)
Gets a resource bundle using the specified base name, the default locale, and the caller's class loader. |
static ResourceBundle |
ResourceBundle.getBundle(String baseName,
Locale locale)
Gets a resource bundle using the specified base name and locale, and the caller's class loader. |
static ResourceBundle |
ResourceBundle.getBundle(String baseName,
Locale locale,
ClassLoader loader)
Gets a resource bundle using the specified base name, locale, and class loader. |
protected abstract Object |
ResourceBundle.handleGetObject(String key)
Gets an object for the given key from this resource bundle. |
Constructors in java.util with parameters of type String | |
ConcurrentModificationException(String message)
Constructs a ConcurrentModificationException with the specified detail message. |
|
TooManyListenersException(String s)
Constructs a TooManyListenersException with the specified detail message. |
|
SimpleTimeZone(int rawOffset,
String ID)
Constructs a SimpleTimeZone with the given base time zone offset from GMT and time zone ID with no daylight saving time schedule. |
|
SimpleTimeZone(int rawOffset,
String ID,
int startMonth,
int startDay,
int startDayOfWeek,
int startTime,
int endMonth,
int endDay,
int endDayOfWeek,
int endTime)
Constructs a SimpleTimeZone with the given base time zone offset from GMT, time zone ID, and rules for starting and ending the daylight time. |
|
SimpleTimeZone(int rawOffset,
String ID,
int startMonth,
int startDay,
int startDayOfWeek,
int startTime,
int endMonth,
int endDay,
int endDayOfWeek,
int endTime,
int dstSavings)
Constructs a SimpleTimeZone with the given base time zone offset from GMT, time zone ID, and rules for starting and ending the daylight time. |
|
SimpleTimeZone(int rawOffset,
String ID,
int startMonth,
int startDay,
int startDayOfWeek,
int startTime,
int startTimeMode,
int endMonth,
int endDay,
int endDayOfWeek,
int endTime,
int endTimeMode,
int dstSavings)
Constructs a SimpleTimeZone with the given base time zone offset from GMT, time zone ID, and rules for starting and ending the daylight time. |
|
StringTokenizer(String str,
String delim,
boolean returnDelims)
Constructs a string tokenizer for the specified string. |
|
StringTokenizer(String str,
String delim)
Constructs a string tokenizer for the specified string. |
|
StringTokenizer(String str)
Constructs a string tokenizer for the specified string. |
|
PropertyPermission(String name,
String actions)
Creates a new PropertyPermission object with the specified name. |
|
NoSuchElementException(String s)
Constructs a NoSuchElementException , saving a reference
to the error message string s for later retrieval by the
getMessage method. |
|
Date(String s)
Deprecated. As of JDK version 1.1, replaced by DateFormat.parse(String s) . |
|
MissingResourceException(String s,
String className,
String key)
Constructs a MissingResourceException with the specified information. |
|
Locale(String language,
String country,
String variant)
Construct a locale from language, country, variant. |
|
Locale(String language,
String country)
Construct a locale from language, country. |
|
Locale(String language)
Construct a locale from a language code. |
Uses of String in java.util.jar |
Fields in java.util.jar declared as String | |
static String |
JarFile.MANIFEST_NAME
The JAR manifest file name. |
Methods in java.util.jar that return String | |
String |
Attributes.getValue(String name)
Returns the value of the specified attribute name, specified as a string, or null if the attribute was not found. |
String |
Attributes.getValue(Attributes.Name name)
Returns the value of the specified Attributes.Name, or null if the attribute was not found. |
String |
Attributes.putValue(String name,
String value)
Associates the specified value with the specified attribute name, specified as a String. |
String |
Attributes.Name.toString()
Returns the attribute name as a String. |
Methods in java.util.jar with parameters of type String | |
protected ZipEntry |
JarInputStream.createZipEntry(String name)
Creates a new JarEntry (ZipEntry ) for the
specified JAR file entry name. |
JarEntry |
JarFile.getJarEntry(String name)
Returns the JarEntry for the given entry name or
null if not found. |
ZipEntry |
JarFile.getEntry(String name)
Returns the ZipEntry for the given entry name or
null if not found. |
String |
Attributes.getValue(String name)
Returns the value of the specified attribute name, specified as a string, or null if the attribute was not found. |
String |
Attributes.putValue(String name,
String value)
Associates the specified value with the specified attribute name, specified as a String. |
Attributes |
Manifest.getAttributes(String name)
Returns the Attributes for the specified entry name. |
Constructors in java.util.jar with parameters of type String | |
JarException(String s)
Constructs a JarException with the specified detail message. |
|
JarFile(String name)
Creates a new JarFile to read from the specified
file name . |
|
JarFile(String name,
boolean verify)
Creates a new JarFile to read from the specified
file name . |
|
JarEntry(String name)
Creates a new JarEntry for the specified JAR file
entry name. |
|
Attributes.Name(String name)
Constructs a new attribute name using the given string name. |
Uses of String in java.util.logging |
Methods in java.util.logging that return String | |
String |
XMLFormatter.format(LogRecord record)
Format the given message to XML. |
String |
XMLFormatter.getHead(Handler h)
Return the header string for a set of XML formatted records. |
String |
XMLFormatter.getTail(Handler h)
Return the tail string for a set of XML formatted records. |
String |
SimpleFormatter.format(LogRecord record)
Format the given LogRecord. |
abstract String |
Formatter.format(LogRecord record)
Format the given log record and return the formatted string. |
String |
Formatter.getHead(Handler h)
Return the header string for a set of formatted records. |
String |
Formatter.getTail(Handler h)
Return the tail string for a set of formatted records. |
String |
Formatter.formatMessage(LogRecord record)
Localize and format the message string from a log record. |
String |
LogRecord.getLoggerName()
Get the source Logger name's |
String |
LogRecord.getResourceBundleName()
Get the localization resource bundle name |
String |
LogRecord.getSourceClassName()
Get the name of the class that (allegedly) issued the logging request. |
String |
LogRecord.getSourceMethodName()
Get the name of the method that (allegedly) issued the logging request. |
String |
LogRecord.getMessage()
Get the "raw" log message, before localization or formatting. |
String |
Level.getResourceBundleName()
Return the level's localization resource bundle name, or null if no localization bundle is defined. |
String |
Level.getName()
Return the non-localized string name of the Level. |
String |
Level.getLocalizedName()
Return the localized string name of the Level, for the current default locale. |
String |
Level.toString()
|
String |
LogManager.getProperty(String name)
Get the value of a logging property. |
String |
Handler.getEncoding()
Return the character encoding for this Handler. |
String |
Logger.getResourceBundleName()
Retrieve the localization resource bundle name for this logger. |
String |
Logger.getName()
Get the name for this logger. |
Methods in java.util.logging with parameters of type String | |
void |
StreamHandler.setEncoding(String encoding)
Set (or change) the character encoding used by this Handler. |
void |
ErrorManager.error(String msg,
Exception ex,
int code)
The error method is called when a Handler failure occurs. |
void |
LogRecord.setLoggerName(String name)
Set the source Logger name. |
void |
LogRecord.setResourceBundleName(String name)
Set the localization resource bundle name. |
void |
LogRecord.setSourceClassName(String sourceClassName)
Set the name of the class that (allegedly) issued the logging request. |
void |
LogRecord.setSourceMethodName(String sourceMethodName)
Set the name of the method that (allegedly) issued the logging request. |
void |
LogRecord.setMessage(String message)
Set the "raw" log message, before localization or formatting. |
static Level |
Level.parse(String name)
Parse a level name string into a Level. |
Logger |
LogManager.getLogger(String name)
Method to find a named logger. |
String |
LogManager.getProperty(String name)
Get the value of a logging property. |
void |
Handler.setEncoding(String encoding)
Set the character encoding used by this Handler. |
protected void |
Handler.reportError(String msg,
Exception ex,
int code)
Protected convenience method to report an error to this Handler's ErrorManager. |
static Logger |
Logger.getLogger(String name)
Find or create a logger for a named subsystem. |
static Logger |
Logger.getLogger(String name,
String resourceBundleName)
Find or create a logger for a named subsystem. |
static Logger |
Logger.getAnonymousLogger(String resourceBundleName)
Create an anonymous Logger. |
void |
Logger.log(Level level,
String msg)
Log a message, with no arguments. |
void |
Logger.log(Level level,
String msg,
Object param1)
Log a message, with one object parameter. |
void |
Logger.log(Level level,
String msg,
Object[] params)
Log a message, with an array of object arguments. |
void |
Logger.log(Level level,
String msg,
Throwable thrown)
Log a message, with associated Throwable information. |
void |
Logger.logp(Level level,
String sourceClass,
String sourceMethod,
String msg)
Log a message, specifying source class and method, with no arguments. |
void |
Logger.logp(Level level,
String sourceClass,
String sourceMethod,
String msg,
Object param1)
Log a message, specifying source class and method, with a single object parameter to the log message. |
void |
Logger.logp(Level level,
String sourceClass,
String sourceMethod,
String msg,
Object[] params)
Log a message, specifying source class and method, with an array of object arguments. |
void |
Logger.logp(Level level,
String sourceClass,
String sourceMethod,
String msg,
Throwable thrown)
Log a message, specifying source class and method, with associated Throwable information. |
void |
Logger.logrb(Level level,
String sourceClass,
String sourceMethod,
String bundleName,
String msg)
Log a message, specifying source class, method, and resource bundle name with no arguments. |
void |
Logger.logrb(Level level,
String sourceClass,
String sourceMethod,
String bundleName,
String msg,
Object param1)
Log a message, specifying source class, method, and resource bundle name, with a single object parameter to the log message. |
void |
Logger.logrb(Level level,
String sourceClass,
String sourceMethod,
String bundleName,
String msg,
Object[] params)
Log a message, specifying source class, method, and resource bundle name, with an array of object arguments. |
void |
Logger.logrb(Level level,
String sourceClass,
String sourceMethod,
String bundleName,
String msg,
Throwable thrown)
Log a message, specifying source class, method, and resource bundle name, with associated Throwable information. |
void |
Logger.entering(String sourceClass,
String sourceMethod)
Log a method entry. |
void |
Logger.entering(String sourceClass,
String sourceMethod,
Object param1)
Log a method entry, with one parameter. |
void |
Logger.entering(String sourceClass,
String sourceMethod,
Object[] params)
Log a method entry, with an array of parameters. |
void |
Logger.exiting(String sourceClass,
String sourceMethod)
Log a method return. |
void |
Logger.exiting(String sourceClass,
String sourceMethod,
Object result)
Log a method return, with result object. |
void |
Logger.throwing(String sourceClass,
String sourceMethod,
Throwable thrown)
Log throwing an exception. |
void |
Logger.severe(String msg)
Log a SEVERE message. |
void |
Logger.warning(String msg)
Log a WARNING message. |
void |
Logger.info(String msg)
Log an INFO message. |
void |
Logger.config(String msg)
Log a CONFIG message. |
void |
Logger.fine(String msg)
Log a FINE message. |
void |
Logger.finer(String msg)
Log a FINER message. |
void |
Logger.finest(String msg)
Log a FINEST message. |
Constructors in java.util.logging with parameters of type String | |
SocketHandler(String host,
int port)
Construct a SocketHandler using a specified host and port. |
|
FileHandler(String pattern)
Initialize a FileHandler to write to the given filename. |
|
FileHandler(String pattern,
boolean append)
Initialize a FileHandler to write to the given filename, with optional append. |
|
FileHandler(String pattern,
int limit,
int count)
Initialize a FileHandler to write to a set of files. |
|
FileHandler(String pattern,
int limit,
int count,
boolean append)
Initialize a FileHandler to write to a set of files with optional append. |
|
LoggingPermission(String name,
String actions)
Creates a new LoggingPermission object. |
|
LogRecord(Level level,
String msg)
Construct a LogRecord with the given level and message values. |
|
Level(String name,
int value)
Create a named Level with a given integer value. |
|
Level(String name,
int value,
String resourceBundleName)
Create a named Level with a given integer value and a given localization resource name. |
|
Logger(String name,
String resourceBundleName)
Protected method to construct a logger for a named subsystem. |
Uses of String in java.util.prefs |
Methods in java.util.prefs that return String | |
String |
AbstractPreferences.get(String key,
String def)
Implements the get method as per the specification in Preferences.get(String,String) . |
String[] |
AbstractPreferences.keys()
Implements the keys method as per the specification in Preferences.keys() . |
String[] |
AbstractPreferences.childrenNames()
Implements the children method as per the specification in Preferences.childrenNames() . |
String |
AbstractPreferences.name()
Implements the name method as per the specification in Preferences.name() . |
String |
AbstractPreferences.absolutePath()
Implements the absolutePath method as per the specification in Preferences.absolutePath() . |
protected abstract String |
AbstractPreferences.getSpi(String key)
Return the value associated with the specified key at this preference node, or null if there is no association for this key, or the association cannot be determined at this time. |
protected abstract String[] |
AbstractPreferences.keysSpi()
Returns all of the keys that have an associated value in this preference node. |
protected abstract String[] |
AbstractPreferences.childrenNamesSpi()
Returns the names of the children of this preference node. |
String |
AbstractPreferences.toString()
Returns the absolute path name of this preferences node. |
String |
PreferenceChangeEvent.getKey()
Returns the key of the preference that was changed. |
String |
PreferenceChangeEvent.getNewValue()
Returns the new value for the preference. |
abstract String |
Preferences.get(String key,
String def)
Returns the value associated with the specified key in this preference node. |
abstract String[] |
Preferences.keys()
Returns all of the keys that have an associated value in this preference node. |
abstract String[] |
Preferences.childrenNames()
Returns the names of the children of this preference node, relative to this node. |
abstract String |
Preferences.name()
Returns this preference node's name, relative to its parent. |
abstract String |
Preferences.absolutePath()
Returns this preference node's absolute path name. |
abstract String |
Preferences.toString()
Returns a string representation of this preferences node, as if computed by the expression:(this.isUserNode() ? "User" : "System") + " Preference Node: " + this.absolutePath(). |
Methods in java.util.prefs with parameters of type String | |
void |
AbstractPreferences.put(String key,
String value)
Implements the put method as per the specification in Preferences.put(String,String) . |
String |
AbstractPreferences.get(String key,
String def)
Implements the get method as per the specification in Preferences.get(String,String) . |
void |
AbstractPreferences.remove(String key)
Implements the remove(String) method as per the specification in Preferences.remove(String) . |
void |
AbstractPreferences.putInt(String key,
int value)
Implements the putInt method as per the specification in Preferences.putInt(String,int) . |
int |
AbstractPreferences.getInt(String key,
int def)
Implements the getInt method as per the specification in Preferences.getInt(String,int) . |
void |
AbstractPreferences.putLong(String key,
long value)
Implements the putLong method as per the specification in Preferences.putLong(String,long) . |
long |
AbstractPreferences.getLong(String key,
long def)
Implements the getLong method as per the specification in Preferences.getLong(String,long) . |
void |
AbstractPreferences.putBoolean(String key,
boolean value)
Implements the putBoolean method as per the specification in Preferences.putBoolean(String,boolean) . |
boolean |
AbstractPreferences.getBoolean(String key,
boolean def)
Implements the getBoolean method as per the specification in Preferences.getBoolean(String,boolean) . |
void |
AbstractPreferences.putFloat(String key,
float value)
Implements the putFloat method as per the specification in Preferences.putFloat(String,float) . |
float |
AbstractPreferences.getFloat(String key,
float def)
Implements the getFloat method as per the specification in Preferences.getFloat(String,float) . |
void |
AbstractPreferences.putDouble(String key,
double value)
Implements the putDouble method as per the specification in Preferences.putDouble(String,double) . |
double |
AbstractPreferences.getDouble(String key,
double def)
Implements the getDouble method as per the specification in Preferences.getDouble(String,double) . |
void |
AbstractPreferences.putByteArray(String key,
byte[] value)
Implements the putByteArray method as per the specification in Preferences.putByteArray(String,byte[]) . |
byte[] |
AbstractPreferences.getByteArray(String key,
byte[] def)
Implements the getByteArray method as per the specification in Preferences.getByteArray(String,byte[]) . |
Preferences |
AbstractPreferences.node(String path)
Implements the node method as per the specification in Preferences.node(String) . |
boolean |
AbstractPreferences.nodeExists(String path)
Implements the nodeExists method as per the specification in Preferences.nodeExists(String) . |
protected abstract void |
AbstractPreferences.putSpi(String key,
String value)
Put the given key-value association into this preference node. |
protected abstract String |
AbstractPreferences.getSpi(String key)
Return the value associated with the specified key at this preference node, or null if there is no association for this key, or the association cannot be determined at this time. |
protected abstract void |
AbstractPreferences.removeSpi(String key)
Remove the association (if any) for the specified key at this preference node. |
protected AbstractPreferences |
AbstractPreferences.getChild(String nodeName)
Returns the named child if it exists, or null if it does not. |
protected abstract AbstractPreferences |
AbstractPreferences.childSpi(String name)
Returns the named child of this preference node, creating it if it does not already exist. |
abstract void |
Preferences.put(String key,
String value)
Associates the specified value with the specified key in this preference node. |
abstract String |
Preferences.get(String key,
String def)
Returns the value associated with the specified key in this preference node. |
abstract void |
Preferences.remove(String key)
Removes the value associated with the specified key in this preference node, if any. |
abstract void |
Preferences.putInt(String key,
int value)
Associates a string representing the specified int value with the specified key in this preference node. |
abstract int |
Preferences.getInt(String key,
int def)
Returns the int value represented by the string associated with the specified key in this preference node. |
abstract void |
Preferences.putLong(String key,
long value)
Associates a string representing the specified long value with the specified key in this preference node. |
abstract long |
Preferences.getLong(String key,
long def)
Returns the long value represented by the string associated with the specified key in this preference node. |
abstract void |
Preferences.putBoolean(String key,
boolean value)
Associates a string representing the specified boolean value with the specified key in this preference node. |
abstract boolean |
Preferences.getBoolean(String key,
boolean def)
Returns the boolean value represented by the string associated with the specified key in this preference node. |
abstract void |
Preferences.putFloat(String key,
float value)
Associates a string representing the specified float value with the specified key in this preference node. |
abstract float |
Preferences.getFloat(String key,
float def)
Returns the float value represented by the string associated with the specified key in this preference node. |
abstract void |
Preferences.putDouble(String key,
double value)
Associates a string representing the specified double value with the specified key in this preference node. |
abstract double |
Preferences.getDouble(String key,
double def)
Returns the double value represented by the string associated with the specified key in this preference node. |
abstract void |
Preferences.putByteArray(String key,
byte[] value)
Associates a string representing the specified byte array with the specified key in this preference node. |
abstract byte[] |
Preferences.getByteArray(String key,
byte[] def)
Returns the byte array value represented by the string associated with the specified key in this preference node. |
abstract Preferences |
Preferences.node(String pathName)
Returns the named preference node in the same tree as this node, creating it and any of its ancestors if they do not already exist. |
abstract boolean |
Preferences.nodeExists(String pathName)
Returns true if the named preference node exists in the same tree as this node. |
Constructors in java.util.prefs with parameters of type String | |
AbstractPreferences(AbstractPreferences parent,
String name)
Creates a preference node with the specified parent and the specified name relative to its parent. |
|
InvalidPreferencesFormatException(String message)
Constructs an InvalidPreferencesFormatException with the specified detail message. |
|
InvalidPreferencesFormatException(String message,
Throwable cause)
Constructs an InvalidPreferencesFormatException with the specified detail message and cause. |
|
PreferenceChangeEvent(Preferences node,
String key,
String newValue)
Constructs a new PreferenceChangeEvent instance. |
|
BackingStoreException(String s)
Constructs a BackingStoreException with the specified detail message. |
Uses of String in java.util.regex |
Methods in java.util.regex that return String | |
String |
PatternSyntaxException.getDescription()
Retrieves the description of the error. |
String |
PatternSyntaxException.getPattern()
Retrieves the erroneous regular-expression pattern. |
String |
PatternSyntaxException.getMessage()
Returns a multi-line string containing the description of the syntax error and its index, the erroneous regular-expression pattern, and a visual indication of the error index within the pattern. |
String |
Matcher.group()
Returns the input subsequence matched by the previous match. |
String |
Matcher.group(int group)
Returns the input subsequence captured by the given group during the previous match operation. |
String |
Matcher.replaceAll(String replacement)
Replaces every subsequence of the input sequence that matches the pattern with the given replacement string. |
String |
Matcher.replaceFirst(String replacement)
Replaces the first subsequence of the input sequence that matches the pattern with the given replacement string. |
String |
Pattern.pattern()
Returns the regular expression from which this pattern was compiled. |
String[] |
Pattern.split(CharSequence input,
int limit)
Splits the given input sequence around matches of this pattern. |
String[] |
Pattern.split(CharSequence input)
Splits the given input sequence around matches of this pattern. |
Methods in java.util.regex with parameters of type String | |
Matcher |
Matcher.appendReplacement(StringBuffer sb,
String replacement)
Implements a non-terminal append-and-replace step. |
String |
Matcher.replaceAll(String replacement)
Replaces every subsequence of the input sequence that matches the pattern with the given replacement string. |
String |
Matcher.replaceFirst(String replacement)
Replaces the first subsequence of the input sequence that matches the pattern with the given replacement string. |
static Pattern |
Pattern.compile(String regex)
Compiles the given regular expression into a pattern. |
static Pattern |
Pattern.compile(String regex,
int flags)
Compiles the given regular expression into a pattern with the given flags. |
static boolean |
Pattern.matches(String regex,
CharSequence input)
Compiles the given regular expression and attempts to match the given input against it. |
Constructors in java.util.regex with parameters of type String | |
PatternSyntaxException(String desc,
String regex,
int index)
Constructs a new instance of this class. |
Uses of String in java.util.zip |
Methods in java.util.zip that return String | |
String |
ZipFile.getName()
Returns the path name of the ZIP file. |
String |
ZipEntry.getName()
Returns the name of the entry. |
String |
ZipEntry.getComment()
Returns the comment string for the entry, or null if none. |
String |
ZipEntry.toString()
Returns a string representation of the ZIP entry. |
Methods in java.util.zip with parameters of type String | |
void |
ZipOutputStream.setComment(String comment)
Sets the ZIP file comment. |
protected ZipEntry |
ZipInputStream.createZipEntry(String name)
Creates a new ZipEntry object for the specified
entry name. |
ZipEntry |
ZipFile.getEntry(String name)
Returns the zip file entry for the specified name, or null if not found. |
void |
ZipEntry.setComment(String comment)
Sets the optional comment string for the entry. |
Constructors in java.util.zip with parameters of type String | |
DataFormatException(String s)
Constructs a DataFormatException with the specified detail message. |
|
ZipException(String s)
Constructs an ZipException with the specified detail
message. |
|
ZipFile(String name)
Opens a zip file for reading. |
|
ZipEntry(String name)
Creates a new zip entry with the specified name. |
Uses of String in javax.accessibility |
Fields in javax.accessibility declared as String | |
static String |
AccessibleRelation.LABEL_FOR
Indicates an object is a label for one or more target objects. |
static String |
AccessibleRelation.LABELED_BY
Indicates an object is labeled by one or more target objects. |
static String |
AccessibleRelation.MEMBER_OF
Indicates an object is a member of a group of one or more target objects. |
static String |
AccessibleRelation.CONTROLLER_FOR
Indicates an object is a controller for one or more target objects. |
static String |
AccessibleRelation.CONTROLLED_BY
Indicates an object is controlled by one or more target objects. |
static String |
AccessibleRelation.LABEL_FOR_PROPERTY
Identifies that the target group for a label has changed |
static String |
AccessibleRelation.LABELED_BY_PROPERTY
Identifies that the objects that are doing the labeling have changed |
static String |
AccessibleRelation.MEMBER_OF_PROPERTY
Identifies that group membership has changed. |
static String |
AccessibleRelation.CONTROLLER_FOR_PROPERTY
Identifies that the controller for the target object has changed |
static String |
AccessibleRelation.CONTROLLED_BY_PROPERTY
Identifies that the target object that is doing the controlling has changed |
protected String |
AccessibleBundle.key
The locale independent name of the state. |
static String |
AccessibleContext.ACCESSIBLE_NAME_PROPERTY
Constant used to determine when the accessibleName property has changed. |
static String |
AccessibleContext.ACCESSIBLE_DESCRIPTION_PROPERTY
Constant used to determine when the accessibleDescription property has changed. |
static String |
AccessibleContext.ACCESSIBLE_STATE_PROPERTY
Constant used to determine when the accessibleStateSet property has changed. |
static String |
AccessibleContext.ACCESSIBLE_VALUE_PROPERTY
Constant used to determine when the accessibleValue property has changed. |
static String |
AccessibleContext.ACCESSIBLE_SELECTION_PROPERTY
Constant used to determine when the accessibleSelection has changed. |
static String |
AccessibleContext.ACCESSIBLE_TEXT_PROPERTY
Constant used to determine when the accessibleText has changed. |
static String |
AccessibleContext.ACCESSIBLE_CARET_PROPERTY
Constant used to determine when the accessibleText caret has changed. |
static String |
AccessibleContext.ACCESSIBLE_VISIBLE_DATA_PROPERTY
Constant used to determine when the visual appearance of the object has changed. |
static String |
AccessibleContext.ACCESSIBLE_CHILD_PROPERTY
Constant used to determine when Accessible children are added/removed from the object. |
static String |
AccessibleContext.ACCESSIBLE_ACTIVE_DESCENDANT_PROPERTY
Constant used to determine when the active descendant of a component has changed. |
static String |
AccessibleContext.ACCESSIBLE_TABLE_CAPTION_CHANGED
Constant used to indicate that the table caption has changed The old value in the PropertyChangeEvent will be an Accessible representing the previous table caption and the new value will be an Accessible representing the new table caption. |
static String |
AccessibleContext.ACCESSIBLE_TABLE_SUMMARY_CHANGED
Constant used to indicate that the table summary has changed The old value in the PropertyChangeEvent will be an Accessible representing the previous table summary and the new value will be an Accessible representing the new table summary. |
static String |
AccessibleContext.ACCESSIBLE_TABLE_MODEL_CHANGED
Constant used to indicate that table data has changed. |
static String |
AccessibleContext.ACCESSIBLE_TABLE_ROW_HEADER_CHANGED
Constant used to indicate that the row header has changed The old value in the PropertyChangeEvent will be null and the new value will be an AccessibleTableModelChange representing the header change. |
static String |
AccessibleContext.ACCESSIBLE_TABLE_ROW_DESCRIPTION_CHANGED
Constant used to indicate that the row description has changed The old value in the PropertyChangeEvent will be null and the new value will be an Integer representing the row index. |
static String |
AccessibleContext.ACCESSIBLE_TABLE_COLUMN_HEADER_CHANGED
Constant used to indicate that the column header has changed The old value in the PropertyChangeEvent will be null and the new value will be an AccessibleTableModelChange representing the header change. |
static String |
AccessibleContext.ACCESSIBLE_TABLE_COLUMN_DESCRIPTION_CHANGED
Constant used to indicate that the column description has changed The old value in the PropertyChangeEvent will be null and the new value will be an Integer representing the column index. |
static String |
AccessibleContext.ACCESSIBLE_ACTION_PROPERTY
Constant used to indicate that the supported set of actions has changed. |
static String |
AccessibleContext.ACCESSIBLE_HYPERTEXT_OFFSET
Constant used to indicate that a hypertext element has received focus. |
protected String |
AccessibleContext.accessibleName
A localized String containing the name of the object. |
protected String |
AccessibleContext.accessibleDescription
A localized String containing the description of the object. |
Methods in javax.accessibility that return String | |
abstract String |
AccessibleHyperlink.getAccessibleActionDescription(int i)
Returns a String description of this particular link action. |
String |
AccessibleExtendedComponent.getToolTipText()
Returns the tool tip text |
String |
AccessibleExtendedComponent.getTitledBorderText()
Returns the titled border text |
String |
AccessibleRelation.getKey()
Returns the key for this relation |
String |
AccessibleIcon.getAccessibleIconDescription()
Gets the description of the icon. |
String |
AccessibleEditableText.getTextRange(int startIndex,
int endIndex)
Returns the text string between two indices. |
String |
AccessibleText.getAtIndex(int part,
int index)
Returns the String at a given index. |
String |
AccessibleText.getAfterIndex(int part,
int index)
Returns the String after a given index. |
String |
AccessibleText.getBeforeIndex(int part,
int index)
Returns the String before a given index. |
String |
AccessibleText.getSelectedText()
Returns the portion of the text that is selected. |
String |
AccessibleAction.getAccessibleActionDescription(int i)
Returns a description of the specified action of the object. |
protected String |
AccessibleBundle.toDisplayString(String resourceBundleName,
Locale locale)
Obtains the key as a localized string. |
String |
AccessibleBundle.toDisplayString(Locale locale)
Obtains the key as a localized string. |
String |
AccessibleBundle.toDisplayString()
Gets localized string describing the key using the default locale. |
String |
AccessibleBundle.toString()
Gets localized string describing the key using the default locale. |
String |
AccessibleRelationSet.toString()
Creates a localized String representing all the relations in the set using the default locale. |
String |
AccessibleStateSet.toString()
Creates a localized String representing all the states in the set using the default locale. |
String |
AccessibleContext.getAccessibleName()
Gets the accessibleName property of this object. |
String |
AccessibleContext.getAccessibleDescription()
Gets the accessibleDescription property of this object. |
Methods in javax.accessibility with parameters of type String | |
void |
AccessibleIcon.setAccessibleIconDescription(String description)
Sets the description of the icon. |
void |
AccessibleEditableText.setTextContents(String s)
Sets the text contents to the specified string. |
void |
AccessibleEditableText.insertTextAtIndex(int index,
String s)
Inserts the specified string at the given index/ |
void |
AccessibleEditableText.replaceText(int startIndex,
int endIndex,
String s)
Replaces the text between two indices with the specified string. |
protected String |
AccessibleBundle.toDisplayString(String resourceBundleName,
Locale locale)
Obtains the key as a localized string. |
boolean |
AccessibleRelationSet.contains(String key)
Returns whether the relation set contains a relation that matches the specified key. |
AccessibleRelation |
AccessibleRelationSet.get(String key)
Returns the relation that matches the specified key. |
void |
AccessibleContext.setAccessibleName(String s)
Sets the localized accessible name of this object. |
void |
AccessibleContext.setAccessibleDescription(String s)
Sets the accessible description of this object. |
void |
AccessibleContext.firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Support for reporting bound property changes. |
Constructors in javax.accessibility with parameters of type String | |
AccessibleRelation(String key)
Create a new AccessibleRelation using the given locale independent key. |
|
AccessibleRelation(String key,
Object target)
Creates a new AccessibleRelation using the given locale independent key. |
|
AccessibleRelation(String key,
Object[] target)
Creates a new AccessibleRelation using the given locale independent key. |
|
AccessibleState(String key)
Creates a new AccessibleState using the given locale independent key. |
|
AccessibleRole(String key)
Creates a new AccessibleRole using the given locale independent key. |
Uses of String in javax.crypto |
Methods in javax.crypto that return String | |
String |
SealedObject.getAlgorithm()
Returns the algorithm that was used to seal this object. |
String |
EncryptedPrivateKeyInfo.getAlgName()
Returns the encryption algorithm. |
String |
SecretKeyFactory.getAlgorithm()
Returns the algorithm name of this SecretKeyFactory object. |
String |
Mac.getAlgorithm()
Returns the algorithm name of this Mac object. |
String |
KeyGenerator.getAlgorithm()
Returns the algorithm name of this KeyGenerator object. |
String |
KeyAgreement.getAlgorithm()
Returns the algorithm name of this KeyAgreement object. |
String |
ExemptionMechanism.getName()
Returns the exemption mechanism name of this ExemptionMechanism object. |
String |
Cipher.getAlgorithm()
Returns the algorithm name of this Cipher object. |
Methods in javax.crypto with parameters of type String | |
Object |
SealedObject.getObject(Key key,
String provider)
Retrieves the original (encapsulated) object. |
static SecretKeyFactory |
SecretKeyFactory.getInstance(String algorithm)
Generates a SecretKeyFactory object for the
specified secret-key algorithm. |
static SecretKeyFactory |
SecretKeyFactory.getInstance(String algorithm,
String provider)
Generates a SecretKeyFactory object for the specified
secret-key algorithm from the specified provider. |
static SecretKeyFactory |
SecretKeyFactory.getInstance(String algorithm,
Provider provider)
Generates a SecretKeyFactory object for the specified
secret-key algorithm from the specified provider. |
static Mac |
Mac.getInstance(String algorithm)
Generates an Mac object that implements the
specified MAC algorithm. |
static Mac |
Mac.getInstance(String algorithm,
String provider)
Generates an Mac object for the specified MAC
algorithm from the specified provider. |
static Mac |
Mac.getInstance(String algorithm,
Provider provider)
Generates an Mac object for the specified MAC
algorithm from the specified provider. |
static KeyGenerator |
KeyGenerator.getInstance(String algorithm)
Generates a KeyGenerator object for the specified
algorithm. |
static KeyGenerator |
KeyGenerator.getInstance(String algorithm,
String provider)
Generates a KeyGenerator object for the specified key
algorithm from the specified provider. |
static KeyGenerator |
KeyGenerator.getInstance(String algorithm,
Provider provider)
Generates a KeyGenerator object for the specified key
algorithm from the specified provider. |
protected abstract SecretKey |
KeyAgreementSpi.engineGenerateSecret(String algorithm)
Creates the shared secret and returns it as a secret key object of the requested algorithm type. |
static KeyAgreement |
KeyAgreement.getInstance(String algorithm)
Generates a KeyAgreement object that implements the
specified key agreement algorithm. |
static KeyAgreement |
KeyAgreement.getInstance(String algorithm,
String provider)
Generates a KeyAgreement object for the specified key
agreement algorithm from the specified provider. |
static KeyAgreement |
KeyAgreement.getInstance(String algorithm,
Provider provider)
Generates a KeyAgreement object for the specified key
agreement algorithm from the specified provider. |
SecretKey |
KeyAgreement.generateSecret(String algorithm)
Creates the shared secret and returns it as a SecretKey
object of the specified algorithm. |
static ExemptionMechanism |
ExemptionMechanism.getInstance(String mechanism)
Generates a ExemptionMechanism object that implements the
specified exemption mechanism. |
static ExemptionMechanism |
ExemptionMechanism.getInstance(String mechanism,
String provider)
Generates a ExemptionMechanism object for the specified
exemption mechanism from the specified provider. |
static ExemptionMechanism |
ExemptionMechanism.getInstance(String mechanism,
Provider provider)
Generates a ExemptionMechanism object for the specified
exemption mechanism from the specified provider. |
protected abstract void |
CipherSpi.engineSetMode(String mode)
Sets the mode of this cipher. |
protected abstract void |
CipherSpi.engineSetPadding(String padding)
Sets the padding mechanism of this cipher. |
protected Key |
CipherSpi.engineUnwrap(byte[] wrappedKey,
String wrappedKeyAlgorithm,
int wrappedKeyType)
Unwrap a previously wrapped key. |
static Cipher |
Cipher.getInstance(String transformation)
Generates a Cipher object that implements the specified
transformation. |
static Cipher |
Cipher.getInstance(String transformation,
String provider)
Creates a Cipher object that implements the specified
transformation, as supplied by the specified provider. |
static Cipher |
Cipher.getInstance(String transformation,
Provider provider)
Creates a Cipher object that implements the specified
transformation, as supplied by the specified provider. |
Key |
Cipher.unwrap(byte[] wrappedKey,
String wrappedKeyAlgorithm,
int wrappedKeyType)
Unwrap a previously wrapped key. |
Constructors in javax.crypto with parameters of type String | |
NoSuchPaddingException(String msg)
Constructs a NoSuchPaddingException with the specified detail message. |
|
IllegalBlockSizeException(String msg)
Constructs an IllegalBlockSizeException with the specified detail message. |
|
BadPaddingException(String msg)
Constructs a BadPaddingException with the specified detail message. |
|
ExemptionMechanismException(String msg)
Constructs a ExemptionMechanismException with the specified detailed message. |
|
EncryptedPrivateKeyInfo(String algName,
byte[] encryptedData)
Constructs an EncryptedPrivateKeyInfo from the
encryption algorithm name and the encrypted data. |
|
SecretKeyFactory(SecretKeyFactorySpi keyFacSpi,
Provider provider,
String algorithm)
Creates a SecretKeyFactory object. |
|
ShortBufferException(String msg)
Constructs a ShortBufferException with the specified detail message. |
|
Mac(MacSpi macSpi,
Provider provider,
String algorithm)
Creates a MAC object. |
|
KeyGenerator(KeyGeneratorSpi keyGenSpi,
Provider provider,
String algorithm)
Creates a KeyGenerator object. |
|
KeyAgreement(KeyAgreementSpi keyAgreeSpi,
Provider provider,
String algorithm)
Creates a KeyAgreement object. |
|
ExemptionMechanism(ExemptionMechanismSpi exmechSpi,
Provider provider,
String mechanism)
Creates a ExemptionMechanism object. |
|
Cipher(CipherSpi cipherSpi,
Provider provider,
String transformation)
Creates a Cipher object. |
Uses of String in javax.crypto.spec |
Methods in javax.crypto.spec that return String | |
String |
SecretKeySpec.getAlgorithm()
Returns the name of the algorithm associated with this secret key. |
String |
SecretKeySpec.getFormat()
Returns the name of the encoding format for this secret key. |
Constructors in javax.crypto.spec with parameters of type String | |
SecretKeySpec(byte[] key,
String algorithm)
Constructs a secret key from the given byte array. |
|
SecretKeySpec(byte[] key,
int offset,
int len,
String algorithm)
Constructs a secret key from the given byte array, using the first len bytes of key , starting at
offset inclusive. |
Uses of String in javax.imageio |
Fields in javax.imageio declared as String | |
protected String[] |
ImageWriteParam.compressionTypes
An array of String s containing the names of the
available compression types. |
protected String |
ImageWriteParam.compressionType
A String containing the name of the current
compression type, or null if none is set. |
Methods in javax.imageio that return String | |
String[] |
ImageWriteParam.getCompressionTypes()
Returns a list of available compression types, as an array or String s, or null if a compression
type may not be chosen using these interfaces. |
String |
ImageWriteParam.getCompressionType()
Returns the currently set compression type, or null if none has been set. |
String |
ImageWriteParam.getLocalizedCompressionTypeName()
Returns a localized version of the name of the current compression type, using the Locale returned by
getLocale . |
String[] |
ImageWriteParam.getCompressionQualityDescriptions()
Returns an array of String s that may be used along
with getCompressionQualityValues as part of a user
interface for setting or displaying the compression quality
level. |
String |
ImageReader.getFormatName()
Returns a String identifying the format of the
input source. |
static String[] |
ImageIO.getReaderFormatNames()
Returns an array of String s listing all of the
informal format names understood by the current set of registered
readers. |
static String[] |
ImageIO.getReaderMIMETypes()
Returns an array of String s listing all of the
MIME types understood by the current set of registered
readers. |
static String[] |
ImageIO.getWriterFormatNames()
Returns an array of String s listing all of the
informal format names understood by the current set of registered
writers. |
static String[] |
ImageIO.getWriterMIMETypes()
Returns an array of String s listing all of the
MIME types understood by the current set of registered
writers. |
Methods in javax.imageio with parameters of type String | |
void |
ImageWriteParam.setCompressionType(String compressionType)
Sets the compression type to one of the values indicated by getCompressionTypes . |
protected void |
ImageWriter.processWarningOccurred(int imageIndex,
String warning)
Broadcasts a warning message to all registered IIOWriteWarningListener s by calling their
warningOccurred method. |
protected void |
ImageWriter.processWarningOccurred(int imageIndex,
String baseName,
String keyword)
Broadcasts a localized warning message to all registered IIOWriteWarningListener s by calling their
warningOccurred method with a string taken
from a ResourceBundle . |
IIOMetadata |
ImageReader.getStreamMetadata(String formatName,
Set nodeNames)
Returns an IIOMetadata object representing the
metadata associated with the input source as a whole (i.e.,
not associated with any particular image). |
IIOMetadata |
ImageReader.getImageMetadata(int imageIndex,
String formatName,
Set nodeNames)
Returns an IIOMetadata object representing the
metadata associated with the given image, or null
if the reader does not support reading metadata or none
is available. |
protected void |
ImageReader.processWarningOccurred(String warning)
Broadcasts a warning message to all registered IIOReadWarningListener s by calling their
warningOccurred method. |
protected void |
ImageReader.processWarningOccurred(String baseName,
String keyword)
Broadcasts a localized warning message to all registered IIOReadWarningListener s by calling their
warningOccurred method with a string taken
from a ResourceBundle . |
static Iterator |
ImageIO.getImageReadersByFormatName(String formatName)
Returns an Iterator containing all currently
registered ImageReader s that claim to be able to
decode the named format. |
static Iterator |
ImageIO.getImageReadersBySuffix(String fileSuffix)
Returns an Iterator containing all currently
registered ImageReader s that claim to be able to
decode files with the given suffix. |
static Iterator |
ImageIO.getImageReadersByMIMEType(String MIMEType)
Returns an Iterator containing all currently
registered ImageReader s that claim to be able to
decode files with the given MIME type. |
static Iterator |
ImageIO.getImageWritersByFormatName(String formatName)
Returns an Iterator containing all currently
registered ImageWriter s that claim to be able to
encode the named format. |
static Iterator |
ImageIO.getImageWritersBySuffix(String fileSuffix)
Returns an Iterator containing all currently
registered ImageWriter s that claim to be able to
encode files with the given suffix. |
static Iterator |
ImageIO.getImageWritersByMIMEType(String MIMEType)
Returns an Iterator containing all currently
registered ImageWriter s that claim to be able to
encode files with the given MIME type. |
static Iterator |
ImageIO.getImageWriters(ImageTypeSpecifier type,
String formatName)
Returns an Iterator containing all currently
registered ImageWriter s that claim to be able to
encode images of the given layout (specified using an
ImageTypeSpecifier ) in the given format. |
static boolean |
ImageIO.write(RenderedImage im,
String formatName,
ImageOutputStream output)
Writes an image using the an arbitrary ImageWriter
that supports the given format to an
ImageOutputStream . |
static boolean |
ImageIO.write(RenderedImage im,
String formatName,
File output)
Writes an image using an arbitrary ImageWriter
that supports the given format to a File . |
static boolean |
ImageIO.write(RenderedImage im,
String formatName,
OutputStream output)
Writes an image using an arbitrary ImageWriter
that supports the given format to an OutputStream . |
Constructors in javax.imageio with parameters of type String | |
IIOException(String message)
Constructs an IIOException with a given message
String . |
|
IIOException(String message,
Throwable cause)
Constructs an IIOException with a given message
String and a Throwable that was its
underlying cause. |
Uses of String in javax.imageio.event |
Methods in javax.imageio.event with parameters of type String | |
void |
IIOWriteWarningListener.warningOccurred(ImageWriter source,
int imageIndex,
String warning)
Reports the occurence of a non-fatal error in encoding. |
void |
IIOReadWarningListener.warningOccurred(ImageReader source,
String warning)
Reports the occurence of a non-fatal error in decoding. |
Uses of String in javax.imageio.metadata |
Fields in javax.imageio.metadata declared as String | |
static String |
IIOMetadataFormatImpl.standardMetadataFormatName
A String constant containing the standard format
name, "javax_imageio_1.0" . |
protected String |
IIOMetadata.nativeMetadataFormatName
The name of the native metadata format for this object, initialized to null and set via the constructor. |
protected String |
IIOMetadata.nativeMetadataFormatClassName
The name of the class implementing IIOMetadataFormat
and representing the native metadata format, initialized to
null and set via the constructor. |
protected String[] |
IIOMetadata.extraMetadataFormatNames
An array of names of formats, other than the standard and native formats, that are supported by this plug-in, initialized to null and set via the constructor. |
protected String[] |
IIOMetadata.extraMetadataFormatClassNames
An array of names of classes implementing IIOMetadataFormat
and representing the metadata formats, other than the standard and
native formats, that are supported by this plug-in,
initialized to null and set via the constructor. |
Methods in javax.imageio.metadata that return String | |
protected String |
IIOMetadataFormatImpl.getResourceBaseName()
Returns the currently set base name for locating ResourceBundle s. |
String |
IIOMetadataFormatImpl.getRootName()
|
String |
IIOMetadataFormatImpl.getElementDescription(String elementName,
Locale locale)
Returns a String containing a description of the
named element, or null . |
String[] |
IIOMetadataFormatImpl.getChildNames(String elementName)
|
String[] |
IIOMetadataFormatImpl.getAttributeNames(String elementName)
|
String |
IIOMetadataFormatImpl.getAttributeDefaultValue(String elementName,
String attrName)
|
String[] |
IIOMetadataFormatImpl.getAttributeEnumerations(String elementName,
String attrName)
|
String |
IIOMetadataFormatImpl.getAttributeMinValue(String elementName,
String attrName)
|
String |
IIOMetadataFormatImpl.getAttributeMaxValue(String elementName,
String attrName)
|
String |
IIOMetadataFormatImpl.getAttributeDescription(String elementName,
String attrName,
Locale locale)
Returns a String containing a description of the
named attribute, or null . |
String |
IIOMetadataNode.getNodeName()
Returns the node name associated with this node. |
String |
IIOMetadataNode.getNodeValue()
|
String |
IIOMetadataNode.getNamespaceURI()
Returns null , since namespaces are not supported. |
String |
IIOMetadataNode.getPrefix()
Returns null , since namespaces are not supported. |
String |
IIOMetadataNode.getLocalName()
Equivalent to getNodeName . |
String |
IIOMetadataNode.getTagName()
|
String |
IIOMetadataNode.getAttribute(String name)
|
String |
IIOMetadataNode.getAttributeNS(String namespaceURI,
String localName)
Equivalent to getAttribute(localName) . |
String |
IIOMetadata.getNativeMetadataFormatName()
Returns the name of the "native" metadata format for this plug-in, which typically allows for lossless encoding and transmission of the metadata stored in the format handled by this plug-in. |
String[] |
IIOMetadata.getExtraMetadataFormatNames()
Returns an array of String s containing the names
of additional metadata formats, other than the native and standard
formats, recognized by this plug-in's
getAsTree , setFromTree , and
mergeTree methods. |
String[] |
IIOMetadata.getMetadataFormatNames()
Returns an array of String s containing the names
of all metadata formats, including the native and standard
formats, recognized by this plug-in's getAsTree ,
setFromTree , and mergeTree methods. |
String |
IIOMetadataFormat.getRootName()
Returns the name of the root element of the format. |
String |
IIOMetadataFormat.getElementDescription(String elementName,
Locale locale)
Returns a String containing a description of the
named element, or null . |
String[] |
IIOMetadataFormat.getChildNames(String elementName)
Returns an array of String s indicating the names
of the element which are allowed to be children of the named
element, in the order in which they should appear. |
String[] |
IIOMetadataFormat.getAttributeNames(String elementName)
Returns an array of String s listing the names of
the attributes that may be associated with the named element. |
String |
IIOMetadataFormat.getAttributeDefaultValue(String elementName,
String attrName)
Returns the default value of the named attribute, if it is not explictly present within the named element, as a String , or null if no default value
is available. |
String[] |
IIOMetadataFormat.getAttributeEnumerations(String elementName,
String attrName)
Returns an array of String s containing the legal
enumerated values for the given attribute within the named
element. |
String |
IIOMetadataFormat.getAttributeMinValue(String elementName,
String attrName)
Returns the minimum legal value for the attribute. |
String |
IIOMetadataFormat.getAttributeMaxValue(String elementName,
String attrName)
Returns the maximum legal value for the attribute. |
String |
IIOMetadataFormat.getAttributeDescription(String elementName,
String attrName,
Locale locale)
Returns a String containing a description of the
named attribute, or null . |
Methods in javax.imageio.metadata with parameters of type String | |
protected void |
IIOMetadataFormatImpl.setResourceBaseName(String resourceBaseName)
Sets a new base name for locating ResourceBundle s
containing descriptions of elements and attributes for this
format. |
protected void |
IIOMetadataFormatImpl.addElement(String elementName,
String parentName,
int childPolicy)
Adds a new element type to this metadata document format with a child policy other than CHILD_POLICY_REPEAT . |
protected void |
IIOMetadataFormatImpl.addElement(String elementName,
String parentName,
int minChildren,
int maxChildren)
Adds a new element type to this metadata document format with a child policy of CHILD_POLICY_REPEAT . |
protected void |
IIOMetadataFormatImpl.addChildElement(String elementName,
String parentName)
Adds an existing element to the list of legal children for a given parent node type. |
protected void |
IIOMetadataFormatImpl.removeElement(String elementName)
Removes an element from the format. |
protected void |
IIOMetadataFormatImpl.addAttribute(String elementName,
String attrName,
int dataType,
boolean required,
String defaultValue)
Adds a new attribute to a previously defined element that may be set to an arbitrary value. |
protected void |
IIOMetadataFormatImpl.addAttribute(String elementName,
String attrName,
int dataType,
boolean required,
String defaultValue,
List enumeratedValues)
Adds a new attribute to a previously defined element that will be defined by a set of enumerated values. |
protected void |
IIOMetadataFormatImpl.addAttribute(String elementName,
String attrName,
int dataType,
boolean required,
String defaultValue,
String minValue,
String maxValue,
boolean minInclusive,
boolean maxInclusive)
Adds a new attribute to a previously defined element that will be defined by a range of values. |
protected void |
IIOMetadataFormatImpl.addAttribute(String elementName,
String attrName,
int dataType,
boolean required,
int listMinLength,
int listMaxLength)
Adds a new attribute to a previously defined element that will be defined by a list of values. |
protected void |
IIOMetadataFormatImpl.addBooleanAttribute(String elementName,
String attrName,
boolean hasDefaultValue,
boolean defaultValue)
Adds a new attribute to a previously defined element that will be defined by the enumerated values TRUE and
FALSE , with a datatype of
DATATYPE_BOOLEAN . |
protected void |
IIOMetadataFormatImpl.removeAttribute(String elementName,
String attrName)
Removes an attribute from a previously defined element. |
protected void |
IIOMetadataFormatImpl.addObjectValue(String elementName,
Class classType,
boolean required,
Object defaultValue)
Allows an Object reference of a given class type
to be stored in nodes implementing the named element. |
protected void |
IIOMetadataFormatImpl.addObjectValue(String elementName,
Class classType,
boolean required,
Object defaultValue,
List enumeratedValues)
Allows an Object reference of a given class type
to be stored in nodes implementing the named element. |
protected void |
IIOMetadataFormatImpl.addObjectValue(String elementName,
Class classType,
Object defaultValue,
Comparable minValue,
Comparable maxValue,
boolean minInclusive,
boolean maxInclusive)
Allows an Object reference of a given class type
to be stored in nodes implementing the named element. |
protected void |
IIOMetadataFormatImpl.addObjectValue(String elementName,
Class classType,
int arrayMinLength,
int arrayMaxLength)
Allows an Object reference of a given class type
to be stored in nodes implementing the named element. |
protected void |
IIOMetadataFormatImpl.removeObjectValue(String elementName)
Disallows an Object reference from being stored in
nodes implementing the named element. |
abstract boolean |
IIOMetadataFormatImpl.canNodeAppear(String elementName,
ImageTypeSpecifier imageType)
|
int |
IIOMetadataFormatImpl.getElementMinChildren(String elementName)
|
int |
IIOMetadataFormatImpl.getElementMaxChildren(String elementName)
|
String |
IIOMetadataFormatImpl.getElementDescription(String elementName,
Locale locale)
Returns a String containing a description of the
named element, or null . |
int |
IIOMetadataFormatImpl.getChildPolicy(String elementName)
|
String[] |
IIOMetadataFormatImpl.getChildNames(String elementName)
|
String[] |
IIOMetadataFormatImpl.getAttributeNames(String elementName)
|
int |
IIOMetadataFormatImpl.getAttributeValueType(String elementName,
String attrName)
|
int |
IIOMetadataFormatImpl.getAttributeDataType(String elementName,
String attrName)
|
boolean |
IIOMetadataFormatImpl.isAttributeRequired(String elementName,
String attrName)
|
String |
IIOMetadataFormatImpl.getAttributeDefaultValue(String elementName,
String attrName)
|
String[] |
IIOMetadataFormatImpl.getAttributeEnumerations(String elementName,
String attrName)
|
String |
IIOMetadataFormatImpl.getAttributeMinValue(String elementName,
String attrName)
|
String |
IIOMetadataFormatImpl.getAttributeMaxValue(String elementName,
String attrName)
|
int |
IIOMetadataFormatImpl.getAttributeListMinLength(String elementName,
String attrName)
|
int |
IIOMetadataFormatImpl.getAttributeListMaxLength(String elementName,
String attrName)
|
String |
IIOMetadataFormatImpl.getAttributeDescription(String elementName,
String attrName,
Locale locale)
Returns a String containing a description of the
named attribute, or null . |
int |
IIOMetadataFormatImpl.getObjectValueType(String elementName)
|
Class |
IIOMetadataFormatImpl.getObjectClass(String elementName)
|
Object |
IIOMetadataFormatImpl.getObjectDefaultValue(String elementName)
|
Object[] |
IIOMetadataFormatImpl.getObjectEnumerations(String elementName)
|
Comparable |
IIOMetadataFormatImpl.getObjectMinValue(String elementName)
|
Comparable |
IIOMetadataFormatImpl.getObjectMaxValue(String elementName)
|
int |
IIOMetadataFormatImpl.getObjectArrayMinLength(String elementName)
|
int |
IIOMetadataFormatImpl.getObjectArrayMaxLength(String elementName)
|
void |
IIOMetadataNode.setNodeValue(String nodeValue)
|
boolean |
IIOMetadataNode.isSupported(String feature,
String version)
Returns false since DOM features are not
supported. |
void |
IIOMetadataNode.setPrefix(String prefix)
Does nothing, since namespaces are not supported. |
String |
IIOMetadataNode.getAttribute(String name)
|
String |
IIOMetadataNode.getAttributeNS(String namespaceURI,
String localName)
Equivalent to getAttribute(localName) . |
void |
IIOMetadataNode.setAttribute(String name,
String value)
|
void |
IIOMetadataNode.setAttributeNS(String namespaceURI,
String qualifiedName,
String value)
Equivalent to setAttribute(qualifiedName, value) . |
void |
IIOMetadataNode.removeAttribute(String name)
|
void |
IIOMetadataNode.removeAttributeNS(String namespaceURI,
String localName)
Equivalent to removeAttribute(localName) . |
Attr |
IIOMetadataNode.getAttributeNode(String name)
|
Attr |
IIOMetadataNode.getAttributeNodeNS(String namespaceURI,
String localName)
Equivalent to getAttributeNode(localName) . |
NodeList |
IIOMetadataNode.getElementsByTagName(String name)
|
NodeList |
IIOMetadataNode.getElementsByTagNameNS(String namespaceURI,
String localName)
Equivalent to getElementsByTagName(localName) . |
boolean |
IIOMetadataNode.hasAttribute(String name)
|
boolean |
IIOMetadataNode.hasAttributeNS(String namespaceURI,
String localName)
Equivalent to hasAttribute(localName) . |
IIOMetadataFormat |
IIOMetadata.getMetadataFormat(String formatName)
Returns an IIOMetadataFormat object describing the
given metadata format, or null if no description
is available. |
abstract Node |
IIOMetadata.getAsTree(String formatName)
Returns an XML DOM Node object that represents the
root of a tree of metadata contained within this object
according to the conventions defined by a given metadata
format. |
abstract void |
IIOMetadata.mergeTree(String formatName,
Node root)
Alters the internal state of this IIOMetadata
object from a tree of XML DOM Node s whose syntax
is defined by the given metadata format. |
void |
IIOMetadata.setFromTree(String formatName,
Node root)
Sets the internal state of this IIOMetadata object
from a tree of XML DOM Node s whose syntax is
defined by the given metadata format. |
boolean |
IIOMetadataFormat.canNodeAppear(String elementName,
ImageTypeSpecifier imageType)
Returns true if the element (and the subtree below
it) is allowed to appear in a metadata document for an image of
the given type, defined by an ImageTypeSpecifier . |
int |
IIOMetadataFormat.getElementMinChildren(String elementName)
Returns the minimum number of children of the named element with child policy CHILD_POLICY_REPEAT . |
int |
IIOMetadataFormat.getElementMaxChildren(String elementName)
Returns the maximum number of children of the named element with child policy CHILD_POLICY_REPEAT . |
String |
IIOMetadataFormat.getElementDescription(String elementName,
Locale locale)
Returns a String containing a description of the
named element, or null . |
int |
IIOMetadataFormat.getChildPolicy(String elementName)
Returns one of the constants starting with CHILD_POLICY_ , indicating the legal pattern of
children for the named element. |
String[] |
IIOMetadataFormat.getChildNames(String elementName)
Returns an array of String s indicating the names
of the element which are allowed to be children of the named
element, in the order in which they should appear. |
String[] |
IIOMetadataFormat.getAttributeNames(String elementName)
Returns an array of String s listing the names of
the attributes that may be associated with the named element. |
int |
IIOMetadataFormat.getAttributeValueType(String elementName,
String attrName)
Returns one of the constants starting with VALUE_ ,
indicating whether the values of the given attribute within the
named element are arbitrary, constrained to lie within a
specified range, constrained to be one of a set of enumerated
values, or are a whitespace-separated list of arbitrary values. |
int |
IIOMetadataFormat.getAttributeDataType(String elementName,
String attrName)
Returns one of the constants starting with DATATYPE_ , indicating the format and
interpretation of the value of the given attribute within th
enamed element. |
boolean |
IIOMetadataFormat.isAttributeRequired(String elementName,
String attrName)
Returns true if the named attribute must be
present within the named element. |
String |
IIOMetadataFormat.getAttributeDefaultValue(String elementName,
String attrName)
Returns the default value of the named attribute, if it is not explictly present within the named element, as a String , or null if no default value
is available. |
String[] |
IIOMetadataFormat.getAttributeEnumerations(String elementName,
String attrName)
Returns an array of String s containing the legal
enumerated values for the given attribute within the named
element. |
String |
IIOMetadataFormat.getAttributeMinValue(String elementName,
String attrName)
Returns the minimum legal value for the attribute. |
String |
IIOMetadataFormat.getAttributeMaxValue(String elementName,
String attrName)
Returns the maximum legal value for the attribute. |
int |
IIOMetadataFormat.getAttributeListMinLength(String elementName,
String attrName)
Returns the minimum number of list items that may be used to define this attribute. |
int |
IIOMetadataFormat.getAttributeListMaxLength(String elementName,
String attrName)
Returns the maximum number of list items that may be used to define this attribute. |
String |
IIOMetadataFormat.getAttributeDescription(String elementName,
String attrName,
Locale locale)
Returns a String containing a description of the
named attribute, or null . |
int |
IIOMetadataFormat.getObjectValueType(String elementName)
Returns one of the enumerated values starting with VALUE_ , indicating the type of values
(enumeration, range, or array) that are allowed for the
Object reference. |
Class |
IIOMetadataFormat.getObjectClass(String elementName)
Returns the Class type of the Object
reference stored within the element. |
Object |
IIOMetadataFormat.getObjectDefaultValue(String elementName)
Returns an Object s containing the default
value for the Object reference within
the named element. |
Object[] |
IIOMetadataFormat.getObjectEnumerations(String elementName)
Returns an array of Object s containing the legal
enumerated values for the Object reference within
the named element. |
Comparable |
IIOMetadataFormat.getObjectMinValue(String elementName)
Returns the minimum legal value for the Object
reference within the named element. |
Comparable |
IIOMetadataFormat.getObjectMaxValue(String elementName)
Returns the maximum legal value for the Object
reference within the named element. |
int |
IIOMetadataFormat.getObjectArrayMinLength(String elementName)
Returns the minimum number of array elements that may be used to define the Object reference within the named
element. |
int |
IIOMetadataFormat.getObjectArrayMaxLength(String elementName)
Returns the maximum number of array elements that may be used to define the Object reference within the named
element. |
Constructors in javax.imageio.metadata with parameters of type String | |
IIOMetadataFormatImpl(String rootName,
int childPolicy)
Constructs a blank IIOMetadataFormatImpl instance,
with a given root element name and child policy (other than
CHILD_POLICY_REPEAT ). |
|
IIOMetadataFormatImpl(String rootName,
int minChildren,
int maxChildren)
Constructs a blank IIOMetadataFormatImpl instance,
with a given root element name and a child policy of
CHILD_POLICY_REPEAT . |
|
IIOMetadataNode(String nodeName)
Constructs an IIOMetadataNode with a given node
name. |
|
IIOInvalidTreeException(String message,
Node offendingNode)
Constructs an IIOInvalidTreeException with a
message string and a reference to the Node that
caused the parsing error. |
|
IIOInvalidTreeException(String message,
Throwable cause,
Node offendingNode)
Constructs an IIOInvalidTreeException with a
message string, a reference to an exception that caused this
exception, and a reference to the Node that caused
the parsing error. |
|
IIOMetadata(boolean standardMetadataFormatSupported,
String nativeMetadataFormatName,
String nativeMetadataFormatClassName,
String[] extraMetadataFormatNames,
String[] extraMetadataFormatClassNames)
Constructs an IIOMetadata object with the given
format names and format class names, as well as a boolean
indicating whether the standard format is supported. |
Uses of String in javax.imageio.plugins.jpeg |
Methods in javax.imageio.plugins.jpeg that return String | |
String[] |
JPEGImageWriteParam.getCompressionQualityDescriptions()
|
String |
JPEGHuffmanTable.toString()
|
String |
JPEGQTable.toString()
|
Uses of String in javax.imageio.spi |
Fields in javax.imageio.spi declared as String | |
protected String[] |
ImageWriterSpi.readerSpiNames
An array of strings to be returned from getImageReaderSpiNames , initially
null . |
protected String |
IIOServiceProvider.vendorName
A String to be returned from
getVendorName , initially null . |
protected String |
IIOServiceProvider.version
A String to be returned from
getVersion , initially null. |
protected String[] |
ImageReaderWriterSpi.names
An array of strings to be returned from getFormatNames , initially null . |
protected String[] |
ImageReaderWriterSpi.suffixes
An array of strings to be returned from getFileSuffixes , initially null . |
protected String[] |
ImageReaderWriterSpi.MIMETypes
An array of strings to be returned from getMIMETypes , initially null . |
protected String |
ImageReaderWriterSpi.pluginClassName
A String containing the name of the associated
plug-in class, initially null . |
protected String |
ImageReaderWriterSpi.nativeStreamMetadataFormatName
A String containing the name of the native stream
metadata format supported by this plug-in, initially
null . |
protected String |
ImageReaderWriterSpi.nativeStreamMetadataFormatClassName
A String containing the class name of the native
stream metadata format supported by this plug-in, initially
null . |
protected String[] |
ImageReaderWriterSpi.extraStreamMetadataFormatNames
An array of String s containing the names of any
additional stream metadata formats supported by this plug-in,
initially null . |
protected String[] |
ImageReaderWriterSpi.extraStreamMetadataFormatClassNames
An array of String s containing the class names of
any additional stream metadata formats supported by this plug-in,
initially null . |
protected String |
ImageReaderWriterSpi.nativeImageMetadataFormatName
A String containing the name of the
native stream metadata format supported by this plug-in,
initially null . |
protected String |
ImageReaderWriterSpi.nativeImageMetadataFormatClassName
A String containing the class name of the
native stream metadata format supported by this plug-in,
initially null . |
protected String[] |
ImageReaderWriterSpi.extraImageMetadataFormatNames
An array of String s containing the names of any
additional image metadata formats supported by this plug-in,
initially null . |
protected String[] |
ImageReaderWriterSpi.extraImageMetadataFormatClassNames
An array of String s containing the class names of
any additional image metadata formats supported by this
plug-in, initially null . |
protected String[] |
ImageReaderSpi.writerSpiNames
An array of strings to be returned from getImageWriterSpiNames , initially
null . |
Methods in javax.imageio.spi that return String | |
abstract String |
ImageTranscoderSpi.getReaderServiceProviderName()
Returns the fully qualified class name of an ImageReaderSpi class that generates
IIOMetadata objects that may be used as input to
this transcoder. |
abstract String |
ImageTranscoderSpi.getWriterServiceProviderName()
Returns the fully qualified class name of an ImageWriterSpi class that generates
IIOMetadata objects that may be used as input to
this transcoder. |
String[] |
ImageWriterSpi.getImageReaderSpiNames()
Returns an array of String s containing all the
fully qualified names of all the ImageReaderSpi
classes that can understand the internal metadata
representation used by the ImageWriter associated
with this service provider, or null if there are
no such ImageReaders specified. |
String |
IIOServiceProvider.getVendorName()
Returns the name of the vendor responsible for creating this service provider and its associated implementation. |
String |
IIOServiceProvider.getVersion()
Returns a string describing the version number of this service provider and its associated implementation. |
abstract String |
IIOServiceProvider.getDescription(Locale locale)
Returns a brief, human-readable description of this service provider and its associated implementation. |
String[] |
ImageReaderWriterSpi.getFormatNames()
Returns an array of String s containing
human-readable names for the formats that are generally usable
by the ImageReader or ImageWriter
implementation associated with this service provider. |
String[] |
ImageReaderWriterSpi.getFileSuffixes()
Returns an array of String s containing a list of
file suffixes associated with the formats that are generally
usable by the ImageReader or
ImageWriter implementation associated with this
service provider. |
String[] |
ImageReaderWriterSpi.getMIMETypes()
Returns an array of String s containing a list of
MIME types associated with the formats that are generally
usable by the ImageReader or
ImageWriter implementation associated with this
service provider. |
String |
ImageReaderWriterSpi.getPluginClassName()
Returns the fully-qualified class name of the ImageReader or ImageWriter plug-in
associated with this service provider. |
String |
ImageReaderWriterSpi.getNativeStreamMetadataFormatName()
Returns the name of the "native" stream metadata format for this plug-in, which typically allows for lossless encoding and transmission of the stream metadata stored in the format handled by this plug-in. |
String[] |
ImageReaderWriterSpi.getExtraStreamMetadataFormatNames()
Returns an array of String s containing the names
of additional document formats, other than the native and
standard formats, recognized by the
getAsTree and setFromTree methods on
the stream metadata objects produced or consumed by this
plug-in. |
String |
ImageReaderWriterSpi.getNativeImageMetadataFormatName()
Returns the name of the "native" image metadata format for this plug-in, which typically allows for lossless encoding and transmission of the image metadata stored in the format handled by this plug-in. |
String[] |
ImageReaderWriterSpi.getExtraImageMetadataFormatNames()
Returns an array of String s containing the names
of additional document formats, other than the native and
standard formats, recognized by the
getAsTree and setFromTree methods on
the image metadata objects produced or consumed by this
plug-in. |
String[] |
ImageReaderSpi.getImageWriterSpiNames()
Returns an array of String s containing the fully
qualified names of all the ImageWriterSpi classes
that can understand the internal metadata representation used
by the ImageReader associated with this service
provider, or null if there are no such
ImageWriter s specified. |
Methods in javax.imageio.spi with parameters of type String | |
IIOMetadataFormat |
ImageReaderWriterSpi.getStreamMetadataFormat(String formatName)
Returns an IIOMetadataFormat object describing the
given stream metadata format, or null if no
description is available. |
IIOMetadataFormat |
ImageReaderWriterSpi.getImageMetadataFormat(String formatName)
Returns an IIOMetadataFormat object describing the
given image metadata format, or null if no
description is available. |
Constructors in javax.imageio.spi with parameters of type String | |
ImageTranscoderSpi(String vendorName,
String version)
Constructs an ImageTranscoderSpi with a given set
of values. |
|
ImageOutputStreamSpi(String vendorName,
String version,
Class outputClass)
Constructs an ImageOutputStreamSpi with a given
set of values. |
|
ImageInputStreamSpi(String vendorName,
String version,
Class inputClass)
Constructs an ImageInputStreamSpi with a given set
of values. |
|
ImageWriterSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String writerClassName,
Class[] outputTypes,
String[] readerSpiNames,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an ImageWriterSpi with a given
set of values. |
|
IIOServiceProvider(String vendorName,
String version)
Constructs an IIOServiceProvider with a given
vendor name and version identifier. |
|
ImageReaderWriterSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String pluginClassName,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an ImageReaderWriterSpi with a given
set of values. |
|
ImageReaderSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String readerClassName,
Class[] inputTypes,
String[] writerSpiNames,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an ImageReaderSpi with a given
set of values. |
Uses of String in javax.imageio.stream |
Methods in javax.imageio.stream that return String | |
String |
ImageInputStreamImpl.readLine()
|
String |
ImageInputStreamImpl.readUTF()
|
String |
ImageInputStream.readLine()
Reads the next line of text from the input stream. |
String |
ImageInputStream.readUTF()
Reads in a string that has been encoded using a modified UTF-8 format. |
Methods in javax.imageio.stream with parameters of type String | |
void |
ImageOutputStreamImpl.writeBytes(String s)
|
void |
ImageOutputStreamImpl.writeChars(String s)
|
void |
ImageOutputStreamImpl.writeUTF(String s)
|
void |
ImageOutputStream.writeBytes(String s)
Writes a string to the output stream. |
void |
ImageOutputStream.writeChars(String s)
Writes a string to the output stream. |
void |
ImageOutputStream.writeUTF(String s)
Writes two bytes of length information to the output stream in netwrok byte order, followed by the Java modified UTF representation of every character in the string s . |
Uses of String in javax.naming |
Fields in javax.naming declared as String | |
protected String |
Reference.className
Contains the fully-qualified name of the class of the object to which this Reference refers. |
protected String |
Reference.classFactory
Contains the name of the factory class for creating an instance of the object to which this Reference refers. |
protected String |
Reference.classFactoryLocation
Contains the location of the factory class. |
protected String |
LinkException.linkExplanation
Contains the exception of why resolution of the link failed. |
static String |
Context.INITIAL_CONTEXT_FACTORY
Constant that holds the name of the environment property for specifying the initial context factory to use. |
static String |
Context.OBJECT_FACTORIES
Constant that holds the name of the environment property for specifying the list of object factories to use. |
static String |
Context.STATE_FACTORIES
Constant that holds the name of the environment property for specifying the list of state factories to use. |
static String |
Context.URL_PKG_PREFIXES
Constant that holds the name of the environment property for specifying the list of package prefixes to use when loading in URL context factories. |
static String |
Context.PROVIDER_URL
Constant that holds the name of the environment property for specifying configuration information for the service provider to use. |
static String |
Context.DNS_URL
Constant that holds the name of the environment property for specifying the DNS host and domain names to use for the JNDI URL context (for example, "dns://somehost/wiz.com"). |
static String |
Context.AUTHORITATIVE
Constant that holds the name of the environment property for specifying the authoritativeness of the service requested. |
static String |
Context.BATCHSIZE
Constant that holds the name of the environment property for specifying the batch size to use when returning data via the service's protocol. |
static String |
Context.REFERRAL
Constant that holds the name of the environment property for specifying how referrals encountered by the service provider are to be processed. |
static String |
Context.SECURITY_PROTOCOL
Constant that holds the name of the environment property for specifying the security protocol to use. |
static String |
Context.SECURITY_AUTHENTICATION
Constant that holds the name of the environment property for specifying the security level to use. |
static String |
Context.SECURITY_PRINCIPAL
Constant that holds the name of the environment property for specifying the identity of the principal for authenticating the caller to the service. |
static String |
Context.SECURITY_CREDENTIALS
Constant that holds the name of the environment property for specifying the credentials of the principal for authenticating the caller to the service. |
static String |
Context.LANGUAGE
Constant that holds the name of the environment property for specifying the preferred language to use with the service. |
static String |
Context.APPLET
Constant that holds the name of the environment property for specifying an applet for the initial context constructor to use when searching for other properties. |
protected String |
RefAddr.addrType
Contains the type of this address. |
Methods in javax.naming that return String | |
String |
Reference.getClassName()
Retrieves the class name of the object to which this reference refers. |
String |
Reference.getFactoryClassName()
Retrieves the class name of the factory of the object to which this reference refers. |
String |
Reference.getFactoryClassLocation()
Retrieves the location of the factory of the object to which this reference refers. |
String |
Reference.toString()
Generates the string representation of this reference. |
String |
LinkRef.getLinkName()
Retrieves the name of this link. |
String |
LinkException.getLinkExplanation()
Retrieves the explanation associated with the problem encounter when resolving a link. |
String |
LinkException.toString()
Generates the string representation of this exception. |
String |
LinkException.toString(boolean detail)
Generates the string representation of this exception. |
String |
InitialContext.composeName(String name,
String prefix)
Composes the name of this context with a name relative to this context. |
String |
InitialContext.getNameInNamespace()
|
String |
CompoundName.toString()
Generates the string representation of this compound name, using the syntax rules of the compound name. |
String |
CompoundName.get(int posn)
Retrieves a component of this compound name. |
String |
CompositeName.toString()
Generates the string representation of this composite name. |
String |
CompositeName.get(int posn)
Retrieves a component of this composite name. |
String |
Context.composeName(String name,
String prefix)
Composes the name of this context with a name relative to this context. |
String |
Context.getNameInNamespace()
Retrieves the full name of this context within its own namespace. |
String |
RefAddr.getType()
Retrieves the address type of this address. |
String |
RefAddr.toString()
Generates the string representation of this address. |
String |
BinaryRefAddr.toString()
Generates the string representation of this address. |
String |
NameClassPair.getClassName()
Retrieves the class name of the object bound to the name of this binding. |
String |
NameClassPair.getName()
Retrieves the name of this binding. |
String |
NameClassPair.toString()
Generates the string representation of this name/class pair. |
String |
Binding.getClassName()
Retrieves the class name of the object bound to the name of this binding. |
String |
Binding.toString()
Generates the string representation of this binding. |
String |
Name.get(int posn)
Retrieves a component of this name. |
String |
NamingException.getExplanation()
Retrieves the explanation associated with this exception. |
String |
NamingException.toString()
Generates the string representation of this exception. |
String |
NamingException.toString(boolean detail)
Generates the string representation in more detail. |
Methods in javax.naming with parameters of type String | |
RefAddr |
Reference.get(String addrType)
Retrieves the first address that has the address type 'addrType'. |
void |
LinkException.setLinkExplanation(String msg)
Sets the explanation associated with the problem encounter when resolving a link. |
protected Context |
InitialContext.getURLOrDefaultInitCtx(String name)
Retrieves a context for resolving the string name name . |
Object |
InitialContext.lookup(String name)
|
void |
InitialContext.bind(String name,
Object obj)
|
void |
InitialContext.rebind(String name,
Object obj)
|
void |
InitialContext.unbind(String name)
|
void |
InitialContext.rename(String oldName,
String newName)
|
NamingEnumeration |
InitialContext.list(String name)
|
NamingEnumeration |
InitialContext.listBindings(String name)
|
void |
InitialContext.destroySubcontext(String name)
|
Context |
InitialContext.createSubcontext(String name)
|
Object |
InitialContext.lookupLink(String name)
|
NameParser |
InitialContext.getNameParser(String name)
|
String |
InitialContext.composeName(String name,
String prefix)
Composes the name of this context with a name relative to this context. |
Object |
InitialContext.addToEnvironment(String propName,
Object propVal)
|
Object |
InitialContext.removeFromEnvironment(String propName)
|
Name |
CompoundName.add(String comp)
Adds a single component to the end of this compound name. |
Name |
CompoundName.add(int posn,
String comp)
Adds a single component at a specified position within this compound name. |
Name |
CompositeName.add(String comp)
Adds a single component to the end of this composite name. |
Name |
CompositeName.add(int posn,
String comp)
Adds a single component at a specified position within this composite name. |
Name |
NameParser.parse(String name)
Parses a name into its components. |
Object |
Context.lookup(String name)
Retrieves the named object. |
void |
Context.bind(String name,
Object obj)
Binds a name to an object. |
void |
Context.rebind(String name,
Object obj)
Binds a name to an object, overwriting any existing binding. |
void |
Context.unbind(String name)
Unbinds the named object. |
void |
Context.rename(String oldName,
String newName)
Binds a new name to the object bound to an old name, and unbinds the old name. |
NamingEnumeration |
Context.list(String name)
Enumerates the names bound in the named context, along with the class names of objects bound to them. |
NamingEnumeration |
Context.listBindings(String name)
Enumerates the names bound in the named context, along with the objects bound to them. |
void |
Context.destroySubcontext(String name)
Destroys the named context and removes it from the namespace. |
Context |
Context.createSubcontext(String name)
Creates and binds a new context. |
Object |
Context.lookupLink(String name)
Retrieves the named object, following links except for the terminal atomic component of the name. |
NameParser |
Context.getNameParser(String name)
Retrieves the parser associated with the named context. |
String |
Context.composeName(String name,
String prefix)
Composes the name of this context with a name relative to this context. |
Object |
Context.addToEnvironment(String propName,
Object propVal)
Adds a new environment property to the environment of this context. |
Object |
Context.removeFromEnvironment(String propName)
Removes an environment property from the environment of this context. |
void |
NameClassPair.setName(String name)
Sets the name of this binding. |
void |
NameClassPair.setClassName(String name)
Sets the class name of this binding. |
Name |
Name.add(String comp)
Adds a single component to the end of this name. |
Name |
Name.add(int posn,
String comp)
Adds a single component at a specified position within this name. |
void |
NamingException.appendRemainingComponent(String name)
Add name as the last component in remaining name. |
Constructors in javax.naming with parameters of type String | |
TimeLimitExceededException(String explanation)
Constructs a new instance of TimeLimitExceededException using the argument supplied. |
|
StringRefAddr(String addrType,
String addr)
Constructs a new instance of StringRefAddr using its address type and contents. |
|
SizeLimitExceededException(String explanation)
Constructs a new instance of SizeLimitExceededException using an explanation. |
|
ServiceUnavailableException(String explanation)
Constructs a new instance of ServiceUnavailableException using an explanation. |
|
ReferralException(String explanation)
Constructs a new instance of ReferralException using the explanation supplied. |
|
PartialResultException(String explanation)
Constructs a new instance of the exception using the explanation message specified. |
|
OperationNotSupportedException(String explanation)
Constructs a new instance of OperationNotSupportedException using an explanation. |
|
NotContextException(String explanation)
Constructs a new instance of NotContextException using an explanation. |
|
NoPermissionException(String explanation)
Constructs a new instance of NoPermissionException using an explanation. |
|
NoInitialContextException(String explanation)
Constructs an instance of NoInitialContextException with an explanation. |
|
NameNotFoundException(String explanation)
Constructs a new instance of NameNotFoundException using the explanation supplied. |
|
NameAlreadyBoundException(String explanation)
Constructs a new instance of NameAlreadyBoundException using the explanation supplied. |
|
MalformedLinkException(String explanation)
Constructs a new instance of MalformedLinkException with an explanation All the other fields are initialized to null. |
|
Reference(String className)
Constructs a new reference for an object with class name 'className'. |
|
Reference(String className,
RefAddr addr)
Constructs a new reference for an object with class name 'className' and an address. |
|
Reference(String className,
String factory,
String factoryLocation)
Constructs a new reference for an object with class name 'className', and the class name and location of the object's factory. |
|
Reference(String className,
RefAddr addr,
String factory,
String factoryLocation)
Constructs a new reference for an object with class name 'className', the class name and location of the object's factory, and the address for the object. |
|
LinkRef(String linkName)
Constructs a LinkRef for a string name. |
|
LinkLoopException(String explanation)
Constructs a new instance of LinkLoopException with an explanation All the other fields are initialized to null. |
|
LinkException(String explanation)
Constructs a new instance of LinkException with an explanation All the other fields are initialized to null. |
|
LimitExceededException(String explanation)
Constructs a new instance of LimitExceededException using an explanation. |
|
InsufficientResourcesException(String explanation)
Constructs a new instance of InsufficientResourcesException using an explanation. |
|
InterruptedNamingException(String explanation)
Constructs an instance of InterruptedNamingException using an explanation of the problem. |
|
ContextNotEmptyException(String explanation)
Constructs a new instance of ContextNotEmptyException using an explanation. |
|
ConfigurationException(String explanation)
Constructs a new instance of ConfigurationException using an explanation. |
|
CompoundName(String n,
Properties syntax)
Constructs a new compound name instance by parsing the string n using the syntax specified by the syntax properties supplied. |
|
CompositeName(String n)
Constructs a new composite name instance by parsing the string n using the composite name syntax (left-to-right, slash separated). |
|
CommunicationException(String explanation)
Constructs a new instance of CommunicationException using the arguments supplied. |
|
CannotProceedException(String explanation)
Constructs a new instance of CannotProceedException using an explanation. |
|
RefAddr(String addrType)
Constructs a new instance of RefAddr using its address type. |
|
BinaryRefAddr(String addrType,
byte[] src)
Constructs a new instance of BinaryRefAddr using its address type and a byte array for contents. |
|
BinaryRefAddr(String addrType,
byte[] src,
int offset,
int count)
Constructs a new instance of BinaryRefAddr using its address type and a region of a byte array for contents. |
|
NameClassPair(String name,
String className)
Constructs an instance of a NameClassPair given its name and class name. |
|
NameClassPair(String name,
String className,
boolean isRelative)
Constructs an instance of a NameClassPair given its name, class name, and whether it is relative to the listing context. |
|
Binding(String name,
Object obj)
Constructs an instance of a Binding given its name and object. |
|
Binding(String name,
Object obj,
boolean isRelative)
Constructs an instance of a Binding given its name, object, and whether the name is relative. |
|
Binding(String name,
String className,
Object obj)
Constructs an instance of a Binding given its name, class name, and object. |
|
Binding(String name,
String className,
Object obj,
boolean isRelative)
Constructs an instance of a Binding given its name, class name, object, and whether the name is relative. |
|
AuthenticationNotSupportedException(String explanation)
Constructs a new instance of AuthenticationNotSupportedException using an explanation. |
|
InvalidNameException(String explanation)
Constructs an instance of InvalidNameException using an explanation of the problem. |
|
NamingException(String explanation)
Constructs a new NamingException with an explanation. |
|
NamingSecurityException(String explanation)
Constructs a new instance of NamingSecurityException using the explanation supplied. |
|
AuthenticationException(String explanation)
Constructs a new instance of AuthenticationException using the explanation supplied. |
Uses of String in javax.naming.directory |
Fields in javax.naming.directory declared as String | |
protected String |
BasicAttribute.attrID
Holds the attribute's id. |
Methods in javax.naming.directory that return String | |
String |
SearchResult.toString()
Generates the string representation of this SearchResult. |
String |
BasicAttributes.toString()
Generates the string representation of this attribute set. |
String |
BasicAttribute.toString()
Generates the string representation of this attribute. |
String |
BasicAttribute.getID()
|
String |
AttributeModificationException.toString()
The string representation of this exception consists of information about where the error occurred, and the first unexecuted modification. |
String[] |
SearchControls.getReturningAttributes()
Retrieves the attributes that will be returned as part of the search. |
String |
ModificationItem.toString()
Generates the string representation of this modification item, which consists of the modification operation and its related attribute. |
String |
Attribute.getID()
Retrieves the id of this attribute. |
Methods in javax.naming.directory with parameters of type String | |
Attributes |
InitialDirContext.getAttributes(String name)
|
Attributes |
InitialDirContext.getAttributes(String name,
String[] attrIds)
|
Attributes |
InitialDirContext.getAttributes(Name name,
String[] attrIds)
|
void |
InitialDirContext.modifyAttributes(String name,
int mod_op,
Attributes attrs)
|
void |
InitialDirContext.modifyAttributes(String name,
ModificationItem[] mods)
|
void |
InitialDirContext.bind(String name,
Object obj,
Attributes attrs)
|
void |
InitialDirContext.rebind(String name,
Object obj,
Attributes attrs)
|
DirContext |
InitialDirContext.createSubcontext(String name,
Attributes attrs)
|
DirContext |
InitialDirContext.getSchema(String name)
|
DirContext |
InitialDirContext.getSchemaClassDefinition(String name)
|
NamingEnumeration |
InitialDirContext.search(String name,
Attributes matchingAttributes)
|
NamingEnumeration |
InitialDirContext.search(String name,
Attributes matchingAttributes,
String[] attributesToReturn)
|
NamingEnumeration |
InitialDirContext.search(Name name,
Attributes matchingAttributes,
String[] attributesToReturn)
|
NamingEnumeration |
InitialDirContext.search(String name,
String filter,
SearchControls cons)
|
NamingEnumeration |
InitialDirContext.search(Name name,
String filter,
SearchControls cons)
|
NamingEnumeration |
InitialDirContext.search(String name,
String filterExpr,
Object[] filterArgs,
SearchControls cons)
|
NamingEnumeration |
InitialDirContext.search(Name name,
String filterExpr,
Object[] filterArgs,
SearchControls cons)
|
Attribute |
BasicAttributes.get(String attrID)
|
Attribute |
BasicAttributes.put(String attrID,
Object val)
|
Attribute |
BasicAttributes.remove(String attrID)
|
void |
SearchControls.setReturningAttributes(String[] attrs)
Specifies the attributes that will be returned as part of the search. |
Attribute |
Attributes.get(String attrID)
Retrieves the attribute with the given attribute id from the attribute set. |
Attribute |
Attributes.put(String attrID,
Object val)
Adds a new attribute to the attribute set. |
Attribute |
Attributes.remove(String attrID)
Removes the attribute with the attribute id 'attrID' from the attribute set. |
Attributes |
DirContext.getAttributes(String name)
Retrieves all of the attributes associated with a named object. |
Attributes |
DirContext.getAttributes(Name name,
String[] attrIds)
Retrieves selected attributes associated with a named object. |
Attributes |
DirContext.getAttributes(String name,
String[] attrIds)
Retrieves selected attributes associated with a named object. |
void |
DirContext.modifyAttributes(String name,
int mod_op,
Attributes attrs)
Modifies the attributes associated with a named object. |
void |
DirContext.modifyAttributes(String name,
ModificationItem[] mods)
Modifies the attributes associated with a named object using an ordered list of modifications. |
void |
DirContext.bind(String name,
Object obj,
Attributes attrs)
Binds a name to an object, along with associated attributes. |
void |
DirContext.rebind(String name,
Object obj,
Attributes attrs)
Binds a name to an object, along with associated attributes, overwriting any existing binding. |
DirContext |
DirContext.createSubcontext(String name,
Attributes attrs)
Creates and binds a new context, along with associated attributes. |
DirContext |
DirContext.getSchema(String name)
Retrieves the schema associated with the named object. |
DirContext |
DirContext.getSchemaClassDefinition(String name)
Retrieves a context containing the schema objects of the named object's class definitions. |
NamingEnumeration |
DirContext.search(Name name,
Attributes matchingAttributes,
String[] attributesToReturn)
Searches in a single context for objects that contain a specified set of attributes, and retrieves selected attributes. |
NamingEnumeration |
DirContext.search(String name,
Attributes matchingAttributes,
String[] attributesToReturn)
Searches in a single context for objects that contain a specified set of attributes, and retrieves selected attributes. |
NamingEnumeration |
DirContext.search(String name,
Attributes matchingAttributes)
Searches in a single context for objects that contain a specified set of attributes. |
NamingEnumeration |
DirContext.search(Name name,
String filter,
SearchControls cons)
Searches in the named context or object for entries that satisfy the given search filter. |
NamingEnumeration |
DirContext.search(String name,
String filter,
SearchControls cons)
Searches in the named context or object for entries that satisfy the given search filter. |
NamingEnumeration |
DirContext.search(Name name,
String filterExpr,
Object[] filterArgs,
SearchControls cons)
Searches in the named context or object for entries that satisfy the given search filter. |
NamingEnumeration |
DirContext.search(String name,
String filterExpr,
Object[] filterArgs,
SearchControls cons)
Searches in the named context or object for entries that satisfy the given search filter. |
Constructors in javax.naming.directory with parameters of type String | |
SchemaViolationException(String explanation)
Constructs a new instance of SchemaViolationException using the explanation supplied. |
|
NoSuchAttributeException(String explanation)
Constructs a new instance of NoSuchAttributeException using an explanation. |
|
InvalidSearchControlsException(String msg)
Constructs a new instance of InvalidSearchControlsException with an explanation. |
|
InvalidSearchFilterException(String msg)
Constructs a new instance of InvalidSearchFilterException with an explanation. |
|
InvalidAttributeIdentifierException(String explanation)
Constructs a new instance of InvalidAttributeIdentifierException using the explanation supplied. |
|
InvalidAttributeValueException(String explanation)
Constructs a new instance of InvalidAttributeValueException using an explanation. |
|
InvalidAttributesException(String explanation)
Constructs a new instance of InvalidAttributesException using an explanation. |
|
SearchResult(String name,
Object obj,
Attributes attrs)
Constructs a search result using the result's name, its bound object, and its attributes. |
|
SearchResult(String name,
Object obj,
Attributes attrs,
boolean isRelative)
Constructs a search result using the result's name, its bound object, and its attributes, and whether the name is relative. |
|
SearchResult(String name,
String className,
Object obj,
Attributes attrs)
Constructs a search result using the result's name, its class name, its bound object, and its attributes. |
|
SearchResult(String name,
String className,
Object obj,
Attributes attrs,
boolean isRelative)
Constructs a search result using the result's name, its class name, its bound object, its attributes, and whether the name is relative. |
|
BasicAttributes(String attrID,
Object val)
Constructs a new instance of Attributes with one attribute. |
|
BasicAttributes(String attrID,
Object val,
boolean ignoreCase)
Constructs a new instance of Attributes with one attribute. |
|
BasicAttribute(String id)
Constructs a new instance of an unordered attribute with no value. |
|
BasicAttribute(String id,
Object value)
Constructs a new instance of an unordered attribute with a single value. |
|
BasicAttribute(String id,
boolean ordered)
Constructs a new instance of a possibly ordered attribute with no value. |
|
BasicAttribute(String id,
Object value,
boolean ordered)
Constructs a new instance of a possibly ordered attribute with a single value. |
|
AttributeModificationException(String explanation)
Constructs a new instance of AttributeModificationException using an explanation. |
|
AttributeInUseException(String explanation)
Constructs a new instance of AttributeInUseException with an explanation. |
|
SearchControls(int scope,
long countlim,
int timelim,
String[] attrs,
boolean retobj,
boolean deref)
Constructs a search constraints using arguments. |
Uses of String in javax.naming.event |
Methods in javax.naming.event with parameters of type String | |
void |
EventDirContext.addNamingListener(Name target,
String filter,
SearchControls ctls,
NamingListener l)
Adds a listener for receiving naming events fired when objects identified by the search filter filter at the object named by target are modified. |
void |
EventDirContext.addNamingListener(String target,
String filter,
SearchControls ctls,
NamingListener l)
Adds a listener for receiving naming events fired when objects identified by the search filter filter at the object named by the string target name are modified. |
void |
EventDirContext.addNamingListener(Name target,
String filter,
Object[] filterArgs,
SearchControls ctls,
NamingListener l)
Adds a listener for receiving naming events fired when objects identified by the search filter filter and filter arguments at the object named by the target are modified. |
void |
EventDirContext.addNamingListener(String target,
String filter,
Object[] filterArgs,
SearchControls ctls,
NamingListener l)
Adds a listener for receiving naming events fired when objects identified by the search filter filter and filter arguments at the object named by the string target name are modified. |
void |
EventContext.addNamingListener(String target,
int scope,
NamingListener l)
Adds a listener for receiving naming events fired when the object named by the string target name and scope changes. |
Uses of String in javax.naming.ldap |
Fields in javax.naming.ldap declared as String | |
static String |
StartTlsResponse.OID
The StartTLS extended response's assigned object identifier is 1.3.6.1.4.1.1466.20037. |
static String |
StartTlsRequest.OID
The StartTLS extended request's assigned object identifier is 1.3.6.1.4.1.1466.20037. |
static String |
LdapContext.CONTROL_FACTORIES
Constant that holds the name of the environment property for specifying the list of control factories to use. |
Methods in javax.naming.ldap that return String | |
String[] |
UnsolicitedNotification.getReferrals()
Retrieves the referral(s) sent by the server. |
String |
StartTlsResponse.getID()
Retrieves the StartTLS response's object identifier string. |
String |
StartTlsRequest.getID()
Retrieves the StartTLS request's object identifier string. |
String |
Control.getID()
Retrieves the object identifier assigned for the LDAP control. |
String |
ExtendedResponse.getID()
Retrieves the object identifier of the response. |
String |
ExtendedRequest.getID()
Retrieves the object identifier of the request. |
Methods in javax.naming.ldap with parameters of type String | |
abstract void |
StartTlsResponse.setEnabledCipherSuites(String[] suites)
Overrides the default list of cipher suites enabled for use on the TLS connection. |
ExtendedResponse |
StartTlsRequest.createExtendedResponse(String id,
byte[] berValue,
int offset,
int length)
Creates an extended response object that corresponds to the LDAP StartTLS extended request. |
ExtendedResponse |
ExtendedRequest.createExtendedResponse(String id,
byte[] berValue,
int offset,
int length)
Creates the response object that corresponds to this request. |
Constructors in javax.naming.ldap with parameters of type String | |
LdapReferralException(String explanation)
Constructs a new instance of LdapReferralException using the explanation supplied. |
Uses of String in javax.naming.spi |
Fields in javax.naming.spi declared as String | |
static String |
NamingManager.CPE
Constant that holds the name of the environment property into which getContinuationContext() stores the value of its CannotProceedException parameter. |
Methods in javax.naming.spi with parameters of type String | |
void |
ResolveResult.appendRemainingComponent(String name)
Adds a single component to the end of remaining name. |
ResolveResult |
Resolver.resolveToClass(String name,
Class contextType)
Partially resolves a name. |
static Context |
NamingManager.getURLContext(String scheme,
Hashtable environment)
Creates a context for the given URL scheme id. |
Constructors in javax.naming.spi with parameters of type String | |
ResolveResult(Object robj,
String rcomp)
Constructs a new instance of ResolveResult consisting of the resolved object and the remaining unresolved component. |
Uses of String in javax.net |
Methods in javax.net with parameters of type String | |
abstract Socket |
SocketFactory.createSocket(String host,
int port)
Creates a socket and connects it to the specified remote host at the specified remote port. |
abstract Socket |
SocketFactory.createSocket(String host,
int port,
InetAddress localHost,
int localPort)
Creates a socket and connects it to the specified remote host on the specified remote port. |
Uses of String in javax.net.ssl |
Methods in javax.net.ssl that return String | |
String[] |
X509KeyManager.getClientAliases(String keyType,
Principal[] issuers)
Get the matching aliases for authenticating the client side of a secure socket given the public key type and the list of certificate issuer authorities recognized by the peer (if any). |
String |
X509KeyManager.chooseClientAlias(String[] keyType,
Principal[] issuers,
Socket socket)
Choose an alias to authenticate the client side of a secure socket given the public key type and the list of certificate issuer authorities recognized by the peer (if any). |
String[] |
X509KeyManager.getServerAliases(String keyType,
Principal[] issuers)
Get the matching aliases for authenticating the server side of a secure socket given the public key type and the list of certificate issuer authorities recognized by the peer (if any). |
String |
X509KeyManager.chooseServerAlias(String keyType,
Principal[] issuers,
Socket socket)
Choose an alias to authenticate the server side of a secure socket given the public key type and the list of certificate issuer authorities recognized by the peer (if any). |
static String |
TrustManagerFactory.getDefaultAlgorithm()
Obtains the default TrustManagerFactory algorithm name. |
String |
TrustManagerFactory.getAlgorithm()
Returns the algorithm name of this TrustManagerFactory
object. |
String |
SSLContext.getProtocol()
Returns the protocol name of this SSLContext object. |
static String |
KeyManagerFactory.getDefaultAlgorithm()
Obtains the default KeyManagerFactory algorithm name. |
String |
KeyManagerFactory.getAlgorithm()
Returns the algorithm name of this KeyManagerFactory object. |
String |
SSLSessionBindingEvent.getName()
Returns the name to which the object is being bound, or the name from which the object is being unbound. |
abstract String[] |
SSLServerSocketFactory.getDefaultCipherSuites()
Returns the list of cipher suites which are enabled by default. |
abstract String[] |
SSLServerSocketFactory.getSupportedCipherSuites()
Returns the names of the cipher suites which could be enabled for use on an SSL connection created by this factory. |
abstract String |
HttpsURLConnection.getCipherSuite()
Returns the cipher suite in use on this connection. |
abstract String[] |
SSLSocketFactory.getDefaultCipherSuites()
Returns the list of cipher suites which are enabled by default. |
abstract String[] |
SSLSocketFactory.getSupportedCipherSuites()
Returns the names of the cipher suites which could be enabled for use on an SSL connection. |
abstract String[] |
SSLServerSocket.getEnabledCipherSuites()
Returns the list of cipher suites which are currently enabled for use by newly accepted connections. |
abstract String[] |
SSLServerSocket.getSupportedCipherSuites()
Returns the names of the cipher suites which could be enabled for use on an SSL connection. |
abstract String[] |
SSLServerSocket.getSupportedProtocols()
Returns the names of the protocols which could be enabled for use. |
abstract String[] |
SSLServerSocket.getEnabledProtocols()
Returns the names of the protocols which are currently enabled for use by the newly accepted connections. |
abstract String[] |
SSLSocket.getSupportedCipherSuites()
Returns the names of the cipher suites which could be enabled for use on this connection. |
abstract String[] |
SSLSocket.getEnabledCipherSuites()
Returns the names of the SSL cipher suites which are currently enabled for use on this connection. |
abstract String[] |
SSLSocket.getSupportedProtocols()
Returns the names of the protocols which could be enabled for use on an SSL connection. |
abstract String[] |
SSLSocket.getEnabledProtocols()
Returns the names of the protocol versions which are currently enabled for use on this connection. |
String[] |
SSLSession.getValueNames()
Returns an array of the names of all the application layer data objects bound into the Session. |
String |
SSLSession.getCipherSuite()
Returns the name of the SSL cipher suite which is used for all connections in the session. |
String |
SSLSession.getProtocol()
Returns the standard name of the protocol used for all connections in the session. |
String |
SSLSession.getPeerHost()
Returns the host name of the peer in this session. |
String |
HandshakeCompletedEvent.getCipherSuite()
Returns the cipher suite in use by the session which was produced by the handshake. |
Methods in javax.net.ssl with parameters of type String | |
void |
X509TrustManager.checkClientTrusted(X509Certificate[] chain,
String authType)
Given the partial or complete certificate chain provided by the peer, build a certificate path to a trusted root and return if it can be validated and is trusted for client SSL authentication based on the authentication type. |
void |
X509TrustManager.checkServerTrusted(X509Certificate[] chain,
String authType)
Given the partial or complete certificate chain provided by the peer, build a certificate path to a trusted root and return if it can be validated and is trusted for server SSL authentication based on the authentication type. |
String[] |
X509KeyManager.getClientAliases(String keyType,
Principal[] issuers)
Get the matching aliases for authenticating the client side of a secure socket given the public key type and the list of certificate issuer authorities recognized by the peer (if any). |
String |
X509KeyManager.chooseClientAlias(String[] keyType,
Principal[] issuers,
Socket socket)
Choose an alias to authenticate the client side of a secure socket given the public key type and the list of certificate issuer authorities recognized by the peer (if any). |
String[] |
X509KeyManager.getServerAliases(String keyType,
Principal[] issuers)
Get the matching aliases for authenticating the server side of a secure socket given the public key type and the list of certificate issuer authorities recognized by the peer (if any). |
String |
X509KeyManager.chooseServerAlias(String keyType,
Principal[] issuers,
Socket socket)
Choose an alias to authenticate the server side of a secure socket given the public key type and the list of certificate issuer authorities recognized by the peer (if any). |
X509Certificate[] |
X509KeyManager.getCertificateChain(String alias)
Returns the certificate chain associated with the given alias. |
PrivateKey |
X509KeyManager.getPrivateKey(String alias)
Returns the key associated with the given alias. |
static TrustManagerFactory |
TrustManagerFactory.getInstance(String algorithm)
Generates a TrustManagerFactory object that implements the
specified trust management algorithm. |
static TrustManagerFactory |
TrustManagerFactory.getInstance(String algorithm,
String provider)
Generates a TrustManagerFactory object for the specified
trust management algorithm from the specified provider. |
static TrustManagerFactory |
TrustManagerFactory.getInstance(String algorithm,
Provider provider)
Generates a TrustManagerFactory object for the specified
trust management algorithm from the specified provider. |
static SSLContext |
SSLContext.getInstance(String protocol)
Generates a SSLContext object that implements the
specified secure socket protocol. |
static SSLContext |
SSLContext.getInstance(String protocol,
String provider)
Generates a SSLContext object that implements the
specified secure socket protocol from the specified provider. |
static SSLContext |
SSLContext.getInstance(String protocol,
Provider provider)
Generates a SSLContext object that implements the
specified secure socket protocol from the specified provider. |
static KeyManagerFactory |
KeyManagerFactory.getInstance(String algorithm)
Generates a KeyManagerFactory object that implements the
specified key management algorithm. |
static KeyManagerFactory |
KeyManagerFactory.getInstance(String algorithm,
String provider)
Generates a KeyManagerFactory object for the specified
key management algorithm from the specified provider. |
static KeyManagerFactory |
KeyManagerFactory.getInstance(String algorithm,
Provider provider)
Generates a KeyManagerFactory object for the specified
key management algorithm from the specified provider. |
abstract Socket |
SSLSocketFactory.createSocket(Socket s,
String host,
int port,
boolean autoClose)
Returns a socket layered over an existing socket connected to the named host, at the given port. |
abstract void |
SSLServerSocket.setEnabledCipherSuites(String[] suites)
Controls which particular SSL cipher suites are enabled for use by accepted connections. |
abstract void |
SSLServerSocket.setEnabledProtocols(String[] protocols)
Controls which particular protocols are enabled for use by accepted connections. |
boolean |
HostnameVerifier.verify(String hostname,
SSLSession session)
Verify that the host name is an acceptable match with the server's authentication scheme. |
abstract void |
SSLSocket.setEnabledCipherSuites(String[] suites)
Controls which particular cipher suites are enabled for use on this connection. |
abstract void |
SSLSocket.setEnabledProtocols(String[] protocols)
Controls which particular protocol versions are enabled for use on this connection. |
void |
SSLSession.putValue(String name,
Object value)
Binds the specified value object into the
session's application layer data
with the given name . |
Object |
SSLSession.getValue(String name)
Returns the object bound to the given name in the session's application layer data. |
void |
SSLSession.removeValue(String name)
Removes the object bound to the given name in the session's application layer data. |
Constructors in javax.net.ssl with parameters of type String | |
SSLKeyException(String reason)
Constructs an exception reporting a key management error found by an SSL subsystem. |
|
SSLHandshakeException(String reason)
Constructs an exception reporting an error found by an SSL subsystem during handshaking. |
|
TrustManagerFactory(TrustManagerFactorySpi factorySpi,
Provider provider,
String algorithm)
Creates a TrustManagerFactory object. |
|
SSLContext(SSLContextSpi contextSpi,
Provider provider,
String protocol)
Creates an SSLContext object. |
|
KeyManagerFactory(KeyManagerFactorySpi factorySpi,
Provider provider,
String algorithm)
Creates a KeyManagerFactory object. |
|
SSLSessionBindingEvent(SSLSession session,
String name)
Constructs a new SSLSessionBindingEvent. |
|
SSLProtocolException(String reason)
Constructs an exception reporting an SSL protocol error detected by an SSL subsystem. |
|
SSLSocket(String host,
int port)
Used only by subclasses. |
|
SSLSocket(String host,
int port,
InetAddress clientAddress,
int clientPort)
Used only by subclasses. |
|
SSLException(String reason)
Constructs an exception reporting an error found by an SSL subsystem. |
|
SSLPeerUnverifiedException(String reason)
Constructs an exception reporting that the SSL peer's identity has not been verifiied. |
|
SSLPermission(String name)
Creates a new SSLPermission with the specified name. |
|
SSLPermission(String name,
String actions)
Creates a new SSLPermission object with the specified name. |
Uses of String in javax.print |
Fields in javax.print declared as String | |
static String |
ServiceUIFactory.JCOMPONENT_UI
Denotes a UI implemented as a Swing component. |
static String |
ServiceUIFactory.PANEL_UI
Denotes a UI implemented as an AWT panel. |
static String |
ServiceUIFactory.DIALOG_UI
Denotes a UI implemented as an AWT dialog. |
static String |
ServiceUIFactory.JDIALOG_UI
Denotes a UI implemented as a Swing dialog. |
static String |
DocFlavor.hostEncoding
A String representing the host operating system encoding. |
Methods in javax.print that return String | |
abstract String |
StreamPrintService.getOutputFormat()
Returns the document format emitted by this print service. |
abstract String |
StreamPrintServiceFactory.getOutputFormat()
Queries the factory for the document format that is emitted by printers obtained from this factory. |
abstract String[] |
ServiceUIFactory.getUIClassNamesForRole(int role)
Given a UI role obtained from this factory obtain the UI types available from this factory which implement this role. |
String |
DocFlavor.getMimeType()
Returns this doc flavor object's MIME type string based on the canonical form. |
String |
DocFlavor.getMediaType()
Returns this doc flavor object's media type (from the MIME type). |
String |
DocFlavor.getMediaSubtype()
Returns this doc flavor object's media subtype (from the MIME type). |
String |
DocFlavor.getParameter(String paramName)
Returns a String representing a MIME
parameter. |
String |
DocFlavor.getRepresentationClassName()
Returns the name of this doc flavor object's representation class. |
String |
DocFlavor.toString()
Converts this DocFlavor to a string. |
String |
PrintService.getName()
Returns a String name for this print service which may be used by applications to request a particular print service. |
Methods in javax.print with parameters of type String | |
static StreamPrintServiceFactory[] |
StreamPrintServiceFactory.lookupStreamPrintServiceFactories(DocFlavor flavor,
String outputMimeType)
Locates factories for print services that can be used with a print job to output a stream of data in the format specified by flavor . |
abstract Object |
ServiceUIFactory.getUI(int role,
String ui)
Get a UI object which may be cast to the requested UI type by the application and used in its user interface. |
String |
DocFlavor.getParameter(String paramName)
Returns a String representing a MIME
parameter. |
Constructors in javax.print with parameters of type String | |
PrintException(String s)
Construct a print exception with the given detail message. |
|
PrintException(String s,
Exception e)
Construct a print exception with the given detail message and chained exception. |
|
DocFlavor(String mimeType,
String className)
Constructs a new doc flavor object from the given MIME type and representation class name. |
|
DocFlavor.BYTE_ARRAY(String mimeType)
Constructs a new doc flavor with the given MIME type and a print data representation class name of "[B" (byte array). |
|
DocFlavor.INPUT_STREAM(String mimeType)
Constructs a new doc flavor with the given MIME type and a print data representation class name of "java.io.InputStream" (byte stream). |
|
DocFlavor.URL(String mimeType)
Constructs a new doc flavor with the given MIME type and a print data representation class name of "java.net.URL" . |
|
DocFlavor.CHAR_ARRAY(String mimeType)
Constructs a new doc flavor with the given MIME type and a print data representation class name of "[C" (character array). |
|
DocFlavor.STRING(String mimeType)
Constructs a new doc flavor with the given MIME type and a print data representation class name of "java.lang.String" . |
|
DocFlavor.READER(String mimeType)
Constructs a new doc flavor with the given MIME type and a print data representation class name of\ "java.io.Reader" (character stream). |
|
DocFlavor.SERVICE_FORMATTED(String className)
Constructs a new doc flavor with a MIME type of "application/x-java-jvm-local-objectref" indicating
service formatted print data and the given print data
representation class name. |
Uses of String in javax.print.attribute |
Methods in javax.print.attribute that return String | |
String |
TextSyntax.getValue()
Returns this text attribute's text string. |
String |
TextSyntax.toString()
Returns a String identifying this text attribute. |
String |
Size2DSyntax.toString(int units,
String unitsName)
Returns a string version of this two-dimensional size attribute in the given units. |
String |
Size2DSyntax.toString()
Returns a string version of this two-dimensional size attribute. |
String |
URISyntax.toString()
Returns a String identifying this URI attribute. |
String |
SetOfIntegerSyntax.toString()
Returns a string value corresponding to this set-of-integer attribute. |
String |
ResolutionSyntax.toString(int units,
String unitsName)
Returns a string version of this resolution attribute in the given units. |
String |
ResolutionSyntax.toString()
Returns a string version of this resolution attribute. |
String |
IntegerSyntax.toString()
Returns a string value corresponding to this integer attribute. |
String |
EnumSyntax.toString()
Returns a string value corresponding to this enumeration value. |
protected String[] |
EnumSyntax.getStringTable()
Returns the string table for this enumeration value's enumeration class. |
String |
DateTimeSyntax.toString()
Returns a string value corresponding to this date-time attribute. |
String |
Attribute.getName()
Get the name of the category of which this attribute value is an instance. |
Methods in javax.print.attribute with parameters of type String | |
String |
Size2DSyntax.toString(int units,
String unitsName)
Returns a string version of this two-dimensional size attribute in the given units. |
String |
ResolutionSyntax.toString(int units,
String unitsName)
Returns a string version of this resolution attribute in the given units. |
Constructors in javax.print.attribute with parameters of type String | |
TextSyntax(String value,
Locale locale)
Constructs a TextAttribute with the specified string and locale. |
|
SetOfIntegerSyntax(String members)
Construct a new set-of-integer attribute with the given members in string form. |
|
UnmodifiableSetException(String message)
Constructs an UnmodifiableSetException with the specified detail message. |
Uses of String in javax.print.attribute.standard |
Methods in javax.print.attribute.standard that return String | |
protected String[] |
Sides.getStringTable()
Returns the string table for class Sides. |
String |
Sides.getName()
Get the name of the category of which this attribute value is an instance. |
protected String[] |
SheetCollate.getStringTable()
Returns the string table for class SheetCollate. |
String |
SheetCollate.getName()
Get the name of the category of which this attribute value is an instance. |
String |
RequestingUserName.getName()
Get the name of the category of which this attribute value is an instance. |
protected String[] |
ReferenceUriSchemesSupported.getStringTable()
Returns the string table for class ReferenceUriSchemesSupported. |
String |
ReferenceUriSchemesSupported.getName()
Get the name of the category of which this attribute value is an instance. |
String |
QueuedJobCount.getName()
Get the name of the category of which this attribute value is an instance. |
String |
PrinterURI.getName()
Get the name of the category of which this attribute value is an instance. |
protected String[] |
PrintQuality.getStringTable()
Returns the string table for class PrintQuality. |
String |
PrintQuality.getName()
Get the name of the category of which this attribute value is an instance. |
String |
PrinterStateReasons.getName()
Get the name of the category of which this attribute value is an instance. |
protected String[] |
PrinterStateReason.getStringTable()
Returns the string table for class PrinterStateReason. |
String |
PrinterStateReason.getName()
Get the name of the category of which this attribute value is an instance. |
protected String[] |
PrinterState.getStringTable()
Returns the string table for class PrinterState. |
String |
PrinterState.getName()
Get the name of the category of which this attribute value is an instance. |
String |
PrinterResolution.getName()
Get the name of the category of which this attribute value is an instance. |
protected String[] |
Severity.getStringTable()
Returns the string table for class Severity. |
String |
Severity.getName()
Get the name of the category of which this attribute value is an instance. |
String |
PrinterName.getName()
Get the name of the category of which this attribute value is an instance. |
String |
PrinterMoreInfoManufacturer.getName()
Get the name of the category of which this attribute value is an instance. |
String |
PrinterMoreInfo.getName()
Get the name of the category of which this attribute value is an instance. |
String |
PrinterMessageFromOperator.getName()
Get the name of the category of which this attribute value is an instance. |
String |
PrinterMakeAndModel.getName()
Get the name of the category of which this attribute value is an instance. |
String |
PrinterLocation.getName()
Get the name of the category of which this attribute value is an instance. |
protected String[] |
PrinterIsAcceptingJobs.getStringTable()
Returns the string table for class PrinterIsAcceptingJobs. |
String |
PrinterIsAcceptingJobs.getName()
Get the name of the category of which this attribute value is an instance. |
String |
PrinterInfo.getName()
Get the name of the category of which this attribute value is an instance. |
protected String[] |
PresentationDirection.getStringTable()
Returns the string table for class PresentationDirection. |
String |
PresentationDirection.getName()
Get the name of the category of which this attribute value is an instance. |
protected String[] |
PDLOverrideSupported.getStringTable()
Returns the string table for class PDLOverrideSupported. |
String |
PDLOverrideSupported.getName()
Get the name of the category of which this attribute value is an instance. |
String |
PagesPerMinuteColor.getName()
Get the name of the category of which this attribute value is an instance. |
String |
PagesPerMinute.getName()
Get the name of the category of which this attribute value is an instance. |
String |
PageRanges.getName()
Get the name of the category of which this attribute value is an instance. |
String |
OutputDeviceAssigned.getName()
Get the name of the category of which this attribute value is an instance. |
protected String[] |
OrientationRequested.getStringTable()
Returns the string table for class OrientationRequested. |
String |
OrientationRequested.getName()
Get the name of the category of which this attribute value is an instance. |
String |
NumberUpSupported.getName()
Get the name of the category of which this attribute value is an instance. |
String |
NumberUp.getName()
Get the name of the category of which this attribute value is an instance. |
String |
NumberOfInterveningJobs.getName()
Get the name of the category of which this attribute value is an instance. |
String |
NumberOfDocuments.getName()
Get the name of the category of which this attribute value is an instance. |
protected String[] |
MultipleDocumentHandling.getStringTable()
Returns the string table for class MultipleDocumentHandling. |
String |
MultipleDocumentHandling.getName()
Get the name of the category of which this attribute value is an instance. |
protected String[] |
MediaTray.getStringTable()
Returns the string table for class MediaTray. |
protected String[] |
MediaSizeName.getStringTable()
Returns the string table for class MediaSizeName. |
String |
MediaSize.getName()
Get the name of the category of which this attribute value is an instance. |
String |
MediaPrintableArea.getName()
Get the name of the category of which this attribute value is an instance. |
String |
MediaPrintableArea.toString(int units,
String unitsName)
Returns a string version of this rectangular size attribute in the given units. |
String |
MediaPrintableArea.toString()
Returns a string version of this rectangular size attribute in mm. |
protected String[] |
MediaName.getStringTable()
Returns the string table for class MediaTray. |
String |
Media.getName()
Get the name of the category of which this attribute value is an instance. |
String |
JobStateReasons.getName()
Get the name of the category of which this attribute value is an instance. |
protected String[] |
JobStateReason.getStringTable()
Returns the string table for class JobStateReason. |
String |
JobStateReason.getName()
Get the name of the category of which this attribute value is an instance. |
protected String[] |
JobState.getStringTable()
Returns the string table for class JobState. |
String |
JobState.getName()
Get the name of the category of which this attribute value is an instance. |
protected String[] |
JobSheets.getStringTable()
Returns the string table for class JobSheets. |
String |
JobSheets.getName()
Get the name of the category of which this attribute value is an instance. |
String |
JobPrioritySupported.getName()
Get the name of the category of which this attribute value is an instance. |
String |
JobPriority.getName()
Get the name of the category of which this attribute value is an instance. |
String |
JobOriginatingUserName.getName()
Get the name of the category of which this attribute value is an instance. |
String |
JobName.getName()
Get the name of the category of which this attribute value is an instance. |
String |
JobMessageFromOperator.getName()
Get the name of the category of which this attribute value is an instance. |
String |
JobMediaSheetsSupported.getName()
Get the name of the category of which this attribute value is an instance. |
String |
JobMediaSheetsCompleted.getName()
Get the name of the category of which this attribute value is an instance. |
String |
JobMediaSheets.getName()
Get the name of the category of which this attribute value is an instance. |
String |
JobKOctetsSupported.getName()
Get the name of the category of which this attribute value is an instance. |
String |
JobKOctetsProcessed.getName()
Get the name of the category of which this attribute value is an instance. |
String |
JobImpressionsSupported.getName()
Get the name of the category of which this attribute value is an instance. |
String |
JobKOctets.getName()
Get the name of the category of which this attribute value is an instance. |
String |
JobImpressionsCompleted.getName()
Get the name of the category of which this attribute value is an instance. |
String |
JobImpressions.getName()
Get the name of the category of which this attribute value is an instance. |
String |
JobHoldUntil.getName()
Get the name of the category of which this attribute value is an instance. |
protected String[] |
Finishings.getStringTable()
Returns the string table for class Finishings. |
String |
Finishings.getName()
Get the name of the category of which this attribute value is an instance. |
protected String[] |
Fidelity.getStringTable()
Returns the string table for class Fidelity. |
String |
Fidelity.getName()
Get the name of the category of which this attribute value is an instance. |
String |
DocumentName.getName()
Get the name of the category of which this attribute value is an instance. |
String |
Destination.getName()
Get the name of the category of which this attribute value is an instance. |
String |
DateTimeAtProcessing.getName()
Get the name of the category of which this attribute value is an instance. |
String |
DateTimeAtCreation.getName()
Get the name of the category of which this attribute value is an instance. |
String |
DateTimeAtCompleted.getName()
Get the name of the category of which this attribute value is an instance. |
String |
CopiesSupported.getName()
Get the name of the category of which this attribute value is an instance. |
String |
Copies.getName()
Get the name of the category of which this attribute value is an instance. |
protected String[] |
Compression.getStringTable()
Returns the string table for class Compression. |
String |
Compression.getName()
Get the name of the category of which this attribute value is an instance. |
protected String[] |
ColorSupported.getStringTable()
Returns the string table for class ColorSupported. |
String |
ColorSupported.getName()
Get the name of the category of which this attribute value is an instance. |
protected String[] |
Chromaticity.getStringTable()
Returns the string table for class Chromaticity. |
String |
Chromaticity.getName()
Get the name of the category of which this attribute value is an instance. |
Methods in javax.print.attribute.standard with parameters of type String | |
String |
MediaPrintableArea.toString(int units,
String unitsName)
Returns a string version of this rectangular size attribute in the given units. |
Constructors in javax.print.attribute.standard with parameters of type String | |
RequestingUserName(String userName,
Locale locale)
Constructs a new requesting user name attribute with the given user name and locale. |
|
PrinterName(String printerName,
Locale locale)
Constructs a new printer name attribute with the given name and locale. |
|
PrinterMessageFromOperator(String message,
Locale locale)
Constructs a new printer message from operator attribute with the given message and locale. |
|
PrinterMakeAndModel(String makeAndModel,
Locale locale)
Constructs a new printer make and model attribute with the given make and model string and locale. |
|
PrinterLocation(String location,
Locale locale)
Constructs a new printer location attribute with the given location and locale. |
|
PrinterInfo(String info,
Locale locale)
Constructs a new printer info attribute with the given information string and locale. |
|
PageRanges(String members)
Construct a new page ranges attribute with the given members in string form. |
|
OutputDeviceAssigned(String deviceName,
Locale locale)
Constructs a new output device assigned attribute with the given device name and locale. |
|
JobOriginatingUserName(String userName,
Locale locale)
Constructs a new job originating user name attribute with the given user name and locale. |
|
JobName(String jobName,
Locale locale)
Constructs a new job name attribute with the given job name and locale. |
|
JobMessageFromOperator(String message,
Locale locale)
Constructs a new job message from operator attribute with the given message and locale. |
|
DocumentName(String documentName,
Locale locale)
Constructs a new document name attribute with the given document name and locale. |
Uses of String in javax.print.event |
Methods in javax.print.event that return String | |
String |
PrintEvent.toString()
|
Uses of String in javax.rmi.CORBA |
Methods in javax.rmi.CORBA that return String | |
String |
ValueHandler.getRMIRepositoryID(Class clz)
Returns the CORBA RepositoryId for the given Java class. |
String |
UtilDelegate.getCodebase(Class clz)
Delegation call for Util.getCodebase(java.lang.Class) . |
static String |
Util.getCodebase(Class clz)
Returns the codebase, if any, for the given class. |
String |
StubDelegate.toString(Stub self)
Delegation call for Stub.toString() . |
String |
Stub.toString()
Returns a string representation of this stub. |
Methods in javax.rmi.CORBA with parameters of type String | |
Serializable |
ValueHandler.readValue(InputStream in,
int offset,
Class clz,
String repositoryID,
RunTime sender)
Reads a value from the stream using Java semantics. |
Class |
UtilDelegate.loadClass(String className,
String remoteCodebase,
ClassLoader loader)
Delegation call for Util.loadClass(java.lang.String, java.lang.String, java.lang.ClassLoader) . |
static Class |
Util.loadClass(String className,
String remoteCodebase,
ClassLoader loader)
Returns a class instance for the specified class. |
Uses of String in javax.security.auth |
Methods in javax.security.auth that return String | |
String |
PrivateCredentialPermission.getCredentialClass()
Returns the Class name of the Credential associated with this PrivateCredentialPermission . |
String[][] |
PrivateCredentialPermission.getPrincipals()
Returns the Principal classes and names
associated with this PrivateCredentialPermission . |
String |
PrivateCredentialPermission.getActions()
Returns the "canonical string representation" of the actions. |
String |
Subject.toString()
Return the String representation of this Subject . |
Constructors in javax.security.auth with parameters of type String | |
RefreshFailedException(String msg)
Constructs a RefreshFailedException with the specified detail message. |
|
DestroyFailedException(String msg)
Constructs a DestroyFailedException with the specified detail message. |
|
PrivateCredentialPermission(String name,
String actions)
Creates a new PrivateCredentialPermission
with the specified name . |
|
AuthPermission(String name)
Creates a new AuthPermission with the specified name. |
|
AuthPermission(String name,
String actions)
Creates a new AuthPermission object with the specified name. |
Uses of String in javax.security.auth.callback |
Methods in javax.security.auth.callback that return String | |
String |
TextOutputCallback.getMessage()
Get the message to be displayed. |
String |
PasswordCallback.getPrompt()
Get the prompt. |
String |
ConfirmationCallback.getPrompt()
Get the prompt. |
String[] |
ConfirmationCallback.getOptions()
Get the confirmation options. |
String |
ChoiceCallback.getPrompt()
Get the prompt. |
String[] |
ChoiceCallback.getChoices()
Get the list of choices. |
String |
NameCallback.getPrompt()
Get the prompt. |
String |
NameCallback.getDefaultName()
Get the default name. |
String |
NameCallback.getName()
Get the retrieved name. |
String |
TextInputCallback.getPrompt()
Get the prompt. |
String |
TextInputCallback.getDefaultText()
Get the default text. |
String |
TextInputCallback.getText()
Get the retrieved text. |
Methods in javax.security.auth.callback with parameters of type String | |
void |
NameCallback.setName(String name)
Set the retrieved name. |
void |
TextInputCallback.setText(String text)
Set the retrieved text. |
Constructors in javax.security.auth.callback with parameters of type String | |
TextOutputCallback(int messageType,
String message)
Construct a TextOutputCallback with a message type and message to be displayed. |
|
PasswordCallback(String prompt,
boolean echoOn)
Construct a PasswordCallback with a prompt
and a boolean specifying whether the password should be displayed
as it is being typed. |
|
ConfirmationCallback(int messageType,
String[] options,
int defaultOption)
Construct a ConfirmationCallback with a
message type, a list of options and a default option. |
|
ConfirmationCallback(String prompt,
int messageType,
int optionType,
int defaultOption)
Construct a ConfirmationCallback with a prompt,
message type, an option type and a default option. |
|
ConfirmationCallback(String prompt,
int messageType,
String[] options,
int defaultOption)
Construct a ConfirmationCallback with a prompt,
message type, a list of options and a default option. |
|
ChoiceCallback(String prompt,
String[] choices,
int defaultChoice,
boolean multipleSelectionsAllowed)
Construct a ChoiceCallback with a prompt,
a list of choices, a default choice, and a boolean specifying
whether or not multiple selections from the list of choices are allowed. |
|
UnsupportedCallbackException(Callback callback,
String msg)
Constructs a UnsupportedCallbackException with the specified detail message. |
|
NameCallback(String prompt)
Construct a NameCallback with a prompt. |
|
NameCallback(String prompt,
String defaultName)
Construct a NameCallback with a prompt
and default name. |
|
TextInputCallback(String prompt)
Construct a TextInputCallback with a prompt. |
|
TextInputCallback(String prompt,
String defaultText)
Construct a TextInputCallback with a prompt
and default input value. |
Uses of String in javax.security.auth.kerberos |
Methods in javax.security.auth.kerberos that return String | |
String |
ServicePermission.getActions()
Returns the canonical string representation of the actions. |
String |
KerberosTicket.toString()
|
String |
KerberosKey.getAlgorithm()
Returns the standard algorithm name for this key. |
String |
KerberosKey.getFormat()
Returns the name of the encoding format for this secret key. |
String |
KerberosKey.toString()
|
String |
KerberosPrincipal.getRealm()
Returns the realm component of this Kerberos principal. |
String |
KerberosPrincipal.getName()
The returned string corresponds to the single-string representation of a Kerberos Principal name as specified in Section 2.1 of RFC 1964. |
String |
KerberosPrincipal.toString()
|
Constructors in javax.security.auth.kerberos with parameters of type String | |
ServicePermission(String servicePrinicipal,
String action)
Create a new ServicePermission
with the specified servicePrincipal
and action . |
|
DelegationPermission(String principals)
Create a new DelegationPermission
with the specified subordinate and target principals. |
|
DelegationPermission(String principals,
String actions)
Create a new DelegationPermission
with the specified subordinate and target principals. |
|
KerberosKey(KerberosPrincipal principal,
char[] password,
String algorithm)
Constructs a KerberosKey from a principal's password. |
|
KerberosPrincipal(String name)
Constructs a KerberosPrincipal from the provided string input. |
|
KerberosPrincipal(String name,
int nameType)
Constructs a KerberosPrincipal from the provided string and name type input. |
Uses of String in javax.security.auth.login |
Methods in javax.security.auth.login that return String | |
String |
AppConfigurationEntry.getLoginModuleName()
Get the class name of the configured LoginModule . |
String |
AppConfigurationEntry.LoginModuleControlFlag.toString()
Return a String representation of this controlFlag. |
Methods in javax.security.auth.login with parameters of type String | |
abstract AppConfigurationEntry[] |
Configuration.getAppConfigurationEntry(String applicationName)
Retrieve an array of AppConfigurationEntries which corresponds to the configuration of LoginModules for this application. |
Constructors in javax.security.auth.login with parameters of type String | |
FailedLoginException(String msg)
Constructs a FailedLoginException with the specified detail message. |
|
CredentialExpiredException(String msg)
Constructs a CredentialExpiredException with the specified detail message. |
|
AccountExpiredException(String msg)
Constructs a AccountExpiredException with the specified detail message. |
|
LoginException(String msg)
Constructs a LoginException with the specified detail message. |
|
AppConfigurationEntry(String loginModuleName,
AppConfigurationEntry.LoginModuleControlFlag controlFlag,
Map options)
Default constructor for this class. |
|
LoginContext(String name)
Constructor for the LoginContext class. |
|
LoginContext(String name,
Subject subject)
Constructor for the LoginContext class. |
|
LoginContext(String name,
CallbackHandler callbackHandler)
Constructor for the LoginContext class. |
|
LoginContext(String name,
Subject subject,
CallbackHandler callbackHandler)
Constructor for the LoginContext class. |
Uses of String in javax.security.auth.x500 |
Fields in javax.security.auth.x500 declared as String | |
static String |
X500Principal.RFC1779
RFC 1779 String format of Distinguished Names. |
static String |
X500Principal.RFC2253
RFC 2253 String format of Distinguished Names. |
static String |
X500Principal.CANONICAL
Canonical String format of Distinguished Names. |
Methods in javax.security.auth.x500 that return String | |
String |
X500PrivateCredential.getAlias()
Returns the KeyStore alias. |
String |
X500Principal.getName()
Returns a string representation of the X.500 distinguished name using the format defined in RFC 2253. |
String |
X500Principal.getName(String format)
Returns a string representation of the X.500 distinguished name using the specified format. |
String |
X500Principal.toString()
Return a user-friendly string representation of this X500Principal . |
Methods in javax.security.auth.x500 with parameters of type String | |
String |
X500Principal.getName(String format)
Returns a string representation of the X.500 distinguished name using the specified format. |
Constructors in javax.security.auth.x500 with parameters of type String | |
X500PrivateCredential(X509Certificate cert,
PrivateKey key,
String alias)
Creates an X500PrivateCredential that associates an X.509 certificate, a private key and the KeyStore alias. |
|
X500Principal(String name)
Creates an X500Principal from a string representation of
an X.500 distinguished name (ex:
"CN=Duke, OU=JavaSoft, O=Sun Microsystems, C=US"). |
Uses of String in javax.security.cert |
Methods in javax.security.cert that return String | |
abstract String |
X509Certificate.getSigAlgName()
Gets the signature algorithm name for the certificate signature algorithm. |
abstract String |
X509Certificate.getSigAlgOID()
Gets the signature algorithm OID string from the certificate. |
abstract String |
Certificate.toString()
Returns a string representation of this certificate. |
Methods in javax.security.cert with parameters of type String | |
abstract void |
Certificate.verify(PublicKey key,
String sigProvider)
Verifies that this certificate was signed using the private key that corresponds to the specified public key. |
Constructors in javax.security.cert with parameters of type String | |
CertificateNotYetValidException(String message)
Constructs a CertificateNotYetValidException with the specified detail message. |
|
CertificateExpiredException(String message)
Constructs a CertificateExpiredException with the specified detail message. |
|
CertificateParsingException(String message)
Constructs a CertificateParsingException with the specified detail message. |
|
CertificateException(String msg)
Constructs a certificate exception with the given detail message. |
|
CertificateEncodingException(String message)
Constructs a CertificateEncodingException with the specified detail message. |
Uses of String in javax.sound.midi |
Methods in javax.sound.midi that return String | |
String |
Sequencer.SyncMode.toString()
Provides this synchronization mode's name as the string representation of the mode. |
String |
MidiDevice.Info.getName()
Obtains the name of the device. |
String |
MidiDevice.Info.getVendor()
Obtains the name of the company who supplies the device. |
String |
MidiDevice.Info.getDescription()
Obtains the description of the device. |
String |
MidiDevice.Info.getVersion()
Obtains the version of the device. |
String |
MidiDevice.Info.toString()
Provides a string representation of the device information. |
String |
Soundbank.getName()
Obtains the name of the sound bank. |
String |
Soundbank.getVersion()
Obtains the version string for the sound bank. |
String |
Soundbank.getVendor()
Obtains a string naming the company that provides the
sound bank |
String |
Soundbank.getDescription()
Obtains a textual description of the sound bank, suitable for display. |
String |
SoundbankResource.getName()
Obtains the name of the resource. |
Constructors in javax.sound.midi with parameters of type String | |
Sequencer.SyncMode(String name)
Constructs a synchronization mode. |
|
MidiUnavailableException(String message)
Constructs a MidiUnavailableException with the
specified detail message. |
|
MidiDevice.Info(String name,
String vendor,
String description,
String version)
Constructs a device info object. |
|
SoundbankResource(Soundbank soundBank,
String name,
Class dataClass)
Constructs a new SoundbankResource from the given sound bank
and wavetable index. |
|
Instrument(Soundbank soundbank,
Patch patch,
String name,
Class dataClass)
Constructs a new MIDI instrument from the specified Patch . |
|
InvalidMidiDataException(String message)
Constructs an InvalidMidiDataException with the
specified detail message. |
Uses of String in javax.sound.sampled |
Methods in javax.sound.sampled that return String | |
String |
ReverbType.toString()
Provides a String representation of the reverb type,
including its name and its parameter settings. |
String |
Port.Info.getName()
Obtains the name of the port. |
String |
Port.Info.toString()
Provides a String representation
of the port. |
String |
FloatControl.getUnits()
Obtains the label for the units in which the control's values are expressed, such as "dB" or "frames per second." |
String |
FloatControl.getMinLabel()
Obtains the label for the minimum value, such as "Left" or "Off." |
String |
FloatControl.getMidLabel()
Obtains the label for the mid-point value, such as "Center" or "Default." |
String |
FloatControl.getMaxLabel()
Obtains the label for the maximum value, such as "Right" or "Full." |
String |
FloatControl.toString()
Provides a string representation of the control |
String |
EnumControl.toString()
Provides a string representation of the control. |
String |
CompoundControl.toString()
Provides a string representation of the control |
String |
BooleanControl.getStateLabel(boolean state)
Obtains the label for the specified state. |
String |
BooleanControl.toString()
Provides a string representation of the control |
String |
AudioFileFormat.toString()
Provides a string representation of the file format. |
String |
AudioFileFormat.Type.toString()
Provides the file type's name as the String representation
of the file type. |
String |
AudioFileFormat.Type.getExtension()
Obtains the common file name extension for this file type. |
String |
Mixer.Info.getName()
Obtains the name of the mixer. |
String |
Mixer.Info.getVendor()
Obtains the vendor of the mixer. |
String |
Mixer.Info.getDescription()
Obtains the description of the mixer. |
String |
Mixer.Info.getVersion()
Obtains the version of the mixer. |
String |
Mixer.Info.toString()
Provides a string representation of the mixer info. |
String |
LineEvent.toString()
Obtains a string representation of the event. |
String |
LineEvent.Type.toString()
Returns the type name as the string representation. |
String |
Control.toString()
Obtains a String describing the control type and its current state. |
String |
Control.Type.toString()
Provides the String representation of the control type. |
String |
AudioFormat.toString()
Returns a string that describes the format, such as: "PCM SIGNED 22050 Hz 16 bit mono big-endian audio data". |
String |
AudioFormat.Encoding.toString()
Provides the String representation of the encoding. |
String |
Line.Info.toString()
Obtains a textual description of the line info. |
String |
DataLine.Info.toString()
Obtains a textual description of the data line info. |
Constructors in javax.sound.sampled with parameters of type String | |
ReverbType(String name,
int earlyReflectionDelay,
float earlyReflectionIntensity,
int lateReflectionDelay,
float lateReflectionIntensity,
int decayTime)
Constructs a new reverb type that has the specified reverberation parameter values. |
|
Port.Info(Class lineClass,
String name,
boolean isSource)
Constructs a port's info object from the information given. |
|
FloatControl(FloatControl.Type type,
float minimum,
float maximum,
float precision,
int updatePeriod,
float initialValue,
String units,
String minLabel,
String midLabel,
String maxLabel)
Constructs a new float control object with the given parameters |
|
FloatControl(FloatControl.Type type,
float minimum,
float maximum,
float precision,
int updatePeriod,
float initialValue,
String units)
Constructs a new float control object with the given parameters. |
|
FloatControl.Type(String name)
Constructs a new float control type. |
|
EnumControl.Type(String name)
Constructs a new enumerated control type. |
|
CompoundControl.Type(String name)
Constructs a new compound control type. |
|
BooleanControl(BooleanControl.Type type,
boolean initialValue,
String trueStateLabel,
String falseStateLabel)
Constructs a new boolean control object with the given parameters. |
|
BooleanControl.Type(String name)
Constructs a new boolean control type. |
|
AudioPermission(String name)
Creates a new AudioPermission object that has the specified
symbolic name, such as "play" or "record". |
|
AudioPermission(String name,
String actions)
Creates a new AudioPermission object that has the specified
symbolic name, such as "play" or "record". |
|
UnsupportedAudioFileException(String message)
Constructs a UnsupportedAudioFileException that has
the specified detail message. |
|
AudioFileFormat.Type(String name,
String extension)
Constructs a file type. |
|
Mixer.Info(String name,
String vendor,
String description,
String version)
Constructs a mixer's info object, passing it the given textual information. |
|
LineEvent.Type(String name)
Constructs a new event type. |
|
Control.Type(String name)
Constructs a new control type with the name specified. |
|
LineUnavailableException(String message)
Constructs a LineUnavailableException that has
the specified detail message. |
|
AudioFormat.Encoding(String name)
Constructs a new encoding. |
Uses of String in javax.sql |
Methods in javax.sql that return String | |
String |
RowSet.getUrl()
Retrieves the url property this RowSet object will use to
create a connection if it uses the DriverManager
instead of a DataSource object to establish the connection. |
String |
RowSet.getDataSourceName()
Retrieves the logical name that identifies the data source for this RowSet object. |
String |
RowSet.getUsername()
Retrieves the username used to create a database connection for this RowSet object. |
String |
RowSet.getPassword()
Retrieves the password used to create a database connection. |
String |
RowSet.getCommand()
Retrieves this RowSet object's command property. |
Methods in javax.sql with parameters of type String | |
XAConnection |
XADataSource.getXAConnection(String user,
String password)
Attempts to establish a physical database connection, using the given user name and password. |
void |
RowSetMetaData.setColumnLabel(int columnIndex,
String label)
Sets the suggested column title for use in printouts and displays, if any, to the given String . |
void |
RowSetMetaData.setColumnName(int columnIndex,
String columnName)
Sets the name of the designated column to the given String . |
void |
RowSetMetaData.setSchemaName(int columnIndex,
String schemaName)
Sets the name of the designated column's table's schema, if any, to the given String . |
void |
RowSetMetaData.setTableName(int columnIndex,
String tableName)
Sets the designated column's table name, if any, to the given String . |
void |
RowSetMetaData.setCatalogName(int columnIndex,
String catalogName)
Sets the designated column's table's catalog name, if any, to the given String . |
void |
RowSetMetaData.setColumnTypeName(int columnIndex,
String typeName)
Sets the designated column's type name that is specific to the data source, if any, to the given String . |
void |
RowSet.setUrl(String url)
Sets the URL this RowSet object will use when it uses the
DriverManager to create a connection. |
void |
RowSet.setDataSourceName(String name)
Sets the data source name property for this RowSet object to the
given String . |
void |
RowSet.setUsername(String name)
Sets the username property for this RowSet object to the
given String . |
void |
RowSet.setPassword(String password)
Sets the database password for this RowSet object to
the given String . |
void |
RowSet.setCommand(String cmd)
Sets this RowSet object's command property to the given
SQL query. |
void |
RowSet.setNull(int paramIndex,
int sqlType,
String typeName)
Sets the designated parameter in this RowSet object's SQL
command to SQL NULL . |
void |
RowSet.setString(int parameterIndex,
String x)
Sets the designated parameter in this RowSet object's command
to the given Java String value. |
Connection |
DataSource.getConnection(String username,
String password)
Attempts to establish a connection with the data source that this DataSource object represents. |
PooledConnection |
ConnectionPoolDataSource.getPooledConnection(String user,
String password)
Attempts to establish a physical database connection that can be used as a pooled connection. |
Uses of String in javax.swing |
Fields in javax.swing declared as String | |
static String |
SpringLayout.NORTH
Specifies the top edge of a component's bounding rectangle. |
static String |
SpringLayout.SOUTH
Specifies the bottom edge of a component's bounding rectangle. |
static String |
SpringLayout.EAST
Specifies the right edge of a component's bounding rectangle. |
static String |
SpringLayout.WEST
Specifies the left edge of a component's bounding rectangle. |
static String |
JSplitPane.LEFT
Used to add a Component to the left of the other
Component . |
static String |
JSplitPane.RIGHT
Used to add a Component to the right of the other
Component . |
static String |
JSplitPane.TOP
Used to add a Component above the other
Component . |
static String |
JSplitPane.BOTTOM
Used to add a Component below the other
Component . |
static String |
JSplitPane.DIVIDER
Used to add a Component that will represent the divider. |
static String |
JSplitPane.ORIENTATION_PROPERTY
Bound property name for orientation (horizontal or vertical). |
static String |
JSplitPane.CONTINUOUS_LAYOUT_PROPERTY
Bound property name for continuousLayout. |
static String |
JSplitPane.DIVIDER_SIZE_PROPERTY
Bound property name for border. |
static String |
JSplitPane.ONE_TOUCH_EXPANDABLE_PROPERTY
Bound property for oneTouchExpandable. |
static String |
JSplitPane.LAST_DIVIDER_LOCATION_PROPERTY
Bound property for lastLocation. |
static String |
JSplitPane.DIVIDER_LOCATION_PROPERTY
Bound property for the dividerLocation. |
static String |
JSplitPane.RESIZE_WEIGHT_PROPERTY
Bound property for weight. |
protected String |
JProgressBar.progressString
An optional string that can be displayed on the progress bar. |
static String |
JColorChooser.SELECTION_MODEL_PROPERTY
The selection model property name. |
static String |
JColorChooser.PREVIEW_PANEL_PROPERTY
The preview panel property name. |
static String |
JColorChooser.CHOOSER_PANELS_PROPERTY
The chooserPanel array property name. |
static String |
JOptionPane.ICON_PROPERTY
Bound property name for icon . |
static String |
JOptionPane.MESSAGE_PROPERTY
Bound property name for message . |
static String |
JOptionPane.VALUE_PROPERTY
Bound property name for value . |
static String |
JOptionPane.OPTIONS_PROPERTY
Bound property name for option . |
static String |
JOptionPane.INITIAL_VALUE_PROPERTY
Bound property name for initialValue . |
static String |
JOptionPane.MESSAGE_TYPE_PROPERTY
Bound property name for type . |
static String |
JOptionPane.OPTION_TYPE_PROPERTY
Bound property name for optionType . |
static String |
JOptionPane.SELECTION_VALUES_PROPERTY
Bound property name for selectionValues . |
static String |
JOptionPane.INITIAL_SELECTION_VALUE_PROPERTY
Bound property name for initialSelectionValue . |
static String |
JOptionPane.INPUT_VALUE_PROPERTY
Bound property name for inputValue . |
static String |
JOptionPane.WANTS_INPUT_PROPERTY
Bound property name for wantsInput . |
static String |
JFileChooser.CANCEL_SELECTION
Instruction to cancel the current selection. |
static String |
JFileChooser.APPROVE_SELECTION
Instruction to approve the current selection (same as pressing yes or ok). |
static String |
JFileChooser.APPROVE_BUTTON_TEXT_CHANGED_PROPERTY
Identifies change in the text on the approve (yes, ok) button. |
static String |
JFileChooser.APPROVE_BUTTON_TOOL_TIP_TEXT_CHANGED_PROPERTY
Identifies change in the tooltip text for the approve (yes, ok) button. |
static String |
JFileChooser.APPROVE_BUTTON_MNEMONIC_CHANGED_PROPERTY
Identifies change in the mnemonic for the approve (yes, ok) button. |
static String |
JFileChooser.CONTROL_BUTTONS_ARE_SHOWN_CHANGED_PROPERTY
Instruction to display the control buttons. |
static String |
JFileChooser.DIRECTORY_CHANGED_PROPERTY
Identifies user's directory change. |
static String |
JFileChooser.SELECTED_FILE_CHANGED_PROPERTY
Identifies change in user's single-file selection. |
static String |
JFileChooser.SELECTED_FILES_CHANGED_PROPERTY
Identifies change in user's multiple-file selection. |
static String |
JFileChooser.MULTI_SELECTION_ENABLED_CHANGED_PROPERTY
Enables multiple-file selections. |
static String |
JFileChooser.FILE_SYSTEM_VIEW_CHANGED_PROPERTY
Says that a different object is being used to find available drives on the system. |
static String |
JFileChooser.FILE_VIEW_CHANGED_PROPERTY
Says that a different object is being used to retrieve file information. |
static String |
JFileChooser.FILE_HIDING_CHANGED_PROPERTY
Identifies a change in the display-hidden-files property. |
static String |
JFileChooser.FILE_FILTER_CHANGED_PROPERTY
User changed the kind of files to display. |
static String |
JFileChooser.FILE_SELECTION_MODE_CHANGED_PROPERTY
Identifies a change in the kind of selection (single, multiple, etc.). |
static String |
JFileChooser.ACCESSORY_CHANGED_PROPERTY
Says that a different accessory component is in use (for example, to preview files). |
static String |
JFileChooser.ACCEPT_ALL_FILE_FILTER_USED_CHANGED_PROPERTY
Identifies whether a the AcceptAllFileFilter is used or not. |
static String |
JFileChooser.DIALOG_TITLE_CHANGED_PROPERTY
Identifies a change in the dialog title. |
static String |
JFileChooser.DIALOG_TYPE_CHANGED_PROPERTY
Identifies a change in the type of files displayed (files only, directories only, or both files and directories). |
static String |
JFileChooser.CHOOSABLE_FILE_FILTER_CHANGED_PROPERTY
Identifies a change in the list of predefined file filters the user can choose from. |
protected String |
DefaultButtonModel.actionCommand
|
static String |
JTree.CELL_RENDERER_PROPERTY
Bound property name for cellRenderer . |
static String |
JTree.TREE_MODEL_PROPERTY
Bound property name for treeModel . |
static String |
JTree.ROOT_VISIBLE_PROPERTY
Bound property name for rootVisible . |
static String |
JTree.SHOWS_ROOT_HANDLES_PROPERTY
Bound property name for showsRootHandles . |
static String |
JTree.ROW_HEIGHT_PROPERTY
Bound property name for rowHeight . |
static String |
JTree.CELL_EDITOR_PROPERTY
Bound property name for cellEditor . |
static String |
JTree.EDITABLE_PROPERTY
Bound property name for editable . |
static String |
JTree.LARGE_MODEL_PROPERTY
Bound property name for largeModel . |
static String |
JTree.SELECTION_MODEL_PROPERTY
Bound property name for selectionModel. |
static String |
JTree.VISIBLE_ROW_COUNT_PROPERTY
Bound property name for visibleRowCount . |
static String |
JTree.INVOKES_STOP_CELL_EDITING_PROPERTY
Bound property name for messagesStopCellEditing . |
static String |
JTree.SCROLLS_ON_EXPAND_PROPERTY
Bound property name for scrollsOnExpand . |
static String |
JTree.TOGGLE_CLICK_COUNT_PROPERTY
Bound property name for toggleClickCount . |
static String |
JTree.LEAD_SELECTION_PATH_PROPERTY
Bound property name for leadSelectionPath . |
static String |
JTree.ANCHOR_SELECTION_PATH_PROPERTY
Bound property name for anchor selection path. |
static String |
JTree.EXPANDS_SELECTED_PATHS_PROPERTY
Bound property name for expands selected paths property |
protected String |
JComboBox.actionCommand
This protected field is implementation specific. |
static String |
JTextField.notifyAction
Name of the action to send notification that the contents of the field have been accepted. |
static String |
JCheckBox.BORDER_PAINTED_FLAT_CHANGED_PROPERTY
Identifies a change to the flat property. |
static String |
ScrollPaneConstants.VIEWPORT
Identifies a "viewport" or display area, within which scrolled contents are visible. |
static String |
ScrollPaneConstants.VERTICAL_SCROLLBAR
Identifies a vertical scrollbar. |
static String |
ScrollPaneConstants.HORIZONTAL_SCROLLBAR
Identifies a horizonal scrollbar. |
static String |
ScrollPaneConstants.ROW_HEADER
Identifies the area along the left side of the viewport between the upper left corner and the lower left corner. |
static String |
ScrollPaneConstants.COLUMN_HEADER
Identifies the area at the top the viewport between the upper left corner and the upper right corner. |
static String |
ScrollPaneConstants.LOWER_LEFT_CORNER
Identifies the lower left corner of the viewport. |
static String |
ScrollPaneConstants.LOWER_RIGHT_CORNER
Identifies the lower right corner of the viewport. |
static String |
ScrollPaneConstants.UPPER_LEFT_CORNER
Identifies the upper left corner of the viewport. |
static String |
ScrollPaneConstants.UPPER_RIGHT_CORNER
Identifies the upper right corner of the viewport. |
static String |
ScrollPaneConstants.LOWER_LEADING_CORNER
Identifies the lower leading edge corner of the viewport. |
static String |
ScrollPaneConstants.LOWER_TRAILING_CORNER
Identifies the lower trailing edge corner of the viewport. |
static String |
ScrollPaneConstants.UPPER_LEADING_CORNER
Identifies the upper leading edge corner of the viewport. |
static String |
ScrollPaneConstants.UPPER_TRAILING_CORNER
Identifies the upper trailing edge corner of the viewport. |
static String |
ScrollPaneConstants.VERTICAL_SCROLLBAR_POLICY
Identifies the vertical scroll bar policy property. |
static String |
ScrollPaneConstants.HORIZONTAL_SCROLLBAR_POLICY
Identifies the horizontal scroll bar policy property. |
protected String |
JInternalFrame.title
The title displayed in this internal frame's title bar. |
static String |
JInternalFrame.CONTENT_PANE_PROPERTY
Bound property name. |
static String |
JInternalFrame.MENU_BAR_PROPERTY
Bound property name. |
static String |
JInternalFrame.TITLE_PROPERTY
Bound property name. |
static String |
JInternalFrame.LAYERED_PANE_PROPERTY
Bound property name. |
static String |
JInternalFrame.ROOT_PANE_PROPERTY
Bound property name. |
static String |
JInternalFrame.GLASS_PANE_PROPERTY
Bound property name. |
static String |
JInternalFrame.FRAME_ICON_PROPERTY
Bound property name. |
static String |
JInternalFrame.IS_SELECTED_PROPERTY
Constrained property name indicated that this frame has selected status. |
static String |
JInternalFrame.IS_CLOSED_PROPERTY
Constrained property name indicating that the internal frame is closed. |
static String |
JInternalFrame.IS_MAXIMUM_PROPERTY
Constrained property name indicating that the internal frame is maximized. |
static String |
JInternalFrame.IS_ICON_PROPERTY
Constrained property name indicating that the internal frame is iconified. |
static String |
FocusManager.FOCUS_MANAGER_CLASS_PROPERTY
This field is obsolete, and its use is discouraged since its specification is incompatible with the 1.4 focus APIs. |
static String |
Action.DEFAULT
Not currently used. |
static String |
Action.NAME
The key used for storing the name for the action, used for a menu or button. |
static String |
Action.SHORT_DESCRIPTION
The key used for storing a short description for the action, used for tooltip text. |
static String |
Action.LONG_DESCRIPTION
The key used for storing a longer description for the action, could be used for context-sensitive help. |
static String |
Action.SMALL_ICON
The key used for storing a small icon for the action, used for toolbar buttons. |
static String |
Action.ACTION_COMMAND_KEY
The key used to determine the command string for the ActionEvent that will be created when an
Action is going to be notified as the result of
residing in a Keymap associated with a
JComponent . |
static String |
Action.ACCELERATOR_KEY
The key used for storing a KeyStroke to be used as the
accelerator for the action. |
static String |
Action.MNEMONIC_KEY
The key used for storing an int key code to be used as the mnemonic for the action. |
static String |
AbstractButton.MODEL_CHANGED_PROPERTY
Identifies a change in the button model. |
static String |
AbstractButton.TEXT_CHANGED_PROPERTY
Identifies a change in the button's text. |
static String |
AbstractButton.MNEMONIC_CHANGED_PROPERTY
Identifies a change to the button's mnemonic. |
static String |
AbstractButton.MARGIN_CHANGED_PROPERTY
Identifies a change in the button's margins. |
static String |
AbstractButton.VERTICAL_ALIGNMENT_CHANGED_PROPERTY
Identifies a change in the button's vertical alignment. |
static String |
AbstractButton.HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY
Identifies a change in the button's horizontal alignment. |
static String |
AbstractButton.VERTICAL_TEXT_POSITION_CHANGED_PROPERTY
Identifies a change in the button's vertical text position. |
static String |
AbstractButton.HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY
Identifies a change in the button's horizontal text position. |
static String |
AbstractButton.BORDER_PAINTED_CHANGED_PROPERTY
Identifies a change to having the border drawn, or having it not drawn. |
static String |
AbstractButton.FOCUS_PAINTED_CHANGED_PROPERTY
Identifies a change to having the border highlighted when focused, or not. |
static String |
AbstractButton.ROLLOVER_ENABLED_CHANGED_PROPERTY
Identifies a change from rollover enabled to disabled or back to enabled. |
static String |
AbstractButton.CONTENT_AREA_FILLED_CHANGED_PROPERTY
Identifies a change to having the button paint the content area. |
static String |
AbstractButton.ICON_CHANGED_PROPERTY
Identifies a change to the icon that represents the button. |
static String |
AbstractButton.PRESSED_ICON_CHANGED_PROPERTY
Identifies a change to the icon used when the button has been pressed. |
static String |
AbstractButton.SELECTED_ICON_CHANGED_PROPERTY
Identifies a change to the icon used when the button has been selected. |
static String |
AbstractButton.ROLLOVER_ICON_CHANGED_PROPERTY
Identifies a change to the icon used when the cursor is over the button. |
static String |
AbstractButton.ROLLOVER_SELECTED_ICON_CHANGED_PROPERTY
Identifies a change to the icon used when the cursor is over the button and it has been selected. |
static String |
AbstractButton.DISABLED_ICON_CHANGED_PROPERTY
Identifies a change to the icon used when the button has been disabled. |
static String |
AbstractButton.DISABLED_SELECTED_ICON_CHANGED_PROPERTY
Identifies a change to the icon used when the button has been disabled and selected. |
static String |
JLayeredPane.LAYER_PROPERTY
Bound property |
static String |
JComponent.TOOL_TIP_TEXT_KEY
The comment to display when the cursor is over the component, also known as a "value tip", "flyover help", or "flyover label". |
Methods in javax.swing that return String | |
String |
ProgressMonitor.getNote()
Specifies the additional note that is displayed along with the progress message. |
String |
JToolBar.getUIClassID()
Returns the name of the L&F class that renders this component. |
protected String |
JToolBar.paramString()
Returns a string representation of this JToolBar . |
String |
JToolBar.Separator.getUIClassID()
Returns the name of the L&F class that renders this component. |
String |
JTextPane.getUIClassID()
Returns the class ID for the UI. |
protected String |
JTextPane.paramString()
Returns a string representation of this JTextPane . |
String |
JSplitPane.getUIClassID()
Returns the name of the L&F class that renders this component. |
protected String |
JSplitPane.paramString()
Returns a string representation of this JSplitPane . |
String |
JSlider.getUIClassID()
Returns the name of the L&F class that renders this component. |
protected String |
JSlider.paramString()
Returns a string representation of this JSlider. |
String |
JRadioButtonMenuItem.getUIClassID()
Returns the name of the L&F class that renders this component. |
protected String |
JRadioButtonMenuItem.paramString()
Returns a string representation of this JRadioButtonMenuItem . |
String |
JProgressBar.getString()
Returns the current value of the progress string. |
String |
JProgressBar.getUIClassID()
Returns the name of the look-and-feel class that renders this component. |
protected String |
JProgressBar.paramString()
Returns a string representation of this JProgressBar . |
String |
JColorChooser.getUIClassID()
Returns the name of the L&F class that renders this component. |
protected String |
JColorChooser.paramString()
Returns a string representation of this JColorChooser . |
String |
JCheckBoxMenuItem.getUIClassID()
Returns the name of the L&F class that renders this component. |
protected String |
JCheckBoxMenuItem.paramString()
Returns a string representation of this JCheckBoxMenuItem. |
static String |
JOptionPane.showInputDialog(Object message)
Shows a question-message dialog requesting input from the user. |
static String |
JOptionPane.showInputDialog(Object message,
Object initialSelectionValue)
Shows a question-message dialog requesting input from the user, with the input value initialized to initialSelectionValue . |
static String |
JOptionPane.showInputDialog(Component parentComponent,
Object message)
Shows a question-message dialog requesting input from the user parented to parentComponent . |
static String |
JOptionPane.showInputDialog(Component parentComponent,
Object message,
Object initialSelectionValue)
Shows a question-message dialog requesting input from the user and parented to parentComponent . |
static String |
JOptionPane.showInputDialog(Component parentComponent,
Object message,
String title,
int messageType)
Shows a dialog requesting input from the user parented to parentComponent with the dialog having the title
title and message type messageType . |
static String |
JOptionPane.showInternalInputDialog(Component parentComponent,
Object message)
Shows an internal question-message dialog requesting input from the user parented to parentComponent . |
static String |
JOptionPane.showInternalInputDialog(Component parentComponent,
Object message,
String title,
int messageType)
Shows an internal dialog requesting input from the user parented to parentComponent with the dialog having the title
title and message type messageType . |
String |
JOptionPane.getUIClassID()
Returns the name of the UI class that implements the L&F for this component. |
protected String |
JOptionPane.paramString()
Returns a string representation of this JOptionPane . |
String |
JSpinner.getUIClassID()
Returns the suffix used to construct the name of the look and feel (L&F) class used to render this component. |
String |
JFormattedTextField.getUIClassID()
Gets the class ID for a UI. |
abstract String |
JFormattedTextField.AbstractFormatter.valueToString(Object value)
Returns the string value to display for value . |
String |
JTabbedPane.getUIClassID()
Returns the name of the UI class that implements the L&F for this component. |
String |
JTabbedPane.getTitleAt(int index)
Returns the tab title at index . |
String |
JTabbedPane.getToolTipTextAt(int index)
Returns the tab tooltip text at index . |
String |
JTabbedPane.getToolTipText(MouseEvent event)
Returns the tooltip text for the component determined by the mouse event location. |
protected String |
JTabbedPane.paramString()
Returns a string representation of this JTabbedPane . |
String |
JFileChooser.getDialogTitle()
Gets the string that goes in the JFileChooser 's titlebar. |
String |
JFileChooser.getApproveButtonToolTipText()
Returns the tooltip text used in the ApproveButton . |
String |
JFileChooser.getApproveButtonText()
Returns the text used in the ApproveButton in the
FileChooserUI . |
String |
JFileChooser.getName(File f)
Returns the filename. |
String |
JFileChooser.getDescription(File f)
Returns the file description. |
String |
JFileChooser.getTypeDescription(File f)
Returns the file type. |
String |
JFileChooser.getUIClassID()
Returns a string that specifies the name of the L&F class that renders this component. |
protected String |
JFileChooser.paramString()
Returns a string representation of this JFileChooser . |
String |
JPasswordField.getUIClassID()
Returns the name of the L&F class that renders this component. |
String |
JPasswordField.getText()
Deprecated. As of Java 2 platform v1.2, replaced by getPassword . |
String |
JPasswordField.getText(int offs,
int len)
Deprecated. As of Java 2 platform v1.2, replaced by getPassword . |
protected String |
JPasswordField.paramString()
Returns a string representation of this JPasswordField . |
String |
JRadioButton.getUIClassID()
Returns the name of the L&F class that renders this component. |
protected String |
JRadioButton.paramString()
Returns a string representation of this JRadioButton. |
String |
DefaultListModel.toString()
Returns a string that displays and identifies this object's properties. |
String |
DefaultBoundedRangeModel.toString()
Returns a string that displays all of the BoundedRangeModel properties. |
String |
JTextArea.getUIClassID()
Returns the class ID for the UI. |
protected String |
JTextArea.paramString()
Returns a string representation of this JTextArea. |
protected String |
JApplet.paramString()
Returns a string representation of this JApplet. |
protected String |
JDialog.paramString()
Returns a string representation of this JDialog . |
String |
JDialog.AccessibleJDialog.getAccessibleName()
Get the accessible name of this object. |
String |
ImageIcon.getDescription()
Gets the description of the image. |
String |
ImageIcon.toString()
Returns a string representation of this image. |
String |
ImageIcon.AccessibleImageIcon.getAccessibleIconDescription()
Gets the description of the icon. |
String |
DefaultListSelectionModel.toString()
Returns a string that displays and identifies this object's properties. |
String |
DefaultButtonModel.getActionCommand()
Returns the action command for this button. |
String |
JList.getUIClassID()
Returns the suffix used to construct the name of the look and feel (L&F) class used to render this component. |
String |
JList.getToolTipText(MouseEvent event)
Overrides JComponent 's getToolTipText
method in order to allow the renderer's tips to be used
if it has text set. |
protected String |
JList.paramString()
Returns a string representation of this JList . |
String |
JList.AccessibleJList.AccessibleJListChild.getAccessibleName()
|
String |
JList.AccessibleJList.AccessibleJListChild.getAccessibleDescription()
|
String |
JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleName()
Get the accessible name of this object. |
String |
JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleDescription()
Get the accessible description of this object. |
String |
JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleActionDescription(int i)
Return a description of the specified action of the tree node. |
String |
JTree.getUIClassID()
Returns the name of the L&F class that renders this component. |
String |
JTree.getToolTipText(MouseEvent event)
Overrides JComponent 's getToolTipText
method in order to allow
renderer's tips to be used if it has text set. |
String |
JTree.convertValueToText(Object value,
boolean selected,
boolean expanded,
boolean leaf,
int row,
boolean hasFocus)
Called by the renderers to convert the specified value to text. |
protected String |
JTree.paramString()
Returns a string representation of this JTree . |
String |
JComboBox.AccessibleJComboBox.getAccessibleActionDescription(int i)
Return a description of the specified action of the object. |
String |
JComboBox.getUIClassID()
Returns the name of the L&F class that renders this component. |
String |
JComboBox.getActionCommand()
Returns the action command that is included in the event sent to action listeners. |
protected String |
JComboBox.paramString()
Returns a string representation of this JComboBox . |
String |
JTextField.getUIClassID()
Gets the class ID for a UI. |
protected String |
JTextField.paramString()
Returns a string representation of this JTextField . |
String |
JToggleButton.getUIClassID()
Returns a string that specifies the name of the l&f class that renders this component. |
protected String |
JToggleButton.paramString()
Returns a string representation of this JToggleButton. |
String |
JCheckBox.getUIClassID()
Returns a string that specifies the name of the L&F class that renders this component. |
protected String |
JCheckBox.paramString()
Returns a string representation of this JCheckBox. |
String |
JScrollBar.getUIClassID()
Returns the name of the LookAndFeel class for this component. |
protected String |
JScrollBar.paramString()
Returns a string representation of this JScrollBar. |
String |
JViewport.getUIClassID()
Returns a string that specifies the name of the L&F class that renders this component. |
protected String |
JViewport.paramString()
Returns a string representation of this JViewport . |
String |
JScrollPane.getUIClassID()
Returns the suffix used to construct the name of the L&F class used to render this component. |
protected String |
JScrollPane.paramString()
Returns a string representation of this JScrollPane . |
String |
JTable.AccessibleJTable.AccessibleJTableCell.getAccessibleName()
Gets the accessible name of this object. |
String |
JTable.AccessibleJTable.AccessibleJTableCell.getAccessibleDescription()
Gets the accessible description of this object. |
String |
JTable.getColumnName(int column)
Returns the name of the column appearing in the view at column position column . |
String |
JTable.getToolTipText(MouseEvent event)
Overrides JComponent 's getToolTipText
method in order to allow the renderer's tips to be used
if it has text set. |
String |
JTable.getUIClassID()
Returns the suffix used to construct the name of the L&F class used to render this component. |
protected String |
JTable.paramString()
Returns a string representation of this table. |
String |
JLabel.getUIClassID()
Returns a string that specifies the name of the l&f class that renders this component. |
String |
JLabel.getText()
Returns the text string that the label displays. |
protected String |
JLabel.paramString()
Returns a string representation of this JLabel. |
String |
JLabel.AccessibleJLabel.getAccessibleName()
Get the accessible name of this object. |
String |
JLabel.AccessibleJLabel.getAtIndex(int part,
int index)
Returns the String at a given index. |
String |
JLabel.AccessibleJLabel.getAfterIndex(int part,
int index)
Returns the String after a given index. |
String |
JLabel.AccessibleJLabel.getBeforeIndex(int part,
int index)
Returns the String before a given index. |
String |
JLabel.AccessibleJLabel.getSelectedText()
Returns the portion of the text that is selected. |
String |
JLabel.AccessibleJLabel.getToolTipText()
Returns the tool tip text |
String |
JLabel.AccessibleJLabel.getTitledBorderText()
Returns the titled border text |
String |
JDesktopPane.getUIClassID()
Returns the name of the L&F class that renders this component. |
protected String |
JDesktopPane.paramString()
Returns a string representation of this JDesktopPane . |
String |
JInternalFrame.JDesktopIcon.getUIClassID()
Returns the name of the look-and-feel class that renders this component. |
String |
JInternalFrame.AccessibleJInternalFrame.getAccessibleName()
Get the accessible name of this object. |
String |
JInternalFrame.getUIClassID()
Returns the name of the look-and-feel class that renders this component. |
String |
JInternalFrame.getTitle()
Returns the title of the JInternalFrame . |
String |
JInternalFrame.getWarningString()
Gets the warning string that is displayed with this internal frame. |
protected String |
JInternalFrame.paramString()
Returns a string representation of this JInternalFrame . |
String |
RepaintManager.toString()
Returns a string that displays and identifies this object's properties. |
String |
SizeRequirements.toString()
Returns a string describing the minimum, preferred, and maximum size requirements, along with the alignment. |
String |
JEditorPane.getUIClassID()
Gets the class ID for the UI. |
String |
JEditorPane.getContentType()
Gets the type of content that this editor is currently set to deal with. |
static String |
JEditorPane.getEditorKitClassNameForContentType(String type)
Returns the currently registered EditorKit
class name for the type type . |
String |
JEditorPane.getText()
Returns the text contained in this TextComponent
in terms of the
content type of this editor. |
protected String |
JEditorPane.paramString()
Returns a string representation of this JEditorPane . |
String |
JEditorPane.AccessibleJEditorPane.getAccessibleDescription()
Gets the accessibleDescription property of this object. |
String |
JEditorPane.JEditorPaneAccessibleHypertextSupport.getLinkText(int linkIndex)
Returns the contiguous text within the document that is associated with this hyperlink. |
String |
JEditorPane.JEditorPaneAccessibleHypertextSupport.HTMLLink.getAccessibleActionDescription(int i)
Return a String description of this particular link action. |
abstract String |
LookAndFeel.getName()
Return a short string that identifies this look and feel, e.g. |
abstract String |
LookAndFeel.getID()
Return a string that identifies this look and feel. |
abstract String |
LookAndFeel.getDescription()
Return a one line description of this look and feel implementation, e.g. |
String |
LookAndFeel.toString()
Returns a string that displays and identifies this object's properties. |
String |
UIDefaults.getString(Object key)
If the value of key is a String return it,
otherwise return null . |
String |
UIDefaults.getString(Object key,
Locale l)
If the value of key for the given Locale
is a String return it, otherwise return null . |
static String |
UIManager.getSystemLookAndFeelClassName()
Returns the name of the LookAndFeel class that implements
the native systems look and feel if there is one, otherwise
the name of the default cross platform LookAndFeel
class. |
static String |
UIManager.getCrossPlatformLookAndFeelClassName()
Returns the name of the LookAndFeel class that implements
the default cross platform look and feel -- the Java
Look and Feel (JLF). |
static String |
UIManager.getString(Object key)
Returns a string from the defaults table. |
static String |
UIManager.getString(Object key,
Locale l)
Returns a string from the defaults table that is appropriate for the given locale. |
String |
UIManager.LookAndFeelInfo.getName()
Returns the name of the look and feel in a form suitable for a menu or other presentation |
String |
UIManager.LookAndFeelInfo.getClassName()
Returns the name of the class that implements this look and feel. |
String |
UIManager.LookAndFeelInfo.toString()
Returns a string that displays and identifies this object's properties. |
protected String |
JWindow.paramString()
Returns a string representation of this JWindow . |
String |
JSeparator.getUIClassID()
Returns the name of the L&F class that renders this component. |
protected String |
JSeparator.paramString()
Returns a string representation of this JSeparator . |
static String |
SwingUtilities.layoutCompoundLabel(JComponent c,
FontMetrics fm,
String text,
Icon icon,
int verticalAlignment,
int horizontalAlignment,
int verticalTextPosition,
int horizontalTextPosition,
Rectangle viewR,
Rectangle iconR,
Rectangle textR,
int textIconGap)
Compute and return the location of the icons origin, the location of origin of the text baseline, and a possibly clipped version of the compound labels string. |
static String |
SwingUtilities.layoutCompoundLabel(FontMetrics fm,
String text,
Icon icon,
int verticalAlignment,
int horizontalAlignment,
int verticalTextPosition,
int horizontalTextPosition,
Rectangle viewR,
Rectangle iconR,
Rectangle textR,
int textIconGap)
Compute and return the location of the icons origin, the location of origin of the text baseline, and a possibly clipped version of the compound labels string. |
String |
JPanel.getUIClassID()
Returns a string that specifies the name of the L&F class that renders this component. |
protected String |
JPanel.paramString()
Returns a string representation of this JPanel. |
String |
JPopupMenu.getUIClassID()
Returns the name of the L&F class that renders this component. |
String |
JPopupMenu.getLabel()
Returns the popup menu's label |
protected String |
JPopupMenu.paramString()
Returns a string representation of this JPopupMenu . |
String |
JPopupMenu.Separator.getUIClassID()
Returns the name of the L&F class that renders this component. |
String |
ButtonModel.getActionCommand()
Returns the action command for this button. |
String |
JMenuItem.getUIClassID()
Returns the suffix used to construct the name of the L&F class used to render this component. |
protected String |
JMenuItem.paramString()
Returns a string representation of this JMenuItem . |
String |
JMenu.getUIClassID()
Returns the name of the L&F class that renders this component. |
protected String |
JMenu.paramString()
Returns a string representation of this JMenu . |
String |
JToolTip.getUIClassID()
Returns the name of the L&F class that renders this component. |
String |
JToolTip.getTipText()
Returns the text that is shown when the tool tip is displayed. |
protected String |
JToolTip.paramString()
Returns a string representation of this JToolTip . |
String |
JToolTip.AccessibleJToolTip.getAccessibleDescription()
Get the accessible description of this object. |
String |
AbstractButton.getText()
Returns the button's text. |
String |
AbstractButton.getActionCommand()
Returns the action command for this button. |
String |
AbstractButton.getLabel()
Deprecated. - Replaced by getText |
protected String |
AbstractButton.paramString()
Returns a string representation of this AbstractButton . |
String |
AbstractButton.AccessibleAbstractButton.getAccessibleName()
Returns the accessible name of this object. |
String |
AbstractButton.AccessibleAbstractButton.getAccessibleActionDescription(int i)
Return a description of the specified action of the object. |
String |
AbstractButton.AccessibleAbstractButton.getAtIndex(int part,
int index)
Returns the String at a given index. |
String |
AbstractButton.AccessibleAbstractButton.getAfterIndex(int part,
int index)
Returns the String after a given index. |
String |
AbstractButton.AccessibleAbstractButton.getBeforeIndex(int part,
int index)
Returns the String before a given index. |
String |
AbstractButton.AccessibleAbstractButton.getSelectedText()
Returns the portion of the text that is selected. |
String |
AbstractButton.AccessibleAbstractButton.getToolTipText()
Returns the tool tip text |
String |
AbstractButton.AccessibleAbstractButton.getTitledBorderText()
Returns the titled border text |
String |
JButton.getUIClassID()
Returns a string that specifies the name of the L&F class that renders this component. |
protected String |
JButton.paramString()
Returns a string representation of this JButton . |
protected String |
JLayeredPane.paramString()
Returns a string representation of this JLayeredPane. |
String |
JMenuBar.getUIClassID()
Returns the name of the L&F class that renders this component. |
protected String |
JMenuBar.paramString()
Returns a string representation of this JMenuBar . |
String |
JComponent.getUIClassID()
Returns the UIDefaults key used to
look up the name of the swing.plaf.ComponentUI
class that defines the look and feel
for this component. |
String |
JComponent.getToolTipText()
Returns the tooltip string that has been set with setToolTipText . |
String |
JComponent.getToolTipText(MouseEvent event)
Returns the string to be used as the tooltip for event. |
protected String |
JComponent.paramString()
Returns a string representation of this JComponent . |
protected String |
JComponent.AccessibleJComponent.getBorderTitle(Border b)
Recursively search through the border hierarchy (if it exists) for a TitledBorder with a non-null title. |
String |
JComponent.AccessibleJComponent.getAccessibleName()
Gets the accessible name of this object. |
String |
JComponent.AccessibleJComponent.getAccessibleDescription()
Gets the accessible description of this object. |
String |
JComponent.AccessibleJComponent.getToolTipText()
Returns the tool tip text |
String |
JComponent.AccessibleJComponent.getTitledBorderText()
Returns the titled border text |
String |
JRootPane.getUIClassID()
Returns a string that specifies the name of the L&F class that renders this component. |
protected String |
JRootPane.paramString()
Returns a string representation of this JRootPane . |
protected String |
JFrame.paramString()
Returns a string representation of this JFrame . |
String |
JFrame.AccessibleJFrame.getAccessibleName()
Get the accessible name of this object. |
Methods in javax.swing with parameters of type String | |
void |
SpringLayout.addLayoutComponent(String name,
Component c)
Has no effect, since this layout manager does not use a per-component string. |
void |
SpringLayout.putConstraint(String e1,
Component c1,
int pad,
String e2,
Component c2)
Links edge e1 of component c1 to
edge e2 of component c2 ,
with a fixed distance between the edges. |
void |
SpringLayout.putConstraint(String e1,
Component c1,
Spring s,
String e2,
Component c2)
Links edge e1 of component c1 to
edge e2 of component c2 . |
Spring |
SpringLayout.getConstraint(String edgeName,
Component c)
Returns the spring controlling the distance between the specified edge of the component and the top or left edge of its parent. |
void |
SpringLayout.Constraints.setConstraint(String edgeName,
Spring s)
Sets the spring controlling the specified edge. |
Spring |
SpringLayout.Constraints.getConstraint(String edgeName)
Returns the value of the specified edge. |
void |
ProgressMonitor.setNote(String note)
Specifies the additional note that is displayed along with the progress message. |
void |
JTextPane.replaceSelection(String content)
Replaces the currently selected content with new content represented by the given string. |
Style |
JTextPane.addStyle(String nm,
Style parent)
Adds a new style into the logical style hierarchy. |
void |
JTextPane.removeStyle(String nm)
Removes a named non- null style previously added to
the document. |
Style |
JTextPane.getStyle(String nm)
Fetches a named non- null style previously added. |
void |
JProgressBar.setString(String s)
Sets the value of the progress string. |
static Color |
JColorChooser.showDialog(Component component,
String title,
Color initialColor)
Shows a modal color-chooser dialog and blocks until the dialog is hidden. |
static JDialog |
JColorChooser.createDialog(Component c,
String title,
boolean modal,
JColorChooser chooserPane,
ActionListener okListener,
ActionListener cancelListener)
Creates and returns a new dialog containing the specified ColorChooser pane along with "OK", "Cancel", and "Reset"
buttons. |
protected void |
DefaultListCellRenderer.firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Overridden for performance reasons. |
void |
DefaultListCellRenderer.firePropertyChange(String propertyName,
byte oldValue,
byte newValue)
Overridden for performance reasons. |
void |
DefaultListCellRenderer.firePropertyChange(String propertyName,
char oldValue,
char newValue)
Overridden for performance reasons. |
void |
DefaultListCellRenderer.firePropertyChange(String propertyName,
short oldValue,
short newValue)
Overridden for performance reasons. |
void |
DefaultListCellRenderer.firePropertyChange(String propertyName,
int oldValue,
int newValue)
Overridden for performance reasons. |
void |
DefaultListCellRenderer.firePropertyChange(String propertyName,
long oldValue,
long newValue)
Overridden for performance reasons. |
void |
DefaultListCellRenderer.firePropertyChange(String propertyName,
float oldValue,
float newValue)
Overridden for performance reasons. |
void |
DefaultListCellRenderer.firePropertyChange(String propertyName,
double oldValue,
double newValue)
Overridden for performance reasons. |
void |
DefaultListCellRenderer.firePropertyChange(String propertyName,
boolean oldValue,
boolean newValue)
Overridden for performance reasons. |
static TitledBorder |
BorderFactory.createTitledBorder(String title)
Creates a new title border specifying the text of the title, using the default border (etched), using the default text position (sitting on the top line) and default justification (leading) and using the default font and text color determined by the current look and feel. |
static TitledBorder |
BorderFactory.createTitledBorder(Border border,
String title)
Adds a title to an existing border, specifying the text of the title, using the default positioning (sitting on the top line) and default justification (leading) and using the default font and text color determined by the current look and feel. |
static TitledBorder |
BorderFactory.createTitledBorder(Border border,
String title,
int titleJustification,
int titlePosition)
Adds a title to an existing border, specifying the text of the title along with its positioning, using the default font and text color determined by the current look and feel. |
static TitledBorder |
BorderFactory.createTitledBorder(Border border,
String title,
int titleJustification,
int titlePosition,
Font titleFont)
Adds a title to an existing border, specifying the text of the title along with its positioning and font, using the default text color determined by the current look and feel. |
static TitledBorder |
BorderFactory.createTitledBorder(Border border,
String title,
int titleJustification,
int titlePosition,
Font titleFont,
Color titleColor)
Adds a title to an existing border, specifying the text of the title along with its positioning, font, and color. |
static String |
JOptionPane.showInputDialog(Component parentComponent,
Object message,
String title,
int messageType)
Shows a dialog requesting input from the user parented to parentComponent with the dialog having the title
title and message type messageType . |
static Object |
JOptionPane.showInputDialog(Component parentComponent,
Object message,
String title,
int messageType,
Icon icon,
Object[] selectionValues,
Object initialSelectionValue)
Prompts the user for input in a blocking dialog where the initial selection, possible selections, and all other options can be specified. |
static void |
JOptionPane.showMessageDialog(Component parentComponent,
Object message,
String title,
int messageType)
Brings up a dialog that displays a message using a default icon determined by the messageType parameter. |
static void |
JOptionPane.showMessageDialog(Component parentComponent,
Object message,
String title,
int messageType,
Icon icon)
Brings up a dialog displaying a message, specifying all parameters. |
static int |
JOptionPane.showConfirmDialog(Component parentComponent,
Object message,
String title,
int optionType)
Brings up a dialog where the number of choices is determined by the optionType parameter. |
static int |
JOptionPane.showConfirmDialog(Component parentComponent,
Object message,
String title,
int optionType,
int messageType)
Brings up a dialog where the number of choices is determined by the optionType parameter, where the
messageType
parameter determines the icon to display. |
static int |
JOptionPane.showConfirmDialog(Component parentComponent,
Object message,
String title,
int optionType,
int messageType,
Icon icon)
Brings up a dialog with a specified icon, where the number of choices is determined by the optionType parameter. |
static int |
JOptionPane.showOptionDialog(Component parentComponent,
Object message,
String title,
int optionType,
int messageType,
Icon icon,
Object[] options,
Object initialValue)
Brings up a dialog with a specified icon, where the initial choice is determined by the initialValue parameter and
the number of choices is determined by the optionType
parameter. |
JDialog |
JOptionPane.createDialog(Component parentComponent,
String title)
Creates and returns a new JDialog wrapping
this centered on the parentComponent
in the parentComponent 's frame. |
static void |
JOptionPane.showInternalMessageDialog(Component parentComponent,
Object message,
String title,
int messageType)
Brings up an internal dialog panel that displays a message using a default icon determined by the messageType
parameter. |
static void |
JOptionPane.showInternalMessageDialog(Component parentComponent,
Object message,
String title,
int messageType,
Icon icon)
Brings up an internal dialog panel displaying a message, specifying all parameters. |
static int |
JOptionPane.showInternalConfirmDialog(Component parentComponent,
Object message,
String title,
int optionType)
Brings up a internal dialog panel where the number of choices is determined by the optionType parameter. |
static int |
JOptionPane.showInternalConfirmDialog(Component parentComponent,
Object message,
String title,
int optionType,
int messageType)
Brings up an internal dialog panel where the number of choices is determined by the optionType parameter, where
the messageType parameter determines the icon to display. |
static int |
JOptionPane.showInternalConfirmDialog(Component parentComponent,
Object message,
String title,
int optionType,
int messageType,
Icon icon)
Brings up an internal dialog panel with a specified icon, where the number of choices is determined by the optionType
parameter. |
static int |
JOptionPane.showInternalOptionDialog(Component parentComponent,
Object message,
String title,
int optionType,
int messageType,
Icon icon,
Object[] options,
Object initialValue)
Brings up an internal dialog panel with a specified icon, where the initial choice is determined by the initialValue
parameter and the number of choices is determined by the
optionType parameter. |
static String |
JOptionPane.showInternalInputDialog(Component parentComponent,
Object message,
String title,
int messageType)
Shows an internal dialog requesting input from the user parented to parentComponent with the dialog having the title
title and message type messageType . |
static Object |
JOptionPane.showInternalInputDialog(Component parentComponent,
Object message,
String title,
int messageType,
Icon icon,
Object[] selectionValues,
Object initialSelectionValue)
Prompts the user for input in a blocking internal dialog where the initial selection, possible selections, and all other options can be specified. |
JInternalFrame |
JOptionPane.createInternalFrame(Component parentComponent,
String title)
Creates and returns an instance of JInternalFrame . |
void |
JSpinner.DefaultEditor.addLayoutComponent(String name,
Component child)
This LayoutManager method does nothing. |
abstract Object |
JFormattedTextField.AbstractFormatter.stringToValue(String text)
Parses text returning an arbitrary Object. |
void |
JTabbedPane.insertTab(String title,
Icon icon,
Component component,
String tip,
int index)
Inserts a component , at index ,
represented by a title and/or icon ,
either of which may be null . |
void |
JTabbedPane.addTab(String title,
Icon icon,
Component component,
String tip)
Adds a component and tip
represented by a title and/or icon ,
either of which can be null . |
void |
JTabbedPane.addTab(String title,
Icon icon,
Component component)
Adds a component represented by a title
and/or icon , either of which can be null . |
void |
JTabbedPane.addTab(String title,
Component component)
Adds a component represented by a title
and no icon. |
Component |
JTabbedPane.add(String title,
Component component)
Adds a component with the specified tab title. |
void |
JTabbedPane.setTitleAt(int index,
String title)
Sets the title at index to title which
can be null . |
void |
JTabbedPane.setToolTipTextAt(int index,
String toolTipText)
Sets the tooltip text at index to toolTipText
which can be null . |
int |
JTabbedPane.indexOfTab(String title)
Returns the first tab index with a given title , or
-1 if no tab has this title. |
void |
BoxLayout.addLayoutComponent(String name,
Component comp)
Not used by this class. |
int |
JFileChooser.showDialog(Component parent,
String approveButtonText)
Pops a custom file chooser dialog with a custom approve button. |
void |
JFileChooser.setDialogTitle(String dialogTitle)
Sets the string that goes in the JFileChooser window's
title bar. |
void |
JFileChooser.setApproveButtonToolTipText(String toolTipText)
Sets the tooltip text used in the ApproveButton . |
void |
JFileChooser.setApproveButtonText(String approveButtonText)
Sets the text used in the ApproveButton in the
FileChooserUI . |
protected void |
JFileChooser.fireActionPerformed(String command)
Notifies all listeners that have registered interest for notification on this event type. |
void |
ViewportLayout.addLayoutComponent(String name,
Component c)
Adds the specified component to the layout. |
void |
ScrollPaneLayout.addLayoutComponent(String s,
Component c)
Adds the specified component to the layout. |
Component |
ScrollPaneLayout.getCorner(String key)
Returns the Component at the specified corner. |
void |
JTextArea.insert(String str,
int pos)
Inserts the specified text at the specified position. |
void |
JTextArea.append(String str)
Appends the given text to the end of the document. |
void |
JTextArea.replaceRange(String str,
int start,
int end)
Replaces text from the indicated start to end position with the new text specified. |
void |
OverlayLayout.addLayoutComponent(String name,
Component comp)
Adds the specified component to the layout. |
void |
ImageIcon.setDescription(String description)
Sets the description of the image. |
void |
ImageIcon.AccessibleImageIcon.setAccessibleIconDescription(String description)
Sets the description of the icon. |
void |
DefaultButtonModel.setActionCommand(String actionCommand)
Sets the actionCommand string that gets sent as
part of the event when the button is pressed. |
int |
JList.getNextMatch(String prefix,
int startIndex,
Position.Bias bias)
Returns the next list element that starts with a prefix. |
void |
JList.AccessibleJList.AccessibleJListChild.setAccessibleName(String s)
|
void |
JList.AccessibleJList.AccessibleJListChild.setAccessibleDescription(String s)
|
void |
JTree.AccessibleJTree.AccessibleJTreeNode.setAccessibleName(String s)
Set the localized accessible name of this object. |
void |
JTree.AccessibleJTree.AccessibleJTreeNode.setAccessibleDescription(String s)
Set the accessible description of this object. |
TreePath |
JTree.getNextMatch(String prefix,
int startingRow,
Position.Bias bias)
Returns the TreePath to the next tree element that begins with a prefix. |
void |
JComboBox.setActionCommand(String aCommand)
Sets the action command that should be included in the event sent to action listeners. |
void |
JTextField.setActionCommand(String command)
Sets the command string used for action events. |
protected void |
JViewport.firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Notifies listeners of a property change. |
Component |
JScrollPane.getCorner(String key)
Returns the component at the specified corner. |
void |
JScrollPane.setCorner(String key,
Component corner)
Adds a child that will appear in one of the scroll panes corners, if there's room. |
void |
JTable.AccessibleJTable.AccessibleJTableCell.setAccessibleName(String s)
Sets the localized accessible name of this object. |
void |
JTable.AccessibleJTable.AccessibleJTableCell.setAccessibleDescription(String s)
Sets the accessible description of this object. |
void |
JLabel.setText(String text)
Defines the single line of text this component will display. |
protected int |
JLabel.checkHorizontalKey(int key,
String message)
Verify that key is a legal value for the horizontalAlignment properties. |
protected int |
JLabel.checkVerticalKey(int key,
String message)
Verify that key is a legal value for the verticalAlignment or verticalTextPosition properties. |
void |
JInternalFrame.setTitle(String title)
Sets the JInternalFrame title. |
void |
DebugGraphics.drawString(String aString,
int x,
int y)
Overrides Graphics.drawString . |
void |
JEditorPane.scrollToReference(String reference)
Scrolls the view to the given reference location (that is, the value returned by the UL.getRef
method for the URL being displayed). |
void |
JEditorPane.setPage(String url)
Sets the current URL being displayed. |
void |
JEditorPane.setContentType(String type)
Sets the type of content that this editor handles. |
EditorKit |
JEditorPane.getEditorKitForContentType(String type)
Fetches the editor kit to use for the given type of content. |
void |
JEditorPane.setEditorKitForContentType(String type,
EditorKit k)
Directly sets the editor kit to use for the given type. |
void |
JEditorPane.replaceSelection(String content)
Replaces the currently selected content with new content represented by the given string. |
static EditorKit |
JEditorPane.createEditorKitForContentType(String type)
Creates a handler for the given type from the default registry of editor kits. |
static void |
JEditorPane.registerEditorKitForContentType(String type,
String classname)
Establishes the default bindings of type to
classname . |
static void |
JEditorPane.registerEditorKitForContentType(String type,
String classname,
ClassLoader loader)
Establishes the default bindings of type to
classname . |
static String |
JEditorPane.getEditorKitClassNameForContentType(String type)
Returns the currently registered EditorKit
class name for the type type . |
void |
JEditorPane.setText(String t)
Sets the text of this TextComponent to the specified
content,
which is expected to be in the format of the content type of
this editor. |
static void |
LookAndFeel.installColors(JComponent c,
String defaultBgName,
String defaultFgName)
Convenience method for initializing a component's foreground and background color properties with values from the current defaults table. |
static void |
LookAndFeel.installColorsAndFont(JComponent c,
String defaultBgName,
String defaultFgName,
String defaultFontName)
Convenience method for initializing a components foreground background and font properties with values from the current defaults table. |
static void |
LookAndFeel.installBorder(JComponent c,
String defaultBorderName)
Convenience method for installing a component's default Border object on the specified component if either the border is currently null or already an instance of UIResource. |
static Object |
LookAndFeel.makeIcon(Class baseClass,
String gifFile)
Utility method that creates a UIDefaults.LazyValue that creates an ImageIcon UIResource for the specified gifFile
filename. |
static Object |
LookAndFeel.getDesktopPropertyValue(String systemPropertyName,
Object fallbackValue)
Returns the value of the specified system desktop property by invoking Toolkit.getDefaultToolkit().getDesktopProperty() . |
Class |
UIDefaults.getUIClass(String uiClassID,
ClassLoader uiClassLoader)
The value of get(uidClassID) must be the
String name of a
class that implements the corresponding ComponentUI
class. |
Class |
UIDefaults.getUIClass(String uiClassID)
Returns the L&F class that renders this component. |
protected void |
UIDefaults.getUIError(String msg)
If getUI() fails for any reason,
it calls this method before returning null . |
protected void |
UIDefaults.firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Support for reporting bound property changes. |
void |
UIDefaults.addResourceBundle(String bundleName)
Adds a resource bundle to the list of resource bundles that are searched for localized values. |
void |
UIDefaults.removeResourceBundle(String bundleName)
Removes a resource bundle from the list of resource bundles that are searched for localized defaults. |
static void |
UIManager.installLookAndFeel(String name,
String className)
Creates a new look and feel and adds it to the current array. |
static void |
UIManager.setLookAndFeel(String className)
Sets the current default look and feel using a class name. |
static Container |
SwingUtilities.getAncestorNamed(String name,
Component comp)
Convenience method for searching above comp in the
component hierarchy and returns the first object of name it
finds. |
static int |
SwingUtilities.computeStringWidth(FontMetrics fm,
String str)
Compute the width of the string using a font with the specified "metrics" (sizes). |
static String |
SwingUtilities.layoutCompoundLabel(JComponent c,
FontMetrics fm,
String text,
Icon icon,
int verticalAlignment,
int horizontalAlignment,
int verticalTextPosition,
int horizontalTextPosition,
Rectangle viewR,
Rectangle iconR,
Rectangle textR,
int textIconGap)
Compute and return the location of the icons origin, the location of origin of the text baseline, and a possibly clipped version of the compound labels string. |
static String |
SwingUtilities.layoutCompoundLabel(FontMetrics fm,
String text,
Icon icon,
int verticalAlignment,
int horizontalAlignment,
int verticalTextPosition,
int horizontalTextPosition,
Rectangle viewR,
Rectangle iconR,
Rectangle textR,
int textIconGap)
Compute and return the location of the icons origin, the location of origin of the text baseline, and a possibly clipped version of the compound labels string. |
JMenuItem |
JPopupMenu.add(String s)
Creates a new menu item with the specified text and appends it to the end of this menu. |
void |
JPopupMenu.setLabel(String label)
Sets the popup menu's label. |
void |
ButtonModel.setActionCommand(String s)
Sets the actionCommand string that gets sent as part of the event when the button is pressed. |
protected void |
JMenuItem.init(String text,
Icon icon)
Initializes the menu item with the specified text and icon. |
JMenuItem |
JMenu.add(String s)
Creates a new menu item with the specified text and appends it to the end of this menu. |
void |
JMenu.insert(String s,
int pos)
Inserts a new menu item with the specified text at a given position. |
void |
JToolTip.setTipText(String tipText)
Sets the text to show when the tool tip is displayed. |
static KeyStroke |
KeyStroke.getKeyStroke(String s)
Parses a string and returns a KeyStroke . |
Object |
Action.getValue(String key)
Gets one of this object's properties using the associated key. |
void |
Action.putValue(String key,
Object value)
Sets one of this object's properties using the associated key. |
Object |
AbstractAction.getValue(String key)
Gets the Object associated with the specified key. |
void |
AbstractAction.putValue(String key,
Object newValue)
Sets the Value associated with the specified key. |
protected void |
AbstractAction.firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Supports reporting bound property changes. |
void |
AbstractButton.setText(String text)
Sets the button's text. |
protected int |
AbstractButton.checkHorizontalKey(int key,
String exception)
Verify that key is a legal value for the horizontalAlignment properties. |
protected int |
AbstractButton.checkVerticalKey(int key,
String exception)
Ensures that the key is a valid. |
void |
AbstractButton.setActionCommand(String actionCommand)
Sets the action command for this button. |
void |
AbstractButton.setLabel(String label)
Deprecated. - Replaced by setText(text) |
protected void |
AbstractButton.init(String text,
Icon icon)
|
void |
JComponent.registerKeyboardAction(ActionListener anAction,
String aCommand,
KeyStroke aKeyStroke,
int aCondition)
This method is now obsolete, please use a combination of getActionMap() and getInputMap() for
similiar behavior. |
void |
JComponent.setToolTipText(String text)
Registers the text to display in a tool tip. |
protected void |
JComponent.firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Supports reporting bound property changes. |
void |
JComponent.firePropertyChange(String propertyName,
byte oldValue,
byte newValue)
Reports a bound property change. |
void |
JComponent.firePropertyChange(String propertyName,
char oldValue,
char newValue)
Reports a bound property change. |
void |
JComponent.firePropertyChange(String propertyName,
short oldValue,
short newValue)
Reports a bound property change. |
void |
JComponent.firePropertyChange(String propertyName,
int oldValue,
int newValue)
Reports a bound property change. |
void |
JComponent.firePropertyChange(String propertyName,
long oldValue,
long newValue)
Reports a bound property change. |
void |
JComponent.firePropertyChange(String propertyName,
float oldValue,
float newValue)
Reports a bound property change. |
void |
JComponent.firePropertyChange(String propertyName,
double oldValue,
double newValue)
Reports a bound property change. |
void |
JComponent.firePropertyChange(String propertyName,
boolean oldValue,
boolean newValue)
Reports a bound property change. |
void |
JComponent.addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Adds a PropertyChangeListener for a specific property. |
void |
JComponent.removePropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Removes a PropertyChangeListener for a specific property. |
PropertyChangeListener[] |
JComponent.getPropertyChangeListeners(String propertyName)
Returns an array of all the listeners which have been associated with the named property. |
protected void |
JComponent.fireVetoableChange(String propertyName,
Object oldValue,
Object newValue)
Supports reporting constrained property changes. |
void |
JRootPane.RootLayout.addLayoutComponent(String name,
Component comp)
|
Constructors in javax.swing with parameters of type String | |
ProgressMonitor(Component parentComponent,
Object message,
String note,
int min,
int max)
Constructs a graphic object that shows progress, typically by filling in a rectangular bar as the process nears completion. |
|
JToolBar(String name)
Creates a new tool bar with the specified name . |
|
JToolBar(String name,
int orientation)
Creates a new tool bar with a specified name and
orientation . |
|
JRadioButtonMenuItem(String text)
Creates a JRadioButtonMenuItem with text. |
|
JRadioButtonMenuItem(String text,
Icon icon)
Creates a radio button menu item with the specified text and Icon . |
|
JRadioButtonMenuItem(String text,
boolean selected)
Creates a radio button menu item with the specified text and selection state. |
|
JRadioButtonMenuItem(String text,
Icon icon,
boolean selected)
Creates a radio button menu item that has the specified text, image, and selection state. |
|
JCheckBoxMenuItem(String text)
Creates an initially unselected check box menu item with text. |
|
JCheckBoxMenuItem(String text,
Icon icon)
Creates an initially unselected check box menu item with the specified text and icon. |
|
JCheckBoxMenuItem(String text,
boolean b)
Creates a check box menu item with the specified text and selection state. |
|
JCheckBoxMenuItem(String text,
Icon icon,
boolean b)
Creates a check box menu item with the specified text, icon, and selection state. |
|
JSpinner.DateEditor(JSpinner spinner,
String dateFormatPattern)
Construct a JSpinner editor that supports displaying
and editing the value of a SpinnerDateModel
with a JFormattedTextField . |
|
JSpinner.NumberEditor(JSpinner spinner,
String decimalFormatPattern)
Construct a JSpinner editor that supports displaying
and editing the value of a SpinnerNumberModel
with a JFormattedTextField . |
|
JFileChooser(String currentDirectoryPath)
Constructs a JFileChooser using the given path. |
|
JFileChooser(String currentDirectoryPath,
FileSystemView fsv)
Constructs a JFileChooser using the given current directory
path and FileSystemView . |
|
JPasswordField(String text)
Constructs a new JPasswordField initialized
with the specified text. |
|
JPasswordField(String text,
int columns)
Constructs a new JPasswordField initialized with
the specified text and columns. |
|
JPasswordField(Document doc,
String txt,
int columns)
Constructs a new JPasswordField that uses the
given text storage model and the given number of columns. |
|
JRadioButton(String text)
Creates an unselected radio button with the specified text. |
|
JRadioButton(String text,
boolean selected)
Creates a radio button with the specified text and selection state. |
|
JRadioButton(String text,
Icon icon)
Creates a radio button that has the specified text and image, and that is initially unselected. |
|
JRadioButton(String text,
Icon icon,
boolean selected)
Creates a radio button that has the specified text, image, and selection state. |
|
JTextArea(String text)
Constructs a new TextArea with the specified text displayed. |
|
JTextArea(String text,
int rows,
int columns)
Constructs a new TextArea with the specified text and number of rows and columns. |
|
JTextArea(Document doc,
String text,
int rows,
int columns)
Constructs a new JTextArea with the specified number of rows and columns, and the given model. |
|
JDialog(Frame owner,
String title)
Creates a non-modal dialog with the specified title and with the specified owner frame. |
|
JDialog(Frame owner,
String title,
boolean modal)
Creates a modal or non-modal dialog with the specified title and the specified owner Frame . |
|
JDialog(Frame owner,
String title,
boolean modal,
GraphicsConfiguration gc)
Creates a modal or non-modal dialog with the specified title, owner Frame , and GraphicsConfiguration . |
|
JDialog(Dialog owner,
String title)
Creates a non-modal dialog with the specified title and with the specified owner dialog. |
|
JDialog(Dialog owner,
String title,
boolean modal)
Creates a modal or non-modal dialog with the specified title and the specified owner frame. |
|
JDialog(Dialog owner,
String title,
boolean modal,
GraphicsConfiguration gc)
Creates a modal or non-modal dialog with the specified title, owner Dialog , and GraphicsConfiguration . |
|
ImageIcon(String filename,
String description)
Creates an ImageIcon from the specified file. |
|
ImageIcon(String filename)
Creates an ImageIcon from the specified file. |
|
ImageIcon(URL location,
String description)
Creates an ImageIcon from the specified URL. |
|
ImageIcon(Image image,
String description)
Creates an ImageIcon from the image. |
|
ImageIcon(byte[] imageData,
String description)
Creates an ImageIcon from an array of bytes which were read from an image file containing a supported image format, such as GIF or JPEG. |
|
JTextField(String text)
Constructs a new TextField initialized with the
specified text. |
|
JTextField(String text,
int columns)
Constructs a new TextField initialized with the
specified text and columns. |
|
JTextField(Document doc,
String text,
int columns)
Constructs a new JTextField that uses the given text
storage model and the given number of columns. |
|
JToggleButton(String text)
Creates an unselected toggle button with the specified text. |
|
JToggleButton(String text,
boolean selected)
Creates a toggle button with the specified text and selection state. |
|
JToggleButton(String text,
Icon icon)
Creates a toggle button that has the specified text and image, and that is initially unselected. |
|
JToggleButton(String text,
Icon icon,
boolean selected)
Creates a toggle button with the specified text, image, and selection state. |
|
JCheckBox(String text)
Creates an initially unselected check box with text. |
|
JCheckBox(String text,
boolean selected)
Creates a check box with text and specifies whether or not it is initially selected. |
|
JCheckBox(String text,
Icon icon)
Creates an initially unselected check box with the specified text and icon. |
|
JCheckBox(String text,
Icon icon,
boolean selected)
Creates a check box with text and icon, and specifies whether or not it is initially selected. |
|
JLabel(String text,
Icon icon,
int horizontalAlignment)
Creates a JLabel instance with the specified
text, image, and horizontal alignment. |
|
JLabel(String text,
int horizontalAlignment)
Creates a JLabel instance with the specified
text and horizontal alignment. |
|
JLabel(String text)
Creates a JLabel instance with the specified text. |
|
JInternalFrame(String title)
Creates a non-resizable, non-closable, non-maximizable, non-iconifiable JInternalFrame with the specified title. |
|
JInternalFrame(String title,
boolean resizable)
Creates a non-closable, non-maximizable, non-iconifiable JInternalFrame with the specified title
and resizability. |
|
JInternalFrame(String title,
boolean resizable,
boolean closable)
Creates a non-maximizable, non-iconifiable JInternalFrame
with the specified title, resizability, and
closability. |
|
JInternalFrame(String title,
boolean resizable,
boolean closable,
boolean maximizable)
Creates a non-iconifiable JInternalFrame
with the specified title,
resizability, closability, and maximizability. |
|
JInternalFrame(String title,
boolean resizable,
boolean closable,
boolean maximizable,
boolean iconifiable)
Creates a JInternalFrame with the specified title,
resizability, closability, maximizability, and iconifiability. |
|
UnsupportedLookAndFeelException(String s)
Constructs an UnsupportedLookAndFeelException object. |
|
JEditorPane(String url)
Creates a JEditorPane based on a string containing
a URL specification. |
|
JEditorPane(String type,
String text)
Creates a JEditorPane that has been initialized
to the given text. |
|
UIDefaults.ProxyLazyValue(String c)
Creates a LazyValue which will construct an instance
when asked. |
|
UIDefaults.ProxyLazyValue(String c,
String m)
Creates a LazyValue which will construct an instance
when asked. |
|
UIDefaults.ProxyLazyValue(String c,
Object[] o)
Creates a LazyValue which will construct an instance
when asked. |
|
UIDefaults.ProxyLazyValue(String c,
String m,
Object[] o)
Creates a LazyValue which will construct an instance
when asked. |
|
UIManager.LookAndFeelInfo(String name,
String className)
Constructs a UIManager s
LookAndFeelInfo object. |
|
JPopupMenu(String label)
Constructs a JPopupMenu with the specified title. |
|
JMenuItem(String text)
Creates a JMenuItem with the specified text. |
|
JMenuItem(String text,
Icon icon)
Creates a JMenuItem with the specified text and icon. |
|
JMenuItem(String text,
int mnemonic)
Creates a JMenuItem with the specified text and
keyboard mnemonic. |
|
JMenu(String s)
Constructs a new JMenu with the supplied string
as its text. |
|
JMenu(String s,
boolean b)
Constructs a new JMenu with the supplied string as
its text and specified as a tear-off menu or not. |
|
TransferHandler(String property)
Constructs a transfer handler that can transfer a Java Bean property from one component to another via the clipboard or a drag and drop operation. |
|
AbstractAction(String name)
Defines an Action object with the specified
description string and a default icon. |
|
AbstractAction(String name,
Icon icon)
Defines an Action object with the specified
description string and a the specified icon. |
|
JButton(String text)
Creates a button with text. |
|
JButton(String text,
Icon icon)
Creates a button with initial text and an icon. |
|
JFrame(String title)
Creates a new, initially invisible Frame with the
specified title. |
|
JFrame(String title,
GraphicsConfiguration gc)
Creates a JFrame with the specified title and the
specified GraphicsConfiguration of a screen device. |
Uses of String in javax.swing.border |
Fields in javax.swing.border declared as String | |
protected String |
TitledBorder.title
|
Methods in javax.swing.border that return String | |
String |
TitledBorder.getTitle()
Returns the title of the titled border. |
Methods in javax.swing.border with parameters of type String | |
void |
TitledBorder.setTitle(String title)
Sets the title of the titled border. |
Constructors in javax.swing.border with parameters of type String | |
TitledBorder(String title)
Creates a TitledBorder instance. |
|
TitledBorder(Border border,
String title)
Creates a TitledBorder instance with the specified border and title. |
|
TitledBorder(Border border,
String title,
int titleJustification,
int titlePosition)
Creates a TitledBorder instance with the specified border, title, title-justification, and title-position. |
|
TitledBorder(Border border,
String title,
int titleJustification,
int titlePosition,
Font titleFont)
Creates a TitledBorder instance with the specified border, title, title-justification, title-position, and title-font. |
|
TitledBorder(Border border,
String title,
int titleJustification,
int titlePosition,
Font titleFont,
Color titleColor)
Creates a TitledBorder instance with the specified border, title, title-justification, title-position, title-font, and title-color. |
Uses of String in javax.swing.colorchooser |
Methods in javax.swing.colorchooser that return String | |
abstract String |
AbstractColorChooserPanel.getDisplayName()
Returns a string containing the display name of the panel. |
Uses of String in javax.swing.event |
Methods in javax.swing.event that return String | |
String |
TreeModelEvent.toString()
Returns a string that displays and identifies this object's properties. |
String |
ListDataEvent.toString()
Returns a string representation of this ListDataEvent. |
String |
ListSelectionEvent.toString()
Returns a string that displays and identifies this object's properties. |
String |
InternalFrameEvent.paramString()
Returns a parameter string identifying this event. |
String |
HyperlinkEvent.getDescription()
Get the description of the link as a string. |
String |
HyperlinkEvent.EventType.toString()
Converts the type to a string. |
String |
DocumentEvent.EventType.toString()
Converts the type to a string. |
String |
EventListenerList.toString()
Returns a string representation of the EventListenerList. |
Methods in javax.swing.event with parameters of type String | |
void |
SwingPropertyChangeSupport.addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Add a PropertyChangeListener for a specific property. |
void |
SwingPropertyChangeSupport.removePropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Remove a PropertyChangeListener for a specific property. |
PropertyChangeListener[] |
SwingPropertyChangeSupport.getPropertyChangeListeners(String propertyName)
Returns an array of all the listeners which have been associated with the named property. |
void |
SwingPropertyChangeSupport.firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Report a bound property update to any registered listeners. |
boolean |
SwingPropertyChangeSupport.hasListeners(String propertyName)
Check if there are any listeners for a specific property. |
Constructors in javax.swing.event with parameters of type String | |
HyperlinkEvent(Object source,
HyperlinkEvent.EventType type,
URL u,
String desc)
Creates a new object representing a hypertext link event. |
|
HyperlinkEvent(Object source,
HyperlinkEvent.EventType type,
URL u,
String desc,
Element sourceElement)
Creates a new object representing a hypertext link event. |
Uses of String in javax.swing.filechooser |
Methods in javax.swing.filechooser that return String | |
String |
FileSystemView.getSystemDisplayName(File f)
Name of a file, directory, or folder as it would be displayed in a system file browser. |
String |
FileSystemView.getSystemTypeDescription(File f)
Type description for a file, directory, or folder as it would be displayed in a system file browser. |
abstract String |
FileFilter.getDescription()
The description of this filter. |
String |
FileView.getName(File f)
The name of the file. |
String |
FileView.getDescription(File f)
A human readable description of the file. |
String |
FileView.getTypeDescription(File f)
A human readable description of the type of the file. |
Methods in javax.swing.filechooser with parameters of type String | |
File |
FileSystemView.getChild(File parent,
String fileName)
|
File |
FileSystemView.createFileObject(File dir,
String filename)
Returns a File object constructed in dir from the given filename. |
File |
FileSystemView.createFileObject(String path)
Returns a File object constructed from the given path string. |
Uses of String in javax.swing.plaf |
Methods in javax.swing.plaf that return String | |
abstract String |
FileChooserUI.getApproveButtonText(JFileChooser fc)
|
abstract String |
FileChooserUI.getDialogTitle(JFileChooser fc)
|
String |
TextUI.getToolTipText(JTextComponent t,
Point pt)
Returns the string to be used as the tooltip at the passed in location. |
Constructors in javax.swing.plaf with parameters of type String | |
BorderUIResource.TitledBorderUIResource(String title)
|
|
BorderUIResource.TitledBorderUIResource(Border border,
String title)
|
|
BorderUIResource.TitledBorderUIResource(Border border,
String title,
int titleJustification,
int titlePosition)
|
|
BorderUIResource.TitledBorderUIResource(Border border,
String title,
int titleJustification,
int titlePosition,
Font titleFont)
|
|
BorderUIResource.TitledBorderUIResource(Border border,
String title,
int titleJustification,
int titlePosition,
Font titleFont,
Color titleColor)
|
|
FontUIResource(String name,
int style,
int size)
|
Uses of String in javax.swing.plaf.basic |
Fields in javax.swing.plaf.basic declared as String | |
protected String |
BasicToolBarUI.constraintBeforeFloating
|
protected static String |
BasicSplitPaneUI.NON_CONTINUOUS_DIVIDER
The divider used for non-continuous layout is added to the split pane with this object. |
protected static String |
BasicInternalFrameTitlePane.CLOSE_CMD
|
protected static String |
BasicInternalFrameTitlePane.ICONIFY_CMD
|
protected static String |
BasicInternalFrameTitlePane.RESTORE_CMD
|
protected static String |
BasicInternalFrameTitlePane.MAXIMIZE_CMD
|
protected static String |
BasicInternalFrameTitlePane.MOVE_CMD
|
protected static String |
BasicInternalFrameTitlePane.SIZE_CMD
|
protected String |
BasicFileChooserUI.saveButtonText
|
protected String |
BasicFileChooserUI.openButtonText
|
protected String |
BasicFileChooserUI.cancelButtonText
|
protected String |
BasicFileChooserUI.updateButtonText
|
protected String |
BasicFileChooserUI.helpButtonText
|
protected String |
BasicFileChooserUI.directoryOpenButtonText
The label text displayed on the approve button when a directory is selected and the current selection mode is not DIRECTORIES_ONLY. |
protected String |
BasicFileChooserUI.saveButtonToolTipText
|
protected String |
BasicFileChooserUI.openButtonToolTipText
|
protected String |
BasicFileChooserUI.cancelButtonToolTipText
|
protected String |
BasicFileChooserUI.updateButtonToolTipText
|
protected String |
BasicFileChooserUI.helpButtonToolTipText
|
protected String |
BasicFileChooserUI.directoryOpenButtonToolTipText
The tooltip text displayed on the approve button when a directory is selected and the current selection mode is not DIRECTORIES_ONLY. |
static String |
BasicHTML.propertyKey
Key to use for the html renderer when stored as a client property of a JComponent. |
static String |
BasicHTML.documentBaseKey
Key stored as a client property to indicate the base that relative references are resolved against. |
Methods in javax.swing.plaf.basic that return String | |
protected String |
BasicTextPaneUI.getPropertyPrefix()
Fetches the name used as a key to lookup properties through the UIManager. |
protected String |
BasicTextAreaUI.getPropertyPrefix()
Fetches the name used as a key to look up properties through the UIManager. |
protected String |
BasicRadioButtonMenuItemUI.getPropertyPrefix()
|
protected String |
BasicPasswordFieldUI.getPropertyPrefix()
Fetches the name used as a key to look up properties through the UIManager. |
protected String |
BasicMenuUI.getPropertyPrefix()
|
protected String |
BasicCheckBoxMenuItemUI.getPropertyPrefix()
|
protected String |
BasicMenuItemUI.getPropertyPrefix()
|
protected String |
BasicLabelUI.layoutCL(JLabel label,
FontMetrics fontMetrics,
String text,
Icon icon,
Rectangle viewR,
Rectangle iconR,
Rectangle textR)
Forwards the call to SwingUtilities.layoutCompoundLabel(). |
protected String |
BasicInternalFrameTitlePane.getTitle(String text,
FontMetrics fm,
int availTextWidth)
|
protected String |
BasicTextFieldUI.getPropertyPrefix()
Fetches the name used as a key to lookup properties through the UIManager. |
protected String |
BasicFormattedTextFieldUI.getPropertyPrefix()
Fetches the name used as a key to lookup properties through the UIManager. |
String |
BasicFileChooserUI.BasicFileView.getName(File f)
|
String |
BasicFileChooserUI.BasicFileView.getDescription(File f)
|
String |
BasicFileChooserUI.BasicFileView.getTypeDescription(File f)
|
String |
BasicFileChooserUI.AcceptAllFileFilter.getDescription()
|
String |
BasicFileChooserUI.getFileName()
|
String |
BasicFileChooserUI.getDirectoryName()
|
String |
BasicFileChooserUI.getApproveButtonToolTipText(JFileChooser fc)
|
String |
BasicFileChooserUI.getDialogTitle(JFileChooser fc)
Returns the title of this dialog |
String |
BasicFileChooserUI.getApproveButtonText(JFileChooser fc)
|
protected String |
BasicEditorPaneUI.getPropertyPrefix()
Fetches the name used as a key to lookup properties through the UIManager. |
protected String |
BasicToggleButtonUI.getPropertyPrefix()
|
protected String |
BasicRadioButtonUI.getPropertyPrefix()
|
String |
BasicCheckBoxUI.getPropertyPrefix()
|
protected String |
BasicButtonUI.getPropertyPrefix()
|
protected String |
BasicTextUI.getKeymapName()
Fetches the name of the keymap that will be installed/used by default for this UI. |
protected abstract String |
BasicTextUI.getPropertyPrefix()
Gets the name used as a key to look up properties through the UIManager. |
String |
BasicTextUI.getToolTipText(JTextComponent t,
Point pt)
Returns the string to be used as the tooltip at the passed in location. |
Methods in javax.swing.plaf.basic with parameters of type String | |
protected void |
BasicTabbedPaneUI.layoutLabel(int tabPlacement,
FontMetrics metrics,
int tabIndex,
String title,
Icon icon,
Rectangle tabRect,
Rectangle iconRect,
Rectangle textRect,
boolean isSelected)
|
protected void |
BasicTabbedPaneUI.paintText(Graphics g,
int tabPlacement,
Font font,
FontMetrics metrics,
int tabIndex,
String title,
Rectangle textRect,
boolean isSelected)
|
void |
BasicTabbedPaneUI.TabbedPaneLayout.addLayoutComponent(String name,
Component comp)
|
void |
BasicSplitPaneUI.BasicHorizontalLayoutManager.addLayoutComponent(String place,
Component component)
Adds the component at place. |
void |
BasicSplitPaneDivider.DividerLayout.addLayoutComponent(String string,
Component c)
|
void |
BasicScrollBarUI.addLayoutComponent(String name,
Component child)
|
protected Point |
BasicProgressBarUI.getStringPlacement(Graphics g,
String progressString,
int x,
int y,
int width,
int height)
Designate the place where the progress string will be painted. |
protected void |
BasicOptionPaneUI.burstStringInto(Container c,
String d,
int maxll)
Recursively creates new JLabel instances to represent d . |
void |
BasicOptionPaneUI.ButtonAreaLayout.addLayoutComponent(String string,
Component comp)
|
protected void |
BasicMenuItemUI.paintText(Graphics g,
JMenuItem menuItem,
Rectangle textRect,
String text)
Renders the text of the current menu item. |
protected void |
BasicLookAndFeel.loadSystemColors(UIDefaults table,
String[] systemColors,
boolean useNative)
If this is the native look and feel the initial values for the system color properties are the same as the SystemColor constants. |
protected String |
BasicLabelUI.layoutCL(JLabel label,
FontMetrics fontMetrics,
String text,
Icon icon,
Rectangle viewR,
Rectangle iconR,
Rectangle textR)
Forwards the call to SwingUtilities.layoutCompoundLabel(). |
protected void |
BasicLabelUI.paintEnabledText(JLabel l,
Graphics g,
String s,
int textX,
int textY)
Paint clippedText at textX, textY with the labels foreground color. |
protected void |
BasicLabelUI.paintDisabledText(JLabel l,
Graphics g,
String s,
int textX,
int textY)
Paint clippedText at textX, textY with background.lighter() and then shifted down and to the right by one pixel with background.darker(). |
void |
BasicInternalFrameUI.InternalFrameLayout.addLayoutComponent(String name,
Component c)
|
protected String |
BasicInternalFrameTitlePane.getTitle(String text,
FontMetrics fm,
int availTextWidth)
|
void |
BasicInternalFrameTitlePane.TitlePaneLayout.addLayoutComponent(String name,
Component c)
|
static void |
BasicGraphicsUtils.drawString(Graphics g,
String text,
int underlinedChar,
int x,
int y)
Draw a string with the graphics g at location (x,y)
just like g.drawString would. |
static void |
BasicGraphicsUtils.drawStringUnderlineCharAt(Graphics g,
String text,
int underlinedIndex,
int x,
int y)
Draw a string with the graphics g at location
(x , y )
just like g.drawString would. |
void |
BasicFileChooserUI.setFileName(String filename)
|
void |
BasicFileChooserUI.setDirectoryName(String dirname)
|
static View |
BasicHTML.createHTMLView(JComponent c,
String html)
Create an html renderer for the given component and string of html. |
static boolean |
BasicHTML.isHTMLString(String s)
Check the given string to see if it should trigger the html rendering logic in a non-text component that supports html rendering. |
static void |
BasicHTML.updateRenderer(JComponent c,
String text)
Stash the HTML render for the given text into the client properties of the given JComponent. |
void |
BasicComboBoxUI.ComboBoxLayoutManager.addLayoutComponent(String name,
Component comp)
|
protected void |
BasicButtonUI.paintText(Graphics g,
JComponent c,
Rectangle textRect,
String text)
As of Java 2 platform v 1.4 this method should not be used or overriden. |
protected void |
BasicButtonUI.paintText(Graphics g,
AbstractButton b,
Rectangle textRect,
String text)
Method which renders the text of the current button. |
Constructors in javax.swing.plaf.basic with parameters of type String | |
BasicTreeUI.TreeTraverseAction(int direction,
String name)
|
|
BasicTreeUI.TreePageAction(int direction,
String name)
|
|
BasicTreeUI.TreeIncrementAction(int direction,
String name)
|
|
BasicTreeUI.TreeHomeAction(int direction,
String name)
|
|
BasicTreeUI.TreeToggleAction(String name)
|
|
BasicTreeUI.TreeCancelEditingAction(String name)
|
Uses of String in javax.swing.plaf.metal |
Fields in javax.swing.plaf.metal declared as String | |
protected String |
MetalSliderUI.SLIDER_FILL
|
static String |
MetalScrollBarUI.FREE_STANDING_PROP
|
protected static String |
MetalInternalFrameUI.IS_PALETTE
|
Methods in javax.swing.plaf.metal that return String | |
String |
MetalToolTipUI.getAcceleratorString()
|
String |
MetalLookAndFeel.getName()
|
String |
MetalLookAndFeel.getID()
|
String |
MetalLookAndFeel.getDescription()
|
String |
MetalFileChooserUI.getFileName()
|
String |
MetalFileChooserUI.getDirectoryName()
|
String |
MetalCheckBoxUI.getPropertyPrefix()
|
abstract String |
MetalTheme.getName()
|
String |
DefaultMetalTheme.getName()
|
Methods in javax.swing.plaf.metal with parameters of type String | |
protected void |
MetalToggleButtonUI.paintText(Graphics g,
JComponent c,
Rectangle textRect,
String text)
|
void |
MetalFileChooserUI.setFileName(String filename)
|
void |
MetalFileChooserUI.setDirectoryName(String dirname)
|
protected void |
MetalLabelUI.paintDisabledText(JLabel l,
Graphics g,
String s,
int textX,
int textY)
Just paint the text gray (Label.disabledForeground) rather than in the labels foreground color. |
protected void |
MetalButtonUI.paintText(Graphics g,
JComponent c,
Rectangle textRect,
String text)
|
Uses of String in javax.swing.plaf.multi |
Methods in javax.swing.plaf.multi that return String | |
String |
MultiTextUI.getToolTipText(JTextComponent a,
Point b)
Invokes the getToolTipText method on each UI handled by this object. |
String |
MultiLookAndFeel.getName()
Returns a string, suitable for use in menus, that identifies this look and feel. |
String |
MultiLookAndFeel.getID()
Returns a string, suitable for use by applications/services, that identifies this look and feel. |
String |
MultiLookAndFeel.getDescription()
Returns a one-line description of this look and feel. |
String |
MultiFileChooserUI.getApproveButtonText(JFileChooser a)
Invokes the getApproveButtonText method on each UI handled by this object. |
String |
MultiFileChooserUI.getDialogTitle(JFileChooser a)
Invokes the getDialogTitle method on each UI handled by this object. |
Uses of String in javax.swing.table |
Fields in javax.swing.table declared as String | |
static String |
TableColumn.COLUMN_WIDTH_PROPERTY
Obsolete as of Java 2 platform v1.3. |
static String |
TableColumn.HEADER_VALUE_PROPERTY
Obsolete as of Java 2 platform v1.3. |
static String |
TableColumn.HEADER_RENDERER_PROPERTY
Obsolete as of Java 2 platform v1.3. |
static String |
TableColumn.CELL_RENDERER_PROPERTY
Obsolete as of Java 2 platform v1.3. |
Methods in javax.swing.table that return String | |
String |
AbstractTableModel.getColumnName(int column)
Returns a default name for the column using spreadsheet conventions: A, B, C, ... |
String |
DefaultTableModel.getColumnName(int column)
Returns the column name. |
String |
TableModel.getColumnName(int columnIndex)
Returns the name of the column at columnIndex . |
String |
JTableHeader.getToolTipText(MouseEvent event)
Allows the renderer's tips to be used if there is text set. |
String |
JTableHeader.getUIClassID()
Returns the suffix used to construct the name of the look and feel (L&F) class used to render this component. |
protected String |
JTableHeader.paramString()
Returns a string representation of this JTableHeader . |
String |
JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry.getAccessibleName()
|
String |
JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry.getAccessibleDescription()
|
Methods in javax.swing.table with parameters of type String | |
int |
AbstractTableModel.findColumn(String columnName)
Returns a column given its name. |
protected void |
DefaultTableCellRenderer.firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Overridden for performance reasons. |
void |
DefaultTableCellRenderer.firePropertyChange(String propertyName,
boolean oldValue,
boolean newValue)
Overridden for performance reasons. |
void |
JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry.setAccessibleName(String s)
|
void |
JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry.setAccessibleDescription(String s)
|
Uses of String in javax.swing.text |
Fields in javax.swing.text declared as String | |
static String |
StyleContext.DEFAULT_STYLE
The name given to the default logical style attached to paragraphs. |
static String |
PlainDocument.tabSizeAttribute
Name of the attribute that specifies the tab size for tabs contained in the content. |
static String |
PlainDocument.lineLimitAttribute
Name of the attribute that specifies the maximum length of a line, if there is a maximum length. |
protected static String |
AbstractDocument.BAD_LOCATION
Error message to indicate a bad location. |
static String |
AbstractDocument.ParagraphElementName
Name of elements used to represent paragraphs |
static String |
AbstractDocument.ContentElementName
Name of elements used to represent content |
static String |
AbstractDocument.SectionElementName
Name of elements used to hold sections (lines/paragraphs). |
static String |
AbstractDocument.BidiElementName
Name of elements used to hold a unidirectional run |
static String |
AbstractDocument.ElementNameAttribute
Name of the attribute used to specify element names. |
static String |
DefaultEditorKit.EndOfLineStringProperty
When reading a document if a CRLF is encountered a property with this name is added and the value will be "\r\n". |
static String |
DefaultEditorKit.insertContentAction
Name of the action to place content into the associated document. |
static String |
DefaultEditorKit.insertBreakAction
Name of the action to place a line/paragraph break into the document. |
static String |
DefaultEditorKit.insertTabAction
Name of the action to place a tab character into the document. |
static String |
DefaultEditorKit.deletePrevCharAction
Name of the action to delete the character of content that precedes the current caret position. |
static String |
DefaultEditorKit.deleteNextCharAction
Name of the action to delete the character of content that follows the current caret position. |
static String |
DefaultEditorKit.readOnlyAction
Name of the action to set the editor into read-only mode. |
static String |
DefaultEditorKit.writableAction
Name of the action to set the editor into writeable mode. |
static String |
DefaultEditorKit.cutAction
Name of the action to cut the selected region and place the contents into the system clipboard. |
static String |
DefaultEditorKit.copyAction
Name of the action to copy the selected region and place the contents into the system clipboard. |
static String |
DefaultEditorKit.pasteAction
Name of the action to paste the contents of the system clipboard into the selected region, or before the caret if nothing is selected. |
static String |
DefaultEditorKit.beepAction
Name of the action to create a beep. |
static String |
DefaultEditorKit.pageUpAction
Name of the action to page up vertically. |
static String |
DefaultEditorKit.pageDownAction
Name of the action to page down vertically. |
static String |
DefaultEditorKit.forwardAction
Name of the Action for moving the caret logically forward one position. |
static String |
DefaultEditorKit.backwardAction
Name of the Action for moving the caret logically backward one position. |
static String |
DefaultEditorKit.selectionForwardAction
Name of the Action for extending the selection by moving the caret logically forward one position. |
static String |
DefaultEditorKit.selectionBackwardAction
Name of the Action for extending the selection by moving the caret logically backward one position. |
static String |
DefaultEditorKit.upAction
Name of the Action for moving the caret logically upward one position. |
static String |
DefaultEditorKit.downAction
Name of the Action for moving the caret logically downward one position. |
static String |
DefaultEditorKit.selectionUpAction
Name of the Action for moving the caret logically upward one position, extending the selection. |
static String |
DefaultEditorKit.selectionDownAction
Name of the Action for moving the caret logically downward one position, extending the selection. |
static String |
DefaultEditorKit.beginWordAction
Name of the Action for moving the caret
to the beginning of a word. |
static String |
DefaultEditorKit.endWordAction
Name of the Action for moving the caret to the end of a word. |
static String |
DefaultEditorKit.selectionBeginWordAction
Name of the Action for moving the caret
to the beginning of a word, extending the selection. |
static String |
DefaultEditorKit.selectionEndWordAction
Name of the Action for moving the caret to the end of a word, extending the selection. |
static String |
DefaultEditorKit.previousWordAction
Name of the Action for moving the caret to the
beginning of the previous word. |
static String |
DefaultEditorKit.nextWordAction
Name of the Action for moving the caret to the
beginning of the next word. |
static String |
DefaultEditorKit.selectionPreviousWordAction
Name of the Action for moving the selection to the
beginning of the previous word, extending the selection. |
static String |
DefaultEditorKit.selectionNextWordAction
Name of the Action for moving the selection to the
beginning of the next word, extending the selection. |
static String |
DefaultEditorKit.beginLineAction
Name of the Action for moving the caret
to the beginning of a line. |
static String |
DefaultEditorKit.endLineAction
Name of the Action for moving the caret
to the end of a line. |
static String |
DefaultEditorKit.selectionBeginLineAction
Name of the Action for moving the caret
to the beginning of a line, extending the selection. |
static String |
DefaultEditorKit.selectionEndLineAction
Name of the Action for moving the caret
to the end of a line, extending the selection. |
static String |
DefaultEditorKit.beginParagraphAction
Name of the Action for moving the caret
to the beginning of a paragraph. |
static String |
DefaultEditorKit.endParagraphAction
Name of the Action for moving the caret
to the end of a paragraph. |
static String |
DefaultEditorKit.selectionBeginParagraphAction
Name of the Action for moving the caret
to the beginning of a paragraph, extending the selection. |
static String |
DefaultEditorKit.selectionEndParagraphAction
Name of the Action for moving the caret
to the end of a paragraph, extending the selection. |
static String |
DefaultEditorKit.beginAction
Name of the Action for moving the caret
to the beginning of the document. |
static String |
DefaultEditorKit.endAction
Name of the Action for moving the caret
to the end of the document. |
static String |
DefaultEditorKit.selectionBeginAction
Name of the Action for moving the caret
to the beginning of the document. |
static String |
DefaultEditorKit.selectionEndAction
Name of the Action for moving the caret to the end of the document. |
static String |
DefaultEditorKit.selectWordAction
Name of the Action for selecting a word around the caret. |
static String |
DefaultEditorKit.selectLineAction
Name of the Action for selecting a line around the caret. |
static String |
DefaultEditorKit.selectParagraphAction
Name of the Action for selecting a paragraph around the caret. |
static String |
DefaultEditorKit.selectAllAction
Name of the Action for selecting the entire document |
static String |
DefaultEditorKit.defaultKeyTypedAction
Name of the action that is executed by default if a key typed event is received and there is no keymap entry. |
static String |
JTextComponent.FOCUS_ACCELERATOR_KEY
The bound property name for the focus accelerator. |
static String |
JTextComponent.DEFAULT_KEYMAP
The default keymap that will be shared by all JTextComponent instances unless they
have had a different keymap set. |
String |
JTextComponent.KeyBinding.actionName
The name of the action for the key. |
static String |
StyleConstants.ComponentElementName
Name of elements used to represent components. |
static String |
StyleConstants.IconElementName
Name of elements used to represent icons. |
static String |
Document.StreamDescriptionProperty
The property name for the description of the stream used to initialize the document. |
static String |
Document.TitleProperty
The property name for the title of the document, if there is one. |
Methods in javax.swing.text that return String | |
String |
StringContent.getString(int where,
int len)
Retrieves a portion of the content. |
String |
MaskFormatter.getMask()
Returns the formatting mask. |
String |
MaskFormatter.getValidCharacters()
Returns the valid characters that can be input. |
String |
MaskFormatter.getInvalidCharacters()
Returns the characters that are not valid for input. |
String |
MaskFormatter.getPlaceholder()
Returns the String to use if the value does not completely fill in the mask. |
String |
MaskFormatter.valueToString(Object value)
Returns a String representation of the Object value
based on the mask. |
String |
DefaultFormatter.valueToString(Object value)
Converts the passed in Object into a String by way of the toString method. |
String |
InternationalFormatter.valueToString(Object value)
Returns a String representation of the Object value . |
protected String |
AbstractWriter.getText(Element elem)
Returns the text associated with the element. |
String |
AbstractWriter.getLineSeparator()
Returns the string used to represent newlines. |
String |
GapContent.getString(int where,
int len)
Retrieves a portion of the content. |
String |
ChangedCharSetException.getCharSetSpec()
|
String |
StyleContext.toString()
Converts a StyleContext to a String. |
String |
StyleContext.SmallAttributeSet.toString()
Returns a string showing the key/value pairs |
String |
StyleContext.NamedStyle.toString()
Converts the style to a string. |
String |
StyleContext.NamedStyle.getName()
Fetches the name of the style. |
String |
DefaultStyledDocument.SectionElement.getName()
Gets the name of the element. |
String |
DefaultStyledDocument.ElementSpec.toString()
Converts the element to a string. |
String |
SimpleAttributeSet.toString()
Converts the attribute set to a String. |
String |
AbstractDocument.getText(int offset,
int length)
Gets a sequence of text from the document. |
String |
AbstractDocument.Content.getString(int where,
int len)
Fetches a string of characters contained in the sequence. |
String |
AbstractDocument.AbstractElement.getName()
Gets the name of the element. |
String |
AbstractDocument.BranchElement.toString()
Converts the element to a string. |
String |
AbstractDocument.BranchElement.getName()
Gets the element name. |
String |
AbstractDocument.LeafElement.toString()
Converts the element to a string. |
String |
AbstractDocument.LeafElement.getName()
Gets the element name. |
String |
AbstractDocument.DefaultDocumentEvent.toString()
Returns a string description of the change event. |
String |
AbstractDocument.DefaultDocumentEvent.getPresentationName()
Provides a localized, human readable description of this edit suitable for use in, say, a change log. |
String |
AbstractDocument.DefaultDocumentEvent.getUndoPresentationName()
Provides a localized, human readable description of the undoable form of this edit, e.g. |
String |
AbstractDocument.DefaultDocumentEvent.getRedoPresentationName()
Provides a localized, human readable description of the redoable form of this edit, e.g. |
String |
DefaultEditorKit.getContentType()
Gets the MIME type of the data that this kit represents support for. |
abstract String |
EditorKit.getContentType()
Gets the MIME type of the data that this kit represents support for. |
String |
DefaultCaret.toString()
|
String |
Keymap.getName()
Fetches the name of the set of key-bindings. |
String |
JTextComponent.getText(int offs,
int len)
Fetches a portion of the text represented by the component. |
String |
JTextComponent.getText()
Returns the text contained in this TextComponent . |
String |
JTextComponent.getSelectedText()
Returns the selected text contained in this TextComponent . |
String |
JTextComponent.getToolTipText(MouseEvent event)
Returns the string to be used as the tooltip for event . |
protected String |
JTextComponent.paramString()
Returns a string representation of this JTextComponent . |
String |
JTextComponent.AccessibleJTextComponent.getSelectedText()
Returns the portion of the text that is selected. |
String |
JTextComponent.AccessibleJTextComponent.getAtIndex(int part,
int index)
|
String |
JTextComponent.AccessibleJTextComponent.getAfterIndex(int part,
int index)
|
String |
JTextComponent.AccessibleJTextComponent.getBeforeIndex(int part,
int index)
|
String |
JTextComponent.AccessibleJTextComponent.getTextRange(int startIndex,
int endIndex)
Returns the text string between two indices. |
String |
JTextComponent.AccessibleJTextComponent.getAccessibleActionDescription(int i)
Returns a description of the specified action of the object. |
String |
Style.getName()
Fetches the name of the style. |
String |
TabStop.toString()
|
String |
TabSet.toString()
Returns the string representation of the set of tabs. |
String |
StyleConstants.toString()
Returns the string representation. |
static String |
StyleConstants.getFontFamily(AttributeSet a)
Gets the font family setting from the attribute list. |
String |
Position.Bias.toString()
string representation |
String |
Segment.toString()
Converts a segment into a String. |
String |
Document.getText(int offset,
int length)
Fetches the text contained within the given portion of the document. |
String |
Element.getName()
Fetches the name of the element. |
String |
View.getToolTipText(float x,
float y,
Shape allocation)
Returns the tooltip text at the specified location. |
Methods in javax.swing.text with parameters of type String | |
UndoableEdit |
StringContent.insertString(int where,
String str)
Inserts a string into the content. |
void |
MaskFormatter.setMask(String mask)
Sets the mask dictating the legal characters. |
void |
MaskFormatter.setValidCharacters(String validCharacters)
Allows for further restricting of the characters that can be input. |
void |
MaskFormatter.setInvalidCharacters(String invalidCharacters)
Allows for further restricting of the characters that can be input. |
void |
MaskFormatter.setPlaceholder(String placeholder)
Sets the string to use if the value does not completely fill in the mask. |
Object |
MaskFormatter.stringToValue(String value)
Parses the text, returning the appropriate Object representation of the String value . |
Object |
DefaultFormatter.stringToValue(String string)
Converts the passed in String into an instance of getValueClass by way of the constructor that
takes a String argument. |
Object |
InternationalFormatter.stringToValue(String text)
Returns the Object representation of the
String text . |
void |
AbstractWriter.setLineSeparator(String value)
Sets the String used to reprsent newlines. |
protected void |
AbstractWriter.write(String content)
Writes out a string. |
UndoableEdit |
GapContent.insertString(int where,
String str)
Inserts a string into the content. |
Style |
StyleContext.addStyle(String nm,
Style parent)
Adds a new style into the style hierarchy. |
void |
StyleContext.removeStyle(String nm)
Removes a named style previously added to the document. |
Style |
StyleContext.getStyle(String nm)
Fetches a named style previously added to the document |
Font |
StyleContext.getFont(String family,
int style,
int size)
Gets a new font. |
void |
StyleContext.NamedStyle.setName(String name)
Changes the name of the style. |
Style |
DefaultStyledDocument.addStyle(String nm,
Style parent)
Adds a new style into the logical style hierarchy. |
void |
DefaultStyledDocument.removeStyle(String nm)
Removes a named style previously added to the document. |
Style |
DefaultStyledDocument.getStyle(String nm)
Fetches a named style previously added. |
void |
PlainDocument.insertString(int offs,
String str,
AttributeSet a)
Inserts some content into the document. |
void |
DocumentFilter.insertString(DocumentFilter.FilterBypass fb,
int offset,
String string,
AttributeSet attr)
Invoked prior to insertion of text into the specified Document. |
void |
DocumentFilter.replace(DocumentFilter.FilterBypass fb,
int offset,
int length,
String text,
AttributeSet attrs)
Invoked prior to replacing a region of text in the specified Document. |
abstract void |
DocumentFilter.FilterBypass.insertString(int offset,
String string,
AttributeSet attr)
Inserts the specified text, bypassing the DocumentFilter. |
abstract void |
DocumentFilter.FilterBypass.replace(int offset,
int length,
String string,
AttributeSet attrs)
Deletes the region of text from offset to
offset + length , and replaces it with
text . |
void |
AbstractDocument.replace(int offset,
int length,
String text,
AttributeSet attrs)
Deletes the region of text from offset to
offset + length , and replaces it with text . |
void |
AbstractDocument.insertString(int offs,
String str,
AttributeSet a)
Inserts some content into the document. |
UndoableEdit |
AbstractDocument.Content.insertString(int where,
String str)
Inserts a string of characters into the sequence. |
Style |
StyledDocument.addStyle(String nm,
Style parent)
Adds a new style into the logical style hierarchy. |
void |
StyledDocument.removeStyle(String nm)
Removes a named style previously added to the document. |
Style |
StyledDocument.getStyle(String nm)
Fetches a named style previously added. |
static Keymap |
JTextComponent.addKeymap(String nm,
Keymap parent)
Adds a new keymap into the keymap hierarchy. |
static Keymap |
JTextComponent.removeKeymap(String nm)
Removes a named keymap previously added to the document. |
static Keymap |
JTextComponent.getKeymap(String nm)
Fetches a named keymap previously added to the document. |
void |
JTextComponent.replaceSelection(String content)
Replaces the currently selected content with new content represented by the given string. |
void |
JTextComponent.setText(String t)
Sets the text of this TextComponent
to the specified text. |
void |
JTextComponent.AccessibleJTextComponent.setTextContents(String s)
Sets the text contents to the specified string. |
void |
JTextComponent.AccessibleJTextComponent.insertTextAtIndex(int index,
String s)
Inserts the specified string at the given index |
void |
JTextComponent.AccessibleJTextComponent.replaceText(int startIndex,
int endIndex,
String s)
Replaces the text between two indices with the specified string. |
static void |
StyleConstants.setFontFamily(MutableAttributeSet a,
String fam)
Sets the font attribute. |
void |
Document.insertString(int offset,
String str,
AttributeSet a)
Inserts a string of content. |
Constructors in javax.swing.text with parameters of type String | |
MaskFormatter(String mask)
Creates a MaskFormatter with the specified mask. |
|
ChangedCharSetException(String charSetSpec,
boolean charSetKey)
|
|
StyledEditorKit.AlignmentAction(String nm,
int a)
Creates a new AlignmentAction. |
|
StyledEditorKit.ForegroundAction(String nm,
Color fg)
Creates a new ForegroundAction. |
|
StyledEditorKit.FontSizeAction(String nm,
int size)
Creates a new FontSizeAction. |
|
StyledEditorKit.FontFamilyAction(String nm,
String family)
Creates a new FontFamilyAction. |
|
StyledEditorKit.StyledTextAction(String nm)
Creates a new StyledTextAction from a string action name. |
|
StyleContext.NamedStyle(String name,
Style parent)
Creates a new named style. |
|
TextAction(String name)
Creates a new JTextAction object. |
|
JTextComponent.KeyBinding(KeyStroke key,
String actionName)
Creates a new key binding. |
|
BadLocationException(String s,
int offs)
Creates a new BadLocationException object. |
Uses of String in javax.swing.text.html |
Fields in javax.swing.text.html declared as String | |
static String |
FormView.SUBMIT
Deprecated. As of 1.3, value now comes from UIManager property FormView.submitButtonText |
static String |
FormView.RESET
Deprecated. As of 1.3, value comes from UIManager UIManager property FormView.resetButtonText |
static String |
HTML.NULL_ATTRIBUTE_VALUE
|
static String |
HTMLEditorKit.DEFAULT_CSS
Default Cascading Style Sheet file that sets up the tag views. |
static String |
HTMLEditorKit.BOLD_ACTION
The bold action identifier |
static String |
HTMLEditorKit.ITALIC_ACTION
The italic action identifier |
static String |
HTMLEditorKit.PARA_INDENT_LEFT
The paragraph left indent action identifier |
static String |
HTMLEditorKit.PARA_INDENT_RIGHT
The paragraph right indent action identifier |
static String |
HTMLEditorKit.FONT_CHANGE_BIGGER
The font size increase to next value action identifier |
static String |
HTMLEditorKit.FONT_CHANGE_SMALLER
The font size decrease to next value action identifier |
static String |
HTMLEditorKit.COLOR_ACTION
The Color choice action identifier The color is passed as an argument |
static String |
HTMLEditorKit.LOGICAL_STYLE_ACTION
The logical style choice action identifier The logical style is passed in as an argument |
static String |
HTMLEditorKit.IMG_ALIGN_TOP
Align images at the top. |
static String |
HTMLEditorKit.IMG_ALIGN_MIDDLE
Align images in the middle. |
static String |
HTMLEditorKit.IMG_ALIGN_BOTTOM
Align images at the bottom. |
static String |
HTMLEditorKit.IMG_BORDER
Align images at the border. |
protected String |
HTMLEditorKit.InsertHTMLTextAction.html
HTML to insert. |
static String |
HTMLDocument.AdditionalComments
Document property key value. |
Methods in javax.swing.text.html that return String | |
String |
ImageView.getAltText()
Returns the text to display if the image can't be loaded. |
String |
ImageView.getToolTipText(float x,
float y,
Shape allocation)
For images the tooltip text comes from text specified with the ALT attribute. |
String |
Option.getLabel()
Fetch the label associated with the option. |
String |
Option.toString()
String representation is the label. |
String |
Option.getValue()
Convenience method to return the string associated with the value attribute. |
String |
CSS.Attribute.toString()
The string representation of the attribute. |
String |
CSS.Attribute.getDefaultValue()
Fetch the default value for the attribute. |
String |
HTMLFrameHyperlinkEvent.getTarget()
returns the target for the link. |
String |
HTML.Tag.toString()
Returns the string representation of the tag. |
String |
HTML.Attribute.toString()
Returns the string representation of this attribute. |
String |
HTMLEditorKit.getContentType()
Get the MIME type of the data that this kit represents support for. |
String |
HTMLDocument.RunElement.getName()
Gets the name of the element. |
String |
HTMLDocument.BlockElement.getName()
Gets the name of the element. |
Methods in javax.swing.text.html with parameters of type String | |
protected void |
FormView.submitData(String data)
This method is responsible for submitting the form data. |
protected void |
FormView.imageSubmit(String imageData)
This method is called to submit a form in response to a click on an image -- an <INPUT> form element of type "image". |
protected void |
MinimalHTMLWriter.writeStartTag(String tag)
Writes out a start tag appropriately indented. |
protected void |
MinimalHTMLWriter.writeEndTag(String endTag)
Writes out an end tag appropriately indented. |
protected void |
MinimalHTMLWriter.startFontTag(String style)
This is no longer used, instead <span> will be written out. |
void |
Option.setLabel(String label)
Sets the label to be used for the option. |
static CSS.Attribute |
CSS.getAttribute(String name)
Translates a string to a CSS.Attribute object. |
static HTML.Tag |
HTML.getTag(String tagName)
Fetches a tag constant for a well-known tag name (i.e. |
static HTML.Attribute |
HTML.getAttributeKey(String attName)
Fetches an attribute constant for a well-known attribute name (i.e. |
void |
HTMLEditorKit.insertHTML(HTMLDocument doc,
int offset,
String html,
int popDepth,
int pushDepth,
HTML.Tag insertTag)
Inserts HTML into an existing document. |
void |
HTMLEditorKit.ParserCallback.handleError(String errorMsg,
int pos)
|
void |
HTMLEditorKit.ParserCallback.handleEndOfLineString(String eol)
This is invoked after the stream has been parsed, but before flush . |
protected void |
HTMLEditorKit.InsertHTMLTextAction.insertHTML(JEditorPane editor,
HTMLDocument doc,
int offset,
String html,
int popDepth,
int pushDepth,
HTML.Tag addTag)
A cover for HTMLEditorKit.insertHTML. |
protected void |
HTMLEditorKit.InsertHTMLTextAction.insertAtBoundary(JEditorPane editor,
HTMLDocument doc,
int offset,
Element insertElement,
String html,
HTML.Tag parentTag,
HTML.Tag addTag)
This is invoked when inserting at a boundary. |
protected void |
HTMLEditorKit.InsertHTMLTextAction.insertAtBoundry(JEditorPane editor,
HTMLDocument doc,
int offset,
Element insertElement,
String html,
HTML.Tag parentTag,
HTML.Tag addTag)
Deprecated. As of Java 2 platform v1.3, use insertAtBoundary |
Style |
StyleSheet.getRule(String selector)
Fetches the rule that best matches the selector given in string form. |
void |
StyleSheet.addRule(String rule)
Adds a set of rules to the sheet. |
AttributeSet |
StyleSheet.getDeclaration(String decl)
Translates a CSS declaration to an AttributeSet that represents the CSS declaration. |
void |
StyleSheet.removeStyle(String nm)
Removes a named style previously added to the document. |
void |
StyleSheet.addCSSAttribute(MutableAttributeSet attr,
CSS.Attribute key,
String value)
Adds a CSS attribute to the given set. |
boolean |
StyleSheet.addCSSAttributeFromHTML(MutableAttributeSet attr,
CSS.Attribute key,
String value)
Adds a CSS attribute to the given set. |
void |
StyleSheet.setBaseFontSize(String size)
Sets the base font size from the passed in String. |
float |
StyleSheet.getPointSize(String size)
Given a string such as "+2", "-2", or "2", returns a point size value. |
Color |
StyleSheet.stringToColor(String string)
Converts a color string such as "RED" or "#NNNNNN" to a Color. |
void |
HTMLDocument.setInnerHTML(Element elem,
String htmlText)
Replaces the children of the given element with the contents specified as an HTML string. |
void |
HTMLDocument.setOuterHTML(Element elem,
String htmlText)
Replaces the given element in the parent with the contents specified as an HTML string. |
void |
HTMLDocument.insertAfterStart(Element elem,
String htmlText)
Inserts the HTML specified as a string at the start of the element. |
void |
HTMLDocument.insertBeforeEnd(Element elem,
String htmlText)
Inserts the HTML specified as a string at the end of the element. |
void |
HTMLDocument.insertBeforeStart(Element elem,
String htmlText)
Inserts the HTML specified as a string before the start of the given element. |
void |
HTMLDocument.insertAfterEnd(Element elem,
String htmlText)
Inserts the HTML specified as a string after the the end of the given element. |
Element |
HTMLDocument.getElement(String id)
Returns the element that has the given id Attribute . |
void |
HTMLDocument.HTMLReader.handleEndOfLineString(String eol)
This is invoked after the stream has been parsed, but before flush . |
Constructors in javax.swing.text.html with parameters of type String | |
HTMLFrameHyperlinkEvent(Object source,
HyperlinkEvent.EventType type,
URL targetURL,
String targetFrame)
Creates a new object representing a html frame hypertext link event. |
|
HTMLFrameHyperlinkEvent(Object source,
HyperlinkEvent.EventType type,
URL targetURL,
String desc,
String targetFrame)
Creates a new object representing a hypertext link event. |
|
HTMLFrameHyperlinkEvent(Object source,
HyperlinkEvent.EventType type,
URL targetURL,
Element sourceElement,
String targetFrame)
Creates a new object representing a hypertext link event. |
|
HTMLFrameHyperlinkEvent(Object source,
HyperlinkEvent.EventType type,
URL targetURL,
String desc,
Element sourceElement,
String targetFrame)
Creates a new object representing a hypertext link event. |
|
HTML.Tag(String id)
Creates a new Tag with the specified id ,
and with causesBreak and isBlock
set to false . |
|
HTML.Tag(String id,
boolean causesBreak,
boolean isBlock)
Creates a new Tag with the specified id ;
causesBreak and isBlock are defined
by the user. |
|
HTML.UnknownTag(String id)
Creates a new UnknownTag with the specified
id . |
|
HTMLEditorKit.HTMLTextAction(String name)
|
|
HTMLEditorKit.InsertHTMLTextAction(String name,
String html,
HTML.Tag parentTag,
HTML.Tag addTag)
|
|
HTMLEditorKit.InsertHTMLTextAction(String name,
String html,
HTML.Tag parentTag,
HTML.Tag addTag,
HTML.Tag alternateParentTag,
HTML.Tag alternateAddTag)
|
Uses of String in javax.swing.text.html.parser |
Fields in javax.swing.text.html.parser declared as String | |
String |
Entity.name
|
String |
DTD.name
|
String |
Element.name
|
String |
AttributeList.name
|
String |
AttributeList.value
|
Methods in javax.swing.text.html.parser that return String | |
String |
Parser.parseDTDMarkup()
Parses th Document Declaration Type markup declaration. |
String |
Entity.getName()
Gets the name of the entity. |
String |
Entity.getString()
Returns the data as a String . |
String |
DTD.getName()
Gets the name of the DTD. |
String |
DTD.toString()
Returns a string representation of this DTD. |
String |
Element.getName()
Get the name of the element. |
String |
Element.toString()
Convert to a string. |
String |
ContentModel.toString()
Convert to a string. |
String |
AttributeList.getName()
|
String |
AttributeList.getValue()
|
String |
AttributeList.toString()
|
static String |
AttributeList.type2name(int tp)
|
Methods in javax.swing.text.html.parser with parameters of type String | |
protected static DTD |
ParserDelegator.createDTD(DTD dtd,
String name)
|
protected void |
Parser.handleError(int ln,
String msg)
An error has occurred. |
protected void |
Parser.error(String err,
String arg1,
String arg2,
String arg3)
Invoke the error handler. |
protected void |
Parser.error(String err,
String arg1,
String arg2)
|
protected void |
Parser.error(String err,
String arg1)
|
protected void |
Parser.error(String err)
|
protected void |
DocumentParser.handleError(int ln,
String errorMsg)
|
static int |
Entity.name2type(String nm)
Converts nm string to the corresponding
entity type. |
Entity |
DTD.getEntity(String name)
Gets an entity by name. |
Element |
DTD.getElement(String name)
Gets an element by name. |
Entity |
DTD.defineEntity(String name,
int type,
char[] data)
Defines an entity. |
Element |
DTD.defineElement(String name,
int type,
boolean omitStart,
boolean omitEnd,
ContentModel content,
BitSet exclusions,
BitSet inclusions,
AttributeList atts)
Returns the Element which matches the
specified parameters. |
void |
DTD.defineAttributes(String name,
AttributeList atts)
Returns the Element which matches the
specified AttributeList . |
Entity |
DTD.defEntity(String name,
int type,
int ch)
Creates and returns a character Entity . |
protected Entity |
DTD.defEntity(String name,
int type,
String str)
Creates and returns an Entity . |
protected Element |
DTD.defElement(String name,
int type,
boolean omitStart,
boolean omitEnd,
ContentModel content,
String[] exclusions,
String[] inclusions,
AttributeList atts)
Creates and returns an Element . |
protected AttributeList |
DTD.defAttributeList(String name,
int type,
int modifier,
String value,
String values,
AttributeList atts)
Creates and returns an AttributeList . |
static void |
DTD.putDTDHash(String name,
DTD dtd)
|
static DTD |
DTD.getDTD(String name)
Returns a DTD with the specified name . |
AttributeList |
Element.getAttribute(String name)
Get an attribute by name. |
AttributeList |
Element.getAttributeByValue(String name)
Get an attribute by value. |
static int |
Element.name2type(String nm)
|
static int |
AttributeList.name2type(String nm)
|
Constructors in javax.swing.text.html.parser with parameters of type String | |
Entity(String name,
int type,
char[] data)
Creates an entity. |
|
DTD(String name)
Creates a new DTD with the specified name. |
|
AttributeList(String name)
Create an attribute list element. |
|
AttributeList(String name,
int type,
int modifier,
String value,
Vector values,
AttributeList next)
Create an attribute list element. |
Uses of String in javax.swing.text.rtf |
Methods in javax.swing.text.rtf that return String | |
String |
RTFEditorKit.getContentType()
Get the MIME type of the data that this kit represents support for. |
Uses of String in javax.swing.tree |
Fields in javax.swing.tree declared as String | |
static String |
DefaultTreeSelectionModel.SELECTION_MODE_PROPERTY
Property name for selectionMode. |
Methods in javax.swing.tree that return String | |
String |
DefaultMutableTreeNode.toString()
Returns the result of sending toString() to this node's
user object, or null if this node has no user object. |
String |
DefaultTreeSelectionModel.toString()
Returns a string that displays and identifies this object's properties. |
String |
TreePath.toString()
Returns a string that displays and identifies this object's properties. |
Methods in javax.swing.tree with parameters of type String | |
protected void |
DefaultTreeCellRenderer.firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Overridden for performance reasons. |
void |
DefaultTreeCellRenderer.firePropertyChange(String propertyName,
byte oldValue,
byte newValue)
Overridden for performance reasons. |
void |
DefaultTreeCellRenderer.firePropertyChange(String propertyName,
char oldValue,
char newValue)
Overridden for performance reasons. |
void |
DefaultTreeCellRenderer.firePropertyChange(String propertyName,
short oldValue,
short newValue)
Overridden for performance reasons. |
void |
DefaultTreeCellRenderer.firePropertyChange(String propertyName,
int oldValue,
int newValue)
Overridden for performance reasons. |
void |
DefaultTreeCellRenderer.firePropertyChange(String propertyName,
long oldValue,
long newValue)
Overridden for performance reasons. |
void |
DefaultTreeCellRenderer.firePropertyChange(String propertyName,
float oldValue,
float newValue)
Overridden for performance reasons. |
void |
DefaultTreeCellRenderer.firePropertyChange(String propertyName,
double oldValue,
double newValue)
Overridden for performance reasons. |
void |
DefaultTreeCellRenderer.firePropertyChange(String propertyName,
boolean oldValue,
boolean newValue)
Overridden for performance reasons. |
Constructors in javax.swing.tree with parameters of type String | |
ExpandVetoException(TreeExpansionEvent event,
String message)
Constructs an ExpandVetoException object with the specified message. |
Uses of String in javax.swing.undo |
Fields in javax.swing.undo declared as String | |
static String |
StateEditable.RCSID
Resource ID for this class. |
protected static String |
StateEdit.RCSID
|
protected String |
StateEdit.undoRedoName
The undo/redo presentation name |
protected static String |
AbstractUndoableEdit.UndoName
String returned by getUndoPresentationName ;
as of Java 2 platform v1.3.1 this field is no longer used. |
protected static String |
AbstractUndoableEdit.RedoName
String returned by getRedoPresentationName ;
as of Java 2 platform v1.3.1 this field is no longer used. |
Methods in javax.swing.undo that return String | |
String |
UndoableEditSupport.toString()
Returns a string that displays and identifies this object's properties. |
String |
UndoManager.getUndoOrRedoPresentationName()
Return the appropriate name for a command that toggles between undo and redo. |
String |
UndoManager.getUndoPresentationName()
If inProgress, returns getUndoPresentationName of the significant edit that will be undone when undo() is invoked. |
String |
UndoManager.getRedoPresentationName()
If inProgress, returns getRedoPresentationName of the significant edit that will be redone when redo() is invoked. |
String |
UndoManager.toString()
Returns a string that displays and identifies this object's properties. |
String |
StateEdit.getPresentationName()
Gets the presentation name for this edit |
String |
AbstractUndoableEdit.getPresentationName()
This default implementation returns "". |
String |
AbstractUndoableEdit.getUndoPresentationName()
Retreives the value from the defaults table with key AbstractUndoableEdit.undoText and returns
that value followed by a space, followed by
getPresentationName . |
String |
AbstractUndoableEdit.getRedoPresentationName()
Retreives the value from the defaults table with key AbstractUndoableEdit.redoText and returns
that value followed by a space, followed by
getPresentationName . |
String |
AbstractUndoableEdit.toString()
Returns a string that displays and identifies this object's properties. |
String |
CompoundEdit.getPresentationName()
Returns getPresentationName from the
last UndoableEdit added to
edits . |
String |
CompoundEdit.getUndoPresentationName()
Returns getUndoPresentationName
from the last UndoableEdit
added to edits . |
String |
CompoundEdit.getRedoPresentationName()
Returns getRedoPresentationName
from the last UndoableEdit
added to edits . |
String |
CompoundEdit.toString()
Returns a string that displays and identifies this object's properties. |
String |
UndoableEdit.getPresentationName()
Provides a localized, human readable description of this edit suitable for use in, say, a change log. |
String |
UndoableEdit.getUndoPresentationName()
Provides a localized, human readable description of the undoable form of this edit, e.g. |
String |
UndoableEdit.getRedoPresentationName()
Provides a localized, human readable description of the redoable form of this edit, e.g. |
Methods in javax.swing.undo with parameters of type String | |
protected void |
StateEdit.init(StateEditable anObject,
String name)
|
Constructors in javax.swing.undo with parameters of type String | |
StateEdit(StateEditable anObject,
String name)
Create and return a new StateEdit with a presentation name. |
Uses of String in javax.transaction |
Constructors in javax.transaction with parameters of type String | |
TransactionRolledbackException(String msg)
|
|
TransactionRequiredException(String msg)
|
|
InvalidTransactionException(String msg)
|
Uses of String in javax.transaction.xa |
Constructors in javax.transaction.xa with parameters of type String | |
XAException(String s)
Create an XAException with a given string. |
Uses of String in javax.xml.parsers |
Methods in javax.xml.parsers that return String | |
String |
FactoryConfigurationError.getMessage()
Return the message (if any) for this error . |
Methods in javax.xml.parsers with parameters of type String | |
void |
SAXParser.parse(InputStream is,
HandlerBase hb,
String systemId)
Parse the content of the given InputStream
instance as XML using the specified HandlerBase . |
void |
SAXParser.parse(InputStream is,
DefaultHandler dh,
String systemId)
Parse the content of the given InputStream
instance as XML using the specified
DefaultHandler . |
void |
SAXParser.parse(String uri,
HandlerBase hb)
Parse the content described by the giving Uniform Resource Identifier (URI) as XML using the specified HandlerBase . |
void |
SAXParser.parse(String uri,
DefaultHandler dh)
Parse the content described by the giving Uniform Resource Identifier (URI) as XML using the specified DefaultHandler . |
abstract void |
SAXParser.setProperty(String name,
Object value)
Sets the particular property in the underlying implementation of XMLReader . |
abstract Object |
SAXParser.getProperty(String name)
Returns the particular property requested for in the underlying implementation of XMLReader . |
abstract void |
SAXParserFactory.setFeature(String name,
boolean value)
Sets the particular feature in the underlying implementation of org.xml.sax.XMLReader. |
abstract boolean |
SAXParserFactory.getFeature(String name)
Returns the particular property requested for in the underlying implementation of org.xml.sax.XMLReader. |
Document |
DocumentBuilder.parse(InputStream is,
String systemId)
Parse the content of the given InputStream as an XML
document and return a new DOM Document object. |
Document |
DocumentBuilder.parse(String uri)
Parse the content of the given URI as an XML document and return a new DOM Document object. |
abstract void |
DocumentBuilderFactory.setAttribute(String name,
Object value)
Allows the user to set specific attributes on the underlying implementation. |
abstract Object |
DocumentBuilderFactory.getAttribute(String name)
Allows the user to retrieve specific attributes on the underlying implementation. |
Constructors in javax.xml.parsers with parameters of type String | |
ParserConfigurationException(String msg)
Create a new ParserConfigurationException with
the String specified as an error message. |
|
FactoryConfigurationError(String msg)
Create a new FactoryConfigurationError with
the String specified as an error message. |
|
FactoryConfigurationError(Exception e,
String msg)
Create a new FactoryConfigurationError with the
given Exception base cause and detail message. |
Uses of String in javax.xml.transform |
Fields in javax.xml.transform declared as String | |
static String |
Result.PI_DISABLE_OUTPUT_ESCAPING
The name of the processing instruction that is sent if the result tree disables output escaping. |
static String |
Result.PI_ENABLE_OUTPUT_ESCAPING
The name of the processing instruction that is sent if the result tree enables output escaping at some point after having received a PI_DISABLE_OUTPUT_ESCAPING processing instruction. |
static String |
OutputKeys.METHOD
method = "xml" | "html" | "text" | expanded name. |
static String |
OutputKeys.VERSION
version = nmtoken. |
static String |
OutputKeys.ENCODING
encoding = string. |
static String |
OutputKeys.OMIT_XML_DECLARATION
omit-xml-declaration = "yes" | "no". |
static String |
OutputKeys.STANDALONE
standalone = "yes" | "no". |
static String |
OutputKeys.DOCTYPE_PUBLIC
doctype-public = string. |
static String |
OutputKeys.DOCTYPE_SYSTEM
doctype-system = string. |
static String |
OutputKeys.CDATA_SECTION_ELEMENTS
cdata-section-elements = expanded names. |
static String |
OutputKeys.INDENT
indent = "yes" | "no". |
static String |
OutputKeys.MEDIA_TYPE
media-type = string. |
Methods in javax.xml.transform that return String | |
String |
TransformerFactoryConfigurationError.getMessage()
Return the message (if any) for this error . |
abstract String |
Transformer.getOutputProperty(String name)
Get an output property that is in effect for the transformation. |
String |
Source.getSystemId()
Get the system identifier that was set with setSystemId. |
String |
Result.getSystemId()
Get the system identifier that was set with setSystemId. |
String |
SourceLocator.getPublicId()
Return the public identifier for the current document event. |
String |
SourceLocator.getSystemId()
Return the system identifier for the current document event. |
String |
TransformerException.getMessageAndLocation()
Get the error message with location information appended. |
String |
TransformerException.getLocationAsString()
Get the location information as a string. |
Methods in javax.xml.transform with parameters of type String | |
abstract Source |
TransformerFactory.getAssociatedStylesheet(Source source,
String media,
String title,
String charset)
Get the stylesheet specification(s) associated via the xml-stylesheet processing instruction (see http://www.w3.org/TR/xml-stylesheet/) with the document document specified in the source parameter, and that match the given criteria. |
abstract boolean |
TransformerFactory.getFeature(String name)
Look up the value of a feature. |
abstract void |
TransformerFactory.setAttribute(String name,
Object value)
Allows the user to set specific attributes on the underlying implementation. |
abstract Object |
TransformerFactory.getAttribute(String name)
Allows the user to retrieve specific attributes on the underlying implementation. |
Source |
URIResolver.resolve(String href,
String base)
Called by the processor when it encounters an xsl:include, xsl:import, or document() function. |
abstract void |
Transformer.setParameter(String name,
Object value)
Add a parameter for the transformation. |
abstract Object |
Transformer.getParameter(String name)
Get a parameter that was explicitly set with setParameter or setParameters. |
abstract void |
Transformer.setOutputProperty(String name,
String value)
Set an output property that will be in effect for the transformation. |
abstract String |
Transformer.getOutputProperty(String name)
Get an output property that is in effect for the transformation. |
void |
Source.setSystemId(String systemId)
Set the system identifier for this Source. |
void |
Result.setSystemId(String systemId)
Set the system identifier for this Result. |
Constructors in javax.xml.transform with parameters of type String | |
TransformerFactoryConfigurationError(String msg)
Create a new TransformerFactoryConfigurationError with
the String specified as an error message. |
|
TransformerFactoryConfigurationError(Exception e,
String msg)
Create a new TransformerFactoryConfigurationError with the
given Exception base cause and detail message. |
|
TransformerConfigurationException(String msg)
Create a new TransformerConfigurationException with
the String specified as an error message. |
|
TransformerConfigurationException(String msg,
Throwable e)
Create a new TransformerConfigurationException with the
given Exception base cause and detail message. |
|
TransformerConfigurationException(String message,
SourceLocator locator)
Create a new TransformerConfigurationException from a message and a Locator. |
|
TransformerConfigurationException(String message,
SourceLocator locator,
Throwable e)
Wrap an existing exception in a TransformerConfigurationException. |
|
TransformerException(String message)
Create a new TransformerException. |
|
TransformerException(String message,
Throwable e)
Wrap an existing exception in a TransformerException. |
|
TransformerException(String message,
SourceLocator locator)
Create a new TransformerException from a message and a Locator. |
|
TransformerException(String message,
SourceLocator locator,
Throwable e)
Wrap an existing exception in a TransformerException. |
Uses of String in javax.xml.transform.dom |
Fields in javax.xml.transform.dom declared as String | |
static String |
DOMSource.FEATURE
If TransformerFactory.getFeature(java.lang.String)
returns true when passed this value as an argument,
the Transformer supports Source input of this type. |
static String |
DOMResult.FEATURE
If TransformerFactory.getFeature(java.lang.String)
returns true when passed this value as an argument,
the Transformer supports Result output of this type. |
Methods in javax.xml.transform.dom that return String | |
String |
DOMSource.getSystemId()
Get the base ID (URL or system ID) from where URLs will be resolved. |
String |
DOMResult.getSystemId()
Get the system identifier that was set with setSystemId. |
Methods in javax.xml.transform.dom with parameters of type String | |
void |
DOMSource.setSystemId(String baseID)
Set the base ID (URL or system ID) from where URLs will be resolved. |
void |
DOMResult.setSystemId(String systemId)
Method setSystemId Set the systemID that may be used in association with the node. |
Constructors in javax.xml.transform.dom with parameters of type String | |
DOMSource(Node node,
String systemID)
Create a new input source with a DOM node, and with the system ID also passed in as the base URI. |
|
DOMResult(Node node,
String systemID)
Create a new output target with a DOM node. |
Uses of String in javax.xml.transform.sax |
Fields in javax.xml.transform.sax declared as String | |
static String |
SAXTransformerFactory.FEATURE
If TransformerFactory.getFeature(java.lang.String)
returns true when passed this value as an argument,
the TransformerFactory returned from
TransformerFactory.newInstance() may
be safely cast to a SAXTransformerFactory. |
static String |
SAXTransformerFactory.FEATURE_XMLFILTER
If TransformerFactory.getFeature(java.lang.String)
returns true when passed this value as an argument,
the SAXTransformerFactory.newXMLFilter(Source src)
and SAXTransformerFactory.newXMLFilter(Templates templates) methods are supported. |
static String |
SAXSource.FEATURE
If TransformerFactory.getFeature(java.lang.String)
returns true when passed this value as an argument,
the Transformer supports Source input of this type. |
static String |
SAXResult.FEATURE
If TransformerFactory.getFeature(java.lang.String)
returns true when passed this value as an argument,
the Transformer supports Result output of this type. |
Methods in javax.xml.transform.sax that return String | |
String |
TemplatesHandler.getSystemId()
Get the base ID (URI or system ID) from where relative URLs will be resolved. |
String |
TransformerHandler.getSystemId()
Get the base ID (URI or system ID) from where relative URLs will be resolved. |
String |
SAXSource.getSystemId()
Get the base ID (URI or system ID) from where URIs will be resolved. |
String |
SAXResult.getSystemId()
Get the system identifier that was set with setSystemId. |
Methods in javax.xml.transform.sax with parameters of type String | |
void |
TemplatesHandler.setSystemId(String systemID)
Set the base ID (URI or system ID) for the Templates object created by this builder. |
void |
TransformerHandler.setSystemId(String systemID)
Set the base ID (URI or system ID) from where relative URLs will be resolved. |
void |
SAXSource.setSystemId(String systemId)
Set the system identifier for this Source. |
void |
SAXResult.setSystemId(String systemId)
Method setSystemId Set the systemID that may be used in association with the ContentHandler . |
Uses of String in javax.xml.transform.stream |
Fields in javax.xml.transform.stream declared as String | |
static String |
StreamSource.FEATURE
If TransformerFactory.getFeature(java.lang.String)
returns true when passed this value as an argument,
the Transformer supports Source input of this type. |
static String |
StreamResult.FEATURE
If TransformerFactory.getFeature(java.lang.String)
returns true when passed this value as an argument,
the Transformer supports Result output of this type. |
Methods in javax.xml.transform.stream that return String | |
String |
StreamSource.getPublicId()
Get the public identifier that was set with setPublicId. |
String |
StreamSource.getSystemId()
Get the system identifier that was set with setSystemId. |
String |
StreamResult.getSystemId()
Get the system identifier that was set with setSystemId. |
Methods in javax.xml.transform.stream with parameters of type String | |
void |
StreamSource.setPublicId(String publicId)
Set the public identifier for this Source. |
void |
StreamSource.setSystemId(String systemId)
Set the system identifier for this Source. |
void |
StreamResult.setSystemId(String systemId)
Set the systemID that may be used in association with the byte or character stream, or, if neither is set, use this value as a writeable URI (probably a file name). |
Constructors in javax.xml.transform.stream with parameters of type String | |
StreamSource(InputStream inputStream,
String systemId)
Construct a StreamSource from a byte stream. |
|
StreamSource(Reader reader,
String systemId)
Construct a StreamSource from a character reader. |
|
StreamSource(String systemId)
Construct a StreamSource from a URL. |
|
StreamResult(String systemId)
Construct a StreamResult from a URL. |
Uses of String in org.ietf.jgss |
Methods in org.ietf.jgss that return String | |
String |
MessageProp.getMinorString()
Retrieves a string explaining the minor status code. |
String |
GSSName.toString()
Returns a textual representation of the GSSName object. |
String |
GSSException.getMajorString()
Returns a string explaining the GSS-API level major error code in this exception. |
String |
GSSException.getMinorString()
Returns a string explaining the mechanism specific error code. |
String |
GSSException.toString()
Returns a textual representation of both the major and the minor status codes. |
String |
GSSException.getMessage()
Returns a textual representation of both the major and the minor status codes. |
String |
Oid.toString()
Returns a string representation of the oid's integer components in dot separated notation. |
Methods in org.ietf.jgss with parameters of type String | |
void |
MessageProp.setSupplementaryStates(boolean duplicate,
boolean old,
boolean unseq,
boolean gap,
int minorStatus,
String minorString)
This method sets the state for the supplementary information flags and the minor status in MessageProp. |
abstract GSSName |
GSSManager.createName(String nameStr,
Oid nameType)
Factory method to convert a string name from the specified namespace to a GSSName object. |
abstract GSSName |
GSSManager.createName(String nameStr,
Oid nameType,
Oid mech)
Factory method to convert a string name from the specified namespace to a GSSName object and canonicalize it at the same time for a mechanism. |
void |
GSSException.setMinor(int minorCode,
String message)
Used by the exception thrower to set the mechanism level minor error code and its string explanation. |
Constructors in org.ietf.jgss with parameters of type String | |
GSSException(int majorCode,
int minorCode,
String minorString)
Creates a GSSException object with the specified major code, minor code, and minor code textual explanation. |
|
Oid(String strOid)
Constructs an Oid object from a string representation of its integer components. |
Uses of String in org.omg.CORBA |
Fields in org.omg.CORBA declared as String | |
String[] |
WStringSeqHolder.value
|
String[] |
StringSeqHolder.value
|
String |
StringHolder.value
The String value held by this StringHolder
object. |
String |
NameValuePair.id
The name to be associated with a value by this NameValuePair object. |
String |
ValueMember.name
The name of the value member described by this
ValueMember object. |
String |
ValueMember.id
The repository ID of the value member described by
this ValueMember object; |
String |
ValueMember.defined_in
The repository ID of the value in which this member
is defined. |
String |
ValueMember.version
The version of the value in which this member is defined. |
String |
UnionMember.name
The name of the union member described by this UnionMember object. |
String |
StructMember.name
The name of the struct member described by this StructMember object. |
Methods in org.omg.CORBA that return String | |
static String[] |
WStringSeqHelper.extract(Any a)
|
static String |
WStringSeqHelper.id()
|
static String[] |
WStringSeqHelper.read(InputStream istream)
|
static String |
UnknownUserExceptionHelper.id()
|
static String[] |
StringSeqHelper.extract(Any a)
|
static String |
StringSeqHelper.id()
|
static String[] |
StringSeqHelper.read(InputStream istream)
|
static String |
PolicyErrorHelper.id()
|
static String |
PolicyErrorCodeHelper.id()
|
static String |
ParameterModeHelper.id()
|
String[] |
_PolicyStub._ids()
|
String[] |
_IDLTypeStub._ids()
|
static String |
WStringValueHelper.extract(Any a)
|
static String |
WStringValueHelper.id()
|
static String |
WStringValueHelper.read(InputStream istream)
|
String |
WStringValueHelper.get_id()
|
static String |
WCharSeqHelper.id()
|
static String |
VisibilityHelper.id()
|
static String |
VersionSpecHelper.extract(Any a)
|
static String |
VersionSpecHelper.id()
|
static String |
VersionSpecHelper.read(InputStream istream)
|
static String |
ValueMemberHelper.id()
|
static String |
ValueBaseHelper.id()
|
static String |
UnionMemberHelper.id()
|
static String |
UShortSeqHelper.id()
|
static String |
ULongSeqHelper.id()
|
static String |
ULongLongSeqHelper.id()
|
static String |
StructMemberHelper.id()
|
static String |
StringValueHelper.extract(Any a)
|
static String |
StringValueHelper.id()
|
static String |
StringValueHelper.read(InputStream istream)
|
String |
StringValueHelper.get_id()
|
static String |
ShortSeqHelper.id()
|
static String |
SetOverrideTypeHelper.id()
|
static String |
RepositoryIdHelper.extract(Any a)
|
static String |
RepositoryIdHelper.id()
|
static String |
RepositoryIdHelper.read(InputStream istream)
|
static String |
PolicyListHelper.id()
|
static String |
PolicyTypeHelper.id()
|
static String |
PolicyHelper.id()
|
static String |
OctetSeqHelper.id()
|
static String |
NameValuePairHelper.id()
|
static String |
LongSeqHelper.id()
|
static String |
LongLongSeqHelper.id()
|
static String |
IdentifierHelper.extract(Any a)
|
static String |
IdentifierHelper.id()
|
static String |
IdentifierHelper.read(InputStream istream)
|
static String |
IDLTypeHelper.id()
|
static String |
FloatSeqHelper.id()
|
static String |
FieldNameHelper.extract(Any a)
|
static String |
FieldNameHelper.id()
|
static String |
FieldNameHelper.read(InputStream istream)
|
static String |
DoubleSeqHelper.id()
|
static String |
DefinitionKindHelper.id()
|
String |
DataInputStream.read_string()
Reads an IDL string from the input stream. |
String |
DataInputStream.read_wstring()
Reads an IDL wide string from the input stream. |
static String |
CurrentHelper.id()
|
static String |
CompletionStatusHelper.id()
|
static String |
CharSeqHelper.id()
|
static String |
BooleanSeqHelper.id()
|
static String |
AnySeqHelper.id()
|
String[] |
DynamicImplementation._ids()
Deprecated. |
String |
DynValue.current_member_name()
Returns the name of the current member while traversing a DynAny object that represents a Value object. |
static String |
ServiceDetailHelper.id()
|
static String |
ObjectHelper.id()
|
static String |
ServiceInformationHelper.id()
|
static String |
WrongTransactionHelper.id()
|
String |
ServerRequest.op_name()
Deprecated. use operation() |
String |
ServerRequest.operation()
Throws an org.omg.CORBA.NO_IMPLEMENT exception. |
String |
DynEnum.value_as_string()
Return the value of the IDL enum stored in this DynEnum as a string. |
String |
DynUnion.member_name()
Allows for the inspection of the name of this union member without checking the value of the discriminator. |
String |
DynStruct.current_member_name()
During a traversal, returns the name of the current member. |
String |
DynAny.get_string()
Retrieves the String contained
in this DynAny object. |
String |
DynAny.get_wstring()
Retrieves the String contained
in this DynAny object. |
abstract String |
ContextList.item(int index)
Returns the String object at the given index. |
abstract String |
Context.context_name()
Retrieves the name of this Context object. |
String |
SystemException.toString()
Converts this exception to a representative string. |
abstract String |
TypeCode.id()
Retrieves the RepositoryId globally identifying the type of this TypeCode object. |
abstract String |
TypeCode.name()
Retrieves the simple name identifying this TypeCode
object within its
enclosing scope. |
abstract String |
TypeCode.member_name(int index)
Retrieves the simple name of the member identified by the given index. |
abstract String |
Any.extract_string()
Extracts the String object in this
Any object's value field. |
abstract String |
Any.extract_wstring()
Extracts the String object in this
Any object's value field. |
abstract String |
NamedValue.name()
Retrieves the name for this NamedValue object. |
abstract String |
Request.operation()
Retrieves the name of the method to be invoked. |
abstract String[] |
ORB.list_initial_services()
Returns a list of the initially available CORBA object references, such as "NameService" and "InterfaceRepository". |
abstract String |
ORB.object_to_string(Object obj)
Converts the given CORBA object reference to a string. |
Methods in org.omg.CORBA with parameters of type String | |
static void |
WStringSeqHelper.insert(Any a,
String[] that)
|
static void |
WStringSeqHelper.write(OutputStream ostream,
String[] value)
|
static void |
StringSeqHelper.insert(Any a,
String[] that)
|
static void |
StringSeqHelper.write(OutputStream ostream,
String[] value)
|
boolean |
LocalObject._is_a(String repository_id)
Throws an org.omg.CORBA.NO_IMPLEMENT exception with
the message "This is a locally constrained object." This method
does not apply to local objects and is therefore not implemented. |
Request |
LocalObject._request(String operation)
Throws an org.omg.CORBA.NO_IMPLEMENT exception with
the message "This is a locally constrained object."
This method is the default implementation of the
org.omg.CORBA.Object method. |
Request |
LocalObject._create_request(Context ctx,
String operation,
NVList arg_list,
NamedValue result)
Throws an org.omg.CORBA.NO_IMPLEMENT exception with
the message "This is a locally constrained object."
This method is the default implementation of the
org.omg.CORBA.Object method. |
Request |
LocalObject._create_request(Context ctx,
String operation,
NVList arg_list,
NamedValue result,
ExceptionList exceptions,
ContextList contexts)
Throws an org.omg.CORBA.NO_IMPLEMENT exception with
the message "This is a locally constrained object."
This method is the default implementation of the
org.omg.CORBA.Object method. |
ServantObject |
LocalObject._servant_preinvoke(String operation,
Class expectedType)
Throws an org.omg.CORBA.NO_IMPLEMENT exception with
the message "This is a locally constrained object."
This method is the default implementation of the
org.omg.CORBA.Object method. |
OutputStream |
LocalObject._request(String operation,
boolean responseExpected)
Throws an org.omg.CORBA.NO_IMPLEMENT exception with
the message "This is a locally constrained object."
This method is the default implementation of the
org.omg.CORBA.Object method. |
static void |
WStringValueHelper.insert(Any a,
String that)
|
static void |
WStringValueHelper.write(OutputStream ostream,
String value)
|
static void |
VersionSpecHelper.insert(Any a,
String that)
|
static void |
VersionSpecHelper.write(OutputStream ostream,
String value)
|
static void |
StringValueHelper.insert(Any a,
String that)
|
static void |
StringValueHelper.write(OutputStream ostream,
String value)
|
static void |
RepositoryIdHelper.insert(Any a,
String that)
|
static void |
RepositoryIdHelper.write(OutputStream ostream,
String value)
|
static void |
IdentifierHelper.insert(Any a,
String that)
|
static void |
IdentifierHelper.write(OutputStream ostream,
String value)
|
static void |
FieldNameHelper.insert(Any a,
String that)
|
static void |
FieldNameHelper.write(OutputStream ostream,
String value)
|
void |
DataOutputStream.write_string(String value)
Writes the IDL string value to the output stream. |
void |
DataOutputStream.write_wstring(String value)
Writes the IDL wide string value (represented as a Java String) to the output stream. |
void |
DynEnum.value_as_string(String arg)
Set a particular enum in this DynEnum . |
void |
DynUnion.member_name(String arg)
Allows for the assignment of the name of this union member. |
void |
DynAny.insert_string(String value)
Inserts the given String object as the value for this
DynAny object. |
void |
DynAny.insert_wstring(String value)
Inserts the given String as the value for this
DynAny object. |
abstract void |
ContextList.add(String ctx)
Adds a String object to this ContextList
object. |
abstract Context |
Context.create_child(String child_ctx_name)
Creates a Context object with the given string as its
name and with this Context object set as its parent. |
abstract void |
Context.set_one_value(String propname,
Any propvalue)
Creates a NamedValue object and adds it to this
Context object. |
abstract void |
Context.delete_values(String propname)
Deletes from this Context object the
NamedValue object(s) whose
name field matches the given property name. |
abstract NVList |
Context.get_values(String start_scope,
int op_flags,
String pattern)
Retrieves the NamedValue objects whose
name field matches the given name or name
pattern. |
abstract void |
Any.insert_string(String s)
Inserts the given String object
into this Any object's value field. |
abstract void |
Any.insert_wstring(String s)
Inserts the given String object
into this Any object's value field. |
abstract NamedValue |
NVList.add_item(String item_name,
int flags)
Creates a new NamedValue object initialized with the
given name and flag,
and adds it to the end of this NVList object. |
abstract NamedValue |
NVList.add_value(String item_name,
Any val,
int flags)
Creates a new NamedValue object initialized with the
given name, value, and flag,
and adds it to the end of this NVList object. |
abstract Any |
Request.add_named_in_arg(String name)
Creates an input argument with the given name and adds it to this Request object. |
abstract Any |
Request.add_named_inout_arg(String name)
Adds an input/output argument with the given name to this Request object. |
abstract Any |
Request.add_named_out_arg(String name)
Adds an output argument with the given name to this Request object. |
boolean |
Object._is_a(String repositoryIdentifier)
Checks whether this object is an instance of a class that implements the given interface. |
Request |
Object._request(String operation)
Creates a Request instance for use in the
Dynamic Invocation Interface. |
Request |
Object._create_request(Context ctx,
String operation,
NVList arg_list,
NamedValue result)
Creates a Request instance initialized with the
given context, method name, list of arguments, and container
for the method's return value. |
Request |
Object._create_request(Context ctx,
String operation,
NVList arg_list,
NamedValue result,
ExceptionList exclist,
ContextList ctxlist)
Creates a Request instance initialized with the
given context, method name, list of arguments, container
for the method's return value, list of possible exceptions,
and list of context strings needing to be resolved. |
static ORB |
ORB.init(String[] args,
Properties props)
Creates a new ORB instance for a standalone
application. |
protected abstract void |
ORB.set_parameters(String[] args,
Properties props)
Allows the ORB implementation to be initialized with the given parameters and properties. |
abstract Object |
ORB.resolve_initial_references(String object_name)
Resolves a specific object reference from the set of available initial service names. |
abstract Object |
ORB.string_to_object(String str)
Converts a string produced by the method object_to_string
back to a CORBA object reference. |
abstract NamedValue |
ORB.create_named_value(String s,
Any any,
int flags)
Creates a NamedValue object
using the given name, value, and argument mode flags. |
abstract TypeCode |
ORB.create_struct_tc(String id,
String name,
StructMember[] members)
Creates a TypeCode object representing an IDL struct . |
abstract TypeCode |
ORB.create_union_tc(String id,
String name,
TypeCode discriminator_type,
UnionMember[] members)
Creates a TypeCode object representing an IDL union . |
abstract TypeCode |
ORB.create_enum_tc(String id,
String name,
String[] members)
Creates a TypeCode object representing an IDL enum . |
abstract TypeCode |
ORB.create_alias_tc(String id,
String name,
TypeCode original_type)
Creates a TypeCode object representing an IDL alias
(typedef ). |
abstract TypeCode |
ORB.create_exception_tc(String id,
String name,
StructMember[] members)
Creates a TypeCode object representing an IDL exception . |
abstract TypeCode |
ORB.create_interface_tc(String id,
String name)
Creates a TypeCode object representing an IDL interface . |
TypeCode |
ORB.create_native_tc(String id,
String name)
Create a TypeCode object for an IDL native type. |
TypeCode |
ORB.create_abstract_interface_tc(String id,
String name)
Create a TypeCode object for an IDL abstract interface. |
TypeCode |
ORB.create_value_tc(String id,
String name,
short type_modifier,
TypeCode concrete_base,
ValueMember[] members)
Create a TypeCode object for an IDL value type. |
TypeCode |
ORB.create_recursive_tc(String id)
Create a recursive TypeCode object which
serves as a placeholder for a concrete TypeCode during the process of creating
TypeCodes which contain recursion. |
TypeCode |
ORB.create_value_box_tc(String id,
String name,
TypeCode boxed_type)
Creates a TypeCode object for an IDL value box. |
Constructors in org.omg.CORBA with parameters of type String | |
WStringSeqHolder(String[] initialValue)
|
|
StringSeqHolder(String[] initialValue)
|
|
UNKNOWN(String s)
Constructs an UNKNOWN exception with the specified description message,
a minor code of 0, and a completion state of COMPLETED_NO. |
|
UNKNOWN(String s,
int minor,
CompletionStatus completed)
Constructs an UNKNOWN exception with the specified description
message, minor code, and completion status. |
|
TRANSACTION_ROLLEDBACK(String s)
Constructs a TRANSACTION_ROLLEDBACK exception with the
specified description message,
a minor code of 0, and a completion state of COMPLETED_NO. |
|
TRANSACTION_ROLLEDBACK(String s,
int minor,
CompletionStatus completed)
Constructs a TRANSACTION_ROLLEDBACK exception with the
specified description message, minor code, and completion status. |
|
TRANSACTION_REQUIRED(String s)
Constructs a TRANSACTION_REQUIRED exception with the specified
description message, a minor code of 0, and a completion state of COMPLETED_NO. |
|
TRANSACTION_REQUIRED(String s,
int minor,
CompletionStatus completed)
Constructs a TRANSACTION_REQUIRED exception with the specified description
message, minor code, and completion status. |
|
TRANSIENT(String s)
Constructs a TRANSIENT exception with the specified description message,
a minor code of 0, and a completion state of COMPLETED_NO. |
|
TRANSIENT(String s,
int minor,
CompletionStatus completed)
Constructs a TRANSIENT exception with the specified description
message, minor code, and completion status. |
|
StringHolder(String initial)
Constructs a new StringHolder object with its
value field initialized to the given
String . |
|
PERSIST_STORE(String s)
Constructs a PERSIST_STORE exception with the specified description message,
a minor code of 0, and a completion state of COMPLETED_NO. |
|
PERSIST_STORE(String s,
int minor,
CompletionStatus completed)
Constructs a PERSIST_STORE exception with the specified description
message, minor code, and completion status. |
|
OBJ_ADAPTER(String s)
Constructs an OBJ_ADAPTER exception with the specified description,
a minor code of 0, and a completion state of COMPLETED_NO. |
|
OBJ_ADAPTER(String s,
int minor,
CompletionStatus completed)
Constructs an OBJ_ADAPTER exception with the specified description
message, minor code, and completion status. |
|
OBJECT_NOT_EXIST(String s)
Constructs an OBJECT_NOT_EXIST exception with the specified description,
a minor code of 0, and a completion state of COMPLETED_NO. |
|
OBJECT_NOT_EXIST(String s,
int minor,
CompletionStatus completed)
Constructs an OBJECT_NOT_EXIST exception with the specified description
message, minor code, and completion status. |
|
NO_RESPONSE(String s)
Constructs a NO_RESPONSE exception with the specified description message,
a minor code of 0, and a completion state of COMPLETED_NO. |
|
NO_RESPONSE(String s,
int minor,
CompletionStatus completed)
Constructs a NO_RESPONSE exception with the specified description
message, minor code, and completion status. |
|
NO_RESOURCES(String s)
Constructs a NO_RESOURCES exception with the specified description,
a minor code of 0, and a completion state of COMPLETED_NO. |
|
NO_RESOURCES(String s,
int minor,
CompletionStatus completed)
Constructs a NO_RESOURCES exception with the specified description
message, minor code, and completion status. |
|
NO_PERMISSION(String s)
Constructs a NO_PERMISSION exception with the specified description,
a minor code of 0, and a completion state of COMPLETED_NO. |
|
NO_PERMISSION(String s,
int minor,
CompletionStatus completed)
Constructs a NO_PERMISSION exception with the specified description
message, minor code, and completion status. |
|
NO_MEMORY(String s)
Constructs a NO_MEMORY exception with the specified description message,
a minor code of 0, and a completion state of COMPLETED_NO. |
|
NO_MEMORY(String s,
int minor,
CompletionStatus completed)
Constructs a NO_MEMORY exception with the specified description
message, minor code, and completion status. |
|
INV_POLICY(String s)
Constructs a INV_POLICY exception with the
specified description message,
a minor code of 0, and a completion state of COMPLETED_NO. |
|
INV_POLICY(String s,
int minor,
CompletionStatus completed)
Constructs a INV_POLICY exception with the
specified description message, minor code, and completion status. |
|
INV_OBJREF(String s)
Constructs an INV_OBJREF exception with the specified detail
message, a minor code of 0, and a completion state of COMPLETED_NO. |
|
INV_OBJREF(String s,
int minor,
CompletionStatus completed)
Constructs an INV_OBJREF exception with the specified detail
message, minor code, and completion status. |
|
INV_IDENT(String s)
Constructs an INV_IDENT exception with the specified detail
message, a minor code of 0, and a completion state of COMPLETED_NO. |
|
INV_IDENT(String s,
int minor,
CompletionStatus completed)
Constructs an INV_IDENT exception with the specified detail
message, minor code, and completion status. |
|
INV_FLAG(String s)
Constructs an INV_FLAG exception with the specified detail
message, a minor code of 0, and a completion state of COMPLETED_NO. |
|
INV_FLAG(String s,
int minor,
CompletionStatus completed)
Constructs an INV_FLAG exception with the specified detail
message, minor code, and completion status. |
|
INVALID_TRANSACTION(String s)
Constructs an INVALID_TRANSACTION exception
with the specified detail message. |
|
INVALID_TRANSACTION(String s,
int minor,
CompletionStatus completed)
Constructs an INVALID_TRANSACTION exception with the specified detail
message, minor code, and completion status. |
|
INTF_REPOS(String s)
Constructs an INTF_REPOS exception with the specified detail. |
|
INTF_REPOS(String s,
int minor,
CompletionStatus completed)
Constructs an INTF_REPOS exception with the specified detail
message, minor code, and completion status. |
|
INTERNAL(String s)
Constructs an INTERNAL exception with the specified detail
message, a minor code of 0, and a completion state of COMPLETED_NO. |
|
INTERNAL(String s,
int minor,
CompletionStatus completed)
Constructs an INTERNAL exception with the specified detail
message, minor code, and completion status. |
|
IMP_LIMIT(String s)
Constructs an IMP_LIMIT exception with the specified detail
message, a minor code of 0, and a completion state of COMPLETED_NO. |
|
IMP_LIMIT(String s,
int minor,
CompletionStatus completed)
Constructs an IMP_LIMIT exception with the specified detail
message, minor code, and completion status. |
|
FREE_MEM(String s)
Constructs a FREE_MEM exception with the specified detail
message, a minor code of 0, and a completion state of COMPLETED_NO. |
|
FREE_MEM(String s,
int minor,
CompletionStatus completed)
Constructs a FREE_MEM exception with the specified detail
message, minor code, and completion status. |
|
COMM_FAILURE(String s)
Constructs a COMM_FAILURE exception with the specified detail
message, a minor code of 0, and a completion state of COMPLETED_NO. |
|
COMM_FAILURE(String s,
int minor,
CompletionStatus completed)
Constructs a COMM_FAILURE exception with the specified detail
message, minor code, and completion status. |
|
BAD_TYPECODE(String s)
Constructs a BAD_TYPECODE exception with the specified detail,
a minor code of 0, and a completion state of COMPLETED_NO. |
|
BAD_TYPECODE(String s,
int minor,
CompletionStatus completed)
Constructs a BAD_TYPECODE exception with the specified detail
message, minor code, and completion status. |
|
BAD_CONTEXT(String s)
Constructs a BAD_CONTEXT exception
with the specified detail message, a minor code
of 0 and a completion state of COMPLETED_NO. |
|
BAD_CONTEXT(String s,
int minor,
CompletionStatus completed)
Constructs a BAD_CONTEXT exception
with the specified detail
message, minor code, and completion status. |
|
INITIALIZE(String s)
Constructs an INITIALIZE exception with the specified detail
message, a minor code of 0, and a completion state of
CompletionStatus.COMPLETED_NO . |
|
INITIALIZE(String s,
int minor,
CompletionStatus completed)
Constructs an INITIALIZE exception with the specified detail
message, minor code, and completion status. |
|
NO_IMPLEMENT(String s)
Constructs a NO_IMPLEMENT exception with the specified description message,
a minor code of 0, and a completion state of COMPLETED_NO. |
|
NO_IMPLEMENT(String s,
int minor,
CompletionStatus completed)
Constructs a NO_IMPLEMENT exception with the specified description
message, minor code, and completion status. |
|
PolicyError(String reason_string,
short __reason)
Constructs a PolicyError user exception
initialized with the given reason detail message and reason code. |
|
NameValuePair(String __id,
Any __value)
Constructs a NameValuePair object that associates
the given name with the given org.omg.CORBA.Any object. |
|
ValueMember(String __name,
String __id,
String __defined_in,
String __version,
TypeCode __type,
IDLType __type_def,
short __access)
Constructs a ValueMember object initialized with
the given values. |
|
UnionMember(String __name,
Any __label,
TypeCode __type,
IDLType __type_def)
Constructs a new UnionMember object with its fields initialized
to the given values. |
|
StructMember(String __name,
TypeCode __type,
IDLType __type_def)
Constructs a StructMember object initialized with the
given values. |
|
WrongTransaction(String reason)
Constructs a WrongTransaction object with the given detail message. |
|
Bounds(String reason)
Constructs an Bounds with the specified detail message. |
|
UserException(String reason)
Constructs a UserException object with a
detail message. |
|
BAD_INV_ORDER(String s)
Constructs a BAD_INV_ORDER exception with the specified detail
message, a minor code of 0, and a completion state of COMPLETED_NO. |
|
BAD_INV_ORDER(String s,
int minor,
CompletionStatus completed)
Constructs a BAD_INV_ORDER exception with the specified detail
message, minor code, and completion status. |
|
BAD_PARAM(String s)
Constructs a BAD_PARAM exception with the specified detail
message, a minor code of 0, and a completion state of COMPLETED_NO. |
|
BAD_PARAM(String s,
int minor,
CompletionStatus completed)
Constructs a BAD_PARAM exception with the specified detail
message, minor code, and completion status. |
|
DATA_CONVERSION(String s)
Constructs a DATA_CONVERSION exception with the specified detail. |
|
DATA_CONVERSION(String s,
int minor,
CompletionStatus completed)
Constructs a DATA_CONVERSION exception with the specified detail
message, minor code, and completion status. |
|
BAD_OPERATION(String s)
Constructs a BAD_OPERATION exception with the specified detail
message, a minor code of 0, and a completion state of COMPLETED_NO. |
|
BAD_OPERATION(String s,
int minor,
CompletionStatus completed)
Constructs a BAD_OPERATION exception with the specified detail
message, minor code, and completion status. |
|
SystemException(String reason,
int minor,
CompletionStatus completed)
Constructs a SystemException exception with the specified detail
message, minor code, and completion status. |
|
MARSHAL(String s)
Constructs a MARSHAL exception with the specified description message,
a minor code of 0, and a completion state of COMPLETED_NO. |
|
MARSHAL(String s,
int minor,
CompletionStatus completed)
Constructs a MARSHAL exception with the specified description
message, minor code, and completion status. |
Uses of String in org.omg.CORBA_2_3 |
Methods in org.omg.CORBA_2_3 with parameters of type String | |
ValueFactory |
ORB.register_value_factory(String id,
ValueFactory factory)
|
void |
ORB.unregister_value_factory(String id)
|
ValueFactory |
ORB.lookup_value_factory(String id)
|
Object |
ORB.get_value_def(String repid)
|
Uses of String in org.omg.CORBA_2_3.portable |
Methods in org.omg.CORBA_2_3.portable that return String | |
String |
ObjectImpl._get_codebase()
Returns the codebase for this object reference. |
String |
Delegate.get_codebase(Object self)
Returns the codebase for object reference provided. |
Methods in org.omg.CORBA_2_3.portable with parameters of type String | |
void |
OutputStream.write_value(Serializable value,
String repository_id)
Marshals a value type to the output stream. |
Serializable |
InputStream.read_value(String rep_id)
Unmarshalls a value type from the input stream. |
Uses of String in org.omg.CORBA.DynAnyPackage |
Constructors in org.omg.CORBA.DynAnyPackage with parameters of type String | |
InvalidSeq(String reason)
Constructs an InvalidSeq object. |
|
TypeMismatch(String reason)
Constructs a TypeMismatch object. |
|
InvalidValue(String reason)
Constructs an InvalidValue object. |
|
Invalid(String reason)
Constructs an Invalid object. |
Uses of String in org.omg.CORBA.ORBPackage |
Constructors in org.omg.CORBA.ORBPackage with parameters of type String | |
InconsistentTypeCode(String reason)
Constructs an InconsistentTypeCode user exception
with the specified reason message. |
|
InvalidName(String reason)
Constructs an InvalidName exception with the specified
reason message. |
Uses of String in org.omg.CORBA.portable |
Methods in org.omg.CORBA.portable that return String | |
String[] |
ValueBase._truncatable_ids()
Provides truncatable repository ids. |
String |
BoxedValueHelper.get_id()
|
String |
ApplicationException.getId()
Returns the CORBA repository ID of the exception without removing it from the exceptions input stream. |
String |
Delegate.toString(Object self)
Provides the implementation to override the toString() method of the delegating CORBA object. |
abstract String[] |
ObjectImpl._ids()
Retrieves a string array containing the repository identifiers supported by this ObjectImpl object. |
String |
ObjectImpl.toString()
Returns a String object that represents this
ObjectImpl object. |
abstract String |
InputStream.read_string()
Reads a string value from this input stream. |
abstract String |
InputStream.read_wstring()
Reads a wide string value from this input stream. |
Methods in org.omg.CORBA.portable with parameters of type String | |
abstract boolean |
Delegate.is_a(Object obj,
String repository_id)
Checks if the object reference is an instance of the given interface. |
abstract Request |
Delegate.request(Object obj,
String operation)
Creates a Request instance for use in the Dynamic Invocation Interface. |
abstract Request |
Delegate.create_request(Object obj,
Context ctx,
String operation,
NVList arg_list,
NamedValue result)
Creates a Request instance for use in the Dynamic Invocation Interface. |
abstract Request |
Delegate.create_request(Object obj,
Context ctx,
String operation,
NVList arg_list,
NamedValue result,
ExceptionList exclist,
ContextList ctxlist)
Creates a Request instance for use in the Dynamic Invocation Interface. |
ServantObject |
Delegate.servant_preinvoke(Object self,
String operation,
Class expectedType)
Returns a Java reference to the servant which should be used for this request. |
OutputStream |
Delegate.request(Object self,
String operation,
boolean responseExpected)
request is called by a stub to obtain an OutputStream for marshaling arguments. |
boolean |
ObjectImpl._is_a(String repository_id)
Checks whether the object identified by the given repository identifier is an ObjectImpl object. |
Request |
ObjectImpl._request(String operation)
Creates a Request object containing the given method
that can be used with the Dynamic Invocation Interface. |
Request |
ObjectImpl._create_request(Context ctx,
String operation,
NVList arg_list,
NamedValue result)
Creates a Request object that contains the given context,
method, argument list, and container for the result. |
Request |
ObjectImpl._create_request(Context ctx,
String operation,
NVList arg_list,
NamedValue result,
ExceptionList exceptions,
ContextList contexts)
Creates a Request object that contains the given context,
method, argument list, container for the result, exceptions, and
list of property names to be used in resolving the context strings. |
ServantObject |
ObjectImpl._servant_preinvoke(String operation,
Class expectedType)
Returns a Java reference to the local servant that should be used for sending a request for the method specified. |
OutputStream |
ObjectImpl._request(String operation,
boolean responseExpected)
Returns an OutputStream object to use for marshalling
the arguments of the given method. |
OutputStream |
InvokeHandler._invoke(String method,
InputStream input,
ResponseHandler handler)
Invoked by the ORB to dispatch a request to the servant. |
abstract void |
OutputStream.write_string(String value)
Writes a string value to this stream. |
abstract void |
OutputStream.write_wstring(String value)
Writes a wide string value to this stream. |
Constructors in org.omg.CORBA.portable with parameters of type String | |
ApplicationException(String id,
InputStream ins)
Constructs an ApplicationException from the CORBA repository ID of the exception and an input stream from which the exception data can be read as its parameters. |
Uses of String in org.omg.CORBA.TypeCodePackage |
Constructors in org.omg.CORBA.TypeCodePackage with parameters of type String | |
Bounds(String reason)
Constructs a Bounds exception with the specified
reason message. |
|
BadKind(String reason)
Constructs a BadKind exception with the specified
reason message. |
Uses of String in org.omg.CosNaming |
Fields in org.omg.CosNaming declared as String | |
String |
NameComponent.id
|
String |
NameComponent.kind
|
Methods in org.omg.CosNaming that return String | |
String[] |
_BindingIteratorImplBase._ids()
|
String[] |
_NamingContextImplBase._ids()
|
String |
_NamingContextExtStub.to_string(NameComponent[] n)
This operation creates a stringified name from the array of Name components. |
String |
_NamingContextExtStub.to_url(String addr,
String sn)
This operation creates a URL based "iiopname://" format name from the Stringified Name of the object. |
String[] |
_NamingContextExtStub._ids()
|
String[] |
NamingContextExtPOA._all_interfaces(POA poa,
byte[] objectId)
|
static String |
NamingContextExtHelper.id()
|
String |
NamingContextExtOperations.to_string(NameComponent[] n)
This operation creates a stringified name from the array of Name components. |
String |
NamingContextExtOperations.to_url(String addr,
String sn)
This operation creates a URL based "iiopname://" format name from the Stringified Name of the object. |
String[] |
NamingContextPOA._all_interfaces(POA poa,
byte[] objectId)
|
String[] |
_NamingContextStub._ids()
|
static String |
NamingContextHelper.id()
|
static String |
NameHelper.id()
|
static String |
NameComponentHelper.id()
|
static String |
BindingTypeHelper.id()
|
static String |
BindingListHelper.id()
|
String[] |
_BindingIteratorStub._ids()
|
static String |
BindingIteratorHelper.id()
|
String[] |
BindingIteratorPOA._all_interfaces(POA poa,
byte[] objectId)
|
static String |
BindingHelper.id()
|
static String |
IstringHelper.extract(Any a)
|
static String |
IstringHelper.id()
|
static String |
IstringHelper.read(InputStream istream)
|
Methods in org.omg.CosNaming with parameters of type String | |
NameComponent[] |
_NamingContextExtStub.to_name(String sn)
This operation converts a Stringified Name into an equivalent array of Name Components. |
String |
_NamingContextExtStub.to_url(String addr,
String sn)
This operation creates a URL based "iiopname://" format name from the Stringified Name of the object. |
Object |
_NamingContextExtStub.resolve_str(String sn)
This operation resolves the Stringified name into the object reference. |
OutputStream |
NamingContextExtPOA._invoke(String $method,
InputStream in,
ResponseHandler $rh)
|
NameComponent[] |
NamingContextExtOperations.to_name(String sn)
This operation converts a Stringified Name into an equivalent array of Name Components. |
String |
NamingContextExtOperations.to_url(String addr,
String sn)
This operation creates a URL based "iiopname://" format name from the Stringified Name of the object. |
Object |
NamingContextExtOperations.resolve_str(String sn)
This operation resolves the Stringified name into the object reference. |
OutputStream |
NamingContextPOA._invoke(String $method,
InputStream in,
ResponseHandler $rh)
|
OutputStream |
BindingIteratorPOA._invoke(String $method,
InputStream in,
ResponseHandler $rh)
|
static void |
IstringHelper.insert(Any a,
String that)
|
static void |
IstringHelper.write(OutputStream ostream,
String value)
|
Constructors in org.omg.CosNaming with parameters of type String | |
NameComponent(String _id,
String _kind)
|
Uses of String in org.omg.CosNaming.NamingContextExtPackage |
Methods in org.omg.CosNaming.NamingContextExtPackage that return String | |
static String |
URLStringHelper.extract(Any a)
|
static String |
URLStringHelper.id()
|
static String |
URLStringHelper.read(InputStream istream)
|
static String |
StringNameHelper.extract(Any a)
|
static String |
StringNameHelper.id()
|
static String |
StringNameHelper.read(InputStream istream)
|
static String |
InvalidAddressHelper.id()
|
static String |
AddressHelper.extract(Any a)
|
static String |
AddressHelper.id()
|
static String |
AddressHelper.read(InputStream istream)
|
Methods in org.omg.CosNaming.NamingContextExtPackage with parameters of type String | |
static void |
URLStringHelper.insert(Any a,
String that)
|
static void |
URLStringHelper.write(OutputStream ostream,
String value)
|
static void |
StringNameHelper.insert(Any a,
String that)
|
static void |
StringNameHelper.write(OutputStream ostream,
String value)
|
static void |
AddressHelper.insert(Any a,
String that)
|
static void |
AddressHelper.write(OutputStream ostream,
String value)
|
Constructors in org.omg.CosNaming.NamingContextExtPackage with parameters of type String | |
InvalidAddress(String $reason)
|
Uses of String in org.omg.CosNaming.NamingContextPackage |
Methods in org.omg.CosNaming.NamingContextPackage that return String | |
static String |
NotFoundReasonHelper.id()
|
static String |
NotFoundHelper.id()
|
static String |
NotEmptyHelper.id()
|
static String |
InvalidNameHelper.id()
|
static String |
CannotProceedHelper.id()
|
static String |
AlreadyBoundHelper.id()
|
Constructors in org.omg.CosNaming.NamingContextPackage with parameters of type String | |
NotEmpty(String $reason)
|
|
AlreadyBound(String $reason)
|
|
InvalidName(String $reason)
|
|
CannotProceed(String $reason,
NamingContext _cxt,
NameComponent[] _rest_of_name)
|
|
NotFound(String $reason,
NotFoundReason _why,
NameComponent[] _rest_of_name)
|
Uses of String in org.omg.DynamicAny |
Fields in org.omg.DynamicAny declared as String | |
String |
NameDynAnyPair.id
The name associated with the DynAny. |
String |
NameValuePair.id
The name associated with the Any. |
Methods in org.omg.DynamicAny that return String | |
String |
_DynSequenceStub.get_string()
Extracts the string value from this DynAny. |
String |
_DynSequenceStub.get_wstring()
Extracts the string value from this DynAny. |
String[] |
_DynSequenceStub._ids()
|
String |
_DynFixedStub.get_value()
Returns the value of a DynFixed. |
String |
_DynFixedStub.get_string()
Extracts the string value from this DynAny. |
String |
_DynFixedStub.get_wstring()
Extracts the string value from this DynAny. |
String[] |
_DynFixedStub._ids()
|
String |
_DynEnumStub.get_as_string()
Returns the value of the DynEnum as an IDL identifier. |
String |
_DynEnumStub.get_string()
Extracts the string value from this DynAny. |
String |
_DynEnumStub.get_wstring()
Extracts the string value from this DynAny. |
String[] |
_DynEnumStub._ids()
|
String |
_DynArrayStub.get_string()
Extracts the string value from this DynAny. |
String |
_DynArrayStub.get_wstring()
Extracts the string value from this DynAny. |
String[] |
_DynArrayStub._ids()
|
String |
_DynValueStub.current_member_name()
Returns the name of the member at the current position. |
String |
_DynValueStub.get_string()
Extracts the string value from this DynAny. |
String |
_DynValueStub.get_wstring()
Extracts the string value from this DynAny. |
String[] |
_DynValueStub._ids()
|
String |
_DynAnyStub.get_string()
Extracts the string value from this DynAny. |
String |
_DynAnyStub.get_wstring()
Extracts the string value from this DynAny. |
String[] |
_DynAnyStub._ids()
|
String |
_DynUnionStub.member_name()
Returns the name of the currently active member. |
String |
_DynUnionStub.get_string()
Extracts the string value from this DynAny. |
String |
_DynUnionStub.get_wstring()
Extracts the string value from this DynAny. |
String[] |
_DynUnionStub._ids()
|
String[] |
_DynAnyFactoryStub._ids()
|
String |
_DynStructStub.current_member_name()
Returns the name of the member at the current position. |
String |
_DynStructStub.get_string()
Extracts the string value from this DynAny. |
String |
_DynStructStub.get_wstring()
Extracts the string value from this DynAny. |
String[] |
_DynStructStub._ids()
|
static String |
NameValuePairSeqHelper.id()
|
static String |
NameValuePairHelper.id()
|
static String |
NameDynAnyPairSeqHelper.id()
|
static String |
DynSequenceHelper.id()
|
static String |
NameDynAnyPairHelper.id()
|
static String |
FieldNameHelper.extract(Any a)
|
static String |
FieldNameHelper.id()
|
static String |
FieldNameHelper.read(InputStream istream)
|
static String |
DynFixedHelper.id()
|
static String |
DynEnumHelper.id()
|
static String |
DynAnySeqHelper.id()
|
static String |
DynArrayHelper.id()
|
static String |
DynValueHelper.id()
|
static String |
DynAnyHelper.id()
|
static String |
DynUnionHelper.id()
|
static String |
DynAnyFactoryHelper.id()
|
static String |
DynStructHelper.id()
|
static String |
AnySeqHelper.id()
|
String |
DynValueOperations.current_member_name()
Returns the name of the member at the current position. |
String |
DynUnionOperations.member_name()
Returns the name of the currently active member. |
String |
DynStructOperations.current_member_name()
Returns the name of the member at the current position. |
String |
DynFixedOperations.get_value()
Returns the value of a DynFixed. |
String |
DynEnumOperations.get_as_string()
Returns the value of the DynEnum as an IDL identifier. |
String |
DynAnyOperations.get_string()
Extracts the string value from this DynAny. |
String |
DynAnyOperations.get_wstring()
Extracts the string value from this DynAny. |
Methods in org.omg.DynamicAny with parameters of type String | |
void |
_DynSequenceStub.insert_string(String value)
Inserts a string value into the DynAny. |
void |
_DynSequenceStub.insert_wstring(String value)
Inserts a string value into the DynAny. |
boolean |
_DynFixedStub.set_value(String val)
Sets the value of the DynFixed. |
void |
_DynFixedStub.insert_string(String value)
Inserts a string value into the DynAny. |
void |
_DynFixedStub.insert_wstring(String value)
Inserts a string value into the DynAny. |
void |
_DynEnumStub.set_as_string(String value)
Sets the value of the DynEnum to the enumerated value whose IDL identifier is passed in the value parameter. |
void |
_DynEnumStub.insert_string(String value)
Inserts a string value into the DynAny. |
void |
_DynEnumStub.insert_wstring(String value)
Inserts a string value into the DynAny. |
void |
_DynArrayStub.insert_string(String value)
Inserts a string value into the DynAny. |
void |
_DynArrayStub.insert_wstring(String value)
Inserts a string value into the DynAny. |
void |
_DynValueStub.insert_string(String value)
Inserts a string value into the DynAny. |
void |
_DynValueStub.insert_wstring(String value)
Inserts a string value into the DynAny. |
void |
_DynAnyStub.insert_string(String value)
Inserts a string value into the DynAny. |
void |
_DynAnyStub.insert_wstring(String value)
Inserts a string value into the DynAny. |
void |
_DynUnionStub.insert_string(String value)
Inserts a string value into the DynAny. |
void |
_DynUnionStub.insert_wstring(String value)
Inserts a string value into the DynAny. |
void |
_DynStructStub.insert_string(String value)
Inserts a string value into the DynAny. |
void |
_DynStructStub.insert_wstring(String value)
Inserts a string value into the DynAny. |
static void |
FieldNameHelper.insert(Any a,
String that)
|
static void |
FieldNameHelper.write(OutputStream ostream,
String value)
|
boolean |
DynFixedOperations.set_value(String val)
Sets the value of the DynFixed. |
void |
DynEnumOperations.set_as_string(String value)
Sets the value of the DynEnum to the enumerated value whose IDL identifier is passed in the value parameter. |
void |
DynAnyOperations.insert_string(String value)
Inserts a string value into the DynAny. |
void |
DynAnyOperations.insert_wstring(String value)
Inserts a string value into the DynAny. |
Constructors in org.omg.DynamicAny with parameters of type String | |
NameDynAnyPair(String _id,
DynAny _value)
|
|
NameValuePair(String _id,
Any _value)
|
Uses of String in org.omg.DynamicAny.DynAnyFactoryPackage |
Methods in org.omg.DynamicAny.DynAnyFactoryPackage that return String | |
static String |
InconsistentTypeCodeHelper.id()
|
Constructors in org.omg.DynamicAny.DynAnyFactoryPackage with parameters of type String | |
InconsistentTypeCode(String $reason)
|
Uses of String in org.omg.DynamicAny.DynAnyPackage |
Methods in org.omg.DynamicAny.DynAnyPackage that return String | |
static String |
TypeMismatchHelper.id()
|
static String |
InvalidValueHelper.id()
|
Constructors in org.omg.DynamicAny.DynAnyPackage with parameters of type String | |
InvalidValue(String $reason)
|
|
TypeMismatch(String $reason)
|
Uses of String in org.omg.IOP |
Fields in org.omg.IOP declared as String | |
String |
IOR.type_id
The type id, represented as a String. |
Methods in org.omg.IOP that return String | |
static String |
TaggedProfileHelper.id()
|
static String |
TaggedComponentHelper.id()
|
static String |
ServiceIdHelper.id()
|
static String |
ServiceContextListHelper.id()
|
static String |
ServiceContextHelper.id()
|
static String |
ProfileIdHelper.id()
|
static String |
MultipleComponentProfileHelper.id()
|
static String |
IORHelper.id()
|
static String |
ComponentIdHelper.id()
|
static String |
CodecFactoryHelper.id()
|
Constructors in org.omg.IOP with parameters of type String | |
IOR(String _type_id,
TaggedProfile[] _profiles)
|
Uses of String in org.omg.IOP.CodecFactoryPackage |
Methods in org.omg.IOP.CodecFactoryPackage that return String | |
static String |
UnknownEncodingHelper.id()
|
Constructors in org.omg.IOP.CodecFactoryPackage with parameters of type String | |
UnknownEncoding(String $reason)
|
Uses of String in org.omg.IOP.CodecPackage |
Methods in org.omg.IOP.CodecPackage that return String | |
static String |
TypeMismatchHelper.id()
|
static String |
InvalidTypeForEncodingHelper.id()
|
static String |
FormatMismatchHelper.id()
|
Constructors in org.omg.IOP.CodecPackage with parameters of type String | |
TypeMismatch(String $reason)
|
|
FormatMismatch(String $reason)
|
|
InvalidTypeForEncoding(String $reason)
|
Uses of String in org.omg.Messaging |
Methods in org.omg.Messaging that return String | |
static String |
SyncScopeHelper.id()
|
Uses of String in org.omg.PortableInterceptor |
Methods in org.omg.PortableInterceptor that return String | |
String |
ServerRequestInfoOperations.target_most_derived_interface()
Returns the repository id for the most derived interface of the servant. |
String[] |
ORBInitInfoOperations.arguments()
Returns the arguments passed to ORB.init . |
String |
ORBInitInfoOperations.orb_id()
Returns the ID of the ORB being initialized. |
static String |
InvalidSlotHelper.id()
|
static String |
ForwardRequestHelper.id()
|
static String |
CurrentHelper.id()
|
String |
InterceptorOperations.name()
Returns the name of the interceptor. |
String |
RequestInfoOperations.operation()
Returns the name of the operation being invoked. |
String[] |
RequestInfoOperations.contexts()
Returns an array of String objects describing the
contexts that may be passed on this operation invocation. |
String[] |
RequestInfoOperations.operation_context()
Returns an array of String objects containing the
contexts being sent on the request. |
String |
ClientRequestInfoOperations.received_exception_id()
Returns the repository id of the exception to be returned to the client. |
Methods in org.omg.PortableInterceptor with parameters of type String | |
boolean |
ServerRequestInfoOperations.target_is_a(String id)
Returns true if the servant is the given repository id, false if it is not. |
void |
ORBInitInfoOperations.register_initial_reference(String id,
Object obj)
Identical to ORB.register_initial_reference . |
Object |
ORBInitInfoOperations.resolve_initial_references(String id)
Identical to ORB.resolve_initial_references . |
Constructors in org.omg.PortableInterceptor with parameters of type String | |
ForwardRequest(String $reason,
Object _forward)
|
|
InvalidSlot(String $reason)
|
Uses of String in org.omg.PortableInterceptor.ORBInitInfoPackage |
Fields in org.omg.PortableInterceptor.ORBInitInfoPackage declared as String | |
String |
DuplicateName.name
The name for which there was already an interceptor registered. |
Methods in org.omg.PortableInterceptor.ORBInitInfoPackage that return String | |
static String |
ObjectIdHelper.extract(Any a)
|
static String |
ObjectIdHelper.id()
|
static String |
ObjectIdHelper.read(InputStream istream)
|
static String |
InvalidNameHelper.id()
|
static String |
DuplicateNameHelper.id()
|
Methods in org.omg.PortableInterceptor.ORBInitInfoPackage with parameters of type String | |
static void |
ObjectIdHelper.insert(Any a,
String that)
|
static void |
ObjectIdHelper.write(OutputStream ostream,
String value)
|
Constructors in org.omg.PortableInterceptor.ORBInitInfoPackage with parameters of type String | |
DuplicateName(String _name)
|
|
DuplicateName(String $reason,
String _name)
|
|
InvalidName(String $reason)
|
Uses of String in org.omg.PortableServer |
Methods in org.omg.PortableServer that return String | |
String[] |
_ServantLocatorStub._ids()
|
String[] |
ServantLocatorPOA._all_interfaces(POA poa,
byte[] objectId)
|
static String |
ServantLocatorHelper.id()
|
String[] |
_ServantActivatorStub._ids()
|
String[] |
ServantActivatorPOA._all_interfaces(POA poa,
byte[] objectId)
|
static String |
ServantActivatorHelper.id()
|
static String |
POAHelper.id()
|
static String |
ForwardRequestHelper.id()
|
static String |
CurrentHelper.id()
|
String |
POAOperations.the_name()
This attribute identifies the POA relative to its parent. |
abstract String[] |
Servant._all_interfaces(POA poa,
byte[] objectId)
Used by the ORB to obtain complete type information from the servant. |
Methods in org.omg.PortableServer with parameters of type String | |
Servant |
_ServantLocatorStub.preinvoke(byte[] oid,
POA adapter,
String operation,
CookieHolder the_cookie)
This operations is used to get a servant that will be used to process the request that caused preinvoke to be called. |
void |
_ServantLocatorStub.postinvoke(byte[] oid,
POA adapter,
String operation,
Object the_cookie,
Servant the_servant)
This operation is invoked whenener a servant completes a request. |
OutputStream |
ServantLocatorPOA._invoke(String $method,
InputStream in,
ResponseHandler $rh)
|
Servant |
ServantLocatorOperations.preinvoke(byte[] oid,
POA adapter,
String operation,
CookieHolder the_cookie)
This operations is used to get a servant that will be used to process the request that caused preinvoke to be called. |
void |
ServantLocatorOperations.postinvoke(byte[] oid,
POA adapter,
String operation,
Object the_cookie,
Servant the_servant)
This operation is invoked whenener a servant completes a request. |
OutputStream |
ServantActivatorPOA._invoke(String $method,
InputStream in,
ResponseHandler $rh)
|
boolean |
AdapterActivatorOperations.unknown_adapter(POA parent,
String name)
This operation is invoked when the ORB receives a request for an object reference that identifies a target POA that does not exist. |
POA |
POAOperations.create_POA(String adapter_name,
POAManager a_POAManager,
Policy[] policies)
This operation creates a new POA as a child of the target POA. |
POA |
POAOperations.find_POA(String adapter_name,
boolean activate_it)
If the target POA is the parent of a child POA with the specified name (relative to the target POA), that child POA is returned. |
Object |
POAOperations.create_reference(String intf)
This operation creates an object reference that encapsulates a POA-generated Object Id value and the specified interface repository id. |
Object |
POAOperations.create_reference_with_id(byte[] oid,
String intf)
This operation creates an object reference that encapsulates the specified Object Id and interface repository Id values. |
boolean |
Servant._is_a(String repository_id)
Checks to see if the specified repository_id is present
on the list returned by _all_interfaces() or is the
repository_id for the generic CORBA Object. |
Constructors in org.omg.PortableServer with parameters of type String | |
ForwardRequest(String $reason,
Object _forward_reference)
|
Uses of String in org.omg.PortableServer.CurrentPackage |
Methods in org.omg.PortableServer.CurrentPackage that return String | |
static String |
NoContextHelper.id()
|
Constructors in org.omg.PortableServer.CurrentPackage with parameters of type String | |
NoContext(String $reason)
|
Uses of String in org.omg.PortableServer.POAManagerPackage |
Methods in org.omg.PortableServer.POAManagerPackage that return String | |
static String |
AdapterInactiveHelper.id()
|
Constructors in org.omg.PortableServer.POAManagerPackage with parameters of type String | |
AdapterInactive(String $reason)
|
Uses of String in org.omg.PortableServer.POAPackage |
Methods in org.omg.PortableServer.POAPackage that return String | |
static String |
WrongPolicyHelper.id()
|
static String |
WrongAdapterHelper.id()
|
static String |
ServantNotActiveHelper.id()
|
static String |
ServantAlreadyActiveHelper.id()
|
static String |
ObjectNotActiveHelper.id()
|
static String |
ObjectAlreadyActiveHelper.id()
|
static String |
NoServantHelper.id()
|
static String |
InvalidPolicyHelper.id()
|
static String |
AdapterNonExistentHelper.id()
|
static String |
AdapterAlreadyExistsHelper.id()
|
Constructors in org.omg.PortableServer.POAPackage with parameters of type String | |
WrongAdapter(String $reason)
|
|
ServantNotActive(String $reason)
|
|
ObjectNotActive(String $reason)
|
|
ObjectAlreadyActive(String $reason)
|
|
ServantAlreadyActive(String $reason)
|
|
NoServant(String $reason)
|
|
WrongPolicy(String $reason)
|
|
AdapterNonExistent(String $reason)
|
|
InvalidPolicy(String $reason,
short _index)
|
|
AdapterAlreadyExists(String $reason)
|
Uses of String in org.omg.PortableServer.portable |
Methods in org.omg.PortableServer.portable with parameters of type String | |
boolean |
Delegate.is_a(Servant Self,
String Repository_Id)
This method checks to see if the specified repid is present on the list returned by _all_interfaces() or is the repository id for the generic CORBA Object. |
Uses of String in org.omg.stub.java.rmi |
Methods in org.omg.stub.java.rmi that return String | |
String[] |
_Remote_Stub._ids()
Returns an array of repository ids that an object implements. |
Uses of String in org.w3c.dom |
Methods in org.w3c.dom that return String | |
String |
Entity.getPublicId()
The public identifier associated with the entity, if specified. |
String |
Entity.getSystemId()
The system identifier associated with the entity, if specified. |
String |
Entity.getNotationName()
For unparsed entities, the name of the notation for the entity. |
String |
Notation.getPublicId()
The public identifier of this notation. |
String |
Notation.getSystemId()
The system identifier of this notation. |
String |
ProcessingInstruction.getTarget()
The target of this processing instruction. |
String |
ProcessingInstruction.getData()
The content of this processing instruction. |
String |
CharacterData.getData()
The character data of the node that implements this interface. |
String |
CharacterData.substringData(int offset,
int count)
Extracts a range of data from the node. |
String |
DocumentType.getName()
The name of DTD; i.e., the name immediately following the DOCTYPE keyword. |
String |
DocumentType.getPublicId()
The public identifier of the external subset. |
String |
DocumentType.getSystemId()
The system identifier of the external subset. |
String |
DocumentType.getInternalSubset()
The internal subset as a string, or null if there is none. |
String |
Attr.getName()
Returns the name of this attribute. |
String |
Attr.getValue()
On retrieval, the value of the attribute is returned as a string. |
String |
Node.getNodeName()
The name of this node, depending on its type; see the table above. |
String |
Node.getNodeValue()
The value of this node, depending on its type; see the table above. |
String |
Node.getNamespaceURI()
The namespace URI of this node, or null if it is
unspecified. |
String |
Node.getPrefix()
The namespace prefix of this node, or null if it is
unspecified. |
String |
Node.getLocalName()
Returns the local part of the qualified name of this node. |
String |
Element.getTagName()
The name of the element. |
String |
Element.getAttribute(String name)
Retrieves an attribute value by name. |
String |
Element.getAttributeNS(String namespaceURI,
String localName)
Retrieves an attribute value by local name and namespace URI. |
Methods in org.w3c.dom with parameters of type String | |
void |
ProcessingInstruction.setData(String data)
The content of this processing instruction. |
void |
CharacterData.setData(String data)
The character data of the node that implements this interface. |
void |
CharacterData.appendData(String arg)
Append the string to the end of the character data of the node. |
void |
CharacterData.insertData(int offset,
String arg)
Insert a string at the specified 16-bit unit offset. |
void |
CharacterData.replaceData(int offset,
int count,
String arg)
Replace the characters starting at the specified 16-bit unit offset with the specified string. |
boolean |
DOMImplementation.hasFeature(String feature,
String version)
Test if the DOM implementation implements a specific feature. |
DocumentType |
DOMImplementation.createDocumentType(String qualifiedName,
String publicId,
String systemId)
Creates an empty DocumentType node. |
Document |
DOMImplementation.createDocument(String namespaceURI,
String qualifiedName,
DocumentType doctype)
Creates a DOM Document object of the specified type with its document element. |
Element |
Document.createElement(String tagName)
Creates an element of the type specified. |
Text |
Document.createTextNode(String data)
Creates a Text node given the specified string. |
Comment |
Document.createComment(String data)
Creates a Comment node given the specified string. |
CDATASection |
Document.createCDATASection(String data)
Creates a CDATASection node whose value is the specified
string. |
ProcessingInstruction |
Document.createProcessingInstruction(String target,
String data)
Creates a ProcessingInstruction node given the specified
name and data strings. |
Attr |
Document.createAttribute(String name)
Creates an Attr of the given name. |
EntityReference |
Document.createEntityReference(String name)
Creates an EntityReference object. |
NodeList |
Document.getElementsByTagName(String tagname)
Returns a NodeList of all the Elements with a
given tag name in the order in which they are encountered in a
preorder traversal of the Document tree. |
Element |
Document.createElementNS(String namespaceURI,
String qualifiedName)
Creates an element of the given qualified name and namespace URI. |
Attr |
Document.createAttributeNS(String namespaceURI,
String qualifiedName)
Creates an attribute of the given qualified name and namespace URI. |
NodeList |
Document.getElementsByTagNameNS(String namespaceURI,
String localName)
Returns a NodeList of all the Elements with a
given local name and namespace URI in the order in which they are
encountered in a preorder traversal of the Document tree. |
Element |
Document.getElementById(String elementId)
Returns the Element whose ID is given by
elementId . |
Node |
NamedNodeMap.getNamedItem(String name)
Retrieves a node specified by name. |
Node |
NamedNodeMap.removeNamedItem(String name)
Removes a node specified by name. |
Node |
NamedNodeMap.getNamedItemNS(String namespaceURI,
String localName)
Retrieves a node specified by local name and namespace URI. |
Node |
NamedNodeMap.removeNamedItemNS(String namespaceURI,
String localName)
Removes a node specified by local name and namespace URI. |
void |
Attr.setValue(String value)
On retrieval, the value of the attribute is returned as a string. |
void |
Node.setNodeValue(String nodeValue)
The value of this node, depending on its type; see the table above. |
boolean |
Node.isSupported(String feature,
String version)
Tests whether the DOM implementation implements a specific feature and that feature is supported by this node. |
void |
Node.setPrefix(String prefix)
The namespace prefix of this node, or null if it is
unspecified. |
String |
Element.getAttribute(String name)
Retrieves an attribute value by name. |
void |
Element.setAttribute(String name,
String value)
Adds a new attribute. |
void |
Element.removeAttribute(String name)
Removes an attribute by name. |
Attr |
Element.getAttributeNode(String name)
Retrieves an attribute node by name. |
NodeList |
Element.getElementsByTagName(String name)
Returns a NodeList of all descendant Elements
with a given tag name, in the order in which they are encountered in
a preorder traversal of this Element tree. |
String |
Element.getAttributeNS(String namespaceURI,
String localName)
Retrieves an attribute value by local name and namespace URI. |
void |
Element.setAttributeNS(String namespaceURI,
String qualifiedName,
String value)
Adds a new attribute. |
void |
Element.removeAttributeNS(String namespaceURI,
String localName)
Removes an attribute by local name and namespace URI. |
Attr |
Element.getAttributeNodeNS(String namespaceURI,
String localName)
Retrieves an Attr node by local name and namespace URI. |
NodeList |
Element.getElementsByTagNameNS(String namespaceURI,
String localName)
Returns a NodeList of all the descendant
Elements with a given local name and namespace URI in
the order in which they are encountered in a preorder traversal of
this Element tree. |
boolean |
Element.hasAttribute(String name)
Returns true when an attribute with a given name is
specified on this element or has a default value, false
otherwise. |
boolean |
Element.hasAttributeNS(String namespaceURI,
String localName)
Returns true when an attribute with a given local name and
namespace URI is specified on this element or has a default value,
false otherwise. |
Constructors in org.w3c.dom with parameters of type String | |
DOMException(short code,
String message)
|
Uses of String in org.xml.sax |
Methods in org.xml.sax that return String | |
String |
AttributeList.getName(int i)
Deprecated. Return the name of an attribute in this list (by position). |
String |
AttributeList.getType(int i)
Deprecated. Return the type of an attribute in the list (by position). |
String |
AttributeList.getValue(int i)
Deprecated. Return the value of an attribute in the list (by position). |
String |
AttributeList.getType(String name)
Deprecated. Return the type of an attribute in the list (by name). |
String |
AttributeList.getValue(String name)
Deprecated. Return the value of an attribute in the list (by name). |
String |
Attributes.getURI(int index)
Look up an attribute's Namespace URI by index. |
String |
Attributes.getLocalName(int index)
Look up an attribute's local name by index. |
String |
Attributes.getQName(int index)
Look up an attribute's XML 1.0 qualified name by index. |
String |
Attributes.getType(int index)
Look up an attribute's type by index. |
String |
Attributes.getValue(int index)
Look up an attribute's value by index. |
String |
Attributes.getType(String uri,
String localName)
Look up an attribute's type by Namespace name. |
String |
Attributes.getType(String qName)
Look up an attribute's type by XML 1.0 qualified name. |
String |
Attributes.getValue(String uri,
String localName)
Look up an attribute's value by Namespace name. |
String |
Attributes.getValue(String qName)
Look up an attribute's value by XML 1.0 qualified name. |
String |
Locator.getPublicId()
Return the public identifier for the current document event. |
String |
Locator.getSystemId()
Return the system identifier for the current document event. |
String |
SAXParseException.getPublicId()
Get the public identifier of the entity where the exception occurred. |
String |
SAXParseException.getSystemId()
Get the system identifier of the entity where the exception occurred. |
String |
InputSource.getPublicId()
Get the public identifier for this input source. |
String |
InputSource.getSystemId()
Get the system identifier for this input source. |
String |
InputSource.getEncoding()
Get the character encoding for a byte stream or URI. |
String |
SAXException.getMessage()
Return a detail message for this exception. |
String |
SAXException.toString()
Override toString to pick up any embedded exception. |
Methods in org.xml.sax with parameters of type String | |
InputSource |
HandlerBase.resolveEntity(String publicId,
String systemId)
Deprecated. Resolve an external entity. |
void |
HandlerBase.notationDecl(String name,
String publicId,
String systemId)
Deprecated. Receive notification of a notation declaration. |
void |
HandlerBase.unparsedEntityDecl(String name,
String publicId,
String systemId,
String notationName)
Deprecated. Receive notification of an unparsed entity declaration. |
void |
HandlerBase.startElement(String name,
AttributeList attributes)
Deprecated. Receive notification of the start of an element. |
void |
HandlerBase.endElement(String name)
Deprecated. Receive notification of the end of an element. |
void |
HandlerBase.processingInstruction(String target,
String data)
Deprecated. Receive notification of a processing instruction. |
String |
AttributeList.getType(String name)
Deprecated. Return the type of an attribute in the list (by name). |
String |
AttributeList.getValue(String name)
Deprecated. Return the value of an attribute in the list (by name). |
void |
DocumentHandler.startElement(String name,
AttributeList atts)
Deprecated. Receive notification of the beginning of an element. |
void |
DocumentHandler.endElement(String name)
Deprecated. Receive notification of the end of an element. |
void |
DocumentHandler.processingInstruction(String target,
String data)
Deprecated. Receive notification of a processing instruction. |
void |
Parser.parse(String systemId)
Deprecated. Parse an XML document from a system identifier (URI). |
boolean |
XMLReader.getFeature(String name)
Look up the value of a feature. |
void |
XMLReader.setFeature(String name,
boolean value)
Set the state of a feature. |
Object |
XMLReader.getProperty(String name)
Look up the value of a property. |
void |
XMLReader.setProperty(String name,
Object value)
Set the value of a property. |
void |
XMLReader.parse(String systemId)
Parse an XML document from a system identifier (URI). |
int |
Attributes.getIndex(String uri,
String localName)
Look up the index of an attribute by Namespace name. |
int |
Attributes.getIndex(String qName)
Look up the index of an attribute by XML 1.0 qualified name. |
String |
Attributes.getType(String uri,
String localName)
Look up an attribute's type by Namespace name. |
String |
Attributes.getType(String qName)
Look up an attribute's type by XML 1.0 qualified name. |
String |
Attributes.getValue(String uri,
String localName)
Look up an attribute's value by Namespace name. |
String |
Attributes.getValue(String qName)
Look up an attribute's value by XML 1.0 qualified name. |
void |
ContentHandler.startPrefixMapping(String prefix,
String uri)
Begin the scope of a prefix-URI Namespace mapping. |
void |
ContentHandler.endPrefixMapping(String prefix)
End the scope of a prefix-URI mapping. |
void |
ContentHandler.startElement(String namespaceURI,
String localName,
String qName,
Attributes atts)
Receive notification of the beginning of an element. |
void |
ContentHandler.endElement(String namespaceURI,
String localName,
String qName)
Receive notification of the end of an element. |
void |
ContentHandler.processingInstruction(String target,
String data)
Receive notification of a processing instruction. |
void |
ContentHandler.skippedEntity(String name)
Receive notification of a skipped entity. |
void |
DTDHandler.notationDecl(String name,
String publicId,
String systemId)
Receive notification of a notation declaration event. |
void |
DTDHandler.unparsedEntityDecl(String name,
String publicId,
String systemId,
String notationName)
Receive notification of an unparsed entity declaration event. |
void |
InputSource.setPublicId(String publicId)
Set the public identifier for this input source. |
void |
InputSource.setSystemId(String systemId)
Set the system identifier for this input source. |
void |
InputSource.setEncoding(String encoding)
Set the character encoding, if known. |
InputSource |
EntityResolver.resolveEntity(String publicId,
String systemId)
Allow the application to resolve external entities. |
Constructors in org.xml.sax with parameters of type String | |
SAXNotSupportedException(String message)
Construct a new exception with the given message. |
|
SAXNotRecognizedException(String message)
Construct a new exception with the given message. |
|
SAXParseException(String message,
Locator locator)
Create a new SAXParseException from a message and a Locator. |
|
SAXParseException(String message,
Locator locator,
Exception e)
Wrap an existing exception in a SAXParseException. |
|
SAXParseException(String message,
String publicId,
String systemId,
int lineNumber,
int columnNumber)
Create a new SAXParseException. |
|
SAXParseException(String message,
String publicId,
String systemId,
int lineNumber,
int columnNumber,
Exception e)
Create a new SAXParseException with an embedded exception. |
|
InputSource(String systemId)
Create a new input source with a system identifier. |
|
SAXException(String message)
Create a new SAXException. |
|
SAXException(String message,
Exception e)
Create a new SAXException from an existing exception. |
Uses of String in org.xml.sax.ext |
Methods in org.xml.sax.ext with parameters of type String | |
void |
LexicalHandler.startDTD(String name,
String publicId,
String systemId)
Report the start of DTD declarations, if any. |
void |
LexicalHandler.startEntity(String name)
Report the beginning of some internal and external XML entities. |
void |
LexicalHandler.endEntity(String name)
Report the end of an entity. |
void |
DeclHandler.elementDecl(String name,
String model)
Report an element type declaration. |
void |
DeclHandler.attributeDecl(String eName,
String aName,
String type,
String valueDefault,
String value)
Report an attribute type declaration. |
void |
DeclHandler.internalEntityDecl(String name,
String value)
Report an internal entity declaration. |
void |
DeclHandler.externalEntityDecl(String name,
String publicId,
String systemId)
Report a parsed external entity declaration. |
Uses of String in org.xml.sax.helpers |
Fields in org.xml.sax.helpers declared as String | |
static String |
NamespaceSupport.XMLNS
The XML Namespace as a constant. |
Methods in org.xml.sax.helpers that return String | |
String |
LocatorImpl.getPublicId()
Return the saved public identifier. |
String |
LocatorImpl.getSystemId()
Return the saved system identifier. |
String |
AttributeListImpl.getName(int i)
Deprecated. Get the name of an attribute (by position). |
String |
AttributeListImpl.getType(int i)
Deprecated. Get the type of an attribute (by position). |
String |
AttributeListImpl.getValue(int i)
Deprecated. Get the value of an attribute (by position). |
String |
AttributeListImpl.getType(String name)
Deprecated. Get the type of an attribute (by name). |
String |
AttributeListImpl.getValue(String name)
Deprecated. Get the value of an attribute (by name). |
String[] |
NamespaceSupport.processName(String qName,
String[] parts,
boolean isAttribute)
Process a raw XML 1.0 name. |
String |
NamespaceSupport.getURI(String prefix)
Look up a prefix and get the currently-mapped Namespace URI. |
String |
NamespaceSupport.getPrefix(String uri)
Return one of the prefixes mapped to a Namespace URI. |
String |
AttributesImpl.getURI(int index)
Return an attribute's Namespace URI. |
String |
AttributesImpl.getLocalName(int index)
Return an attribute's local name. |
String |
AttributesImpl.getQName(int index)
Return an attribute's qualified (prefixed) name. |
String |
AttributesImpl.getType(int index)
Return an attribute's type by index. |
String |
AttributesImpl.getValue(int index)
Return an attribute's value by index. |
String |
AttributesImpl.getType(String uri,
String localName)
Look up an attribute's type by Namespace-qualified name. |
String |
AttributesImpl.getType(String qName)
Look up an attribute's type by qualified (prefixed) name. |
String |
AttributesImpl.getValue(String uri,
String localName)
Look up an attribute's value by Namespace-qualified name. |
String |
AttributesImpl.getValue(String qName)
Look up an attribute's value by qualified (prefixed) name. |
Methods in org.xml.sax.helpers with parameters of type String | |
void |
XMLReaderAdapter.parse(String systemId)
Parse the document. |
void |
XMLReaderAdapter.startPrefixMapping(String prefix,
String uri)
Adapt a SAX2 start prefix mapping event. |
void |
XMLReaderAdapter.endPrefixMapping(String prefix)
Adapt a SAX2 end prefix mapping event. |
void |
XMLReaderAdapter.startElement(String uri,
String localName,
String qName,
Attributes atts)
Adapt a SAX2 start element event. |
void |
XMLReaderAdapter.endElement(String uri,
String localName,
String qName)
Adapt a SAX2 end element event. |
void |
XMLReaderAdapter.processingInstruction(String target,
String data)
Adapt a SAX2 processing instruction event. |
void |
XMLReaderAdapter.skippedEntity(String name)
Adapt a SAX2 skipped entity event. |
void |
XMLFilterImpl.setFeature(String name,
boolean state)
Set the state of a feature. |
boolean |
XMLFilterImpl.getFeature(String name)
Look up the state of a feature. |
void |
XMLFilterImpl.setProperty(String name,
Object value)
Set the value of a property. |
Object |
XMLFilterImpl.getProperty(String name)
Look up the value of a property. |
void |
XMLFilterImpl.parse(String systemId)
Parse a document. |
InputSource |
XMLFilterImpl.resolveEntity(String publicId,
String systemId)
Filter an external entity resolution. |
void |
XMLFilterImpl.notationDecl(String name,
String publicId,
String systemId)
Filter a notation declaration event. |
void |
XMLFilterImpl.unparsedEntityDecl(String name,
String publicId,
String systemId,
String notationName)
Filter an unparsed entity declaration event. |
void |
XMLFilterImpl.startPrefixMapping(String prefix,
String uri)
Filter a start Namespace prefix mapping event. |
void |
XMLFilterImpl.endPrefixMapping(String prefix)
Filter an end Namespace prefix mapping event. |
void |
XMLFilterImpl.startElement(String uri,
String localName,
String qName,
Attributes atts)
Filter a start element event. |
void |
XMLFilterImpl.endElement(String uri,
String localName,
String qName)
Filter an end element event. |
void |
XMLFilterImpl.processingInstruction(String target,
String data)
Filter a processing instruction event. |
void |
XMLFilterImpl.skippedEntity(String name)
Filter a skipped entity event. |
void |
LocatorImpl.setPublicId(String publicId)
Set the public identifier for this locator. |
void |
LocatorImpl.setSystemId(String systemId)
Set the system identifier for this locator. |
void |
AttributeListImpl.addAttribute(String name,
String type,
String value)
Deprecated. Add an attribute to an attribute list. |
void |
AttributeListImpl.removeAttribute(String name)
Deprecated. Remove an attribute from the list. |
String |
AttributeListImpl.getType(String name)
Deprecated. Get the type of an attribute (by name). |
String |
AttributeListImpl.getValue(String name)
Deprecated. Get the value of an attribute (by name). |
void |
ParserAdapter.setFeature(String name,
boolean state)
Set a feature for the parser. |
boolean |
ParserAdapter.getFeature(String name)
Check a parser feature. |
void |
ParserAdapter.setProperty(String name,
Object value)
Set a parser property. |
Object |
ParserAdapter.getProperty(String name)
Get a parser property. |
void |
ParserAdapter.parse(String systemId)
Parse an XML document. |
void |
ParserAdapter.startElement(String qName,
AttributeList qAtts)
Adapt a SAX1 startElement event. |
void |
ParserAdapter.endElement(String qName)
Adapt a SAX1 end element event. |
void |
ParserAdapter.processingInstruction(String target,
String data)
Adapt a SAX1 processing instruction event. |
static Parser |
ParserFactory.makeParser(String className)
Deprecated. Create a new SAX parser object using the class name provided. |
boolean |
NamespaceSupport.declarePrefix(String prefix,
String uri)
Declare a Namespace prefix. |
String[] |
NamespaceSupport.processName(String qName,
String[] parts,
boolean isAttribute)
Process a raw XML 1.0 name. |
String |
NamespaceSupport.getURI(String prefix)
Look up a prefix and get the currently-mapped Namespace URI. |
String |
NamespaceSupport.getPrefix(String uri)
Return one of the prefixes mapped to a Namespace URI. |
Enumeration |
NamespaceSupport.getPrefixes(String uri)
Return an enumeration of all prefixes currently declared for a URI. |
int |
AttributesImpl.getIndex(String uri,
String localName)
Look up an attribute's index by Namespace name. |
int |
AttributesImpl.getIndex(String qName)
Look up an attribute's index by qualified (prefixed) name. |
String |
AttributesImpl.getType(String uri,
String localName)
Look up an attribute's type by Namespace-qualified name. |
String |
AttributesImpl.getType(String qName)
Look up an attribute's type by qualified (prefixed) name. |
String |
AttributesImpl.getValue(String uri,
String localName)
Look up an attribute's value by Namespace-qualified name. |
String |
AttributesImpl.getValue(String qName)
Look up an attribute's value by qualified (prefixed) name. |
void |
AttributesImpl.addAttribute(String uri,
String localName,
String qName,
String type,
String value)
Add an attribute to the end of the list. |
void |
AttributesImpl.setAttribute(int index,
String uri,
String localName,
String qName,
String type,
String value)
Set an attribute in the list. |
void |
AttributesImpl.setURI(int index,
String uri)
Set the Namespace URI of a specific attribute. |
void |
AttributesImpl.setLocalName(int index,
String localName)
Set the local name of a specific attribute. |
void |
AttributesImpl.setQName(int index,
String qName)
Set the qualified name of a specific attribute. |
void |
AttributesImpl.setType(int index,
String type)
Set the type of a specific attribute. |
void |
AttributesImpl.setValue(int index,
String value)
Set the value of a specific attribute. |
static XMLReader |
XMLReaderFactory.createXMLReader(String className)
Attempt to create an XML reader from a class name. |
InputSource |
DefaultHandler.resolveEntity(String publicId,
String systemId)
Resolve an external entity. |
void |
DefaultHandler.notationDecl(String name,
String publicId,
String systemId)
Receive notification of a notation declaration. |
void |
DefaultHandler.unparsedEntityDecl(String name,
String publicId,
String systemId,
String notationName)
Receive notification of an unparsed entity declaration. |
void |
DefaultHandler.startPrefixMapping(String prefix,
String uri)
Receive notification of the start of a Namespace mapping. |
void |
DefaultHandler.endPrefixMapping(String prefix)
Receive notification of the end of a Namespace mapping. |
void |
DefaultHandler.startElement(String uri,
String localName,
String qName,
Attributes attributes)
Receive notification of the start of an element. |
void |
DefaultHandler.endElement(String uri,
String localName,
String qName)
Receive notification of the end of an element. |
void |
DefaultHandler.processingInstruction(String target,
String data)
Receive notification of a processing instruction. |
void |
DefaultHandler.skippedEntity(String name)
Receive notification of a skipped entity. |
|
JavaTM 2 Platform Std. Ed. v1.4.2 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.