Modifier and Type | Method and Description |
---|---|
String |
ATCommand.breakConnection()
This function switches the module, when in CSD data call, back from
transparent data mode to AT command mode.
|
static String |
ATStringConverter.GSM2Java(String gsmStr)
Convert GSM encoded string into a Java string, "\xy" character escaping is
supported.
|
static String |
ATStringConverter.GSM2Java(String gsmStr,
boolean handleEscaping)
Convert GSM encoded string into a Java string, "\xy" character escaping is
switchable.
|
static String |
ATStringConverter.Java2GSM(String str)
Converts a Java encoded string into a GSM encoded string.
|
static String |
ATStringConverter.Java2UCS2Hex(String str)
Converts a Java encoded string into a string containing the characters in the
UCS2 hex format.
|
String |
ATCommand.removeCharacter(String strResource,
char chRemove) |
String |
ATCommand.send(String ATCmd)
Send an AT command to the device.
|
static String |
ATStringConverter.UCS2Hex2Java(String str)
Converts a string in the UCS2 hex format into a Java encoded string.
|
Modifier and Type | Method and Description |
---|---|
Vector<String> |
OutPort.getPins()
Gets the given pin configuration of an instance of a GPIO port of output
pins.
|
Vector<String> |
InPort.getPins()
Gets the given pin configuration of an instance of a GPIO port of output
pins.
|
Modifier and Type | Method and Description |
---|---|
void |
ATCommandListener.ATEvent(String Event)
Callback method for unsolicited AT-Events (URCs).
|
void |
ATCommandResponseListener.ATResponse(String Response)
Callback method for passing the response to a call of the non blocking
version of the ATCommand.send function.
|
static String |
ATStringConverter.GSM2Java(String gsmStr)
Convert GSM encoded string into a Java string, "\xy" character escaping is
supported.
|
static String |
ATStringConverter.GSM2Java(String gsmStr,
boolean handleEscaping)
Convert GSM encoded string into a Java string, "\xy" character escaping is
switchable.
|
static String |
ATStringConverter.Java2GSM(String str)
Converts a Java encoded string into a GSM encoded string.
|
static String |
ATStringConverter.Java2UCS2Hex(String str)
Converts a Java encoded string into a string containing the characters in the
UCS2 hex format.
|
String |
ATCommand.removeCharacter(String strResource,
char chRemove) |
String |
ATCommand.send(String ATCmd)
Send an AT command to the device.
|
void |
ATCommand.send(String strATCmd,
ATCommandResponseListener Listener)
Send an AT command to the device.
|
static String |
ATStringConverter.UCS2Hex2Java(String str)
Converts a string in the UCS2 hex format into a Java encoded string.
|
Constructor and Description |
---|
ATCommandFailedException(String s)
Constructs an exception with the specified detail message.
|
Constructor and Description |
---|
InPort(Vector<String> pins)
Creates a new instance of a GPIO port of input pins.
|
OutPort(Vector<String> pins,
Vector<Integer> values)
Creates a new instance of a GPIO port of output pins.
|
Modifier and Type | Method and Description |
---|---|
void |
MqttClient.publish(String topic,
byte[] payload,
int qos,
boolean retained)
Publishes a message to a particular topic.
|
short |
MqttClient.publishGetMsgId(String topic,
byte[] payload,
int qos,
boolean retained)
Publishes a message to a particular topic.
|
void |
MqttClient.subscribe(String topic,
int qos)
Subscribes to a topic.
|
void |
MqttClient.unsubscribe(String topic)
Unsubscribes from a topic.
|
Constructor and Description |
---|
MqttConfig(String host,
short port,
String clientId,
String username,
String password,
int connectionTimeout,
int keepAliveInterval,
boolean cleanSession,
SslConfig sslConfig,
String sslCA,
String sslCert)
Instantiates an MQTT configuration.
|
Modifier and Type | Method and Description |
---|---|
static void |
SslStorage.convertAndStore(CAList caList,
String name)
Converts CA lists from .PEM to binary format and stores them in nonvolatile
memory in encrypted form.
|
static void |
SslStorage.convertAndStore(Certificate certInfo,
String certName)
Converts certificates from .PEM to binary format and stores them in
nonvolatile memory in encrypted form.
|
Constructor and Description |
---|
Certificate(byte[] cert,
byte[] key,
String passKey)
Instantiates an SSL client certificate.
|
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 |
---|---|
void |
ATConnection.sendCommand(String command)
Send AT command from the connection.
|
Constructor and Description |
---|
PDPSession(String apn,
String login,
String password)
Constructs a PDP session.
|
PDPSessionException(String msg)
Constructs an PDPSessionException with the specified detail message.
|
Modifier and Type | Method and Description |
---|---|
static GnssManager.GnssManagerState |
GnssManager.GnssManagerState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
Modifier and Type | Field and Description |
---|---|
static String |
PropertyPermission.GET_ACTION
Action associated with
PropertyLoader.getProperty(String) or
PropertyLoader.getProperty(String, String) . |
static String |
PropertyPermission.REMOVE_ACTION
Action associated with
PropertyRegistry.removeProperty(String) . |
static String |
PropertyPermission.SET_ACTION
Action associated with
PropertyRegistry.setProperty(String, String) . |
Modifier and Type | Method and Description |
---|---|
String |
PropertyPermission.getActions() |
String |
PropertyPermission.getKey()
Gets the property key handled by this permission.
|
String |
PropertyLoader.getProperty(String key)
Gets the value mapped with the specified key.
|
String |
PropertyLoader.getProperty(String key,
String defaultValue)
Gets the value mapped with the specified key or a default value.
|
String |
PropertyRegistry.removeProperty(String key)
Removes a property.
|
String |
PropertyRegistry.setProperty(String key,
String value)
Sets a property that maps a key to a value.
|
Modifier and Type | Method and Description |
---|---|
String |
PropertyLoader.getProperty(String key)
Gets the value mapped with the specified key.
|
String |
PropertyLoader.getProperty(String key,
String defaultValue)
Gets the value mapped with the specified key or a default value.
|
String |
PropertyRegistry.removeProperty(String key)
Removes a property.
|
String |
PropertyRegistry.setProperty(String key,
String value)
Sets a property that maps a key to a value.
|
Constructor and Description |
---|
PropertyPermission(String parentName,
String key,
String action)
Creates a permission for the given property.
|
Modifier and Type | Method and Description |
---|---|
String |
SystemPropertyLoader.getProperty(String key) |
String |
FilePropertyLoader.getProperty(String key) |
String |
CompositePropertyLoader.getProperty(String key) |
String |
SystemPropertyLoader.getProperty(String key,
String defaultValue) |
String |
FilePropertyLoader.getProperty(String key,
String defaultValue) |
String |
CompositePropertyLoader.getProperty(String key,
String defaultValue) |
Modifier and Type | Method and Description |
---|---|
String |
SystemPropertyLoader.getProperty(String key) |
String |
FilePropertyLoader.getProperty(String key) |
String |
CompositePropertyLoader.getProperty(String key) |
String |
SystemPropertyLoader.getProperty(String key,
String defaultValue) |
String |
FilePropertyLoader.getProperty(String key,
String defaultValue) |
String |
CompositePropertyLoader.getProperty(String key,
String defaultValue) |
Constructor and Description |
---|
FilePropertyLoader(String path)
Creates a file property loader.
|
Modifier and Type | Method and Description |
---|---|
String |
SimplePropertyRegistry.getProperty(String key) |
String |
SimplePropertyRegistry.getProperty(String key,
String defaultValue) |
String |
SimplePropertyRegistry.removeProperty(String key) |
String |
SimplePropertyRegistry.setProperty(String key,
String value) |
Modifier and Type | Method and Description |
---|---|
protected void |
SimplePropertyRegistry.checkPropertyPermission(String key,
String action)
Checks that an action on a property is permitted.
|
String |
SimplePropertyRegistry.getProperty(String key) |
String |
SimplePropertyRegistry.getProperty(String key,
String defaultValue) |
String |
SimplePropertyRegistry.removeProperty(String key) |
String |
SimplePropertyRegistry.setProperty(String key,
String value) |
Modifier and Type | Field and Description |
---|---|
static String |
ServicePermission.GET_ACTION
Action associated with
ServiceLoader.getService(Class) . |
static String |
ServicePermission.REGISTER_ACTION
Action associated with
ServiceRegistry.register(Class, Object) . |
static String |
ServicePermission.UNREGISTER_ACTION
Action associated with
ServiceRegistry.unregister(Class, Object) . |
Modifier and Type | Method and Description |
---|---|
String |
ServicePermission.getActions() |
Constructor and Description |
---|
MissingServiceException(String message)
Constructs a new missing service exception with the specified detail message.
|
ServiceLoadingException(String message,
Throwable cause)
Constructs a new service loading exception with the specified detail message and cause.
|
ServicePermission(String parentName,
Class<?> service,
String action)
Creates a permission for the given service.
|
Modifier and Type | Field and Description |
---|---|
static String |
MetaInfServiceLoader.SERVICES_FOLDER
Folder where the services are defined.
|
Modifier and Type | Method and Description |
---|---|
protected String |
SystemPropertiesServiceLoader.getImplementationName(String serviceName) |
protected String |
MetaInfServiceLoader.getImplementationName(String key) |
protected String |
FilePropertiesServiceLoader.getImplementationName(String serviceName) |
protected abstract String |
DependencyInjectionServiceLoader.getImplementationName(String serviceName)
Gets the implementation class name for the given service name.
|
Modifier and Type | Method and Description |
---|---|
protected <T> void |
SimpleServiceLoader.checkServicePermission(Class<T> service,
String action)
Checks that an action on a service is permitted.
|
static <T> T |
ServiceLoaderHelper.createClassInstance(Class<T> parent,
String className)
Gets an instance of a class, based on its name.
|
protected String |
SystemPropertiesServiceLoader.getImplementationName(String serviceName) |
protected String |
MetaInfServiceLoader.getImplementationName(String key) |
protected String |
FilePropertiesServiceLoader.getImplementationName(String serviceName) |
protected abstract String |
DependencyInjectionServiceLoader.getImplementationName(String serviceName)
Gets the implementation class name for the given service name.
|
Constructor and Description |
---|
FilePropertiesServiceLoader(String path)
Creates a file properties service loader.
|
Modifier and Type | Method and Description |
---|---|
String[] |
Storage.getIds()
Returns all IDs of the stored entries.
|
Modifier and Type | Method and Description |
---|---|
OutputStream |
Storage.append(String id)
Appends some data to an entry referenced with an ID.
|
boolean |
Storage.exists(String id)
Tests whether an entry exists for this ID.
|
long |
Storage.getSize(String id)
Returns the size of the entry stored with an ID.
|
InputStream |
Storage.load(String id)
Loads the data stored with a specific ID or
null if there is none. |
OutputStream |
Storage.modify(String id,
int offset)
Modifies the entry that is referenced by an ID.
|
void |
Storage.move(String sourceId,
String destinationId)
Changes the ID of an entry.
|
void |
Storage.remove(String id)
Removes the entry stored with an ID.
|
OutputStream |
Storage.store(String id)
Stores data that will be referenced with an ID.
|
Modifier and Type | Method and Description |
---|---|
static String |
Device.getArchitecture()
Returns the name of the architecture of the device.
|
Modifier and Type | Method and Description |
---|---|
String |
Firmware.getName()
Gets the firmware name.
|
String |
Firmware.getVersion()
Gets the firmware version.
|
Modifier and Type | Field and Description |
---|---|
static String |
ApplicationPermission.INSTALL_ACTION
Action associated with
ApplicationInstaller.install(java.io.InputStream) . |
static String |
ApplicationPermission.START_ACTION
Action associated with
Application.start() . |
static String |
ApplicationPermission.STOP_ACTION
Action associated with
Application.stop() . |
static String |
ApplicationPermission.UNINSTALL_ACTION
Action associated with
ApplicationInstaller.uninstall(Application) . |
Modifier and Type | Method and Description |
---|---|
String |
ApplicationPermission.getActions() |
String |
Application.getIdentifier()
Gets the application unique identifier.
|
String |
Application.getVersion()
Gets the application version.
|
Constructor and Description |
---|
ApplicationOperationException(String message)
Constructs a new exception with the specified detail message.
|
ApplicationOperationException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and cause.
|
ApplicationPermission(Application application,
String action)
Creates a permission for the given application.
|
Modifier and Type | Field and Description |
---|---|
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 |
FilePermission.getActions()
Returns the "canonical string representation" of the actions.
|
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 |
File.getName()
Returns the name of the file or directory denoted by this abstract pathname.
|
String |
File.getParent()
Returns the pathname string of this abstract pathname's parent, or
null if this pathname does not
name a parent directory. |
String |
File.getPath()
Converts this abstract pathname into a pathname string.
|
String[] |
File.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 |
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.
|
String |
File.toString()
Returns the pathname string of this abstract pathname.
|
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.
|
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. |
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.
|
FilePermission(String path,
String actions)
Creates a new FilePermission object with the specified actions.
|
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 |
---|---|
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.
|
String |
Signature.getAlgorithm()
Returns the name of the algorithm for this signature object.
|
String |
MessageDigest.getAlgorithm()
Returns a string that identifies the algorithm, independent of implementation details.
|
String |
KeyFactory.getAlgorithm()
Gets the name of the algorithm associated with this
KeyFactory . |
String |
Key.getAlgorithm()
Returns the standard algorithm name for this key.
|
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 |
Key.getFormat()
Returns the name of the primary encoding format of this key, or null if this key does not support encoding.
|
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.
|
String |
Signature.toString()
Returns a string representation of this signature object, providing information that includes the state of the
object and the name of the algorithm used.
|
String |
Principal.toString()
Returns a string representation of this principal.
|
String |
MessageDigest.toString()
Returns a string representation of this message digest object.
|
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 Signature |
Signature.getInstance(String algorithm)
Returns a Signature object that implements the specified signature algorithm.
|
static MessageDigest |
MessageDigest.getInstance(String algorithm)
Returns a MessageDigest object that implements the specified digest algorithm.
|
static KeyStore |
KeyStore.getInstance(String type)
Returns a keystore object of the specified type.
|
static KeyPairGenerator |
KeyPairGenerator.getInstance(String algorithm)
Returns a KeyPairGenerator object that generates public/private key pairs for the specified algorithm.
|
static KeyFactory |
KeyFactory.getInstance(String algorithm)
Returns a KeyFactory object that converts public/private keys of the specified algorithm.
|
static Signature |
Signature.getInstance(String algorithm,
String provider)
Returns a Signature object that implements the specified signature algorithm.
|
static MessageDigest |
MessageDigest.getInstance(String algorithm,
String provider)
Returns a MessageDigest object that implements the specified digest algorithm.
|
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.
|
DigestException(String msg)
Constructs a DigestException with the specified detail message.
|
DigestException(String message,
Throwable cause)
Creates a
DigestException with the specified detail message and cause. |
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. |
InvalidKeyException(String msg)
Constructs an InvalidKeyException with the specified detail message.
|
InvalidKeyException(String message,
Throwable cause)
Creates a
InvalidKeyException with the specified detail message and cause. |
InvalidParameterException(String msg)
Constructs an InvalidParameterException with the specified detail message.
|
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. |
KeyPairGenerator(String algorithm)
Creates a KeyPairGenerator object for the specified algorithm.
|
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. |
MessageDigest(String algorithm)
Creates a message digest with the specified algorithm name.
|
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. |
NoSuchProviderException(String msg)
Constructs a NoSuchProviderException with the specified detail message.
|
Permission(String name)
Constructs a permission with the specified name.
|
ProviderException(String s)
Constructs a ProviderException with the specified detail message.
|
ProviderException(String message,
Throwable cause)
Creates a
ProviderException with the specified detail message and cause. |
SecurityPermission(String name)
Creates a new SecurityPermission with the specified name.
|
SecurityPermission(String name,
String actions)
Creates a new SecurityPermission object with the specified name.
|
Signature(String algorithm)
Creates a Signature object for the specified algorithm.
|
SignatureException(String msg)
Constructs a SignatureException with the specified detail message.
|
SignatureException(String message,
Throwable cause)
Creates a
SignatureException with the specified detail message and cause. |
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.
|
abstract String |
Certificate.toString()
Returns a string representation 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.
|
abstract void |
Certificate.verify(PublicKey key,
String sigProvider)
Verifies that this certificate was signed using the private key that corresponds to the specified public key.
|
Constructor and Description |
---|
Certificate(String type)
Creates a certificate of the specified type.
|
CertificateEncodingException(String message)
Constructs a CertificateEncodingException with the specified detail message.
|
CertificateEncodingException(String message,
Throwable cause)
Creates a
CertificateEncodingException with the specified detail message and cause. |
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 |
X509EncodedKeySpec.getFormat()
Returns the name of the encoding format associated with this key specification.
|
String |
PKCS8EncodedKeySpec.getFormat()
Returns the name of the encoding format associated with this key specification.
|
abstract String |
EncodedKeySpec.getFormat()
Returns the name of the encoding format associated with this key specification.
|
String |
ECGenParameterSpec.getName()
Returns the standard or predefined name of the to-be-generated EC domain parameters.
|
Constructor and Description |
---|
ECGenParameterSpec(String stdName)
Creates a parameter specification for EC parameter generation using a standard (or predefined) name
stdName in order to generate the corresponding (precomputed) elliptic curve domain parameters. |
InvalidKeySpecException(String msg)
Constructs an InvalidKeySpecException with the specified detail message.
|
InvalidKeySpecException(String message,
Throwable cause)
Creates a
InvalidKeySpecException with the specified detail message and cause. |
InvalidParameterSpecException(String msg)
Constructs an InvalidParameterSpecException with the specified detail message.
|
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 |
---|---|
String |
Mac.getAlgorithm()
Returns the algorithm name of this
Mac object. |
String |
Cipher.getAlgorithm()
Returns the algorithm name of this
Cipher object. |
Modifier and Type | Method and Description |
---|---|
static Mac |
Mac.getInstance(String algorithm)
Returns a
Mac object that implements the specified MAC algorithm. |
static Cipher |
Cipher.getInstance(String transformation)
Returns a
Cipher object that implements the specified transformation. |
static Mac |
Mac.getInstance(String algorithm,
String provider)
Returns a
Mac object that implements the specified MAC algorithm. |
static Cipher |
Cipher.getInstance(String transformation,
String provider)
Returns a
Cipher object that implements the specified transformation. |
static int |
Cipher.getMaxAllowedKeyLength(String transformation)
Returns the maximum key length for the specified transformation according to the installed JCE jurisdiction
policy files.
|
static AlgorithmParameterSpec |
Cipher.getMaxAllowedParameterSpec(String transformation)
Returns an AlgorithmParameterSpec object which contains the maximum cipher parameter value according to the
jurisdiction policy file.
|
Key |
Cipher.unwrap(byte[] wrappedKey,
String wrappedKeyAlgorithm,
int wrappedKeyType)
Unwrap a previously wrapped key.
|
Constructor and Description |
---|
AEADBadTagException(String msg)
Constructs a AEADBadTagException with the specified detail message.
|
BadPaddingException(String msg)
Constructs a BadPaddingException with the specified detail message.
|
IllegalBlockSizeException(String msg)
Constructs an IllegalBlockSizeException with the specified detail message.
|
NoSuchPaddingException(String msg)
Constructs a NoSuchPaddingException with the specified detail message.
|
ShortBufferException(String msg)
Constructs a ShortBufferException with the specified detail message.
|
Modifier and Type | Method and Description |
---|---|
String |
SecretKeySpec.getAlgorithm()
Returns the name of the algorithm associated with this secret key.
|
String |
SecretKeySpec.getFormat()
Returns the name of the encoding format for this secret key.
|
Constructor and Description |
---|
SecretKeySpec(byte[] key,
int offset,
int len,
String algorithm)
Constructs a secret key from the given byte array, using the first
len bytes of key ,
starting at offset inclusive. |
SecretKeySpec(byte[] key,
String algorithm)
Constructs a secret key from the given byte array.
|
Constructor and Description |
---|
DestroyFailedException(String msg)
Constructs a DestroyFailedException with the specified detail message.
|
Modifier and Type | Method and Description |
---|---|
String |
X500Principal.getName()
Returns a string representation of the X.500 distinguished name.
|
String |
X500Principal.toString()
Return a user-friendly string representation of this
X500Principal . |
Modifier and Type | Method and Description |
---|---|
String |
JSONObject.toString() |
Modifier and Type | Method and Description |
---|---|
JSONObject |
JSONObject.put(String key,
Object value)
Put a key/value pair in the JSONObject.
|
static Object |
JSONObject.stringToValue(String string)
Try to convert a string into a number, boolean, or null.
|
Modifier and Type | Method and Description |
---|---|
static String |
AlgorithmId.getDigAlgFromSigAlg(String signatureAlgorithm)
Extracts the digest algorithm name from a signature algorithm name.
|
static String |
AlgorithmId.getEncAlgFromSigAlg(String signatureAlgorithm)
Extracts the encryption algorithm name from a signature algorithm name.
|
String |
AlgorithmId.getOID()
Returns the ISO OID for this algorithm.
|
static String |
AlgorithmId.makeSigAlg(String digAlg,
String encAlg)
Creates a signature algorithm name from a digest algorithm name and a encryption algorithm name.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AlgorithmId.equals(String id)
Compares two algorithm IDs for equality.
|
static AlgorithmId |
AlgorithmId.get(String algname)
Returns one of the algorithm IDs most commonly associated with this algorithm name.
|
static AlgorithmId |
AlgorithmId.getAlgorithmId(String algname)
Deprecated.
use the short get form of this method.
|
static String |
AlgorithmId.getDigAlgFromSigAlg(String signatureAlgorithm)
Extracts the digest algorithm name from a signature algorithm name.
|
static String |
AlgorithmId.getEncAlgFromSigAlg(String signatureAlgorithm)
Extracts the encryption algorithm name from a signature algorithm name.
|
static String |
AlgorithmId.makeSigAlg(String digAlg,
String encAlg)
Creates a signature algorithm name from a digest algorithm name and a encryption algorithm name.
|
Constructor and Description |
---|
AlgorithmId(String oid)
Constructs a parameterless algorithm ID.
|