Uses of Class java.lang.String

Uses in package javax.imageio.stream

Methods with parameter type java.lang.String

void
void
void
Writes characters from a given String into the stream.
void
void
Writes a String into the stream.
void

Methods with return type java.lang.String

String
String
This method reads the next line of text data from an input stream.
String
String
This method reads a String from an input stream that is encoded in a modified UTF-8 format.

Uses in package javax.naming

Constructors with parameter type java.lang.String

BinaryRefAddr.BinaryRefAddr(String addrType, byte[] buf)
Contructs a new BinaryRefAddr with the given type and content.
BinaryRefAddr.BinaryRefAddr(String addrType, byte[] buf, int off, int length)
Contructs a new BinaryRefAddr with the given type and the content taken from the given byte array.
Constructs an instance with the given name and object.
Binding.Binding(String name, Object obj, boolean isRelative)
Constructs an instance with the given name and object and a flag indicating if the name is relative to the target context.
Binding.Binding(String name, String className, Object obj)
Constructs an instance with the given name, classname and object.
Binding.Binding(String name, String className, Object obj, boolean isRelative)
Constructs an instance with the given name, classname, object and a flag indicating if the name is relative to the target context.
Create an exception with a message.
Create an exception with a message.
Create an exception with a message.
Creates a new exception and sets the detailed message field.
Create an exception with a message.
Create an exception with a message.
Create a new reference that is referencting to the object of the specified class.
Create an exception with a message.
Create an exception with a message.
Constructs an instance with the given name and classname.
NameClassPair.NameClassPair(String name, String className, boolean isRelative)
Constructs an instance with the given name and classname and a flag indicating if the name is relative to the target context.
Create an exception with a message.
Creates a new NamingException with a detailed message.
Create an exception with a message.
Create an exception with a message.
Create an exception with a message.
Protected constructor for use by subclasses.
Create a new reference that is referencting to the object of the specified class.
Reference.Reference(String className, String factoryClassName, String factoryLocation)
Create a new reference that is referencing to the object of the specified class, specifying the class and location of the factory that produces these objects.
Reference.Reference(String className, RefAddr addr)
Create a new reference that is referencing to the object of the specified class with the given address.
Reference.Reference(String className, RefAddr addr, String factoryClassName, String factoryLocation)
Create a new reference that is referencing to the object of the specified class, specifying the class and location of the factory that produces these objects and also the address of this object.
Create an exception with a message.
Create an exception with a message.
Create an exception with a message.
Contructs a new StringRefAddr with the given type and content.

Fields of type java.lang.String

String
Property for the initial context constructor to use when searching for other properties.
String
Property with the authoritativeness of the service requested.
String
Property with the batch size to use when returning data via the service's protocol.
String
Property with the DNS host and domain names to use.
String
Property with name of the inital context factory to use
String
Property for specifying the preferred language to use with the service.
String
Property with colon-separated list of object factories to use.
String
Property with URL specifying configuration for the service provider to use.
String
Property defining how referrals encountered by the service provider are to be processed.
String
Property specifying the security level to use.
String
Property specifying the credentials of the principal for authenticating the caller to the service.
String
Property for the identity of the principal for authenticating the caller to the service.
String
Property specifying the security protocol to use.
String
Property with colon-separated list of state factories to use.
String
Property with colon-separated list of package prefixes to use.
String
The string resprenstation of the type of address.
String
The name of the class factory to create an instance of the object, referenced by this reference.
String
The location, from where the class factory should be loaded.
String
The name of the class of the object, to that this reference refers.
String

Methods with parameter type java.lang.String

Name
CompositeName.add(int posn, String comp)
Name
CompoundName.add(int posn, String comp)
Name
Name.add(int posn, String comp)
Inserts the given String component to this Name at the given index.
Name
Name
Name
Name.add(String comp)
Adds the given String component to the end of this Name.
Object
Context.addToEnvironment(String propName, Object propVal)
Add new environment property to the environment of this context.
Object
void
Adds the given String to the remainingName field.
void
Context.bind(String name, Object obj)
Give the specified name for the specified object.
void
String
Composes the name of this context together with another name, related to this context.
String
Context
Creates the new naming subcontext and binds it to the current (this) context.
Context
void
Removes the naming subcontext from this naming context.
void
RefAddr
Reference.get(String addrType)
Get the given type of address for this object.
NameParser
Obtains the name parser for parsing the names of the given naming subcontext.
NameParser
Context
Obtains the context for resolving the given name.
NamingEnumeration
Creates and returns the enumeration over the name bindings that are present the given subcontext.
NamingEnumeration
NamingEnumeration
Creates and returns the enumeration over the name - object bindings that are present the given subcontext.
NamingEnumeration
Object
Gets the previously named object by name.
Object
Object
Retrieves the named object, not following the link of the terminal atomic component of the name.
Object
Name
Parser the string name representation into the Name representation
void
Give the specified name for the specified object.
void
Object
Removes the property with the given name from the environment.
Object
void
Context.rename(String oldName, String newName)
Renames the existing binding, removing the existing and giving the new name for the same object.
void
InitialContext.rename(String oldName, String newName)
void
Sets the classname of the bound object.
void
void
Sets the name of the binding.
void
Sets the full name for this binding.
void
Removes the name - object mapping from the current context.
void

Methods with return type java.lang.String

String
Composes the name of this context together with another name, related to this context.
String
String
CompositeName.get(int posn)
String
CompoundName.get(int posn)
String
Name.get(int i)
Gets the component at the given index.
String
Returns the classname of the bound object.
String
Returns the classname of the binding.
String
Get the name of the class of the referenced object.
String
Gets the message given to the constructor or null if no message was given.
String
Get the location of the factory class of the referenced object.
String
Get the name of the factory class of the referenced object
String
String
String
Returns the name of the binding.
String
Returs the full name of this naming context.
String
This operation is not supported for the initial naming context.
String
Returns the full name for this binding.
String
Returns the non-null address type given to the constructor.
String
Returns a String representation of the RefAddr.
String
Returns the string representation.
String
String
String
String
Returns the string representation.
String
Returns a string representation of this exception.
String
Returns a String representation of the RefAddr.
String
Return the string representation.
String
LinkException.toString(boolean detail)
String
NamingException.toString(boolean objectInfo)
Returns a String representation of this exception and possibly including the part object that could be resolved if the given flag is set to true.

Uses in package javax.imageio

Constructors with parameter type java.lang.String

Create an exception with a descriptive error message.
Create an exception with a descriptive error message.

Fields of type java.lang.String

String
Contains the name of the current compression type.
String[]
Array of the names of the available compression types.

Methods with parameter type java.lang.String

IIOMetadata
ImageReader.getImageMetadata(int imageIndex, String formatName, Set nodeNames)
Get the metadata associated with this image.
Iterator
Retrieve an iterator over all registered readers for the given format.
Iterator
Retrieve an iterator over all registered readers for the given MIME type.
Iterator
Retrieve an iterator over all registered readers for the given file suffix.
Iterator
Retrieve an iterator over the collection of registered image writers that support writing images of the given type and in the given format.
Iterator
Retrieve an iterator over all registered writers for the given format.
Iterator
Retrieve an iterator over all registered writers for the given MIME type.
Iterator
Retrieve an iterator over all registered writers for the given file suffix.
IIOMetadata
ImageReader.getStreamMetadata(String formatName, Set nodeNames)
Get the metadata associated with the image being read.
void
ImageWriter.processWarningOccurred(int imageIndex, String warning)
Notifies all installed warning listeners, by calling their warningOccurred methods, that a warning message has been raised.
void
ImageWriter.processWarningOccurred(int imageIndex, String baseName, String keyword)
Notify all installed warning listeners, by calling their warningOccurred methods, that a warning message has been raised.
void
Notifies all installed warning listeners, by calling their warningOccurred methods, that a warning message has been raised.
void
Notify all installed warning listeners, by calling their warningOccurred methods, that a warning message has been raised.
void
boolean
ImageIO.write(RenderedImage im, String formatName, File output)
Write an image to a file using a registered writer that supports the given format, overwriting the file if it already exists.
boolean
ImageIO.write(RenderedImage im, String formatName, OutputStream output)
Write an image to an output stream using a registered writer that supports the given format.
boolean
Write an image to an ImageOutputStream using a registered writer that supports the given format.

Methods with return type java.lang.String

String[]
String
String[]
String
Retrieve the format of the input source.
String
String[]
Retrieve all the informal format names supported by the collection of registered image readers.
String[]
Retrieve all the MIME types supported by the collection of registered image readers.
String[]
Retrieve all the informal format names supported by the collection of registered image writers.
String[]
Retrieve all the MIME types supported by the collection of registered image writers.

Uses in package org.omg.DynamicAny.DynAnyPackage

Constructors with parameter type java.lang.String

Create the InvalidValue with explaining message.
Create the TypeMismatch with explaining message.

Methods with return type java.lang.String

String
Get the InvalidValue repository id.
String
Get the TypeMismatch repository id.

Uses in package java.sql

Constructors with parameter type java.lang.String

BatchUpdateException.BatchUpdateException(String message, int[] updateCounts)
This method initializes a new instance of BatchUpdateException with the specified descriptive error message and update count information.
BatchUpdateException.BatchUpdateException(String message, String SQLState, int vendorCode, int[] updateCounts)
This method initializes a new instance of BatchUpdateException with the specified descriptive error message, SQL state, and update count information.
BatchUpdateException.BatchUpdateException(String message, String SQLState, int[] updateCounts)
This method initializes a new instance of BatchUpdateException with the specified descriptive error message, SQL state, and update count information.
This method initializes a new instance of DriverPropertyInfo with the specified name and value.
This method initializes a new instance of SQLException with the specified descriptive error message.
SQLException.SQLException(String message, String SQLState)
This method initializes a new instance of SQLException with the specified descriptive error message and SQL state string.
SQLException.SQLException(String message, String SQLState, int vendorCode)
This method initializes a nwe instance of SQLException with the specified descriptive error message, SQL state string, and vendor code.
This method initializes a new instance of SQLWarning with the specified descriptive error message.
SQLWarning.SQLWarning(String message, String SQLState)
This method initializes a new instance of SQLWarning with the specified descriptive error message and SQL state string.
SQLWarning.SQLWarning(String message, String SQLState, int vendorCode)
This method initializes a nwe instance of SQLWarning with the specified descriptive error message, SQL state string, and vendor code.

Fields of type java.lang.String

String[]
If values are restricted to certain choices, this is the list of valid ones.
String
A description of the property, possibly null.
String
The name of the property.
String
This is the value of the property.

Methods with parameter type java.lang.String

boolean
This method tests whether or not the driver believes it can connect to the specified database.
void
This method adds a SQL statement to a SQL batch.
Connection
Driver.connect(String url, Properties properties)
This method connects to the specified database using the connection properties supplied.
boolean
This method executes an arbitrary SQL statement of any time.
boolean
Statement.execute(String sql, int autoGeneratedKeys)
boolean
Statement.execute(String sql, int[] columnIndexes)
boolean
Statement.execute(String sql, String[] columnNames)
ResultSet
This method executes the specified SQL SELECT statement and returns a (possibly empty) ResultSet with the results of the query.
int
This method executes the specified SQL INSERT, UPDATE, or DELETE statement and returns the number of rows affected, which may be 0.
int
Statement.executeUpdate(String sql, int autoGeneratedKeys)
int
Statement.executeUpdate(String sql, int[] columnIndexes)
int
Statement.executeUpdate(String sql, String[] columnNames)
int
This method returns the column index of the specified named column.
Array
This method returns the value of the specified parameter as a Java Array.
Array
This method returns the specified column value as an Array.
InputStream
This method returns the value of the specified column as an ASCII stream.
ResultSet
DatabaseMetaData.getAttributes(String catalog, String schemaPattern, String typePattern, String attributePattern)
ResultSet
DatabaseMetaData.getBestRowIdentifier(String catalog, String schema, String tableName, int scope, boolean nullable)
This method returns the best set of columns for uniquely identifying a row.
BigDecimal
This method returns the value of the specified parameter as a Java BigDecimal.
BigDecimal
This method returns the value of the specified column as a Java BigDecimal.
BigDecimal
ResultSet.getBigDecimal(String columnName, int scale)
This method returns the value of the specified column as a Java BigDecimal.
InputStream
This method returns the value of the specified column as a raw byte stream.
Blob
This method returns the value of the specified parameter as a Java Blob.
Blob
ResultSet.getBlob(String columnName)
This method returns the specified column value as a BLOB.
boolean
This method returns the value of the specified parameter as a Java boolean.
boolean
This method returns the value of the specified column as a Java boolean.
byte
This method returns the value of the specified parameter as a Java byte.
byte
ResultSet.getByte(String columnName)
This method returns the value of the specified column as a Java byte.
byte[]
This method returns the value of the specified parameter as a Java byte array.
byte[]
This method returns the value of the specified column as a Java byte array.
Reader
This method returns the value of the specified column as a character stream.
Clob
This method returns the value of the specified parameter as a Java Clob.
Clob
ResultSet.getClob(String columnName)
This method returns the specified column value as a CLOB.
ResultSet
DatabaseMetaData.getColumnPrivileges(String catalog, String schema, String tableName, String columnPattern)
This method returns the access rights that have been granted to the requested columns.
ResultSet
DatabaseMetaData.getColumns(String catalog, String schemaPattern, String tablePattern, String columnPattern)
This method returns a list of the tables columns for the requested tables.
Connection
This method attempts to return a connection to the specified JDBC URL string.
Connection
This method attempts to return a connection to the specified JDBC URL string using the specified username and password.
Connection
This method attempts to return a connection to the specified JDBC URL string using the specified connection properties.
ResultSet
DatabaseMetaData.getCrossReference(String primaryCatalog, String primarySchema, String primaryTableName, String foreignCatalog, String foreignSchema, String foreignTableName)
This method returns a description of how one table imports another table's primary key as a foreign key.
Date
This method returns the value of the specified parameter as a Java java.sql.Date.
Date
ResultSet.getDate(String columnName)
This method returns the value of the specified column as a Java java.sql.Date.
Date
This method returns the value of the specified parameter as a Java java.sql.Date.
Date
ResultSet.getDate(String columnName, Calendar cal)
This method returns the specified column value as a java.sql.Date.
double
This method returns the value of the specified parameter as a Java double.
double
This method returns the value of the specified column as a Java double.
Driver
This method returns a driver that can connect to the specified JDBC URL string.
ResultSet
DatabaseMetaData.getExportedKeys(String catalog, String schema, String tableName)
This method returns a list of the table's which use this table's primary key as a foreign key.
float
This method returns the value of the specified parameter as a Java float.
float
This method returns the value of the specified column as a Java float.
ResultSet
DatabaseMetaData.getImportedKeys(String catalog, String schema, String tableName)
This method returns a list of the table's foreign keys.
ResultSet
DatabaseMetaData.getIndexInfo(String catalog, String schema, String tableName, boolean unique, boolean approximate)
This method returns information about a tables indices and statistics.
int
This method returns the value of the specified parameter as a Java int.
int
ResultSet.getInt(String columnName)
This method returns the value of the specified column as a Java int.
long
This method returns the value of the specified parameter as a Java long.
long
ResultSet.getLong(String columnName)
This method returns the value of the specified column as a Java long.
Object
This method returns the value of the specified parameter as a Java Object.
Object
This method returns the value of the specified column as a Java Object.
Object
This method returns the value of the specified parameter as a Java Object using the specified mapping for conversion from SQL to Java types.
Object
ResultSet.getObject(String columnName, Map> map)
This method returns the value of the specified column as a Java Object using the specified SQL type to Java type map.
ResultSet
DatabaseMetaData.getPrimaryKeys(String catalog, String schema, String tableName)
This method returns a list of a table's primary key columns.
ResultSet
DatabaseMetaData.getProcedureColumns(String catalog, String schemaPattern, String procedurePattern, String columnPattern)
This method returns a list of the parameter and result columns for the requested stored procedures.
ResultSet
DatabaseMetaData.getProcedures(String catalog, String schemaPattern,