JSR-62 (Final)

Uses of Class
java.lang.String

Packages that use String
java.applet Provides the classes necessary to create an applet and the classes an applet uses to communicate with its applet context. 
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. 
java.awt.color Provides classes for color spaces. 
java.awt.datatransfer Provides interfaces and classes for transferring data between and within applications. 
java.awt.event Provides interfaces and classes for dealing with different types of events fired by AWT components. 
java.awt.image Provides classes for creating and modifying images. 
java.beans Contains classes for run-time Java Beans support. 
java.io   
java.lang   
java.lang.reflect   
java.math Provides classes for performing arbitrary-precision integer arithmetic (BigInteger) and arbitrary-precision decimal arithmetic (BigDecimal). 
java.net   
java.rmi Provides the RMI package. 
java.rmi.registry Provides APIs related to the RMI registry. 
java.security   
java.security.acl   
java.security.cert   
java.security.spec   
java.text   
java.util   
java.util.jar   
java.util.zip   
javax.microedition.io The classes for the generic connections. 
javax.microedition.xlet Provides interfaces used by applications and the application manager to communicate. 
javax.microedition.xlet.ixc Provides facilities for inter-Xlet communication (IXC). 
 

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
protected  String Font.name
          The logical name of this Font, as passed to the constructor.
static String BorderLayout.NORTH
          The north layout constraint (top of container).
static String BorderLayout.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).
 

Methods in java.awt that return String
abstract  String[] GraphicsEnvironment.getAvailableFontFamilyNames()
          Returns an array containing the names of all font families available in this GraphicsEnvironment.
abstract  String[] GraphicsEnvironment.getAvailableFontFamilyNames(Locale l)
          Returns an array containing the localized names of all font families available in this GraphicsEnvironment.
protected  String TextField.paramString()
          Returns the parameter string representing the state of this text field.
abstract  String GraphicsDevice.getIDstring()
          Returns the identification string associated with this GraphicsDevice.
protected  String Scrollbar.paramString()
          Returns the parameter string representing the state of this scroll bar.
 String SystemColor.toString()
          Returns the String representation of this Color's values.
protected  String TextArea.paramString()
          Returns the parameter string representing the state of this text area.
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 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 Window.getWarningString()
          Gets the warning string that is displayed with this window.
 String ScrollPane.paramString()
           
 String Point.toString()
          Returns a string representation of this point and its location in the (xy) coordinate space.
 String MenuShortcut.toString()
          Returns an internationalized description of the MenuShortcut.
protected  String MenuShortcut.paramString()
           
 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 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 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 Rectangle.toString()
          Returns a String representing this Rectangle and its values.
 String GridLayout.toString()
          Returns the string representation of this grid layout's values.
 String GridBagLayout.toString()
          Returns a string representation of this grid bag layout's values.
 String Menu.paramString()
          Gets the parameter string representing the state of this menu.
 String Graphics.toString()
          Returns a String object representing this Graphics object's value.
 String FontMetrics.toString()
          Returns a representation of this FontMetrics object's values as a String.
 String Label.getText()
          Gets the text of this label.
protected  String Label.paramString()
          Returns the parameter string representing the state of this label.
 String FlowLayout.toString()
          Returns a string representation of this FlowLayout object and its values.
 String Frame.getTitle()
          Gets the title of the frame.
protected  String Frame.paramString()
          Returns the parameter String of this Frame.
 String Font.getFamily()
          Returns the family name of this Font.
 String Font.getName()
          Returns the logical name of this Font.
 String Font.toString()
          Converts this Font object to a String representation.
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 Dialog.getTitle()
          Gets the title of the dialog.
protected  String Dialog.paramString()
          Returns the parameter string representing the state of this dialog window.
protected  String Container.paramString()
          Returns the parameter string representing the state of this container.
 String Insets.toString()
          Returns a string representation of this Insets object.
 String Dimension.toString()
          Returns a string representation of the values of this Dimension object's height and width fields.
 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 Color.toString()
          Returns a string representation of this Color.
 String CheckboxMenuItem.paramString()
          Returns the parameter string representing the state of this check box menu item.
 String CardLayout.toString()
          Returns a string representation of the state of this card layout.
 String CheckboxGroup.toString()
          Returns a string representation of this check box group, including the value of its current selection.
 String Component.getName()
          Gets the name of the component.
protected  String Component.paramString()
          Returns a string representing the state of this component.
 String Component.toString()
          Returns a string representation of this component and its values.
 String 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 BorderLayout.toString()
          Returns a string representation of the state of this border layout.
 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 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 AWTEvent.toString()
           
 String AWTEvent.paramString()
          Returns a string representing the state of this event.
 

Methods in java.awt with parameters of type String
 void TextArea.insert(String str, int pos)
          Inserts the specified text at the specified position in this text area.
 void TextArea.insertText(String str, int pos)
          Deprecated. As of JDK version 1.1, replaced by insert(String, int).
 void TextArea.append(String str)
          Appends the given text to the text area's current text.
 void TextArea.appendText(String str)
          Deprecated. As of JDK version 1.1, replaced by append(String).
 void TextArea.replaceRange(String str, int start, int end)
          Replaces text between the indicated start and end positions with the specified replacement text.
 void TextArea.replaceText(String str, int start, int end)
          Deprecated. As of JDK version 1.1, replaced by replaceRange(String, int, int).
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.
static String Toolkit.getProperty(String key, String defaultValue)
          Gets a property with the specified key and default.
static String Toolkit.getProperty(String key, String defaultValue)
          Gets a property with the specified key and default.
 void TextComponent.setText(String t)
          Sets the text that is presented by this text component to be the specified text.
 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 MenuComponent.setName(String name)
          Sets the name of the component to the specified string.
 void LayoutManager.addLayoutComponent(String name, Component comp)
          Adds the specified component with the specified name to the layout.
 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 GridLayout.addLayoutComponent(String name, Component comp)
          Adds the specified component with the specified name to the layout.
 void GridBagLayout.addLayoutComponent(String name, Component comp)
          Adds the specified component with the specified name to the layout.
 void Menu.add(String label)
          Adds an item with the specified label to this menu.
 void Menu.insert(String label, int index)
          Inserts a menu item with the specified label into this menu at the specified position.
abstract  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.
 int FontMetrics.stringWidth(String str)
          Returns the total advance width for showing the specified String in this Font.
 void Label.setText(String text)
          Sets the text for this label to the specified text.
 void FlowLayout.addLayoutComponent(String name, Component comp)
          Adds the specified component to the layout.
 void Frame.setTitle(String title)
          Sets the title for this frame to the specified string.
abstract  Object Image.getProperty(String name, ImageObserver observer)
          Gets a property of this image by name.
static Font Font.getFont(String nm)
          Returns a Font object from the system properties list.
static Font Font.decode(String str)
          Returns the Font that the str argument describes.
static Font Font.getFont(String nm, Font font)
          Gets the specified Font from the system properties list.
 void Dialog.setTitle(String title)
          Sets the title of the Dialog.
 Component Container.add(String name, Component comp)
          Adds the specified component to this container.
 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.
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 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 Component.setName(String name)
          Sets the name of the component to the specified string.
 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 BorderLayout.addLayoutComponent(String name, Component comp)
          Deprecated. replaced by addLayoutComponent(Component, Object).
protected  void AWTEventMulticaster.saveInternal(ObjectOutputStream s, String k)
           
protected static void AWTEventMulticaster.save(ObjectOutputStream s, String k, EventListener l)
           
 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 Checkbox.setLabel(String label)
          Sets this check box's label to be the string argument.
 

Constructors in java.awt with parameters of type String
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.
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.
PopupMenu(String label)
          Creates a new popup menu 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.
IllegalComponentStateException(String s)
          Constructs an IllegalComponentStateException with the specified detail message.
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.
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.
Frame(String title, GraphicsConfiguration gc)
          Constructs a new, initially invisible Frame object with the specified title and a GraphicsConfiguration.
Frame(String title)
          Constructs a new, initially invisible Frame object with the specified title.
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.
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.
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.
AWTException(String msg)
          Constructs an instance of AWTException with the specified detail message.
Button(String label)
          Constructs a Button with the specified label.
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.
AWTPermission(String name, String actions)
          Creates a new AWTPermission object with the specified name.
AWTError(String msg)
          Constructs an instance of AWTError with the specified detail message.
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.
 

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
 

Uses of String in java.awt.datatransfer
 

Methods in java.awt.datatransfer that return String
 String Clipboard.getName()
          Returns the name of this clipboard object.
 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.
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
 void DataFlavor.setHumanPresentableName(String humanPresentableName)
          Sets the human presentable name for the data format that this DataFlavor represents.
 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.normalizeMimeTypeParameter(String parameterName, String parameterValue)
          Deprecated.  
protected  String DataFlavor.normalizeMimeType(String mimeType)
          Deprecated.  
 

Constructors in java.awt.datatransfer with parameters of type String
Clipboard(String name)
          Creates a clipboard object.
StringSelection(String data)
          Creates a Transferable capable of transferring the specified String.
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)
          Construct a DataFlavor that represents a MimeType
 

Uses of String in java.awt.event
 

Methods in java.awt.event that return String
 String InvocationEvent.paramString()
          Returns a parameter string identifying this event.
 String WindowEvent.paramString()
          Returns a parameter string identifying this event.
 String TextEvent.paramString()
          Returns a parameter string identifying this text event.
 String PaintEvent.paramString()
           
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.
 String MouseEvent.paramString()
          Returns a parameter string identifying this event.
 String ItemEvent.paramString()
          Returns a parameter string identifying this item event.
 String FocusEvent.paramString()
          Returns a parameter string identifying this event.
 String ComponentEvent.paramString()
          Returns a parameter string identifying this event.
 String ContainerEvent.paramString()
          Returns a parameter string identifying this event.
 String AdjustmentEvent.paramString()
           
 String ActionEvent.getActionCommand()
          Returns the command string associated with this action.
 String ActionEvent.paramString()
          Returns a parameter string identifying this action 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.image
 

Methods in java.awt.image that return String
 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 IndexColorModel.toString()
          Returns the String representation of the contents of this ColorModelobject.
 String ColorModel.toString()
          Returns the String representation of the contents of this ColorModelobject.
 String DirectColorModel.toString()
          Returns a String that represents this DirectColorModel.
 

Methods in java.awt.image with parameters of type String
 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.
 

Uses of String in java.beans
 

Methods in java.beans that return String
 String PropertyChangeEvent.getPropertyName()
          Gets the programmatic name of the property that was changed.
 

Methods in java.beans with parameters of type String
 void PropertyChangeSupport.firePropertyChange(String propertyName, Object oldValue, Object newValue)
          Report a bound property update to any registered listeners.
static Object Beans.instantiate(ClassLoader cls, String beanName)
           Instantiate a JavaBean.
 void VetoableChangeSupport.fireVetoableChange(String propertyName, Object oldValue, Object newValue)
          Report a vetoable property update to any registered listeners.
 

Constructors in java.beans with parameters of type String
PropertyVetoException(String mess, PropertyChangeEvent evt)
          Constructs a PropertyVetoException with a detailed message.
PropertyChangeEvent(Object source, String propertyName, Object oldValue, Object newValue)
          Constructs a new PropertyChangeEvent.
 

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.
 

Methods in java.io that return String
 String WriteAbortedException.getMessage()
          Produce the message and include the message from the nested exception, if there is one.
 String StreamTokenizer.toString()
          Returns the string representation of the current stream token.
 String InputStreamReader.getEncoding()
          Returns the canonical name of the character encoding being used by this stream.
 String FilePermission.getActions()
          Returns the "canonical string representation" of the actions.
 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 BufferedReader.readLine()
          Read a line of text.
 String DataInputStream.readLine()
          Deprecated. This method does not properly convert bytes to characters. As of JDK 1.1, the preferred way to read lines of text is via the BufferedReader.readLine() method. Programs that use the DataInputStream class to read lines can be converted to use the BufferedReader class by replacing code of the form:
     DataInputStream d = new DataInputStream(in);
 
with:
     BufferedReader d
          = new BufferedReader(new InputStreamReader(in));
 
 String DataInputStream.readUTF()
          See the general contract of the readUTF method of DataInput.
static String DataInputStream.readUTF(DataInput in)
          Reads from the stream in a representation of a Unicode character string encoded in Java modified UTF-8 format; this string of characters is then returned as a String.
 String InvalidClassException.getMessage()
          Produce the message and include the classname, if present.
 String ObjectStreamClass.getName()
          The name of the class described by this descriptor.
 String ObjectStreamClass.toString()
          Return a string describing this ObjectStreamClass.
 String DataInput.readLine()
          Reads the next line of text from the input stream.
 String DataInput.readUTF()
          Reads in a string that has been encoded using a modified UTF-8 format.
 String ObjectInputStream.readLine()
          Deprecated. This method does not properly convert bytes to characters. see DataInputStream for the details and alternatives.
 String ObjectInputStream.readUTF()
          Reads a UTF format String.
 String File.getName()
          Returns the name of the file or directory denoted by this abstract pathname.
 String File.getParent()
          Returns the pathname string of this abstract pathname's parent, or null if this pathname does not name a parent directory.
 String File.getPath()
          Converts this abstract pathname into a pathname string.
 String File.getAbsolutePath()
          Returns the absolute pathname string of this abstract pathname.
 String File.getCanonicalPath()
          Returns the canonical pathname string of this abstract pathname.
 String[] File.list()
          Returns an array of strings naming the files and directories in the directory denoted by this abstract pathname.
 String[] File.list(FilenameFilter filter)
          Returns an array of strings naming the files and directories in the directory denoted by this abstract pathname that satisfy the specified filter.
 String File.toString()
          Returns the pathname string of this abstract pathname.
 String OutputStreamWriter.getEncoding()
          Returns the canonical name of the character encoding being used by this stream.
 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 StringWriter.toString()
          Return the buffer's current value as 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 LineNumberReader.readLine()
          Read a line of text.
 String CharArrayWriter.toString()
          Converts input data to a string.
 

Methods in java.io with parameters of type String
 String ByteArrayOutputStream.toString(String enc)
          Converts the buffer's contents into a string, translating bytes into characters according to the specified character encoding.
 void DataOutputStream.writeBytes(String s)
          Writes out the string to the underlying output stream as a sequence of bytes.
 void DataOutputStream.writeChars(String s)
          Writes a string to the underlying output stream as a sequence of characters.
 void DataOutputStream.writeUTF(String str)
          Writes a string to the underlying output stream using UTF-8 encoding in a machine-independent manner.
 ObjectStreamField ObjectStreamClass.getField(String name)
          Get the field of this class by name.
 boolean FilenameFilter.accept(File dir, String name)
          Tests if a specified file should be included in a file list.
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.
 void DataOutput.writeBytes(String s)
          Writes a string to the output stream.
 void DataOutput.writeChars(String s)
          Writes every character in the string s, to the output stream, in order, two bytes per character.
 void DataOutput.writeUTF(String str)
          Writes two bytes of length information to the output stream, followed by the Java modified UTF representation of every character in the string s.
 void ObjectOutputStream.writeBytes(String 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.
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, 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.
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 OutputStreamWriter.write(String str, int off, int len)
          Write a portion of a string.
 void BufferedWriter.write(String s, int off, int len)
          Write a portion of a String.
 void Writer.write(String str)
          Write a string.
 void Writer.write(String str, int off, int len)
          Write a portion of a string.
 void PrintWriter.write(String s, int off, int len)
          Write a portion of a string.
 void PrintWriter.write(String s)
          Write a string.
 void PrintWriter.print(String s)
          Print a string.
 void PrintWriter.println(String x)
          Print a String and then terminate the line.
 void PrintStream.print(String s)
          Print a string.
 void PrintStream.println(String x)
          Print a String and then terminate the line.
 void StringWriter.write(String str)
          Write a string.
 void StringWriter.write(String str, int off, int len)
          Write a portion of a string.
 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.
 void FilterWriter.write(String str, int off, int len)
          Write a portion of a string.
 void CharArrayWriter.write(String str, int off, int len)
          Write a portion of a string to the buffer.
 

Constructors in java.io with parameters of type String
WriteAbortedException(String s, Exception ex)
          Thrown during a read operation when one of the ObjectStreamExceptions was thrown during a write operation.
UTFDataFormatException(String s)
          Constructs a UTFDataFormatException with the specified detail message.
NotSerializableException(String classname)
          Constructs a NotSerializableException object with message string.
InterruptedIOException(String s)
          Constructs an InterruptedIOException with the specified 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.
InputStreamReader(InputStream in, String enc)
          Create an InputStreamReader that uses the named character encoding.
FileReader(String fileName)
          Creates a new FileReader, given the name of the file to read from.
FilePermission(String path, String actions)
          Creates a new FilePermission object with the specified actions.
FilePermission(String path, String actions)
          Creates a new FilePermission object with the specified actions.
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.
FileNotFoundException(String s)
          Constructs a FileNotFoundException with the specified detail 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.
EOFException(String s)
          Constructs an EOFException with the specified detail message.
SyncFailedException(String desc)
          Constructs an SyncFailedException with a detail message.
InvalidObjectException(String reason)
          Constructs an InvalidObjectException.
NotActiveException(String reason)
          Constructor to create a new NotActiveException with the reason given.
StreamCorruptedException(String reason)
          Create a StreamCorruptedException and list a reason why thrown.
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.
SerializablePermission(String name, String actions)
          Creates a new SerializablePermission object with the specified name.
InvalidClassException(String reason)
          Report a InvalidClassException for the reason specified.
InvalidClassException(String cname, String reason)
          Constructs an InvalidClassException object.
InvalidClassException(String cname, String reason)
          Constructs an InvalidClassException object.
ObjectStreamException(String classname)
          Create an ObjectStreamException with the specified argument.
CharConversionException(String s)
          This provides a detailed message.
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(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.
OutputStreamWriter(OutputStream out, String enc)
          Create an OutputStreamWriter that uses the named character encoding.
UnsupportedEncodingException(String s)
          Constructs an UnsupportedEncodingException with a detail message.
ObjectStreamField(String n, Class clazz)
          Create a Serializable field with the specified type.
IOException(String s)
          Constructs an IOException with the specified detail message.
StringReader(String s)
          Create a new string reader.
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(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.
 

Uses of String in java.lang
 

Methods in java.lang that return String
static String System.getProperty(String key)
          Gets the system property indicated by the specified key.
static String System.getProperty(String key, String def)
          Gets the system property indicated by the specified key.
static String System.setProperty(String key, String value)
          Sets the system property indicated by the specified key.
static String System.mapLibraryName(String libname)
          Maps a library name into a platform-specific string representing a native library.
static String Short.toString(short s)
          Returns a new String object representing the specified Short.
 String Short.toString()
          Returns a String object representing this Short's value.
static String 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 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 Double.toString(double d)
          Creates a string representation of the double argument.
 String Double.toString()
          Returns a String representation of this Double 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 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.
 String Boolean.toString()
          Returns a String object representing this Boolean's value.
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 Thread.getName()
          Returns this thread's name.
 String Thread.toString()
          Returns a string representation of this thread, including the thread's name, priority, and thread group.
 String ThreadGroup.getName()
          Returns the name of this thread group.
 String ThreadGroup.toString()
          Returns a string representation of this Thread group.
 String StringBuffer.substring(int start)
          Returns a new String that contains a subsequence of characters currently contained in this StringBuffer.The substring begins at the specified index and extends to the end of the StringBuffer.
 String StringBuffer.substring(int start, int end)
          Returns a new String that contains a subsequence of characters currently contained in this StringBuffer.
 String StringBuffer.toString()
          Converts to a string representing the data in this string buffer.
 String Package.getName()
          Return the name of this package.
 String Package.getSpecificationTitle()
          Return the title of the specification that this package implements.
 String Package.getSpecificationVersion()
          Returns the version number of the specification that this package implements.
 String Package.getSpecificationVendor()
          Return the name of the organization, vendor, or company that owns and maintains the specification of the classes that implement this package.
 String Package.getImplementationTitle()
          Return the title of this package.
 String Package.getImplementationVersion()
          Return the version of this implementation.
 String Package.getImplementationVendor()
          Returns the name of the organization, vendor or company that provided this implementation.
 String Package.toString()
          Returns the string representation of this Package.
protected  String ClassLoader.findLibrary(String libname)
          Returns the absolute path name of a native library.
 String 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.
 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.
 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 Object.toString()
          Returns a string representation of the object.
 

Methods in java.lang with parameters of type String
static String System.getProperty(String key)
          Gets the system property indicated by the specified key.
static String System.getProperty(String key, String def)
          Gets the system property indicated by the specified key.
static String System.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.setProperty(String key, String value)
          Sets the system property indicated by the specified key.
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 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.
 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 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 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)
          Executes the specified command and arguments in a separate process with the specified environment.
 Process Runtime.exec(String[] cmdarray, String[] envp, File dir)
          Executes the specified command and arguments in a separate process with the specified environment and working directory.
 Process Runtime.exec(String[] cmdarray, String[] envp, File dir)
          Executes the specified command and arguments in a separate process with the specified environment and working directory.
 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 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 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.
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 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.
static Boolean Boolean.valueOf(String s)
          Returns a Boolean with a value represented by the specified String.
static boolean Boolean.getBoolean(String name)
          Returns true if and only if the system property named by the argument exists and is equal to the string "true".
static 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.
 void Thread.setName(String name)
          Changes the name of this thread to be equal to the argument name.
 void SecurityManager.checkExec(String cmd)
          Throws a SecurityException if the calling thread is not allowed to create a subprocess.
 void SecurityManager.checkLink(String lib)
          Throws a SecurityException if the calling thread is not allowed to dynamic link the library code specified by the string argument file.
 void SecurityManager.checkRead(String file)
          Throws a SecurityException if the calling thread is not allowed to read the file specified by the string argument.
 void SecurityManager.checkRead(String file, Object context)
          Throws a SecurityException if the specified security context is not allowed to read the file specified by the string argument.
 void SecurityManager.checkWrite(String file)
          Throws a SecurityException if the calling thread is not allowed to write to the file specified by the string argument.
 void SecurityManager.checkDelete(String file)
          Throws a SecurityException if the calling thread is not allowed to delete the specified file.
 void SecurityManager.checkConnect(String host, int port)
          Throws a SecurityException if the calling thread is not allowed to open a socket connection to the specified host and port number.
 void SecurityManager.checkConnect(String host, int port, Object context)
          Throws a SecurityException if the specified security context is not allowed to open a socket connection to the specified host and port number.
 void SecurityManager.checkAccept(String host, int port)
          Throws a SecurityException if the calling thread is not permitted to accept a socket connection from the specified host and port number.
 void SecurityManager.checkPropertyAccess(String key)
          Throws a SecurityException if the calling thread is not allowed to access the system property with the specified key name.
 void SecurityManager.checkPackageAccess(String pkg)
          Throws a SecurityException if the calling thread is not allowed to access the package specified by the argument.
 void SecurityManager.checkPackageDefinition(String pkg)
          Throws a SecurityException if the calling thread is not allowed to define classes in the package specified by the argument.
 void SecurityManager.checkSecurityAccess(String target)
          Determines whether the permission with the specified permission target name should be granted or denied.
 StringBuffer StringBuffer.append(String str)
          Appends the string to this string buffer.
 StringBuffer StringBuffer.replace(int start, int end, String str)
          Replaces the characters in a substring of this StringBuffer with characters in the specified String.
 StringBuffer StringBuffer.insert(int offset, String str)
          Inserts the string into this string buffer.
 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.
 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.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.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.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.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.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.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.
 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 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 boolean Compiler.compileClasses(String string)
          Compiles all classes whose name matches the specified string.
 

Constructors in java.lang with parameters of type String
VerifyError(String s)
          Constructs an VerifyError with the specified detail message.
UnsupportedOperationException(String message)
          Constructs an UnsupportedOperationException with the specified detail message.
UnsupportedClassVersionError(String s)
          Constructs a UnsupportedClassVersionError with the specified detail message.
UnsatisfiedLinkError(String s)
          Constructs an UnsatisfiedLinkError with the specified detail message.
StringIndexOutOfBoundsException(String s)
          Constructs a StringIndexOutOfBoundsException with the specified detail message.
StackOverflowError(String s)
          Constructs a StackOverflowError with the specified detail message.
Short(String s)
          Constructs a Short object initialized to the value specified by the String parameter.
OutOfMemoryError(String s)
          Constructs an OutOfMemoryError with the specified detail message.
NullPointerException(String s)
          Constructs a NullPointerException with the specified detail message.
NoSuchMethodError(String s)
          Constructs a NoSuchMethodError with the specified detail message.
NoSuchFieldError(String s)
          Constructs a NoSuchFieldException with the specified detail message.
NoClassDefFoundError(String s)
          Constructs a NoClassDefFoundError with the specified detail message.
NegativeArraySizeException(String s)
          Constructs a NegativeArraySizeException 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.
VirtualMachineError(String s)
          Constructs a VirtualMachineError with the specified detail message.
InternalError(String s)
          Constructs an InternalError with the specified detail message.
InstantiationError(String s)
          Constructs an InstantiationError with the specified detail message.
IllegalThreadStateException(String s)
          Constructs an IllegalThreadStateException with the specified detail message.
IllegalMonitorStateException(String s)
          Constructs an IllegalMonitorStateException with the specified detail message.
IllegalStateException(String s)
          Constructs an IllegalStateException with the specified detail message.
IllegalAccessError(String s)
          Constructs an IllegalAccessError with the specified detail message.
Float(String s)
          Constructs a newly allocated Float object that represents the floating-point value of type float represented by the string.
ExceptionInInitializerError(String s)
          Constructs an ExceptionInInitializerError with the specified detail message string.
Double(String s)
          Constructs a newly allocated Double object that represents the floating- point value of type double represented by the string.
ClassCircularityError(String s)
          Constructs a ClassCircularityError with the specified detail message.
ClassCastException(String s)
          Constructs a ClassCastException with the specified detail message.
Character.Subset(String name)
          Constructs a new Subset instance.
Byte(String s)
          Constructs a Byte object initialized to the value specified by the String parameter.
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".
ArrayStoreException(String s)
          Constructs an ArrayStoreException with the specified detail message.
ArrayIndexOutOfBoundsException(String s)
          Constructs an ArrayIndexOutOfBoundsException class with the specified detail message.
IndexOutOfBoundsException(String s)
          Constructs an IndexOutOfBoundsException with the specified detail message.
ArithmeticException(String s)
          Constructs an ArithmeticException with the specified detail message.
IncompatibleClassChangeError(String s)
          Constructs an IncompatibleClassChangeError with the specified detail message.
AbstractMethodError(String s)
          Constructs an AbstractMethodError with the specified detail message.
Integer(String s)
          Constructs a newly allocated Integer object that represents the value represented by the string.
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.
ThreadGroup(String name)
          Constructs a new thread group.
ThreadGroup(ThreadGroup parent, String name)
          Creates a new thread group.
NumberFormatException(String s)
          Constructs a NumberFormatException with the specified detail message.
IllegalArgumentException(String s)
          Constructs an IllegalArgumentException with the specified detail message.
Error(String s)
          Constructs an Error with the specified detail message.
LinkageError(String s)
          Constructs a LinkageError with the specified detail message.
ClassFormatError(String s)
          Constructs a ClassFormatError with the specified detail message.
StringBuffer(String str)
          Constructs a string buffer so that it represents the same sequence of characters as the string argument; in other words, the initial contents of the string buffer is a copy of the argument string.
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.
RuntimePermission(String name, String actions)
          Creates a new RuntimePermission object with the specified name.
NoSuchMethodException(String s)
          Constructs a NoSuchMethodException with a detail message.
NoSuchFieldException(String s)
          Constructor with a detail message.
RuntimeException(String s)
          Constructs a RuntimeException with the specified detail message.
SecurityException(String s)
          Constructs a SecurityException with the specified detail message.
IllegalAccessException(String s)
          Constructs an IllegalAccessException with a detail message.
InstantiationException(String s)
          Constructs an InstantiationException with the specified detail message.
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.
InterruptedException(String s)
          Constructs an InterruptedException with the specified detail message.
String(String value)
          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.
CloneNotSupportedException(String s)
          Constructs a CloneNotSupportedException with the specified detail message.
Throwable(String message)
          Constructs a new Throwable with the specified error message.
Exception(String s)
          Constructs an Exception with the specified detail message.
UnknownError(String s)
          Constructs an UnknownError with the specified detail message.
 

Uses of String in java.lang.reflect
 

Methods in java.lang.reflect that return String
static String Modifier.toString(int mod)
          Return a string describing the access modifier flags in the specified modifier.
 String Constructor.getName()
          Returns the name of this constructor, as a string.
 String Constructor.toString()
          Returns a string describing this Constructor.
 String Method.getName()
          Returns the name of the method represented by this Method object, as a String.
 String Method.toString()
          Returns a string describing this Method.
 String Member.getName()
          Returns the simple name of the underlying member or constructor represented by this Member.
 String Field.getName()
          Returns the name of the field represented by this Field object.
 String Field.toString()
          Returns a string describing this Field.
 

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

Uses of String in java.math
 

Methods in java.math that return String
 String BigDecimal.toString()
          Returns the string representation of this BigDecimal.
 String BigInteger.toString(int radix)
          Returns the String representation of this BigInteger in the given radix.
 String BigInteger.toString()
          Returns the decimal String representation of this BigInteger.
 

Constructors in java.math with parameters of type String
BigDecimal(String val)
          Translates the String representation of a BigDecmal into a BigDecimal.
BigInteger(String val, int radix)
          Translates the String representation of a BigInteger in the specified radix into a BigInteger.
BigInteger(String val)
          Translates the decimal String representation of a BigInteger into a BigInteger.
 

Uses of String in java.net
 

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

Methods in java.net that return String
 String JarURLConnection.getEntryName()
          Return the entry name for this connection.
 String FileNameMap.getContentTypeFor(String fileName)
          Gets the MIME type for the specified file name.
 String SocketPermission.getActions()
          Returns the canonical string representation of the actions.
 String URLConnection.getContentType()
          Returns the value of the content-type header field.
 String URLConnection.getContentEncoding()
          Returns the value of the content-encoding header field.
 String URLConnection.getHeaderField(String name)
          Returns the name of the specified header field.
 String URLConnection.getHeaderFieldKey(int n)
          Returns the key for the nth header field.
 String URLConnection.getHeaderField(int n)
          Returns the value for the nth 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.
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.
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.
 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.
static String URLEncoder.encode(String s)
          Translates a string into x-www-form-urlencoded format.
static String URLDecoder.decode(String s)
          Decodes a "x-www-form-urlencoded" to a String.
 String Socket.toString()
          Converts this socket to a String.
 String SocketImpl.toString()
          Returns the address and port of this socket as a String.
 String ServerSocket.toString()
          Returns the implementation address and implementation port of this socket as a String.
 String HttpURLConnection.getRequestMethod()
          Get the request method.
 String HttpURLConnection.getResponseMessage()
          Gets the HTTP response message, if any, returned along with the response code from a server.
 String PasswordAuthentication.getUserName()
          Returns the user name.
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
protected  Class URLClassLoader.findClass(String name)
          Finds and loads the class with the specified name from the URL search path.
protected  Package URLClassLoader.definePackage(String name, Manifest man, URL url)
          Defines a new package by name in this ClassLoader.
 URL URLClassLoader.findResource(String name)
          Finds the resource with the specified name on the URL search path.
 Enumeration URLClassLoader.findResources(String name)
          Returns an Enumeration of URLs representing all of the resources on the URL search path having the specified name.
 ContentHandler ContentHandlerFactory.createContentHandler(String mimetype)
          Creates a new ContentHandler to read an object from a URLStreamHandler.
 String FileNameMap.getContentTypeFor(String fileName)
          Gets the MIME type for the specified file name.
 URLStreamHandler URLStreamHandlerFactory.createURLStreamHandler(String protocol)
          Creates a new URLStreamHandler instance with the specified protocol.
 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.
 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.
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.
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 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 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 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 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 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 authority, String userInfo, String path, String query, String ref)
          Sets the fields of the URL argument to the indicated values.
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.
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 file, String ref)
          Sets the fields of the URL.
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 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.
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.
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.
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.
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.
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.
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.
static String URLEncoder.encode(String s)
          Translates a string into x-www-form-urlencoded format.
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.
 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 PasswordAuthentication Authenticator.requestPasswordAuthentication(InetAddress addr, int port, String protocol, String prompt, String scheme)
          Ask the authenticator that has been registered with the system for a password.
static PasswordAuthentication Authenticator.requestPasswordAuthentication(InetAddress addr, int port, String protocol, String prompt, String scheme)
          Ask the authenticator that has been registered with the system for a password.
static PasswordAuthentication Authenticator.requestPasswordAuthentication(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
ProtocolException(String host)
          Constructs a new ProtocolException with the specified detail message.
UnknownServiceException(String msg)
          Constructs a new UnknownServiceException with the specified detail message.
UnknownHostException(String host)
          Constructs a new UnknownHostException with the specified detail message.
SocketPermission(String host, String action)
          Creates a new SocketPermission object with the specified actions.
SocketPermission(String host, String action)
          Creates a new SocketPermission object with the specified actions.
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.
NetPermission(String name, String actions)
          Creates a new NetPermission object with the specified name.
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, int port, String file)
          Creates a URL object from the specified protocol, host, port number, and file.
URL(String protocol, String host, int port, String file)
          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, String file)
          Creates a URL from the specified protocol name, host name, and file name.
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 protocol, String host, int port, String file, URLStreamHandler handler)
          Creates a URL object from the specified protocol, host, port number, file, and handler.
URL(String protocol, String host, 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.
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.
NoRouteToHostException(String msg)
          Constructs a new NoRouteToHostException with the specified detail message as to why the remote host cannot be reached.
ConnectException(String msg)
          Constructs a new ConnectException with the specified detail message as to why the connect error occurred.
PasswordAuthentication(String userName, char[] password)
          Creates a new PasswordAuthentication object from the given user name and password.
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.
 

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.
 

Constructors in java.rmi with parameters of type String
UnexpectedException(String s)
          Constructs an UnexpectedException with the specified detail message.
UnexpectedException(String s, Exception ex)
          Constructs a UnexpectedException with the specified detail message and nested exception.
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.
AlreadyBoundException(String s)
          Constructs an AlreadyBoundException with the specified detail message.
AccessException(String s)
          Constructs an AccessException with the specified detail message.
AccessException(String s, Exception ex)
          Constructs an AccessException with the specified detail message and nested exception.
NotBoundException(String s)
          Constructs a NotBoundException with the specified detail message.
 

Uses of String in java.rmi.registry
 

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

Methods in java.rmi.registry with parameters of type String
 Remote Registry.lookup(String name)
          Returns the remote reference bound to the specified name in this registry.
 void Registry.bind(String name, Remote obj)
          Binds a remote reference to the specified name in this registry.
 void Registry.unbind(String name)
          Removes the binding for the specified name in this registry.
 void Registry.rebind(String name, Remote obj)
          Replaces the binding for the specified name in this registry with the supplied remote reference.
 

Uses of String in java.security
 

Methods in java.security that return String
 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.
static String Security.getProperty(String key)
          Gets a security property value.
 String DigestOutputStream.toString()
          Prints a string representation of this digest output stream and its associated message digest object.
 String PrivilegedActionException.toString()
          Returns a string describing this exception, including a description of the exception it wraps.
 String Provider.getName()
          Returns the name of this provider.
 String Provider.getInfo()
          Returns a human-readable description of the provider and its services.
 String Provider.toString()
          Returns a string with the name and the version number of this provider.
 String MessageDigest.toString()
          Returns a string representation of this message digest object.
 String MessageDigest.getAlgorithm()
          Returns a string that identifies the algorithm, independent of implementation details.
 String AllPermission.getActions()
          Returns the canonical string representation of the actions.
 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 PermissionCollection.toString()
          Returns a string describing this PermissionCollection object, providing information about all the permissions it contains.
 String CodeSource.toString()
          Returns a string describing this CodeSource, telling its URL and certificates.
 String ProtectionDomain.toString()
          Convert a ProtectionDomain to a 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 Signer.toString()
          Deprecated. Returns a string of information about the signer.
 String SignedObject.getAlgorithm()
          Retrieves the name of the signature algorithm.
 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 KeyPairGenerator.getAlgorithm()
          Returns the standard name of the algorithm for this key pair generator.
 String KeyFactory.getAlgorithm()
          Gets the name of the algorithm associated with this KeyFactory.
 String DigestInputStream.toString()
          Prints a string representation of this digest input stream and its associated message digest object.
 String AlgorithmParameterGenerator.getAlgorithm()
          Returns the standard name of the algorithm this parameter generator is associated with.
protected abstract  String AlgorithmParametersSpi.engineToString()
          Returns a formatted string describing the parameters.
 String AlgorithmParameters.getAlgorithm()
          Returns the name of the algorithm associated with this parameter object.
 String AlgorithmParameters.toString()
          Returns a formatted string describing the parameters.
 String 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.
abstract  String KeyStoreSpi.engineGetCertificateAlias(Certificate cert)
          Returns the (alias) name of the first keystore entry whose certificate matches the given certificate.
 String Principal.toString()
          Returns a string representation of this principal.
 String Principal.getName()
          Returns the name of this principal.
 String Identity.getName()
          Deprecated. Returns this identity's name.
 String Identity.getInfo()
          Deprecated. Returns general information previously specified for this identity.
 String Identity.toString()
          Deprecated. Returns a short string describing this identity, telling its name and its scope (if any).
 String Identity.toString(boolean detailed)
          Deprecated. Returns a string representation of this identity, with optionally more details than that provided by the toString method without any arguments.
 String IdentityScope.toString()
          Deprecated. Returns a string representation of this identity scope, including its name, its scope name, and the number of identities in this identity scope.
 String 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.
 

Methods in java.security with parameters of type String
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 void Security.setProperty(String key, String datum)
          Sets a security property value.
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 MessageDigest MessageDigest.getInstance(String algorithm)
          Generates a MessageDigest object that implements the specified digest algorithm.
static MessageDigest MessageDigest.getInstance(String algorithm, String provider)
          Generates a MessageDigest object implementing the specified algorithm, as supplied from the specified provider, if such an algorithm is available from the provider.
static MessageDigest MessageDigest.getInstance(String algorithm, 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.
static Signature Signature.getInstance(String algorithm, String provider)
          Generates a Signature object implementing the specified algorithm, as supplied from the specified provider, if such an algorithm is available from the provider.
static KeyPairGenerator KeyPairGenerator.getInstance(String algorithm)
          Generates a KeyPairGenerator object that implements the specified digest algorithm.
static KeyPairGenerator KeyPairGenerator.getInstance(String algorithm, String provider)
          Generates a KeyPairGenerator object implementing the specified algorithm, as supplied from the specified provider, if such an algorithm is available from the provider.
static KeyPairGenerator KeyPairGenerator.getInstance(String algorithm, String provider)
          Generates a KeyPairGenerator object implementing the specified algorithm, as supplied from the specified provider, if such an algorithm is available from the provider.
static 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.
static KeyFactory KeyFactory.getInstance(String algorithm, String provider)
          Generates a KeyFactory object for the specified algorithm from the specified provider.
static SecureRandom SecureRandom.getInstance(String algorithm)
          Generates a SecureRandom object that implements the specified Pseudo Random Number Generator (PRNG) algorithm.
static SecureRandom SecureRandom.getInstance(String algorithm, String provider)
          Generates a SecureRandom object for the specified PRNG algorithm, as supplied from the specified provider, if such a PRNG implementation is available from the provider.
static SecureRandom SecureRandom.getInstance(String algorithm, 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 AlgorithmParameterGenerator AlgorithmParameterGenerator.getInstance(String algorithm)
          Generates an AlgorithmParameterGenerator object that implements the specified digest algorithm.
static AlgorithmParameterGenerator AlgorithmParameterGenerator.getInstance(String algorithm, String provider)
          Generates an AlgorithmParameterGenerator object for the requested algorithm, as supplied from the specified provider, if such a parameter generator is available from the provider.
static AlgorithmParameterGenerator AlgorithmParameterGenerator.getInstance(String algorithm, 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.
protected abstract  void AlgorithmParametersSpi.engineInit(byte[] params, String format)
          Imports the parameters from params and decodes them according to the specified decoding format.
protected abstract  byte[] AlgorithmParametersSpi.engineGetEncoded(String format)
          Returns the parameters encoded in the specified format.
static AlgorithmParameters AlgorithmParameters.getInstance(String algorithm)
          Generates a parameter object for the specified algorithm.
static AlgorithmParameters AlgorithmParameters.getInstance(String algorithm, String provider)
          Generates a parameter object for the specified algorithm, as supplied by the specified provider, if such an algorithm is available from the provider.
static AlgorithmParameters AlgorithmParameters.getInstance(String algorithm, 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.
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.
 void Identity.setInfo(String info)
          Deprecated. Specifies a general information string for this identity.
abstract  Identity IdentityScope.getIdentity(String name)
          Deprecated. Returns the identity in this scope with the specified name (if any).
static KeyStore KeyStore.getInstance(String type)
          Generates a keystore object of the given type.
static KeyStore KeyStore.getInstance(String type, String provider)
          Generates a keystore object for the specified keystore type from the specified provider.
static KeyStore KeyStore.getInstance(String type, 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.
 

Constructors in java.security with parameters of type String
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.
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.
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.
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.
SecurityPermission(String name, String actions)
          Creates a new SecurityPermission object with the specified name.
ProviderException(String s)
          Constructs a ProviderException with the specified detail message.
InvalidParameterException(String msg)
          Constructs an InvalidParameterException with the specified detail message.
DigestException(String msg)
          Constructs a DigestException with the specified detail message.
Provider(String name, double version, String info)
          Constructs a provider with the specified name, version number, and information.
Provider(String name, double version, String info)
          Constructs a provider with the specified name, version number, and information.
MessageDigest(String algorithm)
          Creates a message digest with the specified algorithm name.
AccessControlException(String s)
          Constructs an AccessControlException with the specified, detailed message.
AccessControlException(String s, Permission p)
          Constructs an AccessControlException with the specified, detailed message, and the requested permission that caused the exception.
AllPermission(String name, String actions)
          Creates a new AllPermission object.
AllPermission(String name, String actions)
          Creates a new AllPermission object.
SignatureException(String msg)
          Constructs a SignatureException with the specified detail message.
NoSuchProviderException(String msg)
          Constructs a NoSuchProviderException with the specified detail message.
KeyException(String msg)
          Constructs a KeyException with the specified detail message.
InvalidKeyException(String msg)
          Constructs an InvalidKeyException with the specified detail message.
NoSuchAlgorithmException(String msg)
          Constructs a NoSuchAlgorithmException with the specified detail message.
GeneralSecurityException(String msg)
          Constructs a GeneralSecurityException with the specified detail message.
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.
BasicPermission(String name, String actions)
          Creates a new BasicPermission object with the specified name.
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.
Signature(String algorithm)
          Creates a Signature object for the specified algorithm.
KeyPairGenerator(String algorithm)
          Creates a KeyPairGenerator object for the specified algorithm.
KeyFactory(KeyFactorySpi keyFacSpi, Provider provider, String algorithm)
          Creates a KeyFactory object.
InvalidAlgorithmParameterException(String msg)
          Constructs an InvalidAlgorithmParameterException with the specified detail message.
AlgorithmParameterGenerator(AlgorithmParameterGeneratorSpi paramGenSpi, Provider provider, String algorithm)
          Creates an AlgorithmParameterGenerator object.
AlgorithmParameters(AlgorithmParametersSpi paramSpi, Provider provider, String algorithm)
          Creates an AlgorithmParameters object.
KeyManagementException(String msg)
          Constructs a KeyManagementException 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.
KeyStoreException(String msg)
          Constructs a KeyStoreException with the specified detail message.
Identity(String name, IdentityScope scope)
          Deprecated. Constructs an identity with the specified name and scope.
Identity(String name)
          Deprecated. Constructs an identity with the specified name and no scope.
IdentityScope(String name)
          Deprecated. Constructs a new identity scope with the specified name.
IdentityScope(String name, IdentityScope scope)
          Deprecated. Constructs a new identity scope with the specified name and scope.
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.
 

Uses of String in java.security.acl
 

Methods in java.security.acl that return String
 String Permission.toString()
          Prints a string representation of this permission.
 String AclEntry.toString()
          Returns a string representation of the contents of this ACL entry.
 String Acl.getName()
          Returns the name of this ACL.
 String Acl.toString()
          Returns a string representation of the ACL contents.
 

Methods in java.security.acl with parameters of type String
 void Acl.setName(Principal caller, String name)
          Sets the name of this ACL.
 

Uses of String in java.security.cert
 

Methods in java.security.cert that return String
 String Certificate.getType()
          Returns the type of this certificate.
abstract  String Certificate.toString()
          Returns a string representation of this certificate.
 String CertificateFactory.getType()
          Returns the name of the certificate type associated with this certificate factory.
abstract  String X509Certificate.getSigAlgName()
          Gets the signature algorithm name for the certificate signature algorithm.
abstract  String X509Certificate.getSigAlgOID()
          Gets the signature algorithm OID string from the certificate.
abstract  String X509CRLEntry.toString()
          Returns a string representation of this CRL entry.
 String CRL.getType()
          Returns the type of this CRL.
abstract  String CRL.toString()
          Returns a string representation of this CRL.
abstract  String X509CRL.getSigAlgName()
          Gets the signature algorithm name for the CRL signature algorithm.
abstract  String X509CRL.getSigAlgOID()
          Gets the signature algorithm OID string from the CRL.
 

Methods in java.security.cert with parameters of type String
abstract  void Certificate.verify(PublicKey key, String sigProvider)
          Verifies that this certificate was signed using the private key that corresponds to the specified public key.
static CertificateFactory CertificateFactory.getInstance(String type)
          Generates a certificate factory object that implements the specified certificate type.
static CertificateFactory CertificateFactory.getInstance(String type, String provider)
          Generates a certificate factory object for the specified certificate type from the specified provider.
static CertificateFactory CertificateFactory.getInstance(String type, 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 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.
CertificateEncodingException(String message)
          Constructs a CertificateEncodingException with the specified detail message.
Certificate(String type)
          Creates a certificate of the specified type.
Certificate.CertificateRep(String type, byte[] data)
          Construct the alternate Certificate class with the Certificate type and Certificate encoding bytes.
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.
CRLException(String message)
          Constructs a CRLException with the specified detail message.
CRL(String type)
          Creates a CRL of the specified type.
CertificateParsingException(String message)
          Constructs a CertificateParsingException with the specified detail message.
CertificateNotYetValidException(String message)
          Constructs a CertificateNotYetValidException with the specified detail message.
CertificateExpiredException(String message)
          Constructs a CertificateExpiredException with the specified detail message.
 

Uses of String in java.security.spec
 

Methods in java.security.spec that return String
 String X509EncodedKeySpec.getFormat()
          Returns the name of the encoding format associated with this key specification.
abstract  String EncodedKeySpec.getFormat()
          Returns the name of the encoding format associated with this key specification.
 String PKCS8EncodedKeySpec.getFormat()
          Returns the name of the encoding format associated with this key specification.
 

Constructors in java.security.spec with parameters of type String
InvalidKeySpecException(String msg)
          Constructs an InvalidKeySpecException with the specified detail message.
InvalidParameterSpecException(String msg)
          Constructs an InvalidParameterSpecException with the specified detail message.
 

Uses of String in java.text
 

Methods in java.text that return String
 String SimpleDateFormat.toPattern()
          Return a pattern string describing this date format.
 String SimpleDateFormat.toLocalizedPattern()
          Return a localized pattern string describing this date format.
 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 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[] 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 DateFormat.format(Date date)
          Formats a Date into a date/time string.
 String ChoiceFormat.toPattern()
          Gets the pattern.
 String NumberFormat.format(double number)
          Specialization of format.
 String NumberFormat.format(long number)
          Specialization of format.
 String ParsePosition.toString()
          Return a string representation of this ParsePosition.
 String FieldPosition.toString()
          Return a string representation of this FieldPosition.
 String Format.format(Object obj)
          Formats an object to produce a string.
 String MessageFormat.toPattern()
          Gets the pattern.
static String MessageFormat.format(String pattern, Object[] arguments)
          Convenience routine.
 String CollationKey.getSourceString()
          Returns the String that this CollationKey represents.
 String RuleBasedCollator.getRules()
          Gets the table-based rules for the collation object.
 String AttributedCharacterIterator.Attribute.toString()
          Returns a string representation of the object.
protected  String AttributedCharacterIterator.Attribute.getName()
          Returns the name of the attribute.
 String Annotation.toString()
          Returns the String representation of this Annotation.
 

Methods in java.text with parameters of type 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 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.
 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 DateFormatSymbols.setEras(String[] newEras)
          Sets era strings.
 void DateFormatSymbols.setMonths(String[] newMonths)
          Sets month strings.
 void DateFormatSymbols.setShortMonths(String[] newShortMonths)
          Sets short month strings.
 void DateFormatSymbols.setWeekdays(String[] newWeekdays)
          Sets weekday strings.
 void DateFormatSymbols.setShortWeekdays(String[] newShortWeekdays)
          Sets short weekday strings.
 void DateFormatSymbols.setAmPmStrings(String[] newAmpms)
          Sets ampm strings.
 void DateFormatSymbols.setZoneStrings(String[][] newZoneStrings)
          Sets timezone strings.
 void DateFormatSymbols.setLocalPatternChars(String newLocalPatternChars)
          Sets localized date-time pattern characters.
 Date 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 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.
 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.
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.
 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.
 void StringCharacterIterator.setText(String text)
          Reset this iterator to point to a new string.
abstract  int Collator.compare(String source, String target)
          Compares the source string to the target string according to the collation rules for this Collator.
abstract  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.
 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.
 int RuleBasedCollator.compare(String source, String target)
          Compares the character data stored in two different strings based on the collation rules.
 CollationKey RuleBasedCollator.getCollationKey(String source)
          Transforms the string into a series of characters that can be compared with CollationKey.compareTo.
 void CollationElementIterator.setText(String source)
          Set a new string over which to iterate.
 void BreakIterator.setText(String newText)
          Set a new text string to be scanned.
 

Constructors in java.text with parameters of type String
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.
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.
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.
ParseException(String s, int errorOffset)
          Constructs a ParseException with the specified detail message and offset.
MessageFormat(String pattern)
          Constructs with the specified pattern.
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.
RuleBasedCollator(String rules)
          RuleBasedCollator constructor.
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.
AttributedCharacterIterator.Attribute(String name)
          Constructs an Attribute with the given name.
 

Uses of String in java.util
 

Methods in java.util that return String
 String StringTokenizer.nextToken()
          Returns the next token from this string tokenizer.
 String StringTokenizer.nextToken(String delim)
          Returns the next token in this string tokenizer's string.
 String PropertyPermission.getActions()
          Returns the "canonical string representation" of the actions.
 String BitSet.toString()
          Returns a string representation of this bit set.
 String SimpleTimeZone.toString()
          Return a string representation of this time zone.
 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 Date.toString()
          Converts this Date object to a String of the form:
 String Calendar.toString()
          Return a string representation of this calendar.
 String Properties.getProperty(String key)
          Searches for the property with the specified key in this property list.
 String Properties.getProperty(String key, String defaultValue)
          Searches for the property with the specified key in this property list.
 String ResourceBundle.getString(String key)
          Get an object from a ResourceBundle.
 String[] ResourceBundle.getStringArray(String key)
          Get an object from a ResourceBundle.
 String MissingResourceException.getClassName()
          Gets parameter passed by constructor.
 String MissingResourceException.getKey()
          Gets parameter passed by constructor.
 String AbstractMap.toString()
          Returns a string representation of this map.
 String AbstractCollection.toString()
          Returns a string representation of this collection.
 String Vector.toString()
          Returns a string representation of this Vector, containing the String representation of each element.
 String Hashtable.toString()
          Returns a string representation of this Hashtable object in the form of a set of entries, enclosed in braces and separated by the ASCII characters "" (comma and space).
static String[] Locale.getISOCountries()
          Returns a list of all 2-letter country codes defined in ISO 3166.
static String[] Locale.getISOLanguages()
          Returns a list of all 2-letter language codes defined in ISO 639.
 String Locale.getLanguage()
          Returns the language code for this locale, which will either be the empty string or a lowercase ISO 639 code.
 String Locale.getCountry()
          Returns the country/region code for this locale, which will either be the empty string or an upercase ISO 3166 2-letter code.
 String Locale.getVariant()
          Returns the variant code for this locale.
 String Locale.toString()
          Getter for the programmatic name of the entire locale, with the language, country and variant separated by underbars.
 String Locale.getISO3Language()
          Returns a three-letter abbreviation for this locale's language.
 String Locale.getISO3Country()
          Returns a three-letter abbreviation for this locale's country.
 String Locale.getDisplayLanguage()
          Returns a name for the locale's language that is appropriate for display to the user.
 String Locale.getDisplayLanguage(Locale inLocale)
          Returns a name for the locale's language that is appropriate for display to the user.
 String Locale.getDisplayCountry()
          Returns a name for the locale's country that is appropriate for display to the user.
 String Locale.getDisplayCountry(Locale inLocale)
          Returns a name for the locale's country that is appropriate for display to the user.
 String Locale.getDisplayVariant()
          Returns a name for the locale's variant code that is appropriate for display to the user.
 String Locale.getDisplayVariant(Locale inLocale)
          Returns a name for the locale's variant code that is appropriate for display to the user.
 String Locale.getDisplayName()
          Returns a name for the locale that is appropriate for display to the user.
 String Locale.getDisplayName(Locale inLocale)
          Returns a name for the locale that is appropriate for display to the user.
 String EventObject.toString()
          Returns a String representation of this EventObject.
 

Methods in java.util with parameters of type String
 String StringTokenizer.nextToken(String delim)
          Returns the next token in this string tokenizer's string.
 Object PropertyResourceBundle.handleGetObject(String key)
          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.
 Object Properties.setProperty(String key, String value)
          Calls the hashtable method put.
 Object Properties.setProperty(String key, String value)
          Calls the hashtable method put.
 void Properties.save(OutputStream out, String header)
          Deprecated. This method does not throw an IOException if an I/O error occurs while saving the property list. As of the Java 2 platform v1.2, the preferred way to save a properties list is via the store(OutputStream out, String header) method.
 void Properties.store(OutputStream out, String header)
          Writes this property list (key and element pairs) in this Properties table to the output stream in a format suitable for loading into a Properties table using the load method.
 String Properties.getProperty(String key)
          Searches for the property with the specified key in this property list.
 String Properties.getProperty(String key, String defaultValue)
          Searches for the property with the specified key in this property list.
 String Properties.getProperty(String key, String defaultValue)
          Searches for the property with the specified key in this property list.
 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 ListResourceBundle.handleGetObject(String key)
          Override of ResourceBundle, same semantics
 

Constructors in java.util with parameters of type String
StringTokenizer(String str, String delim, boolean returnDelims)
          Constructs a string tokenizer for the specified string.
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, String delim)
          Constructs a string tokenizer for the specified string.
StringTokenizer(String str)
          Constructs a string tokenizer for the specified string.
PropertyPermission(String name, String actions)
          Creates a new PropertyPermission object with the specified name.
PropertyPermission(String name, String actions)
          Creates a new PropertyPermission object with the specified name.
NoSuchElementException(String s)
          Constructs a NoSuchElementException, saving a reference to the error message string s for later retrieval by the getMessage method.
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.
MissingResourceException(String s, String className, String key)
          Constructs a MissingResourceException with the specified information.
MissingResourceException(String s, String className, String key)
          Constructs a MissingResourceException with the specified information.
Locale(String language, String country, String variant)
          Construct a locale from language, country, variant.
Locale(String language, String country, String variant)
          Construct a locale from language, country, variant.
Locale(String language, String country, String variant)
          Construct a locale from language, country, variant.
Locale(String language, String country)
          Construct a locale from language, country.
Locale(String language, String country)
          Construct a locale from language, country.
TooManyListenersException(String s)
          Constructs a TooManyListenersException with the specified detail message.
 

Uses of String in java.util.jar
 

Fields in java.util.jar declared as String
static String JarFile.MANIFEST_NAME
          The JAR manifest file name.
 

Methods in java.util.jar that return String
 String Attributes.getValue(String name)
          Returns the value of the specified attribute name, specified as a string, or null if the attribute was not found.
 String Attributes.getValue(Attributes.Name name)
          Returns the value of the specified Attributes.Name, or null if the attribute was not found.
 String Attributes.putValue(String name, String value)
          Associates the specified value with the specified attribute name, specified as a String.
 String Attributes.Name.toString()
          Returns the attribute name as a String.
 

Methods in java.util.jar with parameters of type String
protected  ZipEntry JarInputStream.createZipEntry(String name)
          Creates a new JarEntry (ZipEntry) for the specified JAR file entry name.
 JarEntry JarFile.getJarEntry(String name)
          Returns the JarEntry for the given entry name or null if not found.
 ZipEntry JarFile.getEntry(String name)
          Returns the ZipEntry for the given entry name or null if not found.
 String Attributes.getValue(String name)
          Returns the value of the specified attribute name, specified as a string, or null if the attribute was not found.
 String Attributes.putValue(String name, String value)
          Associates the specified value with the specified attribute name, specified as a String.
 String Attributes.putValue(String name, String value)
          Associates the specified value with the specified attribute name, specified as a String.
 Attributes Manifest.getAttributes(String name)
          Returns the Attributes for the specified entry name.
 

Constructors in java.util.jar with parameters of type String
JarException(String s)
          Constructs a JarException with the specified detail message.
JarEntry(String name)
          Creates a new JarEntry for the specified JAR file entry 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.
Attributes.Name(String name)
          Constructs a new attribute name using the given string name.
 

Uses of String in java.util.zip
 

Methods in java.util.zip that return String
 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.
 String ZipFile.getName()
          Returns the path name of the ZIP file.
 

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.
 void ZipEntry.setComment(String comment)
          Sets the optional comment string for the entry.
 ZipEntry ZipFile.getEntry(String name)
          Returns the zip file entry for the specified name, or null if not found.
 void ZipOutputStream.setComment(String comment)
          Sets the ZIP file comment.
 

Constructors in java.util.zip with parameters of type String
DataFormatException(String s)
          Constructs a DataFormatException with the specified detail message.
ZipException(String s)
          Constructs an ZipException with the specified detail message.
ZipEntry(String name)
          Creates a new zip entry with the specified name.
ZipFile(String name)
          Opens a zip file for reading.
 

Uses of String in javax.microedition.io
 

Fields in javax.microedition.io declared as String
static String HttpConnection.HEAD
          HTTP Head method
static String HttpConnection.GET
          HTTP Get method
static String HttpConnection.POST
          HTTP Post method
 

Methods in javax.microedition.io that return String
 String HttpConnection.getURL()
          Return a string representation of the URL for this connection.
 String HttpConnection.getProtocol()
          Returns the protocol name of the URL of this HttpConnection.
 String HttpConnection.getHost()
          Returns the host information of the URL of this HttpConnection.
 String HttpConnection.getFile()
          Returns the file portion of the URL of this HttpConnection.
 String HttpConnection.getRef()
          Returns the ref portion of the URL of this HttpConnection.
 String HttpConnection.getQuery()
          Returns the query portion of the URL of this HttpConnection.
 String HttpConnection.getRequestMethod()
          Get the current request method.
 String HttpConnection.getRequestProperty(String key)
          Returns the value of the named general request property for this connection.
 String HttpConnection.getResponseMessage()
          Gets the HTTP response message, if any, returned along with the response code from a server.
 String HttpConnection.getHeaderField(String name)
          Returns the value of the named header field.
 String HttpConnection.getHeaderField(int n)
          Gets a header field value by index.
 String HttpConnection.getHeaderFieldKey(int n)
          Gets a header field key by index.
 String Datagram.getAddress()
          Get the address in the datagram
 String ContentConnection.getType()
          Returns the type of content that the resource connected to is providing.
 String ContentConnection.getEncoding()
          Returns a string describing the encoding of the content which the resource connected to is providing.
 

Methods in javax.microedition.io with parameters of type String
 void HttpConnection.setRequestMethod(String method)
          Set the method for the URL request, one of: GET POST HEAD are legal, subject to protocol restrictions.
 String HttpConnection.getRequestProperty(String key)
          Returns the value of the named general request property for this connection.
 void HttpConnection.setRequestProperty(String key, String value)
          Sets the general request property.
 void HttpConnection.setRequestProperty(String key, String value)
          Sets the general request property.
 String HttpConnection.getHeaderField(String name)
          Returns the value of the named header field.
 int HttpConnection.getHeaderFieldInt(String name, int def)
          Returns the value of the named field parsed as a number.
 long HttpConnection.getHeaderFieldDate(String name, long def)
          Returns the value of the named field parsed as date.
 Datagram DatagramConnection.newDatagram(int size, String addr)
          Make a new datagram object
 Datagram DatagramConnection.newDatagram(byte[] buf, int size, String addr)
          Make a new datagram object
 void Datagram.setAddress(String addr)
          Set datagram address.
static Connection Connector.open(String name)
          Create and open a Connection
static Connection Connector.open(String name, int mode)
          Create and open a Connection
static Connection Connector.open(String name, int mode, boolean timeouts)
          Create and open a Connection
static DataInputStream Connector.openDataInputStream(String name)
          Create and open a connection input stream
static DataOutputStream Connector.openDataOutputStream(String name)
          Create and open a connection output stream
static InputStream Connector.openInputStream(String name)
          Create and open a connection input stream
static OutputStream Connector.openOutputStream(String name)
          Create and open a connection output stream
 

Constructors in javax.microedition.io with parameters of type String
ConnectionNotFoundException(String s)
          Constructs a ConnectionNotFoundException with the specified detail message.
 

Uses of String in javax.microedition.xlet
 

Fields in javax.microedition.xlet declared as String
static String XletContext.ARGS
          The property key used to obtain initialization arguments for the Xlet.
 

Methods in javax.microedition.xlet with parameters of type String
 Object XletContext.getXletProperty(String key)
          Provides an Xlet with a mechanism to retrieve named properties from the XletContext.
 

Constructors in javax.microedition.xlet with parameters of type String
XletStateChangeException(String s)
          Constructs an exception with the specified detail message.
UnavailableContainerException(String s)
          Constructs an exception with the specified detail message.
 

Uses of String in javax.microedition.xlet.ixc
 

Methods in javax.microedition.xlet.ixc that return String
abstract  String[] IxcRegistry.list()
          Returns an array of the names bound in the registry.
 

Methods in javax.microedition.xlet.ixc with parameters of type String
abstract  Remote IxcRegistry.lookup(String name)
          Returns a reference, a stub, for the remote object associated with the specified name.
abstract  void IxcRegistry.bind(String name, Remote obj)
          Binds the specified name to a remote object.
abstract  void IxcRegistry.unbind(String name)
          Destroys the binding for the specified name that is associated with a remote object.
abstract  void IxcRegistry.rebind(String name, Remote obj)
          Rebinds the specified name to a new remote object.
 

Constructors in javax.microedition.xlet.ixc with parameters of type String
StubException(String s)
          Constructs a StubException with the specified detail message.
StubException(String s, Throwable ex)
          Constructs a StubException with the specified detail message and nested exception.
 


JSR-62 (Final)

Java and Java 2D are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
Copyright 1993 - 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, California 94303, U.S.A. All Rights Reserved.
Use of this specification is subject to this license.