Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| J2ME CDC
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
java.lang.String

Packages that use String
java.io |
java.lang |
java.lang.reflect |
java.math |
java.net |
java.security |
java.security.cert |
java.security.spec |
java.text |
java.text.resources |
java.util |
java.util.jar |
java.util.zip |
javax.microedition.io |

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` | `BufferedReader.readLine()` Read a line of text.
`String` | `LineNumberReader.readLine()` Read a line of text.
`String` | `StreamTokenizer.toString()` Returns the string representation of the current stream token.
`String` | `InvalidClassException.getMessage()` Produce the message and include the classname, if present.
`String` | `FilePermission.getActions()` Returns the "canonical string representation" of the actions.
`String` | `ObjectInputStream.readLine()` Deprecated. This method does not properly convert bytes to characters. see DataInputStream for the details and alternatives.
`String` | `ObjectInputStream.readUTF()` Reads a UTF format String.
`String` | `InputStreamReader.getEncoding()` Returns the canonical name of the character encoding being used by this stream.
`String` | `WriteAbortedException.getMessage()` Produce the message and include the message from the nested exception, if there is one.
`String` | `File.getName()` Returns the name of the file or directory denoted by this abstract pathname.
`String` | `File.getParent()` Returns the pathname string of this abstract pathname's parent, or `null` if this pathname does not name a parent directory.
`String` | `File.getPath()` Converts this abstract pathname into a pathname string.
`String` | `File.getAbsolutePath()` Returns the absolute pathname string of this abstract pathname.
`String` | `File.getCanonicalPath()` Returns the canonical pathname string of this abstract pathname.
`String[]` | `File.list()` Returns an array of strings naming the files and directories in the directory denoted by this abstract pathname.
`String[]` | `File.list(FilenameFilter filter)` Returns an array of strings naming the files and directories in the directory denoted by this abstract pathname that satisfy the specified filter.
`String` | `File.toString()` Returns the pathname string of this abstract pathname.
`String` | `OutputStreamWriter.getEncoding()` Returns the canonical name of the character encoding being used by this stream.
`String` | `DataInput.readLine()` Reads the next line of text from the input stream.
`String` | `DataInput.readUTF()` Reads in a string that has been encoded using a modified UTF-8 format.
`String` | `ObjectStreamClass.getName()` The name of the class described by this descriptor.
`String` | `ObjectStreamClass.toString()` Return a string describing this ObjectStreamClass.
`String` | `ObjectStreamField.getName()` Get the name of this field.
`String` | `ObjectStreamField.getTypeString()` Return the JVM type signature.
`String` | `ObjectStreamField.toString()` Return a string that describes this field.
`String` | `CharArrayWriter.toString()` Converts input data to a string.
`String` | `RandomAccessFile.readLine()` Reads the next line of text from this file.
`String` | `RandomAccessFile.readUTF()` Reads in a string from this file.
`String` | `ByteArrayOutputStream.toString()` Converts the buffer's contents into a string, translating bytes into characters according to the platform's default character encoding.
`String` | `ByteArrayOutputStream.toString(String enc)` Converts the buffer's contents into a string, translating bytes into characters according to the specified character encoding.
> `String` | `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`.

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

Constructors in java.io with parameters of type String
`IOException(String s)` Constructs an `IOException` with the specified detail message.
`ObjectStreamException(String classname)` Create an ObjectStreamException with the specified argument.
`NotSerializableException(String classname)` Constructs a NotSerializableException object with message string.
`FileOutputStream(String name)` Creates an output file stream to write to the file with the specified name.
`FileOutputStream(String name, boolean append)` Creates an output file stream to write to the file with the specified `name`.
`InterruptedIOException(String s)` Constructs an `InterruptedIOException` with the specified detail message.
`StringReader(String s)` Create a new string reader.
`InvalidClassException(String reason)` Report a InvalidClassException for the reason specified.
`InvalidClassException(String cname, String reason)` Constructs an InvalidClassException object.
`FilePermission(String path, String actions)` Creates a new FilePermission object with the specified actions.
`InputStreamReader(InputStream in, String enc)` Create an InputStreamReader that uses the named character encoding.
`WriteAbortedException(String s, Exception ex)` Thrown during a read operation when one of the ObjectStreamExceptions was thrown during a write operation.
`NotActiveException(String reason)` Constructor to create a new NotActiveException with the reason given.
`File(String pathname)` Creates a new `File` instance by converting the given pathname string into an abstract pathname.
`File(String parent, String child)` Creates a new `File` instance from a parent pathname string and a child pathname string.
`File(File parent, String child)` Creates a new `File` instance from a parent abstract pathname and a child pathname string.
`FileReader(String fileName)` Creates a new `FileReader`, given the name of the file to read from.
`OutputStreamWriter(OutputStream out, String enc)` Create an OutputStreamWriter that uses the named character encoding.
`UnsupportedEncodingException(String s)` Constructs an UnsupportedEncodingException with a detail message.
`FileWriter(String fileName)` Constructs a FileWriter object given a file name.
`FileWriter(String fileName, boolean append)` Constructs a FileWriter object given a file name with a boolean indicating whether or not to append the data written.
`InvalidObjectException(String reason)` Constructs an `InvalidObjectException`.
`UTFDataFormatException(String s)` Constructs a `UTFDataFormatException` with the specified detail message.
`ObjectStreamField(String n, Class clazz)` Create a Serializable field with the specified type.
`SyncFailedException(String desc)` Constructs an SyncFailedException with a detail message.
`FileNotFoundException(String s)` Constructs a `FileNotFoundException` with the specified detail message.
`StreamCorruptedException(String reason)` Create a StreamCorruptedException and list a reason why thrown.
`RandomAccessFile(String name, String mode)` Creates a random access file stream to read from, and optionally to write to, a file with the specified name.
`RandomAccessFile(File file, String mode)` Creates a random access file stream to read from, and optionally to write to, the file specified by the `File` argument.
`EOFException(String s)` Constructs an `EOFException` with the specified detail message.
`CharConversionException(String s)` This provides a detailed message.
`FileInputStream(String name)` Creates a `FileInputStream` by opening a connection to an actual file, the file named by the path name `name` in the file system.
`SerializablePermission(String name)` Creates a new SerializablePermission with the specified name.
`SerializablePermission(String name, String actions)` Creates a new SerializablePermission object with the specified name.

Uses of String in java.lang

Methods in java.lang that return String
`String` | `Object.toString()` Returns a string representation of the object.
`String` | `Throwable.getMessage()` Returns the error message string of this throwable object.
`String` | `Throwable.getLocalizedMessage()` Creates a localized description of this `Throwable`.
`String` | `Throwable.toString()` Returns a short description of this throwable object.
`static String` | `Long.toString(long i, int radix)` Creates a string representation of the first argument in the radix specified by the second argument.
`static String` | `Long.toHexString(long i)` Creates a string representation of the long argument as an unsigned integer in base 16.
`static String` | `Long.toOctalString(long i)` Creates a string representation of the long argument as an unsigned integer in base 8.
`static String` | `Long.toBinaryString(long i)` Creates a string representation of the long argument as an unsigned integer in base 2.
`static String` | `Long.toString(long i)` Returns a new String object representing the specified integer.
`String` | `Long.toString()` Returns a String object representing this Long's value.
`static String` | `System.getProperty(String key)` Gets the system property indicated by the specified key.
`static String` | `System.getProperty(String key, String def)` Gets the system property indicated by the specified key.
`static String` | `System.setProperty(String key, String value)` Sets the system property indicated by the specified key.
`static String` | `System.mapLibraryName(String libname)` Maps a library name into a platform-specific string representing a native library.
`String` | `ThreadGroup.getName()` Returns the name of this thread group.
`String` | `ThreadGroup.toString()` Returns a string representation of this Thread group.
`String` | `Thread.getName()` Returns this thread's name.
`String` | `Thread.toString()` Returns a string representation of this thread, including the thread's name, priority, and thread group.
`static String` | `Short.toString(short s)` Returns a new String object representing the specified Short.
`String` | `Short.toString()` Returns a String object representing this Short's value.
`String` | `String.substring(int beginIndex)` Returns a new string that is a substring of this string.
`String` | `String.substring(int beginIndex, int endIndex)` Returns a new string that is a substring of this string.
`String` | `String.concat(String str)` Concatenates the specified string to the end of this string.
`String` | `String.replace(char oldChar, char newChar)` Returns a new string resulting from replacing all occurrences of `oldChar` in this string with `newChar`.
`String` | `String.toLowerCase(Locale locale)` Converts all of the characters in this `String` to lower case using the rules of the given `Locale`.
`String` | `String.toLowerCase()` Converts all of the characters in this `String` to lower case using the rules of the default locale, which is returned by `Locale.getDefault`.
`String` | `String.toUpperCase(Locale locale)` Converts all of the characters in this `String` to upper case using the rules of the given locale.
`String` | `String.toUpperCase()` Converts all of the characters in this `String` to upper case using the rules of the default locale, which is returned by `Locale.getDefault`.
`String` | `String.trim()` Removes white space from both ends of this string.
`String` | `String.toString()` This object (which is already a string!) is itself returned.
`static String` | `String.valueOf(Object obj)` Returns the string representation of the `Object` argument.
`static String` | `String.valueOf(char[] data)` Returns the string representation of the `char` array argument.
`static String` | `String.valueOf(char[] data, int offset, int count)` Returns the string representation of a specific subarray of the `char` array argument.
`static String` | `String.copyValueOf(char[] data, int offset, int count)` Returns a String that is equivalent to the specified character array.
`static String` | `String.copyValueOf(char[] data)` Returns a String that is equivalent to the specified character array.
`static String` | `String.valueOf(boolean b)` Returns the string representation of the `boolean` argument.
`static String` | `String.valueOf(char c)` Returns the string representation of the `char` argument.
`static String` | `String.valueOf(int i)` Returns the string representation of the `int` argument.
`static String` | `String.valueOf(long l)` Returns the string representation of the `long` argument.
`static String` | `String.valueOf(float f)` Returns the string representation of the `float` argument.
`static String` | `String.valueOf(double d)` Returns the string representation of the `double` argument.
`String` | `String.intern()` Returns a canonical representation for the string object.
`static String` | `Float.toString(float f)` Returns a String representation for the specified float value.
`String` | `Float.toString()` Returns a String representation of this Float object.
`String` | `Character.toString()` Returns a String object representing this character's value.
`String` | `Character.Subset.toString()` Returns the name of this subset.
`static String` | `Integer.toString(int i, int radix)` Creates a string representation of the first argument in the radix specified by the second argument.
`static String` | `Integer.toHexString(int i)` Creates a string representation of the integer argument as an unsigned integer in base 16.
`static String` | `Integer.toOctalString(int i)` Creates a string representation of the integer argument as an unsigned integer in base 8.
`static String` | `Integer.toBinaryString(int i)` Creates a string representation of the integer argument as an unsigned integer in base 2.
`static String` | `Integer.toString(int i)` Returns a new String object representing the specified integer.
`String` | `Integer.toString()` Returns a String object representing this Integer's value.
`String` | `StringBuffer.substring(int start)` Returns a new `String` that contains a subsequence of characters currently contained in this `StringBuffer`.The substring begins at the specified index and extends to the end of the `StringBuffer`.
`String` | `StringBuffer.substring(int start, int end)` Returns a new `String` that contains a subsequence of characters currently contained in this `StringBuffer`.
`String` | `StringBuffer.toString()` Converts to a string representing the data in this string buffer.
`String` | `Package.getName()` Return the name of this package.
`String` | `Package.getSpecificationTitle()` Return the title of the specification that this package implements.
`String` | `Package.getSpecificationVersion()` Returns the version number of the specification that this package implements.
`String` | `Package.getSpecificationVendor()` Return the name of the organization, vendor, or company that owns and maintains the specification of the classes that implement this package.
`String` | `Package.getImplementationTitle()` Return the title of this package.
`String` | `Package.getImplementationVersion()` Return the version of this implementation.
`String` | `Package.getImplementationVendor()` Returns the name of the organization, vendor or company that provided this implementation.
`String` | `Package.toString()` Returns the string representation of this Package.
`static String` | `Byte.toString(byte b)` Returns a new String object representing the specified Byte.
`String` | `Byte.toString()` Returns a String object representing this Byte's value.
`protected String` | `ClassLoader.findLibrary(String libname)` Returns the absolute path name of a native library.
`String` | `Class.toString()` Converts the object to a string.
`String` | `Class.getName()` Returns the fully-qualified name of the entity (class, interface, array class, primitive type, or void) represented by this `Class` object, as a `String`.
`static String` | `Double.toString(double d)` Creates a string representation of the `double` argument.
`String` | `Double.toString()` Returns a String representation of this Double object.
`String` | `Boolean.toString()` Returns a String object representing this Boolean's value.

Methods in java.lang with parameters of type String
`static long` | `Long.parseLong(String s, int radix)` Parses the string argument as a signed `long` in the radix specified by the second argument.
`static long` | `Long.parseLong(String s)` Parses the string argument as a signed decimal `long`.
`static Long` | `Long.valueOf(String s, int radix)` Returns a new long object initialized to the value of the specified String.
`static Long` | `Long.valueOf(String s)` Returns a new long object initialized to the value of the specified String.
`static Long` | `Long.decode(String nm)` Decodes a `String` into a `Long`.
`static Long` | `Long.getLong(String nm)` Determines the `long` value of the system property with the specified name.
`static Long` | `Long.getLong(String nm, long val)` Determines the `long` value of the system property with the specified name.
`static Long` | `Long.getLong(String nm, Long val)` Returns the long value of the system property with the specified name.
`static String` | `System.getProperty(String key)` Gets the system property indicated by the specified key.
`static String` | `System.getProperty(String key, String def)` Gets the system property indicated by the specified key.
`static String` | `System.setProperty(String key, String value)` Sets the system property indicated by the specified key.
`static void` | `System.load(String filename)` Loads a code file with the specified filename from the local file system as a dynamic library.
`static void` | `System.loadLibrary(String libname)` Loads the system library specified by the `libname` argument.
`static String` | `System.mapLibraryName(String libname)` Maps a library name into a platform-specific string representing a native library.
`static boolean` | `Compiler.compileClasses(String string)` Compiles all classes whose name matches the specified string.
`void` | `Thread.setName(String name)` Changes the name of this thread to be equal to the argument `name`.
`static short` | `Short.parseShort(String s)` Assuming the specified String represents a short, returns that short's value.
`static short` | `Short.parseShort(String s, int radix)` Assuming the specified String represents a short, returns that short's value.
`static Short` | `Short.valueOf(String s, int radix)` Assuming the specified String represents a short, returns a new Short object initialized to that value.
`static Short` | `Short.valueOf(String s)` Assuming the specified String represents a short, returns a new Short object initialized to that value.
`static Short` | `Short.decode(String nm)` Decodes a `String` into a `Short`.
`byte[]` | `String.getBytes(String enc)` Convert this `String` into bytes according to the specified character encoding, storing the result into a new byte array.
`boolean` | `String.equalsIgnoreCase(String anotherString)` Compares this `String` to another `String`, ignoring case considerations.
`int` | `String.compareTo(String anotherString)` Compares two strings lexicographically.
`int` | `String.compareToIgnoreCase(String str)` Compares two strings lexicographically, ignoring case considerations.
`boolean` | `String.regionMatches(int toffset, String other, int ooffset, int len)` Tests if two string regions are equal.
`boolean` | `String.regionMatches(boolean ignoreCase, int toffset, String other, int ooffset, int len)` Tests if two string regions are equal.
`boolean` | `String.startsWith(String prefix, int toffset)` Tests if this string starts with the specified prefix beginning a specified index.
`boolean` | `String.startsWith(String prefix)` Tests if this string starts with the specified prefix.
`boolean` | `String.endsWith(String suffix)` Tests if this string ends with the specified suffix.
`int` | `String.indexOf(String str)` Returns the index within this string of the first occurrence of the specified substring.
`int` | `String.indexOf(String str, int fromIndex)` Returns the index within this string of the first occurrence of the specified substring, starting at the specified index.
`int` | `String.lastIndexOf(String str)` Returns the index within this string of the rightmost occurrence of the specified substring.
`int` | `String.lastIndexOf(String str, int fromIndex)` Returns the index within this string of the last occurrence of the specified substring.
`String` | `String.concat(String str)` Concatenates the specified string to the end of this string.
`static Float` | `Float.valueOf(String s)` Returns the floating point value represented by the specified String.
`static float` | `Float.parseFloat(String s)` Returns a new float initialized to the value represented by the specified `String`, as performed by the `valueOf` method of class `Double`.
`void` | `SecurityManager.checkExec(String cmd)` Throws a `SecurityException` if the calling thread is not allowed to create a subprocess.
`void` | `SecurityManager.checkLink(String lib)` Throws a `SecurityException` if the calling thread is not allowed to dynamic link the library code specified by the string argument file.
`void` | `SecurityManager.checkRead(String file)` Throws a `SecurityException` if the calling thread is not allowed to read the file specified by the string argument.
`void` | `SecurityManager.checkRead(String file, Object context)` Throws a `SecurityException` if the specified security context is not allowed to read the file specified by the string argument.
`void` | `SecurityManager.checkWrite(String file)` Throws a `SecurityException` if the calling thread is not allowed to write to the file specified by the string argument.
`void` | `SecurityManager.checkDelete(String file)` Throws a `SecurityException` if the calling thread is not allowed to delete the specified file.
`void` | `SecurityManager.checkConnect(String host, int port)` Throws a `SecurityException` if the calling thread is not allowed to open a socket connection to the specified host and port number.
`void` | `SecurityManager.checkConnect(String host, int port, Object context)` Throws a `SecurityException` if the specified security context is not allowed to open a socket connection to the specified host and port number.
`void` | `SecurityManager.checkAccept(String host, int port)` Throws a `SecurityException` if the calling thread is not permitted to accept a socket connection from the specified host and port number.
`void` | `SecurityManager.checkPropertyAccess(String key)` Throws a `SecurityException` if the calling thread is not allowed to access the system property with the specified `key` name.
`void` | `SecurityManager.checkPackageAccess(String pkg)` Throws a `SecurityException` if the calling thread is not allowed to access the package specified by the argument.
`void` | `SecurityManager.checkPackageDefinition(String pkg)` Throws a `SecurityException` if the calling thread is not allowed to define classes in the package specified by the argument.
`void` | `SecurityManager.checkSecurityAccess(String target)` Determines whether the permission with the specified permission target name should be granted or denied.
`static int` | `Integer.parseInt(String s, int radix)` Parses the string argument as a signed integer in the radix specified by the second argument.
`static int` | `Integer.parseInt(String s)` Parses the string argument as a signed decimal integer.
`static Integer` | `Integer.valueOf(String s, int radix)` Returns a new Integer object initialized to the value of the specified String.
`static Integer` | `Integer.valueOf(String s)` Returns a new Integer object initialized to the value of the specified String.
`static Integer` | `Integer.getInteger(String nm)` Determines the integer value of the system property with the specified name.
`static Integer` | `Integer.getInteger(String nm, int val)` Determines the integer value of the system property with the specified name.
`static Integer` | `Integer.getInteger(String nm, Integer val)` Returns the integer value of the system property with the specified name.
`static Integer` | `Integer.decode(String nm)` Decodes a `String` into an `Integer`.
`StringBuffer` | `StringBuffer.append(String str)` Appends the string to this string buffer.
`StringBuffer` | `StringBuffer.replace(int start, int end, String str)` Replaces the characters in a substring of this `StringBuffer` with characters in the specified `String`.
`StringBuffer` | `StringBuffer.insert(int offset, String str)` Inserts the string into this string buffer.
`boolean` | `Package.isCompatibleWith(String desired)` Compare this package's specification version with a desired version.
`static Package` | `Package.getPackage(String name)` Find a package by name in the callers classloader.
`Process` | `Runtime.exec(String command)` Executes the specified string command in a separate process.
`Process` | `Runtime.exec(String cmd, String[] envp)` Executes the specified string command in a separate process with the specified environment.
`Process` | `Runtime.exec(String command, String[] envp, File dir)` Executes the specified string command in a separate process with the specified environment and working directory.
`Process` | `Runtime.exec(String[] cmdarray)` Executes the specified command and arguments in a separate process.
`Process` | `Runtime.exec(String[] cmdarray, String[] envp)` Executes the specified command and arguments in a separate process with the specified environment.
`Process` | `Runtime.exec(String[] cmdarray, String[] envp, File dir)` Executes the specified command and arguments in a separate process with the specified environment and working directory.
`void` | `Runtime.load(String filename)` Loads the specified filename as a dynamic library.
`void` | `Runtime.loadLibrary(String libname)` Loads the dynamic library with the specified library name.
`static byte` | `Byte.parseByte(String s)` Assuming the specified String represents a byte, returns that byte's value.
`static byte` | `Byte.parseByte(String s, int radix)` Assuming the specified String represents a byte, returns that byte's value.
`static Byte` | `Byte.valueOf(String s, int radix)` Assuming the specified String represents a byte, returns a new Byte object initialized to that value.
`static Byte` | `Byte.valueOf(String s)` Assuming the specified String represents a byte, returns a new Byte object initialized to that value.
`static Byte` | `Byte.decode(String nm)` Decodes a `String` into a `Byte`.
`Class` | `ClassLoader.loadClass(String name)` Loads the class with the specified name.
`protected Class` | `ClassLoader.loadClass(String name, boolean resolve)` Loads the class with the specified name.
`protected Class` | `ClassLoader.findClass(String name)` Finds the specified class.
`protected Class` | `ClassLoader.defineClass(String name, byte[] b, int off, int len)` Converts an array of bytes into an instance of class `Class`.
`protected Class` | `ClassLoader.defineClass(String name, byte[] b, int off, int len, ProtectionDomain protectionDomain)` Converts an array of bytes into an instance of class Class, with an optional ProtectionDomain.
`protected Class` | `ClassLoader.findSystemClass(String name)` Finds a class with the specified name, loading it if necessary.
`protected Class` | `ClassLoader.findLoadedClass(String name)` Finds the class with the given name if it had been previously loaded through this class loader.
`URL` | `ClassLoader.getResource(String name)` Finds the resource with the given name.
`Enumeration` | `ClassLoader.getResources(String name)` Finds all the resources with the given name.
`protected Enumeration` | `ClassLoader.findResources(String name)` Returns an Enumeration of URLs representing all the resources with the given name.
`protected URL` | `ClassLoader.findResource(String name)` Finds the resource with the given name.
`static URL` | `ClassLoader.getSystemResource(String name)` Find a resource of the specified name from the search path used to load classes.
`static Enumeration` | `ClassLoader.getSystemResources(String name)` Finds all resources of the specified name from the search path used to load classes.
`InputStream` | `ClassLoader.getResourceAsStream(String name)` Returns an input stream for reading the specified resource.
`static InputStream` | `ClassLoader.getSystemResourceAsStream(String name)` Open for reading, a resource of the specified name from the search path used to load classes.
`protected Package` | `ClassLoader.definePackage(String name, String specTitle, String specVersion, String specVendor, String implTitle, String implVersion, String implVendor, URL sealBase)` Defines a package by name in this ClassLoader.
`protected Package` | `ClassLoader.getPackage(String name)` Returns a Package that has been defined by this class loader or any of its ancestors.
`protected String` | `ClassLoader.findLibrary(String libname)` Returns the absolute path name of a native library.
`static Class` | `Class.forName(String className)` Returns the `Class` object associated with the class or interface with the given string name.
`static Class` | `Class.forName(String name, boolean initialize, ClassLoader loader)` Returns the `Class` object associated with the class or interface with the given string name, using the given class loader.
`Field` | `Class.getField(String name)` Returns a `Field` object that reflects the specified public member field of the class or interface represented by this `Class` object.
`Method` | `Class.getMethod(String name, Class[] parameterTypes)` Returns a `Method` object that reflects the specified public member method of the class or interface represented by this `Class` object.
`Field` | `Class.getDeclaredField(String name)` Returns a `Field` object that reflects the specified declared field of the class or interface represented by this `Class` object.
`Method` | `Class.getDeclaredMethod(String name, Class[] parameterTypes)` Returns a `Method` object that reflects the specified declared method of the class or interface represented by this `Class` object.
`InputStream` | `Class.getResourceAsStream(String name)` Finds a resource with a given name.
`URL` | `Class.getResource(String name)` Finds a resource with a given name.
`static Double` | `Double.valueOf(String s)` Returns a new `Double` object initialized to the value represented by the specified string.
`static double` | `Double.parseDouble(String s)` Returns a new double initialized to the value represented by the specified `String`, as performed by the `valueOf` method of class `Double`.
`static Boolean` | `Boolean.valueOf(String s)` Returns a `Boolean` with a value represented by the specified String.
`static boolean` | `Boolean.getBoolean(String name)` Returns `true` if and only if the system property named by the argument exists and is equal to the string `"true"`.

Constructors in java.lang with parameters of type String
`Throwable(String message)` Constructs a new `Throwable` with the specified error message.
`Exception(String s)` Constructs an `Exception` with the specified detail message.
`Error(String s)` Constructs an Error with the specified detail message.
`LinkageError(String s)` Constructs a `LinkageError` with the specified detail message.
`VerifyError(String s)` Constructs an `VerifyError` with the specified detail message.
`Long(String s)` Constructs a newly allocated `Long` object that represents the value represented by the string in decimal form.
`ThreadGroup(String name)` Constructs a new thread group.
`ThreadGroup(ThreadGroup parent, String name)` Creates a new thread group.
`IncompatibleClassChangeError(String s)` Constructs an `IncompatibleClassChangeError` with the specified detail message.
`IllegalAccessError(String s)` Constructs an `IllegalAccessError` with the specified detail message.
`InstantiationException(String s)` Constructs an `InstantiationException` with the specified detail message.
`RuntimeException(String s)` Constructs a `RuntimeException` with the specified detail message.
`IllegalArgumentException(String s)` Constructs an `IllegalArgumentException` with the specified detail message.
`NumberFormatException(String s)` Constructs a `NumberFormatException` with the specified detail message.
`ClassFormatError(String s)` Constructs a `ClassFormatError` with the specified detail message.
`CloneNotSupportedException(String s)` Constructs a `CloneNotSupportedException` with the specified detail message.
`UnsupportedClassVersionError(String s)` Constructs a `UnsupportedClassVersionError` with the specified detail message.
`IllegalThreadStateException(String s)` Constructs an `IllegalThreadStateException` with the specified detail message.
`Thread(String name)` Allocates a new `Thread` object.
`Thread(ThreadGroup group, String name)` Allocates a new `Thread` object.
`Thread(Runnable target, String name)` Allocates a new `Thread` object.
`Thread(ThreadGroup group, Runnable target, String name)` Allocates a new `Thread` object so that it has `target` as its run object, has the specified `name` as its name, and belongs to the thread group referred to by `group`.
`Short(String s)` Constructs a Short object initialized to the value specified by the String parameter.
`String(String 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.
`Float(String s)` Constructs a newly allocated `Float` object that represents the floating-point value of type `float` represented by the string.
`IllegalStateException(String s)` Constructs an IllegalStateException with the specified detail message.
`Character.Subset(String name)` Constructs a new `Subset` instance.
`NoSuchFieldError(String s)` Constructs a `NoSuchFieldException` with the specified detail message.
`InterruptedException(String s)` Constructs an `InterruptedException` with the specified detail message.
`IndexOutOfBoundsException(String s)` Constructs an `IndexOutOfBoundsException` with the specified detail message.
`ArrayStoreException(String s)` Constructs an `ArrayStoreException` with the specified detail message.
`ExceptionInInitializerError(String s)` Constructs an ExceptionInInitializerError with the specified detail message string.
`RuntimePermission(String name)` Creates a new RuntimePermission with the specified name.
`RuntimePermission(String name, String actions)` Creates a new RuntimePermission object with the specified name.
`SecurityException(String s)` Constructs a `SecurityException` with the specified detail message.
`Integer(String s)` Constructs a newly allocated `Integer` object that represents the value represented by the string.
`ClassCircularityError(String s)` Constructs a `ClassCircularityError` with the specified detail message.
`ArrayIndexOutOfBoundsException(String s)` Constructs an `ArrayIndexOutOfBoundsException` class with the specified detail message.
`VirtualMachineError(String s)` Constructs a `VirtualMachineError` with the specified detail message.
`StringBuffer(String str)` Constructs a string buffer so that it represents the same sequence of characters as the string argument; in other words, the initial contents of the string buffer is a copy of the argument string.
`NullPointerException(String s)` Constructs a `NullPointerException` with the specified detail message.
`StringIndexOutOfBoundsException(String s)` Constructs a `StringIndexOutOfBoundsException` with the specified detail message.
`IllegalAccessException(String s)` Constructs an `IllegalAccessException` with a detail message.
`OutOfMemoryError(String s)` Constructs an `OutOfMemoryError` with the specified detail message.
`Byte(String s)` Constructs a Byte object initialized to the value specified by the String parameter.
`UnsatisfiedLinkError(String s)` Constructs an `UnsatisfiedLinkError` with the specified detail message.
`ArithmeticException(String s)` Constructs an `ArithmeticException` with the specified detail message.
`NoSuchMethodException(String s)` Constructs a `NoSuchMethodException` with a detail message.
`ClassCastException(String s)` Constructs a `ClassCastException` with the specified detail message.
`StackOverflowError(String s)` Constructs a `StackOverflowError` with the specified detail message.
`NoSuchFieldException(String s)` Constructor with a detail message.
`Double(String s)` Constructs a newly allocated `Double` object that represents the floating- point value of type `double` represented by the string.
`NegativeArraySizeException(String s)` Constructs a `NegativeArraySizeException` with the specified detail message.
`ClassNotFoundException(String s)` Constructs a `ClassNotFoundException` with the specified detail message.
`ClassNotFoundException(String s, Throwable ex)` Constructs a `ClassNotFoundException` with the specified detail message and optional exception that was raised while loading the class.
`NoClassDefFoundError(String s)` Constructs a `NoClassDefFoundError` with the specified detail message.
`Boolean(String s)` Allocates a `Boolean` object representing the value `true` if the string argument is not `null` and is equal, ignoring case, to the string `"true"`.
`InstantiationError(String s)` Constructs an `InstantiationError` with the specified detail message.
`IllegalMonitorStateException(String s)` Constructs an `IllegalMonitorStateException` with the specified detail message.
`UnsupportedOperationException(String message)` Constructs an UnsupportedOperationException with the specified detail message.
`InternalError(String s)` Constructs an `InternalError` with the specified detail message.
`NoSuchMethodError(String s)` Constructs a `NoSuchMethodError` with the specified detail message.
`AbstractMethodError(String s)` Constructs an `AbstractMethodError` with the specified detail message.

Uses of String in java.lang.reflect

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

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

Uses of String in java.math

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

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

Uses of String in java.net

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

Methods in java.net that return String
`String` | `FileNameMap.getContentTypeFor(String fileName)` Gets the MIME type for the specified file name.
`String` | `URLConnection.getContentType()` Returns the value of the `content-type` header field.
`String` | `URLConnection.getContentEncoding()` Returns the value of the `content-encoding` header field.
`String` | `URLConnection.getHeaderField(String name)` Returns the name of the specified header field.
`String` | `URLConnection.getHeaderFieldKey(int n)` Returns the key for the `n`th header field.
`String` | `URLConnection.getHeaderField(int n)` Returns the value for the `n`th header field.
`String` | `URLConnection.toString()` Returns a `String` representation of this URL connection.
`String` | `URLConnection.getRequestProperty(String key)` Returns the value of the named general request property for this connection.
`protected static String` | `URLConnection.guessContentTypeFromName(String fname)` Tries to determine the content type of an object, based on the specified "file" component of a URL.
`static String` | `URLConnection.guessContentTypeFromStream(InputStream is)` Tries to determine the type of an input stream based on the characters at the beginning of the input stream.
`String` | `JarURLConnection.getEntryName()` Return the entry name for this connection.
`static String` | `URLDecoder.decode(String s)` Decodes a "x-www-form-urlencoded" to a `String`.
`String` | `PasswordAuthentication.getUserName()` Returns the user name.
`String` | `SocketImpl.toString()` Returns the address and port of this socket as a `String`.
`String` | `Socket.toString()` Converts this socket to a `String`.
`String` | `URL.getQuery()` Returns the query part of this `URL`.
`String` | `URL.getPath()` Returns the path part of this `URL`.
`String` | `URL.getUserInfo()` Returns the userInfo part of this `URL`.
`String` | `URL.getAuthority()` Returns the authority part of this `URL`.
`String` | `URL.getProtocol()` Returns the protocol name of this `URL`.
`String` | `URL.getHost()` Returns the host name of this `URL`, if applicable.
`String` | `URL.getFile()` Returns the file name of this `URL`.
`String` | `URL.getRef()` Returns the anchor (also known as the "reference") of this `URL`.
`String` | `URL.toString()` Constructs a string representation of this `URL`.
`String` | `URL.toExternalForm()` Constructs a string representation of this `URL`.
`String` | `SocketPermission.getActions()` Returns the canonical string representation of the actions.
`String` | `HttpURLConnection.getRequestMethod()` Get the request method.
`String` | `HttpURLConnection.getResponseMessage()` Gets the HTTP response message, if any, returned along with the response code from a server.
`static String` | `URLEncoder.encode(String s)` Translates a string into `x-www-form-urlencoded` format.
`String` | `ServerSocket.toString()` Returns the implementation address and implementation port of this socket as a `String`.
`protected String` | `URLStreamHandler.toExternalForm(URL u)` Converts a `URL` of a specific protocol to a `String`.
`String` | `InetAddress.getHostName()` Gets the host name for this IP address.
`String` | `InetAddress.getHostAddress()` Returns the IP address string "%d.%d.%d.%d".
`String` | `InetAddress.toString()` Converts this IP address to a `String`.
`protected String` | `Authenticator.getRequestingProtocol()` Give the protocol that's requesting the connection.
`protected String` | `Authenticator.getRequestingPrompt()` Gets the prompt string given by the requestor.
`protected String` | `Authenticator.getRequestingScheme()` Gets the scheme of the requestor (the HTTP scheme for an HTTP firewall, for example).

Methods in java.net with parameters of type String
`String` | `FileNameMap.getContentTypeFor(String fileName)` Gets the MIME type for the specified file name.
`protected Class` | `URLClassLoader.findClass(String name)` Finds and loads the class with the specified name from the URL search path.
`protected Package` | `URLClassLoader.definePackage(String name, Manifest man, URL url)` Defines a new package by name in this ClassLoader.
`URL` | `URLClassLoader.findResource(String name)` Finds the resource with the specified name on the URL search path.
`Enumeration` | `URLClassLoader.findResources(String name)` Returns an Enumeration of URLs representing all of the resources on the URL search path having the specified name.
`String` | `URLConnection.getHeaderField(String name)` Returns the name of the specified header field.
`int` | `URLConnection.getHeaderFieldInt(String name, int Default)` Returns the value of the named field parsed as a number.
`long` | `URLConnection.getHeaderFieldDate(String name, long Default)` Returns the value of the named field parsed as date.
`void` | `URLConnection.setRequestProperty(String key, String value)` Sets the general request property.
`String` | `URLConnection.getRequestProperty(String key)` Returns the value of the named general request property for this connection.
`protected static String` | `URLConnection.guessContentTypeFromName(String fname)` Tries to determine the content type of an object, based on the specified "file" component of a URL.
`static String` | `URLDecoder.decode(String s)` Decodes a "x-www-form-urlencoded" to a `String`.
`protected abstract void` | `SocketImpl.connect(String host, int port)` Connects this socket to the specified port on the named host.
`URLStreamHandler` | `URLStreamHandlerFactory.createURLStreamHandler(String protocol)` Creates a new `URLStreamHandler` instance with the specified protocol.
`protected void` | `URL.set(String protocol, String host, int port, String file, String ref)` Sets the fields of the URL.
`protected void` | `URL.set(String protocol, String host, int port, String authority, String userInfo, String path, String query, String ref)` Sets the specified 8 fields of the URL.
`ContentHandler` | `ContentHandlerFactory.createContentHandler(String mimetype)` Creates a new `ContentHandler` to read an object from a `URLStreamHandler`.
`void` | `HttpURLConnection.setRequestMethod(String method)` Set the method for the URL request, one of: GET POST HEAD OPTIONS PUT DELETE TRACE are legal, subject to protocol restrictions.
`long` | `HttpURLConnection.getHeaderFieldDate(String name, long Default)`
`static String` | `URLEncoder.encode(String s)` Translates a string into `x-www-form-urlencoded` format.
`protected void` | `URLStreamHandler.parseURL(URL u, String spec, int start, int limit)` Parses the string representation of a `URL` into a `URL` object.
`protected void` | `URLStreamHandler.setURL(URL u, String protocol, String host, int port, String authority, String userInfo, String path, String query, String ref)` Sets the fields of the `URL` argument to the indicated values.
`static InetAddress` | `InetAddress.getByName(String host)` Determines the IP address of a host, given the host's name.
`static InetAddress[]` | `InetAddress.getAllByName(String host)` Determines all the IP addresses of a host, given the host's name.
`static PasswordAuthentication` | `Authenticator.requestPasswordAuthentication(InetAddress addr, int port, String protocol, String prompt, String scheme)` Ask the authenticator that has been registered with the system for a password.

Constructors in java.net with parameters of type String
`PasswordAuthentication(String userName, char[] password)` Creates a new `PasswordAuthentication` object from the given user name and password.
`Socket(String host, int port)` Creates a stream socket and connects it to the specified port number on the named host.
`Socket(String host, int port, InetAddress localAddr, int localPort)` Creates a socket and connects it to the specified remote host on the specified remote port.
`MalformedURLException(String msg)` Constructs a `MalformedURLException` with the specified detail message.
`URL(String protocol, String host, int port, String file)` Creates a `URL` object from the specified `protocol`, `host`, `port` number, and `file`.
`URL(String protocol, String host, String file)` Creates a URL from the specified `protocol` name, `host` name, and `file` name.
`URL(String protocol, String host, int port, String file, URLStreamHandler handler)` Creates a `URL` object from the specified `protocol`, `host`, `port` number, `file`, and `handler`.
`URL(String spec)` Creates a `URL` object from the `String` representation.
`URL(URL context, String spec)` Creates a URL by parsing the given spec within a specified context.
`URL(URL context, String spec, URLStreamHandler handler)` Creates a URL by parsing the given spec with the specified handler within a specified context.
`NetPermission(String name)` Creates a new NetPermission with the specified name.
`NetPermission(String name, String actions)` Creates a new NetPermission object with the specified name.
`ProtocolException(String host)` Constructs a new `ProtocolException` with the specified detail message.
`SocketPermission(String host, String action)` Creates a new SocketPermission object with the specified actions.
`SocketException(String msg)` Constructs a new `SocketException` with the specified detail message.
`ConnectException(String msg)` Constructs a new ConnectException with the specified detail message as to why the connect error occurred.
`UnknownHostException(String host)` Constructs a new `UnknownHostException` with the specified detail message.
`UnknownServiceException(String msg)` Constructs a new `UnknownServiceException` with the specified detail message.

Uses of String in java.security

Methods in java.security that return String
`String` | `Permission.getName()` Returns the name of this Permission.
`abstract String` | `Permission.getActions()` Returns the actions as a String.
`String` | `Permission.toString()` Returns a string describing this Permission.
`String` | `BasicPermission.getActions()` Returns the canonical string representation of the actions, which currently is the empty string "", since there are no actions for a BasicPermission.
`String` | `KeyFactory.getAlgorithm()` Gets the name of the algorithm associated with this `KeyFactory`.
`String` | `Provider.getName()` Returns the name of this provider.
`String` | `Provider.getInfo()` Returns a human-readable description of the provider and its services.
`String` | `Provider.toString()` Returns a string with the name and the version number of this provider.
`String` | `CodeSource.toString()` Returns a string describing this CodeSource, telling its URL and certificates.
`String` | `UnresolvedPermission.getActions()` Returns the canonical string representation of the actions, which currently is the empty string "", since there are no actions for an UnresolvedPermission.
`String` | `UnresolvedPermission.toString()` Returns a string describing this UnresolvedPermission.
`String` | `Identity.getName()` Deprecated. Returns this identity's name.
`String` | `Identity.getInfo()` Deprecated. Returns general information previously specified for this identity.
`String` | `Identity.toString()` Deprecated. Returns a short string describing this identity, telling its name and its scope (if any).
`String` | `Identity.toString(boolean detailed)` Deprecated. Returns a string representation of this identity, with optionally more details than that provided by the `toString` method without any arguments.
`String` | `Signer.toString()` Deprecated. Returns a string of information about the signer.
`String` | `PrivilegedActionException.toString()` Returns a string describing this exception, including a description of the exception it wraps.
`String` | `Key.getAlgorithm()` Returns the standard algorithm name for this key.
`String` | `Key.getFormat()` Returns the name of the primary encoding format of this key, or null if this key does not support encoding.
`String` | `AllPermission.getActions()` Returns the canonical string representation of the actions.
`String` | `ProtectionDomain.toString()` Convert a ProtectionDomain to a String.
`String` | `Certificate.getFormat()` Deprecated. Returns the name of the coding format.
`String` | `Certificate.toString(boolean detailed)` Deprecated. Returns a string that represents the contents of the certificate.
`String` | `AlgorithmParameters.getAlgorithm()` Returns the name of the algorithm associated with this parameter object.
`String` | `AlgorithmParameters.toString()` Returns a formatted string describing the parameters.
`String` | `AlgorithmParameterGenerator.getAlgorithm()` Returns the standard name of the algorithm this parameter generator is associated with.
`String` | `KeyStore.getType()` Returns the type of this keystore.
`String` | `KeyStore.getCertificateAlias(Certificate cert)` Returns the (alias) name of the first keystore entry whose certificate matches the given certificate.
`static String` | `KeyStore.getDefaultType()` Returns the default keystore type as specified in the Java security properties file, or the string "jks" (acronym for "Java keystore") if no such property exists.
`abstract String` | `KeyStoreSpi.engineGetCertificateAlias(Certificate cert)` Returns the (alias) name of the first keystore entry whose certificate matches the given certificate.
`String` | `PermissionCollection.toString()` Returns a string describing this PermissionCollection object, providing information about all the permissions it contains.
`static String` | `Security.getProperty(String key)` Gets a security property value.
`String` | `MessageDigest.toString()` Returns a string representation of this message digest object.
`String` | `MessageDigest.getAlgorithm()` Returns a string that identifies the algorithm, independent of implementation details.
`String` | `DigestOutputStream.toString()` Prints a string representation of this digest output stream and its associated message digest object.
`String` | `Signature.getAlgorithm()` Returns the name of the algorithm for this signature object.
`String` | `Signature.toString()` Returns a string representation of this signature object, providing information that includes the state of the object and the name of the algorithm used.
`String` | `DigestInputStream.toString()` Prints a string representation of this digest input stream and its associated message digest object.
`String` | `Principal.toString()` Returns a string representation of this principal.
`String` | `Principal.getName()` Returns the name of this principal.
`String` | `IdentityScope.toString()` Deprecated. Returns a string representation of this identity scope, including its name, its scope name, and the number of identities in this identity scope.
`protected abstract String` | `AlgorithmParametersSpi.engineToString()` Returns a formatted string describing the parameters.

Methods in java.security with parameters of type String
`static KeyFactory` | `KeyFactory.getInstance(String algorithm)` Generates a KeyFactory object that implements the specified digest algorithm.
`static KeyFactory` | `KeyFactory.getInstance(String algorithm, String provider)` Generates a KeyFactory object for the specified algorithm from the specified provider.
`void` | `Identity.setInfo(String info)` Deprecated. Specifies a general information string for this identity.
`static 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.
`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 AlgorithmParameters` | `AlgorithmParameters.getInstance(String algorithm)` Generates a parameter object for the specified algorithm.
`static AlgorithmParameters` | `AlgorithmParameters.getInstance(String algorithm, String provider)` Generates a parameter object for the specified algorithm, as supplied by the specified provider, if such an algorithm is available from the provider.
`void` | `AlgorithmParameters.init(byte[] params, String format)` Imports the parameters from `params` and decodes them according to the specified decoding scheme.
`byte[]` | `AlgorithmParameters.getEncoded(String format)` Returns the parameters encoded in the specified scheme.
`static AlgorithmParameterGenerator` | `AlgorithmParameterGenerator.getInstance(String algorithm)` Generates an AlgorithmParameterGenerator object that implements the specified digest algorithm.
`static AlgorithmParameterGenerator` | `AlgorithmParameterGenerator.getInstance(String algorithm, String provider)` Generates an AlgorithmParameterGenerator object for the requested algorithm, as supplied from the specified provider, if such a parameter generator is available from the provider.
`static KeyStore` | `KeyStore.getInstance(String type)` Generates a keystore object of the given type.
`static KeyStore` | `KeyStore.getInstance(String type, String provider)` Generates a keystore object for the specified keystore type from the specified provider.
`Key` | `KeyStore.getKey(String alias, char[] password)` Returns the key associated with the given alias, using the given password to recover it.
`Certificate[]` | `KeyStore.getCertificateChain(String alias)` Returns the certificate chain associated with the given alias.
`Certificate` | `KeyStore.getCertificate(String alias)` Returns the certificate associated with the given alias.
`Date` | `KeyStore.getCreationDate(String alias)` Returns the creation date of the entry identified by the given alias.
`void` | `KeyStore.setKeyEntry(String alias, Key key, char[] password, Certificate[] chain)` Assigns the given key to the given alias, protecting it with the given password.
`void` | `KeyStore.setKeyEntry(String alias, byte[] key, Certificate[] chain)` Assigns the given key (that has already been protected) to the given alias.
`void` | `KeyStore.setCertificateEntry(String alias, Certificate cert)` Assigns the given certificate to the given alias.
`void` | `KeyStore.deleteEntry(String alias)` Deletes the entry identified by the given alias from this keystore.
`boolean` | `KeyStore.containsAlias(String alias)` Checks if the given alias exists in this keystore.
`boolean` | `KeyStore.isKeyEntry(String alias)` Returns true if the entry identified by the given alias is a key entry, and false otherwise.
`boolean` | `KeyStore.isCertificateEntry(String alias)` Returns true if the entry identified by the given alias is a trusted certificate entry, and false otherwise.
`abstract Key` | `KeyStoreSpi.engineGetKey(String alias, char[] password)` Returns the key associated with the given alias, using the given password to recover it.
`abstract Certificate[]` | `KeyStoreSpi.engineGetCertificateChain(String alias)` Returns the certificate chain associated with the given alias.
`abstract Certificate` | `KeyStoreSpi.engineGetCertificate(String alias)` Returns the certificate associated with the given alias.
`abstract Date` | `KeyStoreSpi.engineGetCreationDate(String alias)` Returns the creation date of the entry identified by the given alias.
`abstract void` | `KeyStoreSpi.engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain)` Assigns the given key to the given alias, protecting it with the given password.
`abstract void` | `KeyStoreSpi.engineSetKeyEntry(String alias, byte[] key, Certificate[] chain)` Assigns the given key (that has already been protected) to the given alias.
`abstract void` | `KeyStoreSpi.engineSetCertificateEntry(String alias, Certificate cert)` Assigns the given certificate to the given alias.
`abstract void` | `KeyStoreSpi.engineDeleteEntry(String alias)` Deletes the entry identified by the given alias from this keystore.
`abstract boolean` | `KeyStoreSpi.engineContainsAlias(String alias)` Checks if the given alias exists in this keystore.
`abstract boolean` | `KeyStoreSpi.engineIsKeyEntry(String alias)` Returns true if the entry identified by the given alias is a key entry, and false otherwise.
`abstract boolean` | `KeyStoreSpi.engineIsCertificateEntry(String alias)` Returns true if the entry identified by the given alias is a trusted certificate entry, and false otherwise.
`static void` | `Security.removeProvider(String name)` Removes the provider with the specified name.
`static Provider` | `Security.getProvider(String name)` Returns the provider installed with the specified name, if any.
`static Provider[]` | `Security.getProviders(String filter)` Returns an array containing all installed providers that satisfy the specified selection criterion, or null if no such providers have been installed.
`static String` | `Security.getProperty(String key)` Gets a security property value.
`static void` | `Security.setProperty(String key, String datum)` Sets a security property value.
`static MessageDigest` | `MessageDigest.getInstance(String algorithm)` Generates a MessageDigest object that implements the specified digest algorithm.
`static MessageDigest` | `MessageDigest.getInstance(String algorithm, String provider)` Generates a MessageDigest object implementing the specified algorithm, as supplied from the specified provider, if such an algorithm is available from the provider.
`static Signature` | `Signature.getInstance(String algorithm)` Generates a Signature object that implements the specified digest algorithm.
`static Signature` | `Signature.getInstance(String algorithm, String provider)` Generates a Signature object implementing the specified algorithm, as supplied from the specified provider, if such an algorithm is available from the provider.
`abstract Identity` | `IdentityScope.getIdentity(String name)` Deprecated. Returns the identity in this scope with the specified name (if any).
`protected abstract void` | `AlgorithmParametersSpi.engineInit(byte[] params, String format)` Imports the parameters from `params` and decodes them according to the specified decoding format.
`protected abstract byte[]` | `AlgorithmParametersSpi.engineGetEncoded(String format)` Returns the parameters encoded in the specified format.

Constructors in java.security with parameters of type String
`Permission(String name)` Constructs a permission with the specified name.
`BasicPermission(String name)` Creates a new BasicPermission with the specified name.
`BasicPermission(String name, String actions)` Creates a new BasicPermission object with the specified name.
`SecurityPermission(String name)` Creates a new SecurityPermission with the specified name.
`SecurityPermission(String name, String actions)` Creates a new SecurityPermission object with the specified name.
`KeyFactory(KeyFactorySpi keyFacSpi, Provider provider, String algorithm)` Creates a KeyFactory object.
`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.
`GeneralSecurityException(String msg)` Constructs a GeneralSecurityException with the specified detail message.
`UnrecoverableKeyException(String msg)` Constructs an UnrecoverableKeyException with the specified detail message, which provides more information about why this exception has been thrown.
`Provider(String name, double version, String info)` Constructs a provider with the specified name, version number, and information.
`InvalidParameterException(String msg)` Constructs an InvalidParameterException with the specified detail message.
`UnresolvedPermission(String type, String name, String actions, Certificate[] certs)` Creates a new UnresolvedPermission containing the permission information needed later to actually create a Permission of the specified class, when the permission is resolved.
`Identity(String name, IdentityScope scope)` Deprecated. Constructs an identity with the specified name and scope.
`Identity(String name)` Deprecated. Constructs an identity with the specified name and no scope.
`Signer(String name)` Deprecated. Creates a signer with the specified identity name.
`Signer(String name, IdentityScope scope)` Deprecated. Creates a signer with the specified identity name and scope.
`KeyException(String msg)` Constructs a KeyException with the specified detail message.
`InvalidKeyException(String msg)` Constructs an InvalidKeyException with the specified detail message.
`DigestException(String msg)` Constructs a DigestException with the specified detail message.
`AllPermission(String name, String actions)` Creates a new AllPermission object.
`AlgorithmParameters(AlgorithmParametersSpi paramSpi, Provider provider, String algorithm)` Creates an AlgorithmParameters object.
`KeyStoreException(String msg)` Constructs a KeyStoreException with the specified detail message.
`KeyManagementException(String msg)` Constructs a KeyManagementException with the specified detail message.
`AlgorithmParameterGenerator(AlgorithmParameterGeneratorSpi paramGenSpi, Provider provider, String algorithm)` Creates an AlgorithmParameterGenerator object.
`KeyStore(KeyStoreSpi keyStoreSpi, Provider provider, String type)` Creates a KeyStore object of the given type, and encapsulates the given provider implementation (SPI object) in it.
`NoSuchAlgorithmException(String msg)` Constructs a NoSuchAlgorithmException with the specified detail message.
`SignatureException(String msg)` Constructs a SignatureException with the specified detail message.
`MessageDigest(String algorithm)` Creates a message digest with the specified algorithm name.
`InvalidAlgorithmParameterException(String msg)` Constructs an InvalidAlgorithmParameterException with the specified detail message.
`Signature(String algorithm)` Creates a Signature object for the specified algorithm.
`NoSuchProviderException(String msg)` Constructs a NoSuchProviderException with the specified detail message.
`IdentityScope(String name)` Deprecated. Constructs a new identity scope with the specified name.
`IdentityScope(String name, IdentityScope scope)` Deprecated. Constructs a new identity scope with the specified name and scope.

Uses of String in java.security.cert

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

Methods in java.security.cert with parameters of type String
`static CertificateFactory` | `CertificateFactory.getInstance(String type)` Generates a certificate factory object that implements the specified certificate type.
`static CertificateFactory` | `CertificateFactory.getInstance(String type, String provider)` Generates a certificate factory object for the specified certificate type from the specified provider.
`byte[]` | `X509Extension.getExtensionValue(String oid)` Gets the DER-encoded OCTET string for the extension value (extnValue) identified by the passed-in `oid` String.
`abstract void` | `Certificate.verify(PublicKey key, String sigProvider)` Verifies that this certificate was signed using the private key that corresponds to the specified public key.
`abstract void` | `X509CRL.verify(PublicKey key, String sigProvider)` Verifies that this CRL was signed using the private key that corresponds to the given public key.

Constructors in java.security.cert with parameters of type String
`CertificateException(String msg)` Constructs a certificate exception with the given detail message.
`CertificateParsingException(String message)` Constructs a CertificateParsingException with the specified detail message.
`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.
`CertificateNotYetValidException(String message)` Constructs a CertificateNotYetValidException with the specified detail message.
`CRL(String type)` Creates a CRL of the specified type.
`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.
`CertificateExpiredException(String message)` Constructs a CertificateExpiredException with the specified detail message.
`CertificateEncodingException(String message)` Constructs a CertificateEncodingException with the specified detail message.
`CRLException(String message)` Constructs a CRLException with the specified detail message.

Uses of String in java.security.spec

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

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

Uses of String in java.text

Methods in java.text that return String
`String` | `Format.format(Object obj)` Formats an object to produce a string.
`String` | `NumberFormat.format(double number)` Specialization of format.
`String` | `NumberFormat.format(long number)` Specialization of format.
`String` | `ChoiceFormat.toPattern()` Gets the pattern.
`String` | `ParsePosition.toString()` Return a string representation of this ParsePosition.
`String` | `RuleBasedCollator.getRules()` Gets the table-based rules for the collation object.
`String` | `DateFormat.format(Date date)` Formats a Date into a date/time string.
`String` | `SimpleDateFormat.toPattern()` Return a pattern string describing this date format.
`String` | `SimpleDateFormat.toLocalizedPattern()` Return a localized pattern string describing this date format.
`String` | `FieldPosition.toString()` Return a string representation of this FieldPosition.
`String[]` | `DateFormatSymbols.getEras()` Gets era strings.
`String[]` | `DateFormatSymbols.getMonths()` Gets month strings.
`String[]` | `DateFormatSymbols.getShortMonths()` Gets short month strings.
`String[]` | `DateFormatSymbols.getWeekdays()` Gets weekday strings.
`String[]` | `DateFormatSymbols.getShortWeekdays()` Gets short weekday strings.
`String[]` | `DateFormatSymbols.getAmPmStrings()` Gets ampm strings.
`String[][]` | `DateFormatSymbols.getZoneStrings()` Gets timezone strings.
`String` | `DateFormatSymbols.getLocalPatternChars()` Gets localized date-time pattern characters.
`String` | `DecimalFormat.getPositivePrefix()` Get the positive prefix.
`String` | `DecimalFormat.getNegativePrefix()` Get the negative prefix.
`String` | `DecimalFormat.getPositiveSuffix()` Get the positive suffix.
`String` | `DecimalFormat.getNegativeSuffix()` Get the negative suffix.
`String` | `DecimalFormat.toPattern()` Synthesizes a pattern string that represents the current state of this Format object.
`String` | `DecimalFormat.toLocalizedPattern()` Synthesizes a localized pattern string that represents the current state of this Format object.
`String` | `DecimalFormatSymbols.getInfinity()` Gets the character used to represent infinity.
`String` | `DecimalFormatSymbols.getNaN()` Gets the character used to represent NaN.
`String` | `DecimalFormatSymbols.getCurrencySymbol()` Return the string denoting the local currency.
`String` | `DecimalFormatSymbols.getInternationalCurrencySymbol()` Return the international string denoting the local currency.
`String` | `MessageFormat.toPattern()` Gets the pattern.
`static String` | `MessageFormat.format(String pattern, Object[] arguments)` Convenience routine.

Methods in java.text with parameters of type String
`void` | `CollationElementIterator.setText(String source)` Set a new string over which to iterate.
`abstract Object` | `Format.parseObject(String source, ParsePosition status)` Parses a string to produce an object.
`Object` | `Format.parseObject(String source)` Parses a string to produce an object.
`Object` | `NumberFormat.parseObject(String source, ParsePosition parsePosition)` Parses a string to produce an object.
`abstract Number` | `NumberFormat.parse(String text, ParsePosition parsePosition)` Returns a Long if possible (e.g., within the range [Long.MIN_VALUE, Long.MAX_VALUE] and with no decimals), otherwise a Double.
`Number` | `NumberFormat.parse(String text)` Convenience method.
`void` | `ChoiceFormat.applyPattern(String newPattern)` Sets the pattern.
`void` | `ChoiceFormat.setChoices(double[] limits, String[] formats)` Set the choices to be used in formatting.
`Number` | `ChoiceFormat.parse(String text, ParsePosition status)` Parses a Number from the input text.
`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.
`java.text.CollationKey` | `RuleBasedCollator.getCollationKey(String source)` Transforms the string into a series of characters that can be compared with CollationKey.compareTo.
`Date` | `DateFormat.parse(String text)` Parse a date/time string.
`abstract Date` | `DateFormat.parse(String text, ParsePosition pos)` Parse a date/time string according to the given parse position.
`Object` | `DateFormat.parseObject(String source, ParsePosition pos)` Parse a date/time string into an Object.
`void` | `StringCharacterIterator.setText(String text)` Reset this iterator to point to a new string.
`Date` | `SimpleDateFormat.parse(String text, ParsePosition pos)` Overrides DateFormat
`void` | `SimpleDateFormat.applyPattern(String pattern)` Apply the given unlocalized pattern string to this date format.
`void` | `SimpleDateFormat.applyLocalizedPattern(String pattern)` Apply the given localized pattern string to this date format.
`void` | `DateFormatSymbols.setEras(String[] newEras)` Sets era strings.
`void` | `DateFormatSymbols.setMonths(String[] newMonths)` Sets month strings.
`void` | `DateFormatSymbols.setShortMonths(String[] newShortMonths)` Sets short month strings.
`void` | `DateFormatSymbols.setWeekdays(String[] newWeekdays)` Sets weekday strings.
`void` | `DateFormatSymbols.setShortWeekdays(String[] newShortWeekdays)` Sets short weekday strings.
`void` | `DateFormatSymbols.setAmPmStrings(String[] newAmpms)` Sets ampm strings.
`void` | `DateFormatSymbols.setZoneStrings(String[][] newZoneStrings)` Sets timezone strings.
`void` | `DateFormatSymbols.setLocalPatternChars(String newLocalPatternChars)` Sets localized date-time pattern characters.
`void` | `BreakIterator.setText(String newText)` Set a new text string to be scanned.
`Number` | `DecimalFormat.parse(String text, ParsePosition parsePosition)` Returns an instance of `Number` with a value matching the given string.
`void` | `DecimalFormat.setPositivePrefix(String newValue)` Set the positive prefix.
`void` | `DecimalFormat.setNegativePrefix(String newValue)` Set the negative prefix.
`void` | `DecimalFormat.setPositiveSuffix(String newValue)` Set the positive suffix.
`void` | `DecimalFormat.setNegativeSuffix(String newValue)` Set the positive suffix.
`void` | `DecimalFormat.applyPattern(String pattern)` Apply the given pattern to this Format object.
`void` | `DecimalFormat.applyLocalizedPattern(String pattern)` Apply the given pattern to this Format object.
`void` | `DecimalFormatSymbols.setInfinity(String infinity)` Set the character used to represent infinity.
`void` | `DecimalFormatSymbols.setNaN(String NaN)` Set the character used to represent NaN.
`void` | `DecimalFormatSymbols.setCurrencySymbol(String currency)` Set the string denoting the local currency.
`void` | `DecimalFormatSymbols.setInternationalCurrencySymbol(String currency)` Set the international string denoting the local currency.
`void` | `MessageFormat.applyPattern(String newPattern)` Sets the pattern.
`static String` | `MessageFormat.format(String pattern, Object[] arguments)` Convenience routine.
`Object[]` | `MessageFormat.parse(String source, ParsePosition status)` Parses the string.
`Object[]` | `MessageFormat.parse(String source)` Parses the string.
`Object` | `MessageFormat.parseObject(String text, ParsePosition status)` Parses the string.

Constructors in java.text with parameters of type String
`ChoiceFormat(String newPattern)` Constructs with limits and corresponding formats based on the pattern.
`ChoiceFormat(double[] limits, String[] formats)` Constructs with the limits and the corresponding formats.
`RuleBasedCollator(String rules)` RuleBasedCollator constructor.
`ParseException(String s, int errorOffset)` Constructs a ParseException with the specified detail message and offset.
`StringCharacterIterator(String text)` Constructs an iterator with an initial index of 0.
`StringCharacterIterator(String text, int pos)` Constructs an iterator with the specified initial index.
`StringCharacterIterator(String text, int begin, int end, int pos)` Constructs an iterator over the given range of the given string, with the index set at the specified position.
`SimpleDateFormat(String pattern)` Construct a SimpleDateFormat using the given pattern in the default locale.
`SimpleDateFormat(String pattern, Locale loc)` Construct a SimpleDateFormat using the given pattern and locale.
`SimpleDateFormat(String pattern, DateFormatSymbols formatData)` Construct a SimpleDateFormat using the given pattern and locale-specific symbol data.
`DecimalFormat(String pattern)` Create a DecimalFormat from the given pattern and the symbols for the default locale.
`DecimalFormat(String pattern, DecimalFormatSymbols symbols)` Create a DecimalFormat from the given pattern and symbols.
`MessageFormat(String pattern)` Constructs with the specified pattern.

Uses of String in java.text.resources

Methods in java.text.resources with parameters of type String
`static Locale[]` | `LocaleData.getAvailableLocales(String key)` Returns a list of the installed locales.
`Object` | `DateFormatZoneData.handleGetObject(String key)` Override ResourceBundle.

Uses of String in java.util

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

Methods in java.util with parameters of type String
`Object` | `Properties.setProperty(String key, String value)` Calls the hashtable method `put`.
`void` | `Properties.store(OutputStream out, String header)` Writes this property list (key and element pairs) in this `Properties` table to the output stream in a format suitable for loading into a `Properties` table using the `load` method.
`String` | `Properties.getProperty(String key)` Searches for the property with the specified key in this property list.
`String` | `Properties.getProperty(String key, String defaultValue)` Searches for the property with the specified key in this property list.
`String` | `ResourceBundle.getString(String key)` 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
`Object` | `PropertyResourceBundle.handleGetObject(String key)` Override of ResourceBundle, same semantics
`void` | `TimeZone.setID(String ID)` Sets the time zone ID.
`static TimeZone` | `TimeZone.getTimeZone(String ID)` Gets the `TimeZone` for the given ID.
`String` | `StringTokenizer.nextToken(String delim)` Returns the next token in this string tokenizer's string.

Constructors in java.util with parameters of type String
`NoSuchElementException(String s)` Constructs a `NoSuchElementException`, saving a reference to the error message string `s` for later retrieval by the `getMessage` method.
`TooManyListenersException(String s)` Constructs a TooManyListenersException with the specified detail message.
`PropertyPermission(String name, String actions)` Creates a new PropertyPermission object with the specified name.
`ConcurrentModificationException(String message)` Constructs a `ConcurrentModificationException` with the specified detail message.
`SimpleTimeZone(int rawOffset, String ID)` Constructs a SimpleTimeZone with the given base time zone offset from GMT and time zone ID.
`SimpleTimeZone(int rawOffset, String ID, int startMonth, int startDay, int startDayOfWeek, int startTime, int endMonth, int endDay, int endDayOfWeek, int endTime)` Construct a SimpleTimeZone with the given base time zone offset from GMT, time zone ID, time to start and end the daylight time.
`SimpleTimeZone(int rawOffset, String ID, int startMonth, int startDay, int startDayOfWeek, int startTime, int endMonth, int endDay, int endDayOfWeek, int endTime, int dstSavings)` Constructor.
`MissingResourceException(String s, String className, String key)` Constructs a MissingResourceException with the specified information.
`StringTokenizer(String str, String delim, boolean returnDelims)` Constructs a string tokenizer for the specified string.
`StringTokenizer(String str, String delim)` Constructs a string tokenizer for the specified string.
`StringTokenizer(String str)` Constructs a string tokenizer for the specified string.
`Locale(String language, String country, String variant)` Construct a locale from language, country, variant.
`Locale(String language, String country)` Construct a locale from language, country.

Uses of String in java.util.jar

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

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

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

Constructors in java.util.jar with parameters of type String
`Attributes.Name(String name)` Constructs a new attribute name using the given string name.
`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`.

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
`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.
`DataFormatException(String s)` Constructs a DataFormatException with the specified detail message.

Uses of String in javax.microedition.io

Methods in javax.microedition.io that return String
`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.
`String` | `DirectoryConnection.getItemName()` Return the number of the current record

Methods in javax.microedition.io with parameters of type String
`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
`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.
`Connection` | `ConnectionBaseInterface.openPrim(String name, int mode, boolean timeouts)`
`boolean` | `DirectoryConnection.selectItem(String name)` Select an item in the collection
`void` | `DirectoryConnection.create(String name)` Create a data item with the supplied name and select it
`void` | `DirectoryConnection.createDirectory(String name)` Create a directory with the supplied name
`void` | `DirectoryConnection.rename(String newName)` Rename the current data item
`void` | `DirectoryConnection.renameDirectory(String to)` Rename a directory with the supplied name

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| J2ME CDC
PREV NEXT | FRAMES NO FRAMES

Java is a trademark or registred trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road,
Palo, Alto, California, 94303, U.S.A All Rights Reserved.