| Package | Description |
|---|---|
| java.beans | |
| java.io | |
| java.lang | |
| java.lang.annotation | |
| java.lang.invoke | |
| java.lang.reflect |
Provides classes and interfaces for obtaining reflective
information about classes and objects.
|
| java.math |
Provides classes for performing arbitrary-precision integer
arithmetic (
BigInteger) and arbitrary-precision decimal
arithmetic (BigDecimal). |
| java.net | |
| java.nio.charset | |
| java.security | |
| java.text | |
| java.util | |
| java.util.concurrent |
Utility classes commonly useful in concurrent programming.
|
| java.util.concurrent.atomic |
A small toolkit of classes that support lock-free thread-safe
programming on single variables.
|
| java.util.concurrent.locks |
Interfaces and classes providing a framework for locking and waiting
for conditions that is distinct from built-in synchronization and
monitors.
|
| java.util.logging | |
| java.util.regex |
Classes for matching character sequences against patterns specified by regular
expressions.
|
| java.util.stream |
Classes to support functional-style operations on streams of elements, such
as map-reduce transformations on collections.
|
| org.apidesign.bck2brwsr.launcher.impl | |
| org.apidesign.vm4brwsr | |
| org.netbeans.modules.openide.util | |
| org.openide.util |
Client API part of the
Lookup
interfaces.
|
| org.openide.util.lookup |
Support classes for the Registration and
Lookup extension mechanism. |
| org.openide.util.lookup.implspi |
Interfaces intended to be used within the NetBeans Platform.
|
| Modifier and Type | Method and Description |
|---|---|
String |
VetoableChangeListenerProxy.getPropertyName()
Returns the name of the named property associated with the listener.
|
String |
PropertyChangeListenerProxy.getPropertyName()
Returns the name of the named property associated with the listener.
|
String |
PropertyChangeEvent.getPropertyName()
Gets the programmatic name of the property that was changed.
|
String |
PropertyChangeEvent.toString()
Returns a string representation of the object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PropertyChangeSupport.addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Add a PropertyChangeListener for a specific property.
|
void |
VetoableChangeSupport.addVetoableChangeListener(String propertyName,
VetoableChangeListener listener)
Add a VetoableChangeListener for a specific property.
|
void |
PropertyChangeSupport.fireIndexedPropertyChange(String propertyName,
int index,
boolean oldValue,
boolean newValue)
Reports a boolean bound indexed property update to listeners
that have been registered to track updates of
all properties or a property with the specified name.
|
void |
PropertyChangeSupport.fireIndexedPropertyChange(String propertyName,
int index,
int oldValue,
int newValue)
Reports an integer bound indexed property update to listeners
that have been registered to track updates of
all properties or a property with the specified name.
|
void |
PropertyChangeSupport.fireIndexedPropertyChange(String propertyName,
int index,
Object oldValue,
Object newValue)
Reports a bound indexed property update to listeners
that have been registered to track updates of
all properties or a property with the specified name.
|
void |
PropertyChangeSupport.firePropertyChange(String propertyName,
boolean oldValue,
boolean newValue)
Reports a boolean bound property update to listeners
that have been registered to track updates of
all properties or a property with the specified name.
|
void |
PropertyChangeSupport.firePropertyChange(String propertyName,
int oldValue,
int newValue)
Reports an integer bound property update to listeners
that have been registered to track updates of
all properties or a property with the specified name.
|
void |
PropertyChangeSupport.firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Reports a bound property update to listeners
that have been registered to track updates of
all properties or a property with the specified name.
|
void |
VetoableChangeSupport.fireVetoableChange(String propertyName,
boolean oldValue,
boolean newValue)
Reports a boolean constrained property update to listeners
that have been registered to track updates of
all properties or a property with the specified name.
|
void |
VetoableChangeSupport.fireVetoableChange(String propertyName,
int oldValue,
int newValue)
Reports an integer constrained property update to listeners
that have been registered to track updates of
all properties or a property with the specified name.
|
void |
VetoableChangeSupport.fireVetoableChange(String propertyName,
Object oldValue,
Object newValue)
Reports a constrained property update to listeners
that have been registered to track updates of
all properties or a property with the specified name.
|
PropertyChangeListener[] |
PropertyChangeSupport.getPropertyChangeListeners(String propertyName)
Returns an array of all the listeners which have been associated
with the named property.
|
VetoableChangeListener[] |
VetoableChangeSupport.getVetoableChangeListeners(String propertyName)
Returns an array of all the listeners which have been associated
with the named property.
|
boolean |
VetoableChangeSupport.hasListeners(String propertyName)
Check if there are any listeners for a specific property, including
those registered on all properties.
|
boolean |
PropertyChangeSupport.hasListeners(String propertyName)
Check if there are any listeners for a specific property, including
those registered on all properties.
|
void |
PropertyChangeSupport.removePropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Remove a PropertyChangeListener for a specific property.
|
void |
VetoableChangeSupport.removeVetoableChangeListener(String propertyName,
VetoableChangeListener listener)
Remove a VetoableChangeListener for a specific property.
|
| Constructor and Description |
|---|
IndexedPropertyChangeEvent(Object source,
String propertyName,
Object oldValue,
Object newValue,
int index)
Constructs a new
IndexedPropertyChangeEvent object. |
PropertyChangeEvent(Object source,
String propertyName,
Object oldValue,
Object newValue)
Constructs a new
PropertyChangeEvent. |
PropertyChangeListenerProxy(String propertyName,
PropertyChangeListener listener)
Constructor which binds the
PropertyChangeListener
to a specific property. |
PropertyVetoException(String mess,
PropertyChangeEvent evt)
Constructs a
PropertyVetoException with a
detailed message. |
VetoableChangeListenerProxy(String propertyName,
VetoableChangeListener listener)
Constructor which binds the
VetoableChangeListener
to a specific property. |
| Modifier and Type | Field and Description |
|---|---|
String |
InvalidClassException.classname
Name of the invalid class.
|
static String |
File.pathSeparator
The system-dependent path-separator character, represented as a string
for convenience.
|
static String |
File.separator
The system-dependent default name-separator character, represented as a
string for convenience.
|
| Modifier and Type | Method and Description |
|---|---|
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 |
OutputStreamWriter.getEncoding()
Returns the name of the character encoding being used by this stream.
|
String |
InputStreamReader.getEncoding()
Returns the 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 |
InvalidClassException.getMessage()
Produce the message and include the classname, if present.
|
String |
ObjectStreamField.getName()
Get the name of this field.
|
String |
ObjectStreamClass.getName()
Returns the name of the class described by this descriptor.
|
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 |
ObjectStreamField.getTypeString()
Return the JVM type signature.
|
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 |
ObjectInputStream.readLine()
Deprecated.
This method does not properly convert bytes to characters.
see DataInputStream for the details and alternatives.
|
String |
LineNumberReader.readLine()
Read a line of text.
|
String |
DataInputStream.readLine()
Deprecated.
This method does not properly convert bytes to characters.
As of JDK 1.1, the preferred way to read lines of text is via the
BufferedReader.readLine() method. Programs that use the
DataInputStream class to read lines can be converted to use
the BufferedReader class by replacing code of the form:
with:
|
String |
DataInput.readLine()
Reads the next line of text from the input stream.
|
String |
BufferedReader.readLine()
Reads a line of text.
|
String |
ObjectInputStream.readUTF()
Reads a String in
modified UTF-8
format.
|
String |
DataInputStream.readUTF()
See the general contract of the
readUTF
method of DataInput. |
String |
DataInput.readUTF()
Reads in a string that has been encoded using a
modified UTF-8
format.
|
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 |
StringWriter.toString()
Return the buffer's current value as a string.
|
String |
ObjectStreamField.toString()
Return a string that describes this field.
|
String |
ObjectStreamClass.toString()
Return a string describing this ObjectStreamClass.
|
String |
File.toString()
Returns the pathname string of this abstract pathname.
|
String |
ByteArrayOutputStream.toString()
Converts the buffer's contents into a string decoding bytes using the
platform's default character set.
|
String |
ByteArrayOutputStream.toString(int hibyte)
Deprecated.
This method does not properly convert bytes into characters.
As of JDK 1.1, the preferred way to do this is via the
toString(String enc) method, which takes an encoding-name
argument, or the toString() method, which uses the
platform's default character encoding. |
String |
ByteArrayOutputStream.toString(String charsetName)
Converts the buffer's contents into a string by decoding the bytes using
the specified
charsetName. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
FilenameFilter.accept(File dir,
String name)
Tests if a specified file should be included in a file list.
|
static File |
File.createTempFile(String prefix,
String suffix)
Creates an empty file in the default temporary-file directory, using
the given prefix and suffix to generate its name.
|
static File |
File.createTempFile(String prefix,
String suffix,
File directory)
Creates a new empty file in the specified directory, using the
given prefix and suffix strings to generate its name.
|
abstract boolean |
ObjectInputStream.GetField.defaulted(String name)
Return true if the named field is defaulted and has no value in this
stream.
|
PrintWriter |
PrintWriter.format(String format,
Object... args)
Writes a formatted string to this writer using the specified format
string and arguments.
|
abstract boolean |
ObjectInputStream.GetField.get(String name,
boolean val)
Get the value of the named boolean field from the persistent field.
|
abstract byte |
ObjectInputStream.GetField.get(String name,
byte val)
Get the value of the named byte field from the persistent field.
|
abstract char |
ObjectInputStream.GetField.get(String name,
char val)
Get the value of the named char field from the persistent field.
|
abstract double |
ObjectInputStream.GetField.get(String name,
double val)
Get the value of the named double field from the persistent field.
|
abstract float |
ObjectInputStream.GetField.get(String name,
float val)
Get the value of the named float field from the persistent field.
|
abstract int |
ObjectInputStream.GetField.get(String name,
int val)
Get the value of the named int field from the persistent field.
|
abstract long |
ObjectInputStream.GetField.get(String name,
long val)
Get the value of the named long field from the persistent field.
|
abstract Object |
ObjectInputStream.GetField.get(String name,
Object val)
Get the value of the named Object field from the persistent field.
|
abstract short |
ObjectInputStream.GetField.get(String name,
short val)
Get the value of the named short field from the persistent field.
|
ObjectStreamField |
ObjectStreamClass.getField(String name)
Get the field of this class by name.
|
void |
PrintWriter.print(String s)
Prints a string.
|
void |
PrintStream.print(String s)
Prints a string.
|
PrintWriter |
PrintWriter.printf(String format,
Object... args)
A convenience method to write a formatted string to this writer using
the specified format string and arguments.
|
PrintStream |
PrintStream.printf(String format,
Object... args)
A convenience method to write a formatted string to this output stream
using the specified format string and arguments.
|
void |
PrintWriter.println(String x)
Prints a String and then terminates the line.
|
void |
PrintStream.println(String x)
Prints a String and then terminate the line.
|
abstract void |
ObjectOutputStream.PutField.put(String name,
boolean val)
Put the value of the named boolean field into the persistent field.
|
abstract void |
ObjectOutputStream.PutField.put(String name,
byte val)
Put the value of the named byte field into the persistent field.
|
abstract void |
ObjectOutputStream.PutField.put(String name,
char val)
Put the value of the named char field into the persistent field.
|
abstract void |
ObjectOutputStream.PutField.put(String name,
double val)
Put the value of the named double field into the persistent field.
|
abstract void |
ObjectOutputStream.PutField.put(String name,
float val)
Put the value of the named float field into the persistent field.
|
abstract void |
ObjectOutputStream.PutField.put(String name,
int val)
Put the value of the named int field into the persistent field.
|
abstract void |
ObjectOutputStream.PutField.put(String name,
long val)
Put the value of the named long field into the persistent field.
|
abstract void |
ObjectOutputStream.PutField.put(String name,
Object val)
Put the value of the named Object field into the persistent field.
|
abstract void |
ObjectOutputStream.PutField.put(String name,
short val)
Put the value of the named short field into the persistent field.
|
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.
|
String |
ByteArrayOutputStream.toString(String charsetName)
Converts the buffer's contents into a string by decoding the bytes using
the specified
charsetName. |
void |
Writer.write(String str)
Writes a string.
|
void |
StringWriter.write(String str)
Write a string.
|
void |
PrintWriter.write(String s)
Writes a string.
|
void |
Writer.write(String str,
int off,
int len)
Writes a portion of a string.
|
void |
StringWriter.write(String str,
int off,
int len)
Write a portion of a string.
|
void |
PrintWriter.write(String s,
int off,
int len)
Writes a portion of a string.
|
void |
OutputStreamWriter.write(String str,
int off,
int len)
Writes a portion of a string.
|
void |
FilterWriter.write(String str,
int off,
int len)
Writes a portion of a string.
|
void |
BufferedWriter.write(String s,
int off,
int len)
Writes a portion of a String.
|
void |
ObjectOutputStream.writeBytes(String str)
Writes a String as a sequence of bytes.
|
void |
DataOutputStream.writeBytes(String s)
Writes out the string to the underlying output stream as a
sequence of bytes.
|
void |
DataOutput.writeBytes(String s)
Writes a string to the output stream.
|
void |
ObjectOutputStream.writeChars(String str)
Writes a String as a sequence of chars.
|
void |
DataOutputStream.writeChars(String s)
Writes a string to the underlying output stream as a sequence of
characters.
|
void |
DataOutput.writeChars(String s)
Writes every character in the string
s,
to the output stream, in order,
two bytes per character. |
void |
ObjectOutputStream.writeUTF(String str)
Primitive data write of this String in
modified UTF-8
format.
|
void |
DataOutputStream.writeUTF(String str)
Writes a string to the underlying output stream using
modified UTF-8
encoding in a machine-independent manner.
|
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. |
| Constructor and Description |
|---|
EOFException(String s)
Constructs an
EOFException with the specified detail
message. |
File(File parent,
String child)
Creates a new
File instance from a parent abstract
pathname and a child pathname string. |
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. |
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. |
FileNotFoundException(String s)
Constructs a
FileNotFoundException with the
specified detail message. |
FileOutputStream(String name)
Creates a file output stream to write to the file with the
specified name.
|
FileOutputStream(String name,
boolean append)
Creates a file output stream to write to the file with the specified
name.
|
FileReader(String fileName)
Creates a new FileReader, given the name of the
file to read from.
|
FileWriter(String fileName)
Constructs a FileWriter object given a file name.
|
FileWriter(String fileName,
boolean append)
Constructs a FileWriter object given a file name with a boolean
indicating whether or not to append the data written.
|
InputStreamReader(InputStream in,
String charsetName)
Creates an InputStreamReader that uses the named charset.
|
InterruptedIOException(String s)
Constructs an
InterruptedIOException with the
specified detail message. |
InvalidClassException(String reason)
Report an InvalidClassException for the reason specified.
|
InvalidClassException(String cname,
String reason)
Constructs an InvalidClassException object.
|
InvalidObjectException(String reason)
Constructs an
InvalidObjectException. |
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. |
NotActiveException(String reason)
Constructor to create a new NotActiveException with the reason given.
|
NotSerializableException(String classname)
Constructs a NotSerializableException object with message string.
|
ObjectStreamException(String classname)
Create an ObjectStreamException with the specified argument.
|
ObjectStreamField(String name,
Class<?> type)
Create a Serializable field with the specified type.
|
ObjectStreamField(String name,
Class<?> type,
boolean unshared)
Creates an ObjectStreamField representing a serializable field with the
given name and type.
|
OutputStreamWriter(OutputStream out,
String charsetName)
Creates an OutputStreamWriter that uses the named charset.
|
PrintStream(File file,
String csn)
Creates a new print stream, without automatic line flushing, with the
specified file and charset.
|
PrintStream(OutputStream out,
boolean autoFlush,
String encoding)
Creates a new print stream.
|
PrintStream(String fileName)
Creates a new print stream, without automatic line flushing, with the
specified file name.
|
PrintStream(String fileName,
String csn)
Creates a new print stream, without automatic line flushing, with the
specified file name and charset.
|
PrintWriter(File file,
String csn)
Creates a new PrintWriter, without automatic line flushing, with the
specified file and charset.
|
PrintWriter(String fileName)
Creates a new PrintWriter, without automatic line flushing, with the
specified file name.
|
PrintWriter(String fileName,
String csn)
Creates a new PrintWriter, without automatic line flushing, with the
specified file name and charset.
|
StreamCorruptedException(String reason)
Create a StreamCorruptedException and list a reason why thrown.
|
StringReader(String s)
Creates a new string reader.
|
SyncFailedException(String desc)
Constructs an SyncFailedException with a detail message.
|
UnsupportedEncodingException(String s)
Constructs an UnsupportedEncodingException with a detail message.
|
UTFDataFormatException(String s)
Constructs a
UTFDataFormatException with the
specified detail message. |
WriteAbortedException(String s,
Exception ex)
Constructs a WriteAbortedException with a string describing
the exception and the exception causing the abort.
|
| 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.
|
static String |
String.format(Locale l,
String format,
Object... args)
Returns a formatted string using the specified locale, format string,
and arguments.
|
static String |
String.format(String format,
Object... args)
Returns a formatted string using the specified format string and
arguments.
|
String |
Class.getCanonicalName()
Returns the canonical name of the underlying class as
defined by the Java Language Specification.
|
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 |
Package.getImplementationTitle()
Return the title of this package.
|
String |
Package.getImplementationVendor()
Returns the name of the organization,
vendor or company that provided this implementation.
|
String |
Package.getImplementationVersion()
Return the version of this implementation.
|
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 |
Thread.getName()
Returns this thread's name.
|
String |
System.Logger.getName() |
String |
System.Logger.Level.getName() |
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. |
static String |
System.getProperty(String name) |
static String |
System.getProperty(String key,
String def) |
String |
Class.getSimpleName()
Returns the simple name of the underlying class as given in the
source code.
|
String |
Package.getSpecificationTitle()
Return the title 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.getSpecificationVersion()
Returns the version number of the specification
that this package implements.
|
String |
String.intern()
Returns a canonical representation for the string object.
|
static String |
System.lineSeparator()
Returns the system-dependent line separator string.
|
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 |
String.replaceAll(String regex,
String replacement)
Replaces each substring of this string that matches the given regular expression with the
given replacement.
|
String |
String.replaceFirst(String regex,
String replacement)
Replaces the first substring of this string that matches the given regular expression with the
given replacement.
|
static String |
System.setProperty(String key,
String value) |
String[] |
String.split(String regex)
Splits this string around matches of the given regular expression.
|
String[] |
String.split(String regex,
int limit)
Splits this string around matches of the given
regular expression.
|
String |
StringBuffer.substring(int start) |
String |
String.substring(int beginIndex)
Returns a new string that is a substring of this string.
|
String |
StringBuffer.substring(int start,
int end) |
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 |
Double.toHexString(double d)
Returns a hexadecimal string representation of the
double argument. |
static String |
Float.toHexString(float f)
Returns a hexadecimal string representation of the
float argument. |
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. |
String |
String.toLowerCase(Locale locale)
Converts all of the characters in this
String to lower
case using the rules of the given Locale. |
static String |
Integer.toOctalString(int i)
Returns a string representation of the integer argument as an
unsigned integer in base 8.
|
static String |
Long.toOctalString(long i)
Returns a string representation of the
long
argument as an unsigned integer in base 8. |
String |
Throwable.toString()
Returns a short description of this throwable.
|
String |
Thread.toString()
Returns a string representation of this thread, including the
thread's name, priority, and thread group.
|
String |
StringBuilder.toString() |
String |
StringBuffer.toString() |
String |
String.toString()
This object (which is already a string!) is itself returned.
|
String |
StackTraceElement.toString()
Returns a string representation of this stack trace element.
|
String |
Short.toString()
Returns a
String object representing this
Short's value. |
String |
Package.toString()
Returns the string representation of this Package.
|
String |
Object.toString()
Returns a string representation of the object.
|
String |
Long.toString()
Returns a
String object representing this
Long's value. |
String |
Integer.toString()
Returns a
String object representing this
Integer's value. |
String |
Float.toString()
Returns a string representation of this
Float object. |
String |
Enum.toString()
Returns the name of this enum constant, as contained in the
declaration.
|
String |
Double.toString()
Returns a string representation of this
Double object. |
String |
Class.toString()
Converts the object to a string.
|
String |
Character.toString()
Returns a
String object representing this
Character's value. |
String |
Character.Subset.toString()
Returns the name of this subset.
|
String |
CharSequence.toString()
Returns a string containing the characters in this sequence in the same
order as this sequence.
|
String |
Byte.toString()
Returns a
String object representing this
Byte's value. |
String |
Boolean.toString()
Returns a
String object representing this Boolean's
value. |
static String |
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.toUpperCase(Locale locale)
Converts all of the characters in this
String to upper
case using the rules of the given 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 |
|---|---|
StringBuilder |
StringBuilder.append(String str) |
StringBuffer |
StringBuffer.append(String str) |
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 Short |
Short.decode(String nm)
Decodes a
String into a Short. |
static Long |
Long.decode(String nm)
Decodes a
String into a Long. |
static Integer |
Integer.decode(String nm)
Decodes a
String into an Integer. |
static Byte |
Byte.decode(String nm)
Decodes a
String into a Byte. |
protected Class<?> |
ClassLoader.defineClass(String name,
byte[] b,
int off,
int len)
Converts an array of bytes into an instance of class Class.
|
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. |
protected Class<?> |
ClassLoader.findClass(String name)
Finds the class with the specified binary name.
|
protected Class<?> |
ClassLoader.findLoadedClass(String name)
Returns the class with the given binary name if this
loader has been recorded by the Java virtual machine as an initiating
loader of a class with that binary name.
|
protected URL |
ClassLoader.findResource(String name)
Finds the resource with the given name.
|
protected Enumeration<URL> |
ClassLoader.findResources(String name)
Returns an enumeration of
URL objects
representing all the resources with the given name. |
static String |
String.format(Locale l,
String format,
Object... args)
Returns a formatted string using the specified locale, format string,
and arguments.
|
static String |
String.format(String format,
Object... args)
Returns a formatted string using the specified format string and
arguments.
|
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. |
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. |
protected Object |
ClassLoader.getClassLoadingLock(String className)
Returns the lock object for class loading operations.
|
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)
Bck2Brwsr emulation can only seek public methods, otherwise it
throws a
SecurityException. |
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. |
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. |
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. |
static Package |
Package.getPackage(String name)
Find a package by name in the callers
ClassLoader instance. |
static String |
System.getProperty(String name) |
static String |
System.getProperty(String key,
String def) |
URL |
ClassLoader.getResource(String name)
Finds the resource with the given name.
|
URL |
Class.getResource(String name)
Finds a resource with a given name.
|
InputStream |
ClassLoader.getResourceAsStream(String name)
Returns an input stream for reading the specified resource.
|
InputStream |
Class.getResourceAsStream(String name)
Finds a resource with a given name.
|
Enumeration<URL> |
ClassLoader.getResources(String name)
Finds all the resources with the given name.
|
static URL |
ClassLoader.getSystemResource(String name)
Find a resource of the specified name from the search path used to load
classes.
|
static InputStream |
ClassLoader.getSystemResourceAsStream(String name)
Open for reading, a resource of the specified name from the search path
used to load classes.
|
static Enumeration<URL> |
ClassLoader.getSystemResources(String name)
Finds all resources of the specified name from the search path used to
load classes.
|
int |
StringBuilder.indexOf(String str) |
int |
StringBuffer.indexOf(String str) |
int |
String.indexOf(String str)
Returns the index within this string of the first occurrence of the
specified substring.
|
int |
StringBuilder.indexOf(String str,
int fromIndex) |
int |
StringBuffer.indexOf(String str,
int fromIndex) |
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.
|
StringBuilder |
StringBuilder.insert(int offset,
String str) |
StringBuffer |
StringBuffer.insert(int offset,
String str) |
boolean |
Package.isCompatibleWith(String desired)
Compare this package's specification version with a
desired version.
|
int |
StringBuilder.lastIndexOf(String str) |
int |
StringBuffer.lastIndexOf(String str) |
int |
String.lastIndexOf(String str)
Returns the index within this string of the last occurrence of the
specified substring.
|
int |
StringBuilder.lastIndexOf(String str,
int fromIndex) |
int |
StringBuffer.lastIndexOf(String str,
int fromIndex) |
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.
|
Class<?> |
ClassLoader.loadClass(String name)
Loads the class with the specified binary name.
|
protected Class<?> |
ClassLoader.loadClass(String name,
boolean resolve)
Loads the class with the specified binary name.
|
boolean |
String.matches(String regex)
Tells whether or not this string matches the given regular expression.
|
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.
|
StringBuilder |
StringBuilder.replace(int start,
int end,
String str) |
StringBuffer |
StringBuffer.replace(int start,
int end,
String str) |
String |
String.replaceAll(String regex,
String replacement)
Replaces each substring of this string that matches the given regular expression with the
given replacement.
|
String |
String.replaceFirst(String regex,
String replacement)
Replaces the first substring of this string that matches the given regular expression with the
given replacement.
|
void |
Thread.setName(String name)
Changes the name of this thread to be equal to the argument
name. |
static String |
System.setProperty(String key,
String value) |
String[] |
String.split(String regex)
Splits this string around matches of the given regular expression.
|
String[] |
String.split(String regex,
int limit)
Splits this string around matches of the given
regular expression.
|
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)
Returns the enum constant of the specified enum type with the
specified name.
|
static Thread.State |
Thread.State.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static System.Logger.Level |
System.Logger.Level.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Short |
Short.valueOf(String s)
Returns a
Short object holding the
value given by the specified String. |
static Long |
Long.valueOf(String s)
Returns a
Long object holding the value
of the specified String. |
static Integer |
Integer.valueOf(String s)
Returns an
Integer object holding the
value of the specified String. |
static Float |
Float.valueOf(String s)
Returns a
Float object holding the
float value represented by the argument string
s. |
static Double |
Double.valueOf(String s)
Returns a
Double object holding the
double value represented by the argument string
s. |
static Byte |
Byte.valueOf(String s)
Returns a
Byte object holding the value
given by the specified String. |
static Boolean |
Boolean.valueOf(String s)
Returns a
Boolean with a value represented by the
specified string. |
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 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 Integer |
Integer.valueOf(String s,
int radix)
Returns an
Integer object holding the value
extracted from the specified String when parsed
with the radix given by the second argument. |
static 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. |
| 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. |
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.
|
Error(String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace)
Constructs a new error with the specified detail message,
cause, suppression enabled or disabled, and writable stack
trace enabled or disabled.
|
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.
|
Exception(String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace)
Constructs a new exception with the specified detail message,
cause, suppression enabled or disabled, and writable stack
trace enabled or disabled.
|
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.
|
IncompatibleClassChangeError(String s)
Constructs an
IncompatibleClassChangeError with the
specified detail message. |
IndexOutOfBoundsException(String s)
Constructs an
IndexOutOfBoundsException 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. |
NoSuchFieldError(String s)
Constructs a
NoSuchFieldError with the specified
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.
|
RuntimeException(String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace)
Constructs a new runtime exception with the specified detail
message, cause, suppression enabled or disabled, and writable
stack trace enabled or disabled.
|
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. |
StackTraceElement(String declaringClass,
String methodName,
String fileName,
int lineNumber)
Creates a stack trace element representing the specified execution
point.
|
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. |
Subset(String name)
Constructs a new
Subset instance. |
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.
|
Throwable(String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace)
Constructs a new throwable with the specified detail message,
cause, suppression enabled or
disabled, and writable stack trace enabled or disabled.
|
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.
|
VirtualMachineError(String message)
Constructs a
VirtualMachineError with the specified
detail message. |
VirtualMachineError(String message,
Throwable cause)
Constructs a
VirtualMachineError with the specified
detail message and cause. |
| Modifier and Type | Method and Description |
|---|---|
String |
IncompleteAnnotationException.elementName()
Returns the name of the missing element.
|
String |
AnnotationTypeMismatchException.foundType()
Returns the type of data found in the incorrectly typed element.
|
String |
Annotation.toString()
Returns a string representation of this annotation.
|
| Modifier and Type | Method and Description |
|---|---|
static RetentionPolicy |
RetentionPolicy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ElementType |
ElementType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
| Constructor and Description |
|---|
AnnotationFormatError(String message)
Constructs a new AnnotationFormatError with the specified
detail message.
|
AnnotationFormatError(String message,
Throwable cause)
Constructs a new AnnotationFormatError with the specified
detail message and cause.
|
AnnotationTypeMismatchException(Method element,
String foundType)
Constructs an AnnotationTypeMismatchException for the specified
annotation type element and found data type.
|
IncompleteAnnotationException(Class<? extends Annotation> annotationType,
String elementName)
Constructs an IncompleteAnnotationException to indicate that
the named element was missing from the specified annotation type.
|
| Modifier and Type | Method and Description |
|---|---|
String |
SerializedLambda.getCapturingClass()
Get the name of the class that captured this lambda.
|
String |
SerializedLambda.getFunctionalInterfaceClass()
Get the name of the invoked type to which this
lambda has been converted
|
String |
SerializedLambda.getFunctionalInterfaceMethodName()
Get the name of the primary method for the functional interface
to which this lambda has been converted.
|
String |
SerializedLambda.getFunctionalInterfaceMethodSignature()
Get the signature of the primary method for the functional
interface to which this lambda has been converted.
|
String |
SerializedLambda.getImplClass()
Get the name of the class containing the implementation
method.
|
String |
SerializedLambda.getImplMethodName()
Get the name of the implementation method.
|
String |
SerializedLambda.getImplMethodSignature()
Get the signature of the implementation method.
|
String |
SerializedLambda.getInstantiatedMethodType()
Get the signature of the primary functional interface method
after type variables are substituted with their instantiation
from the capture site.
|
String |
MethodType.toMethodDescriptorString()
Produces a bytecode descriptor representation of the method type.
|
String |
MethodType.toString()
Returns a string representation of the method type,
of the form
"(PT0,PT1...)RT". |
String |
MethodHandles.Lookup.toString()
Displays the name of the class from which lookups are to be made.
|
String |
MethodHandle.toString()
Returns a string representation of the method handle,
starting with the string
"MethodHandle" and
ending with the string representation of the method handle's type. |
| Modifier and Type | Method and Description |
|---|---|
static CallSite |
LambdaMetafactory.altMetafactory(MethodHandles.Lookup caller,
String invokedName,
MethodType invokedType,
Object... args)
Facilitates the creation of simple "function objects" that implement one
or more interfaces by delegation to a provided
MethodHandle,
after appropriate type adaptation and partial evaluation of arguments. |
MethodHandle |
MethodHandles.Lookup.bind(Object receiver,
String name,
MethodType type)
Produces an early-bound method handle for a non-static method.
|
MethodHandle |
MethodHandles.Lookup.findGetter(Class<?> refc,
String name,
Class<?> type)
Produces a method handle giving read access to a non-static field.
|
MethodHandle |
MethodHandles.Lookup.findSetter(Class<?> refc,
String name,
Class<?> type)
Produces a method handle giving write access to a non-static field.
|
MethodHandle |
MethodHandles.Lookup.findSpecial(Class<?> refc,
String name,
MethodType type,
Class<?> specialCaller)
Produces an early-bound method handle for a virtual method.
|
MethodHandle |
MethodHandles.Lookup.findStatic(Class<?> refc,
String name,
MethodType type)
Produces a method handle for a static method.
|
MethodHandle |
MethodHandles.Lookup.findStaticGetter(Class<?> refc,
String name,
Class<?> type)
Produces a method handle giving read access to a static field.
|
MethodHandle |
MethodHandles.Lookup.findStaticSetter(Class<?> refc,
String name,
Class<?> type)
Produces a method handle giving write access to a static field.
|
MethodHandle |
MethodHandles.Lookup.findVirtual(Class<?> refc,
String name,
MethodType type)
Produces a method handle for a virtual method.
|
static MethodType |
MethodType.fromMethodDescriptorString(String descriptor,
ClassLoader loader)
Finds or creates an instance of a method type, given the spelling of its bytecode descriptor.
|
static CallSite |
LambdaMetafactory.metafactory(MethodHandles.Lookup caller,
String invokedName,
MethodType invokedType,
MethodType samMethodType,
MethodHandle implMethod,
MethodType instantiatedMethodType)
Facilitates the creation of simple "function objects" that implement one
or more interfaces by delegation to a provided
MethodHandle,
after appropriate type adaptation and partial evaluation of arguments. |
| Constructor and Description |
|---|
SerializedLambda(Class<?> capturingClass,
String functionalInterfaceClass,
String functionalInterfaceMethodName,
String functionalInterfaceMethodSignature,
int implMethodKind,
String implClass,
String implMethodName,
String implMethodSignature,
String instantiatedMethodType,
Object[] capturedArgs)
Create a
SerializedLambda from the low-level information present
at the lambda factory site. |
| Modifier and Type | Method and Description |
|---|---|
String |
TypeVariable.getName()
Returns the name of this type variable, as it occurs in the source code.
|
String |
Method.getName()
Returns the name of the method represented by this
Method
object, as a String. |
String |
Member.getName()
Returns the simple name of the underlying member or constructor
represented by this Member.
|
String |
Field.getName()
Returns the name of the field represented by this
Field object. |
String |
Constructor.getName()
Returns the name of this constructor, as a string.
|
String |
Method.toGenericString()
Returns a string describing this
Method, including
type parameters. |
String |
Field.toGenericString()
Returns a string describing this
Field, including
its generic type. |
String |
Constructor.toGenericString()
Returns a string describing this
Constructor,
including type parameters. |
String |
Method.toString()
Returns a string describing this
Method. |
String |
Field.toString()
Returns a string describing this
Field. |
String |
Constructor.toString()
Returns a string describing this
Constructor. |
static String |
Modifier.toString(int mod)
Return a string describing the access modifier flags in
the specified modifier.
|
| Constructor and Description |
|---|
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. |
| Modifier and Type | Method and Description |
|---|---|
String |
BigDecimal.toEngineeringString()
Returns a string representation of this
BigDecimal,
using engineering notation if an exponent is needed. |
String |
BigDecimal.toPlainString()
Returns a string representation of this
BigDecimal
without an exponent field. |
String |
MathContext.toString()
Returns the string representation of this
MathContext. |
String |
BigInteger.toString()
Returns the decimal String representation of this BigInteger.
|
String |
BigDecimal.toString()
Returns the string representation of this
BigDecimal,
using scientific notation if an exponent is needed. |
String |
BigInteger.toString(int radix)
Returns the String representation of this BigInteger in the
given radix.
|
| Modifier and Type | Method and Description |
|---|---|
static RoundingMode |
RoundingMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
| Constructor and Description |
|---|
BigDecimal(String val)
Translates the string representation of a
BigDecimal
into a BigDecimal. |
BigDecimal(String val,
MathContext mc)
Translates the string representation of a
BigDecimal
into a BigDecimal, accepting the same strings as the
BigDecimal(String) constructor, with rounding
according to the context settings. |
BigInteger(String val)
Translates the decimal String representation of a BigInteger into a
BigInteger.
|
BigInteger(String val,
int radix)
Translates the String representation of a BigInteger in the
specified radix into a BigInteger.
|
MathContext(String val)
Constructs a new
MathContext from a string. |
| Modifier and Type | Method and Description |
|---|---|
String |
URL.getAuthority()
Gets the authority part of this
URL. |
String |
URI.getAuthority()
Returns the decoded authority component of this URI.
|
String |
URLConnection.getContentEncoding()
Returns the value of the
content-encoding header field. |
String |
URLConnection.getContentType()
Returns the value of the
content-type header field. |
static String |
URLConnection.getDefaultRequestProperty(String key)
Deprecated.
The instance specific getRequestProperty method
should be used after an appropriate instance of URLConnection
is obtained.
|
String |
URL.getFile()
Gets the file name of this
URL. |
String |
URI.getFragment()
Returns the decoded fragment component of this URI.
|
String |
URLConnection.getHeaderField(int n)
Returns the value for the
nth header field. |
String |
URLConnection.getHeaderField(String name)
Returns the value of the named header field.
|
String |
URLConnection.getHeaderFieldKey(int n)
Returns the key for the
nth header field. |
String |
URL.getHost()
Gets the host name of this
URL, if applicable. |
String |
URI.getHost()
Returns the host component of this URI.
|
String |
URISyntaxException.getInput()
Returns the input string.
|
String |
URISyntaxException.getMessage()
Returns a string describing the parse error.
|
String |
URL.getPath()
Gets the path part of this
URL. |
String |
URI.getPath()
Returns the decoded path component of this URI.
|
String |
URL.getProtocol()
Gets the protocol name of this
URL. |
String |
URL.getQuery()
Gets the query part of this
URL. |
String |
URI.getQuery()
Returns the decoded query component of this URI.
|
String |
URI.getRawAuthority()
Returns the raw authority component of this URI.
|
String |
URI.getRawFragment()
Returns the raw fragment component of this URI.
|
String |
URI.getRawPath()
Returns the raw path component of this URI.
|
String |
URI.getRawQuery()
Returns the raw query component of this URI.
|
String |
URI.getRawSchemeSpecificPart()
Returns the raw scheme-specific part of this URI.
|
String |
URI.getRawUserInfo()
Returns the raw user-information component of this URI.
|
String |
URISyntaxException.getReason()
Returns a string explaining why the input string could not be parsed.
|
String |
URL.getRef()
Gets the anchor (also known as the "reference") of this
URL. |
String |
URLConnection.getRequestProperty(String key)
Returns the value of the named general request property for this
connection.
|
String |
URI.getScheme()
Returns the scheme component of this URI.
|
String |
URI.getSchemeSpecificPart()
Returns the decoded scheme-specific part of this URI.
|
String |
URL.getUserInfo()
Gets the userInfo part of this
URL. |
String |
URI.getUserInfo()
Returns the decoded user-information component of this URI.
|
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 |
URI.toASCIIString()
Returns the content of this URI as a US-ASCII string.
|
String |
URL.toExternalForm()
Constructs a string representation of this
URL. |
protected String |
URLStreamHandler.toExternalForm(URL u)
Converts a
URL of a specific protocol to a
String. |
String |
URLConnection.toString()
Returns a
String representation of this URL connection. |
String |
URL.toString()
Constructs a string representation of this
URL. |
String |
URI.toString()
Returns the content of this URI as a string.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,List<String>> |
URLConnection.getHeaderFields()
Returns an unmodifiable Map of the header fields.
|
Map<String,List<String>> |
URLConnection.getHeaderFields()
Returns an unmodifiable Map of the header fields.
|
Map<String,List<String>> |
URLConnection.getRequestProperties()
Returns an unmodifiable Map of general request
properties for this connection.
|
Map<String,List<String>> |
URLConnection.getRequestProperties()
Returns an unmodifiable Map of general request
properties for this connection.
|
| Modifier and Type | Method and Description |
|---|---|
void |
URLConnection.addRequestProperty(String key,
String value)
Adds a general request property specified by a
key-value pair.
|
static URI |
URI.create(String str)
Creates a URI by parsing the given string.
|
static String |
URLConnection.getDefaultRequestProperty(String key)
Deprecated.
The instance specific getRequestProperty method
should be used after an appropriate instance of URLConnection
is obtained.
|
String |
URLConnection.getHeaderField(String name)
Returns the value of the named header field.
|
long |
URLConnection.getHeaderFieldDate(String name,
long Default)
Returns the value of the named field parsed as date.
|
int |
URLConnection.getHeaderFieldInt(String name,
int Default)
Returns the value of the named field parsed as a number.
|
long |
URLConnection.getHeaderFieldLong(String name,
long Default)
Returns the value of the named field parsed as a number.
|
String |
URLConnection.getRequestProperty(String key)
Returns the value of the named general request property for this
connection.
|
static String |
URLConnection.guessContentTypeFromName(String fname)
Tries to determine the content type of an object, based
on the specified "file" component of a URL.
|
protected void |
URLStreamHandler.parseURL(URL u,
String spec,
int start,
int limit)
Parses the string representation of a
URL into a
URL object. |
URI |
URI.resolve(String str)
Constructs a new URI by parsing the given string and then resolving it
against this URI.
|
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.
|
static void |
URLConnection.setDefaultRequestProperty(String key,
String value)
Deprecated.
The instance specific setRequestProperty method
should be used after an appropriate instance of URLConnection
is obtained. Invoking this method will have no effect.
|
void |
URLConnection.setRequestProperty(String key,
String value)
Sets the general request property.
|
protected void |
URLStreamHandler.setURL(URL u,
String protocol,
String host,
int port,
String file,
String ref)
Deprecated.
Use setURL(URL, String, String, int, String, String, String,
String);
|
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. |
| Constructor and Description |
|---|
MalformedURLException(String msg)
Constructs a
MalformedURLException with the
specified detail message. |
URI(String str)
Constructs a URI by parsing the given string.
|
URI(String scheme,
String ssp,
String fragment)
Constructs a URI from the given components.
|
URI(String scheme,
String userInfo,
String host,
int port,
String path,
String query,
String fragment)
Constructs a hierarchical URI from the given components.
|
URI(String scheme,
String host,
String path,
String fragment)
Constructs a hierarchical URI from the given components.
|
URI(String scheme,
String authority,
String path,
String query,
String fragment)
Constructs a hierarchical URI from the given components.
|
URISyntaxException(String input,
String reason)
Constructs an instance from the given input string and reason.
|
URISyntaxException(String input,
String reason,
int index)
Constructs an instance from the given input string, reason, and error
index.
|
URL(String spec)
Creates a
URL object from the String
representation. |
URL(String protocol,
String host,
int port,
String file)
Creates a
URL object from the specified
protocol, host, port
number, and file. |
URL(String protocol,
String host,
int port,
String file,
URLStreamHandler handler)
Creates a
URL object from the specified
protocol, host, port
number, file, and handler. |
URL(String protocol,
String host,
String file)
Creates a URL from the specified
protocol
name, host name, and file name. |
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.
|
| Modifier and Type | Method and Description |
|---|---|
String |
Charset.displayName()
Returns this charset's human-readable name for the default locale.
|
String |
Charset.displayName(Locale locale)
Returns this charset's human-readable name for the given locale.
|
String |
UnsupportedCharsetException.getCharsetName()
Retrieves the name of the unsupported charset.
|
String |
IllegalCharsetNameException.getCharsetName()
Retrieves the illegal charset name.
|
String |
Charset.name()
Returns this charset's canonical name.
|
String |
CharsetDecoder.replacement()
Returns this decoder's replacement value.
|
String |
Charset.toString()
Returns a string describing this charset.
|
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
Charset.aliases()
Returns a set containing this charset's aliases.
|
static SortedMap<String,Charset> |
Charset.availableCharsets()
Constructs a sorted map from canonical charset names to charset objects.
|
| Modifier and Type | Method and Description |
|---|---|
static Charset |
Charset.forName(String charsetName)
Returns a charset object for the named charset.
|
protected void |
CharsetDecoder.implReplaceWith(String newReplacement)
Reports a change to this decoder's replacement value.
|
static boolean |
Charset.isSupported(String charsetName)
Tells whether the named charset is supported.
|
CharsetDecoder |
CharsetDecoder.replaceWith(String newReplacement)
Changes this decoder's replacement value.
|
| Constructor and Description |
|---|
Charset(String canonicalName,
String[] aliases)
Initializes a new charset with the given canonical name and alias
set.
|
Charset(String canonicalName,
String[] aliases)
Initializes a new charset with the given canonical name and alias
set.
|
IllegalCharsetNameException(String charsetName)
Constructs an instance of this class.
|
UnsupportedCharsetException(String charsetName)
Constructs an instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
String |
PrivilegedActionException.toString() |
| Modifier and Type | Method and Description |
|---|---|
String |
DateFormat.format(Date date)
Formats a Date into a date/time string.
|
String |
NumberFormat.format(double number)
Specialization of format.
|
String |
NumberFormat.format(long number)
Specialization of format.
|
String |
Format.format(Object obj)
Formats an object to produce a string.
|
static String |
MessageFormat.format(String pattern,
Object... arguments)
Creates a MessageFormat with the given pattern and uses it
to format the given arguments.
|
String[] |
DateFormatSymbols.getAmPmStrings()
Gets ampm strings.
|
String |
DecimalFormatSymbols.getCurrencySymbol()
Returns the currency symbol for the currency of these
DecimalFormatSymbols in their locale.
|
String[] |
DateFormatSymbols.getEras()
Gets era strings.
|
String |
DecimalFormatSymbols.getExponentSeparator()
Returns the string used to separate the mantissa from the exponent.
|
String |
DecimalFormatSymbols.getInfinity()
Gets the string used to represent infinity.
|
String |
DecimalFormatSymbols.getInternationalCurrencySymbol()
Returns the ISO 4217 currency code of the currency of these
DecimalFormatSymbols.
|
String |
DateFormatSymbols.getLocalPatternChars()
Gets localized date-time pattern characters.
|
String[] |
DateFormatSymbols.getMonths()
Gets month strings.
|
protected String |
AttributedCharacterIterator.Attribute.getName()
Returns the name of the attribute.
|
String |
DecimalFormatSymbols.getNaN()
Gets the string used to represent "not a number".
|
String |
DecimalFormat.getNegativePrefix()
Get the negative prefix.
|
String |
DecimalFormat.getNegativeSuffix()
Get the negative suffix.
|
String |
DecimalFormat.getPositivePrefix()
Get the positive prefix.
|
String |
DecimalFormat.getPositiveSuffix()
Get the positive suffix.
|
String[] |
DateFormatSymbols.getShortMonths()
Gets short month strings.
|
String[] |
DateFormatSymbols.getShortWeekdays()
Gets short weekday strings.
|
String[] |
DateFormatSymbols.getWeekdays()
Gets weekday strings.
|
String[][] |
DateFormatSymbols.getZoneStrings()
Gets time zone strings.
|
String |
SimpleDateFormat.toLocalizedPattern()
Returns a localized pattern string describing this date format.
|
String |
DecimalFormat.toLocalizedPattern()
Synthesizes a localized pattern string that represents the current
state of this Format object.
|
String |
SimpleDateFormat.toPattern()
Returns a pattern string describing this date format.
|
String |
MessageFormat.toPattern()
Returns a pattern representing the current state of the message format.
|
String |
DecimalFormat.toPattern()
Synthesizes a pattern string that represents the current state
of this Format object.
|
String |
ChoiceFormat.toPattern()
Gets the pattern.
|
String |
ParsePosition.toString()
Return a string representation of this ParsePosition.
|
String |
FieldPosition.toString()
Return a string representation of this FieldPosition.
|
String |
AttributedCharacterIterator.Attribute.toString()
Returns a string representation of the object.
|
String |
Annotation.toString()
Returns the String representation of this Annotation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SimpleDateFormat.applyLocalizedPattern(String pattern)
Applies the given localized pattern string to this date format.
|
void |
DecimalFormat.applyLocalizedPattern(String pattern)
Apply the given pattern to this Format object.
|
void |
SimpleDateFormat.applyPattern(String pattern)
Applies the given pattern string to this date format.
|
void |
MessageFormat.applyPattern(String pattern)
Sets the pattern used by this message format.
|
void |
DecimalFormat.applyPattern(String pattern)
Apply the given pattern to this Format object.
|
void |
ChoiceFormat.applyPattern(String newPattern)
Sets the pattern.
|
static String |
MessageFormat.format(String pattern,
Object... arguments)
Creates a MessageFormat with the given pattern and uses it
to format the given arguments.
|
Number |
NumberFormat.parse(String source)
Parses text from the beginning of the given string to produce a number.
|
Object[] |
MessageFormat.parse(String source)
Parses text from the beginning of the given string to produce an object
array.
|
Date |
DateFormat.parse(String source)
Parses text from the beginning of the given string to produce a date.
|
Date |
SimpleDateFormat.parse(String text,
ParsePosition pos)
Parses text from a string to produce a
Date. |
abstract Number |
NumberFormat.parse(String source,
ParsePosition parsePosition)
Returns a Long if possible (e.g., within the range [Long.MIN_VALUE,
Long.MAX_VALUE] and with no decimals), otherwise a Double.
|
Object[] |
MessageFormat.parse(String source,
ParsePosition pos)
Parses the string.
|
Number |
DecimalFormat.parse(String text,
ParsePosition pos)
Parses text from a string to produce a
Number. |
abstract Date |
DateFormat.parse(String source,
ParsePosition pos)
Parse a date/time string according to the given parse position.
|
Number |
ChoiceFormat.parse(String text,
ParsePosition status)
Parses a Number from the input text.
|
Object |
Format.parseObject(String source)
Parses text from the beginning of the given string to produce an object.
|
Object |
NumberFormat.parseObject(String source,
ParsePosition pos)
Parses text from a string to produce a
Number. |
Object |
MessageFormat.parseObject(String source,
ParsePosition pos)
Parses text from a string to produce an object array.
|
abstract Object |
Format.parseObject(String source,
ParsePosition pos)
Parses text from a string to produce an object.
|
Object |
DateFormat.parseObject(String source,
ParsePosition pos)
Parses text from a string to produce a
Date. |
void |
DateFormatSymbols.setAmPmStrings(String[] newAmpms)
Sets ampm strings.
|
void |
ChoiceFormat.setChoices(double[] limits,
String[] formats)
Set the choices to be used in formatting.
|
void |
DecimalFormatSymbols.setCurrencySymbol(String currency)
Sets the currency symbol for the currency of these
DecimalFormatSymbols in their locale.
|
void |
DateFormatSymbols.setEras(String[] newEras)
Sets era strings.
|
void |
DecimalFormatSymbols.setExponentSeparator(String exp)
Sets the string used to separate the mantissa from the exponent.
|
void |
DecimalFormatSymbols.setInfinity(String infinity)
Sets the string used to represent infinity.
|
void |
DecimalFormatSymbols.setInternationalCurrencySymbol(String currencyCode)
Sets the ISO 4217 currency code of the currency of these
DecimalFormatSymbols.
|
void |
DateFormatSymbols.setLocalPatternChars(String newLocalPatternChars)
Sets localized date-time pattern characters.
|
void |
DateFormatSymbols.setMonths(String[] newMonths)
Sets month strings.
|
void |
DecimalFormatSymbols.setNaN(String NaN)
Sets the string used to represent "not a number".
|
void |
DecimalFormat.setNegativePrefix(String newValue)
Set the negative prefix.
|
void |
DecimalFormat.setNegativeSuffix(String newValue)
Set the negative suffix.
|
void |
DecimalFormat.setPositivePrefix(String newValue)
Set the positive prefix.
|
void |
DecimalFormat.setPositiveSuffix(String newValue)
Set the positive suffix.
|
void |
DateFormatSymbols.setShortMonths(String[] newShortMonths)
Sets short month strings.
|
void |
DateFormatSymbols.setShortWeekdays(String[] newShortWeekdays)
Sets short weekday strings.
|
void |
DateFormatSymbols.setWeekdays(String[] newWeekdays)
Sets weekday strings.
|
void |
DateFormatSymbols.setZoneStrings(String[][] newZoneStrings)
Sets time zone strings.
|
| Constructor and Description |
|---|
Attribute(String name)
Constructs an
Attribute with the given name. |
AttributedString(String text)
Constructs an AttributedString instance with the given text.
|
AttributedString(String text,
Map<? extends AttributedCharacterIterator.Attribute,?> attributes)
Constructs an AttributedString instance with the given text and attributes.
|
ChoiceFormat(double[] limits,
String[] formats)
Constructs with the limits and the corresponding formats.
|
ChoiceFormat(String newPattern)
Constructs with limits and corresponding formats based on the pattern.
|
DecimalFormat(String pattern)
Creates a DecimalFormat using the given pattern and the symbols
for the default locale.
|
DecimalFormat(String pattern,
DecimalFormatSymbols symbols)
Creates a DecimalFormat using the given pattern and symbols.
|
Field(String name)
Creates a Field instance with the specified
name.
|
Field(String name)
Creates a Field with the specified name.
|
Field(String name)
Creates a Field with the specified name.
|
Field(String name,
int calendarField)
Creates a
Field. |
MessageFormat(String pattern)
Constructs a MessageFormat for the default locale and the
specified pattern.
|
MessageFormat(String pattern,
Locale locale)
Constructs a MessageFormat for the specified locale and
pattern.
|
ParseException(String s,
int errorOffset)
Constructs a ParseException with the specified detail message and
offset.
|
SimpleDateFormat(String pattern)
Constructs a
SimpleDateFormat using the given pattern and
the default date format symbols for the default locale. |
SimpleDateFormat(String pattern,
DateFormatSymbols formatSymbols)
Constructs a
SimpleDateFormat using the given pattern and
date format symbols. |
SimpleDateFormat(String pattern,
Locale locale)
Constructs a
SimpleDateFormat using the given pattern and
the default date format symbols for the given locale. |
| Modifier and Type | Field and Description |
|---|---|
static List<String> |
ResourceBundle.Control.FORMAT_CLASS
The class-only format
List containing
"java.class". |
static List<String> |
ResourceBundle.Control.FORMAT_DEFAULT
The default format
List, which contains the strings
"java.class" and "java.properties", in
this order. |
static List<String> |
ResourceBundle.Control.FORMAT_PROPERTIES
The properties-only format
List containing
"java.properties". |
| Modifier and Type | Method and Description |
|---|---|
static String |
Arrays.deepToString(Object[] a)
Returns a string representation of the "deep contents" of the specified
array.
|
static String[] |
TimeZone.getAvailableIDs()
Gets all the available IDs supported.
|
static String[] |
TimeZone.getAvailableIDs(int rawOffset)
Gets the available IDs according to the given time zone offset in milliseconds.
|
String |
MissingResourceException.getClassName()
Gets parameter passed by constructor.
|
String |
Locale.getCountry()
Returns the country/region code for this locale, which should
either be the empty string, an uppercase ISO 3166 2-letter code,
or a UN M.49 3-digit code.
|
String |
Currency.getCurrencyCode()
Gets the ISO 4217 currency code of this currency.
|
String |
TimeZone.getDisplayName()
Returns a long standard time name of this
TimeZone suitable for
presentation to the user in the default locale. |
String |
Currency.getDisplayName()
Gets the name that is suitable for displaying this currency for
the default locale.
|
String |
TimeZone.getDisplayName(boolean daylight,
int style)
Returns a name in the specified
style of this TimeZone
suitable for presentation to the user in the default locale. |
String |
TimeZone.getDisplayName(boolean daylight,
int style,
Locale locale)
Returns a name in the specified
style of this TimeZone
suitable for presentation to the user in the specified locale. |
String |
Calendar.getDisplayName(int field,
int style,
Locale locale)
Returns the string representation of the calendar
field value in the given style and
locale. |
String |
TimeZone.getDisplayName(Locale locale)
Returns a long standard time name of this
TimeZone suitable for
presentation to the user in the specified locale. |
String |
Currency.getDisplayName(Locale locale)
Gets the name that is suitable for displaying this currency for
the specified locale.
|
String |
Locale.getExtension(char key)
Returns the extension (or private use) value associated with
the specified key, or null if there is no extension
associated with the key.
|
String |
TimeZone.getID()
Gets the ID of this time zone.
|
String |
MissingResourceException.getKey()
Gets parameter passed by constructor.
|
String |
Locale.getLanguage()
Returns the language code of this Locale.
|
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 |
Locale.getScript()
Returns the script for this locale, which should
either be the empty string or an ISO 15924 4-letter script
code.
|
String |
ResourceBundle.getString(String key)
Gets a string for the given key from this resource bundle or one of its parents.
|
String[] |
ResourceBundle.getStringArray(String key)
Gets a string array for the given key from this resource bundle or one of its parents.
|
String |
Currency.getSymbol()
Gets the symbol of this currency for the default locale.
|
String |
Currency.getSymbol(Locale locale)
Gets the symbol of this currency for the specified locale.
|
String |
Locale.getUnicodeLocaleType(String key)
Returns the Unicode locale type associated with the specified Unicode locale key
for this locale.
|
String |
Locale.getVariant()
Returns the variant code for this locale.
|
String |
StringTokenizer.nextToken()
Returns the next token from this string tokenizer.
|
String |
StringTokenizer.nextToken(String delim)
Returns the next token in this string tokenizer's string.
|
String |
ResourceBundle.Control.toBundleName(String baseName,
Locale locale)
Converts the given
baseName and locale
to the bundle name. |
String |
Date.toGMTString()
Deprecated.
As of JDK version 1.1,
replaced by
DateFormat.format(Date date), using a
GMT TimeZone. |
String |
Date.toLocaleString()
Deprecated.
As of JDK version 1.1,
replaced by
DateFormat.format(Date date). |
String |
ResourceBundle.Control.toResourceName(String bundleName,
String suffix)
Converts the given
bundleName to the form required
by the ClassLoader.getResource
method by replacing all occurrences of '.' in
bundleName with '/' and appending a
'.' and the given file suffix. |
String |
Vector.toString()
Returns a string representation of this Vector, containing
the String representation of each element.
|
String |
StringJoiner.toString()
Returns the current value, consisting of the
prefix, the values
added so far separated by the delimiter, and the suffix,
unless no elements have been added in which case, the
prefix + suffix or the emptyValue characters are returned |
String |
SimpleTimeZone.toString()
Returns a string representation of this time zone.
|
String |
ServiceLoader.toString()
Returns a string describing this service.
|
String |
OptionalLong.toString()
Returns a string representation of the object.
|
String |
OptionalInt.toString()
Returns a string representation of the object.
|
String |
OptionalDouble.toString()
Returns a string representation of the object.
|
String |
Optional.toString()
Returns a non-empty string representation of this
Optional
suitable for debugging. |
String |
LongSummaryStatistics.toString() |
String |
Locale.toString()
Returns a string representation of this
Locale
object, consisting of language, country, variant, script,
and extensions as below: |
String |
IntSummaryStatistics.toString() |
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 |
EventObject.toString()
Returns a String representation of this EventObject.
|
String |
DoubleSummaryStatistics.toString()
Returns a string representation of the object.
|
String |
Date.toString()
Converts this
Date object to a String
of the form:
|
String |
Currency.toString()
Returns the ISO 4217 currency code of this currency.
|
String |
Calendar.toString()
Return a string representation of this calendar.
|
String |
BitSet.toString()
Returns a string representation of this bit set.
|
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.
|
static String |
Arrays.toString(boolean[] a)
Returns a string representation of the contents of the specified array.
|
static String |
Arrays.toString(byte[] a)
Returns a string representation of the contents of the specified array.
|
static String |
Arrays.toString(char[] a)
Returns a string representation of the contents of the specified array.
|
static String |
Arrays.toString(double[] a)
Returns a string representation of the contents of the specified array.
|
static String |
Arrays.toString(float[] a)
Returns a string representation of the contents of the specified array.
|
static String |
Arrays.toString(int[] a)
Returns a string representation of the contents of the specified array.
|
static String |
Arrays.toString(long[] a)
Returns a string representation of the contents of the specified array.
|
static String |
Objects.toString(Object o)
Returns the result of calling
toString for a non-null argument and "null" for a null argument. |
static String |
Arrays.toString(Object[] a)
Returns a string representation of the contents of the specified array.
|
static String |
Objects.toString(Object o,
String nullDefault)
Returns the result of calling
toString on the first
argument if the first argument is not null and returns
the second argument otherwise. |
static String |
Arrays.toString(short[] a)
Returns a string representation of the contents of the specified array.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Integer> |
Calendar.getDisplayNames(int field,
int style,
Locale locale)
Returns a
Map containing all names of the calendar
field in the given style and
locale and their corresponding field values. |
List<String> |
ResourceBundle.Control.getFormats(String baseName)
Returns a
List of Strings containing
formats to be used to load resource bundles for the given
baseName. |
abstract Enumeration<String> |
ResourceBundle.getKeys()
Returns an enumeration of the keys.
|
Enumeration<String> |
PropertyResourceBundle.getKeys()
Returns an
Enumeration of the keys contained in
this ResourceBundle and its parent bundles. |
Set<String> |
Locale.getUnicodeLocaleAttributes()
Returns the set of unicode locale attributes associated with
this locale, or the empty set if it has no attributes.
|
Set<String> |
Locale.getUnicodeLocaleKeys()
Returns the set of Unicode locale keys defined by this locale, or the empty set if
this locale has none.
|
protected Set<String> |
ResourceBundle.handleKeySet()
Returns a
Set of the keys contained only
in this ResourceBundle. |
protected Set<String> |
PropertyResourceBundle.handleKeySet()
Returns a
Set of the keys contained
only in this ResourceBundle. |
Set<String> |
ResourceBundle.keySet()
Returns a
Set of all keys contained in this
ResourceBundle and its parent bundles. |
Set<String> |
Properties.stringPropertyNames()
Returns a set of keys in this property list where
the key and its corresponding value are strings,
including distinct keys in the default property list if a key
of the same name has not already been found from the main
properties list.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ResourceBundle.containsKey(String key)
Determines whether the given
key is contained in
this ResourceBundle or its parent bundles. |
static ResourceBundle |
ResourceBundle.getBundle(String baseName)
Gets a resource bundle using the specified base name, the default locale,
and the caller's class loader.
|
static ResourceBundle |
ResourceBundle.getBundle(String baseName,
Locale locale)
Gets a resource bundle using the specified base name and locale,
and the caller's class loader.
|
static ResourceBundle |
ResourceBundle.getBundle(String baseName,
Locale locale,
ClassLoader loader)
Gets a resource bundle using the specified base name, locale, and class
loader.
|
static ResourceBundle |
ResourceBundle.getBundle(String baseName,
Locale targetLocale,
ClassLoader loader,
ResourceBundle.Control control)
Returns a resource bundle using the specified base name, target
locale, class loader and control.
|
static ResourceBundle |
ResourceBundle.getBundle(String baseName,
Locale targetLocale,
ResourceBundle.Control control)
Returns a resource bundle using the specified base name, target
locale and control, and the caller's class loader.
|
static ResourceBundle |
ResourceBundle.getBundle(String baseName,
ResourceBundle.Control control)
Returns a resource bundle using the specified base name, the
default locale and the specified control.
|
List<Locale> |
ResourceBundle.Control.getCandidateLocales(String baseName,
Locale locale)
Returns a
List of Locales as candidate
locales for baseName and locale. |
Locale |
ResourceBundle.Control.getFallbackLocale(String baseName,
Locale locale)
Returns a
Locale to be used as a fallback locale for
further resource bundle searches by the
ResourceBundle.getBundle factory method. |
List<String> |
ResourceBundle.Control.getFormats(String baseName)
Returns a
List of Strings containing
formats to be used to load resource bundles for the given
baseName. |
static Currency |
Currency.getInstance(String currencyCode)
Returns the
Currency instance for the given currency code. |
Object |
ResourceBundle.getObject(String key)
Gets an object for the given key from this resource bundle or one of its parents.
|
String |
Properties.getProperty(String key)
Searches for the property with the specified key in this property list.
|
String |
Properties.getProperty(String key,
String defaultValue)
Searches for the property with the specified key in this property list.
|
String |
ResourceBundle.getString(String key)
Gets a string for the given key from this resource bundle or one of its parents.
|
String[] |
ResourceBundle.getStringArray(String key)
Gets a string array for the given key from this resource bundle or one of its parents.
|
long |
ResourceBundle.Control.getTimeToLive(String baseName,
Locale locale)
Returns the time-to-live (TTL) value for resource bundles that
are loaded under this
ResourceBundle.Control. |
static TimeZone |
TimeZone.getTimeZone(String ID)
Gets the
TimeZone for the given ID. |
String |
Locale.getUnicodeLocaleType(String key)
Returns the Unicode locale type associated with the specified Unicode locale key
for this locale.
|
protected abstract Object |
ResourceBundle.handleGetObject(String key)
Gets an object for the given key from this resource bundle.
|
Object |
PropertyResourceBundle.handleGetObject(String key) |
boolean |
ResourceBundle.Control.needsReload(String baseName,
Locale locale,
String format,
ClassLoader loader,
ResourceBundle bundle,
long loadTime)
Determines if the expired
bundle in the cache needs
to be reloaded based on the loading time given by
loadTime or some other criteria. |
ResourceBundle |
ResourceBundle.Control.newBundle(String baseName,
Locale locale,
String format,
ClassLoader loader,
boolean reload)
Instantiates a resource bundle for the given bundle name of the
given format and locale, using the given class loader if
necessary.
|
String |
StringTokenizer.nextToken(String delim)
Returns the next token in this string tokenizer's string.
|
static long |
Date.parse(String s)
Deprecated.
As of JDK version 1.1,
replaced by
DateFormat.parse(String s). |
static <T> T |
Objects.requireNonNull(T obj,
String message)
Checks that the specified object reference is not
null and
throws a customized NullPointerException if it is. |
void |
Properties.save(OutputStream out,
String comments)
Deprecated.
This method does not throw an IOException if an I/O error
occurs while saving the property list. The preferred way to save a
properties list is via the
store(OutputStream out,
String comments) method or the
storeToXML(OutputStream os, String comment) method. |
void |
TimeZone.setID(String ID)
Sets the time zone ID.
|
Object |
Properties.setProperty(String key,
String value)
Calls the Hashtable method
put. |
void |
Properties.store(OutputStream out,
String comments)
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(InputStream) method. |
void |
Properties.store(Writer writer,
String comments)
Writes this property list (key and element pairs) in this
Properties table to the output character stream in a
format suitable for using the load(Reader)
method. |
void |
Properties.storeToXML(OutputStream os,
String comment)
Emits an XML document representing all of the properties contained
in this table.
|
void |
Properties.storeToXML(OutputStream os,
String comment,
String encoding)
Emits an XML document representing all of the properties contained
in this table, using the specified encoding.
|
String |
ResourceBundle.Control.toBundleName(String baseName,
Locale locale)
Converts the given
baseName and locale
to the bundle name. |
String |
ResourceBundle.Control.toResourceName(String bundleName,
String suffix)
Converts the given
bundleName to the form required
by the ClassLoader.getResource
method by replacing all occurrences of '.' in
bundleName with '/' and appending a
'.' and the given file suffix. |
static String |
Objects.toString(Object o,
String nullDefault)
Returns the result of calling
toString on the first
argument if the first argument is not null and returns
the second argument otherwise. |
static Locale.Category |
Locale.Category.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
| Modifier and Type | Method and Description |
|---|---|
static ResourceBundle.Control |
ResourceBundle.Control.getControl(List<String> formats)
|
static ResourceBundle.Control |
ResourceBundle.Control.getNoFallbackControl(List<String> formats)
Returns a
ResourceBundle.Control in which the getFormats method returns the specified
formats and the getFallbackLocale
method returns null. |
static <T> T |
Objects.requireNonNull(T obj,
Supplier<String> messageSupplier)
Checks that the specified object reference is not
null and
throws a customized NullPointerException if it is. |
| 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.
|
Date(String s)
Deprecated.
As of JDK version 1.1,
replaced by
DateFormat.parse(String s). |
Locale(String language)
Construct a locale from a language code.
|
Locale(String language,
String country)
Construct a locale from language and country.
|
Locale(String language,
String country,
String variant)
Construct a locale from language, country and variant.
|
MissingResourceException(String s,
String className,
String key)
Constructs a MissingResourceException with the specified information.
|
NoSuchElementException(String s)
Constructs a
NoSuchElementException, saving a reference
to the error message string s for later retrieval by the
getMessage method. |
ServiceConfigurationError(String msg)
Constructs a new instance with the specified message.
|
ServiceConfigurationError(String msg,
Throwable cause)
Constructs a new instance with the specified message and cause.
|
SimpleTimeZone(int rawOffset,
String ID)
Constructs a SimpleTimeZone with the given base time zone offset from GMT
and time zone ID with no daylight saving time schedule.
|
SimpleTimeZone(int rawOffset,
String ID,
int startMonth,
int startDay,
int startDayOfWeek,
int startTime,
int endMonth,
int endDay,
int endDayOfWeek,
int endTime)
Constructs a SimpleTimeZone with the given base time zone offset from
GMT, time zone ID, and rules for starting and ending the daylight
time.
|
SimpleTimeZone(int rawOffset,
String ID,
int startMonth,
int startDay,
int startDayOfWeek,
int startTime,
int endMonth,
int endDay,
int endDayOfWeek,
int endTime,
int dstSavings)
Constructs a SimpleTimeZone with the given base time zone offset from
GMT, time zone ID, and rules for starting and ending the daylight
time.
|
SimpleTimeZone(int rawOffset,
String ID,
int startMonth,
int startDay,
int startDayOfWeek,
int startTime,
int startTimeMode,
int endMonth,
int endDay,
int endDayOfWeek,
int endTime,
int endTimeMode,
int dstSavings)
Constructs a SimpleTimeZone with the given base time zone offset from
GMT, time zone ID, and rules for starting and ending the daylight
time.
|
StringTokenizer(String str)
Constructs a string tokenizer for the specified string.
|
StringTokenizer(String str,
String delim)
Constructs a string tokenizer for the specified string.
|
StringTokenizer(String str,
String delim,
boolean returnDelims)
Constructs a string tokenizer for the specified string.
|
Timer(String name)
Creates a new timer whose associated thread has the specified name.
|
Timer(String name,
boolean isDaemon)
Creates a new timer whose associated thread has the specified name,
and may be specified to
run as a daemon.
|
| Modifier and Type | Method and Description |
|---|---|
String |
ThreadPoolExecutor.toString()
Returns a string identifying this pool, as well as its state,
including indications of run state and estimated worker and
task counts.
|
String |
Semaphore.toString()
Returns a string identifying this semaphore, as well as its state.
|
String |
PriorityBlockingQueue.toString() |
String |
Phaser.toString()
Returns a string identifying this phaser, as well as its
state.
|
String |
LinkedBlockingQueue.toString() |
String |
LinkedBlockingDeque.toString() |
String |
ForkJoinPool.toString()
Returns a string identifying this pool, as well as its state,
including indications of run state, parallelism level, and
worker and task counts.
|
String |
CountDownLatch.toString()
Returns a string identifying this latch, as well as its state.
|
String |
CopyOnWriteArrayList.toString()
Returns a string representation of this list.
|
String |
ConcurrentHashMap.toString() |
String |
ArrayBlockingQueue.toString() |
| Modifier and Type | Method and Description |
|---|---|
static TimeUnit |
TimeUnit.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
| Constructor and Description |
|---|
BrokenBarrierException(String message)
Constructs a BrokenBarrierException with the specified
detail message.
|
CancellationException(String message)
Constructs a CancellationException with the specified detail
message.
|
ExecutionException(String message)
Constructs an ExecutionException with the specified detail
message.
|
ExecutionException(String message,
Throwable cause)
Constructs an ExecutionException with the specified detail
message and cause.
|
RejectedExecutionException(String message)
Constructs a RejectedExecutionException with the
specified detail message.
|
RejectedExecutionException(String message,
Throwable cause)
Constructs a RejectedExecutionException with the
specified detail message and cause.
|
TimeoutException(String message)
Constructs a TimeoutException with the specified detail
message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
AtomicReferenceArray.toString()
Returns the String representation of the current values of array.
|
String |
AtomicReference.toString()
Returns the String representation of the current value.
|
String |
AtomicLongArray.toString()
Returns the String representation of the current values of array.
|
String |
AtomicLong.toString()
Returns the String representation of the current value.
|
String |
AtomicIntegerArray.toString()
Returns the String representation of the current values of array.
|
String |
AtomicInteger.toString()
Returns the String representation of the current value.
|
String |
AtomicBoolean.toString()
Returns the String representation of the current value.
|
| Modifier and Type | Method and Description |
|---|---|
static <U,W> AtomicReferenceFieldUpdater<U,W> |
AtomicReferenceFieldUpdater.newUpdater(Class<U> tclass,
Class<W> vclass,
String fieldName)
Creates and returns an updater for objects with the given field.
|
static <U> AtomicLongFieldUpdater<U> |
AtomicLongFieldUpdater.newUpdater(Class<U> tclass,
String fieldName)
Creates and returns an updater for objects with the given field.
|
static <U> AtomicIntegerFieldUpdater<U> |
AtomicIntegerFieldUpdater.newUpdater(Class<U> tclass,
String fieldName)
Creates and returns an updater for objects with the given field.
|
| Modifier and Type | Method and Description |
|---|---|
String |
ReentrantReadWriteLock.toString()
Returns a string identifying this lock, as well as its lock state.
|
String |
ReentrantReadWriteLock.ReadLock.toString()
Returns a string identifying this lock, as well as its lock state.
|
String |
ReentrantReadWriteLock.WriteLock.toString()
Returns a string identifying this lock, as well as its lock
state.
|
String |
ReentrantLock.toString()
Returns a string identifying this lock, as well as its lock state.
|
String |
AbstractQueuedSynchronizer.toString()
Returns a string identifying this synchronizer, as well as its state.
|
String |
AbstractQueuedLongSynchronizer.toString()
Returns a string identifying this synchronizer, as well as its state.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
Logger.GLOBAL_LOGGER_NAME
GLOBAL_LOGGER_NAME is a name for the global logger.
|
| Modifier and Type | Method and Description |
|---|---|
String |
Level.getLocalizedName()
Return the localized string name of the Level, for
the current default locale.
|
String |
LogRecord.getLoggerName()
Get the source Logger's name.
|
String |
LogRecord.getMessage()
Get the "raw" log message, before localization or formatting.
|
String |
Logger.getName()
Get the name for this logger.
|
String |
Level.getName()
Return the non-localized string name of the Level.
|
String |
Logger.getResourceBundleName()
Retrieve the localization resource bundle name for this
logger.
|
String |
LogRecord.getResourceBundleName()
Get the localization resource bundle name
|
String |
Level.getResourceBundleName()
Return the level's localization resource bundle name, or
null if no localization bundle is defined.
|
String |
LogRecord.getSourceClassName()
Get the name of the class that (allegedly) issued the logging request.
|
String |
LogRecord.getSourceMethodName()
Get the name of the method that (allegedly) issued the logging request.
|
String |
Level.toString()
Returns a string representation of this Level.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Logger.config(String msg)
Log a CONFIG message.
|
void |
Logger.entering(String sourceClass,
String sourceMethod)
Log a method entry.
|
void |
Logger.entering(String sourceClass,
String sourceMethod,
Object param1)
Log a method entry, with one parameter.
|
void |
Logger.entering(String sourceClass,
String sourceMethod,
Object[] params)
Log a method entry, with an array of parameters.
|
void |
Logger.exiting(String sourceClass,
String sourceMethod)
Log a method return.
|
void |
Logger.exiting(String sourceClass,
String sourceMethod,
Object result)
Log a method return, with result object.
|
void |
Logger.fine(String msg)
Log a FINE message.
|
void |
Logger.finer(String msg)
Log a FINER message.
|
void |
Logger.finest(String msg)
Log a FINEST message.
|
static Logger |
Logger.getAnonymousLogger(String resourceBundleName)
Create an anonymous Logger.
|
static Logger |
Logger.getLogger(String name)
Find or create a logger for a named subsystem.
|
static Logger |
Logger.getLogger(String name,
String resourceBundleName)
Find or create a logger for a named subsystem.
|
void |
Logger.info(String msg)
Log an INFO message.
|
void |
Logger.log(Level level,
String msg)
Log a message, with no arguments.
|
void |
Logger.log(Level level,
String msg,
Object param1)
Log a message, with one object parameter.
|
void |
Logger.log(Level level,
String msg,
Object[] params)
Log a message, with an array of object arguments.
|
void |
Logger.log(Level level,
String msg,
Throwable thrown)
Log a message, with associated Throwable information.
|
void |
Logger.logp(Level level,
String sourceClass,
String sourceMethod,
String msg)
Log a message, specifying source class and method,
with no arguments.
|
void |
Logger.logp(Level level,
String sourceClass,
String sourceMethod,
String msg,
Object param1)
Log a message, specifying source class and method,
with a single object parameter to the log message.
|
void |
Logger.logp(Level level,
String sourceClass,
String sourceMethod,
String msg,
Object[] params)
Log a message, specifying source class and method,
with an array of object arguments.
|
void |
Logger.logp(Level level,
String sourceClass,
String sourceMethod,
String msg,
Throwable thrown)
Log a message, specifying source class and method,
with associated Throwable information.
|
void |
Logger.logrb(Level level,
String sourceClass,
String sourceMethod,
String bundleName,
String msg)
Log a message, specifying source class, method, and resource bundle name
with no arguments.
|
void |
Logger.logrb(Level level,
String sourceClass,
String sourceMethod,
String bundleName,
String msg,
Object param1)
Log a message, specifying source class, method, and resource bundle name,
with a single object parameter to the log message.
|
void |
Logger.logrb(Level level,
String sourceClass,
String sourceMethod,
String bundleName,
String msg,
Object[] params)
Log a message, specifying source class, method, and resource bundle name,
with an array of object arguments.
|
void |
Logger.logrb(Level level,
String sourceClass,
String sourceMethod,
String bundleName,
String msg,
Throwable thrown)
Log a message, specifying source class, method, and resource bundle name,
with associated Throwable information.
|
static Level |
Level.parse(String name)
Parse a level name string into a Level.
|
void |
LogRecord.setLoggerName(String name)
Set the source Logger's name.
|
void |
LogRecord.setMessage(String message)
Set the "raw" log message, before localization or formatting.
|
void |
LogRecord.setResourceBundleName(String name)
Set the localization resource bundle name.
|
void |
LogRecord.setSourceClassName(String sourceClassName)
Set the name of the class that (allegedly) issued the logging request.
|
void |
LogRecord.setSourceMethodName(String sourceMethodName)
Set the name of the method that (allegedly) issued the logging request.
|
void |
Logger.severe(String msg)
Log a SEVERE message.
|
void |
Logger.throwing(String sourceClass,
String sourceMethod,
Throwable thrown)
Log throwing an exception.
|
void |
Logger.warning(String msg)
Log a WARNING message.
|
| Constructor and Description |
|---|
Level(String name,
int value)
Create a named Level with a given integer value.
|
Level(String name,
int value,
String resourceBundleName)
Create a named Level with a given integer value and a
given localization resource name.
|
Logger(String name,
String resourceBundleName)
Protected method to construct a logger for a named subsystem.
|
LogRecord(Level level,
String msg)
Construct a LogRecord with the given level and message values.
|
| Modifier and Type | Method and Description |
|---|---|
String |
PatternSyntaxException.getDescription()
Retrieves the description of the error.
|
String |
PatternSyntaxException.getMessage()
Returns a multi-line string containing the description of the syntax
error and its index, the erroneous regular-expression pattern, and a
visual indication of the error index within the pattern.
|
String |
PatternSyntaxException.getPattern()
Retrieves the erroneous regular-expression pattern.
|
String |
Matcher.group()
Returns the input subsequence matched by the previous match.
|
String |
MatchResult.group()
Returns the input subsequence matched by the previous match.
|
String |
Matcher.group(int group)
Returns the input subsequence captured by the given group during the
previous match operation.
|
String |
MatchResult.group(int group)
Returns the input subsequence captured by the given group during the
previous match operation.
|
String |
Matcher.group(String name)
Returns the input subsequence captured by the given
named-capturing group during the previous
match operation.
|
String |
Pattern.pattern()
Returns the regular expression from which this pattern was compiled.
|
static String |
Pattern.quote(String s)
Returns a literal pattern
String for the specified
String. |
static String |
Matcher.quoteReplacement(String s)
Returns a literal replacement
String for the specified
String. |
String |
Matcher.replaceAll(String replacement)
Replaces every subsequence of the input sequence that matches the
pattern with the given replacement string.
|
String |
Matcher.replaceFirst(String replacement)
Replaces the first subsequence of the input sequence that matches the
pattern with the given replacement string.
|
String[] |
Pattern.split(CharSequence input)
Splits the given input sequence around matches of this pattern.
|
String[] |
Pattern.split(CharSequence input,
int limit)
Splits the given input sequence around matches of this pattern.
|
String |
Pattern.toString()
Returns the string representation of this pattern.
|
String |
Matcher.toString()
Returns the string representation of this matcher.
|
| Modifier and Type | Method and Description |
|---|---|
Matcher |
Matcher.appendReplacement(StringBuffer sb,
String replacement)
Implements a non-terminal append-and-replace step.
|
static Pattern |
Pattern.compile(String regex)
Compiles the given regular expression into a pattern.
|
static Pattern |
Pattern.compile(String regex,
int flags)
Compiles the given regular expression into a pattern with the given
flags.
|
String |
Matcher.group(String name)
Returns the input subsequence captured by the given
named-capturing group during the previous
match operation.
|
static boolean |
Pattern.matches(String regex,
CharSequence input)
Compiles the given regular expression and attempts to match the given
input against it.
|
static String |
Pattern.quote(String s)
Returns a literal pattern
String for the specified
String. |
static String |
Matcher.quoteReplacement(String s)
Returns a literal replacement
String for the specified
String. |
String |
Matcher.replaceAll(String replacement)
Replaces every subsequence of the input sequence that matches the
pattern with the given replacement string.
|
String |
Matcher.replaceFirst(String replacement)
Replaces the first subsequence of the input sequence that matches the
pattern with the given replacement string.
|
| Constructor and Description |
|---|
PatternSyntaxException(String desc,
String regex,
int index)
Constructs a new instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
static Collector<CharSequence,?,String> |
Collectors.joining()
Returns a
Collector that concatenates the input elements into a
String, in encounter order. |
static Collector<CharSequence,?,String> |
Collectors.joining(CharSequence delimiter)
Returns a
Collector that concatenates the input elements,
separated by the specified delimiter, in encounter order. |
static Collector<CharSequence,?,String> |
Collectors.joining(CharSequence delimiter,
CharSequence prefix,
CharSequence suffix)
Returns a
Collector that concatenates the input elements,
separated by the specified delimiter, with the specified prefix and
suffix, in encounter order. |
| Modifier and Type | Method and Description |
|---|---|
static Collector.Characteristics |
Collector.Characteristics.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
Console.parseBase64Binary(String s) |
| Modifier and Type | Method and Description |
|---|---|
static void |
Console.harness(String url) |
static String |
Console.parseBase64Binary(String s) |
| Modifier and Type | Method and Description |
|---|---|
Bck2Brwsr |
Bck2Brwsr.addClasses(String... classes)
Adds additional classes
to the list of those that should be included in the generated
JavaScript file.
|
Bck2Brwsr |
Bck2Brwsr.addExported(String... exported)
Adds exported classes or packages.
|
Bck2Brwsr |
Bck2Brwsr.addResources(String... resources)
These resources should be made available in the compiled file in
binary form.
|
Bck2Brwsr |
Bck2Brwsr.addRootClasses(String... classes)
Adds additional classes
to the list of those that should be included in the generated
JavaScript file.
|
static void |
Bck2Brwsr.generate(Appendable out,
Bck2Brwsr.Resources resources,
String... classes)
Helper method to generate virtual machine from bytes served by a
resources
provider. |
static void |
Bck2Brwsr.generate(Appendable out,
ClassLoader loader,
String... classes)
Helper method to generate virtual machine from bytes served by a class loader.
|
InputStream |
Bck2Brwsr.Resources.get(String resource)
Loads given resource (class or other file like image).
|
Bck2Brwsr |
Bck2Brwsr.library(String... classpath)
Should one generate a library? By default the system generates
all transitive classes needed by the the transitive closure of
Bck2Brwsr.addRootClasses(java.lang.String...) and Bck2Brwsr.addClasses(java.lang.String...). |
static ObfuscationLevel |
ObfuscationLevel.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
ServiceProviderProcessor.getSupportedAnnotationTypes() |
Set<String> |
NamedServiceProcessor.getSupportedAnnotationTypes() |
| Modifier and Type | Method and Description |
|---|---|
Iterable<? extends Completion> |
ServiceProviderProcessor.getCompletions(Element annotated,
AnnotationMirror annotation,
ExecutableElement attr,
String userText) |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
Lookup.Item.getDisplayName()
Get a human presentable name for the item.
|
String |
Lookup.Template.getId()
Get the persistent identifier being searched for, if any.
|
abstract String |
Lookup.Item.getId()
Get a persistent identifier for the item.
|
String |
Lookup.Template.toString() |
String |
Lookup.Item.toString() |
| Constructor and Description |
|---|
Template(Class<T> type,
String id,
T instance)
Constructor to create new template.
|
| Modifier and Type | Method and Description |
|---|---|
String |
InstanceContent.Convertor.displayName(T obj)
The human presentable name for the object.
|
String |
InstanceContent.Convertor.id(T obj)
Computes the ID of the resulted object.
|
String |
ProxyLookup.toString() |
String |
AbstractLookup.toString() |
| Modifier and Type | Method and Description |
|---|---|
static Lookup |
Lookups.forPath(String path)
Creates a
namedlookup. |
static <T> Lookup.Item<T> |
Lookups.lookupItem(T instance,
String id)
Creates
Lookup.Item representing the instance passed in. |
static Lookup |
Lookups.metaInfServices(ClassLoader classLoader,
String prefix)
Returns a lookup that behaves exactly like
Lookups.metaInfServices(ClassLoader)
except that it does not read data from META-INF/services/, but instead
from the specified prefix. |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Lookup |
NamedServicesProvider.create(String path)
Create the lookup for given path.
|
static Lookup |
NamedServicesProvider.forPath(String path) |
static <T> T |
NamedServicesProvider.getConfigObject(String filePath,
Class<T> type)
Finds a config object under given path.
|
protected <T> T |
NamedServicesProvider.lookupObject(String path,
Class<T> type)
Finds a config object under given path.
|
protected void |
AbstractServiceProviderProcessor.register(Element el,
Class<? extends Annotation> annotation,
TypeMirror type,
String path,
int position,
String... supersedes)
Register a service.
|
protected void |
AbstractServiceProviderProcessor.register(Element el,
Class<? extends Annotation> annotation,
TypeMirror type,
String path,
int position,
String... supersedes)
Register a service.
|
protected void |
AbstractServiceProviderProcessor.register(Element el,
String path) |
protected void |
AbstractServiceProviderProcessor.register(TypeElement el,
Class<? extends Annotation> annotation,
TypeMirror type,
String path,
int position,
String[] supersedes)
Deprecated.
|
protected void |
AbstractServiceProviderProcessor.register(TypeElement el,
Class<? extends Annotation> annotation,
TypeMirror type,
String path,
int position,
String[] supersedes)
Deprecated.
|
Copyright © 2025 API Design. All Rights Reserved.