Package | Description |
---|---|
java.io |
Contains Input/Output streams communication classes.
|
java.lang |
Contains core language classes.
|
java.lang.annotation |
Contains core language classes related to compile-time annotations.
|
java.security |
Contains core language classes related to permission management.
|
java.util |
Contains utility classes including the collections framework and date manipulation.
|
Modifier and Type | Method and Description |
---|---|
String |
InputStreamReader.getEncoding()
Returns the name of the character encoding being used by this stream.
|
String |
OutputStreamWriter.getEncoding()
Returns the name of the character encoding being used by this stream.
|
String |
DataInput.readUTF()
Reads in a string that has been encoded using a modified UTF-8
format.
|
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
modified UTF-8 format; this string of characters is
then returned as a String . |
String |
ByteArrayOutputStream.toString()
Converts the buffer's contents into a string decoding bytes using the platform's default
character set.
|
Modifier and Type | Method and Description |
---|---|
void |
PrintStream.print(String s)
Prints a string.
|
void |
PrintStream.println(String x)
Prints a String and then terminate the line.
|
void |
Writer.write(String str)
Writes a string.
|
void |
OutputStreamWriter.write(String str,
int off,
int len)
Writes a portion of a string.
|
void |
Writer.write(String str,
int off,
int len)
Writes a portion of a string.
|
void |
DataOutput.writeChars(String s)
Writes every character in the string
s , to the output stream, in order, two bytes
per character. |
void |
DataOutputStream.writeChars(String s)
Writes a string to the underlying output stream as a sequence of characters.
|
void |
DataOutput.writeUTF(String s)
Writes two bytes of length information to the output stream, followed by the
modified UTF-8 representation of every character in
the string
s . |
void |
DataOutputStream.writeUTF(String str)
Writes a string to the underlying output stream using
modified UTF-8 encoding in a machine-independent
manner.
|
Constructor and Description |
---|
EOFException(String s)
Constructs an
EOFException with the specified detail message. |
InputStreamReader(InputStream in,
String charsetName)
Creates an InputStreamReader that uses the named charset.
|
InterruptedIOException(String s)
Constructs an
InterruptedIOException with the specified detail message. |
IOException(String message)
Constructs an
IOException with the specified detail message. |
IOException(String message,
Throwable cause)
Constructs an
IOException with the specified detail message and cause. |
OutputStreamWriter(OutputStream out,
String charsetName)
Creates an OutputStreamWriter that uses the named charset.
|
PrintStream(OutputStream out,
boolean autoFlush,
String encoding)
Creates a new print stream.
|
UnsupportedEncodingException(String s)
Constructs an UnsupportedEncodingException with a detail message.
|
UTFDataFormatException(String s)
Constructs a
UTFDataFormatException with the specified detail message. |
Modifier and Type | Field and Description |
---|---|
static Comparator<String> |
String.CASE_INSENSITIVE_ORDER
A Comparator that orders
String objects as by compareToIgnoreCase . |
Modifier and Type | Method and Description |
---|---|
String |
String.concat(String str)
Concatenates the specified string to the end of this string.
|
static String |
String.copyValueOf(char[] data)
Returns a String that represents the character sequence in the array specified.
|
static String |
String.copyValueOf(char[] data,
int offset,
int count)
Returns a String that represents the character sequence in the array specified.
|
String |
StackTraceElement.getClassName()
Returns the fully qualified name of the class containing the execution point represented by this
stack trace element.
|
String |
StackTraceElement.getFileName()
Returns the name of the source file containing the execution point represented by this stack
trace element.
|
String |
Throwable.getLocalizedMessage()
Creates a localized description of this throwable.
|
String |
Throwable.getMessage()
Returns the detail message string of this throwable.
|
String |
StackTraceElement.getMethodName()
Returns the name of the method containing the execution point represented by this stack trace
element.
|
String |
Package.getName()
Return the name of this package.
|
String |
Class.getName()
Returns the name of the entity (class, interface, array class, primitive type, or void)
represented by this
Class object, as a String . |
String |
Thread.getName()
Returns this thread's 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.
|
String |
Class.getSimpleName()
Returns the simple name of the underlying class as given in the source code.
|
String |
String.intern()
Returns a canonical representation for the string object.
|
String |
Enum.name()
Returns the name of this enum constant, exactly as declared in its enum declaration.
|
String |
String.replace(char oldChar,
char newChar)
Returns a new string resulting from replacing all occurrences of
oldChar in this
string with newChar . |
String |
String.replace(CharSequence target,
CharSequence replacement)
Replaces each substring of this string that matches the literal target sequence with the
specified literal replacement sequence.
|
String |
StringBuffer.substring(int start)
Returns a new
String that contains a subsequence of characters currently contained
in this character sequence. |
String |
StringBuilder.substring(int start)
Returns a new
String that contains a subsequence of characters
currently contained in this character sequence. |
String |
String.substring(int beginIndex)
Returns a new string that is a substring of this string.
|
String |
StringBuffer.substring(int start,
int end)
Returns a new
String that contains a subsequence of characters currently contained
in this sequence. |
String |
StringBuilder.substring(int start,
int end)
Returns a new
String that contains a subsequence of characters
currently contained in this sequence. |
String |
String.substring(int beginIndex,
int endIndex)
Returns a new string that is a substring of this string.
|
static String |
Integer.toBinaryString(int i)
Returns a string representation of the integer argument as an unsigned integer in base 2.
|
static String |
Long.toBinaryString(long i)
Returns a string representation of the
long argument as an unsigned integer in
base 2. |
static String |
Integer.toHexString(int i)
Returns a string representation of the integer argument as an unsigned integer in base 16.
|
static String |
Long.toHexString(long i)
Returns a string representation of the
long argument as an unsigned integer in
base 16. |
String |
String.toLowerCase()
Converts all of the characters in this
String to lower case using the rules of the
default locale. |
static String |
Integer.toOctalString(int i)
Returns a string representation of the integer argument as an unsigned integer in base 8.
|
String |
Package.toString()
Returns the string representation of this Package.
|
String |
Float.toString()
Returns a string representation of this
Float object. |
String |
Boolean.toString()
Returns a
String object representing this Boolean's value. |
String |
Long.toString()
Returns a
String object representing this Long 's value. |
String |
StringBuffer.toString() |
String |
Class.toString()
Converts the object to a string.
|
String |
Double.toString()
Returns a string representation of this
Double object. |
String |
Throwable.toString()
Returns a short description of this throwable.
|
String |
Short.toString()
Returns a
String object representing this Short 's value. |
String |
Enum.toString()
Returns the name of this enum constant, as contained in the declaration.
|
String |
StringBuilder.toString() |
String |
CharSequence.toString()
Returns a string containing the characters in this sequence in the same order as this sequence.
|
String |
String.toString()
This object (which is already a string!) is itself returned.
|
String |
Byte.toString()
Returns a
String object representing this Byte 's value. |
String |
Integer.toString()
Returns a
String object representing this Integer 's value. |
String |
Object.toString()
Returns a string representation of the object.
|
String |
Thread.toString()
Returns a string representation of this thread, including the thread's name, priority, and thread
group.
|
String |
StackTraceElement.toString()
Returns a string representation of this stack trace element.
|
String |
Character.toString()
Returns a
String object representing this Character 's value. |
static String |
Boolean.toString(boolean b)
Returns a
String object representing the specified boolean. |
static String |
Byte.toString(byte b)
Returns a new
String object representing the specified byte . |
static String |
Character.toString(char c)
Returns a
String object representing the specified char . |
static String |
Double.toString(double d)
Returns a string representation of the
double argument. |
static String |
Float.toString(float f)
Returns a string representation of the
float argument. |
static String |
Integer.toString(int i)
Returns a
String object representing the specified integer. |
static String |
Integer.toString(int i,
int radix)
Returns a string representation of the first argument in the radix specified by the second
argument.
|
static String |
Long.toString(long i)
Returns a
String object representing the specified long . |
static String |
Long.toString(long i,
int radix)
Returns a string representation of the first argument in the radix specified by the second
argument.
|
static String |
Short.toString(short s)
Returns a new
String object representing the specified short . |
String |
String.toUpperCase()
Converts all of the characters in this
String to upper case using the rules of the
default locale. |
String |
String.trim()
Returns a copy of the string, with leading and trailing whitespace omitted.
|
static String |
String.valueOf(boolean b)
Returns the string representation of the
boolean argument. |
static String |
String.valueOf(char c)
Returns the string representation of the
char argument. |
static String |
String.valueOf(char[] data)
Returns the string representation of the
char array argument. |
static String |
String.valueOf(char[] data,
int offset,
int count)
Returns the string representation of a specific subarray of the
char array argument. |
static String |
String.valueOf(double d)
Returns the string representation of the
double argument. |
static String |
String.valueOf(float f)
Returns the string representation of the
float argument. |
static String |
String.valueOf(int i)
Returns the string representation of the
int argument. |
static String |
String.valueOf(long l)
Returns the string representation of the
long argument. |
static String |
String.valueOf(Object obj)
Returns the string representation of the
Object argument. |
Modifier and Type | Method and Description |
---|---|
StringBuffer |
StringBuffer.append(String str)
Appends the specified string to this character sequence.
|
StringBuilder |
StringBuilder.append(String str)
Appends the specified string to this character sequence.
|
int |
String.compareTo(String anotherString)
Compares two strings lexicographically.
|
int |
String.compareToIgnoreCase(String str)
Compares two strings lexicographically, ignoring case differences.
|
String |
String.concat(String str)
Concatenates the specified string to the end of this string.
|
static Long |
Long.decode(String nm)
Decodes a
String into a Long . |
static Short |
Short.decode(String nm)
Decodes a
String into a Short . |
static Byte |
Byte.decode(String nm)
Decodes a
String into a Byte . |
static Integer |
Integer.decode(String nm)
Decodes a
String into an Integer . |
boolean |
String.endsWith(String suffix)
Tests if this string ends with the specified suffix.
|
boolean |
String.equalsIgnoreCase(String anotherString)
Compares this
String to another String , ignoring case considerations. |
static Class<?> |
Class.forName(String className)
Returns the
Class object associated with the class or interface with the given string
name. |
static boolean |
Boolean.getBoolean(String name)
Returns
true if and only if the system property named by the argument exists and is equal
to the string "true" . |
byte[] |
String.getBytes(String charsetName)
Encodes this
String into a sequence of bytes using the named charset, storing the result
into a new byte array. |
static Integer |
Integer.getInteger(String nm)
Determines the integer value of the system property with the specified name.
|
static Integer |
Integer.getInteger(String nm,
int val)
Determines the integer value of the system property with the specified name.
|
static Integer |
Integer.getInteger(String nm,
Integer val)
Returns the integer value of the system property with the specified name.
|
static Long |
Long.getLong(String nm)
Determines the
long value of the system property with the specified name. |
static Long |
Long.getLong(String nm,
long val)
Determines the
long value of the system property with the specified name. |
static Long |
Long.getLong(String nm,
Long val)
Returns the
long value of the system property with the specified name. |
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.
|
InputStream |
Class.getResourceAsStream(String name)
Finds a resource with a given name.
|
int |
StringBuffer.indexOf(String str)
Returns the index within this string of the first occurrence of the specified substring.
|
int |
StringBuilder.indexOf(String str)
Returns the index within this string of the first occurrence of the specified substring.
|
int |
String.indexOf(String str)
Returns the index within this string of the first occurrence of the specified substring.
|
int |
StringBuffer.indexOf(String str,
int fromIndex)
Returns the index within this string of the first occurrence of the specified substring, starting
at the specified index.
|
int |
StringBuilder.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.indexOf(String str,
int fromIndex)
Returns the index within this string of the first occurrence of the specified substring, starting
at the specified index.
|
StringBuffer |
StringBuffer.insert(int offset,
String str)
Inserts the string into this character sequence.
|
StringBuilder |
StringBuilder.insert(int offset,
String str)
Inserts the string into this character sequence.
|
int |
StringBuffer.lastIndexOf(String str)
Returns the index within this string of the rightmost occurrence of the specified substring.
|
int |
StringBuilder.lastIndexOf(String str)
Returns the index within this string of the rightmost occurrence of the specified substring.
|
int |
String.lastIndexOf(String str)
Returns the index within this string of the last occurrence of the specified substring.
|
int |
StringBuffer.lastIndexOf(String str,
int fromIndex)
Returns the index within this string of the last occurrence of the specified substring.
|
int |
StringBuilder.lastIndexOf(String str,
int fromIndex)
Returns the index within this string of the last occurrence of the specified substring.
|
int |
String.lastIndexOf(String str,
int fromIndex)
Returns the index within this string of the last occurrence of the specified substring, searching
backward starting at the specified index.
|
static boolean |
Boolean.parseBoolean(String s)
Parses the string argument as a boolean.
|
static byte |
Byte.parseByte(String s)
Parses the string argument as a signed decimal
byte . |
static byte |
Byte.parseByte(String s,
int radix)
Parses the string argument as a signed
byte in the radix specified by
the second argument. |
static double |
Double.parseDouble(String s)
Returns a new
double initialized to the value represented by the specified
String , as performed by the valueOf method of class Double . |
static float |
Float.parseFloat(String s)
Returns a new
float initialized to the value represented by the specified String ,
as performed by the valueOf method of class Float . |
static int |
Integer.parseInt(String s)
Parses the string argument as a signed decimal integer.
|
static int |
Integer.parseInt(String s,
int radix)
Parses the string argument as a signed integer in the radix specified by the second argument.
|
static long |
Long.parseLong(String s)
Parses the string argument as a signed decimal
long . |
static long |
Long.parseLong(String s,
int radix)
Parses the string argument as a signed
long in the radix specified by the second
argument. |
static short |
Short.parseShort(String s)
Parses the string argument as a signed decimal
short . |
static short |
Short.parseShort(String s,
int radix)
Parses the string argument as a signed
short in the radix specified by the second
argument. |
boolean |
String.regionMatches(boolean ignoreCase,
int toffset,
String other,
int ooffset,
int len)
Tests if two string regions are equal.
|
boolean |
String.regionMatches(int toffset,
String other,
int ooffset,
int len)
Tests if two string regions are equal.
|
StringBuffer |
StringBuffer.replace(int start,
int end,
String str)
Replaces the characters in a substring of this sequence with characters in the specified
String . |
StringBuilder |
StringBuilder.replace(int start,
int end,
String str)
Replaces the characters in a substring of this sequence with characters in the specified
String . |
void |
Thread.setName(String name)
Changes the name of this thread to be equal to the argument
name . |
boolean |
String.startsWith(String prefix)
Tests if this string starts with the specified prefix.
|
boolean |
String.startsWith(String prefix,
int toffset)
Tests if the substring of this string beginning at the specified index starts with the specified
prefix.
|
static <T extends Enum<T>> |
Enum.valueOf(Class<T> enumType,
String name)
This method is available for compilation purpose.
|
static Float |
Float.valueOf(String s)
Returns a
Float object holding the float value represented by the argument string
s . |
static Boolean |
Boolean.valueOf(String s)
Returns a
Boolean with a value represented by the specified string. |
static Long |
Long.valueOf(String s)
Returns a
Long object holding the value of the specified String . |
static Double |
Double.valueOf(String s)
Returns a
Double object holding the double value represented by the argument
string s . |
static Short |
Short.valueOf(String s)
Returns a
Short object holding the value given by the specified String . |
static Byte |
Byte.valueOf(String s)
Returns a
Byte object holding the value given by the specified String . |
static Integer |
Integer.valueOf(String s)
Returns an
Integer object holding the value of the specified String . |
static Thread.State |
Thread.State.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Long |
Long.valueOf(String s,
int radix)
Returns a
Long object holding the value extracted from the specified String when
parsed with the radix given by the second argument. |
static Short |
Short.valueOf(String s,
int radix)
Returns a
Short object holding the value extracted from the specified String when
parsed with the radix given by the second argument. |
static Byte |
Byte.valueOf(String s,
int radix)
Returns a
Byte object holding the value extracted from the specified String when
parsed with the radix given by the second argument. |
static Integer |
Integer.valueOf(String s,
int radix)
Returns an
Integer object holding the value extracted from the specified String
when parsed with the radix given by the second argument. |
Constructor and Description |
---|
AbstractMethodError(String s)
Constructs an
AbstractMethodError with the specified detail message. |
ArithmeticException(String s)
Constructs an
ArithmeticException with the specified detail message. |
ArrayIndexOutOfBoundsException(String s)
Constructs an
ArrayIndexOutOfBoundsException class with the specified detail
message. |
ArrayStoreException(String s)
Constructs an
ArrayStoreException with the specified detail message. |
AssertionError(String message,
Throwable cause)
Constructs a new
AssertionError with the specified detail message and cause. |
Boolean(String s)
Allocates a
Boolean object representing the value true if the string argument is
not null and is equal, ignoring case, to the string "true" . |
Byte(String s)
Constructs a newly allocated
Byte object that represents the byte value indicated
by the String parameter. |
ClassCastException(String s)
Constructs a
ClassCastException with the specified detail message. |
ClassCircularityError(String s)
Constructs a
ClassCircularityError with the specified detail message. |
ClassFormatError(String s)
Constructs a
ClassFormatError with the specified detail message. |
ClassNotFoundException(String s)
Constructs a
ClassNotFoundException with the specified detail message. |
ClassNotFoundException(String s,
Throwable ex)
Constructs a
ClassNotFoundException with the specified detail message and optional
exception that was raised while loading the class. |
CloneNotSupportedException(String s)
Constructs a
CloneNotSupportedException with the specified detail message. |
Double(String s)
Constructs a newly allocated
Double object that represents the floating-point value of
type double represented by the string. |
Enum(String name,
int ordinal)
Sole constructor.
|
Error(String message)
Constructs a new error with the specified detail message.
|
Error(String message,
Throwable cause)
Constructs a new error with the specified detail message and cause.
|
Exception(String message)
Constructs a new exception with the specified detail message.
|
Exception(String message,
Throwable cause)
Constructs a new exception with the specified detail message and cause.
|
ExceptionInInitializerError(String s)
Constructs an ExceptionInInitializerError with the specified detail message string.
|
Float(String s)
Constructs a newly allocated
Float object that represents the floating-point value of
type float represented by the string. |
IllegalAccessError(String s)
Constructs an
IllegalAccessError with the specified detail message. |
IllegalAccessException(String s)
Constructs an
IllegalAccessException with a detail message. |
IllegalArgumentException(String s)
Constructs an
IllegalArgumentException with the specified detail message. |
IllegalArgumentException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and cause.
|
IllegalMonitorStateException(String s)
Constructs an
IllegalMonitorStateException with the specified detail message. |
IllegalStateException(String s)
Constructs an IllegalStateException with the specified detail message.
|
IllegalStateException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and cause.
|
IllegalThreadStateException(String s)
Constructs an
IllegalThreadStateException with the specified detail message. |
IncompatibleClassChangeError(String s)
Constructs an
IncompatibleClassChangeError with the specified detail message. |
IndexOutOfBoundsException(String s)
Constructs an
IndexOutOfBoundsException with the specified detail message. |
InstantiationError(String s)
Constructs an
InstantiationError with the specified detail message. |
InstantiationException(String s)
Constructs an
InstantiationException with the specified detail message. |
Integer(String s)
Constructs a newly allocated
Integer object that represents the int value
indicated by the String parameter. |
InternalError(String s)
Constructs an
InternalError with the specified detail message. |
InterruptedException(String s)
Constructs an
InterruptedException with the specified detail message. |
LinkageError(String s)
Constructs a
LinkageError with the specified detail message. |
LinkageError(String s,
Throwable cause)
Constructs a
LinkageError with the specified detail message and cause. |
Long(String s)
Constructs a newly allocated
Long object that represents the long value indicated
by the String parameter. |
NegativeArraySizeException(String s)
Constructs a
NegativeArraySizeException with the specified detail message. |
NoClassDefFoundError(String s)
Constructs a
NoClassDefFoundError with the specified detail message. |
NoSuchFieldError(String s)
Constructs a
NoSuchFieldError with the specified detail message. |
NoSuchFieldException(String s)
Constructor with a detail message.
|
NoSuchMethodError(String s)
Constructs a
NoSuchMethodError with the specified detail message. |
NoSuchMethodException(String s)
Constructs a
NoSuchMethodException with a detail message. |
NullPointerException(String s)
Constructs a
NullPointerException with the specified detail message. |
NumberFormatException(String s)
Constructs a
NumberFormatException with the specified detail message. |
OutOfMemoryError(String s)
Constructs an
OutOfMemoryError with the specified detail message. |
ReflectiveOperationException(String message)
Constructs a new exception with the specified detail message.
|
ReflectiveOperationException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and cause.
|
RuntimeException(String message)
Constructs a new runtime exception with the specified detail message.
|
RuntimeException(String message,
Throwable cause)
Constructs a new runtime exception with the specified detail message and cause.
|
RuntimePermission(String name)
Creates a new RuntimePermission with the specified name.
|
RuntimePermission(String name,
String actions)
Creates a new RuntimePermission object with the specified name.
|
SecurityException(String s)
Constructs a
SecurityException with the specified detail message. |
SecurityException(String message,
Throwable cause)
Creates a
SecurityException with the specified detail message and cause. |
Short(String s)
Constructs a newly allocated
Short object that represents the short value
indicated by the String parameter. |
StackOverflowError(String s)
Constructs a
StackOverflowError with the specified detail message. |
String(byte[] bytes,
int offset,
int length,
String charsetName)
Constructs a new
String by decoding the specified subarray of bytes using the specified
charset. |
String(byte[] bytes,
String charsetName)
Constructs a new
String by decoding the specified array of bytes using the specified
charset. |
String(String original)
Initializes a newly created
String object so that it represents the same sequence of
characters as the argument; in other words, the newly created string is a copy of the argument
string. |
StringBuffer(String str)
Constructs a string buffer initialized to the contents of the specified string.
|
StringBuilder(String str)
Constructs a string builder initialized to the contents of the specified string.
|
StringIndexOutOfBoundsException(String s)
Constructs a
StringIndexOutOfBoundsException with the specified detail message. |
Thread(Runnable target,
String name)
Allocates a new
Thread object. |
Thread(String name)
Allocates a new
Thread object. |
Throwable(String message)
Constructs a new throwable with the specified detail message.
|
Throwable(String message,
Throwable cause)
Constructs a new throwable with the specified detail message and cause.
|
UnknownError(String s)
Constructs an
UnknownError with the specified detail message. |
UnsatisfiedLinkError(String s)
Constructs an
UnsatisfiedLinkError with the specified detail message. |
UnsupportedClassVersionError(String s)
Constructs a
UnsupportedClassVersionError with the specified detail message. |
UnsupportedOperationException(String message)
Constructs an UnsupportedOperationException with the specified detail message.
|
UnsupportedOperationException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and cause.
|
VerifyError(String s)
Constructs an
VerifyError with the specified detail message. |
VirtualMachineError(String s)
Constructs a
VirtualMachineError with the specified detail message. |
Modifier and Type | Method and Description |
---|---|
String |
Annotation.toString()
Returns a string representation of this annotation.
|
Modifier and Type | Method and Description |
---|---|
static ElementType |
ElementType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RetentionPolicy |
RetentionPolicy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
Modifier and Type | Method and Description |
---|---|
String |
BasicPermission.getActions()
Returns the canonical string representation of the actions, which currently is the empty string
"", since there are no actions for a BasicPermission.
|
abstract String |
Permission.getActions()
Returns the actions as a String.
|
String |
Permission.getName()
Returns the name of this Permission.
|
String |
Permission.toString()
Returns a string describing this Permission.
|
Constructor and Description |
---|
BasicPermission(String name)
Creates a new BasicPermission with the specified name.
|
BasicPermission(String name,
String actions)
Creates a new BasicPermission object with the specified name.
|
Permission(String name)
Constructs a permission with the specified name.
|
Modifier and Type | Method and Description |
---|---|
String |
PropertyPermission.getActions()
Returns the "canonical string representation" of the actions.
|
static String[] |
TimeZone.getAvailableIDs()
Gets all the available IDs supported.
|
String |
TimeZone.getID()
Gets the ID of this time zone.
|
String |
Calendar.toString()
Return a string representation of this calendar.
|
String |
Vector.toString()
Returns a string representation of this Vector, containing the String representation of each
element.
|
String |
Hashtable.toString()
Returns a string representation of this
Hashtable object in the form of a set of
entries, enclosed in braces and separated by the ASCII characters ", " (comma and
space). |
String |
Date.toString()
Converts this
Date object to a String of the form: |
String |
AbstractMap.toString()
Returns a string representation of this map.
|
String |
AbstractMap.SimpleEntry.toString()
Returns a String representation of this map entry.
|
String |
AbstractMap.SimpleImmutableEntry.toString()
Returns a String representation of this map entry.
|
String |
AbstractCollection.toString()
Returns a string representation of this collection.
|
String |
EventObject.toString()
Returns a String representation of this EventObject.
|
Modifier and Type | Method and Description |
---|---|
static TimeZone |
TimeZone.getTimeZone(String ID)
Gets the
TimeZone for the given ID. |
void |
TimeZone.setID(String ID)
Sets the time zone ID.
|
Constructor and Description |
---|
ConcurrentModificationException(String message)
Constructs a
ConcurrentModificationException with the specified detail message. |
ConcurrentModificationException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and cause.
|
NoSuchElementException(String s)
Constructs a
NoSuchElementException , saving a reference to the error message string
s for later retrieval by the getMessage method. |
PropertyPermission(String name,
String actions)
Creates a new PropertyPermission object with the specified name.
|
Timer(String name)
Deprecated.
Creates a new timer whose associated thread has the specified name.
|