|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
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 Java Beans development. |
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.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. |
java.security.spec | Provides classes and interfaces for key specifications and algorithm parameter specifications. |
java.sql | Provides the API for accessing and processing data in a data source 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.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.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.rmi.CORBA | Contains portability APIs for RMI-IIOP. |
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.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 ``metal'' look-and-feel. |
javax.swing.plaf.multi | The multiplexing look and feel allows users to combine auxiliary look and feels with the default look and feel. |
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 | Provides support for undo/redo capabilities in an application such as a text editor. |
javax.transaction | Contains three exceptions thrown by the ORB machinery during unmarshalling. |
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 the naming service for Java IDL. |
org.omg.CosNaming.NamingContextPackage | Provides the exceptions used in the package org.omg.CosNaming
(AlreadyBound , CannotProceed ,
InvalidName , NotEmpty , and
NotFound )
and also the Helper and Holder classes for those
exceptions. |
org.omg.stub.java.rmi | Contains RMI-IIOP Stubs for the Remote types that occur in the java.rmi package. |
Uses of String in java.applet |
Methods in java.applet that return String | |
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 than are understood by this applet. |
String |
AppletStub.getParameter(String name)
Returns the value of the named parameter in the HTML tag. |
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". |
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. |
String |
AppletStub.getParameter(String name)
Returns the value of the named parameter in the HTML tag. |
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
The component comes before the first line of the layout's content. |
static String |
BorderLayout.AFTER_LAST_LINE
The component comes after the last line of the layout's content. |
static String |
BorderLayout.BEFORE_LINE_BEGINS
The component goes at the beginning of the line direction for the layout. |
static String |
BorderLayout.AFTER_LINE_ENDS
The component goes at the end of the line direction for the layout. |
protected String |
Font.name
The logical name of this Font , as passed to the
constructor. |
protected String |
Cursor.name
The user-visible name of the cursor. |
Methods in java.awt that return String | |
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. |
protected String |
Container.paramString()
Returns the parameter string representing the state of this container. |
String |
Component.AccessibleAWTComponent.getAccessibleName()
Get the accessible name of this object. |
String |
Component.AccessibleAWTComponent.getAccessibleDescription()
Get the accessible description of this object. |
protected String |
Event.paramString()
Returns the parameter string representing this event. |
String |
Event.toString()
Returns a representation of this event's values as a string. |
String |
CardLayout.toString()
Returns a string representation of the state of this card layout. |
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 |
ScrollPane.paramString()
|
protected String |
Scrollbar.paramString()
Returns the parameter string representing the state of this scroll bar. |
String |
MenuComponent.getName()
Gets the name of the menu component. |
protected String |
MenuComponent.paramString()
Returns the parameter string representing the state of this menu component. |
String |
MenuComponent.toString()
Returns a representation of this menu component as a string. |
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 the parameter string representing the state of this menu item. |
String |
Menu.paramString()
Gets the parameter string representing the state of this menu. |
String |
MenuComponent.AccessibleAWTMenuComponent.getAccessibleName()
Get the accessible name of this object. |
String |
MenuComponent.AccessibleAWTMenuComponent.getAccessibleDescription()
Get the accessible description of this object. |
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 |
Checkbox.getLabel()
Gets the label of this check box. |
protected String |
Checkbox.paramString()
Returns the parameter string representing the state of this check box. |
String |
Checkbox.AccessibleAWTCheckbox.getAccessibleActionDescription(int i)
Return a description of the specified action of the object. |
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 |
MenuShortcut.toString()
Returns an internationalized description of the MenuShortcut. |
protected String |
MenuShortcut.paramString()
|
abstract String |
GraphicsDevice.getIDstring()
Returns the identification string associated with this GraphicsDevice . |
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 |
Insets.toString()
Returns a string representation of this Insets object. |
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 |
Window.getWarningString()
Gets the warning string that is displayed with this window. |
String |
Dialog.getTitle()
Gets the title of the dialog. |
protected String |
Dialog.paramString()
Returns the parameter string representing the state of this dialog window. |
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 the parameter string representing the state of this file dialog window. |
String |
RenderingHints.toString()
Returns a rather long string representation of the hashmap which contains the mappings of keys to values for this RenderingHints object. |
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 |
Point.toString()
Returns a string representation of this point and its location in the (x, y) coordinate space. |
String |
Color.toString()
Returns a string representation of this Color . |
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()
Get the selected item on this scrolling list. |
String[] |
List.getSelectedItems()
Get the selected items on this scrolling list. |
protected String |
List.paramString()
Returns the parameter string representing the state of this scrolling list. |
String |
TextComponent.getText()
Gets the text that is presented by this text component. |
String |
TextComponent.getSelectedText()
Gets the selected text from the text that is presented by this text component. |
protected String |
TextComponent.paramString()
Returns the parameter string representing the state of this text component. |
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. |
String |
CheckboxGroup.toString()
Returns a string representation of this check box group, including the value of its current selection. |
String |
Cursor.getName()
Returns the name of this cursor. |
String |
Cursor.toString()
Returns a string representation of this cursor. |
String |
Dimension.toString()
Returns a string representation of the values of this Dimension object's height and
width fields. |
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 the parameter string representing the state of this choice menu. |
String |
Choice.AccessibleAWTChoice.getAccessibleActionDescription(int i)
Returns a description of the specified action of the object. |
String |
GridBagLayout.toString()
Returns a string representation of this grid bag layout's values. |
String |
Frame.getTitle()
Gets the title of the frame. |
protected String |
Frame.paramString()
Returns the parameter String of this Frame. |
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 |
AWTEvent.toString()
|
String |
AWTEvent.paramString()
Returns a string representing the state of this event. |
String |
Label.getText()
Gets the text of this label. |
protected String |
Label.paramString()
Returns the parameter string representing the state of this label. |
String |
Label.AccessibleAWTLabel.getAccessibleName()
Get the accessible name of this object. |
protected String |
TextField.paramString()
Returns the parameter string representing the state of this text field. |
String |
Rectangle.toString()
Returns a String representing this
Rectangle and its values. |
String |
FlowLayout.toString()
Returns a string representation of this FlowLayout
object and its values. |
String |
SystemColor.toString()
Returns the String representation of this Color's values. |
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 the parameter 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. |
String |
CheckboxMenuItem.paramString()
Returns the parameter string representing the state of this check box menu item. |
String |
CheckboxMenuItem.AccessibleAWTCheckboxMenuItem.getAccessibleActionDescription(int i)
Return a description of the specified action of the object. |
protected String |
TextArea.paramString()
Returns the parameter string representing the state of this text area. |
String |
Robot.toString()
Returns a string representation of this Robot. |
Methods in java.awt with parameters of type String | |
void |
Component.setName(String name)
Sets the name of the component to the specified string. |
void |
Component.addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Add a PropertyChangeListener for a specific property. |
void |
Component.removePropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Remove a PropertyChangeListener for a specific property. |
protected void |
Component.firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Support for reporting bound property changes. |
Component |
Container.add(String name,
Component comp)
Adds the specified component to this container. |
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 |
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. |
void |
Checkbox.setLabel(String label)
Sets this check box's label to be the string argument. |
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. |
abstract void |
Graphics2D.drawString(String str,
int x,
int y)
Renders the text of the specified String , using the
current Font and Paint attributes 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 Font and Paint attributes
in the Graphics2D context. |
protected void |
AWTEventMulticaster.saveInternal(ObjectOutputStream s,
String k)
|
protected static void |
AWTEventMulticaster.save(ObjectOutputStream s,
String k,
EventListener l)
|
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) . |
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 bounds of the specified String in the
specified FontRenderContext . |
Rectangle2D |
Font.getStringBounds(String str,
int beginIndex,
int limit,
FontRenderContext frc)
Returns the bounds of the specified String in the
specified FontRenderContext . |
GlyphVector |
Font.createGlyphVector(FontRenderContext frc,
String str)
Returns a new GlyphVector object created with the
specified String and the specified
FontRenderContext . |
void |
Window.applyResourceBundle(String rbName)
Load the ResourceBundle with the given name using the default locale and apply its settings to this window. |
void |
Dialog.setTitle(String title)
Sets the title of the Dialog. |
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 |
LayoutManager.addLayoutComponent(String name,
Component comp)
Adds the specified component with the specified name to the layout. |
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)
obtain a value for the specified desktop property. |
protected void |
Toolkit.setDesktopProperty(String name,
Object newValue)
set the named desktop property to the specified value and fire 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)
add the specified property change listener for the named desktop property If pcl is null, no exception is thrown and no action is performed. |
void |
Toolkit.removePropertyChangeListener(String name,
PropertyChangeListener pcl)
remove the specified property change listener for the named desktop property If pcl is null, no exception is thrown and no action is performed. |
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. |
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. |
static Cursor |
Cursor.getSystemCustomCursor(String name)
|
void |
Choice.add(String item)
Adds an item to this Choice menu. |
void |
Choice.addItem(String item)
Adds an item to this Choice. |
void |
Choice.insert(String item,
int index)
Inserts the item into this choice at the specified position. |
void |
Choice.remove(String item)
Remove 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 |
GridBagLayout.addLayoutComponent(String name,
Component comp)
Adds the specified component with the specified name to the layout. |
void |
Frame.setTitle(String title)
Sets the title for this frame to the specified string. |
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 |
Label.setText(String text)
Sets the text for this label to the specified text. |
void |
TextField.setText(String t)
Sets the text that is presented by this text component to be the specified text. |
void |
FlowLayout.addLayoutComponent(String name,
Component comp)
Adds the specified component to the layout. |
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 |
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) . |
abstract Object |
Image.getProperty(String name,
ImageObserver observer)
Gets a property of this image by name. |
Constructors in java.awt with parameters of type String | |
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. |
|
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. |
|
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)
Creates a check box with the specified label, in the specified check box group, and set to the specified state. |
|
Checkbox(String label,
CheckboxGroup group,
boolean state)
Constructs a Checkbox with the specified label, set to the specified state, and in the specified check box group. |
|
FontFormatException(String reason)
Report a FontFormatException for the reason specified. |
|
IllegalComponentStateException(String s)
Constructs an IllegalComponentStateException with the specified detail message. |
|
Font(String name,
int style,
int size)
Creates a new Font from the specified name, style and
point size. |
|
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(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. |
|
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. |
|
AWTError(String msg)
Constructs an instance of AWTError with the specified
detail message. |
|
PopupMenu(String label)
Creates a new popup menu with the specified name. |
|
Cursor(String name)
Creates a new custom cursor object with the specified name. |
|
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 . |
|
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. |
|
AWTException(String msg)
Constructs an instance of AWTException with the
specified detail message. |
|
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. |
|
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. |
|
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. |
|
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. |
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 | |
String |
Clipboard.getName()
Returns the name of this clipboard object. |
static String |
SystemFlavorMap.encodeJavaMIMEType(String mimeType)
|
static String |
SystemFlavorMap.encodeDataFlavor(DataFlavor df)
|
static String |
SystemFlavorMap.decodeJavaMIMEType(String atom)
|
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 foramt that this DataFlavor represents. |
String |
DataFlavor.getPrimaryType()
|
String |
DataFlavor.getSubType()
|
String |
DataFlavor.getParameter(String paramName)
|
String |
DataFlavor.getDefaultRepresentationClassAsString()
|
protected String |
DataFlavor.normalizeMimeTypeParameter(String parameterName,
String parameterValue)
Deprecated. |
protected String |
DataFlavor.normalizeMimeType(String mimeType)
Deprecated. |
Methods in java.awt.datatransfer with parameters of type String | |
Map |
SystemFlavorMap.getFlavorsForNatives(String[] natives)
map natives to corresponding flavors |
static String |
SystemFlavorMap.encodeJavaMIMEType(String mimeType)
|
static boolean |
SystemFlavorMap.isJavaMIMEType(String atom)
|
static String |
SystemFlavorMap.decodeJavaMIMEType(String atom)
|
static DataFlavor |
SystemFlavorMap.decodeDataFlavor(String atom)
|
protected static Class |
DataFlavor.tryToLoadClass(String className,
ClassLoader fallback)
tried 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)
|
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)
map natives to corresponding flavors |
Constructors in java.awt.datatransfer with parameters of type String | |
StringSelection(String data)
Creates a Transferable capable of transferring the specified String. |
|
Clipboard(String name)
Creates a clipboard object. |
|
DataFlavor(Class representationClass,
String humanPresentableName)
Construct a DataFlavor that represents a Java class |
|
DataFlavor(String mimeType,
String humanPresentableName)
Construct a DataFlavor that represents a MimeType |
|
DataFlavor(String mimeType,
String humanPresentableName,
ClassLoader classLoader)
Construct a DataFlavor that represents a MimeType |
|
DataFlavor(String mimeType)
Construct a DataFlavor from a Mime Type string. |
|
MimeTypeParseException(String s)
Constructs a MimeTypeParseException with the specified detail message. |
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 |
InputMethodEvent.paramString()
Returns a parameter string identifying this event. |
String |
HierarchyEvent.paramString()
Returns a parameter string identifying this event. |
String |
ComponentEvent.paramString()
Returns a parameter string identifying this event. |
String |
WindowEvent.paramString()
Returns a parameter string identifying this event. |
String |
ContainerEvent.paramString()
Returns a parameter string identifying this event. |
String |
ActionEvent.getActionCommand()
Returns the command string associated with this action. |
String |
ActionEvent.paramString()
Returns a parameter string identifying this action event. |
String |
MouseEvent.paramString()
Returns a parameter string identifying this event. |
String |
TextEvent.paramString()
Returns a parameter string identifying this text event. |
String |
PaintEvent.paramString()
|
String |
AdjustmentEvent.paramString()
|
String |
ItemEvent.paramString()
Returns a parameter string identifying this item event. |
String |
FocusEvent.paramString()
Returns a parameter string identifying this event. |
String |
InvocationEvent.paramString()
Returns a parameter string identifying this event. |
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. |
Uses of String in java.awt.font |
Methods in java.awt.font that return String | |
String |
TextLayout.toString()
Returns debugging information for this TextLayout . |
String[] |
MultipleMaster.getDesignAxisNames()
Returns the name for each design axis. |
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 | |
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. |
|
TextAttribute(String name)
Constructs a TextAttribute with the specified name. |
Uses of String in java.awt.geom |
Methods in java.awt.geom that return String | |
String |
Rectangle2D.Float.toString()
Returns the String representation of this
Rectangle2D . |
String |
Rectangle2D.Double.toString()
Returns the String representation of this
Rectangle2D . |
String |
Point2D.Float.toString()
Returns a String that represents the value
of this Point2D . |
String |
Point2D.Double.toString()
Returns a String that represents the value
of this Point2D . |
String |
AffineTransform.toString()
Returns a String that represents the value of this
Object . |
Constructors in java.awt.geom with parameters of type String | |
NoninvertibleTransformException(String s)
Constructs an instance of NoninvertibleTransformException
with the specified detail message. |
|
IllegalPathStateException(String s)
Constructs an IllegalPathStateException 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. |
Uses of String in java.awt.image |
Methods in java.awt.image that return String | |
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. |
String |
DirectColorModel.toString()
Returns a String that represents this
DirectColorModel . |
String |
IndexColorModel.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[] |
ContextualRenderedImageFactory.getPropertyNames()
Returns a list of names recognized by getProperty. |
String[] |
RenderableImageOp.getPropertyNames()
Return a list of names recognized by getProperty. |
String[] |
RenderableImage.getPropertyNames()
Returns a list of names recognized by getProperty. |
Methods in java.awt.image.renderable with parameters of type String | |
Object |
ContextualRenderedImageFactory.getProperty(ParameterBlock paramBlock,
String name)
Gets the appropriate instance of the property specified by the name parameter. |
Object |
RenderableImageOp.getProperty(String name)
Gets a property from the property set of this image. |
Object |
RenderableImage.getProperty(String name)
Gets a property from the property set of this image. |
Uses of String in java.awt.print |
Methods in java.awt.print that return String | |
abstract String |
PrinterJob.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 | |
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 | |
PrinterException(String msg)
Constructs a new PrinterException object
with the specified detail message. |
|
PrinterAbortException(String msg)
Constructs a new PrinterAbortException 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 |
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 |
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. |
static String[] |
PropertyEditorManager.getEditorSearchPath()
Gets the package names that will be searched for property editors. |
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. |
String |
PropertyChangeEvent.getPropertyName()
Gets the programmatic name of the property that was changed. |
Methods in java.beans with parameters of type String | |
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 |
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. |
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. |
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. |
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 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. |
static void |
PropertyEditorManager.setEditorSearchPath(String[] path)
Change the list of package names that will be used for finding property editors. |
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. |
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 |
PropertyEditorSupport.setAsText(String text)
Sets the property value by parsing a given String. |
Constructors in java.beans with parameters of type String | |
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. |
|
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. |
|
PropertyVetoException(String mess,
PropertyChangeEvent evt)
Constructs a PropertyVetoException with a
detailed message. |
|
EventSetDescriptor(Class sourceClass,
String eventSetName,
Class listenerType,
String listenerMethodName)
This constructor 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)
This constructor creates an EventSetDescriptor from scratch using string names. |
|
EventSetDescriptor(String eventSetName,
Class listenerType,
Method[] listenerMethods,
Method addListenerMethod,
Method removeListenerMethod)
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)
This constructor creates an EventSetDescriptor from scratch using java.lang.reflect.MethodDescriptor and java.lang.Class objects. |
|
IntrospectionException(String mess)
Constructs an IntrospectionException with a
detailed message. |
|
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 | |
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. |
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. |
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)
|
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. |
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. |
protected String |
StringBufferInputStream.buffer
Deprecated. The string from which bytes are read. |
Methods in java.io that return String | |
String |
BufferedReader.readLine()
Read a line of text. |
String |
LineNumberReader.readLine()
Read a line of text. |
String |
StreamTokenizer.toString()
Returns the string representation of the current stream token. |
String |
InvalidClassException.getMessage()
Produce the message and include the classname, if present. |
String |
FilePermission.getActions()
Returns the "canonical string representation" of the actions. |
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 |
InputStreamReader.getEncoding()
Returns the canonical name of the character encoding being used by this stream. |
String |
WriteAbortedException.getMessage()
Produce the message and include the message from the nested exception, if there is one. |
String |
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 |
StringWriter.toString()
Return the buffer's current value as a string. |
String |
OutputStreamWriter.getEncoding()
Returns the canonical 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 |
ObjectStreamClass.getName()
The name of the class described by this descriptor. |
String |
ObjectStreamClass.toString()
Return a string describing this ObjectStreamClass. |
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. |
String |
CharArrayWriter.toString()
Converts input data to a string. |
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 . |
Methods in java.io with parameters of type String | |
void |
Writer.write(String str)
Write a string. |
void |
Writer.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 |
PrintStream.print(String s)
Print a string. |
void |
PrintStream.println(String x)
Print a String and then terminate the line. |
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 UTF-8 encoding in a machine-independent manner. |
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 defvalue)
Get the value of the named boolean field from the persistent field. |
abstract char |
ObjectInputStream.GetField.get(String name,
char defvalue)
Get the value of the named char field from the persistent fields. |
abstract byte |
ObjectInputStream.GetField.get(String name,
byte defvalue)
Get the value of the named byte field from the persistent fields. |
abstract short |
ObjectInputStream.GetField.get(String name,
short defvalue)
Get the value of the named short field from the persistent fields. |
abstract int |
ObjectInputStream.GetField.get(String name,
int defvalue)
Get the value of the named int field from the persistent fields. |
abstract long |
ObjectInputStream.GetField.get(String name,
long defvalue)
Get the value of the named long field from the persistent fields. |
abstract float |
ObjectInputStream.GetField.get(String name,
float defvalue)
Get the value of the named float field from the persistent fields. |
abstract double |
ObjectInputStream.GetField.get(String name,
double defvalue)
Get the value of the named double field from the persistent field. |
abstract Object |
ObjectInputStream.GetField.get(String name,
Object defvalue)
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 |
StringWriter.write(String str)
Write a string. |
void |
StringWriter.write(String str,
int off,
int len)
Write a portion of a string. |
void |
OutputStreamWriter.write(String str,
int off,
int len)
Write a portion of a string. |
boolean |
FilenameFilter.accept(File dir,
String name)
Tests if a specified file should be included in a file list. |
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 |
ObjectOutputStream.writeBytes(String data)
Writes a String as a sequence of bytes. |
void |
ObjectOutputStream.writeChars(String data)
Writes a String as a sequence of chars. |
void |
ObjectOutputStream.writeUTF(String s)
Primitive data write of this String in UTF format. |
abstract void |
ObjectOutputStream.PutField.put(String name,
boolean value)
Put the value of the named boolean field into the persistent field. |
abstract void |
ObjectOutputStream.PutField.put(String name,
char value)
Put the value of the named char field into the persistent fields. |
abstract void |
ObjectOutputStream.PutField.put(String name,
byte value)
Put the value of the named byte field into the persistent fields. |
abstract void |
ObjectOutputStream.PutField.put(String name,
short value)
Put the value of the named short field into the persistent fields. |
abstract void |
ObjectOutputStream.PutField.put(String name,
int value)
Put the value of the named int field into the persistent fields. |
abstract void |
ObjectOutputStream.PutField.put(String name,
long value)
Put the value of the named long field into the persistent fields. |
abstract void |
ObjectOutputStream.PutField.put(String name,
float value)
Put the value of the named float field into the persistent fields. |
abstract void |
ObjectOutputStream.PutField.put(String name,
double value)
Put the value of the named double field into the persistent field. |
abstract void |
ObjectOutputStream.PutField.put(String name,
Object value)
Put the value of the named Object field into the persistent field. |
ObjectStreamField |
ObjectStreamClass.getField(String name)
Get the field of this class by name. |
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 |
BufferedWriter.write(String s,
int off,
int len)
Write a portion of a String. |
Constructors in java.io with parameters of type String | |
IOException(String s)
Constructs an IOException with the specified detail
message. |
|
ObjectStreamException(String classname)
Create an ObjectStreamException with the specified argument. |
|
NotSerializableException(String classname)
Constructs a NotSerializableException object with message string. |
|
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 . |
|
InterruptedIOException(String s)
Constructs an InterruptedIOException with the
specified detail message. |
|
StringReader(String s)
Create a new string reader. |
|
InvalidClassException(String reason)
Report a InvalidClassException for the reason specified. |
|
InvalidClassException(String cname,
String reason)
Constructs an InvalidClassException object. |
|
FilePermission(String path,
String actions)
Creates a new FilePermission object with the specified actions. |
|
InputStreamReader(InputStream in,
String enc)
Create an InputStreamReader that uses the named character encoding. |
|
WriteAbortedException(String s,
Exception ex)
Thrown during a read operation when one of the ObjectStreamExceptions was thrown during a write operation. |
|
NotActiveException(String reason)
Constructor to create a new NotActiveException with the reason given. |
|
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. |
|
FileReader(String fileName)
Creates a new FileReader, given the name of the file to read from. |
|
StringBufferInputStream(String s)
Deprecated. Creates a string input stream to read data from the specified string. |
|
OutputStreamWriter(OutputStream out,
String enc)
Create an OutputStreamWriter that uses the named character encoding. |
|
UnsupportedEncodingException(String s)
Constructs an UnsupportedEncodingException with a detail message. |
|
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. |
|
InvalidObjectException(String reason)
Constructs an InvalidObjectException . |
|
UTFDataFormatException(String s)
Constructs a UTFDataFormatException with the
specified detail message. |
|
ObjectStreamField(String n,
Class clazz)
Create a Serializable field with the specified type. |
|
SyncFailedException(String desc)
Constructs an SyncFailedException with a detail message. |
|
FileNotFoundException(String s)
Constructs a FileNotFoundException with the
specified detail message. |
|
StreamCorruptedException(String reason)
Create a StreamCorruptedException and list a reason why thrown. |
|
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. |
|
EOFException(String s)
Constructs an EOFException with the specified detail
message. |
|
CharConversionException(String s)
This provides a detailed message. |
|
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. |
|
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. |
Uses of String in java.lang |
Methods in java.lang that return String | |
String |
Object.toString()
Returns a string representation of the object. |
String |
Throwable.getMessage()
Returns the error message string of this throwable object. |
String |
Throwable.getLocalizedMessage()
Creates a localized description of this Throwable . |
String |
Throwable.toString()
Returns a short description of this throwable object. |
String |
Character.toString()
Returns a String object representing this character's value. |
String |
Character.Subset.toString()
Returns the name of this subset. |
static String |
Long.toString(long i,
int radix)
Creates a string representation of the first argument in the radix specified by the second argument. |
static String |
Long.toHexString(long i)
Creates a string representation of the long argument as an unsigned integer in base 16. |
static String |
Long.toOctalString(long i)
Creates a string representation of the long argument as an unsigned integer in base 8. |
static String |
Long.toBinaryString(long i)
Creates a string representation of the long argument as an unsigned integer in base 2. |
static String |
Long.toString(long i)
Returns a new String object representing the specified integer. |
String |
Long.toString()
Returns a String object representing this Long's value. |
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. |
String |
ThreadGroup.getName()
Returns the name of this thread group. |
String |
ThreadGroup.toString()
Returns a string representation of this Thread group. |
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. |
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. |
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.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, which is returned
by Locale.getDefault . |
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, which is returned
by Locale.getDefault . |
String |
String.trim()
Removes white space from both ends of this string. |
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 is equivalent to the specified character array. |
static String |
String.copyValueOf(char[] data)
Returns a String that is equivalent to the specified character array. |
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. |
static String |
Float.toString(float f)
Returns a String representation for the specified float value. |
String |
Float.toString()
Returns a String representation of this Float object. |
static String |
Integer.toString(int i,
int radix)
Creates a string representation of the first argument in the radix specified by the second argument. |
static String |
Integer.toHexString(int i)
Creates a string representation of the integer argument as an unsigned integer in base 16. |
static String |
Integer.toOctalString(int i)
Creates a string representation of the integer argument as an unsigned integer in base 8. |
static String |
Integer.toBinaryString(int i)
Creates a string representation of the integer argument as an unsigned integer in base 2. |
static String |
Integer.toString(int i)
Returns a new String object representing the specified integer. |
String |
Integer.toString()
Returns a String object representing this Integer's value. |
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. |
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. |
protected String |
ClassLoader.findLibrary(String libname)
Returns the absolute path name of a native library. |
String |
Class.toString()
Converts the object to a string. |
String |
Class.getName()
Returns the fully-qualified name of the entity (class, interface, array class, primitive type, or void) represented by this Class
object, as a String . |
static String |
Double.toString(double d)
Creates a string representation of the double
argument. |
String |
Double.toString()
Returns a String representation of this Double object. |
String |
Boolean.toString()
Returns a String object representing this Boolean's value. |
Methods in java.lang with parameters of type String | |
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 new long object initialized to the value of the specified String. |
static Long |
Long.valueOf(String s)
Returns a new long object initialized to 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 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. |
static boolean |
Compiler.compileClasses(String string)
Compiles all classes whose name matches the specified string. |
void |
Thread.setName(String name)
Changes the name of this thread to be equal to the argument name . |
static short |
Short.parseShort(String s)
Assuming the specified String represents a short, returns that short's value. |
static short |
Short.parseShort(String s,
int radix)
Assuming the specified String represents a short, returns that short's value. |
static Short |
Short.valueOf(String s,
int radix)
Assuming the specified String represents a short, returns a new Short object initialized to that value. |
static Short |
Short.valueOf(String s)
Assuming the specified String represents a short, returns a new Short object initialized to that value. |
static Short |
Short.decode(String nm)
Decodes a String into a Short . |
byte[] |
String.getBytes(String enc)
Convert this String into bytes according to the specified
character encoding, 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 considerations. |
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. |
String |
String.concat(String str)
Concatenates the specified string to the end of this string. |
static Float |
Float.valueOf(String s)
Returns the floating point value represented by the specified String. |
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 Double . |
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. |
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 a new Integer object initialized to the value of the specified String. |
static Integer |
Integer.valueOf(String s)
Returns a new Integer object initialized to 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 . |
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. |
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. |
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 byte |
Byte.parseByte(String s)
Assuming the specified String represents a byte, returns that byte's value. |
static byte |
Byte.parseByte(String s,
int radix)
Assuming the specified String represents a byte, returns that byte's value. |
static Byte |
Byte.valueOf(String s,
int radix)
Assuming the specified String represents a byte, returns a new Byte object initialized to that value. |
static Byte |
Byte.valueOf(String s)
Assuming the specified String represents a byte, returns a new Byte object initialized to that value. |
static Byte |
Byte.decode(String nm)
Decodes a String into a Byte . |
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)
Finds the class with the given name if it had been previously loaded through this class loader. |
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 Enumeration |
ClassLoader.findResources(String name)
Returns an Enumeration of URLs representing all the resources with the given name. |
protected URL |
ClassLoader.findResource(String name)
Finds the resource 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. |
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. |
static Double |
Double.valueOf(String s)
Returns a new Double object initialized to the value
represented by the specified string. |
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 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" . |
Constructors in java.lang with parameters of type String | |
Throwable(String message)
Constructs a new Throwable with the specified error
message. |
|
Exception(String s)
Constructs an Exception with the specified detail message. |
|
RuntimeException(String s)
Constructs a RuntimeException with the specified
detail message. |
|
IllegalStateException(String s)
Constructs an IllegalStateException with the specified detail message. |
|
Error(String s)
Constructs an Error with the specified detail message. |
|
Character.Subset(String name)
Constructs a new Subset instance. |
|
LinkageError(String s)
Constructs a LinkageError with the specified detail
message. |
|
VerifyError(String s)
Constructs an VerifyError with the specified detail message. |
|
Long(String s)
Constructs a newly allocated Long object that
represents the value represented by the string in decimal form. |
|
ThreadGroup(String name)
Constructs a new thread group. |
|
ThreadGroup(ThreadGroup parent,
String name)
Creates a new thread group. |
|
IncompatibleClassChangeError(String s)
Constructs an IncompatibleClassChangeError with the
specified detail message. |
|
IllegalAccessError(String s)
Constructs an IllegalAccessError with the specified
detail message. |
|
InstantiationException(String s)
Constructs an InstantiationException with the
specified detail message. |
|
IllegalArgumentException(String s)
Constructs an IllegalArgumentException with the
specified detail message. |
|
NumberFormatException(String s)
Constructs a NumberFormatException with the
specified detail message. |
|
ClassFormatError(String s)
Constructs a ClassFormatError with the specified
detail message. |
|
CloneNotSupportedException(String s)
Constructs a CloneNotSupportedException with the
specified detail message. |
|
UnsupportedClassVersionError(String s)
Constructs a UnsupportedClassVersionError with
the specified detail message. |
|
IllegalThreadStateException(String s)
Constructs an IllegalThreadStateException 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 . |
|
Short(String s)
Constructs a Short object initialized to the value specified by the String parameter. |
|
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 enc)
Construct a new String by converting the specified
subarray of bytes using the specified character encoding. |
|
String(byte[] bytes,
String enc)
Construct a new String by converting the specified array
of bytes using the specified character encoding. |
|
Float(String s)
Constructs a newly allocated Float object that
represents the floating-point value of type float
represented by the string. |
|
NoSuchFieldError(String s)
Constructs a NoSuchFieldException with the specified
detail message. |
|
InterruptedException(String s)
Constructs an InterruptedException with the
specified detail message. |
|
IndexOutOfBoundsException(String s)
Constructs an IndexOutOfBoundsException with the
specified detail message. |
|
ArrayStoreException(String s)
Constructs an ArrayStoreException with the specified
detail message. |
|
ExceptionInInitializerError(String s)
Constructs an ExceptionInInitializerError with the specified detail message string. |
|
RuntimePermission(String name)
Creates a new RuntimePermission with the specified name. |
|
RuntimePermission(String name,
String actions)
Creates a new RuntimePermission object with the specified name. |
|
SecurityException(String s)
Constructs a SecurityException with the specified
detail message. |
|
Integer(String s)
Constructs a newly allocated Integer object that
represents the value represented by the string. |
|
ClassCircularityError(String s)
Constructs a ClassCircularityError with the
specified detail message. |
|
VirtualMachineError(String s)
Constructs a VirtualMachineError with the specified
detail message. |
|
ArrayIndexOutOfBoundsException(String s)
Constructs an ArrayIndexOutOfBoundsException class
with the specified detail message. |
|
UnknownError(String s)
Constructs an UnknownError 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. |
|
NullPointerException(String s)
Constructs a NullPointerException with the specified
detail message. |
|
StringIndexOutOfBoundsException(String s)
Constructs a StringIndexOutOfBoundsException with
the specified detail message. |
|
IllegalAccessException(String s)
Constructs an IllegalAccessException with a detail message. |
|
OutOfMemoryError(String s)
Constructs an OutOfMemoryError with the specified
detail message. |
|
Byte(String s)
Constructs a Byte object initialized to the value specified by the String parameter. |
|
UnsatisfiedLinkError(String s)
Constructs an UnsatisfiedLinkError with the
specified detail message. |
|
ArithmeticException(String s)
Constructs an ArithmeticException with the specified
detail message. |
|
NoSuchMethodException(String s)
Constructs a NoSuchMethodException with a detail message. |
|
ClassCastException(String s)
Constructs a ClassCastException with the specified
detail message. |
|
StackOverflowError(String s)
Constructs a StackOverflowError with the specified
detail message. |
|
NoSuchFieldException(String s)
Constructor with a detail message. |
|
Double(String s)
Constructs a newly allocated Double object that
represents the floating- point value of type double
represented by the string. |
|
NegativeArraySizeException(String s)
Constructs a NegativeArraySizeException with the
specified detail message. |
|
ClassNotFoundException(String s)
Constructs a ClassNotFoundException with the
specified detail message. |
|
ClassNotFoundException(String s,
Throwable ex)
Constructs a ClassNotFoundException with the
specified detail message and optional exception that was
raised while loading the class. |
|
NoClassDefFoundError(String s)
Constructs a NoClassDefFoundError with the specified
detail message. |
|
Boolean(String s)
Allocates a Boolean object representing the value
true if the string argument is not null
and is equal, ignoring case, to the string "true" . |
|
InstantiationError(String s)
Constructs an InstantiationError with the specified
detail message. |
|
IllegalMonitorStateException(String s)
Constructs an IllegalMonitorStateException with the
specified detail message. |
|
UnsupportedOperationException(String message)
Constructs an UnsupportedOperationException with the specified detail message. |
|
InternalError(String s)
Constructs an InternalError with the specified
detail message. |
|
NoSuchMethodError(String s)
Constructs a NoSuchMethodError with the
specified detail message. |
|
AbstractMethodError(String s)
Constructs an AbstractMethodError with the specified
detail message. |
Uses of String in java.lang.reflect |
Methods in java.lang.reflect that return String | |
String |
Member.getName()
Returns the simple name of the underlying member or constructor represented by this Member. |
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 . |
static String |
Modifier.toString(int mod)
Return a string describing the access modifier flags in the specified modifier. |
String |
Field.getName()
Returns the name of the field represented by this Field object. |
String |
Field.toString()
Returns a string describing this Field . |
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 | |
InvocationTargetException(Throwable target,
String s)
Constructs a InvocationTargetException with a target exception and a detail message. |
|
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. |
Uses of String in java.math |
Methods in java.math that return String | |
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. |
String |
BigDecimal.toString()
Returns the string representation of this BigDecimal. |
Constructors in java.math with parameters of type String | |
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. |
|
BigDecimal(String val)
Translates the String representation of a BigDecmal into a BigDecimal. |
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 | |
String |
FileNameMap.getContentTypeFor(String fileName)
Gets the MIME type for the specified file name. |
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 name of the specified 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. |
protected static String |
URLConnection.guessContentTypeFromName(String fname)
Tries to determine the content type of an object, based on the specified "file" component of a URL. |
static String |
URLConnection.guessContentTypeFromStream(InputStream is)
Tries to determine the type of an input stream based on the characters at the beginning of the input stream. |
String |
JarURLConnection.getEntryName()
Return the entry name for this connection. |
static String |
URLDecoder.decode(String s)
Decodes a "x-www-form-urlencoded" to a String. |
String |
PasswordAuthentication.getUserName()
Returns the user name. |
String |
SocketImpl.toString()
Returns the address and port of this socket as a String . |
String |
Socket.toString()
Converts this socket to a String . |
String |
URL.getQuery()
Returns the query part of this URL . |
String |
URL.getPath()
Returns the path part of this URL . |
String |
URL.getUserInfo()
Returns the userInfo part of this URL . |
String |
URL.getAuthority()
Returns the authority part of this URL . |
String |
URL.getProtocol()
Returns the protocol name of this URL . |
String |
URL.getHost()
Returns the host name of this URL , if applicable. |
String |
URL.getFile()
Returns the file name of this URL . |
String |
URL.getRef()
Returns 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 . |
String |
SocketPermission.getActions()
Returns the canonical string representation of the actions. |
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. |
static String |
URLEncoder.encode(String s)
Translates a string into x-www-form-urlencoded format. |
String |
ServerSocket.toString()
Returns the implementation address and implementation port of this socket as a String . |
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.getHostAddress()
Returns the IP address string "%d.%d.%d.%d". |
String |
InetAddress.toString()
Converts this IP address to a String . |
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). |
Methods in java.net with parameters of type String | |
String |
FileNameMap.getContentTypeFor(String fileName)
Gets the MIME type for the specified file name. |
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. |
String |
URLConnection.getHeaderField(String name)
Returns the name of the specified 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. |
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. |
protected 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 |
URLDecoder.decode(String s)
Decodes a "x-www-form-urlencoded" to a String. |
protected abstract void |
SocketImpl.connect(String host,
int port)
Connects this socket to the specified port on the named host. |
URLStreamHandler |
URLStreamHandlerFactory.createURLStreamHandler(String protocol)
Creates a new URLStreamHandler instance with the specified
protocol. |
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. |
ContentHandler |
ContentHandlerFactory.createContentHandler(String mimetype)
Creates a new ContentHandler to read an object from
a URLStreamHandler . |
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)
|
static String |
URLEncoder.encode(String s)
Translates a string into x-www-form-urlencoded format. |
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.getByName(String host)
Determines the IP address of a host, given the host's name. |
static InetAddress[] |
InetAddress.getAllByName(String host)
Determines all the IP addresses of a host, given the host's name. |
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. |
Constructors in java.net with parameters of type String | |
PasswordAuthentication(String userName,
char[] password)
Creates a new PasswordAuthentication object from the given
user name and password. |
|
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. |
|
BindException(String msg)
Constructs a new BindException with the specified detail message as to why the bind error occurred. |
|
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. |
|
NetPermission(String name)
Creates a new NetPermission with the specified name. |
|
NetPermission(String name,
String actions)
Creates a new NetPermission object with the specified name. |
|
NoRouteToHostException(String msg)
Constructs a new NoRouteToHostException with the specified detail message as to why the remote host cannot be reached. |
|
ProtocolException(String host)
Constructs a new ProtocolException with the
specified detail message. |
|
SocketPermission(String host,
String action)
Creates a new SocketPermission object with the specified actions. |
|
ConnectException(String msg)
Constructs a new ConnectException with the specified detail message as to why the connect error occurred. |
|
UnknownHostException(String host)
Constructs a new UnknownHostException with the
specified detail message. |
|
UnknownServiceException(String msg)
Constructs a new UnknownServiceException with the
specified detail message. |
Uses of String in java.rmi |
Methods in java.rmi that return String | |
String |
RemoteException.getMessage()
Returns the detail message, including the message from the nested exception if there is one. |
static String[] |
Naming.list(String name)
Returns an array of the names bound in the registry. |
Methods in java.rmi with parameters of type String | |
static 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 | |
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. |
|
ServerError(String s,
Error err)
Constructs a ServerError with the specified
detail message and nested error. |
|
NotBoundException(String s)
Constructs a NotBoundException with the specified
detail message. |
|
ConnectException(String s)
Constructs a ConnectException with the specified
detail message. |
|
ConnectException(String s,
Exception ex)
Constructs a ConnectException with the specified
detail message and nested exception. |
|
AlreadyBoundException(String s)
Constructs an AlreadyBoundException with the specified
detail message. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
RMISecurityException(String name)
Deprecated. no replacement |
|
RMISecurityException(String name,
String arg)
Deprecated. no replacement |
|
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. |
|
NoSuchObjectException(String s)
Constructs a NoSuchObjectException with the specified
detail message. |
|
ServerRuntimeException(String s,
Exception ex)
Deprecated. no replacement |
|
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. |
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 |
ActivationException.getMessage()
Produces the message, include the message from the nested exception if there is one. |
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. |
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 | |
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) . |
|
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. |
|
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 . |
|
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. |
|
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. |
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 the registry. |
Methods in java.rmi.registry with parameters of type String | |
Remote |
Registry.lookup(String name)
Returns a reference, a stub, for the remote object associated with the specified name . |
void |
Registry.bind(String name,
Remote obj)
Binds the specified name to a remote object. |
void |
Registry.unbind(String name)
Destroys the binding for the specified name that is associated with a remote object. |
void |
Registry.rebind(String name,
Remote obj)
Rebinds the specified name to a new remote object. |
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 . |
Uses of String in java.rmi.server |
Fields in java.rmi.server declared as String | |
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. |
static String |
LoaderHandler.packagePrefix
Deprecated. package of system LoaderHandler implementation. |
Methods in java.rmi.server that return String | |
String |
RemoteObject.toString()
Returns a String that represents the value of this remote object. |
static String |
RemoteServer.getClientHost()
Return the hostname of the current client. |
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 |
UID.toString()
Returns the string representation of the UID . |
static String |
RMIClassLoader.getClassAnnotation(Class cl)
Returns the class annotation (representing the location for a class) that RMI will use to annotate the call stream when marshalling objects of the given class. |
String |
ObjID.toString()
Returns a string containing the object id representation. |
String |
Operation.getOperation()
Deprecated. no replacement |
String |
Operation.toString()
Deprecated. no replacement |
String |
LogStream.toString()
Deprecated. no replacement |
String |
ServerCloneException.getMessage()
Obtains the message, include the message from the nested exception if there is one. |
String |
ServerRef.getClientHost()
Returns the hostname of the current client. |
Methods in java.rmi.server with parameters of type 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 ClassLoader |
RMIClassLoader.getClassLoader(String codebase)
Returns a class loader that loads classes from the given codebase URL path. |
Socket |
RMIClientSocketFactory.createSocket(String host,
int port)
Create a client socket connected to the specified host and port. |
Class |
LoaderHandler.loadClass(String name)
Deprecated. no replacement |
Class |
LoaderHandler.loadClass(URL codebase,
String name)
Deprecated. no replacement |
static LogStream |
LogStream.log(String name)
Deprecated. no replacement |
static int |
LogStream.parseLevel(String s)
Deprecated. no replacement |
abstract Socket |
RMISocketFactory.createSocket(String host,
int port)
Creates a client socket connected to the specified host and port. |
Constructors in java.rmi.server with parameters of type String | |
ExportException(String s)
Constructs an ExportException with the specified
detail message. |
|
ExportException(String s,
Exception ex)
Constructs an ExportException with the specified
detail message and nested exception. |
|
SkeletonMismatchException(String s)
Deprecated. no replacement |
|
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. |
|
Operation(String op)
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. |
|
ServerNotActiveException(String s)
Constructs an ServerNotActiveException with the specified
detail message. |
|
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. |
Uses of String in java.security |
Methods in java.security that return String | |
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 |
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 |
KeyFactory.getAlgorithm()
Gets the name of the algorithm associated with this KeyFactory. |
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 |
CodeSource.toString()
Returns a string describing this CodeSource, telling its URL and certificates. |
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 |
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 |
Signer.toString()
Deprecated. Returns a string of information about the signer. |
String |
KeyPairGenerator.getAlgorithm()
Returns the standard name of the algorithm for this key pair generator. |
String |
PrivilegedActionException.toString()
Returns a string describing this exception, including a description of the exception it wraps. |
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 |
AllPermission.getActions()
Returns the canonical string representation of the actions. |
String |
ProtectionDomain.toString()
Convert a ProtectionDomain to a String. |
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 |
AlgorithmParameters.getAlgorithm()
Returns the name of the algorithm associated with this parameter object. |
String |
AlgorithmParameters.toString()
Returns a formatted string describing the parameters. |
String |
AlgorithmParameterGenerator.getAlgorithm()
Returns the standard name of the algorithm this parameter generator is associated with. |
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. |
abstract String |
KeyStoreSpi.engineGetCertificateAlias(Certificate cert)
Returns the (alias) name of the first keystore entry whose certificate matches the given certificate. |
String |
PermissionCollection.toString()
Returns a string describing this PermissionCollection object, providing information about all the permissions it contains. |
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. |
String |
SignedObject.getAlgorithm()
Retrieves the name of the signature algorithm. |
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 |
DigestOutputStream.toString()
Prints a string representation of this digest output stream and its associated message digest object. |
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. |
String |
DigestInputStream.toString()
Prints a string representation of this digest input stream and its associated message digest object. |
String |
Principal.toString()
Returns a string representation of this principal. |
String |
Principal.getName()
Returns the name of this principal. |
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. |
protected abstract String |
AlgorithmParametersSpi.engineToString()
Returns a formatted string describing the parameters. |
Methods in java.security with parameters of type String | |
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. |
static KeyFactory |
KeyFactory.getInstance(String algorithm)
Generates a KeyFactory object that implements the specified digest algorithm. |
static KeyFactory |
KeyFactory.getInstance(String algorithm,
String provider)
Generates a KeyFactory object for the specified algorithm from the specified provider. |
void |
Identity.setInfo(String info)
Deprecated. Specifies a general information string for this identity. |
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. |
protected abstract void |
SignatureSpi.engineSetParameter(String param,
Object value)
Deprecated. Replaced by engineSetParameter . |
protected abstract Object |
SignatureSpi.engineGetParameter(String param)
Deprecated. |
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 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. |
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 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 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. |
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. |
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 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 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 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. |
void |
Signature.setParameter(String param,
Object value)
Deprecated. Use setParameter . |
Object |
Signature.getParameter(String param)
Deprecated. |
abstract Identity |
IdentityScope.getIdentity(String name)
Deprecated. Returns the identity in this scope with the specified name (if any). |
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. |
Constructors in java.security with parameters of type String | |
Permission(String name)
Constructs a permission with the specified name. |
|
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. |
|
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. |
|
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. |
|
KeyFactory(KeyFactorySpi keyFacSpi,
Provider provider,
String algorithm)
Creates a KeyFactory object. |
|
GeneralSecurityException(String msg)
Constructs a GeneralSecurityException 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. |
|
Provider(String name,
double version,
String info)
Constructs a provider with the specified name, version number, and information. |
|
InvalidParameterException(String msg)
Constructs an InvalidParameterException with the specified detail message. |
|
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. |
|
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. |
|
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. |
|
KeyPairGenerator(String algorithm)
Creates a KeyPairGenerator object for the specified algorithm. |
|
KeyException(String msg)
Constructs a KeyException with the specified detail message. |
|
InvalidKeyException(String msg)
Constructs an InvalidKeyException with the specified detail message. |
|
ProviderException(String s)
Constructs a ProviderException with the specified detail message. |
|
DigestException(String msg)
Constructs a DigestException with the specified detail message. |
|
AllPermission(String name,
String actions)
Creates a new AllPermission object. |
|
AlgorithmParameters(AlgorithmParametersSpi paramSpi,
Provider provider,
String algorithm)
Creates an AlgorithmParameters object. |
|
KeyStoreException(String msg)
Constructs a KeyStoreException with the specified detail message. |
|
KeyManagementException(String msg)
Constructs a KeyManagementException with the specified detail message. |
|
AlgorithmParameterGenerator(AlgorithmParameterGeneratorSpi paramGenSpi,
Provider provider,
String algorithm)
Creates an AlgorithmParameterGenerator object. |
|
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. |
|
NoSuchAlgorithmException(String msg)
Constructs a NoSuchAlgorithmException with the specified detail message. |
|
SignatureException(String msg)
Constructs a SignatureException with the specified detail message. |
|
MessageDigest(String algorithm)
Creates a message digest with the specified algorithm name. |
|
InvalidAlgorithmParameterException(String msg)
Constructs an InvalidAlgorithmParameterException with the specified detail message. |
|
Signature(String algorithm)
Creates a Signature object for the specified algorithm. |
|
NoSuchProviderException(String msg)
Constructs a NoSuchProviderException with the specified detail message. |
|
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. |
Uses of String in java.security.acl |
Methods in java.security.acl that return String | |
String |
AclEntry.toString()
Returns a string representation of the contents of this ACL entry. |
String |
Permission.toString()
Prints a string representation of this permission. |
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 |
CertificateFactory.getType()
Returns the name of the certificate type associated with this certificate factory. |
String |
Certificate.getType()
Returns the type of this certificate. |
abstract String |
Certificate.toString()
Returns a string representation of this certificate. |
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 |
CRL.getType()
Returns the type of this CRL. |
abstract String |
CRL.toString()
Returns a string representation of this CRL. |
abstract String |
X509CRLEntry.toString()
Returns a string representation of this CRL entry. |
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. |
Methods in java.security.cert with parameters of type String | |
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. |
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. |
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. |
Constructors in java.security.cert with parameters of type String | |
CertificateException(String msg)
Constructs a certificate exception with the given detail message. |
|
CertificateParsingException(String message)
Constructs a CertificateParsingException with the specified detail message. |
|
CertificateNotYetValidException(String message)
Constructs a CertificateNotYetValidException with the specified detail message. |
|
CertificateFactory(CertificateFactorySpi certFacSpi,
Provider provider,
String type)
Creates a CertificateFactory object of the given type, and encapsulates the given provider implementation (SPI object) in it. |
|
Certificate(String type)
Creates a certificate of the specified type. |
|
CRL(String type)
Creates a CRL of the specified type. |
|
Certificate.CertificateRep(String type,
byte[] data)
Construct the alternate Certificate class with the Certificate type and Certificate encoding bytes. |
|
CertificateExpiredException(String message)
Constructs a CertificateExpiredException with the specified detail message. |
|
CertificateEncodingException(String message)
Constructs a CertificateEncodingException with the specified detail message. |
|
CRLException(String message)
Constructs a CRLException with the specified detail message. |
Uses of String in java.security.spec |
Methods in java.security.spec that return String | |
abstract String |
EncodedKeySpec.getFormat()
Returns the name of the encoding format associated with this key specification. |
String |
PKCS8EncodedKeySpec.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 | |
InvalidParameterSpecException(String msg)
Constructs an InvalidParameterSpecException with the specified detail message. |
|
InvalidKeySpecException(String msg)
Constructs an InvalidKeySpecException 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 |
SQLException.getSQLState()
Retrieves the SQLState for this SQLException object. |
String |
SQLData.getSQLTypeName()
Returns the fully-qualified name of the SQL user-defined type that this object represents. |
String |
Timestamp.toString()
Formats a timestamp in JDBC timestamp escape format. |
String |
Connection.nativeSQL(String sql)
Converts the given SQL statement into the system's native SQL grammar. |
String |
Connection.getCatalog()
Returns the Connection's current catalog name. |
String |
Date.toString()
Formats a date in the date escape format yyyy-mm-dd. |
String |
CallableStatement.getString(int parameterIndex)
Retrieves the value of a JDBC CHAR , VARCHAR ,
or LONGVARCHAR parameter as a String in
the Java programming language. |
String |
Time.toString()
Formats a time in JDBC date escape format |
String |
Struct.getSQLTypeName()
Retrieves the SQL type name of the SQL structured type that this Struct object represents. |
String |
DatabaseMetaData.getURL()
What's the url for this database? |
String |
DatabaseMetaData.getUserName()
What's our user name as known to the database? |
String |
DatabaseMetaData.getDatabaseProductName()
What's the name of this database product? |
String |
DatabaseMetaData.getDatabaseProductVersion()
What's the version of this database product? |
String |
DatabaseMetaData.getDriverName()
What's the name of this JDBC driver? |
String |
DatabaseMetaData.getDriverVersion()
What's the version of this JDBC driver? |
String |
DatabaseMetaData.getIdentifierQuoteString()
What's the string used to quote SQL identifiers? This returns a space " " if identifier quoting isn't supported. |
String |
DatabaseMetaData.getSQLKeywords()
Gets a comma-separated list of all a database's SQL keywords that are NOT also SQL92 keywords. |
String |
DatabaseMetaData.getNumericFunctions()
Gets a comma-separated list of math functions. |
String |
DatabaseMetaData.getStringFunctions()
Gets a comma-separated list of string functions. |
String |
DatabaseMetaData.getSystemFunctions()
Gets a comma-separated list of system functions. |
String |
DatabaseMetaData.getTimeDateFunctions()
Gets a comma-separated list of time and date functions. |
String |
DatabaseMetaData.getSearchStringEscape()
Gets the string that can be used to escape wildcard characters. |
String |
DatabaseMetaData.getExtraNameCharacters()
Gets all the "extra" characters that can be used in unquoted identifier names (those beyond a-z, A-Z, 0-9 and _). |
String |
DatabaseMetaData.getSchemaTerm()
What's the database vendor's preferred term for "schema"? |
String |
DatabaseMetaData.getProcedureTerm()
What's the database vendor's preferred term for "procedure"? |
String |
DatabaseMetaData.getCatalogTerm()
What's the database vendor's preferred term for "catalog"? |
String |
DatabaseMetaData.getCatalogSeparator()
What's the separator between catalog and table name? |
String |
Array.getBaseTypeName()
Returns the SQL type name of the elements in the array designated by this Array object. |
String |
SQLInput.readString()
Reads the next attribute in the stream as a String
in the Java programming language. |
String |
ResultSet.getString(int columnIndex)
Gets 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)
Gets 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()
Gets the name of the SQL cursor used by this ResultSet
object. |
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 |
Ref.getBaseTypeName()
Retrieves the fully-qualified SQL name of the SQL structured type that this Ref object references. |
String |
Clob.getSubString(long pos,
int length)
Returns a copy of the specified substring in the CLOB value
designated by this Clob object. |
Methods in java.sql with parameters of type String | |
ResultSet |
Statement.executeQuery(String sql)
Executes an SQL statement that returns a single ResultSet object. |
int |
Statement.executeUpdate(String sql)
Executes an SQL INSERT , UPDATE or
DELETE statement. |
void |
Statement.setCursorName(String name)
Defines the SQL cursor name that will be used by subsequent Statement object execute methods. |
boolean |
Statement.execute(String sql)
Executes an SQL statement that may return multiple results. |
void |
Statement.addBatch(String sql)
Adds an SQL command to the current batch of commmands for this Statement object. |
void |
PreparedStatement.setString(int parameterIndex,
String x)
Sets the designated parameter to a Java String value. |
void |
PreparedStatement.setNull(int paramIndex,
int sqlType,
String typeName)
Sets the designated parameter to SQL NULL . |
void |
SQLData.readSQL(SQLInput stream,
String typeName)
Populates this object with data read from the database. |
Connection |
Driver.connect(String url,
Properties info)
Attempts to make a database connection to the given URL. |
boolean |
Driver.acceptsURL(String url)
Returns true if 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. |
static Timestamp |
Timestamp.valueOf(String s)
Converts a String object in JDBC timestamp escape format to a
Timestamp value. |
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 a catalog name in order to select a subspace of this Connection'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. |
void |
SQLOutput.writeString(String x)
Writes the next attribute to the stream as a String
in the Java programming language. |
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. |
static Date |
Date.valueOf(String s)
Converts a string in JDBC date escape format to a Date value. |
void |
CallableStatement.registerOutParameter(int paramIndex,
int sqlType,
String typeName)
Registers the designated output parameter. |
static Time |
Time.valueOf(String s)
Converts a string in JDBC time escape format to a Time value. |
ResultSet |
DatabaseMetaData.getProcedures(String catalog,
String schemaPattern,
String procedureNamePattern)
Gets a description of the stored procedures available in a catalog. |
ResultSet |
DatabaseMetaData.getProcedureColumns(String catalog,
String schemaPattern,
String procedureNamePattern,
String columnNamePattern)
Gets a description of a catalog's stored procedure parameters and result columns. |
ResultSet |
DatabaseMetaData.getTables(String catalog,
String schemaPattern,
String tableNamePattern,
String[] types)
Gets a description of tables available in a catalog. |
ResultSet |
DatabaseMetaData.getColumns(String catalog,
String schemaPattern,
String tableNamePattern,
String columnNamePattern)
Gets a description of table columns available in the specified catalog. |
ResultSet |
DatabaseMetaData.getColumnPrivileges(String catalog,
String schema,
String table,
String columnNamePattern)
Gets a description of the access rights for a table's columns. |
ResultSet |
DatabaseMetaData.getTablePrivileges(String catalog,
String schemaPattern,
String tableNamePattern)
Gets 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)
Gets a description of a table's optimal set of columns that uniquely identifies a row. |
ResultSet |
DatabaseMetaData.getVersionColumns(String catalog,
String schema,
String table)
Gets 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)
Gets a description of a table's primary key columns. |
ResultSet |
DatabaseMetaData.getImportedKeys(String catalog,
String schema,
String table)
Gets 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)
Gets a description of the foreign key columns that reference a 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)
Gets a description of the foreign key columns in the foreign key table that reference the primary key columns of the primary key table (describe how one table imports another's key.) This should normally return a single foreign key/primary key pair (most tables only import a foreign key from a table once.) They are ordered by FKTABLE_CAT, FKTABLE_SCHEM, FKTABLE_NAME, and KEY_SEQ. |
ResultSet |
DatabaseMetaData.getIndexInfo(String catalog,
String schema,
String table,
boolean unique,
boolean approximate)
Gets a description of a table's indices and statistics. |
ResultSet |
DatabaseMetaData.getUDTs(String catalog,
String schemaPattern,
String typeNamePattern,
int[] types)
Gets a description of the user-defined types defined in a particular schema. |
String |
ResultSet.getString(String columnName)
Gets 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)
Gets 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)
Gets 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)
Gets 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)
Gets 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)
Gets 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)
Gets 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)
Gets 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)
Gets 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)
Gets 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)
Gets 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)
Gets 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)
Gets 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. |
InputStream |
ResultSet.getBinaryStream(String columnName)
Gets 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)
Gets 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)
Gets 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 boolean 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)
Returns 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)
Returns 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)
Returns 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)
Returns 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)
Returns 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)
Returns 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)
Returns 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)
Returns 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. |
long |
Clob.position(String searchstr,
long start)
Determines the character position at which the specified substring searchstr appears in the SQL CLOB value
represented by this Clob object. |
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. |
|
SQLException(String reason,
String SQLState,
int vendorCode)
Constructs a fully-specified SQLException object. |
|
SQLException(String reason,
String SQLState)
Constructs an SQLException object with a reason and SQLState;
vendorCode defaults to 0. |
|
SQLException(String reason)
Constructs an SQLException object with a reason;
SQLState defaults to null , and vendorCode defaults to 0. |
|
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. |
|
DriverPropertyInfo(String name,
String value)
Constructs a DriverPropertyInfo object with a name and value;
other members default to their initial values. |
Uses of String in java.text |
Methods in java.text that return String | |
String |
AttributedCharacterIterator.Attribute.toString()
Returns a string representation of the object. |
protected String |
AttributedCharacterIterator.Attribute.getName()
Returns the name of the attribute. |
String |
Format.format(Object obj)
Formats an object to produce a string. |
String |
NumberFormat.format(double number)
Specialization of format. |
String |
NumberFormat.format(long number)
Specialization of format. |
String |
ChoiceFormat.toPattern()
Gets the pattern. |
String |
ParsePosition.toString()
Return a string representation of this ParsePosition. |
String |
RuleBasedCollator.getRules()
Gets the table-based rules for the collation object. |
String |
DateFormat.format(Date date)
Formats a Date into a date/time string. |
String |
CollationKey.getSourceString()
Returns the String that this CollationKey represents. |
String |
SimpleDateFormat.toPattern()
Return a pattern string describing this date format. |
String |
SimpleDateFormat.toLocalizedPattern()
Return a localized pattern string describing this date format. |
String |
FieldPosition.toString()
Return a string representation of this FieldPosition. |
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 |
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 |
Annotation.toString()
Returns the String representation of this Annotation. |
String |
DecimalFormatSymbols.getInfinity()
Gets the character used to represent infinity. |
String |
DecimalFormatSymbols.getNaN()
Gets the character used to represent NaN. |
String |
DecimalFormatSymbols.getCurrencySymbol()
Return the string denoting the local currency. |
String |
DecimalFormatSymbols.getInternationalCurrencySymbol()
Return the international string denoting the local currency. |
String |
MessageFormat.toPattern()
Gets the pattern. |
static String |
MessageFormat.format(String pattern,
Object[] arguments)
Convenience routine. |
Methods in java.text with parameters of type String | |
void |
CollationElementIterator.setText(String source)
Set a new string over which to iterate. |
abstract Object |
Format.parseObject(String source,
ParsePosition status)
Parses a string to produce an object. |
Object |
Format.parseObject(String source)
Parses a string to produce an object. |
Object |
NumberFormat.parseObject(String source,
ParsePosition parsePosition)
Parses a string to produce an object. |
abstract Number |
NumberFormat.parse(String text,
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 text)
Convenience method. |
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. |
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. |
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. |
Date |
DateFormat.parse(String text)
Parse a date/time string. |
abstract Date |
DateFormat.parse(String text,
ParsePosition pos)
Parse a date/time string according to the given parse position. |
Object |
DateFormat.parseObject(String source,
ParsePosition pos)
Parse a date/time string into an Object. |
void |
StringCharacterIterator.setText(String text)
Reset this iterator to point to a new string. |
Date |
SimpleDateFormat.parse(String text,
ParsePosition pos)
Overrides DateFormat |
void |
SimpleDateFormat.applyPattern(String pattern)
Apply the given unlocalized pattern string to this date format. |
void |
SimpleDateFormat.applyLocalizedPattern(String pattern)
Apply the given localized pattern string to this date format. |
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. |
void |
BreakIterator.setText(String newText)
Set a new text string to be scanned. |
Number |
DecimalFormat.parse(String text,
ParsePosition parsePosition)
Returns an instance of Number with a value matching the
given string. |
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. |
void |
DecimalFormatSymbols.setInfinity(String infinity)
Set the character used to represent infinity. |
void |
DecimalFormatSymbols.setNaN(String NaN)
Set the character used to represent NaN. |
void |
DecimalFormatSymbols.setCurrencySymbol(String currency)
Set the string denoting the local currency. |
void |
DecimalFormatSymbols.setInternationalCurrencySymbol(String currency)
Set the international string denoting the local currency. |
void |
MessageFormat.applyPattern(String newPattern)
Sets the pattern. |
static String |
MessageFormat.format(String pattern,
Object[] arguments)
Convenience routine. |
Object[] |
MessageFormat.parse(String source,
ParsePosition status)
Parses the string. |
Object[] |
MessageFormat.parse(String source)
Parses the string. |
Object |
MessageFormat.parseObject(String text,
ParsePosition status)
Parses the string. |
Constructors in java.text with parameters of type String | |
AttributedCharacterIterator.Attribute(String name)
Constructs an Attribute with the given name. |
|
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. |
|
RuleBasedCollator(String rules)
RuleBasedCollator constructor. |
|
ParseException(String s,
int errorOffset)
Constructs a ParseException with the specified detail message and offset. |
|
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)
Construct a SimpleDateFormat using the given pattern in the default locale. |
|
SimpleDateFormat(String pattern,
Locale loc)
Construct a SimpleDateFormat using the given pattern and locale. |
|
SimpleDateFormat(String pattern,
DateFormatSymbols formatData)
Construct a SimpleDateFormat using the given pattern and locale-specific symbol data. |
|
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. |
|
DecimalFormat(String pattern)
Create a DecimalFormat from the given pattern and the symbols for the default locale. |
|
DecimalFormat(String pattern,
DecimalFormatSymbols symbols)
Create a DecimalFormat from the given pattern and symbols. |
|
MessageFormat(String pattern)
Constructs with the specified pattern. |
Uses of String in java.util |
Methods in java.util that return String | |
String |
EventObject.toString()
Returns a String representation of this EventObject. |
String |
Hashtable.toString()
Returns a string representation of this Hashtable object in the form of a set of entries, enclosed in braces and separated by the ASCII characters ", " (comma and space). |
String |
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 |
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 |
BitSet.toString()
Returns a string representation of this bit set. |
String |
AbstractCollection.toString()
Returns a string representation of this collection. |
String |
AbstractMap.toString()
Returns a string representation of this map. |
String |
Vector.toString()
Returns a string representation of this Vector, containing the String representation of each element. |
String |
PropertyPermission.getActions()
Returns the "canonical string representation" of the actions. |
String |
ResourceBundle.getString(String key)
Get an object from a ResourceBundle. |
String[] |
ResourceBundle.getStringArray(String key)
Get an object from a ResourceBundle. |
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 |
SimpleTimeZone.toString()
Return a string representation of this time zone. |
String |
Calendar.toString()
Return a string representation of this calendar. |
String |
MissingResourceException.getClassName()
Gets parameter passed by constructor. |
String |
MissingResourceException.getKey()
Gets parameter passed by constructor. |
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. |
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 | |
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. |
static long |
Date.parse(String s)
Deprecated. As of JDK version 1.1, replaced by DateFormat.parse(String s) . |
String |
ResourceBundle.getString(String key)
Get an object from a ResourceBundle. |
String[] |
ResourceBundle.getStringArray(String key)
Get an object from a ResourceBundle. |
Object |
ResourceBundle.getObject(String key)
Get an object from a ResourceBundle. |
static ResourceBundle |
ResourceBundle.getBundle(String baseName)
Get the appropriate ResourceBundle subclass. |
static ResourceBundle |
ResourceBundle.getBundle(String baseName,
Locale locale)
Get the appropriate ResourceBundle subclass. |
static ResourceBundle |
ResourceBundle.getBundle(String baseName,
Locale locale,
ClassLoader loader)
Get the appropriate ResourceBundle subclass. |
protected abstract Object |
ResourceBundle.handleGetObject(String key)
Get an object from a ResourceBundle. |
Object |
PropertyResourceBundle.handleGetObject(String key)
Override of ResourceBundle, same semantics |
void |
TimeZone.setID(String ID)
Sets the time zone ID. |
static TimeZone |
TimeZone.getTimeZone(String ID)
Gets the TimeZone for the given ID. |
String |
StringTokenizer.nextToken(String delim)
Returns the next token in this string tokenizer's string. |
Object |
ListResourceBundle.handleGetObject(String key)
Override of ResourceBundle, same semantics |
Constructors in java.util with parameters of type String | |
Date(String s)
Deprecated. As of JDK version 1.1, replaced by DateFormat.parse(String s) . |
|
NoSuchElementException(String s)
Constructs a NoSuchElementException , saving a reference
to the error message string s for later retrieval by the
getMessage method. |
|
TooManyListenersException(String s)
Constructs a TooManyListenersException with the specified detail message. |
|
PropertyPermission(String name,
String actions)
Creates a new PropertyPermission object with the specified name. |
|
ConcurrentModificationException(String message)
Constructs a ConcurrentModificationException 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. |
|
SimpleTimeZone(int rawOffset,
String ID,
int startMonth,
int startDay,
int startDayOfWeek,
int startTime,
int endMonth,
int endDay,
int endDayOfWeek,
int endTime)
Construct a SimpleTimeZone with the given base time zone offset from GMT, time zone ID, time to start and end 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)
Constructor. |
|
MissingResourceException(String s,
String className,
String key)
Constructs a MissingResourceException with the specified information. |
|
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. |
|
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. |
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. |
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. |
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. |
Constructors in java.util.jar with parameters of type String | |
JarException(String s)
Constructs a JarException with the specified detail message. |
|
Attributes.Name(String name)
Constructs a new attribute name using the given string name. |
|
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. |
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 | |
protected ZipEntry |
ZipInputStream.createZipEntry(String name)
Creates a new ZipEntry object for the specified
entry name. |
ZipEntry |
ZipFile.getEntry(String name)
Returns the zip file entry for the specified name, or null if not found. |
void |
ZipEntry.setComment(String comment)
Sets the optional comment string for the entry. |
void |
ZipOutputStream.setComment(String comment)
Sets the ZIP file comment. |
Constructors in java.util.zip with parameters of type String | |
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. |
|
DataFormatException(String s)
Constructs a DataFormatException with the specified detail message. |
Uses of String in javax.accessibility |
Fields in javax.accessibility declared as String | |
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. |
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. |
protected String |
AccessibleBundle.key
The locale independent name of the state. |
static String |
AccessibleRelation.LABEL_FOR
Indicates an object is a label for one or more target objects. |
static String |
AccessibleRelation.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 |
Methods in javax.accessibility that return String | |
String |
AccessibleContext.getAccessibleName()
Gets the accessibleName property of this object. |
String |
AccessibleContext.getAccessibleDescription()
Gets the accessibleDescription property of this object. |
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 |
AccessibleIcon.getAccessibleIconDescription()
Gets the description of the icon. |
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 |
AccessibleRelation.getKey()
Returns the key for this relation |
abstract String |
AccessibleHyperlink.getAccessibleActionDescription(int i)
Returns a String description of this particular link action. |
String |
AccessibleStateSet.toString()
Creates a localized String representing all the states in the set using the default locale. |
String |
AccessibleAction.getAccessibleActionDescription(int i)
Returns a description of the specified action of the object. |
String |
AccessibleRelationSet.toString()
Creates a localized String representing all the relations in the set using the default locale. |
Methods in javax.accessibility with parameters of type String | |
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. |
void |
AccessibleIcon.setAccessibleIconDescription(String description)
Sets the description of the icon. |
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. |
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.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 |
RefAddr.addrType
Contains the type of this address. |
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. |
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 |
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. |
String |
RefAddr.getType()
Retrieves the address type of this address. |
String |
RefAddr.toString()
Generates the string representation of this address. |
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 |
Name.get(int posn)
Retrieves a component of this name. |
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 |
LinkRef.getLinkName()
Retrieves the name of this link. |
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 |
InitialContext.composeName(String name,
String prefix)
Composes the name of this context with a name relative to this context. |
String |
InitialContext.getNameInNamespace()
|
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. |
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 |
NamingException.appendRemainingComponent(String name)
Add name as the last component in remaining name. |
void |
LinkException.setLinkExplanation(String msg)
Sets the explanation associated with the problem encounter when resolving a link. |
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. |
Name |
NameParser.parse(String name)
Parses a name into its components. |
void |
NameClassPair.setName(String name)
Sets the name of this binding. |
void |
NameClassPair.setClassName(String name)
Sets the class name of this binding. |
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. |
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 |
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. |
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. |
Constructors in javax.naming with parameters of type String | |
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. |
|
NamingException(String explanation)
Constructs a new NamingException with an explanation. |
|
OperationNotSupportedException(String explanation)
Constructs a new instance of OperationNotSupportedException using an explanation. |
|
InsufficientResourcesException(String explanation)
Constructs a new instance of InsufficientResourcesException using an explanation. |
|
ServiceUnavailableException(String explanation)
Constructs a new instance of ServiceUnavailableException using an explanation. |
|
NoInitialContextException(String explanation)
Constructs an instance of NoInitialContextException with an explanation. |
|
RefAddr(String addrType)
Constructs a new instance of RefAddr using its address type. |
|
LinkException(String explanation)
Constructs a new instance of LinkException with an explanation All the other fields are initialized to null. |
|
LinkLoopException(String explanation)
Constructs a new instance of LinkLoopException with an explanation All the other fields are initialized to null. |
|
InvalidNameException(String explanation)
Constructs an instance of InvalidNameException using an explanation of the problem. |
|
LimitExceededException(String explanation)
Constructs a new instance of LimitExceededException using an explanation. |
|
SizeLimitExceededException(String explanation)
Constructs a new instance of SizeLimitExceededException using 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. |
|
CommunicationException(String explanation)
Constructs a new instance of CommunicationException using the arguments supplied. |
|
NameNotFoundException(String explanation)
Constructs a new instance of NameNotFoundException using the explanation supplied. |
|
InterruptedNamingException(String explanation)
Constructs an instance of InterruptedNamingException using an explanation of the problem. |
|
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. |
|
LinkRef(String linkName)
Constructs a LinkRef for a string name. |
|
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. |
|
ConfigurationException(String explanation)
Constructs a new instance of ConfigurationException using an explanation. |
|
NotContextException(String explanation)
Constructs a new instance of NotContextException using an explanation. |
|
ContextNotEmptyException(String explanation)
Constructs a new instance of ContextNotEmptyException using an explanation. |
|
TimeLimitExceededException(String explanation)
Constructs a new instance of TimeLimitExceededException using the argument supplied. |
|
CannotProceedException(String explanation)
Constructs a new instance of CannotProceedException using an explanation. |
|
StringRefAddr(String addrType,
String addr)
Constructs a new instance of StringRefAddr using its address type and contents. |
|
AuthenticationNotSupportedException(String explanation)
Constructs a new instance of AuthenticationNotSupportedException using an explanation. |
|
CompositeName(String n)
Constructs a new composite name instance by parsing the string n using the composite name syntax (left-to-right, slash separated). |
|
NameAlreadyBoundException(String explanation)
Constructs a new instance of NameAlreadyBoundException using the explanation supplied. |
|
PartialResultException(String explanation)
Constructs a new instance of the exception using the explanation message specified. |
|
ReferralException(String explanation)
Constructs a new instance of ReferralException using the explanation supplied. |
|
MalformedLinkException(String explanation)
Constructs a new instance of MalformedLinkException with an explanation All the other fields are initialized to null. |
|
NoPermissionException(String explanation)
Constructs a new instance of NoPermissionException using an explanation. |
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[] |
SearchControls.getReturningAttributes()
Retrieves the attributes that will be returned as part of the search. |
String |
AttributeModificationException.toString()
The string representation of this exception consists of information about where the error occurred, and the first unexecuted modification. |
String |
BasicAttribute.toString()
Generates the string representation of this attribute. |
String |
BasicAttribute.getID()
|
String |
SearchResult.toString()
Generates the string representation of this SearchResult. |
String |
Attribute.getID()
Retrieves the id of this attribute. |
String |
BasicAttributes.toString()
Generates the string representation of this attribute set. |
String |
ModificationItem.toString()
Generates the string representation of this modification item, which consists of the modification operation and its related attribute. |
Methods in javax.naming.directory with parameters of type String | |
void |
SearchControls.setReturningAttributes(String[] attrs)
Specifies the attributes that will be returned as part of the search. |
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. |
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. |
Attribute |
BasicAttributes.get(String attrID)
|
Attribute |
BasicAttributes.put(String attrID,
Object val)
|
Attribute |
BasicAttributes.remove(String attrID)
|
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)
|
Constructors in javax.naming.directory with parameters of type String | |
SearchControls(int scope,
long countlim,
int timelim,
String[] attrs,
boolean retobj,
boolean deref)
Constructs a search constraints using arguments. |
|
InvalidAttributeIdentifierException(String explanation)
Constructs a new instance of InvalidAttributeIdentifierException using the explanation supplied. |
|
InvalidAttributesException(String explanation)
Constructs a new instance of InvalidAttributesException using an explanation. |
|
InvalidSearchControlsException(String msg)
Constructs a new instance of InvalidSearchControlsException with an explanation. |
|
AttributeModificationException(String explanation)
Constructs a new instance of AttributeModificationException using an explanation. |
|
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. |
|
InvalidAttributeValueException(String explanation)
Constructs a new instance of InvalidAttributeValueException 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. |
|
AttributeInUseException(String explanation)
Constructs a new instance of AttributeInUseException with an explanation. |
|
InvalidSearchFilterException(String msg)
Constructs a new instance of InvalidSearchFilterException with an explanation. |
|
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. |
|
NoSuchAttributeException(String explanation)
Constructs a new instance of NoSuchAttributeException using an explanation. |
|
SchemaViolationException(String explanation)
Constructs a new instance of SchemaViolationException using the explanation supplied. |
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 |
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 |
Control.getID()
Retrieves the object identifier assigned for the LDAP control. |
String |
ExtendedRequest.getID()
Retrieves the object identifier of the request. |
String[] |
UnsolicitedNotification.getReferrals()
Retrieves the referral(s) sent by the server. |
String |
ExtendedResponse.getID()
Retrieves the object identifier of the response. |
Methods in javax.naming.ldap with parameters of type String | |
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 | |
ResolveResult |
Resolver.resolveToClass(String name,
Class contextType)
Partially resolves a name. |
void |
ResolveResult.appendRemainingComponent(String name)
Adds a single component to the end of remaining 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.rmi.CORBA |
Methods in javax.rmi.CORBA that return String | |
static String |
Util.getCodebase(Class clz)
Returns the codebase, if any, for the given class. |
String |
ValueHandler.getRMIRepositoryID(Class clz)
Returns the CORBA RepositoryId for the given Java class. |
String |
Stub.toString()
Returns a string representation of this stub. |
String |
StubDelegate.toString(Stub self)
Delegation call for Stub.toString() . |
String |
UtilDelegate.getCodebase(Class clz)
Delegation call for Util.getCodebase(java.lang.Class) . |
Methods in javax.rmi.CORBA with parameters of type String | |
static Class |
Util.loadClass(String className,
String remoteCodebase,
ClassLoader loader)
Returns a class instance for the specified class. |
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) . |
Uses of String in javax.sound.midi |
Methods in javax.sound.midi that return String | |
String |
SoundbankResource.getName()
Obtains the name of the resource. |
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 |
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 |
Sequencer.SyncMode.toString()
Provides this synchronization mode's name as the string representation of the mode. |
Constructors in javax.sound.midi with parameters of type String | |
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 sound bank, bank index, and program index. |
|
MidiDevice.Info(String name,
String vendor,
String description,
String version)
Constructs a device info object. |
|
InvalidMidiDataException(String message)
Constructs an InvalidMidiDataException with the
specified detail message. |
|
MidiUnavailableException(String message)
Constructs a MidiUnavailableException with the
specified detail message. |
|
Sequencer.SyncMode(String name)
Constructs a synchronization mode. |
Uses of String in javax.sound.sampled |
Methods in javax.sound.sampled that return String | |
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. |
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 |
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 |
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 |
EnumControl.toString()
Provides a string representation of the control. |
String |
LineEvent.toString()
Obtains a string representation of the event. |
String |
LineEvent.Type.toString()
Returns the type name as the string representation. |
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 |
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 |
CompoundControl.toString()
Provides a string representation of the control |
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 |
BooleanControl.getStateLabel(boolean state)
Obtains the label for the specified state. |
String |
BooleanControl.toString()
Provides a string representation of the control |
Constructors in javax.sound.sampled with parameters of type String | |
Control.Type(String name)
Constructs a new control type with the name specified. |
|
Mixer.Info(String name,
String vendor,
String description,
String version)
Constructs a mixer's info object, passing it the given textual information. |
|
AudioFileFormat.Type(String name,
String extension)
Constructs a file type. |
|
EnumControl.Type(String name)
Constructs a new enumerated control type. |
|
LineEvent.Type(String name)
Constructs a new event type. |
|
UnsupportedAudioFileException(String message)
Constructs a UnsupportedAudioFileException that has
the specified detail message. |
|
AudioFormat.Encoding(String name)
Constructs a new encoding. |
|
LineUnavailableException(String message)
Constructs a LineUnavailableException that has
the specified detail message. |
|
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". |
|
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. |
|
CompoundControl.Type(String name)
Constructs a new compound control type. |
|
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. |
|
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. |
Uses of String in javax.swing |
Fields in javax.swing declared as String | |
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". |
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 in the button's |
static String |
AbstractButton.CONTENT_AREA_FILLED_CHANGED_PROPERTY
Identifies a change from rollover enabled to disabled or back to enabled. |
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 |
JCheckBox.BORDER_PAINTED_FLAT_CHANGED_PROPERTY
Identifies a change to the flat property. |
static String |
JTextField.notifyAction
Name of the action to send notification that the contents of the field have been accepted. |
static String |
Action.DEFAULT
Useful constants that can be used as the storage-retrieval key when setting or getting one of this object's properties (text or icon). |
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 |
JOptionPane.ICON_PROPERTY
Bound property name for icon. |
static String |
JOptionPane.MESSAGE_PROPERTY
Bound property name for message. |
static String |
JOptionPane.VALUE_PROPERTY
Bounds property name for value. |
static String |
JOptionPane.OPTIONS_PROPERTY
Bounds property namer for option. |
static String |
JOptionPane.INITIAL_VALUE_PROPERTY
Bounds property name for initialValue. |
static String |
JOptionPane.MESSAGE_TYPE_PROPERTY
Bounds 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 |
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. |
protected String |
JComboBox.actionCommand
|
protected String |
DefaultButtonModel.actionCommand
|
protected String |
JInternalFrame.title
The title displayed in the 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 frame is closed. |
static String |
JInternalFrame.IS_MAXIMUM_PROPERTY
Constrained property name indicating that the frame is maximized. |
static String |
JInternalFrame.IS_ICON_PROPERTY
Constrained property name indicating that the frame is iconified. |
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. |
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 |
static String |
FocusManager.FOCUS_MANAGER_CLASS_PROPERTY
This property name is used to get the FocusManager implementation that should be used for a given UI |
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. |
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 |
JProgressBar.progressString
A optional String that can be displayed on the progress bar. |
Methods in javax.swing that return String | |
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. |
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 |
JTextPane.getUIClassID()
Returns the class ID for the UI. |
protected String |
JTextPane.paramString()
Returns a string representation of this JTextPane. |
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 . |
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 |
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 |
KeyStroke.toString()
Returns a string that displays and identifies this object's properties. |
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 |
JMenuItem.getUIClassID()
Returns the name of the L&F class that renders this component. |
protected String |
JMenuItem.paramString()
Returns a string representation of this JMenuItem. |
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. |
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 |
DefaultBoundedRangeModel.toString()
Returns a string that displays all of the BoundedRangeModel properties. |
protected String |
JLayeredPane.paramString()
Returns a string representation of this JLayeredPane. |
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 |
JTextField.getUIClassID()
Gets the class ID for a UI. |
protected String |
JTextField.paramString()
Returns a string representation of this JTextField. |
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. |
static String |
JOptionPane.showInputDialog(Object message)
Shows a question-message dialog requesting input from the user. |
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,
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 |
RepaintManager.toString()
Returns a string that displays and identifies this object's properties. |
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 . |
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 |
DefaultListSelectionModel.toString()
Returns a string that displays and identifies this object's properties. |
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 |
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. |
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 |
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 . |
String |
JPopupMenu.Separator.getUIClassID()
Returns the name of the L&F class that renders this component. |
protected String |
JWindow.paramString()
Returns a string representation of this JWindow . |
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. |
String |
ButtonModel.getActionCommand()
Returns the action command for this button. |
protected String |
JApplet.paramString()
Returns a string representation of this JApplet. |
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 |
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 |
JComboBox.AccessibleJComboBox.getAccessibleActionDescription(int i)
Return a description of the specified action of the object. |
String |
JList.getUIClassID()
Returns the suffix used to construct the name of the look and feel (L&F) class used to render this component. |
protected String |
JList.paramString()
Returns a string representation of this JList . |
String |
JList.AccessibleJList.AccessibleJListChild.getAccessibleName()
|
String |
JList.AccessibleJList.AccessibleJListChild.getAccessibleDescription()
|
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 |
UIDefaults.getString(Object key)
If the value of key is a String return it,
otherwise return null . |
String |
DefaultButtonModel.getActionCommand()
Returns the action command for this button. |
String |
JInternalFrame.getUIClassID()
Returns the name of the L&F class which renders this component. |
String |
JInternalFrame.getTitle()
Returns the title of the JInternalFrame . |
String |
JInternalFrame.getWarningString()
Gets the warning string that is displayed with this window. |
protected String |
JInternalFrame.paramString()
Returns a string representation of this JInternalFrame. |
String |
JInternalFrame.AccessibleJInternalFrame.getAccessibleName()
Get the accessible name of this object. |
String |
JInternalFrame.JDesktopIcon.getUIClassID()
Returns the name of the L&F class that renders this component. |
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. |
protected String |
JFrame.paramString()
Returns a string representation of this JFrame . |
String |
JFrame.AccessibleJFrame.getAccessibleName()
Get the accessible name of this object. |
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 |
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 |
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 |
ProgressMonitor.getNote()
Specifies the additional note that is displayed along with the progress message. |
String |
SizeRequirements.toString()
Returns a string describing the minimum, preferred, and maximum size requirements, along with the alignment. |
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 |
JTable.AccessibleJTable.AccessibleJTableCell.getAccessibleName()
Gets the accessible name of this object. |
String |
JTable.AccessibleJTable.AccessibleJTableCell.getAccessibleDescription()
Gets the accessible description of this object. |
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 |
DefaultListModel.toString()
Returns a string that displays and identifies this object's properties. |
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 |
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 |
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 |
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 |
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 |
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 |
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. |
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. |
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. |
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 |
JTextArea.getUIClassID()
Returns the class ID for the UI. |
protected String |
JTextArea.paramString()
Returns a string representation of this JTextArea. |
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 |
JScrollBar.getUIClassID()
Returns the name of the LookAndFeel class for this component. |
protected String |
JScrollBar.paramString()
Returns a string representation of this JScrollBar. |
String |
JProgressBar.getString()
Returns the current value of the Progress String. |
String |
JProgressBar.getUIClassID()
Returns the name of the L&F class that renders this component. |
protected String |
JProgressBar.paramString()
Returns a string representation of this JProgressBar. |
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 |
JDialog.paramString()
Returns a string representation of this JDialog . |
String |
JDialog.AccessibleJDialog.getAccessibleName()
Get the accessible name of this object. |
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. |
Methods in javax.swing with parameters of type String | |
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. |
protected void |
JComponent.fireVetoableChange(String propertyName,
Object oldValue,
Object newValue)
Supports reporting constrained property changes. |
protected 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. |
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 |
ViewportLayout.addLayoutComponent(String name,
Component c)
Adds the specified component to the layout. |
protected void |
JViewport.firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Notifies listeners of a property change. |
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. |
static KeyStroke |
KeyStroke.getKeyStroke(String s)
Parse a string and return a KeyStroke. |
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)
|
protected void |
JMenuItem.init(String text,
Icon icon)
Initialize the menu item with the specified text and icon. |
void |
JTextField.setActionCommand(String command)
Sets the command string used for action events. |
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. |
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 modal 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 modal 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 modal 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 modal dialog with a specified icon, where the initial choice is dermined 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 dermined 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 . |
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. |
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. |
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 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. |
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 |
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 |
ButtonModel.setActionCommand(String s)
Sets the actionCommand string that gets sent as part of the event when the button is pressed. |
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. |
void |
JComboBox.setActionCommand(String aCommand)
Sets the action commnand that should be included in the event sent to action listeners. |
void |
JList.AccessibleJList.AccessibleJListChild.setAccessibleName(String s)
|
void |
JList.AccessibleJList.AccessibleJListChild.setAccessibleDescription(String s)
|
void |
JToolTip.setTipText(String tipText)
Sets the text to show when the tool tip is displayed. |
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 |
DefaultButtonModel.setActionCommand(String actionCommand)
Sets the actionCommand string that gets sent as part of the event when the button is pressed. |
void |
BoxLayout.addLayoutComponent(String name,
Component comp)
Not used by this class. |
void |
JInternalFrame.setTitle(String title)
Sets the JInternalFrame title. |
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. |
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 |
ProgressMonitor.setNote(String note)
Specifies the additional note that is displayed along with the progress message. |
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. |
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. |
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 |
ImageIcon.setDescription(String description)
Sets the description of the image. |
void |
ImageIcon.AccessibleImageIcon.setAccessibleIconDescription(String description)
Sets the description of the icon. |
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)
Set the current default look and feel using a class name. |
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. |
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 |
JProgressBar.setString(String s)
Sets the value of the Progress String. |
void |
OverlayLayout.addLayoutComponent(String name,
Component comp)
Adds the specified component to the layout. |
void |
JRootPane.RootLayout.addLayoutComponent(String name,
Component comp)
|
void |
DebugGraphics.drawString(String aString,
int x,
int y)
Overrides Graphics.drawString . |
Constructors in javax.swing with parameters of type String | |
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. |
|
JMenuItem(String text)
Creates a menuItem with text. |
|
JMenuItem(String text,
Icon icon)
Creates a menu item with the supplied text and icon. |
|
JMenuItem(String text,
int mnemonic)
Creates a menuItem with the specified text and keyboard mnemonic. |
|
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. |
|
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. |
|
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. |
|
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. |
|
UnsupportedLookAndFeelException(String s)
Constructs an UnsupportedLookAndFeelException object. |
|
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. |
|
JButton(String text)
Creates a button with text. |
|
JButton(String text,
Icon icon)
Creates a button with initial text and an icon. |
|
JPopupMenu(String label)
Constructs a JPopupMenu with the specified title. |
|
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. |
|
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 with resizability specified. |
|
JInternalFrame(String title,
boolean resizable,
boolean closable)
Creates a non-maximizable, non-iconifiable JInternalFrame
with the specified title and with resizability and
closability specified. |
|
JInternalFrame(String title,
boolean resizable,
boolean closable,
boolean maximizable)
Creates a non-iconifiable JInternalFrame
with the specified title
and with resizability, closability, and maximizability specified. |
|
JInternalFrame(String title,
boolean resizable,
boolean closable,
boolean maximizable,
boolean iconifiable)
Creates a JInternalFrame with the specified title and
with resizability, closability, maximizability, and iconifiability
specified. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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 . |
|
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. |
|
JToolBar(String name)
Creates a new toolbar with the specified name . |
|
JToolBar(String name,
int orientation)
Creates a new toolbar with a specified name and
orientation . |
|
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. |
|
UIManager.LookAndFeelInfo(String name,
String className)
Constructs an UIManager$LookAndFeelInfo object. |
|
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. |
|
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(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. |
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 |
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 |
InternalFrameEvent.paramString()
Returns a parameter string identifying this event. |
String |
EventListenerList.toString()
Returns a string representation of the EventListenerList. |
String |
ListSelectionEvent.toString()
Returns a string that displays and identifies this object's properties. |
String |
TreeModelEvent.toString()
Returns a string that displays and identifies this object's properties. |
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. |
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. |
Uses of String in javax.swing.filechooser |
Methods in javax.swing.filechooser that return String | |
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. |
abstract String |
FileFilter.getDescription()
The description of this filter. |
Methods in javax.swing.filechooser with parameters of type String | |
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)
|
Constructors in javax.swing.plaf with parameters of type String | |
FontUIResource(String name,
int style,
int size)
|
|
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)
|
Uses of String in javax.swing.plaf.basic |
Fields in javax.swing.plaf.basic declared as String | |
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. |
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.saveButtonToolTipText
|
protected String |
BasicFileChooserUI.openButtonToolTipText
|
protected String |
BasicFileChooserUI.cancelButtonToolTipText
|
protected String |
BasicFileChooserUI.updateButtonToolTipText
|
protected String |
BasicFileChooserUI.helpButtonToolTipText
|
protected static String |
BasicSplitPaneUI.NON_CONTINUOUS_DIVIDER
The divider used for non-continuous layout is added to the split pane with this object. |
Methods in javax.swing.plaf.basic that return String | |
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. |
protected String |
BasicEditorPaneUI.getPropertyPrefix()
Fetches the name used as a key to lookup properties through the UIManager. |
protected String |
BasicTextPaneUI.getPropertyPrefix()
Fetches the name used as a key to lookup properties through the UIManager. |
protected String |
BasicMenuItemUI.getPropertyPrefix()
|
protected String |
BasicRadioButtonMenuItemUI.getPropertyPrefix()
|
protected String |
BasicButtonUI.getPropertyPrefix()
|
protected String |
BasicToggleButtonUI.getPropertyPrefix()
|
protected String |
BasicRadioButtonUI.getPropertyPrefix()
|
protected String |
BasicMenuUI.getPropertyPrefix()
|
protected String |
BasicCheckBoxMenuItemUI.getPropertyPrefix()
|
protected String |
BasicTextFieldUI.getPropertyPrefix()
Fetches the name used as a key to lookup properties through the UIManager. |
protected String |
BasicPasswordFieldUI.getPropertyPrefix()
Fetches the name used as a key to look up properties through the UIManager. |
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)
|
String |
BasicFileChooserUI.AcceptAllFileFilter.getDescription()
|
String |
BasicFileChooserUI.BasicFileView.getName(File f)
|
String |
BasicFileChooserUI.BasicFileView.getDescription(File f)
|
String |
BasicFileChooserUI.BasicFileView.getTypeDescription(File f)
|
protected String |
BasicLabelUI.layoutCL(JLabel label,
FontMetrics fontMetrics,
String text,
Icon icon,
Rectangle viewR,
Rectangle iconR,
Rectangle textR)
Forwards the call to SwingUtilities.layoutCompoundLabel(). |
String |
BasicCheckBoxUI.getPropertyPrefix()
|
protected String |
BasicTextAreaUI.getPropertyPrefix()
Fetches the name used as a key to look up properties through the UIManager. |
Methods in javax.swing.plaf.basic with parameters of type String | |
protected void |
BasicButtonUI.paintText(Graphics g,
JComponent c,
Rectangle textRect,
String text)
|
protected void |
BasicToggleButtonUI.paintText(Graphics g,
AbstractButton b,
Rectangle textRect,
String text)
|
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 drawn. |
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 |
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)
|
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 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 |
BasicInternalFrameTitlePane.TitlePaneLayout.addLayoutComponent(String name,
Component c)
|
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. |
void |
BasicScrollBarUI.addLayoutComponent(String name,
Component child)
|
void |
BasicFileChooserUI.setFileName(String filename)
|
void |
BasicFileChooserUI.setDirectoryName(String dirname)
|
void |
BasicInternalFrameUI.InternalFrameLayout.addLayoutComponent(String name,
Component c)
|
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 |
BasicComboBoxUI.ComboBoxLayoutManager.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)
|
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 static String |
MetalInternalFrameUI.IS_PALETTE
|
protected String |
MetalSliderUI.SLIDER_FILL
|
static String |
MetalScrollBarUI.FREE_STANDING_PROP
|
Methods in javax.swing.plaf.metal that return String | |
String |
MetalFileChooserUI.getFileName()
|
String |
MetalFileChooserUI.getDirectoryName()
|
String |
MetalLookAndFeel.getName()
|
String |
MetalLookAndFeel.getID()
|
String |
MetalLookAndFeel.getDescription()
|
String |
MetalToolTipUI.getAcceleratorString()
|
String |
MetalCheckBoxUI.getPropertyPrefix()
|
abstract String |
MetalTheme.getName()
|
String |
DefaultMetalTheme.getName()
|
Methods in javax.swing.plaf.metal with parameters of type String | |
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 |
MetalToggleButtonUI.paintText(Graphics g,
JComponent c,
Rectangle textRect,
String text)
|
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 |
MultiLookAndFeel.getName()
|
String |
MultiLookAndFeel.getID()
|
String |
MultiLookAndFeel.getDescription()
|
String |
MultiFileChooserUI.getApproveButtonText(JFileChooser a)
Call getApproveButtonText on each UI handled by this MultiUI. |
String |
MultiFileChooserUI.getDialogTitle(JFileChooser a)
Call getDialogTitle on each UI handled by this MultiUI. |
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 |
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()
|
String |
TableModel.getColumnName(int columnIndex)
Returns the name of the column at columnIndex . |
Methods in javax.swing.table with parameters of type String | |
int |
AbstractTableModel.findColumn(String columnName)
Returns a column given its name. |
void |
JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry.setAccessibleName(String s)
|
void |
JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry.setAccessibleDescription(String s)
|
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. |
Uses of String in javax.swing.text |
Fields in javax.swing.text declared as String | |
static String |
JTextComponent.FOCUS_ACCELERATOR_KEY
The bound property name for the focus accelerator. |
static String |
JTextComponent.DEFAULT_KEYMAP
This is the name of the default keymap that will be shared by all JTextComponent instances unless they have had a different keymap set. |
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. |
static String |
StyleContext.DEFAULT_STYLE
The name given to the default logical style attached to paragraphs. |
static String |
StyleConstants.ComponentElementName
Name of elements used to represent components. |
static String |
StyleConstants.IconElementName
Name of elements used to represent icons. |
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 begining 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 begining 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 begining of the previous word. |
static String |
DefaultEditorKit.nextWordAction
Name of the Action for moving the caret to the begining of the next word. |
static String |
DefaultEditorKit.selectionPreviousWordAction
Name of the Action for moving the selection to the begining of the previous word, extending the selection. |
static String |
DefaultEditorKit.selectionNextWordAction
Name of the Action for moving the selection to the begining of the next word, extending the selection. |
static String |
DefaultEditorKit.beginLineAction
Name of the Action for moving the caret to the begining 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 begining 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 begining 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 begining 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 begining 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 begining 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. |
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. |
String |
JTextComponent.KeyBinding.actionName
The name of the action for the key. |
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. |
Methods in javax.swing.text that return String | |
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. |
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)
Returns the String at a given index. |
String |
JTextComponent.AccessibleJTextComponent.getAfterIndex(int part,
int index)
Returns the String after a given index. |
String |
JTextComponent.AccessibleJTextComponent.getBeforeIndex(int part,
int index)
Returns the String before a given index. |
String |
Keymap.getName()
Fetches the name of the set of key-bindings. |
String |
Element.getName()
Fetches the name of the element. |
String |
Document.getText(int offset,
int length)
Fetches the text contained within the given portion of the document. |
String |
SimpleAttributeSet.toString()
Converts the attribute set to a String. |
String |
ChangedCharSetException.getCharSetSpec()
|
String |
Style.getName()
Fetches the name of the style. |
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 |
Position.Bias.toString()
string representation |
abstract String |
EditorKit.getContentType()
Gets the MIME type of the data that this kit represents support for. |
String |
StyleConstants.toString()
Returns the string representation. |
static String |
StyleConstants.getFontFamily(AttributeSet a)
Gets the font family setting from the attribute list. |
protected String |
AbstractWriter.getText(Element elem)
Returns the text associated with the element. |
String |
AbstractWriter.getLineSeparator()
Returns the string used to represent newlines. |
String |
TabSet.toString()
Returns the string representation of the set of tabs. |
String |
DefaultEditorKit.getContentType()
Gets the MIME type of the data that this kit represents support for. |
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 |
StringContent.getString(int where,
int len)
Retrieves a portion of the content. |
String |
GapContent.getString(int where,
int len)
Retrieves a portion of the content. |
String |
DefaultCaret.toString()
|
String |
TabStop.toString()
|
String |
Segment.toString()
Converts a segment into a String. |
String |
DefaultStyledDocument.SectionElement.getName()
Gets the name of the element. |
String |
DefaultStyledDocument.ElementSpec.toString()
Converts the element to a string. |
Methods in javax.swing.text with parameters of type String | |
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 |
Document.insertString(int offset,
String str,
AttributeSet a)
Inserts a string of 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. |
static void |
StyleConstants.setFontFamily(MutableAttributeSet a,
String fam)
Sets the font attribute. |
void |
AbstractWriter.setLineSeparator(String value)
Sets the String used to reprsent newlines. |
protected void |
AbstractWriter.write(String content)
Writes out a string. |
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. |
UndoableEdit |
StringContent.insertString(int where,
String str)
Inserts a string into the content. |
UndoableEdit |
GapContent.insertString(int where,
String str)
Inserts a string into the content. |
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. |
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. |
Constructors in javax.swing.text with parameters of type String | |
ChangedCharSetException(String charSetSpec,
boolean charSetKey)
|
|
StyleContext.NamedStyle(String name,
Style parent)
Creates a new named style. |
|
TextAction(String name)
Creates a new JTextAction object. |
|
BadLocationException(String s,
int offs)
Creates a new BadLocationException object. |
|
JTextComponent.KeyBinding(KeyStroke key,
String actionName)
Creates a new key binding. |
|
StyledEditorKit.StyledTextAction(String nm)
Creates a new StyledTextAction from a string action name. |
|
StyledEditorKit.FontFamilyAction(String nm,
String family)
Creates a new FontFamilyAction. |
|
StyledEditorKit.FontSizeAction(String nm,
int size)
Creates a new FontSizeAction. |
|
StyledEditorKit.ForegroundAction(String nm,
Color fg)
Creates a new ForegroundAction. |
|
StyledEditorKit.AlignmentAction(String nm,
int a)
Creates a new AlignmentAction. |
Uses of String in javax.swing.text.html |
Fields in javax.swing.text.html declared as String | |
static String |
HTML.NULL_ATTRIBUTE_VALUE
|
static String |
HTMLDocument.AdditionalComments
Document property key 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 |
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 |
Methods in javax.swing.text.html that return String | |
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 |
HTML.Tag.toString()
Return the string representation of the tag. |
String |
HTML.Attribute.toString()
|
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. |
String |
HTMLFrameHyperlinkEvent.getTarget()
returns the target for the link. |
String |
CSS.Attribute.toString()
The string representation of the attribute. |
String |
CSS.Attribute.getDefaultValue()
Fetch the default value for the attribute. |
Methods in javax.swing.text.html with parameters of type String | |
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)
|
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 |
Option.setLabel(String label)
Sets the label to be used for the option. |
static HTML.Tag |
HTML.getTag(String tagName)
Fetch a tag constant for a well-known tag name (i.e. |
static HTML.Attribute |
HTML.getAttributeKey(String attName)
Fetch an attribute constant for a well-known attribute name (i.e. |
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 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)
Fetches the element that has the given id attribute. |
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 . |
void |
HTMLDocument.HTMLReader.handleEndOfLineString(String eol)
This is invoked after the stream has been parsed, but before flush . |
static CSS.Attribute |
CSS.getAttribute(String name)
Translate a string to a CSS.Attribute object. |
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. |
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 |
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". |
Constructors in javax.swing.text.html with parameters of type String | |
HTML.Tag(String id)
|
|
HTML.Tag(String id,
boolean causesBreak,
boolean isBlock)
|
|
HTML.UnknownTag(String id)
|
|
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. |
|
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 |
AttributeList.name
|
String |
AttributeList.value
|
String |
DTD.name
|
String |
Element.name
|
String |
Entity.name
|
Methods in javax.swing.text.html.parser that return String | |
String |
AttributeList.getName()
|
String |
AttributeList.getValue()
|
String |
AttributeList.toString()
|
static String |
AttributeList.type2name(int tp)
|
String |
Parser.parseDTDMarkup()
Parses th Document Declaration Type markup declaration. |
String |
DTD.getName()
Get the name of the DTD. |
String |
DTD.toString()
Return a string representation. |
String |
ContentModel.toString()
Convert to a string. |
String |
Element.getName()
Get the name of the element. |
String |
Element.toString()
Convert to a string. |
String |
Entity.getName()
Get the name of the entity. |
String |
Entity.getString()
Return the data as a string. |
Methods in javax.swing.text.html.parser with parameters of type String | |
static int |
AttributeList.name2type(String nm)
|
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)
|
Entity |
DTD.getEntity(String name)
Get an entity by name. |
Element |
DTD.getElement(String name)
Get an element by name. |
Entity |
DTD.defineEntity(String name,
int type,
char[] data)
Define an entity. |
Element |
DTD.defineElement(String name,
int type,
boolean omitStart,
boolean omitEnd,
ContentModel content,
BitSet exclusions,
BitSet inclusions,
AttributeList atts)
Define an element. |
void |
DTD.defineAttributes(String name,
AttributeList atts)
Define the attributes of an element. |
Entity |
DTD.defEntity(String name,
int type,
int ch)
Define a character entity. |
protected Entity |
DTD.defEntity(String name,
int type,
String str)
Define an entity. |
protected Element |
DTD.defElement(String name,
int type,
boolean omitStart,
boolean omitEnd,
ContentModel content,
String[] exclusions,
String[] inclusions,
AttributeList atts)
Define an element. |
protected AttributeList |
DTD.defAttributeList(String name,
int type,
int modifier,
String value,
String values,
AttributeList atts)
Define an attribute list |
static void |
DTD.putDTDHash(String name,
DTD dtd)
|
static DTD |
DTD.getDTD(String name)
Get a DTD. |
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)
|
protected static DTD |
ParserDelegator.createDTD(DTD dtd,
String name)
|
static int |
Entity.name2type(String nm)
|
protected void |
DocumentParser.handleError(int ln,
String errorMsg)
|
Constructors in javax.swing.text.html.parser with parameters of type String | |
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. |
|
DTD(String name)
Create a new DTD. |
|
Entity(String name,
int type,
char[] data)
Create an entity. |
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 |
DefaultTreeSelectionModel.toString()
Returns a string that displays and identifies this object's properties. |
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 |
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 | |
protected static String |
AbstractUndoableEdit.UndoName
String returned by getUndoPresentationName() |
protected static String |
AbstractUndoableEdit.RedoName
String returned by getRedoPresentationName() |
protected static String |
StateEdit.RCSID
|
protected String |
StateEdit.undoRedoName
The undo/redo presentation name |
static String |
StateEditable.RCSID
Resource ID for this class. |
Methods in javax.swing.undo that return String | |
String |
AbstractUndoableEdit.getPresentationName()
This default implementation returns "". |
String |
AbstractUndoableEdit.getUndoPresentationName()
If getPresentationName() returns "", returns AbstractUndoableEdit.UndoName. |
String |
AbstractUndoableEdit.getRedoPresentationName()
If getPresentationName() returns "", returns AbstractUndoableEdit.RedoName. |
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 |
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 |
UndoableEditSupport.toString()
Returns a string that displays and identifies this object's properties. |
String |
StateEdit.getPresentationName()
Gets the presentation name for this edit |
String |
UndoableEdit.getPresentationName()
Provide a localized, human readable description of this edit suitable for use in, say, a change log. |
String |
UndoableEdit.getUndoPresentationName()
Provide a localized, human readable description of the undoable form of this edit, e.g. |
String |
UndoableEdit.getRedoPresentationName()
Provide 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 | |
TransactionRequiredException(String msg)
|
|
InvalidTransactionException(String msg)
|
|
TransactionRolledbackException(String msg)
|
Uses of String in org.omg.CORBA |
Fields in org.omg.CORBA declared as String | |
String |
UnionMember.name
The name of the union member described by this UnionMember object. |
String |
NameValuePair.id
The name to be associated with a value by this NameValuePair object. |
String |
StringHolder.value
The String value held by this StringHolder
object. |
String |
StructMember.name
The name of the struct member described by this StructMember object. |
String |
ValueMember.name
The name of the value member described by this
ValueMember object. |
String |
ValueMember.id
The name of the value member described by this
ValueMember object. |
String |
ValueMember.defined_in
The name of the value member described by this
ValueMember object. |
String |
ValueMember.version
The name of the value member described by this
ValueMember object. |
Methods in org.omg.CORBA that return String | |
String |
DynAny.get_string()
Retrieves the String contained
in this DynAny object. |
String |
DynAny.get_wstring()
Retrieves the String contained
in this DynAny object. |
String |
SystemException.toString()
Converts this exception to a representative string. |
static String |
UnionMemberHelper.id()
|
static String |
ServiceInformationHelper.id()
|
static String |
PolicyListHelper.id()
|
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. |
static String |
NameValuePairHelper.id()
|
static String |
LongSeqHelper.id()
|
abstract String |
NamedValue.name()
Retrieves the name for this NamedValue object. |
String |
DynStruct.current_member_name()
During a traversal, returns the name of the current member. |
static String |
OctetSeqHelper.id()
|
static String |
IdentifierHelper.extract(Any a)
|
static String |
IdentifierHelper.id()
|
static String |
IdentifierHelper.read(InputStream istream)
|
String |
DynUnion.member_name()
Allows for the inspection of the name of this union member without checking the value of the discriminator. |
String[] |
_PolicyStub._ids()
|
static String |
FloatSeqHelper.id()
|
abstract String |
ContextList.item(int index)
Returns the String object at the given index. |
static String |
ServiceDetailHelper.id()
|
static String |
BooleanSeqHelper.id()
|
static String |
VisibilityHelper.id()
|
static String |
ULongSeqHelper.id()
|
static String |
StringValueHelper.extract(Any a)
|
static String |
StringValueHelper.id()
|
static String |
StringValueHelper.read(InputStream istream)
|
String |
StringValueHelper.get_id()
|
static String |
CharSeqHelper.id()
|
static String |
SetOverrideTypeHelper.id()
|
static String |
VersionSpecHelper.extract(Any a)
|
static String |
VersionSpecHelper.id()
|
static String |
VersionSpecHelper.read(InputStream istream)
|
static String |
DefinitionKindHelper.id()
|
static String |
StructMemberHelper.id()
|
static String |
IDLTypeHelper.id()
|
static String |
UShortSeqHelper.id()
|
static String |
WCharSeqHelper.id()
|
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. |
String |
DynValue.current_member_name()
Returns the name of the current member while traversing a DynAny object that represents a Value object. |
static String |
DoubleSeqHelper.id()
|
String |
DynEnum.value_as_string()
Return the value of the IDL enum stored in this DynEnum as a string. |
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 |
WStringValueHelper.extract(Any a)
|
static String |
WStringValueHelper.id()
|
static String |
WStringValueHelper.read(InputStream istream)
|
String |
WStringValueHelper.get_id()
|
static String |
PolicyTypeHelper.id()
|
String |
ServerRequest.op_name()
Deprecated. use operation() |
String |
ServerRequest.operation()
Retrieves the name of the operation being invoked. |
static String |
ULongLongSeqHelper.id()
|
abstract String |
Request.operation()
Retrieves the name of the method to be invoked. |
static String |
RepositoryIdHelper.extract(Any a)
|
static String |
RepositoryIdHelper.id()
|
static String |
RepositoryIdHelper.read(InputStream istream)
|
static String |
ShortSeqHelper.id()
|
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. |
static String |
ObjectHelper.id()
|
static String |
CurrentHelper.id()
|
static String |
LongLongSeqHelper.id()
|
String[] |
_IDLTypeStub._ids()
|
abstract String |
Context.context_name()
Retrieves the name of this Context object. |
static String |
CompletionStatusHelper.id()
|
static String |
FieldNameHelper.extract(Any a)
|
static String |
FieldNameHelper.id()
|
static String |
FieldNameHelper.read(InputStream istream)
|
static String |
ValueBaseHelper.id()
|
static String |
PolicyHelper.id()
|
static String |
AnySeqHelper.id()
|
static String |
ValueMemberHelper.id()
|
Methods in org.omg.CORBA with parameters of type String | |
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. |
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. |
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. |
static void |
IdentifierHelper.insert(Any a,
String that)
|
static void |
IdentifierHelper.write(OutputStream ostream,
String value)
|
void |
DynUnion.member_name(String arg)
Allows for the assignment of the name of this union member. |
abstract void |
ContextList.add(String ctx)
Adds a String object to this ContextList
object. |
static void |
StringValueHelper.insert(Any a,
String that)
|
static void |
StringValueHelper.write(OutputStream ostream,
String value)
|
static void |
VersionSpecHelper.insert(Any a,
String that)
|
static void |
VersionSpecHelper.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 . |
static void |
WStringValueHelper.insert(Any a,
String that)
|
static void |
WStringValueHelper.write(OutputStream ostream,
String value)
|
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. |
static void |
RepositoryIdHelper.insert(Any a,
String that)
|
static void |
RepositoryIdHelper.write(OutputStream ostream,
String value)
|
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. |
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 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. |
static void |
FieldNameHelper.insert(Any a,
String that)
|
static void |
FieldNameHelper.write(OutputStream ostream,
String value)
|
Constructors in org.omg.CORBA with parameters of type String | |
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. |
|
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. |
|
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. |
|
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. |
|
UserException(String reason)
Constructs a UserException object with a
detail message. |
|
PolicyError(String reason_string,
short __reason)
Constructs a PolicyError user exception
initialized with the given reason detail message and reason code. |
|
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_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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
UnionMember(String __name,
Any __label,
TypeCode __type,
IDLType __type_def)
Constructs a new UnionMember object with its fields initialized
to the given values. |
|
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. |
|
Bounds(String reason)
Constructs an Bounds with the specified detail message. |
|
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. |
|
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. |
|
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. |
|
NameValuePair(String __id,
Any __value)
Constructs a NameValuePair object that associates
the given name with the given org.omg.CORBA.Any object. |
|
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. |
|
StringHolder(String initial)
Constructs a new StringHolder object with its
value field initialized to the given
String . |
|
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. |
|
StructMember(String __name,
TypeCode __type,
IDLType __type_def)
Constructs a StructMember object initialized with the
given values. |
|
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. |
|
WrongTransaction(String reason)
Constructs a WrongTransaction object with the given detail message. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
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. |
|
Invalid(String reason)
Constructs an Invalid object. |
|
TypeMismatch(String reason)
Constructs a TypeMismatch object. |
|
InvalidValue(String reason)
Constructs an InvalidValue 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 | |
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. |
String[] |
ValueBase._truncatable_ids()
Provides truncatable repository ids. |
String |
BoxedValueHelper.get_id()
|
String |
Delegate.toString(Object self)
Provide the implementation to override the toString() method of the delegating CORBA object. |
String |
ApplicationException.getId()
Returns the CORBA repository ID of the exception without removing it from the exceptions input stream. |
Methods in org.omg.CORBA.portable with parameters of type String | |
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. |
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. |
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. |
OutputStream |
InvokeHandler._invoke(String method,
InputStream input,
ResponseHandler handler)
Invoked by the ORB to dispatch a request to the servant. |
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[] |
_NamingContextStub._ids()
|
String[] |
_BindingIteratorImplBase._ids()
|
static String |
NameHelper.id()
|
static String |
IstringHelper.read(InputStream in)
|
static String |
IstringHelper.extract(Any a)
|
static String |
IstringHelper.id()
|
static String |
BindingListHelper.id()
|
String[] |
_BindingIteratorStub._ids()
|
static String |
BindingIteratorHelper.id()
|
String[] |
_NamingContextImplBase._ids()
|
static String |
NameComponentHelper.id()
|
static String |
BindingTypeHelper.id()
|
static String |
NamingContextHelper.id()
|
static String |
BindingHelper.id()
|
Methods in org.omg.CosNaming with parameters of type String | |
static void |
IstringHelper.write(OutputStream out,
String that)
|
static void |
IstringHelper.insert(Any a,
String that)
|
Constructors in org.omg.CosNaming with parameters of type String | |
NameComponent(String __id,
String __kind)
|
Uses of String in org.omg.CosNaming.NamingContextPackage |
Methods in org.omg.CosNaming.NamingContextPackage that return String | |
static String |
AlreadyBoundHelper.id()
|
static String |
NotFoundReasonHelper.id()
|
static String |
NotFoundHelper.id()
|
static String |
CannotProceedHelper.id()
|
static String |
InvalidNameHelper.id()
|
static String |
NotEmptyHelper.id()
|
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. |
|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Java, Java 2D, and JDBC are trademarks or registered trademarks of Oracle and/or its affiliates, in the US and other countries.
Copyright © 1995, 2010 Oracle and/or its affiliates. All rights reserved.