Package | Description |
---|---|
ej.bon | |
ej.drawing | |
ej.microui | |
ej.microui.display | |
ej.microui.event | |
ej.microui.event.generator | |
java.io | |
java.lang | |
java.lang.annotation | |
java.net | |
java.security | |
java.security.cert | |
java.util | |
javax.net | |
javax.net.ssl |
Modifier and Type | Method and Description |
---|---|
static String[] |
Immutables.allIDs()
Returns an array with the IDs of all the objects in the pool.
|
static String |
Constants.getString(String name)
Gets a
String constant. |
String |
ResourceBuffer.readString()
Reads a
String and increments position in the data. |
Modifier and Type | Method and Description |
---|---|
static Object |
Immutables.get(String ID)
Retrieves the object that match the the given ID in the immutable objects
pool.
|
static boolean |
Constants.getBoolean(String name)
Gets a
boolean constant. |
static byte |
Constants.getByte(String name)
Gets a
byte constant. |
static char |
Constants.getChar(String name)
Gets a
char constant. |
static Class<?> |
Constants.getClass(String name)
Gets a
Class constant. |
static double |
Constants.getDouble(String name)
Gets a
double constant. |
static float |
Constants.getFloat(String name)
Gets a
float constant. |
static int |
Constants.getInt(String name)
Gets an
int constant. |
static long |
Constants.getLong(String name)
Gets a
long constant. |
static short |
Constants.getShort(String name)
Gets a
short constant. |
static String |
Constants.getString(String name)
Gets a
String constant. |
static void |
Immutables.put(String ID,
Object object)
Maps the given ID to the given object in the immutable objects pool.
|
Constructor and Description |
---|
IllegalStateException(String s)
Constructs an IllegalStateException with the specified detail message.
|
ImmutablesError(String msg)
Constructs an ImmutablesError with the specified detail message.
|
ResourceBuffer(String name)
Opens a
ResourceBuffer on the resource described by its path. |
Modifier and Type | Method and Description |
---|---|
static void |
TransformPainter.drawScaledStringBilinear(GraphicsContext gc,
String string,
Font font,
int x,
int y,
float factorX,
float factorY)
Draws the string in the graphics context at given anchor top-left position and using the given scaling factor.
|
static void |
TransformPainter.drawScaledSubstringBilinear(GraphicsContext gc,
String string,
int offset,
int length,
Font font,
int x,
int y,
float factorX,
float factorY)
Draws the substring in the graphics context at given anchor top-left position and using the given scaling factor.
|
static TransformPainter.Flip |
TransformPainter.Flip.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShapePainter.Cap |
ShapePainter.Cap.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
Modifier and Type | Field and Description |
---|---|
static String |
MicroUIPermission.ACTION_START
Action to start MicroUI.
|
static String |
MicroUIPermission.ACTION_STOP
Action to stop MicroUI.
|
Modifier and Type | Method and Description |
---|---|
String |
MicroUIPermission.getActions() |
Constructor and Description |
---|
MicroUIPermission(String action)
Creates a permission for events generated by the given event generator with
null as name. |
Modifier and Type | Method and Description |
---|---|
String |
ImagePermission.getActions() |
String |
FontPermission.getActions() |
String |
DisplayPermission.getActions() |
String |
Font.getDescriptor()
Returns the descriptor of this font.
|
String |
RenderableString.getString()
Returns the string associated with this renderable string.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
Image.canGetImage(String path)
Returns whether an image can be retrieved from a resource.
|
static boolean |
ResourceImage.canLoadImage(String path)
Returns whether an image can be loaded from a resource.
|
static void |
Painter.drawString(GraphicsContext gc,
String string,
Font font,
int x,
int y)
Draws a string.
|
static void |
Painter.drawSubstring(GraphicsContext gc,
String string,
int offset,
int length,
Font font,
int x,
int y)
Draws a subset of a string.
|
static Font |
Font.getFont(String path)
Returns the font matching a given path.
|
static Image |
Image.getImage(String path)
Gets an immutable image from a resource.
|
static ResourceImage |
ResourceImage.loadImage(String path)
Loads an immutable image from a resource.
|
static ResourceImage |
ResourceImage.loadImage(String path,
ResourceImage.OutputFormat format)
Loads an immutable image from a resource.
|
int |
Font.stringWidth(String string)
Returns the width of a string when it is drawn using this font.
|
int |
Font.substringWidth(String string,
int offset,
int length)
Returns the width of a part of a string when it is drawn using this font.
|
static ResourceImage.OutputFormat |
ResourceImage.OutputFormat.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
Constructor and Description |
---|
RenderableString(String string,
Font font)
Creates a renderable string.
|
Modifier and Type | Method and Description |
---|---|
String |
EventPermission.getActions() |
Modifier and Type | Method and Description |
---|---|
abstract void |
GenericEventGenerator.setProperty(String name,
String value)
Called at startup to configure the event generator with the specific properties set in the MicroUI XML file.
|
Modifier and Type | Method and Description |
---|---|
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 |
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 |
ByteArrayOutputStream.toString()
Converts the buffer's contents into a string decoding bytes using the platform's default
character set.
|
Modifier and Type | Method and Description |
---|---|
void |
PrintStream.print(String s)
Prints a string.
|
void |
PrintStream.println(String x)
Prints a String and then terminate the line.
|
void |
Writer.write(String str)
Writes a string.
|
void |
Writer.write(String str,
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 |
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 |
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. |
InputStreamReader(InputStream in,
String charsetName)
Creates an InputStreamReader that uses the named charset.
|
InterruptedIOException(String s)
Constructs an
InterruptedIOException with the specified detail message. |
IOException(String message)
Constructs an
IOException with the specified detail message. |
IOException(String message,
Throwable cause)
Constructs an
IOException with the specified detail message and cause. |
OutputStreamWriter(OutputStream out,
String charsetName)
Creates an OutputStreamWriter that uses the named charset.
|
PrintStream(OutputStream out,
boolean autoFlush,
String encoding)
Creates a new print stream.
|
UnsupportedEncodingException(String s)
Constructs an UnsupportedEncodingException with a detail message.
|
UTFDataFormatException(String s)
Constructs a
UTFDataFormatException with the specified detail message. |
Modifier and Type | Field and Description |
---|---|
static Comparator<String> |
String.CASE_INSENSITIVE_ORDER
A Comparator that orders
String objects as by compareToIgnoreCase . |
Modifier and Type | Method and Description |
---|---|
String |
String.concat(String str)
Concatenates the specified string to the end of this string.
|
static String |
String.copyValueOf(char[] data)
Returns a String that represents the character sequence in the array specified.
|
static String |
String.copyValueOf(char[] data,
int offset,
int count)
Returns a String that represents the character sequence in the array specified.
|
String |
StackTraceElement.getClassName()
Returns the fully qualified name of the class containing the execution point represented by this
stack trace element.
|
String |
StackTraceElement.getFileName()
Returns the name of the source file containing the execution point represented by this stack
trace element.
|
String |
Throwable.getLocalizedMessage()
Creates a localized description of this throwable.
|
String |
Throwable.getMessage()
Returns the detail message string of this throwable.
|
String |
StackTraceElement.getMethodName()
Returns the name of the method containing the execution point represented by this stack trace
element.
|
String |
Thread.getName()
Returns this thread's name.
|
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 key)
Gets the system property indicated by the specified key.
|
static String |
System.getProperty(String key,
String def)
Gets the system property indicated by the specified key.
|
String |
Class.getSimpleName()
Returns the simple name of the underlying class as given in the source code.
|
String |
String.intern()
Returns a canonical representation for the string object.
|
String |
Enum.name()
Returns the name of this enum constant, exactly as declared in its enum declaration.
|
String |
String.replace(char oldChar,
char newChar)
Returns a new string resulting from replacing all occurrences of
oldChar in this
string with newChar . |
String |
String.replace(CharSequence target,
CharSequence replacement)
Replaces each substring of this string that matches the literal target sequence with the
specified literal replacement sequence.
|
String |
StringBuilder.substring(int start)
Returns a new
String that contains a subsequence of characters
currently contained in this character sequence. |
String |
StringBuffer.substring(int start)
Returns a new
String that contains a subsequence of characters currently contained
in this character sequence. |
String |
String.substring(int beginIndex)
Returns a new string that is a substring of this string.
|
String |
StringBuilder.substring(int start,
int end)
Returns a new
String that contains a subsequence of characters
currently contained in this sequence. |
String |
StringBuffer.substring(int start,
int end)
Returns a new
String that contains a subsequence of characters currently contained
in this sequence. |
String |
String.substring(int beginIndex,
int endIndex)
Returns a new string that is a substring of this string.
|
static String |
Integer.toBinaryString(int i)
Returns a string representation of the integer argument as an unsigned integer in base 2.
|
static String |
Long.toBinaryString(long i)
Returns a string representation of the
long argument as an unsigned integer in
base 2. |
static String |
Integer.toHexString(int i)
Returns a string representation of the integer argument as an unsigned integer in base 16.
|
static String |
Long.toHexString(long i)
Returns a string representation of the
long argument as an unsigned integer in
base 16. |
String |
String.toLowerCase()
Converts all of the characters in this
String to lower case using the rules of the
default locale. |
static String |
Integer.toOctalString(int i)
Returns a string representation of the integer argument as an unsigned integer in base 8.
|
String |
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 |
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.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)
Appends the specified string to this character sequence.
|
StringBuffer |
StringBuffer.append(String str)
Appends the specified string to this character sequence.
|
int |
String.compareTo(String anotherString)
Compares two strings lexicographically.
|
int |
String.compareToIgnoreCase(String str)
Compares two strings lexicographically, ignoring case differences.
|
String |
String.concat(String str)
Concatenates the specified string to the end of this string.
|
static 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 . |
boolean |
String.endsWith(String suffix)
Tests if this string ends with the specified suffix.
|
boolean |
String.equalsIgnoreCase(String anotherString)
Compares this
String to another String , ignoring case considerations. |
static Class<?> |
Class.forName(String className)
Returns the
Class object associated with the class or interface with the given string
name. |
static boolean |
Boolean.getBoolean(String name)
Returns
true if and only if the system property named by the argument exists and is equal
to the string "true" . |
byte[] |
String.getBytes(String charsetName)
Encodes this
String into a sequence of bytes using the named charset, storing the result
into a new byte array. |
static Integer |
Integer.getInteger(String nm)
Determines the integer value of the system property with the specified name.
|
static Integer |
Integer.getInteger(String nm,
int val)
Determines the integer value of the system property with the specified name.
|
static Integer |
Integer.getInteger(String nm,
Integer val)
Returns the integer value of the system property with the specified name.
|
static Long |
Long.getLong(String nm)
Determines the
long value of the system property with the specified name. |
static Long |
Long.getLong(String nm,
long val)
Determines the
long value of the system property with the specified name. |
static Long |
Long.getLong(String nm,
Long val)
Returns the
long value of the system property with the specified name. |
static String |
System.getProperty(String key)
Gets the system property indicated by the specified key.
|
static String |
System.getProperty(String key,
String def)
Gets the system property indicated by the specified key.
|
InputStream |
Class.getResourceAsStream(String name)
Finds a resource with a given name.
|
int |
StringBuilder.indexOf(String str)
Returns the index within this string of the first occurrence of the specified substring.
|
int |
StringBuffer.indexOf(String str)
Returns the index within this string of the first occurrence of the specified substring.
|
int |
String.indexOf(String str)
Returns the index within this string of the first occurrence of the specified substring.
|
int |
StringBuilder.indexOf(String str,
int fromIndex)
Returns the index within this string of the first occurrence of the specified substring, starting
at the specified index.
|
int |
StringBuffer.indexOf(String str,
int fromIndex)
Returns the index within this string of the first occurrence of the specified substring, starting
at the specified index.
|
int |
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)
Inserts the string into this character sequence.
|
StringBuffer |
StringBuffer.insert(int offset,
String str)
Inserts the string into this character sequence.
|
int |
StringBuilder.lastIndexOf(String str)
Returns the index within this string of the rightmost occurrence of the specified substring.
|
int |
StringBuffer.lastIndexOf(String str)
Returns the index within this string of the rightmost occurrence of the specified substring.
|
int |
String.lastIndexOf(String str)
Returns the index within this string of the last occurrence of the specified substring.
|
int |
StringBuilder.lastIndexOf(String str,
int fromIndex)
Returns the index within this string of the last occurrence of the specified substring.
|
int |
StringBuffer.lastIndexOf(String str,
int fromIndex)
Returns the index within this string of the last occurrence of the specified substring.
|
int |
String.lastIndexOf(String str,
int fromIndex)
Returns the index within this string of the last occurrence of the specified substring, searching
backward starting at the specified index.
|
static boolean |
Boolean.parseBoolean(String s)
Parses the string argument as a boolean.
|
static byte |
Byte.parseByte(String s)
Parses the string argument as a signed decimal
byte . |
static byte |
Byte.parseByte(String s,
int radix)
Parses the string argument as a signed
byte in the radix specified by the second
argument. |
static double |
Double.parseDouble(String s)
Returns a new
double initialized to the value represented by the specified
String , as performed by the valueOf method of class Double . |
static float |
Float.parseFloat(String s)
Returns a new
float initialized to the value represented by the specified String ,
as performed by the valueOf method of class Float . |
static int |
Integer.parseInt(String s)
Parses the string argument as a signed decimal integer.
|
static int |
Integer.parseInt(String s,
int radix)
Parses the string argument as a signed integer in the radix specified by the second argument.
|
static long |
Long.parseLong(String s)
Parses the string argument as a signed decimal
long . |
static long |
Long.parseLong(String s,
int radix)
Parses the string argument as a signed
long in the radix specified by the second
argument. |
static short |
Short.parseShort(String s)
Parses the string argument as a signed decimal
short . |
static short |
Short.parseShort(String s,
int radix)
Parses the string argument as a signed
short in the radix specified by the second
argument. |
boolean |
String.regionMatches(boolean ignoreCase,
int toffset,
String other,
int ooffset,
int len)
Tests if two string regions are equal.
|
boolean |
String.regionMatches(int toffset,
String other,
int ooffset,
int len)
Tests if two string regions are equal.
|
StringBuilder |
StringBuilder.replace(int start,
int end,
String str)
Replaces the characters in a substring of this sequence with characters in the specified
String . |
StringBuffer |
StringBuffer.replace(int start,
int end,
String str)
Replaces the characters in a substring of this sequence with characters in the specified
String . |
void |
Thread.setName(String name)
Changes the name of this thread to be equal to the argument
name . |
boolean |
String.startsWith(String prefix)
Tests if this string starts with the specified prefix.
|
boolean |
String.startsWith(String prefix,
int toffset)
Tests if the substring of this string beginning at the specified index starts with the specified
prefix.
|
static <T extends Enum<T>> |
Enum.valueOf(Class<T> enumType,
String name)
This method is available for compilation purpose.
|
static Thread.State |
Thread.State.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. |
ClassCircularityError(String s)
Constructs a
ClassCircularityError with the specified detail message. |
ClassFormatError(String s)
Constructs a
ClassFormatError with the specified detail message. |
ClassNotFoundException(String s)
Constructs a
ClassNotFoundException with the specified detail message. |
ClassNotFoundException(String s,
Throwable ex)
Constructs a
ClassNotFoundException with the specified detail message and optional
exception that was raised while loading the class. |
CloneNotSupportedException(String s)
Constructs a
CloneNotSupportedException with the specified detail message. |
Double(String s)
Constructs a newly allocated
Double object that represents the floating-point value of
type double represented by the string. |
Enum(String name,
int ordinal)
Sole constructor.
|
Error(String message)
Constructs a new error with the specified detail message.
|
Error(String message,
Throwable cause)
Constructs a new error with the specified detail message and cause.
|
Exception(String message)
Constructs a new exception with the specified detail message.
|
Exception(String message,
Throwable cause)
Constructs a new exception with the specified detail message and cause.
|
ExceptionInInitializerError(String s)
Constructs an ExceptionInInitializerError with the specified detail message string.
|
Float(String s)
Constructs a newly allocated
Float object that represents the floating-point value of
type float represented by the string. |
IllegalAccessError(String s)
Constructs an
IllegalAccessError with the specified detail message. |
IllegalAccessException(String s)
Constructs an
IllegalAccessException with a detail message. |
IllegalArgumentException(String s)
Constructs an
IllegalArgumentException with the specified detail message. |
IllegalArgumentException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and cause.
|
IllegalMonitorStateException(String s)
Constructs an
IllegalMonitorStateException with the specified detail message. |
IllegalStateException(String s)
Constructs an IllegalStateException with the specified detail message.
|
IllegalStateException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and cause.
|
IllegalThreadStateException(String s)
Constructs an
IllegalThreadStateException with the specified detail message. |
IncompatibleClassChangeError(String s)
Constructs an
IncompatibleClassChangeError with the specified detail message. |
IndexOutOfBoundsException(String s)
Constructs an
IndexOutOfBoundsException with the specified detail message. |
InstantiationError(String s)
Constructs an
InstantiationError with the specified detail message. |
InstantiationException(String s)
Constructs an
InstantiationException with the specified detail message. |
Integer(String s)
Constructs a newly allocated
Integer object that represents the int value
indicated by the String parameter. |
InternalError(String s)
Constructs an
InternalError with the specified detail message. |
InterruptedException(String s)
Constructs an
InterruptedException with the specified detail message. |
LinkageError(String s)
Constructs a
LinkageError with the specified detail message. |
LinkageError(String s,
Throwable cause)
Constructs a
LinkageError with the specified detail message and cause. |
Long(String s)
Constructs a newly allocated
Long object that represents the long value indicated
by the String parameter. |
NegativeArraySizeException(String s)
Constructs a
NegativeArraySizeException with the specified detail message. |
NoClassDefFoundError(String s)
Constructs a
NoClassDefFoundError with the specified detail message. |
NoSuchFieldError(String s)
Constructs a
NoSuchFieldError with the specified detail message. |
NoSuchFieldException(String s)
Constructor with a detail message.
|
NoSuchMethodError(String s)
Constructs a
NoSuchMethodError with the specified detail message. |
NoSuchMethodException(String s)
Constructs a
NoSuchMethodException with a detail message. |
NullPointerException(String s)
Constructs a
NullPointerException with the specified detail message. |
NumberFormatException(String s)
Constructs a
NumberFormatException with the specified detail message. |
OutOfMemoryError(String s)
Constructs an
OutOfMemoryError with the specified detail message. |
ReflectiveOperationException(String message)
Constructs a new exception with the specified detail message.
|
ReflectiveOperationException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and cause.
|
RuntimeException(String message)
Constructs a new runtime exception with the specified detail message.
|
RuntimeException(String message,
Throwable cause)
Constructs a new runtime exception with the specified detail message and cause.
|
RuntimePermission(String name) |
RuntimePermission(String name,
String actions) |
SecurityException(String s)
Constructs a
SecurityException with the specified detail message. |
SecurityException(String message,
Throwable cause)
Creates a
SecurityException with the specified detail message and cause. |
Short(String s)
Constructs a newly allocated
Short object that represents the short value
indicated by the String parameter. |
StackOverflowError(String s)
Constructs a
StackOverflowError with the specified detail message. |
String(byte[] bytes,
int offset,
int length,
String charsetName)
Constructs a new
String by decoding the specified subarray of bytes using the specified
charset. |
String(byte[] bytes,
String charsetName)
Constructs a new
String by decoding the specified array of bytes using the specified
charset. |
String(String original)
Initializes a newly created
String object so that it represents the same sequence of
characters as the argument; in other words, the newly created string is a copy of the argument
string. |
StringBuffer(String str)
Constructs a string buffer initialized to the contents of the specified string.
|
StringBuilder(String str)
Constructs a string builder initialized to the contents of the specified string.
|
StringIndexOutOfBoundsException(String s)
Constructs a
StringIndexOutOfBoundsException with the specified detail message. |
Thread(Runnable target,
String name)
Allocates a new
Thread object. |
Thread(String name)
Allocates a new
Thread object. |
Throwable(String message)
Constructs a new throwable with the specified detail message.
|
Throwable(String message,
Throwable cause)
Constructs a new throwable with the specified detail message and cause.
|
UnknownError(String s)
Constructs an
UnknownError with the specified detail message. |
UnsatisfiedLinkError(String s)
Constructs an
UnsatisfiedLinkError with the specified detail message. |
UnsupportedClassVersionError(String s)
Constructs a
UnsupportedClassVersionError with the specified detail message. |
UnsupportedOperationException(String message)
Constructs an UnsupportedOperationException with the specified detail message.
|
UnsupportedOperationException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and cause.
|
VerifyError(String s)
Constructs an
VerifyError with the specified detail message. |
VirtualMachineError(String s)
Constructs a
VirtualMachineError with the specified detail message. |
Modifier and Type | Method and Description |
---|---|
String |
Annotation.toString()
Returns a string representation of this annotation.
|
Modifier and Type | Method and Description |
---|---|
static 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.
|
Modifier and Type | Method and Description |
---|---|
String |
SocketPermission.getActions()
Returns the canonical string representation of the actions.
|
String |
InetAddress.getCanonicalHostName()
Gets the fully qualified domain name for this IP address.
|
String |
NetworkInterface.getDisplayName()
Get the display name of this network interface.
|
String |
InetAddress.getHostAddress()
Returns the IP address string in textual presentation.
|
String |
Inet6Address.getHostAddress()
Returns the IP address string in textual presentation.
|
String |
Inet4Address.getHostAddress()
Returns the IP address string in textual presentation form.
|
String |
InetSocketAddress.getHostName()
Gets the
hostname . |
String |
InetAddress.getHostName()
Gets the host name for this IP address.
|
String |
InetSocketAddress.getHostString()
Returns the hostname, or the String form of the address if it doesn't have a hostname (it was created using a
literal).
|
String |
NetworkInterface.getName()
Get the name of this network interface.
|
String |
Socket.toString()
Converts this socket to a
String . |
String |
ServerSocket.toString()
Returns the implementation address and implementation port of this socket as a
String . |
String |
NetworkInterface.toString() |
String |
InterfaceAddress.toString()
Converts this Interface address to a
String . |
String |
InetSocketAddress.toString()
Constructs a string representation of this InetSocketAddress.
|
String |
InetAddress.toString()
Converts this IP address to a
String . |
Modifier and Type | Method and Description |
---|---|
static InetSocketAddress |
InetSocketAddress.createUnresolved(String host,
int port)
Creates an unresolved socket address from a hostname and a port number.
|
static InetAddress[] |
InetAddress.getAllByName(String host)
Given the name of a host, returns an array of its IP addresses, based on the configured name service on the
system.
|
static InetAddress |
InetAddress.getByAddress(String host,
byte[] addr)
Creates an InetAddress based on the provided host name and IP address.
|
static Inet6Address |
Inet6Address.getByAddress(String host,
byte[] addr,
int scope_id)
Create an Inet6Address in the exact manner of
InetAddress.getByAddress(String,byte[]) except that the
IPv6 scope_id is set to the given numeric value. |
static Inet6Address |
Inet6Address.getByAddress(String host,
byte[] addr,
NetworkInterface nif)
Create an Inet6Address in the exact manner of
InetAddress.getByAddress(String,byte[]) except that the
IPv6 scope_id is set to the value corresponding to the given interface for the address type specified in
addr . |
static NetworkInterface |
NetworkInterface.getByName(String name)
Searches for the network interface with the specified name.
|
static InetAddress |
InetAddress.getByName(String host)
Determines the IP address of a host, given the host's name.
|
Constructor and Description |
---|
BindException(String msg)
Constructs a new BindException with the specified detail message as to why the bind error occurred.
|
ConnectException(String msg)
Constructs a new ConnectException with the specified detail message as to why the connect error occurred.
|
InetSocketAddress(String hostname,
int port)
Creates a socket address from a hostname and a port number.
|
NetPermission(String name) |
NetPermission(String name,
String actions) |
NoRouteToHostException(String msg)
Constructs a new NoRouteToHostException with the specified detail message as to why the remote host cannot be
reached.
|
PortUnreachableException(String msg)
Constructs a new
PortUnreachableException with a detail message. |
Socket(String host,
int port)
Creates a stream socket and connects it to the specified port number on the named host.
|
Socket(String host,
int port,
InetAddress localAddr,
int localPort)
Creates a socket and connects it to the specified remote host on the specified remote port.
|
SocketException(String msg)
Constructs a new
SocketException with the specified detail message. |
SocketPermission(String host,
String action)
Creates a new SocketPermission object with the specified actions.
|
SocketTimeoutException(String msg)
Constructs a new SocketTimeoutException with a detail message.
|
UnknownHostException(String host)
Constructs a new
UnknownHostException with the specified detail message. |
Modifier and Type | Method and Description |
---|---|
abstract String |
Permission.getActions()
Returns the actions as a String.
|
String |
BasicPermission.getActions()
Returns the canonical string representation of the actions, which currently is the empty string
"", since there are no actions for a BasicPermission.
|
static String |
KeyStore.getDefaultType()
Returns the default keystore type as specified by the
keystore.type security property, or the string
"jks" (acronym for "Java keystore") if no such property exists. |
String |
Permission.getName()
Returns the name of this Permission.
|
String |
KeyStore.getType()
Returns the type of this keystore.
|
String |
Permission.toString()
Returns a string describing this Permission.
|
Modifier and Type | Method and Description |
---|---|
Enumeration<String> |
KeyStore.aliases()
Lists all the alias names of this keystore.
|
abstract Enumeration<String> |
KeyStoreSpi.engineAliases()
Lists all the alias names of this keystore.
|
Modifier and Type | Method and Description |
---|---|
boolean |
KeyStore.containsAlias(String alias)
Checks if the given alias exists in this keystore.
|
void |
KeyStore.deleteEntry(String alias)
Deletes the entry identified by the given alias from this keystore.
|
abstract boolean |
KeyStoreSpi.engineContainsAlias(String alias)
Checks if the given alias exists in this keystore.
|
abstract void |
KeyStoreSpi.engineDeleteEntry(String alias)
Deletes the entry identified by the given alias from this keystore.
|
abstract Certificate |
KeyStoreSpi.engineGetCertificate(String alias)
Returns the certificate associated with the given alias.
|
abstract Certificate[] |
KeyStoreSpi.engineGetCertificateChain(String alias)
Returns the certificate chain associated with the given alias.
|
abstract Key |
KeyStoreSpi.engineGetKey(String alias,
char[] password)
Returns the key associated with the given alias, using the given password to recover it.
|
abstract boolean |
KeyStoreSpi.engineIsCertificateEntry(String alias)
Returns true if the entry identified by the given alias was created by a call to
setCertificateEntry , or
created by a call to setEntry with a TrustedCertificateEntry . |
abstract boolean |
KeyStoreSpi.engineIsKeyEntry(String alias)
Returns true if the entry identified by the given alias was created by a call to
setKeyEntry , or created
by a call to setEntry with a PrivateKeyEntry or a SecretKeyEntry . |
abstract void |
KeyStoreSpi.engineSetCertificateEntry(String alias,
Certificate cert)
Assigns the given certificate to the given alias.
|
abstract void |
KeyStoreSpi.engineSetKeyEntry(String alias,
byte[] key,
Certificate[] chain)
Assigns the given key (that has already been protected) to the given alias.
|
Certificate |
KeyStore.getCertificate(String alias)
Returns the certificate associated with the given alias.
|
Certificate[] |
KeyStore.getCertificateChain(String alias)
Returns the certificate chain associated with the given alias.
|
static KeyStore |
KeyStore.getInstance(String type)
Returns a keystore object of the specified type.
|
Key |
KeyStore.getKey(String alias,
char[] password)
Returns the key associated with the given alias, using the given password to recover it.
|
boolean |
KeyStore.isCertificateEntry(String alias)
Returns true if the entry identified by the given alias was created by a call to
setCertificateEntry , or
created by a call to setEntry with a TrustedCertificateEntry . |
boolean |
KeyStore.isKeyEntry(String alias)
Returns true if the entry identified by the given alias was created by a call to
setKeyEntry , or created
by a call to setEntry with a PrivateKeyEntry or a SecretKeyEntry . |
void |
KeyStore.setCertificateEntry(String alias,
Certificate cert)
Assigns the given trusted certificate to the given alias.
|
void |
KeyStore.setKeyEntry(String alias,
byte[] key,
Certificate[] chain)
Assigns the given key (that has already been protected) to the given alias.
|
Constructor and Description |
---|
BasicPermission(String name) |
BasicPermission(String name,
String actions)
Creates a new BasicPermission object with the specified name.
|
GeneralSecurityException(String msg)
Constructs a GeneralSecurityException with the specified detail message.
|
GeneralSecurityException(String message,
Throwable cause)
Creates a
GeneralSecurityException with the specified detail message and cause. |
InvalidAlgorithmParameterException(String msg)
Constructs an InvalidAlgorithmParameterException with the specified detail message.
|
InvalidAlgorithmParameterException(String message,
Throwable cause)
Creates a
InvalidAlgorithmParameterException with the specified detail message and cause. |
KeyException(String msg)
Constructs a KeyException with the specified detail message.
|
KeyException(String message,
Throwable cause)
Creates a
KeyException with the specified detail message and cause. |
KeyManagementException(String msg)
Constructs a KeyManagementException with the specified detail message.
|
KeyManagementException(String message,
Throwable cause)
Creates a
KeyManagementException with the specified detail message and cause. |
KeyStoreException(String msg)
Constructs a KeyStoreException with the specified detail message.
|
KeyStoreException(String message,
Throwable cause)
Creates a
KeyStoreException with the specified detail message and cause. |
NoSuchAlgorithmException(String msg)
Constructs a NoSuchAlgorithmException with the specified detail message.
|
NoSuchAlgorithmException(String message,
Throwable cause)
Creates a
NoSuchAlgorithmException with the specified detail message and cause. |
Permission(String name)
Constructs a permission with the specified name.
|
UnrecoverableEntryException(String msg)
Constructs an UnrecoverableEntryException with the specified detail message, which provides more information
about why this exception has been thrown.
|
UnrecoverableKeyException(String msg)
Constructs an UnrecoverableKeyException with the specified detail message, which provides more information about
why this exception has been thrown.
|
Modifier and Type | Method and Description |
---|---|
String |
CertificateFactory.getType()
Returns the name of the certificate type associated with this certificate factory.
|
String |
Certificate.getType()
Returns the type of this certificate.
|
Modifier and Type | Method and Description |
---|---|
static CertificateFactory |
CertificateFactory.getInstance(String type)
Returns a certificate factory object that implements the specified certificate type.
|
Constructor and Description |
---|
Certificate(String type)
Creates a certificate of the specified type.
|
CertificateException(String msg)
Constructs a certificate exception with the given detail message.
|
CertificateException(String message,
Throwable cause)
Creates a
CertificateException with the specified detail message and cause. |
Modifier and Type | Method and Description |
---|---|
String |
PropertyPermission.getActions()
Returns the "canonical string representation" of the actions.
|
static String[] |
TimeZone.getAvailableIDs()
Gets all the available IDs supported.
|
String |
TimeZone.getID()
Gets the ID of this time zone.
|
String |
Vector.toString()
Returns a string representation of this Vector, containing the String representation of each
element.
|
String |
Hashtable.toString()
Returns a string representation of this Hashtable object in the form of a set of
entries, enclosed in braces and separated by the ASCII characters ", " (comma and
space).
|
String |
EventObject.toString()
Returns a String representation of this EventObject.
|
String |
Date.toString()
Converts this
Date object to a String of the form: |
String |
Calendar.toString()
Return a string representation of this calendar.
|
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() |
String |
AbstractCollection.toString()
Returns a string representation of this collection.
|
Modifier and Type | Method and Description |
---|---|
static TimeZone |
TimeZone.getTimeZone(String ID)
Gets the
TimeZone for the given ID. |
void |
TimeZone.setID(String ID)
Sets the time zone ID.
|
Constructor and Description |
---|
ConcurrentModificationException(String message)
Constructs a
ConcurrentModificationException with the specified detail message. |
ConcurrentModificationException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and cause.
|
NoSuchElementException(String s)
Constructs a
NoSuchElementException , saving a reference to the error message string
s for later retrieval by the getMessage method. |
PropertyPermission(String name,
String actions) |
Timer(String name)
Deprecated.
Creates a new timer whose associated thread has the specified name.
|
Modifier and Type | Method and Description |
---|---|
abstract Socket |
SocketFactory.createSocket(String host,
int port)
Creates a socket and connects it to the specified remote host at the specified remote port.
|
abstract Socket |
SocketFactory.createSocket(String host,
int port,
InetAddress localHost,
int localPort)
Creates a socket and connects it to the specified remote host on the specified remote port.
|
Modifier and Type | Method and Description |
---|---|
String |
TrustManagerFactory.getAlgorithm()
Returns the algorithm name of this
TrustManagerFactory object. |
String |
KeyManagerFactory.getAlgorithm()
Returns the algorithm name of this
KeyManagerFactory object. |
static String |
TrustManagerFactory.getDefaultAlgorithm()
Obtains the default TrustManagerFactory algorithm name.
|
static String |
KeyManagerFactory.getDefaultAlgorithm()
Obtains the default KeyManagerFactory algorithm name.
|
String |
SSLContext.getProtocol()
Returns the protocol name of this
SSLContext object. |
Modifier and Type | Method and Description |
---|---|
abstract Socket |
SSLSocketFactory.createSocket(Socket s,
String host,
int port,
boolean autoClose)
Returns a socket layered over an existing socket connected to the named host, at the given port.
|
static TrustManagerFactory |
TrustManagerFactory.getInstance(String algorithm)
Returns a
TrustManagerFactory object that acts as a factory for trust managers. |
static SSLContext |
SSLContext.getInstance(String protocol)
Returns a
SSLContext object that implements the specified secure socket protocol. |
static KeyManagerFactory |
KeyManagerFactory.getInstance(String algorithm)
Returns a
KeyManagerFactory object that acts as a factory for key managers. |
Constructor and Description |
---|
SSLException(String reason)
Constructs an exception reporting an error found by an SSL subsystem.
|
SSLException(String message,
Throwable cause)
Creates a
SSLException with the specified detail message and cause. |
SSLHandshakeException(String reason)
Constructs an exception reporting an error found by an SSL subsystem during handshaking.
|
SSLPermission(String name) |
SSLPermission(String name,
String actions) |
SSLSocket(String host,
int port)
Used only by subclasses.
|
SSLSocket(String host,
int port,
InetAddress clientAddress,
int clientPort)
Used only by subclasses.
|