Uses of Class
java.lang.String
-
Uses of String in com.squareup.okhttp
Methods in com.squareup.okhttp that return String Modifier and Type Method Description StringResponse.Body. contentType()StringOkAuthenticator.Credential. getHeaderValue()StringOkAuthenticator.Challenge. getRealm()Returns the protection space.StringOkAuthenticator.Challenge. getScheme()Returns the authentication scheme, likeBasic.StringAddress. getUriHost()Returns the hostname of the origin server.StringRequest. header(String name)StringResponse. header(String name)StringResponse. header(String name, String defaultValue)StringRequest. headerName(int index)StringResponse. headerName(int index)StringRequest. headerValue(int index)StringResponse. headerValue(int index)StringRequest. method()StringResponse.Body. string()Returns the response bytes as a UTF-8 string.StringMediaType. subtype()Returns a specific media subtype, such as "plain" or "png", "mpeg", "mp4" or "xml".StringMediaType. toString()Returns the encoded media type, like "text/plain; charset=utf-8", appropriate for use in a Content-Type header.StringOkAuthenticator.Challenge. toString()StringOkAuthenticator.Credential. toString()StringMediaType. type()Returns the high-level media type, such as "text", "image", "audio", "video", or "application".StringRequest. urlString()Methods in com.squareup.okhttp that return types with arguments of type String Modifier and Type Method Description List<String>Address. getTransports()Returns the client's transports.List<String>OkHttpClient. getTransports()Set<String>Request. headerNames()Set<String>Response. headerNames()List<String>Request. headers(String name)List<String>Response. headers(String name)Methods in com.squareup.okhttp with parameters of type String Modifier and Type Method Description Request.BuilderRequest.Builder. addHeader(String name, String value)Adds a header withnameandvalue.Response.BuilderResponse.Builder. addHeader(String name, String value)Adds a header withnameandvalue.static OkAuthenticator.CredentialOkAuthenticator.Credential. basic(String userName, String password)Returns an auth credential for the Basic scheme.static Request.BodyRequest.Body. create(MediaType contentType, String content)Returns a new request body that transmitscontent.URLStreamHandlerOkHttpClient. createURLStreamHandler(String protocol)Creates a URLStreamHandler as aURL.setURLStreamHandlerFactory(java.net.URLStreamHandlerFactory).CacheResponseHttpResponseCache. get(URI uri, String requestMethod, Map<String,List<String>> requestHeaders)CacheResponseOkResponseCache. get(URI uri, String requestMethod, Map<String,List<String>> requestHeaders)Request.BuilderRequest.Builder. header(String name, String value)Sets the header namednametovalue.StringRequest. header(String name)Response.BuilderResponse.Builder. header(String name, String value)Sets the header namednametovalue.StringResponse. header(String name)StringResponse. header(String name, String defaultValue)List<String>Request. headers(String name)List<String>Response. headers(String name)voidOkResponseCache. maybeRemove(String requestMethod, URI uri)Remove any cache entries for the supplieduriif the request method invalidates.Request.BuilderRequest.Builder. method(String method, Request.Body body)static MediaTypeMediaType. parse(String string)Returns a media type forstring, or null ifstringis not a well-formed media type.Request.BuilderRequest.Builder. url(String url)static ResponseSourceResponseSource. valueOf(String name)Returns the enum constant of this type with the specified name.Method parameters in com.squareup.okhttp with type arguments of type String Modifier and Type Method Description CacheResponseHttpResponseCache. get(URI uri, String requestMethod, Map<String,List<String>> requestHeaders)CacheResponseHttpResponseCache. get(URI uri, String requestMethod, Map<String,List<String>> requestHeaders)CacheResponseOkResponseCache. get(URI uri, String requestMethod, Map<String,List<String>> requestHeaders)CacheResponseOkResponseCache. get(URI uri, String requestMethod, Map<String,List<String>> requestHeaders)OkHttpClientOkHttpClient. setTransports(List<String> transports)Configure the transports used by this client to communicate with remote servers.Constructors in com.squareup.okhttp with parameters of type String Constructor Description Address(String uriHost, int uriPort, SSLSocketFactory sslSocketFactory, HostnameVerifier hostnameVerifier, OkAuthenticator authenticator, Proxy proxy, List<String> transports)Builder(String url)Challenge(String scheme, String realm)TunnelRequest(String host, int port, String userAgent, String proxyAuthorization)Constructor parameters in com.squareup.okhttp with type arguments of type String Constructor Description Address(String uriHost, int uriPort, SSLSocketFactory sslSocketFactory, HostnameVerifier hostnameVerifier, OkAuthenticator authenticator, Proxy proxy, List<String> transports) -
Uses of String in com.squareup.okhttp.internal
Fields in com.squareup.okhttp.internal declared as String Modifier and Type Field Description static String[]Util. EMPTY_STRING_ARRAYMethods in com.squareup.okhttp.internal that return String Modifier and Type Method Description static StringBase64. encode(byte[] in)StringPlatform. getPrefix()Prefix used on custom headers.StringDiskLruCache.Editor. getString(int index)Returns the last committed value as a string, or null if no value has been committed.StringDiskLruCache.Snapshot. getString(int index)Returns the string value forindex.static StringUtil. readAsciiLine(InputStream in)Returns the ASCII characters up to but not including the next "\r\n", or "\n".static StringUtil. readFully(Reader reader)Returns the remainder of 'reader' as a string, closing it when done.StringStrictLineReader. readLine()Reads the next line.Methods in com.squareup.okhttp.internal with parameters of type String Modifier and Type Method Description static ThreadFactoryUtil. daemonThreadFactory(String name)DiskLruCache.EditorDiskLruCache. edit(String key)Returns an editor for the entry namedkey, or null if another edit is in progress.voidPlatform. enableTlsExtensions(SSLSocket socket, String uriHost)DiskLruCache.SnapshotDiskLruCache. get(String key)Returns a snapshot of the entry namedkey, or null if it doesn't exist is not currently readable.InetAddress[]Dns. getAllByName(String host)static intUtil. getDefaultPort(String scheme)voidPlatform. logW(String warning)booleanDiskLruCache. remove(String key)Drops the entry forkeyif it exists and can be removed.voidDiskLruCache.Editor. set(int index, String value)Sets the value atindextovalue.Constructors in com.squareup.okhttp.internal with parameters of type String Constructor Description NamedRunnable(String format, Object... args) -
Uses of String in com.squareup.okhttp.internal.http
Fields in com.squareup.okhttp.internal.http declared as String Modifier and Type Field Description protected StringHttpEngine. methodMethods in com.squareup.okhttp.internal.http that return String Modifier and Type Method Description StringRawHeaders. get(String fieldName)Returns the last value corresponding to the specified field, or null.StringRequestHeaders. getAcceptEncoding()StringHttpsURLConnectionImpl. getCipherSuite()StringRequestHeaders. getConnection()StringResponseHeaders. getConnection()StringHttpsURLConnectionImpl. getContentEncoding()StringResponseHeaders. getContentEncoding()StringHttpsURLConnectionImpl. getContentType()StringRequestHeaders. getContentType()static StringHttpEngine. getDefaultUserAgent()StringResponseHeaders. getEtag()StringRawHeaders. getFieldName(int index)Returns the field atpositionor null if that is out of range.StringHttpsURLConnectionImpl. getHeaderField(int pos)StringHttpsURLConnectionImpl. getHeaderField(String key)StringHttpURLConnectionImpl. getHeaderField(int position)Returns the value of the field atposition.StringHttpURLConnectionImpl. getHeaderField(String fieldName)Returns the value of the field corresponding to thefieldName, or null if there is no such field.StringHttpsURLConnectionImpl. getHeaderFieldKey(int position)StringHttpURLConnectionImpl. getHeaderFieldKey(int position)StringRequestHeaders. getHost()StringRequestHeaders. getIfModifiedSince()StringRequestHeaders. getIfNoneMatch()static StringHttpEngine. getOriginAddress(URL url)StringRequestHeaders. getProxyAuthorization()StringHttpsURLConnectionImpl. getRequestMethod()StringHttpsURLConnectionImpl. getRequestProperty(String field)StringHttpURLConnectionImpl. getRequestProperty(String field)StringHttpsURLConnectionImpl. getResponseMessage()StringHttpURLConnectionImpl. getResponseMessage()StringRawHeaders. getResponseMessage()Returns the HTTP status message or null if it is unknown.StringRawHeaders. getStatusLine()StringRequestHeaders. getTransferEncoding()StringRequestHeaders. getUserAgent()StringRawHeaders. getValue(int index)Returns the value atindexor null if that is out of range.static StringHttpEngine. requestPath(URL url)Returns the path to request, like the '/' in 'GET / HTTP/1.1'.StringHttpsURLConnectionImpl. toString()Methods in com.squareup.okhttp.internal.http that return types with arguments of type String Modifier and Type Method Description Map<String,List<String>>HttpsURLConnectionImpl. getHeaderFields()Map<String,List<String>>HttpsURLConnectionImpl. getHeaderFields()Map<String,List<String>>HttpURLConnectionImpl. getHeaderFields()Map<String,List<String>>HttpURLConnectionImpl. getHeaderFields()Map<String,List<String>>HttpsURLConnectionImpl. getRequestProperties()Map<String,List<String>>HttpsURLConnectionImpl. getRequestProperties()Map<String,List<String>>HttpURLConnectionImpl. getRequestProperties()Map<String,List<String>>HttpURLConnectionImpl. getRequestProperties()Set<String>ResponseHeaders. getVaryFields()Set<String>RawHeaders. names()Returns an immutable case-insensitive set of header names.Map<String,List<String>>RawHeaders. toMultimap(boolean response)Returns an immutable map containing each field to its list of values.Map<String,List<String>>RawHeaders. toMultimap(boolean response)Returns an immutable map containing each field to its list of values.List<String>RawHeaders. toNameValueBlock()Returns a list of alternating names and values.List<String>RawHeaders. values(String name)Returns an immutable list of the header values forname.Methods in com.squareup.okhttp.internal.http with parameters of type String Modifier and Type Method Description voidRawHeaders. add(String fieldName, String value)Add a field with the specified value.voidRawHeaders. addAll(String fieldName, List<String> headerFields)voidRawHeaders. addLine(String line)Add an HTTP header line containing a field name, a literal colon, and a value.voidHttpsURLConnectionImpl. addRequestProperty(String field, String newValue)voidHttpURLConnectionImpl. addRequestProperty(String field, String value)voidRawHeaders. addSpdyRequestHeaders(String method, String path, String version, String host, String scheme)CacheResponseOkResponseCacheAdapter. get(URI uri, String requestMethod, Map<String,List<String>> requestHeaders)StringRawHeaders. get(String fieldName)Returns the last value corresponding to the specified field, or null.StringHttpsURLConnectionImpl. getHeaderField(String key)StringHttpURLConnectionImpl. getHeaderField(String fieldName)Returns the value of the field corresponding to thefieldName, or null if there is no such field.longHttpsURLConnectionImpl. getHeaderFieldDate(String field, long defaultValue)intHttpsURLConnectionImpl. getHeaderFieldInt(String field, int defaultValue)StringHttpsURLConnectionImpl. getRequestProperty(String field)StringHttpURLConnectionImpl. getRequestProperty(String field)voidOkResponseCacheAdapter. maybeRemove(String requestMethod, URI uri)ConnectionRouteSelector. next(String method)Returns the next route address to attempt.voidRawHeaders. removeAll(String fieldName)voidRawHeaders. set(String fieldName, String value)Set a field with the specified value.voidRequestHeaders. setAcceptEncoding(String acceptEncoding)voidRequestHeaders. setConnection(String connection)voidRequestHeaders. setContentType(String contentType)voidRequestHeaders. setHost(String host)voidRequestHeaders. setIfNoneMatch(String ifNoneMatch)voidRawHeaders. setRequestLine(String requestLine)Sets the request line (like "GET / HTTP/1.1").voidHttpsURLConnectionImpl. setRequestMethod(String method)voidHttpsURLConnectionImpl. setRequestProperty(String field, String newValue)voidHttpURLConnectionImpl. setRequestProperty(String field, String newValue)voidRawHeaders. setStatusLine(String statusLine)Sets the response status line (like "HTTP/1.0 200 OK").voidResponseHeaders. setTransport(String transport)voidRequestHeaders. setUserAgent(String userAgent)List<String>RawHeaders. values(String name)Returns an immutable list of the header values forname.Method parameters in com.squareup.okhttp.internal.http with type arguments of type String Modifier and Type Method Description voidRawHeaders. addAll(String fieldName, List<String> headerFields)voidRequestHeaders. addCookies(Map<String,List<String>> allCookieHeaders)voidRequestHeaders. addCookies(Map<String,List<String>> allCookieHeaders)static RawHeadersRawHeaders. fromMultimap(Map<String,List<String>> map, boolean response)Creates a new instance from the given map of fields to values.static RawHeadersRawHeaders. fromMultimap(Map<String,List<String>> map, boolean response)Creates a new instance from the given map of fields to values.static RawHeadersRawHeaders. fromNameValueBlock(List<String> nameValueBlock)Returns headers for a name value block containing a SPDY response.CacheResponseOkResponseCacheAdapter. get(URI uri, String requestMethod, Map<String,List<String>> requestHeaders)CacheResponseOkResponseCacheAdapter. get(URI uri, String requestMethod, Map<String,List<String>> requestHeaders)RawHeadersRawHeaders. getAll(Set<String> fieldNames)booleanResponseHeaders. varyMatches(Map<String,List<String>> cachedRequest, Map<String,List<String>> newRequest)Returns true if none of the Vary headers on this response have changed betweencachedRequestandnewRequest.booleanResponseHeaders. varyMatches(Map<String,List<String>> cachedRequest, Map<String,List<String>> newRequest)Returns true if none of the Vary headers on this response have changed betweencachedRequestandnewRequest.Constructors in com.squareup.okhttp.internal.http with parameters of type String Constructor Description HttpEngine(OkHttpClient client, Policy policy, String method, RawHeaders requestHeaders, Connection connection, com.squareup.okhttp.internal.http.RetryableOutputStream requestBodyOut)HttpsEngine(OkHttpClient client, Policy policy, String method, RawHeaders requestHeaders, Connection connection, com.squareup.okhttp.internal.http.RetryableOutputStream requestBody) -
Uses of String in com.squareup.okhttp.internal.spdy
Methods in com.squareup.okhttp.internal.spdy that return types with arguments of type String Modifier and Type Method Description List<String>SpdyStream. getRequestHeaders()List<String>SpdyStream. getResponseHeaders()Returns the stream's response headers, blocking if necessary if they have not been received yet.Method parameters in com.squareup.okhttp.internal.spdy with type arguments of type String Modifier and Type Method Description SpdyStreamSpdyConnection. newStream(List<String> requestHeaders, boolean out, boolean in)Returns a new locally-initiated stream.voidSpdyStream. reply(List<String> responseHeaders, boolean out)Sends a reply to an incoming stream.Constructors in com.squareup.okhttp.internal.spdy with parameters of type String Constructor Description Builder(String hostName, boolean client, InputStream in, OutputStream out)Builder(String hostName, boolean client, Socket socket) -
Uses of String in com.squareup.okhttp.internal.tls
Methods in com.squareup.okhttp.internal.tls with parameters of type String Modifier and Type Method Description booleanOkHostnameVerifier. verify(String host, X509Certificate certificate)booleanOkHostnameVerifier. verify(String host, SSLSession session)booleanOkHostnameVerifier. verifyHostName(String hostName, String cn)Returns true ifhostNamematches the name or patterncn. -
Uses of String in dalvik.annotation
Methods in dalvik.annotation with parameters of type String Modifier and Type Method Description static TestLevelTestLevel. valueOf(String name)Returns the enum constant of this type with the specified name. -
Uses of String in dalvik.system
Methods in dalvik.system that return String Modifier and Type Method Description StringVMRuntime. bootClassPath()Returns the VM's boot class path.StringVMRuntime. classPath()Returns the VM's class path.StringBlockGuard.BlockGuardPolicyException. getMessage()static StringDalvikLogging. loggerNameToTag(String loggerName)Returns the short logger tag (up to 23 chars) for the given logger name.String[]VMRuntime. properties()Returns a copy of the VM's command-line property settings.StringVMRuntime. vmVersion()Returns the VM's version.Methods in dalvik.system with parameters of type String Modifier and Type Method Description static StringDalvikLogging. loggerNameToTag(String loggerName)Returns the short logger tag (up to 23 chars) for the given logger name.voidCloseGuard. open(String closer)If CloseGuard is enabled,openinitializes the instance with a warning that the caller should have explicitly called theclosermethod instead of relying on finalization.voidDalvikLogHandler. publish(Logger source, String tag, Level level, String message)Publishes a log message.voidCloseGuard.Reporter. report(String message, Throwable allocationSite)Constructors in dalvik.system with parameters of type String Constructor Description BlockGuardPolicyException(int policyState, int policyViolated, String message) -
Uses of String in java.awt.font
Methods in java.awt.font that return String Modifier and Type Method Description StringNumericShaper. toString()Constructors in java.awt.font with parameters of type String Constructor Description TextAttribute(String name)Instantiates a new TextAttribute with the specified name. -
Uses of String in java.beans
Methods in java.beans that return String Modifier and Type Method Description StringPropertyChangeEvent. getPropertyName()Returns the name of the property that has changed.StringPropertyChangeListenerProxy. getPropertyName()Returns the name of the property associated with this listener proxy.Methods in java.beans with parameters of type String Modifier and Type Method Description voidPropertyChangeSupport. addPropertyChangeListener(String propertyName, PropertyChangeListener listener)Subscribeslistenerto change notifications for the property namedpropertyName.voidPropertyChangeSupport. fireIndexedPropertyChange(String propertyName, int index, boolean oldValue, boolean newValue)Fires a property change of a boolean property with the given name.voidPropertyChangeSupport. fireIndexedPropertyChange(String propertyName, int index, int oldValue, int newValue)Fires a property change of an integer property with the given name.voidPropertyChangeSupport. fireIndexedPropertyChange(String propertyName, int index, Object oldValue, Object newValue)Fires anIndexedPropertyChangeEventwith the given name, old value, new value and index.voidPropertyChangeSupport. firePropertyChange(String propertyName, boolean oldValue, boolean newValue)Fires a property change of a boolean property with the given name.voidPropertyChangeSupport. firePropertyChange(String propertyName, int oldValue, int newValue)Fires a property change of an integer property with the given name.voidPropertyChangeSupport. firePropertyChange(String propertyName, Object oldValue, Object newValue)Fires aPropertyChangeEventwith the given name, old value and new value.PropertyChangeListener[]PropertyChangeSupport. getPropertyChangeListeners(String propertyName)Returns the subscribers to be notified whenpropertyNamechanges.booleanPropertyChangeSupport. hasListeners(String propertyName)Returns true if there are listeners registered to the property with the given name.voidPropertyChangeSupport. removePropertyChangeListener(String propertyName, PropertyChangeListener listener)Unsubscribeslistenerfrom change notifications for the property namedpropertyName.Constructors in java.beans with parameters of type String Constructor Description IndexedPropertyChangeEvent(Object source, String propertyName, Object oldValue, Object newValue, int index)Creates a new property changed event with an indication of the property index.PropertyChangeEvent(Object source, String propertyName, Object oldValue, Object newValue)The constructor used to create a newPropertyChangeEvent.PropertyChangeListenerProxy(String propertyName, PropertyChangeListener listener)Creates a new listener proxy that associates a listener with a property name. -
Uses of String in java.io
Fields in java.io declared as String Modifier and Type Field Description protected StringStringBufferInputStream. bufferDeprecated.The source string containing the data to read.StringInvalidClassException. classnameThe fully qualified name of the class that caused the problem.static StringFile. pathSeparatorThe system-dependent string used to separate components in search paths (":").static StringFile. separatorThe system-dependent string used to separate components in filenames ('/').StringStreamTokenizer. svalContains a string if the current token is a word (ttype==TT_WORD).Methods in java.io that return String Modifier and Type Method Description StringFile. getAbsolutePath()Returns the absolute path of this file.StringFilePermission. getActions()StringSerializablePermission. getActions()StringFile. getCanonicalPath()Returns the canonical path of this file.StringInputStreamReader. getEncoding()Returns the canonical name of the encoding used by this writer to convert characters to bytes, or null if this writer has been closed.StringOutputStreamWriter. getEncoding()Returns the canonical name of the encoding used by this writer to convert characters to bytes, or null if this writer has been closed.StringInvalidClassException. getMessage()Returns the detail message which was provided when the exception was created.StringWriteAbortedException. getMessage()Gets the extra information message which was provided when this exception was created.StringFile. getName()Returns the name of the file or directory represented by this file.StringObjectStreamClass. getName()Returns the name of the class represented by this descriptor.StringObjectStreamField. getName()Gets the name of this field.StringFile. getParent()Returns the pathname of the parent of this file.StringFile. getPath()Returns the path of this file.StringObjectStreamField. getTypeString()Gets the type signature used by the VM to represent the type of this field.String[]File. list()Returns an array of strings with the file names in the directory represented by this file.String[]File. list(FilenameFilter filter)Gets a list of the files in the directory represented by this file.StringBufferedReader. readLine()Returns the next line of text available from this reader.StringConsole. readLine()Reads a line from the console.StringConsole. readLine(String format, Object... args)Reads a line from this console, using the specified prompt.StringDataInput. readLine()Returns a string containing the next line of text available from this stream.StringDataInputStream. readLine()Deprecated.This method cannot be trusted to convert bytes to characters correctly.StringLineNumberReader. readLine()Returns the next line of text available from this reader.StringObjectInputStream. readLine()Deprecated.UseBufferedReaderinstead.StringRandomAccessFile. readLine()Reads a line of text form the current position in this file.StringDataInput. readUTF()Reads a string encoded withmodified UTF-8.StringDataInputStream. readUTF()static StringDataInputStream. readUTF(DataInput in)StringObjectInputStream. readUTF()Reads a string encoded inmodified UTF-8from the source stream.StringRandomAccessFile. readUTF()Reads a string that is encoded inmodified UTF-8from this file.StringByteArrayOutputStream. toString()Returns the contents of this ByteArrayOutputStream as a string.StringByteArrayOutputStream. toString(int hibyte)Deprecated.UseByteArrayOutputStream.toString()instead.StringByteArrayOutputStream. toString(String charsetName)Returns the contents of this ByteArrayOutputStream as a string converted according to the encoding declared incharsetName.StringCharArrayWriter. toString()Returns the contents of thisCharArrayWriteras a string.StringFile. toString()Returns a string containing a concise, human-readable description of this file.StringFileDescriptor. toString()StringObjectStreamClass. toString()Returns a string containing a concise, human-readable description of this descriptor.StringObjectStreamField. toString()Returns a string containing a concise, human-readable description of this field descriptor.StringStreamTokenizer. toString()Returns the state of this tokenizer in a readable format.StringStringWriter. toString()Gets a copy of the contents of this writer as a string.Methods in java.io with parameters of type String Modifier and Type Method Description booleanFilenameFilter. accept(File dir, String filename)Indicates if a specific filename matches this filter.static FileFile. createTempFile(String prefix, String suffix)Creates an empty temporary file using the given prefix and suffix as part of the file name.static FileFile. createTempFile(String prefix, String suffix, File directory)Creates an empty temporary file in the given directory using the given prefix and suffix as part of the file name.abstract booleanObjectInputStream.GetField. defaulted(String name)Indicates if the field identified bynameis defaulted.ConsoleConsole. format(String format, Object... args)Writes a formatted string to the console using the specified format string and arguments.PrintStreamPrintStream. format(String format, Object... args)Formatsargsaccording to the format stringformat, and writes the result to this stream.PrintStreamPrintStream. format(Locale l, String format, Object... args)Writes a string formatted by an intermediateFormatterto this stream using the specified locale, format string and arguments.PrintWriterPrintWriter. format(String format, Object... args)Formatsargsaccording to the format stringformat, and writes the result to this stream.PrintWriterPrintWriter. format(Locale l, String format, Object... args)Writes a string formatted by an intermediateFormatterto the target using the specified locale, format string and arguments.abstract booleanObjectInputStream.GetField. get(String name, boolean defaultValue)Gets the value of the boolean field identified bynamefrom the persistent field.abstract byteObjectInputStream.GetField. get(String name, byte defaultValue)Gets the value of the byte field identified bynamefrom the persistent field.abstract charObjectInputStream.GetField. get(String name, char defaultValue)Gets the value of the character field identified bynamefrom the persistent field.abstract doubleObjectInputStream.GetField. get(String name, double defaultValue)Gets the value of the double field identified bynamefrom the persistent field.abstract floatObjectInputStream.GetField. get(String name, float defaultValue)Gets the value of the float field identified bynamefrom the persistent field.abstract intObjectInputStream.GetField. get(String name, int defaultValue)Gets the value of the integer field identified bynamefrom the persistent field.abstract longObjectInputStream.GetField. get(String name, long defaultValue)Gets the value of the long field identified bynamefrom the persistent field.abstract shortObjectInputStream.GetField. get(String name, short defaultValue)Gets the value of the short field identified bynamefrom the persistent field.abstract ObjectObjectInputStream.GetField. get(String name, Object defaultValue)Gets the value of the object field identified bynamefrom the persistent field.ObjectStreamFieldObjectStreamClass. getField(String name)Gets a field descriptor of the class represented by this class descriptor.voidPrintStream. print(String str)Prints a string to the target stream.voidPrintWriter. print(String str)Prints a string to the target.ConsoleConsole. printf(String format, Object... args)Equivalent toformat(format, args).PrintStreamPrintStream. printf(String format, Object... args)Prints a formatted string.PrintStreamPrintStream. printf(Locale l, String format, Object... args)Prints a formatted string.PrintWriterPrintWriter. printf(String format, Object... args)Prints a formatted string.PrintWriterPrintWriter. printf(Locale l, String format, Object... args)Prints a formatted string.voidPrintStream. println(String str)Prints a string followed by a newline.voidPrintWriter. println(String str)Prints the string representation of the stringsfollowed by a newline.abstract voidObjectOutputStream.PutField. put(String name, boolean value)Puts the value of the boolean field identified bynameto the persistent field.abstract voidObjectOutputStream.PutField. put(String name, byte value)Puts the value of the byte field identified bynameto the persistent field.abstract voidObjectOutputStream.PutField. put(String name, char value)Puts the value of the character field identified bynameto the persistent field.abstract voidObjectOutputStream.PutField. put(String name, double value)Puts the value of the double field identified bynameto the persistent field.abstract voidObjectOutputStream.PutField. put(String name, float value)Puts the value of the float field identified bynameto the persistent field.abstract voidObjectOutputStream.PutField. put(String name, int value)Puts the value of the integer field identified bynameto the persistent field.abstract voidObjectOutputStream.PutField. put(String name, long value)Puts the value of the long field identified bynameto the persistent field.abstract voidObjectOutputStream.PutField. put(String name, short value)Puts the value of the short field identified bynameto the persistent field.abstract voidObjectOutputStream.PutField. put(String name, Object value)Puts the value of the Object field identified bynameto the persistent field.StringConsole. readLine(String format, Object... args)Reads a line from this console, using the specified prompt.char[]Console. readPassword(String format, Object... args)Reads a password from the console.protected Class<?>ObjectInputStream. resolveProxyClass(String[] interfaceNames)Creates the proxy class that implements the interfaces specified ininterfaceNames.StringByteArrayOutputStream. toString(String charsetName)Returns the contents of this ByteArrayOutputStream as a string converted according to the encoding declared incharsetName.voidBufferedWriter. write(String str, int offset, int count)Writescountcharacters starting atoffsetinstrto this writer.voidCharArrayWriter. write(String str, int offset, int count)Writescountcharacters starting atoffsetfrom the stringstrto this CharArrayWriter.voidFilterWriter. write(String str, int offset, int count)Writescountcharacters from the stringstrstarting at positionindexto this writer.voidOutputStreamWriter. write(String str, int offset, int count)Writescountcharacters starting atoffsetinstrto this writer.voidPrintWriter. write(String str)Writes the characters from the specified string to the target.voidPrintWriter. write(String str, int offset, int count)Writescountcharacters fromstrstarting atoffsetto the target.voidStringWriter. write(String str)Writes the characters from the specified string to this writer'sStringBuffer.voidStringWriter. write(String str, int offset, int count)Writescountcharacters fromstrstarting atoffsetto this writer'sStringBuffer.voidWriter. write(String str)Writes the characters from the specified string to the target.voidWriter. write(String str, int offset, int count)Writescountcharacters fromstrstarting atoffsetto the target.voidDataOutput. writeBytes(String str)Writes the low order 8-bit bytes from the specified string.voidDataOutputStream. writeBytes(String str)voidObjectOutputStream. writeBytes(String value)Writes the stringvalueas a sequence of bytes to the target stream.voidRandomAccessFile. writeBytes(String str)Writes the low order 8-bit bytes from a string to this file, starting at the current file pointer.voidDataOutput. writeChars(String str)Writes the 16-bit characters contained instrin big-endian order.voidDataOutputStream. writeChars(String str)voidObjectOutputStream. writeChars(String value)Writes the stringvalueas a sequence of characters to the target stream.voidRandomAccessFile. writeChars(String str)Writes big-endian 16-bit characters fromstrto this file, starting at the current file pointer.voidDataOutput. writeUTF(String str)Writes the specified string encoded inmodified UTF-8.voidDataOutputStream. writeUTF(String str)voidObjectOutputStream. writeUTF(String value)Writes a string encoded withmodified UTF-8to the target stream.voidRandomAccessFile. writeUTF(String str)Writes a string encoded withmodified UTF-8to this file, starting at the current file pointer.Constructors in java.io with parameters of type String Constructor Description CharConversionException(String detailMessage)Constructs a newCharConversionExceptionwith its stack trace and detail message filled in.EOFException(String detailMessage)Constructs a newEOFExceptionwith its stack trace and detail message filled in.File(File dir, String name)Constructs a new file using the specified directory and name.File(String path)Constructs a new file using the specified path.File(String dirPath, String name)Constructs a new File using the specified directory path and file name, placing a path separator between the two.FileInputStream(String path)Equivalent tonew FileInputStream(new File(path)).FileNotFoundException(String detailMessage)Constructs a newFileNotFoundExceptionwith its stack trace and detail message filled in.FileOutputStream(String path)Constructs a newFileOutputStreamthat writes topath.FileOutputStream(String path, boolean append)Constructs a newFileOutputStreamthat writes topath.FilePermission(String path, String actions)FileReader(String filename)Construct a new FileReader on the given file namedfilename.FileWriter(String filename)Creates a FileWriter using the platform dependentfilename.FileWriter(String filename, boolean append)Creates a FileWriter using the platform dependentfilename.InputStreamReader(InputStream in, String charsetName)Constructs a new InputStreamReader on the InputStreamin.InterruptedIOException(String detailMessage)Constructs a new instance with the given detail message.InterruptedIOException(String detailMessage, Throwable cause)Constructs a new instance with given detail message and cause.InvalidClassException(String detailMessage)Constructs a newInvalidClassExceptionwith its stack trace and detailed message filled in.InvalidClassException(String className, String detailMessage)Constructs a newInvalidClassExceptionwith its stack trace, detail message and the fully qualified name of the class which caused the exception filled in.InvalidObjectException(String detailMessage)Constructs anInvalidObjectExceptionwith its stack trace and detail message filled in.IOException(String detailMessage)Constructs a newIOExceptionwith its stack trace and detail message filled in.IOException(String message, Throwable cause)Constructs a new instance of this class with detail message and cause filled in.NotActiveException(String detailMessage)Constructs a newNotActiveExceptionwith its stack trace and detail message filled in.NotSerializableException(String detailMessage)Constructs a newNotSerializableExceptionwith its stack trace and detail message filled in.ObjectStreamException(String detailMessage)Constructs a newObjectStreamExceptionwith its stack trace and detail message filled in.ObjectStreamField(String name, Class<?> cl)Constructs an ObjectStreamField with the specified name and type.ObjectStreamField(String name, Class<?> cl, boolean unshared)Constructs an ObjectStreamField with the specified name, type and the indication if it is unshared.OutputStreamWriter(OutputStream out, String charsetName)Constructs a new OutputStreamWriter usingoutas the target stream to write converted characters to andcharsetNameas the character encoding.PrintStream(File file, String charsetName)Constructs a newPrintStreamwithfileas its target.PrintStream(OutputStream out, boolean autoFlush, String charsetName)Constructs a newPrintStreamwithoutas its target stream and using the character encodingcharsetNamewhile writing.PrintStream(String fileName)Constructs a newPrintStreamwith the file identified byfileNameas its target.PrintStream(String fileName, String charsetName)Constructs a newPrintStreamwith the file identified byfileNameas its target.PrintWriter(File file, String csn)Constructs a newPrintWriterwithfileas its target.PrintWriter(String fileName)Constructs a newPrintWriterwith the file identified byfileNameas its target.PrintWriter(String fileName, String csn)Constructs a newPrintWriterwith the file identified byfileNameas its target.RandomAccessFile(File file, String mode)Constructs a newRandomAccessFilebased onfileand opens it according to the access string inmode.RandomAccessFile(String fileName, String mode)Constructs a newRandomAccessFilebased on the file namedfileNameand opens it according to the access string inmode.SerializablePermission(String permissionName)SerializablePermission(String name, String actions)StreamCorruptedException(String detailMessage)Constructs a newStreamCorruptedExceptionwith its stack trace and detail message filled in.StringBufferInputStream(String str)Deprecated.Construct a newStringBufferInputStreamwithstras source.StringReader(String str)Construct a newStringReaderwithstras source.SyncFailedException(String detailMessage)Constructs a newSyncFailedExceptionwith its stack trace and detail message filled in.UnsupportedEncodingException(String detailMessage)Constructs a newUnsupportedEncodingExceptionwith its stack trace and detail message filled in.UTFDataFormatException(String detailMessage)Constructs a newUTFDataFormatExceptionwith its stack trace and detail message filled in.WriteAbortedException(String detailMessage, Exception rootCause)Constructs a newWriteAbortedExceptionwith its stack trace, detail message and the exception which caused the underlying problem when serializing the object filled in. -
Uses of String in java.lang
Fields in java.lang with type parameters of type String Modifier and Type Field Description static Comparator<String>String. CASE_INSENSITIVE_ORDERA comparator ignoring the case of the characters.Methods in java.lang that return String Modifier and Type Method Description static StringIntegralToString. bytesToHexString(byte[] bytes, boolean upperCase)static StringIntegralToString. byteToHexString(byte b, boolean upperCase)static StringSystem. clearProperty(String name)Removes a specific system property.StringString. concat(String string)Concatenates this string and the specified string.StringEnumConstantNotPresentException. constantName()Gets the name of the missing constant.static StringString. copyValueOf(char[] data)Creates a new string containing the characters in the specified character array.static StringString. copyValueOf(char[] data, int start, int length)Creates a new string containing the specified characters in the character array.protected StringClassLoader. findLibrary(String libName)Returns the absolute path of the native library with the specified name, ornull.static StringString. format(String format, Object... args)Returns a localized formatted string, using the supplied format and arguments, using the user's default locale.static StringString. format(Locale locale, String format, Object... args)Returns a formatted string, using the supplied format and arguments, localized to the given locale.StringRuntimePermission. getActions()StringClass. getCanonicalName()Returns the canonical name of this class.StringStackTraceElement. getClassName()Returns the fully qualified name of the class belonging to thisStackTraceElement.static StringSystem. getenv(String name)Returns the value of the environment variable with the given name, or null if no such variable exists.StringStackTraceElement. getFileName()Returns the name of the Java source file containing class belonging to thisStackTraceElement.StringPackage. getImplementationTitle()Returns the title of the implementation of this package, ornullif this is unknown.StringPackage. getImplementationVendor()Returns the name of the vendor or organization that provides this implementation of the package, ornullif this is unknown.StringPackage. getImplementationVersion()Returns the version of the implementation of this package, ornullif this is unknown.StringThrowable. getLocalizedMessage()Returns the detail message which was provided when thisThrowablewas created.StringThrowable. getMessage()Returns the detail message which was provided when thisThrowablewas created.StringStackTraceElement. getMethodName()Returns the name of the method belonging to thisStackTraceElement.static StringCharacter. getName(int codePoint)Returns a human-readable name for the given code point, or null if the code point is unassigned.StringClass. getName()Returns the name of the class represented by thisClass.StringPackage. getName()Returns the name of this package in the standard dot notation; for example: "java.lang".StringThread. getName()Returns the name of the Thread.StringThreadGroup. getName()Returns the name of this thread group.static StringSystem. getProperty(String propertyName)Returns the value of a particular system property ornullif no such property exists.static StringSystem. getProperty(String name, String defaultValue)Returns the value of a particular system property.StringClass. getSimpleName()Returns the simple name of the class represented by thisClassas defined in the source code.StringPackage. getSpecificationTitle()Returns the title of the specification this package implements, ornullif this is unknown.StringPackage. getSpecificationVendor()Returns the name of the vendor or organization that owns and maintains the specification this package implements, ornullif this is unknown.StringPackage. getSpecificationVersion()Returns the version of the specification this package implements, ornullif this is unknown.StringString. intern()Returns an interned string equal to this string.static StringIntegralToString. intToBinaryString(int i)static StringIntegralToString. intToHexString(int i, boolean upperCase, int minWidth)static StringIntegralToString. intToOctalString(int i)static StringIntegralToString. intToString(int i)Equivalent to Integer.toString(i).static StringIntegralToString. intToString(int i, int radix)Equivalent to Integer.toString(i, radix).static StringSystem. lineSeparator()Returns the system's line separator.static StringIntegralToString. longToBinaryString(long v)static StringIntegralToString. longToHexString(long v)static StringIntegralToString. longToOctalString(long v)static StringIntegralToString. longToString(long l)Equivalent to Long.toString(l).static StringIntegralToString. longToString(long v, int radix)Equivalent to Long.toString(v, radix).static StringSystem. mapLibraryName(String userLibName)Returns the platform specific file name format for the shared library named by the argument.StringEnum. name()Returns the name of this enum constant.StringString. replace(char oldChar, char newChar)Copies this string replacing occurrences of the specified character with another character.StringString. replace(CharSequence target, CharSequence replacement)Copies this string replacing occurrences of the specified target sequence with another sequence.StringString. replaceAll(String regularExpression, String replacement)Replaces all matches forregularExpressionwithin this string with the givenreplacement.StringString. replaceFirst(String regularExpression, String replacement)Replaces the first match forregularExpressionwithin this string with the givenreplacement.static StringSystem. setProperty(String name, String value)Sets the value of a particular system property.String[]String. split(String regularExpression)Splits this string using the suppliedregularExpression.String[]String. split(String regularExpression, int limit)Splits this string using the suppliedregularExpression.StringString. substring(int start)Returns a string containing a suffix of this string.StringString. substring(int start, int end)Returns a string containing a subsequence of characters from this string.StringStringBuffer. substring(int start)StringStringBuffer. substring(int start, int end)static StringInteger. toBinaryString(int i)Converts the specified integer into its binary string representation.static StringLong. toBinaryString(long v)Converts the specified long value into its binary string representation.static StringByte. toHexString(byte b, boolean upperCase)Returns a two-digit hex string.static StringDouble. toHexString(double d)Converts the specified double into its hexadecimal string representation.static StringFloat. toHexString(float f)Converts the specified float into its hexadecimal string representation.static StringInteger. toHexString(int i)Converts the specified integer into its hexadecimal string representation.static StringLong. toHexString(long v)Converts the specified long value into its hexadecimal string representation.StringString. toLowerCase()Converts this string to lower case, using the rules of the user's default locale.StringString. toLowerCase(Locale locale)Converts this string to lower case, using the rules oflocale.static StringInteger. toOctalString(int i)Converts the specified integer into its octal string representation.static StringLong. toOctalString(long v)Converts the specified long value into its octal string representation.StringBoolean. toString()Returns a string containing a concise, human-readable description of this boolean.static StringBoolean. toString(boolean value)Converts the specified boolean to its string representation.StringByte. toString()static StringByte. toString(byte value)Returns a string containing a concise, human-readable description of the specified byte value.StringCharacter.Subset. toString()Returns this subset's name.StringCharacter. toString()static StringCharacter. toString(char value)Converts the specified character to its string representation.StringCharSequence. toString()Returns a string with the same characters in the same order as in this sequence.StringClass. toString()StringDouble. toString()static StringDouble. toString(double d)Returns a string containing a concise, human-readable description of the specified double value.StringEnum. toString()Returns a string containing a concise, human-readable description of this object.StringFloat. toString()static StringFloat. toString(float f)Returns a string containing a concise, human-readable description of the specified float value.StringInteger. toString()static StringInteger. toString(int i)Converts the specified integer into its decimal string representation.static StringInteger. toString(int i, int radix)Converts the specified signed integer into a string representation based on the specified radix.StringLong. toString()static StringLong. toString(long n)Converts the specified long value into its decimal string representation.static StringLong. toString(long v, int radix)Converts the specified signed long value into a string representation based on the specified radix.StringObject. toString()Returns a string containing a concise, human-readable description of this object.StringPackage. toString()StringShort. toString()static StringShort. toString(short value)Returns a string containing a concise, human-readable description of the specified short value with radix 10.StringStackTraceElement. toString()StringString. toString()Returns this string.StringStringBuffer. toString()StringStringBuilder. toString()Returns the contents of this builder.StringThread. toString()Returns a string containing a concise, human-readable description of the Thread.StringThreadGroup. toString()StringThrowable. toString()StringString. toUpperCase()Converts this this string to upper case, using the rules of the user's default locale.StringString. toUpperCase(Locale locale)Converts this this string to upper case, using the rules oflocale.StringString. trim()Copies this string removing white space characters from the beginning and end of the string.StringTypeNotPresentException. typeName()Gets the fully qualified name of the type that could not be found.static StringString. valueOf(boolean value)Converts the specified boolean to its string representation.static StringString. valueOf(char value)Converts the specified character to its string representation.static StringString. valueOf(char[] data)Creates a new string containing the characters in the specified character array.static StringString. valueOf(char[] data, int start, int length)Creates a new string containing the specified characters in the character array.static StringString. valueOf(double value)Converts the specified double to its string representation.static StringString. valueOf(float value)Converts the specified float to its string representation.static StringString. valueOf(int value)Converts the specified integer to its string representation.static StringString. valueOf(long value)Converts the specified long to its string representation.static StringString. valueOf(Object value)Converts the specified object to its string representation.Methods in java.lang that return types with arguments of type String Modifier and Type Method Description List<String>ProcessBuilder. command()Returns this process builder's current program and arguments.Map<String,String>ProcessBuilder. environment()Returns this process builder's current environment.Map<String,String>ProcessBuilder. environment()Returns this process builder's current environment.static Map<String,String>System. getenv()Returns an unmodifiable map of all environment variables to their values.static Map<String,String>System. getenv()Returns an unmodifiable map of all environment variables to their values.Methods in java.lang with parameters of type String Modifier and Type Method Description StringBufferStringBuffer. append(String string)Adds the specified string to the end of this buffer.StringBuilderStringBuilder. append(String str)Appends the contents of the specified string.voidSecurityManager. checkAccept(String host, int port)voidSecurityManager. checkConnect(String host, int port)voidSecurityManager. checkConnect(String host, int port, Object context)voidSecurityManager. checkDelete(String file)voidSecurityManager. checkExec(String cmd)voidSecurityManager. checkLink(String libName)voidSecurityManager. checkPackageAccess(String packageName)voidSecurityManager. checkPackageDefinition(String packageName)voidSecurityManager. checkPropertyAccess(String key)voidSecurityManager. checkRead(String file)voidSecurityManager. checkRead(String file, Object context)voidSecurityManager. checkSecurityAccess(String target)voidSecurityManager. checkWrite(String file)protected intSecurityManager. classDepth(String name)Deprecated.static StringSystem. clearProperty(String name)Removes a specific system property.ProcessBuilderProcessBuilder. command(String... command)Changes the program and arguments of this process builder.intString. compareTo(String string)Compares the specified string to this string using the Unicode values of the characters.intString. compareToIgnoreCase(String string)Compares the specified string to this string using the Unicode values of the characters, ignoring case differences.static booleanCompiler. compileClasses(String nameRoot)Compiles all classes whose name matches the specified name using the JIT compiler and indicates if compilation has been successful.StringString. concat(String string)Concatenates this string and the specified string.static ByteByte. decode(String string)Parses the specified string and returns aByteinstance if the string can be decoded into a single byte value.static IntegerInteger. decode(String string)Parses the specified string and returns aIntegerinstance if the string can be decoded into an integer value.static LongLong. decode(String string)Parses the specified string and returns aLonginstance if the string can be decoded into a long value.static ShortShort. decode(String string)Parses the specified string and returns aShortinstance if the string can be decoded into a short value.protected Class<?>ClassLoader. defineClass(String className, byte[] classRep, int offset, int length)Constructs a new class from an array of bytes containing a class definition in class file format.protected Class<?>ClassLoader. defineClass(String className, byte[] classRep, int offset, int length, ProtectionDomain protectionDomain)Constructs a new class from an array of bytes containing a class definition in class file format and assigns the specified protection domain to the new class.protected Class<?>ClassLoader. defineClass(String name, ByteBuffer b, ProtectionDomain protectionDomain)Defines a new class with the specified name, byte code from the byte buffer and the optional protection domain.protected PackageClassLoader. definePackage(String name, String specTitle, String specVersion, String specVendor, String implTitle, String implVersion, String implVendor, URL sealBase)Defines and returns a newPackageusing the specified information.booleanString. endsWith(String suffix)Compares the specified string to this string to determine if the specified string is a suffix.booleanString. equalsIgnoreCase(String string)Compares the specified string to this string ignoring the case of the characters and returns true if they are equal.ProcessRuntime. exec(String prog)Executes the specified program in a separate native process.ProcessRuntime. exec(String[] progArray)Executes the specified command and its arguments in a separate native process.ProcessRuntime. exec(String[] progArray, String[] envp)Executes the specified command and its arguments in a separate native process.ProcessRuntime. exec(String[] progArray, String[] envp, File directory)Executes the specified command and its arguments in a separate native process.ProcessRuntime. exec(String prog, String[] envp)Executes the specified program in a separate native process.ProcessRuntime. exec(String prog, String[] envp, File directory)Executes the specified program in a separate native process.protected Class<?>ClassLoader. findClass(String className)Overridden by subclasses, throws aClassNotFoundExceptionby default.protected StringClassLoader. findLibrary(String libName)Returns the absolute path of the native library with the specified name, ornull.protected Class<?>ClassLoader. findLoadedClass(String className)Returns the class with the specified name if it has already been loaded by the VM ornullif it has not yet been loaded.protected URLClassLoader. findResource(String resName)Finds the URL of the resource with the specified name.protected Enumeration<URL>ClassLoader. findResources(String resName)Finds an enumeration of URLs for the resource with the specified name.protected Class<?>ClassLoader. findSystemClass(String className)Finds the class with the specified name, loading it using the system class loader if necessary.static StringString. format(String format, Object... args)Returns a localized formatted string, using the supplied format and arguments, using the user's default locale.static StringString. format(Locale locale, String format, Object... args)Returns a formatted string, using the supplied format and arguments, localized to the given locale.static Character.UnicodeBlockCharacter.UnicodeBlock. forName(String blockName)Returns the Unicode block for the given block name, or null if there is no such block.static Class<?>Class. forName(String className)Returns aClassobject which represents the class with the given name.static Class<?>Class. forName(String className, boolean shouldInitialize, ClassLoader classLoader)Returns aClassobject which represents the class with the given name.static booleanBoolean. getBoolean(String string)Returns thebooleanvalue of the system property identified bystring.byte[]String. getBytes(String charsetName)Returns a new byte array containing the characters of this string encoded using the named charset.FieldClass. getDeclaredField(String name)Returns aFieldobject for the field with the given name which is declared in the class represented by thisClass.MethodClass. getDeclaredMethod(String name, Class<?>... parameterTypes)Returns aMethodobject which represents the method matching the given name and parameter types that is declared by the class represented by thisClass.static StringSystem. getenv(String name)Returns the value of the environment variable with the given name, or null if no such variable exists.FieldClass. getField(String name)Returns aFieldobject which represents the public field with the given name.static IntegerInteger. getInteger(String string)Returns theIntegervalue of the system property identified bystring.static IntegerInteger. getInteger(String string, int defaultValue)Returns theIntegervalue of the system property identified bystring.static IntegerInteger. getInteger(String string, Integer defaultValue)Returns theIntegervalue of the system property identified bystring.static LongLong. getLong(String string)Returns theLongvalue of the system property identified bystring.static LongLong. getLong(String string, long defaultValue)Returns theLongvalue of the system property identified bystring.static LongLong. getLong(String string, Long defaultValue)Returns theLongvalue of the system property identified bystring.MethodClass. getMethod(String name, Class<?>... parameterTypes)Returns aMethodobject which represents the public method with the given name and parameter types.protected PackageClassLoader. getPackage(String name)Returns the package with the specified name.static PackagePackage. getPackage(String packageName)Attempts to locate the requested package in the caller's class loader.static StringSystem. getProperty(String propertyName)Returns the value of a particular system property ornullif no such property exists.static StringSystem. getProperty(String name, String defaultValue)Returns the value of a particular system property.URLClass. getResource(String resourceName)Returns the URL of the given resource, or null if the resource is not found.URLClassLoader. getResource(String resName)Returns the URL of the resource with the specified name.InputStreamClass. getResourceAsStream(String resourceName)Returns a read-only stream for the contents of the given resource, or null if the resource is not found.InputStreamClassLoader. getResourceAsStream(String resName)Returns a stream for the resource with the specified name.Enumeration<URL>ClassLoader. getResources(String resName)Returns an enumeration of URLs for the resource with the specified name.static URLClassLoader. getSystemResource(String resName)Finds the URL of the resource with the specified name.static InputStreamClassLoader. getSystemResourceAsStream(String resName)Returns a stream for the resource with the specified name.static Enumeration<URL>ClassLoader. getSystemResources(String resName)Returns an enumeration of URLs for the resource with the specified name.protected booleanSecurityManager. inClass(String name)Deprecated.intString. indexOf(String string)Searches in this string for the first index of the specified string.intString. indexOf(String subString, int start)Searches in this string for the index of the specified string.intStringBuffer. indexOf(String subString, int start)StringBufferStringBuffer. insert(int index, String string)Inserts the string into this buffer at the specified offset.StringBuilderStringBuilder. insert(int offset, String str)Inserts the specified string at the specifiedoffset.booleanPackage. isCompatibleWith(String version)Indicates whether this package's specification version is compatible with the specified version string.intString. lastIndexOf(String string)Searches in this string for the last index of the specified string.intString. lastIndexOf(String subString, int start)Searches in this string for the index of the specified string.intStringBuffer. lastIndexOf(String subString, int start)voidRuntime. load(String pathName)Loads and links the dynamic library that is identified through the specified path.static voidSystem. load(String pathName)Loads and links the dynamic library that is identified through the specified path.Class<?>ClassLoader. loadClass(String className)Loads the class with the specified name.protected Class<?>ClassLoader. loadClass(String className, boolean resolve)Loads the class with the specified name, optionally linking it after loading.voidRuntime. loadLibrary(String libName)Loads and links the library with the specified name.static voidSystem. loadLibrary(String libName)Loads and links the library with the specified name.static voidSystem. logE(String message)static voidSystem. logE(String message, Throwable th)static voidSystem. logI(String message)static voidSystem. logI(String message, Throwable th)static voidSystem. logW(String message)static voidSystem. logW(String message, Throwable th)static StringSystem. mapLibraryName(String userLibName)Returns the platform specific file name format for the shared library named by the argument.booleanString. matches(String regularExpression)Tests whether this string matches the givenregularExpression.static booleanBoolean. parseBoolean(String s)Parses the specified string as aboolean.static byteByte. parseByte(String string)Parses the specified string as a signed decimal byte value.static byteByte. parseByte(String string, int radix)Parses the specified string as a signed byte value using the specified radix.static doubleDouble. parseDouble(String string)Parses the specified string as a double value.static floatFloat. parseFloat(String string)Parses the specified string as a float value.static intInteger. parseInt(String string)Parses the specified string as a signed decimal integer value.static intInteger. parseInt(String string, int radix)Parses the specified string as a signed integer value using the specified radix.static longLong. parseLong(String string)Parses the specified string as a signed decimal long value.static longLong. parseLong(String string, int radix)Parses the specified string as a signed long value using the specified radix.static shortShort. parseShort(String string)Parses the specified string as a signed decimal short value.static shortShort. parseShort(String string, int radix)Parses the specified string as a signed short value using the specified radix.booleanString. regionMatches(boolean ignoreCase, int thisStart, String string, int start, int length)Compares the specified string to this string and compares the specified range of characters to determine if they are the same.booleanString. regionMatches(int thisStart, String string, int start, int length)Compares the specified string to this string and compares the specified range of characters to determine if they are the same.StringBufferStringBuffer. replace(int start, int end, String string)Replaces the characters in the specified range with the contents of the specified string.StringBuilderStringBuilder. replace(int start, int end, String string)Replaces the specified subsequence in this builder with the specified string.StringString. replaceAll(String regularExpression, String replacement)Replaces all matches forregularExpressionwithin this string with the givenreplacement.StringString. replaceFirst(String regularExpression, String replacement)Replaces the first match forregularExpressionwithin this string with the givenreplacement.voidClassLoader. setClassAssertionStatus(String cname, boolean enable)Sets the assertion status of the class with the specified name.voidThread. setName(String threadName)Sets the name of the Thread.voidClassLoader. setPackageAssertionStatus(String pname, boolean enable)Sets the assertion status of the package with the specified name.static StringSystem. setProperty(String name, String value)Sets the value of a particular system property.String[]String. split(String regularExpression)Splits this string using the suppliedregularExpression.String[]String. split(String regularExpression, int limit)Splits this string using the suppliedregularExpression.booleanString. startsWith(String prefix)Compares the specified string to this string to determine if the specified string is a prefix.booleanString. startsWith(String prefix, int start)Compares the specified string to this string, starting at the specified offset, to determine if the specified string is a prefix.static BooleanBoolean. valueOf(String string)Parses the specified string as a boolean value.static ByteByte. valueOf(String string)Parses the specified string as a signed decimal byte value.static ByteByte. valueOf(String string, int radix)Parses the specified string as a signed byte value using the specified radix.static DoubleDouble. valueOf(String string)Parses the specified string as a double value.static <T extends Enum<T>>
TEnum. valueOf(Class<T> enumType, String name)Returns the constant with the specified name of the specified enum type.static FloatFloat. valueOf(String string)Parses the specified string as a float value.static IntegerInteger. valueOf(String string)Parses the specified string as a signed decimal integer value.static IntegerInteger. valueOf(String string, int radix)Parses the specified string as a signed integer value using the specified radix.static LongLong. valueOf(String string)Parses the specified string as a signed decimal long value.static LongLong. valueOf(String string, int radix)Parses the specified string as a signed long value using the specified radix.static ShortShort. valueOf(String string)Parses the specified string as a signed decimal short value.static ShortShort. valueOf(String string, int radix)Parses the specified string as a signed short value using the specified radix.static Thread.StateThread.State. valueOf(String name)Returns the enum constant of this type with the specified name.Method parameters in java.lang with type arguments of type String Modifier and Type Method Description ProcessBuilderProcessBuilder. command(List<String> command)Changes the program and arguments of this process builder.Constructors in java.lang with parameters of type String Constructor Description AbstractMethodError(String detailMessage)Constructs a newAbstractMethodErrorwith the current stack trace and the specified detail message.ArithmeticException(String detailMessage)Constructs a newArithmeticExceptionwith the current stack trace and the specified detail message.ArrayIndexOutOfBoundsException(String detailMessage)Constructs a newArrayIndexOutOfBoundsExceptionwith the current stack trace and the specified detail message.ArrayStoreException(String detailMessage)Constructs a newArrayStoreExceptionwith the current stack trace and the specified detail message.AssertionError(String detailMessage, Throwable cause)Constructs a newAssertionErrorwith the given detail message and cause.Boolean(String string)Constructs a newBooleanwith its boolean value specified bystring.Byte(String string)Constructs a newBytefrom the specified string.ClassCastException(String detailMessage)Constructs a newClassCastExceptionwith the current stack trace and the specified detail message.ClassCircularityError(String detailMessage)Constructs a newClassCircularityErrorwith the current stack trace and the specified detail message.ClassFormatError(String detailMessage)Constructs a newClassFormatErrorwith the current stack trace and the specified detail message.ClassNotFoundException(String detailMessage)Constructs a newClassNotFoundExceptionwith the current stack trace and the specified detail message.ClassNotFoundException(String detailMessage, Throwable exception)Constructs a newClassNotFoundExceptionwith the current stack trace, the specified detail message and the exception that occurred when loading the class.CloneNotSupportedException(String detailMessage)Constructs a newCloneNotSupportedExceptionwith the current stack trace and the specified detail message.Double(String string)Constructs a newDoublefrom the specified string.Enum(String name, int ordinal)Constructor for constants of enum subtypes.EnumConstantNotPresentException(Class<? extends Enum> enumType, String constantName)Constructs a newEnumConstantNotPresentExceptionwith the current stack trace and a detail message based on the specified enum type and missing constant name.Error(String detailMessage)Constructs a newErrorwith the current stack trace and the specified detail message.Error(String detailMessage, Throwable throwable)Constructs a newErrorwith the current stack trace, the specified detail message and the specified cause.Exception(String detailMessage)Constructs a newExceptionwith the current stack trace and the specified detail message.Exception(String detailMessage, Throwable throwable)Constructs a newExceptionwith the current stack trace, the specified detail message and the specified cause.ExceptionInInitializerError(String detailMessage)Constructs a newExceptionInInitializerErrorwith the current stack trace and the specified detail message.Float(String string)Constructs a newFloatfrom the specified string.IllegalAccessError(String detailMessage)Constructs a newIllegalAccessErrorwith the current stack trace and the specified detail message.IllegalAccessException(String detailMessage)Constructs a newIllegalAccessExceptionwith the current stack trace and the specified detail message.IllegalArgumentException(String detailMessage)Constructs a newIllegalArgumentExceptionwith the current stack trace and the specified detail message.IllegalArgumentException(String message, Throwable cause)Constructs a newIllegalArgumentExceptionwith the current stack trace, the specified detail message and the specified cause.IllegalMonitorStateException(String detailMessage)Constructs a newIllegalArgumentExceptionwith the current stack trace and the specified detail message.IllegalStateException(String detailMessage)Constructs a newIllegalStateExceptionwith the current stack trace and the specified detail message.IllegalStateException(String message, Throwable cause)Constructs a newIllegalStateExceptionwith the current stack trace, the specified detail message and the specified cause.IllegalThreadStateException(String detailMessage)Constructs a newIllegalThreadStateExceptionwith the current stack trace and the specified detail message.IncompatibleClassChangeError(String detailMessage)Constructs a newIncompatibleClassChangeErrorwith the current stack trace and the specified detail message.IndexOutOfBoundsException(String detailMessage)Constructs a newIndexOutOfBoundsExceptionwith the current stack trace and the specified detail message.InstantiationError(String detailMessage)Constructs a newInstantiationErrorwith the current stack trace and the specified detail message.InstantiationException(String detailMessage)Constructs a newInstantiationExceptionwith the current stack trace and the specified detail message.Integer(String string)Constructs a newIntegerfrom the specified string.InternalError(String detailMessage)Constructs a newInternalErrorwith the current stack trace and the specified detail message.InterruptedException(String detailMessage)Constructs a newInterruptedExceptionwith the current stack trace and the specified detail message.LinkageError(String detailMessage)Constructs a newLinkageErrorwith the current stack trace and the specified detail message.LinkageError(String detailMessage, Throwable cause)Constructs a newLinkageErrorwith the given detail message and cause.Long(String string)Constructs a newLongfrom the specified string.NegativeArraySizeException(String detailMessage)Constructs a newNegativeArraySizeExceptionwith the current stack trace and the specified detail message.NoClassDefFoundError(String detailMessage)Constructs a newNoClassDefFoundErrorwith the current stack trace and the specified detail message.NoSuchFieldError(String detailMessage)Constructs a newNoSuchFieldErrorwith the current stack trace and the specified detail message.NoSuchFieldException(String detailMessage)Constructs a newNoSuchFieldExceptionwith the current stack trace and the specified detail message.NoSuchMethodError(String detailMessage)Constructs a newNoSuchMethodErrorwith the current stack trace and the specified detail message.NoSuchMethodException(String detailMessage)Constructs a newNoSuchMethodExceptionwith the current stack trace and the specified detail message.NullPointerException(String detailMessage)Constructs a newNullPointerExceptionwith the current stack trace and the specified detail message.NumberFormatException(String detailMessage)Constructs a newNumberFormatExceptionwith the current stack trace and the specified detail message.OutOfMemoryError(String detailMessage)Constructs a newOutOfMemoryErrorwith the current stack trace and the specified detail message.ProcessBuilder(String... command)Constructs a newProcessBuilderinstance with the specified operating system program and its arguments.ReflectiveOperationException(String message)Constructs a new exception with the given detail message.ReflectiveOperationException(String message, Throwable cause)Constructs a new exception with the given detail message and cause.RuntimeException(String detailMessage)Constructs a newRuntimeExceptionwith the current stack trace and the specified detail message.RuntimeException(String detailMessage, Throwable throwable)Constructs a newRuntimeExceptionwith the current stack trace, the specified detail message and the specified cause.RuntimePermission(String permissionName)RuntimePermission(String name, String actions)SecurityException(String detailMessage)Constructs a newSecurityExceptionwith the current stack trace and the specified detail message.SecurityException(String message, Throwable cause)Constructs a newSecurityExceptionwith the current stack trace, the specified detail message and the specified cause.Short(String string)Constructs a newShortfrom the specified string.StackOverflowError(String detailMessage)Constructs a newStackOverflowErrorwith the current stack trace and the specified detail message.StackTraceElement(String cls, String method, String file, int line)Constructs a newStackTraceElementfor a specified execution point.String(byte[] data, int offset, int byteCount, String charsetName)Converts the byte array to a string using the named charset.String(byte[] data, String charsetName)Converts the byte array to a string using the named charset.String(String toCopy)Constructs a new string with the same sequence of characters astoCopy.StringBuffer(String string)Constructs a new StringBuffer containing the characters in the specified string.StringBuilder(String str)Constructs an instance that's initialized with the contents of the specifiedString.StringIndexOutOfBoundsException(String detailMessage)Constructs a newStringIndexOutOfBoundsExceptionwith the current stack trace and the specified detail message.StringIndexOutOfBoundsException(String s, int index)Used internally for consistent high-quality error reporting.StringIndexOutOfBoundsException(String s, int offset, int count)Used internally for consistent high-quality error reporting.Subset(String name)Constructs a newSubset.Thread(Runnable runnable, String threadName)Constructs a newThreadwith aRunnableobject and name provided.Thread(String threadName)Constructs a newThreadwith noRunnableobject and the name provided.Thread(ThreadGroup group, Runnable runnable, String threadName)Constructs a newThreadwith aRunnableobject, the given name and belonging to theThreadGrouppassed as parameter.Thread(ThreadGroup group, Runnable runnable, String threadName, long stackSize)Constructs a newThreadwith aRunnableobject, the given name and belonging to theThreadGrouppassed as parameter.Thread(ThreadGroup group, String threadName)Constructs a newThreadwith noRunnableobject, the given name and belonging to theThreadGrouppassed as parameter.ThreadGroup(String name)Constructs a newThreadGroupwith the given name.ThreadGroup(ThreadGroup parent, String name)Constructs a newThreadGroupwith the given name, as a child of the givenThreadGroup.Throwable(String detailMessage)Constructs a newThrowablewith the current stack trace and the given detail message.Throwable(String detailMessage, Throwable cause)Constructs a newThrowablewith the current stack trace, the given detail message and cause.Throwable(String detailMessage, Throwable cause, boolean enableSuppression, boolean writableStackTrace)Constructs a newThrowablewith the current stack trace, the specified detail message and the specified cause.TypeNotPresentException(String typeName, Throwable cause)Constructs a newTypeNotPresentExceptionwith the current stack trace, a detail message that includes the name of the type that could not be found and theThrowablethat caused this exception.UnknownError(String detailMessage)Constructs a newUnknownErrorwith the current stack trace and the specified detail message.UnsatisfiedLinkError(String detailMessage)Constructs a newUnsatisfiedLinkErrorwith the current stack trace and the specified detail message.UnsupportedClassVersionError(String detailMessage)Constructs a newUnsupportedClassVersionErrorwith the current stack trace and the specified detail message.UnsupportedOperationException(String detailMessage)Constructs a newUnsupportedOperationExceptionwith the current stack trace and the specified detail message.UnsupportedOperationException(String message, Throwable cause)Constructs a newUnsupportedOperationExceptionwith the current stack trace, the specified detail message and the specified cause.VerifyError(String detailMessage)Constructs a newVerifyErrorwith the current stack trace and the specified detail message.VirtualMachineError(String detailMessage)Constructs a newVirtualMachineErrorwith the current stack trace and the specified detail message.Constructor parameters in java.lang with type arguments of type String Constructor Description ProcessBuilder(List<String> command)Constructs a newProcessBuilderinstance with the specified operating system program and its arguments. -
Uses of String in java.lang.annotation
Methods in java.lang.annotation that return String Modifier and Type Method Description StringIncompleteAnnotationException. elementName()Returns the incomplete element's name.StringAnnotationTypeMismatchException. foundType()Returns the invalid type.StringAnnotation. toString()Returns aStringrepresentation of this annotation.Methods in java.lang.annotation with parameters of type String Modifier and Type Method Description static ElementTypeElementType. valueOf(String name)Returns the enum constant of this type with the specified name.static RetentionPolicyRetentionPolicy. valueOf(String name)Returns the enum constant of this type with the specified name.Constructors in java.lang.annotation with parameters of type String Constructor Description AnnotationFormatError(String message)Constructs an instance with the message provided.AnnotationFormatError(String message, Throwable cause)Constructs an instance with a message and a cause.AnnotationTypeMismatchException(Method element, String foundType)Constructs an instance for the given type element and the type found.IncompleteAnnotationException(Class<? extends Annotation> annotationType, String elementName)Constructs an instance with the incomplete annotation type and the name of the element that's missing. -
Uses of String in java.lang.invoke
Methods in java.lang.invoke with parameters of type String Modifier and Type Method Description static CallSiteLambdaMetafactory. altMetafactory(MethodHandles.Lookup caller, String invokedName, MethodType invokedType, Object... args)Stub method needed to satisfy Java 8 compilers when compiling lambdas.static CallSiteLambdaMetafactory. metafactory(MethodHandles.Lookup caller, String invokedName, MethodType invokedType, MethodType samMethodType, MethodHandle implMethod, MethodType instantiatedMethodType)Stub method needed to satisfy Java 8 compilers when compiling lambdas. -
Uses of String in java.lang.reflect
Methods in java.lang.reflect that return String Modifier and Type Method Description StringReflectPermission. getActions()StringConstructor. getName()Returns the name of this constructor.StringField. getName()Returns the name of this field.StringMember. getName()Returns the name of this member.StringMethod. getName()Returns the name of the method represented by thisMethodinstance.StringTypeVariable. getName()Returns the name of this type variable as it is specified in source code.protected StringConstructor. getSignatureAttribute()protected StringField. getSignatureAttribute()protected StringMethod. getSignatureAttribute()StringConstructor. toGenericString()Returns the string representation of the constructor's declaration, including the type parameters.StringField. toGenericString()Returns the string representation of this field, including the field's generic type.StringMethod. toGenericString()Returns the string representation of the method's declaration, including the type parameters.StringConstructor. toString()Returns a string containing a concise, human-readable description of this constructor.StringField. toString()Returns a string containing a concise, human-readable description of this field.StringMethod. toString()Returns a string containing a concise, human-readable description of this method.static StringModifier. toString(int modifiers)Returns a string containing the string representation of all modifiers present in the specified modifiers.Constructors in java.lang.reflect with parameters of type String Constructor Description InvocationTargetException(Throwable exception, String detailMessage)Constructs a newInvocationTargetExceptioninstance with its cause / target exception and message filled in.ReflectPermission(String name)ReflectPermission(String name, String actions)UndeclaredThrowableException(Throwable exception, String detailMessage)Constructs a newUndeclaredThrowableExceptioninstance with the undeclared, checked exception that occurred and a message. -
Uses of String in java.math
Methods in java.math that return String Modifier and Type Method Description StringBigDecimal. toEngineeringString()Returns a string representation of thisBigDecimal.StringBigDecimal. toPlainString()Returns a string representation of thisBigDecimal.StringBigDecimal. toString()Returns a canonical string representation of thisBigDecimal.StringBigInteger. toString()Returns a string representation of thisBigIntegerin decimal form.StringBigInteger. toString(int radix)Returns a string containing a string representation of thisBigIntegerwith base radix.StringMathContext. toString()Returns the string representation for thisMathContextinstance.Methods in java.math with parameters of type String Modifier and Type Method Description static RoundingModeRoundingMode. valueOf(String name)Returns the enum constant of this type with the specified name.Constructors in java.math with parameters of type String Constructor Description BigDecimal(String val)Constructs a newBigDecimalinstance from a string representation.BigDecimal(String val, MathContext mc)Constructs a newBigDecimalinstance from a string representation.BigInteger(String value)Constructs a newBigIntegerby parsingvalue.BigInteger(String value, int radix)Constructs a newBigIntegerinstance by parsingvalue.MathContext(String s)Constructs a newMathContextfrom a string. -
Uses of String in java.net
Fields in java.net declared as String Modifier and Type Field Description protected StringHttpURLConnection. methodThe HTTP request method of thisHttpURLConnection.protected StringHttpURLConnection. responseMessageThe HTTP response message which corresponds to the response code.Methods in java.net that return String Modifier and Type Method Description static StringURLDecoder. decode(String s)Deprecated.UseURLDecoder.decode(String, String)instead.static StringURLDecoder. decode(String s, String charsetName)Decodes the argument which is assumed to be encoded in thex-www-form-urlencodedMIME content type, assuming the givencharsetName.static StringURLEncoder. encode(String s)Deprecated.UseURLEncoder.encode(String, String)instead.static StringURLEncoder. encode(String s, String charsetName)StringNetPermission. getActions()StringSocketPermission. getActions()StringURI. getAuthority()Returns the decoded authority part of this URI, or null if this URI has no authority.StringURL. getAuthority()Returns the authority part of this URL, or null if this URL has no authority.StringInetAddress. getCanonicalHostName()Returns the fully qualified hostname corresponding to this IP address.abstract StringSecureCacheResponse. getCipherSuite()Gets the cipher suite string on the connection which is originally used to retrieve the network resource.StringHttpCookie. getComment()Returns theCommentattribute.StringHttpCookie. getCommentURL()Returns the value ofCommentURLattribute.StringHttpURLConnection. getContentEncoding()Returns the encoding used to transmit the response body over the network.StringURLConnection. getContentEncoding()Returns the content encoding type specified by the response header fieldcontent-encodingornullif this field is not set.StringURLConnection. getContentType()Returns the MIME-type of the content specified by the response header fieldcontent-typeornullif type is unknown.StringFileNameMap. getContentTypeFor(String filename)Returns the MIME type (such as "text/plain") for the given filename, or null.static StringURLConnection. getDefaultRequestProperty(String field)Deprecated.UseURLConnection.getRequestProperty(java.lang.String)instead.StringNetworkInterface. getDisplayName()Returns a human-readable name for this network interface.StringHttpCookie. getDomain()Returns theDomainattribute.StringJarURLConnection. getEntryName()Gets the name of the entry referenced by thisJarURLConnection.StringURL. getFile()Returns the file of this URL.StringURI. getFragment()Returns the decoded fragment of this URI, or null if this URI has no fragment.StringURLConnection. getHeaderField(int pos)Returns the header value at the field positionposornullif the header has fewer thanposfields.StringURLConnection. getHeaderField(String key)Returns the value of the header field specified bykeyornullif there is no field with this name.StringURLConnection. getHeaderFieldKey(int posn)Returns the name of the header field at the given positionposnornullif there are fewer thanposnfields.StringURI. getHost()Returns the host of this URI, or null if this URI has no host.StringURL. getHost()Returns the host name or IP address of this URL.StringInetAddress. getHostAddress()Returns the numeric representation of this IP address (such as "127.0.0.1").StringInetAddress. getHostName()Returns the host name corresponding to this IP address.StringInetSocketAddress. getHostName()Returns the hostname, doing a reverse DNS lookup on theInetAddressif no hostname string was provided at construction time.StringInetSocketAddress. getHostString()Returns the hostname if known, or the result ofInetAddress.getHostAddress.StringURISyntaxException. getInput()Gets the initial string that contains an invalid syntax.StringHttpRetryException. getLocation()Gets the location value.StringURISyntaxException. getMessage()Gets a description of the exception, including the reason, the string that caused the syntax error and the position of the syntax error if available.StringHttpCookie. getName()Returns the name of this cookie.StringNetworkInterface. getName()Returns the name of this network interface (such as "eth0" or "lo").StringHttpCookie. getPath()Returns thePathattribute.StringURI. getPath()Returns the decoded path of this URI, or null if this URI has no path.StringURL. getPath()Returns the path part of this URL.StringHttpCookie. getPortlist()Returns thePortattribute, usually containing comma-separated port numbers.StringURL. getProtocol()Returns the protocol of this URL like "http" or "file".StringURI. getQuery()Returns the decoded query of this URI, or null if this URI has no query.StringURL. getQuery()Returns the query part of this URL, or null if this URL has no query.StringURI. getRawAuthority()Returns the encoded authority of this URI, or null if this URI has no authority.StringURI. getRawFragment()Gets the encoded fragment of this URI, or null if this URI has no fragment.StringURI. getRawPath()Returns the encoded path of this URI, or null if this URI has no path.StringURI. getRawQuery()Returns the encoded query of this URI, or null if this URI has no query.StringURI. getRawSchemeSpecificPart()Returns the encoded scheme-specific part of this URI, or null if this URI has no scheme-specific part.StringURI. getRawUserInfo()Returns the encoded user info of this URI, or null if this URI has no user info.StringHttpRetryException. getReason()Gets the detail message.StringURISyntaxException. getReason()Gets a description of the syntax error.StringURL. getRef()Returns the value of the reference part of this URL, or null if this URL has no reference part.protected StringAuthenticator. getRequestingHost()Returns the host name of the connection that requests authentication ornullif unknown.protected StringAuthenticator. getRequestingPrompt()Returns the realm (prompt string) of the connection that requests authorization.protected StringAuthenticator. getRequestingProtocol()Returns the protocol of the connection that requests authorization.protected StringAuthenticator. getRequestingScheme()Returns the scheme of the connection that requests authorization, for example HTTP Basic Authentication.StringHttpURLConnection. getRequestMethod()Returns the request method which will be used to make the request to the remote HTTP server.StringURLConnection. getRequestProperty(String field)Returns the value of the request header property specified by {code field} ornullif there is no field with this name.StringHttpURLConnection. getResponseMessage()Returns the response message returned by the remote HTTP server.StringURI. getScheme()Returns the scheme of this URI, or null if this URI has no scheme.StringURI. getSchemeSpecificPart()Returns the decoded scheme-specific part of this URI, or null if this URI has no scheme-specific part.StringURI. getUserInfo()Returns the decoded user info of this URI, or null if this URI has no user info.StringURL. getUserInfo()Returns the user info of this URL, or null if this URL has no user info.StringPasswordAuthentication. getUserName()Gets the username stored by this instance.StringHttpCookie. getValue()Returns the value of this cookie.static StringURLConnection. guessContentTypeFromName(String url)Determines the MIME-type of the given resourceurlby resolving the filename extension with the internal FileNameMap.static StringURLConnection. guessContentTypeFromStream(InputStream is)Determines the MIME-type of the resource represented by the input streamisby reading its first few characters.static StringIDN. toASCII(String input)Equivalent totoASCII(input, 0).static StringIDN. toASCII(String input, int flags)Transform a Unicode String to ASCII Compatible Encoding String according to the algorithm defined in RFC 3490.StringURI. toASCIIString()Returns the textual string representation of this URI instance using the US-ASCII encoding.StringURL. toExternalForm()Returns a string containing a concise, human-readable representation of this URL.protected StringURLStreamHandler. toExternalForm(URL url)Returns the clear text representation of a given URL using HTTP format.StringHttpCookie. toString()Returns a string representing this cookie in the format used by theCookieheader line in an HTTP request.StringInet6Address. toString()StringInetAddress. toString()Returns a string containing the host name (if available) and host address.StringInetSocketAddress. toString()Returns a string containing the address (or the hostname for an unresolvedInetSocketAddress) and port number.StringInetUnixAddress. toString()Returns a string form of this InetAddress.StringInterfaceAddress. toString()Returns a string containing this interface's address, prefix length, and broadcast address.StringNetworkInterface. toString()Returns a string containing details of this network interface.StringProxy. toString()Gets a textual representation of thisProxyinstance.StringServerSocket. toString()Returns a textual representation of this server socket including the address, port and the state.StringSocket. toString()Returns aStringcontaining a concise, human-readable description of the socket.StringSocketImpl. toString()Returns a string containing a concise, human-readable description of the socket.StringURI. toString()Returns the encoded URI.StringURL. toString()Returns a string containing a concise, human-readable representation of this URL.StringURLConnection. toString()Returns the string representation containing the name of this class and the URL.static StringIDN. toUnicode(String input)Equivalent totoUnicode(input, 0).static StringIDN. toUnicode(String input, int flags)Translates a string from ASCII Compatible Encoding (ACE) to Unicode according to the algorithm defined in RFC 3490.Methods in java.net that return types with arguments of type String Modifier and Type Method Description abstract Map<String,List<String>>CookieHandler. get(URI uri, Map<String,List<String>> requestHeaders)Gets all cookies for a specific URI from the cookie cache.abstract Map<String,List<String>>CookieHandler. get(URI uri, Map<String,List<String>> requestHeaders)Gets all cookies for a specific URI from the cookie cache.Map<String,List<String>>CookieManager. get(URI uri, Map<String,List<String>> requestHeaders)Searches and gets all cookies in the cache by the specified uri in the request header.Map<String,List<String>>CookieManager. get(URI uri, Map<String,List<String>> requestHeaders)Searches and gets all cookies in the cache by the specified uri in the request header.Map<String,List<String>>URLConnection. getHeaderFields()Returns an unmodifiable map of the response-header fields and values.Map<String,List<String>>URLConnection. getHeaderFields()Returns an unmodifiable map of the response-header fields and values.abstract Map<String,List<String>>CacheResponse. getHeaders()Returns an immutableMapwhich contains the response headers information.abstract Map<String,List<String>>CacheResponse. getHeaders()Returns an immutableMapwhich contains the response headers information.Map<String,List<String>>URLConnection. getRequestProperties()Returns an unmodifiable map of general request properties used by this connection.Map<String,List<String>>URLConnection. getRequestProperties()Returns an unmodifiable map of general request properties used by this connection.Methods in java.net with parameters of type String Modifier and Type Method Description voidURLConnection. addRequestProperty(String field, String newValue)Adds the given property to the request header.protected voidPlainSocketImpl. connect(String aHost, int aPort)protected abstract voidSocketImpl. connect(String host, int port)Connects this socket to the specified remote host and port number.static URIURI. create(String uri)Returns the URI formed by parsinguri.ContentHandlerContentHandlerFactory. createContentHandler(String contentType)Creates a content handler to handlecontentType.static InetSocketAddressInetSocketAddress. createUnresolved(String host, int port)Creates anInetSocketAddresswithout trying to resolve the hostname into anInetAddress.URLStreamHandlerURLStreamHandlerFactory. createURLStreamHandler(String protocol)Creates a newURLStreamHandlerinstance for the givenprotocol.static StringURLDecoder. decode(String s)Deprecated.UseURLDecoder.decode(String, String)instead.static StringURLDecoder. decode(String s, String charsetName)Decodes the argument which is assumed to be encoded in thex-www-form-urlencodedMIME content type, assuming the givencharsetName.protected PackageURLClassLoader. definePackage(String packageName, Manifest manifest, URL url)Defines a new package using the information extracted from the specified manifest.static booleanHttpCookie. domainMatches(String domainPattern, String host)Returns true ifhostmatches the domain patterndomain.static StringURLEncoder. encode(String s)Deprecated.UseURLEncoder.encode(String, String)instead.static StringURLEncoder. encode(String s, String charsetName)protected Class<?>URLClassLoader. findClass(String className)Tries to locate and load the specified class using the known URLs.URLURLClassLoader. findResource(String name)Returns an URL referencing the specified resource ornullif the resource could not be found.Enumeration<URL>URLClassLoader. findResources(String name)Returns all known URLs which point to the specified resource.abstract CacheResponseResponseCache. get(URI uri, String requestMethod, Map<String,List<String>> requestHeaders)Returns the cached response corresponding to the given request.static InetAddress[]InetAddress. getAllByName(String host)Gets all IP addresses associated with the givenhostidentified by name or literal IP address.static Inet6AddressInet6Address. getByAddress(String host, byte[] addr, int scope_id)Constructs an IPv6 address according to the givenhost,addrandscope_id.static Inet6AddressInet6Address. getByAddress(String host, byte[] addr, NetworkInterface nif)Gets an IPv6 address instance according to the givenhost,addrandnif.static InetAddressInetAddress. getByAddress(String hostName, byte[] ipAddress)Returns anInetAddresscorresponding to the given network-order bytesipAddressandscopeId.static InetAddressInetAddress. getByName(String host)Returns the address of a host according to the given host string namehost.static NetworkInterfaceNetworkInterface. getByName(String interfaceName)Returns theNetworkInterfacecorresponding to the named network interface, or null if no interface has this name.StringFileNameMap. getContentTypeFor(String filename)Returns the MIME type (such as "text/plain") for the given filename, or null.static StringURLConnection. getDefaultRequestProperty(String field)Deprecated.UseURLConnection.getRequestProperty(java.lang.String)instead.static intURI. getEffectivePort(String scheme, int specifiedPort)StringURLConnection. getHeaderField(String key)Returns the value of the header field specified bykeyornullif there is no field with this name.longHttpURLConnection. getHeaderFieldDate(String field, long defaultValue)Returns the date value in milliseconds since01.01.1970, 00:00hcorresponding to the header fieldfield.longURLConnection. getHeaderFieldDate(String field, long defaultValue)Returns the specified header value as a date in milliseconds since January 1, 1970 GMT.intURLConnection. getHeaderFieldInt(String field, int defaultValue)Returns the specified header value as a number.StringURLConnection. getRequestProperty(String field)Returns the value of the request header property specified by {code field} ornullif there is no field with this name.static StringURLConnection. guessContentTypeFromName(String url)Determines the MIME-type of the given resourceurlby resolving the filename extension with the internal FileNameMap.static booleanInetAddress. isNumeric(String address)Returns true if the string is a valid numeric IPv4 or IPv6 address (such as "192.168.0.1").static List<HttpCookie>HttpCookie. parse(String header)Constructs a cookie from a string.static InetAddressInetAddress. parseNumericAddress(String numericAddress)Returns an InetAddress corresponding to the given numeric address (such as"192.168.0.1"or"2001:4860:800d::68").protected voidURLStreamHandler. parseURL(URL url, String spec, int start, int end)Parses the clear text URL instrinto a URL object.static PasswordAuthenticationAuthenticator. requestPasswordAuthentication(String rHost, InetAddress rAddr, int rPort, String rProtocol, String rPrompt, String rScheme)Invokes the methods of the registered authenticator to get the authentication info.static PasswordAuthenticationAuthenticator. requestPasswordAuthentication(String rHost, InetAddress rAddr, int rPort, String rProtocol, String rPrompt, String rScheme, URL rURL, Authenticator.RequestorType reqType)Invokes the methods of the registered authenticator to get the authentication info.static PasswordAuthenticationAuthenticator. requestPasswordAuthentication(InetAddress rAddr, int rPort, String rProtocol, String rPrompt, String rScheme)Invokes the methods of the registered authenticator to get the authentication info.URIURI. resolve(String relative)Creates a new URI instance by parsing the given stringrelativeand resolves the created URI against the URI represented by this instance.protected voidURL. set(String protocol, String host, int port, String file, String ref)Sets the properties of this URL using the provided arguments.protected voidURL. set(String protocol, String host, int port, String authority, String userInfo, String path, String query, String ref)Sets the properties of this URL using the provided arguments.voidHttpCookie. setComment(String comment)Set theCommentattribute of this cookie.voidHttpCookie. setCommentURL(String commentURL)Set theCommentURLattribute of this cookie.static voidURLConnection. setDefaultRequestProperty(String field, String value)Deprecated.UseURLConnection.setRequestProperty(String, String)instead.voidHttpCookie. setDomain(String pattern)Set theDomainattribute of this cookie.voidHttpCookie. setPath(String path)Set thePathattribute of this cookie.voidHttpCookie. setPortlist(String portList)Set thePortattribute of this cookie.voidHttpURLConnection. setRequestMethod(String method)Sets the request command which will be sent to the remote HTTP server.voidURLConnection. setRequestProperty(String field, String newValue)Sets the value of the specified request header field.protected voidURLStreamHandler. setURL(URL u, String protocol, String host, int port, String file, String ref)Deprecated.Use setURL(URL, String String, int, String, String, String, String, String) instead.protected voidURLStreamHandler. setURL(URL u, String protocol, String host, int port, String authority, String userInfo, String path, String query, String ref)Sets the fields of the URLuto the values of the supplied arguments.voidHttpCookie. setValue(String value)Sets the opaque value of this cookie.static StringIDN. toASCII(String input)Equivalent totoASCII(input, 0).static StringIDN. toASCII(String input, int flags)Transform a Unicode String to ASCII Compatible Encoding String according to the algorithm defined in RFC 3490.static StringIDN. toUnicode(String input)Equivalent totoUnicode(input, 0).static StringIDN. toUnicode(String input, int flags)Translates a string from ASCII Compatible Encoding (ACE) to Unicode according to the algorithm defined in RFC 3490.static Authenticator.RequestorTypeAuthenticator.RequestorType. valueOf(String name)Returns the enum constant of this type with the specified name.static Proxy.TypeProxy.Type. valueOf(String name)Returns the enum constant of this type with the specified name.Method parameters in java.net with type arguments of type String Modifier and Type Method Description abstract Map<String,List<String>>CookieHandler. get(URI uri, Map<String,List<String>> requestHeaders)Gets all cookies for a specific URI from the cookie cache.abstract Map<String,List<String>>CookieHandler. get(URI uri, Map<String,List<String>> requestHeaders)Gets all cookies for a specific URI from the cookie cache.Map<String,List<String>>CookieManager. get(URI uri, Map<String,List<String>> requestHeaders)Searches and gets all cookies in the cache by the specified uri in the request header.Map<String,List<String>>CookieManager. get(URI uri, Map<String,List<String>> requestHeaders)Searches and gets all cookies in the cache by the specified uri in the request header.abstract CacheResponseResponseCache. get(URI uri, String requestMethod, Map<String,List<String>> requestHeaders)Returns the cached response corresponding to the given request.abstract CacheResponseResponseCache. get(URI uri, String requestMethod, Map<String,List<String>> requestHeaders)Returns the cached response corresponding to the given request.abstract voidCookieHandler. put(URI uri, Map<String,List<String>> responseHeaders)Sets all cookies of a specific URI in theresponseHeadersinto the cookie cache.abstract voidCookieHandler. put(URI uri, Map<String,List<String>> responseHeaders)Sets all cookies of a specific URI in theresponseHeadersinto the cookie cache.voidCookieManager. put(URI uri, Map<String,List<String>> responseHeaders)Sets cookies according to uri and responseHeadersvoidCookieManager. put(URI uri, Map<String,List<String>> responseHeaders)Sets cookies according to uri and responseHeadersConstructors in java.net with parameters of type String Constructor Description BindException(String detailMessage)Constructs a new instance with the given detail message.BindException(String detailMessage, Throwable cause)Constructs a new instance with the given detail message and cause.ConnectException(String detailMessage)Constructs a new instance with the given detail message.ConnectException(String detailMessage, Throwable cause)Constructs a new instance with the given detail message and cause.HttpCookie(String name, String value)Creates a new cookie.HttpRetryException(String detail, int code)Creates a newHttpRetryExceptioninstance with the specified response code and the given detail message.HttpRetryException(String detail, int code, String location)Creates a newHttpRetryExceptioninstance with the specified response code, the given detail message and the value of the location field from the response header.InetSocketAddress(String host, int port)Creates a socket endpoint with the given port numberportand the hostnamehost.InetUnixAddress(String path)Constructs an AF_UNIX InetAddress for the given path.MalformedURLException(String detailMessage)Constructs a new instance with the given detail message.MalformedURLException(String detailMessage, Throwable cause)Constructs a new instance with given detail message and cause.NetPermission(String name)NetPermission(String name, String actions)NoRouteToHostException(String detailMessage)Constructs a new instance with the given detail message.NoRouteToHostException(String detailMessage, Throwable cause)Constructs a new instance with given detail message and cause.PasswordAuthentication(String userName, char[] password)Creates an instance of a password authentication with a specified username and password.PortUnreachableException(String detailMessage)Constructs a new instance with the given detail message.PortUnreachableException(String detailMessage, Throwable cause)Constructs a new instance with given detail message and cause.ProtocolException(String detailMessage)Constructs a new instance with the given detail message.ProtocolException(String detailMessage, Throwable cause)Constructs a new instance with given detail message and cause.Socket(String dstName, int dstPort)Creates a new streaming socket connected to the target host specified by the parametersdstNameanddstPort.Socket(String hostName, int port, boolean streaming)Deprecated.UseSocket(String, int)instead of this for streaming sockets or an appropriate constructor ofDatagramSocketfor UDP transport.Socket(String dstName, int dstPort, InetAddress localAddress, int localPort)Creates a new streaming socket connected to the target host specified by the parametersdstNameanddstPort.SocketException(String detailMessage)Constructs a new instance with the given detail message.SocketException(String detailMessage, Throwable cause)Constructs a new instance with given detail message and cause.SocketPermission(String host, String action)SocketTimeoutException(String detailMessage)Constructs a new instance with the given detail message.SocketTimeoutException(String detailMessage, Throwable cause)Constructs a new instance with given detail message and cause.UnknownHostException(String detailMessage)Constructs a newUnknownHostExceptioninstance with the given detail message.UnknownServiceException(String detailMessage)Constructs a new instance with the given detail message.UnknownServiceException(String detailMessage, Throwable cause)Constructs a new instance with given detail message and cause.URI(String spec)Creates a new URI instance by parsingspec.URI(String scheme, String schemeSpecificPart, String fragment)Creates a new URI instance of the given unencoded component parts.URI(String scheme, String userInfo, String host, int port, String path, String query, String fragment)Creates a new URI instance of the given unencoded component parts.URI(String scheme, String host, String path, String fragment)Creates a new URI instance of the given unencoded component parts.URI(String scheme, String authority, String path, String query, String fragment)Creates a new URI instance of the given unencoded component parts.URISyntaxException(String input, String reason)Constructs a newURISyntaxExceptioninstance containing the string that caused the exception and a description of the problem.URISyntaxException(String input, String reason, int index)Constructs a newURISyntaxExceptioninstance containing the string that caused the exception, a description of the problem and the index at which the error occurred.URL(String spec)Creates a new URL instance by parsingspec.URL(String protocol, String host, int port, String file)Creates a new URL of the given component parts.URL(String protocol, String host, int port, String file, URLStreamHandler handler)Creates a new URL of the given component parts.URL(String protocol, String host, String file)Creates a new URL of the given component parts.URL(URL context, String spec)Creates a new URL by resolvingspecrelative tocontext.URL(URL context, String spec, URLStreamHandler handler)Creates a new URL by resolvingspecrelative tocontext. -
Uses of String in java.nio
Methods in java.nio that return String Modifier and Type Method Description StringBuffer. toString()Returns a string describing this buffer.StringByteOrder. toString()Returns a string that describes this object.StringCharBuffer. toString()Returns a string representing the current remaining chars of this buffer.Methods in java.nio with parameters of type String Modifier and Type Method Description CharBufferCharBuffer. put(String str)Writes all chars of the given string to the current position of this buffer, and increases the position by the length of string.CharBufferCharBuffer. put(String str, int start, int end)Writes chars of the given string to the current position of this buffer, and increases the position by the number of chars written.Constructors in java.nio with parameters of type String Constructor Description InvalidMarkException(String detailMessage)Constructs anInvalidMarkExceptionwith the given detail message. -
Uses of String in java.nio.channels
Methods in java.nio.channels that return String Modifier and Type Method Description StringFileChannel.MapMode. toString()Returns a string version of the mapping mode.StringFileLock. toString()Returns a string that shows the details of the lock suitable for debugging.Methods in java.nio.channels with parameters of type String Modifier and Type Method Description static ReaderChannels. newReader(ReadableByteChannel channel, String charsetName)Returns a reader that decodes bytes from a channel.static WriterChannels. newWriter(WritableByteChannel channel, String charsetName)Returns a writer that encodes characters with the specifiedencoderand sends the bytes to the specified channel. -
Uses of String in java.nio.charset
Methods in java.nio.charset that return String Modifier and Type Method Description static StringModifiedUtf8. decode(byte[] in, char[] out, int offset, int utfSize)Decodes a byte array containing modified UTF-8 bytes into a string.StringCharset. displayName()Returns the name of this charset for the default locale.StringCharset. displayName(Locale l)Returns the name of this charset for the specified locale.StringIllegalCharsetNameException. getCharsetName()Returns the encountered illegal charset name.StringUnsupportedCharsetException. getCharsetName()Gets the encountered unsupported charset name.StringMalformedInputException. getMessage()StringUnmappableCharacterException. getMessage()StringCharset. name()Returns the canonical name of this charset.StringCharsetDecoder. replacement()Returns the replacement string, which is never null or empty.StringCharset. toString()Gets a string representation of this charset.StringCoderResult. toString()Returns a text description of this result.StringCodingErrorAction. toString()Returns a text description of this action indication.Methods in java.nio.charset that return types with arguments of type String Modifier and Type Method Description Set<String>Charset. aliases()Returns an unmodifiable set of this charset's aliases.static SortedMap<String,Charset>Charset. availableCharsets()Returns an immutable case-insensitive map from canonical names toCharsetinstances.Methods in java.nio.charset with parameters of type String Modifier and Type Method Description static longModifiedUtf8. countBytes(String s, boolean shortLength)Returns the number of bytes the modified UTF-8 representation of 's' would take.ByteBufferCharset. encode(String s)Returns a newByteBuffercontaining the bytes encoding the characters froms.static voidModifiedUtf8. encode(byte[] dst, int offset, String s)Encodes the modified UTF-8 bytes corresponding to stringsinto the byte arraydst, starting at the givenoffset.static byte[]ModifiedUtf8. encode(String s)Returns an array containing the modified UTF-8 form ofs, using a big-endian 16-bit length.static CharsetCharset. forName(String charsetName)Returns aCharsetinstance for the named charset.static CharsetCharset. forNameUEE(String charsetName)Equivalent toforNamebut only throwsUnsupportedEncodingException, which is all pre-nio code claims to throw.protected voidCharsetDecoder. implReplaceWith(String newReplacement)Notifies that this decoder's replacement has been changed.static booleanCharset. isSupported(String charsetName)Determines whether the specified charset is supported by this runtime.CharsetDecoderCharsetDecoder. replaceWith(String replacement)Sets the new replacement string.Constructors in java.nio.charset with parameters of type String Constructor Description Charset(String canonicalName, String[] aliases)Constructs aCharsetobject.IllegalCharsetNameException(String charsetName)Constructs a newIllegalCharsetNameExceptionwith the supplied charset name.UnsupportedCharsetException(String charsetName)Constructs a newUnsupportedCharsetExceptionwith the supplied charset name. -
Uses of String in java.nio.charset.spi
Methods in java.nio.charset.spi with parameters of type String Modifier and Type Method Description abstract CharsetCharsetProvider. charsetForName(String charsetName)Returns the named charset. -
Uses of String in java.security
Methods in java.security that return String Modifier and Type Method Description abstract StringKeyStoreSpi. engineGetCertificateAlias(Certificate cert)Returns the alias associated with the first entry whose certificate matches the specified certificate.protected abstract StringAlgorithmParametersSpi. engineToString()Returns a string containing a concise, human-readable description of thisAlgorithmParametersSpi.StringAllPermission. getActions()StringBasicPermission. getActions()abstract StringPermission. getActions()StringSecurityPermission. getActions()StringUnresolvedPermission. getActions()StringAlgorithmParameterGenerator. getAlgorithm()Returns the name of the algorithm.StringAlgorithmParameters. getAlgorithm()Returns the name of the algorithm.StringKey. getAlgorithm()Returns the name of the algorithm of this key.StringKeyFactory. getAlgorithm()Returns the name of the algorithm associated with thisKeyFactory.StringKeyPairGenerator. getAlgorithm()Returns the name of the algorithm of thisKeyPairGenerator.StringMessageDigest. getAlgorithm()Returns the name of the algorithm of thisMessageDigest.StringProvider.Service. getAlgorithm()Returns the name of the algorithm implemented by thisService.StringSecureRandom. getAlgorithm()Returns the name of the algorithm of thisSecureRandom.StringSignature. getAlgorithm()Returns the name of the algorithm of thisSignature.StringSignedObject. getAlgorithm()Returns the name of the algorithm of thisSignedObject.static StringSecurity. getAlgorithmProperty(String algName, String propName)Deprecated.UseAlgorithmParametersandKeyFactoryinstead.StringProvider.Service. getAttribute(String name)Returns the value of the attribute with the specifiedname.StringKeyStore. getCertificateAlias(Certificate cert)Returns the alias associated with the first entry whose certificate matches the specified certificate.StringProvider.Service. getClassName()Returns the name of the class implementing thisService.static StringKeyStore. getDefaultType()Returns the default type forKeyStoreinstances.StringCertificate. getFormat()Deprecated.Returns a string identifying the format of this certificate.StringKey. getFormat()Returns the name of the format used to encode this key, ornullif it can not be encoded.StringIdentity. getInfo()Deprecated.Returns the information string of thisIdentity.StringProvider. getInfo()Returns a description of the services being provided.StringIdentity. getName()Deprecated.Returns the name of thisIdentity.StringPermission. getName()StringPrincipal. getName()Returns the name of thisPrincipal.StringProvider. getName()Returns the name of this provider.static StringSecurity. getProperty(String key)Returns the value of the security property named by the argument.StringKeyStore. getType()Returns the type of thisKeyStore.StringPolicy. getType()StringProvider.Service. getType()Returns the type of thisService.StringUnresolvedPermission. getUnresolvedActions()StringUnresolvedPermission. getUnresolvedName()StringUnresolvedPermission. getUnresolvedType()StringAlgorithmParameters. toString()Returns a string containing a concise, human-readable description of thisAlgorithmParameters.StringCertificate. toString(boolean detailed)Deprecated.Returns a string containing a concise, human-readable description of the thisCertificate.StringCodeSigner. toString()Returns a string containing a concise, human-readable description of the thisCodeSignerincluding its first certificate and its time stamp, if present.StringDigestInputStream. toString()Returns a string containing a concise, human-readable description of thisDigestInputStreamincluding the digest.StringDigestOutputStream. toString()Returns a string containing a concise, human-readable description of thisDigestOutputStreamincluding the digest.StringIdentity. toString()Deprecated.Returns a string containing a concise, human-readable description of the thisIdentityincluding its name and its scope.StringIdentity. toString(boolean detailed)Deprecated.Returns a string containing a concise, human-readable description of the thisIdentity.StringIdentityScope. toString()Deprecated.Returns a string containing a concise, human-readable description of thisIdentityScope.StringKeyStore.PrivateKeyEntry. toString()Returns a string containing a concise, human-readable description of thisPrivateKeyEntry.StringKeyStore.SecretKeyEntry. toString()Returns a string containing a concise, human-readable description of thisSecretKeyEntry.StringKeyStore.TrustedCertificateEntry. toString()Returns a string containing a concise, human-readable description of thisTrustedCertificateEntry.StringMessageDigest. toString()Returns a string containing a concise, human-readable description of thisMessageDigestincluding the name of its algorithm.StringPrincipal. toString()Returns a string containing a concise, human-readable description of thisPrincipal.StringProvider.Service. toString()Returns a string containing a concise, human-readable description of thisService.StringProvider. toString()Returns a string containing a concise, human-readable description of thisProviderincluding its name and its version.StringSignature. toString()Returns a string containing a concise, human-readable description of thisSignatureincluding its algorithm and its state.StringSigner. toString()Deprecated.Returns a string containing a concise, human-readable description of thisSignerincluding its name and its scope if present.StringTimestamp. toString()Returns a string containing a concise, human-readable description of thisTimestamp.Methods in java.security that return types with arguments of type String Modifier and Type Method Description Enumeration<String>KeyStore. aliases()Returns anEnumerationover all alias names stored in thisKeyStore.abstract Enumeration<String>KeyStoreSpi. engineAliases()Returns anEnumerationover all alias names stored in thisKeyStoreSpi.static Set<String>Security. getAlgorithms(String serviceName)Returns aSetof all registered algorithms for the specified cryptographic service.Methods in java.security with parameters of type String Modifier and Type Method Description booleanKeyStore. containsAlias(String alias)Indicates whether the given alias is present in thisKeyStore.protected Class<?>SecureClassLoader. defineClass(String name, byte[] b, int off, int len, CodeSource cs)Constructs a new class from an array of bytes containing a class definition in class file format with an optionalCodeSource.protected Class<?>SecureClassLoader. defineClass(String name, ByteBuffer b, CodeSource cs)Constructs a new class from an array of bytes containing a class definition in class file format with an optionalCodeSource.voidKeyStore. deleteEntry(String alias)Deletes the entry identified with the given alias from thisKeyStore.abstract booleanKeyStoreSpi. engineContainsAlias(String alias)Indicates whether the given alias is present in thisKeyStoreSpi.abstract voidKeyStoreSpi. engineDeleteEntry(String alias)Deletes the entry identified with the given alias from thisKeyStoreSpi.booleanKeyStoreSpi. engineEntryInstanceOf(String alias, Class<? extends KeyStore.Entry> entryClass)Indicates whether the entry for the given alias is assignable to the providedClass.abstract CertificateKeyStoreSpi. engineGetCertificate(String alias)Returns the trusted certificate for the entry with the given alias.abstract Certificate[]KeyStoreSpi. engineGetCertificateChain(String alias)Returns the certificate chain for the entry with the given alias.abstract DateKeyStoreSpi. engineGetCreationDate(String alias)Returns the creation date of the entry with the given alias.protected abstract byte[]AlgorithmParametersSpi. engineGetEncoded(String format)Returns the parameters in the specified encoding format.KeyStore.EntryKeyStoreSpi. engineGetEntry(String alias, KeyStore.ProtectionParameter protParam)Returns theEntrywith the given alias, using the specifiedProtectionParameter.abstract KeyKeyStoreSpi. engineGetKey(String alias, char[] password)Returns the key with the given alias, using the password to recover the key from the store.protected abstract ObjectSignatureSpi. engineGetParameter(String param)Deprecated.There is no generally accepted parameter naming convention.protected abstract voidAlgorithmParametersSpi. engineInit(byte[] params, String format)Initializes thisAlgorithmParametersSpiwith the specifiedbyte[]using the specified decoding format.abstract booleanKeyStoreSpi. engineIsCertificateEntry(String alias)Indicates whether the specified alias is associated with aKeyStore.TrustedCertificateEntry.abstract booleanKeyStoreSpi. engineIsKeyEntry(String alias)Indicates whether the specified alias is associated with either aKeyStore.PrivateKeyEntryor aKeyStore.SecretKeyEntry.abstract voidKeyStoreSpi. engineSetCertificateEntry(String alias, Certificate cert)Associates the given alias with a certificate.voidKeyStoreSpi. engineSetEntry(String alias, KeyStore.Entry entry, KeyStore.ProtectionParameter protParam)Stores the givenEntryin thisKeyStoreSpiand associates the entry with the givenalias.abstract voidKeyStoreSpi. engineSetKeyEntry(String alias, byte[] key, Certificate[] chain)Associates the given alias with a key and a certificate chain.abstract voidKeyStoreSpi. engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain)Associates the given alias with the key, password and certificate chain.protected abstract voidSignatureSpi. engineSetParameter(String param, Object value)Deprecated.booleanKeyStore. entryInstanceOf(String alias, Class<? extends KeyStore.Entry> entryClass)Indicates whether the entry for the given alias is assignable to the providedClass.static StringSecurity. getAlgorithmProperty(String algName, String propName)Deprecated.UseAlgorithmParametersandKeyFactoryinstead.static Set<String>Security. getAlgorithms(String serviceName)Returns aSetof all registered algorithms for the specified cryptographic service.StringProvider.Service. getAttribute(String name)Returns the value of the attribute with the specifiedname.CertificateKeyStore. getCertificate(String alias)Returns the trusted certificate for the entry with the given alias.Certificate[]KeyStore. getCertificateChain(String alias)Returns the certificate chain for the entry with the given alias.DateKeyStore. getCreationDate(String alias)Returns the creation date of the entry with the given alias.byte[]AlgorithmParameters. getEncoded(String format)Returns thisAlgorithmParametersin the specified encoding format.KeyStore.EntryKeyStore. getEntry(String alias, KeyStore.ProtectionParameter param)Returns theEntrywith the given alias, using the specifiedProtectionParameter.abstract IdentityIdentityScope. getIdentity(String name)Deprecated.Returns theIdentitywith the specified name ornullif noIdentitywith the specified name is present in this scope.static AlgorithmParameterGeneratorAlgorithmParameterGenerator. getInstance(String algorithm)Returns a new instance ofAlgorithmParameterGeneratorfor the specified algorithm.static AlgorithmParameterGeneratorAlgorithmParameterGenerator. getInstance(String algorithm, String provider)Returns a new instance ofAlgorithmParameterGeneratorfrom the specified provider for the specified algorithm.static AlgorithmParameterGeneratorAlgorithmParameterGenerator. getInstance(String algorithm, Provider provider)Returns a new instance ofAlgorithmParameterGeneratorfrom the specified provider for the specified algorithm.static AlgorithmParametersAlgorithmParameters. getInstance(String algorithm)Returns a new instance ofAlgorithmParametersfor the specified algorithm.static AlgorithmParametersAlgorithmParameters. getInstance(String algorithm, String provider)Returns a new instance ofAlgorithmParametersfrom the specified provider for the specified algorithm.static AlgorithmParametersAlgorithmParameters. getInstance(String algorithm, Provider provider)Returns a new instance ofAlgorithmParametersfrom the specified provider for the specified algorithm.static KeyFactoryKeyFactory. getInstance(String algorithm)Returns a new instance ofKeyFactorythat utilizes the specified algorithm.static KeyFactoryKeyFactory. getInstance(String algorithm, String provider)Returns a new instance ofKeyFactorythat utilizes the specified algorithm from the specified provider.static KeyFactoryKeyFactory. getInstance(String algorithm, Provider provider)Returns a new instance ofKeyFactorythat utilizes the specified algorithm from the specified provider.static KeyPairGeneratorKeyPairGenerator. getInstance(String algorithm)Returns a new instance ofKeyPairGeneratorthat utilizes the specified algorithm.static KeyPairGeneratorKeyPairGenerator. getInstance(String algorithm, String provider)Returns a new instance ofKeyPairGeneratorthat utilizes the specified algorithm from the specified provider.static KeyPairGeneratorKeyPairGenerator. getInstance(String algorithm, Provider provider)Returns a new instance ofKeyPairGeneratorthat utilizes the specified algorithm from the specified provider.static KeyStoreKeyStore. getInstance(String type)Returns a new instance ofKeyStorewith the specified type.static KeyStoreKeyStore. getInstance(String type, String provider)Returns a new instance ofKeyStorefrom the specified provider with the given type.static KeyStoreKeyStore. getInstance(String type, Provider provider)Returns a new instance ofKeyStorefrom the specified provider with the given type.static MessageDigestMessageDigest. getInstance(String algorithm)Returns a new instance ofMessageDigestthat utilizes the specified algorithm.static MessageDigestMessageDigest. getInstance(String algorithm, String provider)Returns a new instance ofMessageDigestthat utilizes the specified algorithm from the specified provider.static MessageDigestMessageDigest. getInstance(String algorithm, Provider provider)Returns a new instance ofMessageDigestthat utilizes the specified algorithm from the specified provider.static PolicyPolicy. getInstance(String type, Policy.Parameters params)static PolicyPolicy. getInstance(String type, Policy.Parameters params, String provider)static PolicyPolicy. getInstance(String type, Policy.Parameters params, Provider provider)static SecureRandomSecureRandom. getInstance(String algorithm)Returns a new instance ofSecureRandomthat utilizes the specified algorithm.static SecureRandomSecureRandom. getInstance(String algorithm, String provider)Returns a new instance ofSecureRandomthat utilizes the specified algorithm from the specified provider.static SecureRandomSecureRandom. getInstance(String algorithm, Provider provider)Returns a new instance ofSecureRandomthat utilizes the specified algorithm from the specified provider.static SignatureSignature. getInstance(String algorithm)Returns a new instance ofSignaturethat utilizes the specified algorithm.static SignatureSignature. getInstance(String algorithm, String provider)Returns a new instance ofSignaturethat utilizes the specified algorithm from the specified provider.static SignatureSignature. getInstance(String algorithm, Provider provider)Returns a new instance ofSignaturethat utilizes the specified algorithm from the specified provider.KeyKeyStore. getKey(String alias, char[] password)Returns the key with the given alias, using the password to recover the key from the store.ObjectSignature. getParameter(String param)Deprecated.There is no generally accepted parameter naming convention.static StringSecurity. getProperty(String key)Returns the value of the security property named by the argument.abstract KeyStore.ProtectionParameterKeyStore.Builder. getProtectionParameter(String alias)Returns theProtectionParameterto be used when aEntrywith the specified alias is requested.static ProviderSecurity. getProvider(String name)Returns theProviderwith the specified name.static Provider[]Security. getProviders(String filter)Returns the array of providers which meet the user supplied string filter.Provider.ServiceProvider. getService(String type, String algorithm)Returns the service with the specifiedtypeimplementing the specifiedalgorithm, ornullif no such implementation exists.voidAlgorithmParameters. init(byte[] params, String format)Initializes thisAlgorithmParameterswith the specifiedbyte[]using the specified decoding format.booleanKeyStore. isCertificateEntry(String alias)Indicates whether the specified alias is associated with aKeyStore.TrustedCertificateEntry.booleanKeyStore. isKeyEntry(String alias)Indicates whether the specified alias is associated with either aKeyStore.PrivateKeyEntryor aKeyStore.SecretKeyEntry.static KeyStore.BuilderKeyStore.Builder. newInstance(String type, Provider provider, File file, KeyStore.ProtectionParameter protectionParameter)Returns a newBuilderthat creates a newKeyStorebased on the provided arguments.static KeyStore.BuilderKeyStore.Builder. newInstance(String type, Provider provider, KeyStore.ProtectionParameter protectionParameter)Returns a newBuilderthat creates a newKeyStorebased on the provided arguments.static voidSecurity. removeProvider(String name)Removes theProviderwith the specified name form the collection of providers.voidKeyStore. setCertificateEntry(String alias, Certificate cert)Associates the given alias with a certificate.voidKeyStore. setEntry(String alias, KeyStore.Entry entry, KeyStore.ProtectionParameter param)Stores the givenEntryin thisKeyStoreand associates the entry with the givenalias.voidIdentity. setInfo(String info)Deprecated.Sets an information string for thisIdentity.voidKeyStore. setKeyEntry(String alias, byte[] key, Certificate[] chain)Associates the given alias with a key and a certificate chain.voidKeyStore. setKeyEntry(String alias, Key key, char[] password, Certificate[] chain)Associates the given alias with the key, password and certificate chain.voidSignature. setParameter(String param, Object value)Deprecated.UseSignature.setParameter(AlgorithmParameterSpec)instead.static voidSecurity. setProperty(String key, String value)Sets the value of the specified security property.static KeyRep.TypeKeyRep.Type. valueOf(String name)Returns the enum constant of this type with the specified name.Method parameters in java.security with type arguments of type String Modifier and Type Method Description static Provider[]Security. getProviders(Map<String,String> filter)Returns the array of providers which meet the user supplied set of filters.static Provider[]Security. getProviders(Map<String,String> filter)Returns the array of providers which meet the user supplied set of filters.Constructors in java.security with parameters of type String Constructor Description AccessControlException(String message)Constructs a new instance ofAccessControlExceptionwith the given message.AccessControlException(String message, Permission perm)Constructs a new instance ofAccessControlExceptionwith the given message and the requestedPermissionwhich was not granted.AlgorithmParameterGenerator(AlgorithmParameterGeneratorSpi paramGenSpi, Provider provider, String algorithm)Constructs a new instance ofAlgorithmParameterGeneratorwith the given arguments.AlgorithmParameters(AlgorithmParametersSpi algPramSpi, Provider provider, String algorithm)Constructs a new instance ofAlgorithmParameterswith the given arguments.AllPermission(String name, String actions)AuthProvider(String name, double version, String info)BasicPermission(String name)BasicPermission(String name, String action)DigestException(String msg)Constructs a new instance ofDigestExceptionwith the given message.DigestException(String message, Throwable cause)Constructs a new instance ofDigestExceptionwith the given message and the cause.GeneralSecurityException(String msg)Constructs a new instance ofGeneralSecurityExceptionwith the given message.GeneralSecurityException(String message, Throwable cause)Constructs a new instance ofGeneralSecurityExceptionwith the given message and the cause.Identity(String name)Deprecated.Creates a new instance ofIdentitywith the specified name.Identity(String name, IdentityScope scope)Deprecated.Creates a new instance ofIdentitywith the specified name and the scope of thisIdentity.IdentityScope(String name)Deprecated.Constructs a new instance ofIdentityScopewith the specified name.IdentityScope(String name, IdentityScope scope)Deprecated.Constructs a new instance ofIdentityScopewith the specified name and the specified scope.InvalidAlgorithmParameterException(String msg)Constructs a new instance ofInvalidAlgorithmParameterExceptionwith the given message.InvalidAlgorithmParameterException(String message, Throwable cause)Constructs a new instance ofInvalidAlgorithmParameterExceptionwith the given message and the cause.InvalidKeyException(String msg)Constructs a new instance ofInvalidKeyExceptionwith the given message.InvalidKeyException(String message, Throwable cause)Constructs a new instance ofInvalidKeyExceptionwith the given message and the cause.InvalidParameterException(String msg)Constructs a new instance ofInvalidParameterExceptionwith the given message.KeyException(String msg)Constructs a new instance ofKeyExceptionwith the given message.KeyException(String message, Throwable cause)Constructs a new instance ofKeyExceptionwith the given message and the cause.KeyFactory(KeyFactorySpi keyFacSpi, Provider provider, String algorithm)Constructs a new instance ofKeyFactorywith the specified arguments.KeyManagementException(String msg)Constructs a new instance ofKeyManagementExceptionwith the given message.KeyManagementException(String message, Throwable cause)Constructs a new instance ofKeyManagementExceptionwith the given message and the cause.KeyPairGenerator(String algorithm)Constructs a new instance ofKeyPairGeneratorwith the name of the algorithm to use.KeyRep(KeyRep.Type type, String algorithm, String format, byte[] encoded)Constructs a new instance ofKeyRepwith the specified arguments.KeyStore(KeyStoreSpi keyStoreSpi, Provider provider, String type)Constructs a new instance ofKeyStorewith the given arguments.KeyStoreException(String msg)Constructs a new instance ofKeyStoreExceptionwith the given message.KeyStoreException(String message, Throwable cause)Constructs a new instance ofKeyStoreExceptionwith the given message and the cause.MessageDigest(String algorithm)Constructs a new instance ofMessageDigestwith the name of the algorithm to use.NoSuchAlgorithmException(String msg)Constructs a new instance ofNoSuchAlgorithmExceptionwith the given message.NoSuchAlgorithmException(String message, Throwable cause)Constructs a new instance ofNoSuchAlgorithmExceptionwith the given message and the cause.NoSuchProviderException(String msg)Constructs a new instance ofNoSuchProviderExceptionwith the given message.Permission(String name)Provider(String name, double version, String info)Constructs a new instance ofProviderwith its name, version and description.ProviderException(String msg)Constructs a new instance ofProviderExceptionwith the given message.ProviderException(String message, Throwable cause)Constructs a new instance ofProviderExceptionwith the given message and the cause.SecurityPermission(String name)SecurityPermission(String name, String action)Service(Provider provider, String type, String algorithm, String className, List<String> aliases, Map<String,String> attributes)Constructs a new instance ofServicewith the given attributes.Signature(String algorithm)Constructs a new instance ofSignaturewith the name of the algorithm to use.SignatureException(String msg)Constructs a new instance ofSignatureExceptionwith the given message.SignatureException(String message, Throwable cause)Constructs a new instance ofSignatureExceptionwith the given message and the cause.Signer(String name)Deprecated.Constructs a new instance ofSignerwith the given name.Signer(String name, IdentityScope scope)Deprecated.Constructs a new instance ofSignerwith the given name in the given scope.UnrecoverableEntryException(String msg)Constructs a new instance ofUnrecoverableEntryExceptionwith the given message.UnrecoverableKeyException(String msg)Constructs a new instance ofUnrecoverableKeyExceptionwith the given message.UnresolvedPermission(String type, String name, String actions, Certificate[] certs)Constructor parameters in java.security with type arguments of type String Constructor Description Service(Provider provider, String type, String algorithm, String className, List<String> aliases, Map<String,String> attributes)Constructs a new instance ofServicewith the given attributes.Service(Provider provider, String type, String algorithm, String className, List<String> aliases, Map<String,String> attributes)Constructs a new instance ofServicewith the given attributes.Service(Provider provider, String type, String algorithm, String className, List<String> aliases, Map<String,String> attributes)Constructs a new instance ofServicewith the given attributes. -
Uses of String in java.security.acl
Methods in java.security.acl that return String Modifier and Type Method Description StringAcl. getName()Returns the name of this ACL instance.StringAcl. toString()Returns the string representation of this ACL.StringAclEntry. toString()Returns the string representation of this ACL entry.StringPermission. toString()Methods in java.security.acl with parameters of type String Modifier and Type Method Description voidAcl. setName(Principal caller, String name)Sets the name of this ACL instance. -
Uses of String in java.security.cert
Methods in java.security.cert that return String Modifier and Type Method Description StringCertPathBuilder. getAlgorithm()Returns the algorithm name of this instance.StringCertPathValidator. getAlgorithm()Returns the certification path algorithm name.StringTrustAnchor. getCAName()Returns the name of the certificate authority asStringin RFC 2253 format.static StringCertPathBuilder. getDefaultType()Returns the defaultCertPathBuildertype from the Security Properties.static StringCertPathValidator. getDefaultType()Returns the defaultCertPathValidatortype from the Security Properties.static StringCertStore. getDefaultType()Returns the defaultCertStoretype from the Security Properties.StringX509CertSelector. getIssuerAsString()Do not use, useX509CertSelector.getIssuer()orX509CertSelector.getIssuerAsBytes()instead.StringPolicyQualifierInfo. getPolicyQualifierId()Returns the identifier (an OID) of this policy qualifier info.StringLDAPCertStoreParameters. getServerName()Returns the LDAP server name.abstract StringX509Certificate. getSigAlgName()Returns the name of the algorithm for the certificate signature.abstract StringX509CRL. getSigAlgName()Returns the name of the signature algorithm.abstract StringX509Certificate. getSigAlgOID()Returns the OID of the signature algorithm from the certificate.abstract StringX509CRL. getSigAlgOID()Returns the OID of the signature algorithm.StringPKIXParameters. getSigProvider()Returns the name of the signature provider.StringX509CertSelector. getSubjectAsString()Do not use, useX509CertSelector.getSubject()orX509CertSelector.getSubjectAsBytes()instead.StringX509CertSelector. getSubjectPublicKeyAlgID()Returns the criterion for the subject public key signature algorithm.StringCertificate. getType()Returns the certificate type.StringCertificateFactory. getType()Returns the Certificate type.StringCertPath. getType()Returns the type ofCertificatein this instance.StringCertStore. getType()Returns the certificate store type.StringCRL. getType()Returns the type of this CRL.StringPolicyNode. getValidPolicy()Returns the valid policy of this node.abstract StringCertificate. toString()Returns a string containing a concise, human-readable description of the certificate.StringCertPath. toString()Returns aStringrepresentation of thisCertPathinstance.StringCollectionCertStoreParameters. toString()Returns the string representation of this instance.abstract StringCRL. toString()Returns the string representation of this instance.StringLDAPCertStoreParameters. toString()Returns the string representation of thisLDAPCertStoreParametersinstance.StringPKIXBuilderParameters. toString()Returns a string representation of thisPKIXBuilderParametersinstance.StringPKIXCertPathBuilderResult. toString()Returns a string representation of thisPKIXCertPathBuilderResultinstance.StringPKIXCertPathValidatorResult. toString()Returns a string representation for thisPKIXCertPathValidatorResultinstance.StringPKIXParameters. toString()Returns a string representation of thisPKIXParametersinstance.StringPolicyQualifierInfo. toString()Returns a string representation of thisPolicyQualifierInfoinstance.StringTrustAnchor. toString()Returns a string representation of thisTrustAnchorinstance.StringX509CertSelector. toString()Returns a string representation of thisX509CertSelectorinstance.abstract StringX509CRLEntry. toString()Returns a string representation of this instance.StringX509CRLSelector. toString()Returns a string representation of thisX509CRLSelectorinstance.Methods in java.security.cert that return types with arguments of type String Modifier and Type Method Description Iterator<String>CertificateFactorySpi. engineGetCertPathEncodings()Returns anIteratorover the supportedCertPathencodings (as Strings).Iterator<String>CertificateFactory. getCertPathEncodings()Returns anIteratorover the supportedCertPathencodings (as Strings).Set<String>X509Extension. getCriticalExtensionOIDs()Returns the set of OIDs of the extension(s) marked as CRITICAL, that this implementation manages.abstract Iterator<String>CertPath. getEncodings()Returns anIteratorover the supported encodings for a representation of the certificate path.Set<String>PolicyNode. getExpectedPolicies()Returns the expected policies for the next certificate to be valid.List<String>X509Certificate. getExtendedKeyUsage()Returns a read-only list of OID strings representing theExtKeyUsageSyntaxfield of the extended key usage extension.Set<String>X509CertSelector. getExtendedKeyUsage()Returns the criterion for the ExtendedKeyUsage extension.Set<String>PKIXParameters. getInitialPolicies()Returns the list of policies (as OID strings) that would be acceptable for the purpose of certification path processing.Set<String>X509Extension. getNonCriticalExtensionOIDs()Returns the set of OIDs of the extension(s) marked as NON-CRITICAL, that this implementation manages.Set<String>X509CertSelector. getPolicy()Returns the criterion for the policy constraint.abstract Set<String>PKIXCertPathChecker. getSupportedExtensions()Returns the list of extensions of X.509 certificates that thisPKIXCertPathCheckeris able to process.Methods in java.security.cert with parameters of type String Modifier and Type Method Description voidX509CRLSelector. addIssuerName(String iss_name)Do not use:, useX509CRLSelector.addIssuer(X500Principal)orX509CRLSelector.addIssuerName(byte[])instead.voidX509CertSelector. addPathToName(int type, String name)Adds a "pathToName" to the respective criterion.voidX509CertSelector. addSubjectAlternativeName(int tag, String name)Adds a subject alternative name to the respective criterion.CertPathCertificateFactorySpi. engineGenerateCertPath(InputStream inStream, String encoding)Generates aCertPath(a certificate chain) from the giveninputStream, assuming the givenencodingfromCertificateFactorySpi.engineGetCertPathEncodings().CertPathCertificateFactory. generateCertPath(InputStream inputStream, String encoding)Generates aCertPath(a certificate chain) from the giveninputStream, assuming the givenencodingfromCertificateFactory.getCertPathEncodings().abstract byte[]CertPath. getEncoded(String encoding)byte[]X509Extension. getExtensionValue(String oid)Returns the extension value as DER-encoded OCTET string for the specified OID.static CertificateFactoryCertificateFactory. getInstance(String type)Creates a newCertificateFactoryinstance that provides the requested certificate type.static CertificateFactoryCertificateFactory. getInstance(String type, String provider)Creates a newCertificateFactoryinstance from the specified provider that provides the requested certificate type.static CertificateFactoryCertificateFactory. getInstance(String type, Provider provider)Creates a newCertificateFactoryinstance from the specified provider that provides the requested certificate type.static CertPathBuilderCertPathBuilder. getInstance(String algorithm)Creates a newCertPathBuilderinstance with the specified algorithm.static CertPathBuilderCertPathBuilder. getInstance(String algorithm, String provider)Creates a newCertPathBuilderinstance from the specified provider providing the specified algorithm.static CertPathBuilderCertPathBuilder. getInstance(String algorithm, Provider provider)Creates a newCertPathBuilderinstance from the specified provider providing the specified algorithm.static CertPathValidatorCertPathValidator. getInstance(String algorithm)Returns a new certification path validator for the specified algorithm.static CertPathValidatorCertPathValidator. getInstance(String algorithm, String provider)Returns a new certification path validator for the specified algorithm from the specified provider.static CertPathValidatorCertPathValidator. getInstance(String algorithm, Provider provider)Returns a new certification path validator for the specified algorithm from the specified provider.static CertStoreCertStore. getInstance(String type, CertStoreParameters params)Creates a newCertStoreinstance with the specified type and initialized with the specified parameters.static CertStoreCertStore. getInstance(String type, CertStoreParameters params, String provider)Creates a newCertStoreinstance from the specified provider with the specified type and initialized with the specified parameters.static CertStoreCertStore. getInstance(String type, CertStoreParameters params, Provider provider)Creates a newCertStoreinstance from the specified provider with the specified type and initialized with the specified parameters.voidX509CertSelector. setIssuer(String issuerName)Do not use, useX509CertSelector.getIssuer()orX509CertSelector.getIssuerAsBytes()instead.voidPKIXParameters. setSigProvider(String sigProvider)Sets the name of the preferred signature provider.voidX509CertSelector. setSubject(String subjectDN)Do not use, useX509CertSelector.setSubject(byte[])orX509CertSelector.setSubject(X500Principal)instead.voidX509CertSelector. setSubjectPublicKeyAlgID(String oid)Sets the criterion for the subject public key signature algorithm.abstract voidCertificate. verify(PublicKey key, String sigProvider)Verifies that this certificate was signed with the given public key.abstract voidX509CRL. verify(PublicKey key, String sigProvider)Verifies this CRL by verifying that this CRL was signed with the corresponding private key to the specified public key.Method parameters in java.security.cert with type arguments of type String Modifier and Type Method Description abstract voidPKIXCertPathChecker. check(Certificate cert, Collection<String> unresolvedCritExts)Checks the specified certificate and removes the processed critical extensions from the specified list of X.509 extension OIDs.voidX509CertSelector. setExtendedKeyUsage(Set<String> keyUsage)Sets the criterion for the ExtendedKeyUsage extension.voidPKIXParameters. setInitialPolicies(Set<String> initialPolicies)Sets the list of policies (as OID strings) that would be acceptable for the purpose of certification path processing.voidX509CertSelector. setPolicy(Set<String> policies)Sets the criterion for the policy constraint.Constructors in java.security.cert with parameters of type String Constructor Description Certificate(String type)Creates a newCertificatewith the specified type.CertificateEncodingException(String msg)Creates a newCertificateEncodingExceptionwith the specified message.CertificateEncodingException(String message, Throwable cause)Creates a newCertificateEncodingExceptionwith the specified message and cause.CertificateException(String msg)Creates a newCertificateExceptionwith the specified message.CertificateException(String message, Throwable cause)Creates a newCertificateExceptionwith the specified message and cause.CertificateExpiredException(String msg)Creates a newCertificateExpiredExceptionwith the specified message.CertificateFactory(CertificateFactorySpi certFacSpi, Provider provider, String type)Creates a newCertificateFactoryinstance.CertificateNotYetValidException(String msg)Creates a newCertificateNotYetValidExceptionwith the specified message.CertificateParsingException(String msg)Creates a newCertificateParsingExceptionwith the specified message.CertificateParsingException(String message, Throwable cause)Creates a newCertificateParsingExceptionwith the specified message and cause.CertificateRep(String type, byte[] data)Creates a newCertificateRepinstance with the specified certificate type and encoded data.CertPath(String type)Creates a newCertPathinstance for the specified certificate type.CertPathBuilder(CertPathBuilderSpi builderSpi, Provider provider, String algorithm)Creates a newCertPathBuilder.CertPathBuilderException(String msg)Creates a newCertPathBuilderExceptionwith the specified message.CertPathBuilderException(String msg, Throwable cause)Creates a newCertPathBuilderExceptionwith the specified message and cause.CertPathRep(String type, byte[] data)Creates a newCertPathRepinstance with the specified type and encoded data.CertPathValidator(CertPathValidatorSpi validatorSpi, Provider provider, String algorithm)Creates a newCertPathValidatorinstance.CertPathValidatorException(String msg)Creates a newCertPathValidatorExceptionwith the specified message.CertPathValidatorException(String msg, Throwable cause)Creates a newCertPathValidatorExceptionwith the specified message and cause.CertPathValidatorException(String msg, Throwable cause, CertPath certPath, int index)Creates a newCertPathValidatorExceptionwith the specified message , cause, certification path and certificate index in the certification path.CertStore(CertStoreSpi storeSpi, Provider provider, String type, CertStoreParameters params)Creates a newCertStoreinstance.CertStoreException(String msg)Creates a newCertStoreExceptionwith the specified message.CertStoreException(String msg, Throwable cause)Creates a newCertStoreExceptionwith the specified message and cause.CRL(String type)Creates a new certificate revocation list of the specified type.CRLException(String msg)Creates a newCRLExceptionwith the specified message.CRLException(String message, Throwable cause)Creates a newCRLExceptionwith the specified message and cause.LDAPCertStoreParameters(String serverName)Creates a newLDAPCertStoreParametersinstance with the specified server name and default port 389.LDAPCertStoreParameters(String serverName, int port)Creates a newLDAPCertStoreParametersinstance with the specified server name and port.TrustAnchor(String caName, PublicKey caPublicKey, byte[] nameConstraints)Creates a newTrustAnchorwith the specified certificate authority name, its public key and the specified name constraints. -
Uses of String in java.security.spec
Methods in java.security.spec that return String Modifier and Type Method Description StringECParameterSpec. getCurveName()Returns the name of the curve if this is a named curve.StringMGF1ParameterSpec. getDigestAlgorithm()Returns the name of the message digest algorithm.StringPSSParameterSpec. getDigestAlgorithm()Returns the name of the message digest algorithm.abstract StringEncodedKeySpec. getFormat()Returns the name of the encoding format of this encoded key specification.StringPKCS8EncodedKeySpec. getFormat()Returns the name of the encoding format of this encoded key specification.StringX509EncodedKeySpec. getFormat()Returns the name of the encoding format of this encoded key specification.StringPSSParameterSpec. getMGFAlgorithm()Returns the name of the mask generation function algorithm.StringECGenParameterSpec. getName()Returns the name (standard or predefined) of the to-be-generated elliptic curve domain parameter.Constructors in java.security.spec with parameters of type String Constructor Description ECGenParameterSpec(String name)Creates a newECGenParameterSpecwith the specified standard or predefined name of the to-be-generated domain parameter.ECParameterSpec(EllipticCurve curve, ECPoint generator, BigInteger order, int cofactor, String curveName)Creates a newECParameterSpecwith the specified named curve and all of its parameters.InvalidKeySpecException(String msg)Creates a newInvalidKeySpecExceptionwith the specified message.InvalidKeySpecException(String message, Throwable cause)Creates a newInvalidKeySpecExceptionwith the specified message and cause.InvalidParameterSpecException(String msg)Creates a newInvalidParameterSpecExceptionwith the specified message.MGF1ParameterSpec(String mdName)Creates a newMGF1ParameterSpecwith the specified message digest algorithm name.PSSParameterSpec(String mdName, String mgfName, AlgorithmParameterSpec mgfSpec, int saltLen, int trailerField)Creates a newPSSParameterSpecwith the specified message digest name, mask generation function name, mask generation function parameters, salt length, and trailer field value. -
Uses of String in java.sql
Fields in java.sql declared as String Modifier and Type Field Description String[]DriverPropertyInfo. choicesIf the value member can be chosen from a set of possible values, they are contained here.StringDriverPropertyInfo. descriptionA description of the property.StringDriverPropertyInfo. nameThe name of the property.StringDriverPropertyInfo. valueThe current value associated with this property.Methods in java.sql that return String Modifier and Type Method Description StringSQLPermission. getActions()StringArray. getBaseTypeName()Returns the SQL type name of the entries in this array's underlying SQL array.StringRef. getBaseTypeName()Gets the fully-qualified SQL name of the SQL structured type that thisRefreferences.StringConnection. getCatalog()Gets thisConnectionobject's current catalog name.StringResultSetMetaData. getCatalogName(int column)Returns the title of an indexed column's catalog.StringDatabaseMetaData. getCatalogSeparator()Returns the separator that this database uses between a catalog name and table name.StringDatabaseMetaData. getCatalogTerm()Returns the term that the database vendor prefers term for "catalog".StringConnection. getClientInfo(String name)Returns the value corresponding to the given client info property, or null if unset.StringResultSetMetaData. getColumnClassName(int column)Returns the fully-qualified type of the class that is produced when invokingResultSet.getObjectto recover this column's value.StringResultSetMetaData. getColumnLabel(int column)Returns a recommended title for the indexed column, to be used when the title needs to be displayed.StringResultSetMetaData. getColumnName(int column)Returns the title of the indexed column.StringResultSetMetaData. getColumnTypeName(int column)Returns the type name of the indexed column.StringResultSet. getCursorName()Gets the name of the SQL cursor of thisResultSet.StringDatabaseMetaData. getDatabaseProductName()Returns the name of the database software.StringDatabaseMetaData. getDatabaseProductVersion()Returns the version number of this database software.StringDatabaseMetaData. getDriverName()Returns the name of this JDBC driver.StringDatabaseMetaData. getDriverVersion()Returns the version number of this JDBC driver.StringDatabaseMetaData. getExtraNameCharacters()Returns a string of characters that may be used in unquoted identifier names.StringDatabaseMetaData. getIdentifierQuoteString()Returns the string used to quote SQL identifiers.StringCallableStatement. getNString(int parameterIndex)Returns the value of the specified SQL NCHAR, NVARCHAR, or LONGNVARCHAR parameter as ajava.lang.String.StringCallableStatement. getNString(String parameterName)Returns the value of the specified SQL NCHAR, NVARCHAR, or LONGNVARCHAR parameter as ajava.lang.String.StringResultSet. getNString(int columnIndex)Returns aStringcorresponding to the value at the 1-basedcolumnIndex.StringResultSet. getNString(String columnLabel)Returns aStringcorresponding to the value in the named column.StringDatabaseMetaData. getNumericFunctions()Returns a list of the math functions available with this database.StringParameterMetaData. getParameterClassName(int paramIndex)Gets the fully-qualified name of the Java class which should be passed as a parameter to the methodPreparedStatement.setObject.StringParameterMetaData. getParameterTypeName(int paramIndex)Gets the database-specific type name of a specified parameter.StringDatabaseMetaData. getProcedureTerm()Returns the database vendor's preferred name for "procedure".StringSavepoint. getSavepointName()Returns the name for this savepoint.StringResultSetMetaData. getSchemaName(int column)Returns the name of the indexed columns schema.StringDatabaseMetaData. getSchemaTerm()Returns the database vendor's preferred term for "schema".StringDatabaseMetaData. getSearchStringEscape()Returns the string that is used to escape wildcard characters.StringDatabaseMetaData. getSQLKeywords()Returns a list of all the SQL keywords that are NOT also SQL92 keywords for the database.StringSQLException. getSQLState()Retrieves theSQLStatedescription string for thisSQLExceptionobject.StringSQLData. getSQLTypeName()Gets the SQL name of the User Defined Type (UDT) that this object represents.StringStruct. getSQLTypeName()Gets the SQL Type name of the SQL structured type that thisStructrepresents.StringCallableStatement. getString(int parameterIndex)Returns the indexed parameter's value as aString.StringCallableStatement. getString(String parameterName)Returns the named parameter's value as a string.StringResultSet. getString(int columnIndex)Gets the value of a column specified by column index as a String.StringResultSet. getString(String columnName)Gets the value of a column specified by column name, as a String.StringSQLXML. getString()Returns this object's data as an XML string.StringDatabaseMetaData. getStringFunctions()Returns a list of string functions available with the database.StringClob. getSubString(long pos, int length)Gets a copy of a specified substring in thisClob.StringDatabaseMetaData. getSystemFunctions()Returns a list of system functions available with the database.StringResultSetMetaData. getTableName(int column)Returns the title of the indexed columns table.StringDatabaseMetaData. getTimeDateFunctions()Returns a list of time and date functions available for the database.StringDatabaseMetaData. getURL()Returns the URL for this database.StringDatabaseMetaData. getUserName()Determine the user name as known by the database.StringConnection. nativeSQL(String sql)Returns a string representation of the input SQL statementsqlexpressed in the underlying system's native SQL syntax.StringSQLInput. readNString()Returns the next attribute in the stream in the form of ajava.lang.String.StringSQLInput. readString()Returns the next attribute in the stream in the form of aString.StringDate. toString()Produces a string representation of the date in SQL formatStringRowId. toString()StringTime. toString()Formats theTimeas a String in JDBC escape format:hh:mm:ss.StringTimestamp. toString()Returns the timestamp formatted as a String in the JDBC Timestamp Escape format, which is"yyyy-MM-dd HH:mm:ss.nnnnnnnnn".Methods in java.sql that return types with arguments of type String Modifier and Type Method Description Map<String,ClientInfoStatus>SQLClientInfoException. getFailedProperties()returns that the client info properties which could not be setMap<String,Class<?>>Connection. getTypeMap()Returns the type mapping associated with thisConnectionobject.Methods in java.sql with parameters of type String Modifier and Type Method Description booleanDriver. acceptsURL(String url)Returns whether the driver thinks that it can open a connection to the given URL.voidStatement. addBatch(String sql)Adds a specified SQL command to the list of commands for thisStatement.ConnectionDriver. connect(String url, Properties info)Attempts to make a database connection to a data source specified by a supplied URL.ArrayConnection. createArrayOf(String typeName, Object[] elements)Returns a newArraycontaining the givenelements.StructConnection. createStruct(String typeName, Object[] attributes)Returns a newStructcontaining the givenattributes.booleanStatement. execute(String sql)Executes a supplied SQL statement.booleanStatement. execute(String sql, int autoGeneratedKeys)Executes a supplied SQL statement.booleanStatement. execute(String sql, int[] columnIndexes)Executes the supplied SQL statement.booleanStatement. execute(String sql, String[] columnNames)Executes the supplied SQL statement.ResultSetStatement. executeQuery(String sql)Executes a supplied SQL statement.intStatement. executeUpdate(String sql)Executes the supplied SQL statement.intStatement. executeUpdate(String sql, int autoGeneratedKeys)Executes the supplied SQL statement.intStatement. executeUpdate(String sql, int[] columnIndexes)Executes the supplied SQL statement.intStatement. executeUpdate(String sql, String[] columnNames)Executes the supplied SQL statement.intResultSet. findColumn(String columnName)Gets the index number for a column in theResultSetfrom the provided column name.ArrayCallableStatement. getArray(String parameterName)Gets the value of a specified JDBCARRAYparameter as ajava.sql.Array.ArrayResultSet. getArray(String colName)Gets the value of a column specified by column name as ajava.sql.Array.InputStreamResultSet. getAsciiStream(String columnName)Gets the value of a column specified by column name as an ASCII character stream.ResultSetDatabaseMetaData. getAttributes(String catalog, String schemaPattern, String typeNamePattern, String attributeNamePattern)Returns aResultSetdescribing a subset of the attributes of a specified SQL User Defined Type (UDT) for a specified schema and catalog.ResultSetDatabaseMetaData. getBestRowIdentifier(String catalog, String schema, String table, int scope, boolean nullable)Returns a list of a table's optimal set of columns that uniquely identify the rows.BigDecimalCallableStatement. getBigDecimal(String parameterName)Returns a newBigDecimalrepresentation of the JDBCNUMERICparameter specified by the input name.BigDecimalResultSet. getBigDecimal(String columnName)Gets the value of a column specified by column name, as ajava.math.BigDecimal.BigDecimalResultSet. getBigDecimal(String columnName, int scale)Deprecated.UseResultSet.getBigDecimal(int)orResultSet.getBigDecimal(String)instead.InputStreamResultSet. getBinaryStream(String columnName)Gets the value of a column specified by column name as a binary stream.BlobCallableStatement. getBlob(String parameterName)Gets the value of a specified JDBCBLOBparameter as ajava.sql.Blob.BlobResultSet. getBlob(String columnName)Gets the value of a column specified by column name, as ajava.sql.Blobobject.booleanCallableStatement. getBoolean(String parameterName)Gets the value of a specified JDBCBITparameter as aboolean.booleanResultSet. getBoolean(String columnName)Gets the value of a column specified by column name, as aboolean.byteCallableStatement. getByte(String parameterName)Gets the value of a specified JDBCTINYINTparameter as a Javabyte.byteResultSet. getByte(String columnName)Gets the value of a column specified by column name as abyte.byte[]CallableStatement. getBytes(String parameterName)Returns a byte array representation of the named JDBCBINARYorVARBINARYparameter.byte[]ResultSet. getBytes(String columnName)Gets the value of a column specified by column name as a byte array.ReaderCallableStatement. getCharacterStream(String parameterName)Returns the value of the specified parameter as ajava.io.Reader.ReaderResultSet. getCharacterStream(String columnName)Gets the value of a column specified by column name as ajava.io.Readerobject.StringConnection. getClientInfo(String name)Returns the value corresponding to the given client info property, or null if unset.ClobCallableStatement. getClob(String parameterName)Gets the value of a specified JDBCCLOBparameter as ajava.sql.Clob.ClobResultSet. getClob(String colName)Gets the value of a column specified by column name as ajava.sql.Clob.ResultSetDatabaseMetaData. getColumnPrivileges(String catalog, String schema, String table, String columnNamePattern)Returns a description of access rights for a table's columns.ResultSetDatabaseMetaData. getColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern)Returns a description of table columns available in a specified catalog.static ConnectionDriverManager. getConnection(String url)Attempts to establish a connection to the given database URL.static ConnectionDriverManager. getConnection(String url, String user, String password)Attempts to establish a connection to the given database URL.static ConnectionDriverManager. getConnection(String url, Properties info)Attempts to establish a connection to the given database URL.ResultSetDatabaseMetaData. getCrossReference(String primaryCatalog, String primarySchema, String primaryTable, String foreignCatalog, String foreignSchema, String foreignTable)Returns a list of foreign key columns in a given foreign key table that reference the primary key columns of a supplied primary key table.DateCallableStatement. getDate(String parameterName)Gets the value of the specified JDBCDATEparameter as ajava.sql.Date.DateCallableStatement. getDate(String parameterName, Calendar cal)Gets the value of the specified JDBCDATEparameter as ajava.sql.Date, using the specifiedCalendarto construct the date.DateResultSet. getDate(String columnName)Gets the value of a column specified by column name as ajava.sql.Date.DateResultSet. getDate(String columnName, Calendar cal)Gets the value of a column specified by column name, as ajava.sql.Dateobject.doubleCallableStatement. getDouble(String parameterName)Gets the value of the specified JDBCDOUBLEparameter as adouble.doubleResultSet. getDouble(String columnName)Gets the value of a column specified by column name as adoublevalue.static DriverDriverManager. getDriver(String url)Tries to find a driver that can interpret the supplied URL.ResultSetDatabaseMetaData. getExportedKeys(String catalog, String schema, String table)Returns a list of the foreign key columns that reference the primary key columns of a specified table (the foreign keys exported by a table).floatCallableStatement. getFloat(String parameterName)Gets the value of the specified JDBCFLOATparameter as a Javafloat.floatResultSet. getFloat(String columnName)Gets the value of a column specified by column name as afloatvalue.ResultSetDatabaseMetaData. getFunctionColumns(String catalog, String schemaPattern, String functionNamePattern, String columnNamePattern)Returns a description according to the given catalog's system or user function parameters and return type.ResultSetDatabaseMetaData. getFunctions(String catalog, String schemaPattern, String functionNamePattern)Returns a description of the system and user functions available according to the given catalog.ResultSetDatabaseMetaData. getImportedKeys(String catalog, String schema, String table)Returns a list columns in a table that are both primary keys and referenced by the table's foreign key columns (that is, the primary keys imported by a table).ResultSetDatabaseMetaData. getIndexInfo(String catalog, String schema, String table, boolean unique, boolean approximate)Returns a list of indices and statistics for a specified table.intCallableStatement. getInt(String parameterName)Gets the value of the specified JDBCINTEGERparameter as anint.intResultSet. getInt(String columnName)Gets the value of a column specified by column name, as anintvalue.longCallableStatement. getLong(String parameterName)Gets the value of the specified JDBCBIGINTparameter as along.longResultSet. getLong(String columnName)Gets the value of a column specified by column name, as alongvalue.ReaderCallableStatement. getNCharacterStream(String parameterName)Returns the value of the specified SQL NCHAR, NVARCHAR, or LONGNVARCHAR parameter as ajava.io.Reader.ReaderResultSet. getNCharacterStream(String columnLabel)Returns aReadercorresponding to the value in the named column.NClobCallableStatement. getNClob(String parameterName)Returns the value of the specified SQL NCLOB parameter as ajava.sql.NClob.NClobResultSet. getNClob(String columnLabel)Returns anNClobcorresponding to the value in the named column.StringCallableStatement. getNString(String parameterName)Returns the value of the specified SQL NCHAR, NVARCHAR, or LONGNVARCHAR parameter as ajava.lang.String.StringResultSet. getNString(String columnLabel)Returns aStringcorresponding to the value in the named column.ObjectCallableStatement. getObject(String parameterName)Gets the value of the specified parameter as anObject.ObjectCallableStatement. getObject(String parameterName, Map<String,Class<?>> map)Gets the value of a specified parameter as anObject.ObjectResultSet. getObject(String columnName)Gets the value of a specified column as a JavaObject.ObjectResultSet. getObject(String columnName, Map<String,Class<?>> map)Gets the value of a column specified by column name as a JavaObject.ResultSetDatabaseMetaData. getPrimaryKeys(String catalog, String schema, String table)Returns a list of the primary key columns of a specified table.ResultSetDatabaseMetaData. getProcedureColumns(String catalog, String schemaPattern, String procedureNamePattern, String columnNamePattern)Returns a list of parameter and result columns for the stored procedures belonging to a specified catalog.ResultSetDatabaseMetaData. getProcedures(String catalog, String schemaPattern, String procedureNamePattern)Returns a list of the stored procedures available in a specified catalog.DriverPropertyInfo[]Driver. getPropertyInfo(String url, Properties info)Gets information about possible properties for this driver.RefCallableStatement. getRef(String parameterName)Gets the value of a specified SQLREF(<structured type>)parameter as ajava.sql.Ref.RefResultSet. getRef(String colName)Gets the value of a column specified by column name as a Javajava.sql.Ref.RowIdCallableStatement. getRowId(String parameterName)Returns the value of the specified SQL ROWID parameter as ajava.sql.RowId.RowIdResultSet. getRowId(String columnLabel)Returns aRowIdcorresponding to the SQL ROWID at the named column.ResultSetDatabaseMetaData. getSchemas(String catalog, String schemaPattern)Returns the schema names ordered by TABLE_CATALOG and TABLE_SCHEMA.shortCallableStatement. getShort(String parameterName)Gets the value of a specified JDBCSMALLINTparameter as ashort.shortResultSet. getShort(String columnName)Gets the value of a column specified by column name, as a short value.SQLXMLCallableStatement. getSQLXML(String parameterName)Returns the value of the specified SQL XML parameter as ajava.sql.SQLXML.SQLXMLResultSet. getSQLXML(String columnLabel)Returns anSQLXMLcorresponding to the value in the named column.StringCallableStatement. getString(String parameterName)Returns the named parameter's value as a string.StringResultSet. getString(String columnName)Gets the value of a column specified by column name, as a String.ResultSetDatabaseMetaData. getSuperTables(String catalog, String schemaPattern, String tableNamePattern)Returns a listing of the hierarchies of tables in a specified schema in the database.ResultSetDatabaseMetaData. getSuperTypes(String catalog, String schemaPattern, String typeNamePattern)Returns the User Defined Type (UDT) hierarchies for a given schema.ResultSetDatabaseMetaData. getTablePrivileges(String catalog, String schemaPattern, String tableNamePattern)Returns a description of access rights for each table present in a catalog.ResultSetDatabaseMetaData. getTables(String catalog, String schemaPattern, String tableNamePattern, String[] types)Returns a description of the tables in a specified catalog.TimeCallableStatement. getTime(String parameterName)Gets the value of a specified JDBCTIMEparameter as ajava.sql.Time.TimeCallableStatement. getTime(String parameterName, Calendar cal)Gets the value of a specified JDBCTIMEparameter as ajava.sql.Time, using the suppliedCalendarto construct the time.TimeResultSet. getTime(String columnName)Gets the value of a column specified by column name, as ajava.sql.Timevalue.TimeResultSet. getTime(String columnName, Calendar cal)Gets the value of a column specified by column index, as ajava.sql.Timevalue.TimestampCallableStatement. getTimestamp(String parameterName)Returns the named parameter'sTIMESTAMPvalue as ajava.sql.Timestamp.TimestampCallableStatement. getTimestamp(String parameterName, Calendar cal)Returns the indexed parameter'sTIMESTAMPvalue as ajava.sql.Timestamp.TimestampResultSet. getTimestamp(String columnName)Gets the value of a column specified by column name, as ajava.sql.Timestampvalue.TimestampResultSet. getTimestamp(String columnName, Calendar cal)Gets the value of a column specified by column name, as ajava.sql.Timestampvalue.ResultSetDatabaseMetaData. getUDTs(String catalog, String schemaPattern, String typeNamePattern, int[] types)Returns a description of the User Defined Types (UDTs) defined in a given schema, which includes the typesDISTINCT,STRUCTandJAVA_OBJECT.InputStreamResultSet. getUnicodeStream(String columnName)Deprecated.UseResultSet.getCharacterStream(int)instead.URLCallableStatement. getURL(String parameterName)Returns the named parameter's JDBCDATALINKvalue in a new Javajava.net.URL.URLResultSet. getURL(String columnName)Gets the value of a column specified by column name as ajava.net.URLobject.ResultSetDatabaseMetaData. getVersionColumns(String catalog, String schema, String table)Returns which of a table's columns are automatically updated when any value in a row is updated.StringConnection. nativeSQL(String sql)Returns a string representation of the input SQL statementsqlexpressed in the underlying system's native SQL syntax.longClob. position(String searchstr, long start)Retrieves the character position at which a specified substring appears in thisClobobject.CallableStatementConnection. prepareCall(String sql)Returns a new instance ofCallableStatementthat may be used for making stored procedure calls to the database.CallableStatementConnection. prepareCall(String sql, int resultSetType, int resultSetConcurrency)Returns a new instance ofCallableStatementthat may be used for making stored procedure calls to the database.CallableStatementConnection. prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability)Returns a new instance ofCallableStatementthat may be used for making stored procedure calls to the database.PreparedStatementConnection. prepareStatement(String sql)Returns a new instance ofPreparedStatementthat may be used any number of times to execute parameterized requests on the database server.PreparedStatementConnection. prepareStatement(String sql, int autoGeneratedKeys)Creates a defaultPreparedStatementthat can retrieve automatically generated keys.PreparedStatementConnection. prepareStatement(String sql, int[] columnIndexes)Creates a defaultPreparedStatementthat can retrieve the auto-generated keys designated by a supplied array.PreparedStatementConnection. prepareStatement(String sql, int resultSetType, int resultSetConcurrency)Creates aPreparedStatementthat generatesResultSets with the specified values ofresultSetTypeandresultSetConcurrency.PreparedStatementConnection. prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability)Creates aPreparedStatementthat generatesResultSets with the specified type, concurrency and holdabilityPreparedStatementConnection. prepareStatement(String sql, String[] columnNames)Creates a defaultPreparedStatementthat can retrieve the auto-generated keys designated by a supplied array.static voidDriverManager. println(String message)Prints a message to the current JDBC log stream.voidSQLData. readSQL(SQLInput stream, String typeName)Reads data from the database into this object.voidCallableStatement. registerOutParameter(int paramIndex, int sqlType, String typeName)Defines the Type of a specifiedOUTparameter.voidCallableStatement. registerOutParameter(String parameterName, int sqlType)Defines the Type of a specifiedOUTparameter.voidCallableStatement. registerOutParameter(String parameterName, int sqlType, int scale)Defines the Type of a specifiedOUTparameter.voidCallableStatement. registerOutParameter(String parameterName, int sqlType, String typeName)Defines the Type of a specifiedOUTparameter.voidCallableStatement. setAsciiStream(String parameterName, InputStream x)Sets the named parameter to the bytes from the givenreader.voidCallableStatement. setAsciiStream(String parameterName, InputStream theInputStream, int length)Sets the value of a specified parameter to the content of a suppliedInputStream, which has a specified number of bytes.voidCallableStatement. setAsciiStream(String parameterName, InputStream x, long length)Sets the named parameter to the nextlengthbytes from the giveninputStream.voidCallableStatement. setBigDecimal(String parameterName, BigDecimal theBigDecimal)Sets the value of a specified parameter to a suppliedjava.math.BigDecimalvalue.voidCallableStatement. setBinaryStream(String parameterName, InputStream x)Sets the named parameter to the bytes from the givenreader.voidCallableStatement. setBinaryStream(String parameterName, InputStream theInputStream, int length)Sets the value of a specified parameter to the content of a supplied binaryInputStream, which has a specified number of bytes.voidCallableStatement. setBinaryStream(String parameterName, InputStream x, long length)Sets the named parameter to the nextlengthbytes from the giveninputStream.voidCallableStatement. setBlob(String parameterName, InputStream inputStream)Sets the named parameter to the bytes from the giveninputStream.voidCallableStatement. setBlob(String parameterName, InputStream inputStream, long length)Sets the named parameter to the nextlengthbytes from the giveninputStream.voidCallableStatement. setBlob(String parameterName, Blob blob)Sets the named parameter to the givenblob.voidCallableStatement. setBoolean(String parameterName, boolean theBoolean)Sets the value of a specified parameter to a suppliedbooleanvalue.voidCallableStatement. setByte(String parameterName, byte theByte)Sets the value of a specified parameter to a suppliedbytevalue.voidCallableStatement. setBytes(String parameterName, byte[] theBytes)Sets the value of a specified parameter to a supplied array of bytes.voidConnection. setCatalog(String catalog)Sets the catalog name for this connection.voidCallableStatement. setCharacterStream(String parameterName, Reader reader)Sets the named parameter to the characters from the givenreader.voidCallableStatement. setCharacterStream(String parameterName, Reader reader, int length)Sets the value of a specified parameter to the character content of aReaderobject, with the specified length of character data.voidCallableStatement. setCharacterStream(String parameterName, Reader reader, long length)Sets the named parameter to the nextlengthcharacters from the givenreader.voidConnection. setClientInfo(String name, String value)Sets the client info propertynametovalue.voidCallableStatement. setClob(String parameterName, Reader reader)Sets the named parameter to the characters from the givenreader.voidCallableStatement. setClob(String parameterName, Reader reader, long length)Sets the named parameter to the nextlengthcharacters from the givenreader.voidCallableStatement. setClob(String parameterName, Clob clob)Sets the named parameter to the givenclob.voidStatement. setCursorName(String name)Sets the SQL cursor name.voidCallableStatement. setDate(String parameterName, Date theDate)Sets the value of a specified parameter to a suppliedjava.sql.Datevalue.voidCallableStatement. setDate(String parameterName, Date theDate, Calendar cal)Sets the value of a specified parameter to a suppliedjava.sql.Datevalue, using a supplied calendar to map the date.voidCallableStatement. setDouble(String parameterName, double theDouble)Sets the value of a specified parameter to a supplieddoublevalue.voidCallableStatement. setFloat(String parameterName, float theFloat)Sets the value of a specified parameter to to a suppliedfloatvalue.voidCallableStatement. setInt(String parameterName, int theInt)Sets the value of a specified parameter to a suppliedintvalue.voidCallableStatement. setLong(String parameterName, long theLong)Sets the value of a specified parameter to a suppliedlongvalue.voidCallableStatement. setNCharacterStream(String parameterName, Reader value)Sets the named parameter to the characters from the givenreader.voidCallableStatement. setNCharacterStream(String parameterName, Reader reader, long length)Sets the named parameter to the characters from the givenreader.voidCallableStatement. setNClob(String parameterName, Reader reader)Sets the named parameter to the characters from the givenreader.voidCallableStatement. setNClob(String parameterName, Reader reader, long length)Sets the named parameter to the nextlengthcharacters from the givenreader.voidCallableStatement. setNClob(String parameterName, NClob nclob)Sets the named parameter to the givennclob.voidCallableStatement. setNString(String parameterName, String string)Sets the named parameter to the givenstring.voidPreparedStatement. setNString(int parameterIndex, String theString)Sets the value of a specified parameter to a supplied string.voidCallableStatement. setNull(String parameterName, int sqlType)Sets the value of a specified parameter to SQLNULL.voidCallableStatement. setNull(String parameterName, int sqlType, String typeName)Sets the value of a specified parameter to be SQLNULLwhere the parameter type is eitherREFor user defined (e.g.voidPreparedStatement. setNull(int paramIndex, int sqlType, String typeName)Sets the value of a specified parameter to SQLNULL.voidCallableStatement. setObject(String parameterName, Object theObject)Sets the value of a specified parameter using a supplied object.voidCallableStatement. setObject(String parameterName, Object theObject, int targetSqlType)Sets the value of a specified parameter using a supplied object.voidCallableStatement. setObject(String parameterName, Object theObject, int targetSqlType, int scale)Sets the value of a specified parameter using a supplied object.voidCallableStatement. setRowId(String parameterName, RowId rowId)Sets the named parameter to the givenrowId.SavepointConnection. setSavepoint(String name)Creates a namedSavepointin the current transaction.voidCallableStatement. setShort(String parameterName, short theShort)Sets the value of a specified parameter to a suppliedshortvalue.voidCallableStatement. setSQLXML(String parameterName, SQLXML sqlXml)Sets the named parameter to the givensqlXml.voidCallableStatement. setString(String parameterName, String theString)Sets the value of a specified parameter to a suppliedString.intClob. setString(long pos, String str)Writes a given Java String to thisClobobject at a specified position.intClob. setString(long pos, String str, int offset, int len)Writeslencharacters of a string, starting at a specified character offset, to thisClob.voidPreparedStatement. setString(int parameterIndex, String theString)Sets the value of a specified parameter to a supplied string.voidSQLXML. setString(String value)Sets this object's data to the given XML string.voidCallableStatement. setTime(String parameterName, Time theTime)Sets the value of the parameter namedparameterNameto the value of the suppliedjava.sql.Time.voidCallableStatement. setTime(String parameterName, Time theTime, Calendar cal)Sets the value of the parameter namedparameterNameto the value of the suppliedjava.sql.Timeusing the supplied calendar.voidCallableStatement. setTimestamp(String parameterName, Timestamp theTimestamp)Sets the value of a specified parameter to a suppliedjava.sql.Timestampvalue.voidCallableStatement. setTimestamp(String parameterName, Timestamp theTimestamp, Calendar cal)Sets the value of a specified parameter to a suppliedjava.sql.Timestampvalue, using the supplied calendar.voidCallableStatement. setURL(String parameterName, URL theURL)Sets the value of a specified parameter to the suppliedjava.net.URL.voidResultSet. updateArray(String columnName, Array x)Updates a column specified by a column name with ajava.sql.Arrayvalue.voidResultSet. updateAsciiStream(String columnLabel, InputStream x)Updates the value in the named column.voidResultSet. updateAsciiStream(String columnName, InputStream x, int length)Updates a column specified by a column name with an Ascii stream value.voidResultSet. updateAsciiStream(String columnLabel, InputStream x, long length)Updates the value in the named column.voidResultSet. updateBigDecimal(String columnName, BigDecimal x)Updates a column specified by a column name with ajava.sql.BigDecimalvalue.voidResultSet. updateBinaryStream(String columnLabel, InputStream x)Updates the value in the named column.voidResultSet. updateBinaryStream(String columnName, InputStream x, int length)Updates a column specified by a column name with a binary stream value.voidResultSet. updateBinaryStream(String columnLabel, InputStream x, long length)Updates the value in the named column.voidResultSet. updateBlob(String columnLabel, InputStream inputStream)Updates the value in the named column.voidResultSet. updateBlob(String columnLabel, InputStream inputStream, long length)Updates the value in the named column.voidResultSet. updateBlob(String columnName, Blob x)Updates a column specified by a column name with ajava.sql.Blobvalue.voidResultSet. updateBoolean(String columnName, boolean x)Updates a column specified by a column name with abooleanvalue.voidResultSet. updateByte(String columnName, byte x)Updates a column specified by a column name with abytevalue.voidResultSet. updateBytes(String columnName, byte[] x)Updates a column specified by a column name with a byte array value.voidResultSet. updateCharacterStream(String columnLabel, Reader reader)Updates the value in the named column.voidResultSet. updateCharacterStream(String columnName, Reader reader, int length)Updates a column specified by a column name with a character stream value.voidResultSet. updateCharacterStream(String columnLabel, Reader reader, long length)Updates the value in the named column.voidResultSet. updateClob(String columnLabel, Reader reader)Updates the value in the named column.voidResultSet. updateClob(String columnLabel, Reader reader, long length)Updates the value in the named column.voidResultSet. updateClob(String columnName, Clob x)Updates a column specified by a column name with ajava.sql.Clobvalue.voidResultSet. updateDate(String columnName, Date x)Updates a column specified by a column name with ajava.sql.Datevalue.voidResultSet. updateDouble(String columnName, double x)Updates a column specified by a column name with adoublevalue.voidResultSet. updateFloat(String columnName, float x)Updates a column specified by a column name with afloatvalue.voidResultSet. updateInt(String columnName, int x)Updates a column specified by a column name with anintvalue.voidResultSet. updateLong(String columnName, long x)Updates a column specified by a column name with alongvalue.voidResultSet. updateNCharacterStream(String columnLabel, Reader reader)Updates the value in the named column.voidResultSet. updateNCharacterStream(String columnLabel, Reader reader, long length)Updates the value in the named column.voidResultSet. updateNClob(String columnLabel, Reader reader)Updates the value in the named column.voidResultSet. updateNClob(String columnLabel, Reader reader, long length)Updates the value in the named column.voidResultSet. updateNClob(String columnLabel, NClob nClob)Updates the value in the named column.voidResultSet. updateNString(int columnIndex, String nString)Updates the value at the 1-basedcolumnIndex.voidResultSet. updateNString(String columnLabel, String nString)Updates the value in the named column.voidResultSet. updateNull(String columnName)Updates a column specified by a column name with anullvalue.voidResultSet. updateObject(String columnName, Object x)Updates a column specified by a column name with anObjectvalue.voidResultSet. updateObject(String columnName, Object x, int scale)Updates a column specified by a column name with anObjectvalue.voidResultSet. updateRef(String columnName, Ref x)Updates a column specified by a column name with ajava.sql.Refvalue.voidResultSet. updateRowId(String columnLabel, RowId value)Updates the value in the named column.voidResultSet. updateShort(String columnName, short x)Updates a column specified by a column name with ashortvalue.voidResultSet. updateSQLXML(String columnLabel, SQLXML xmlObject)Updates the value in the named column.voidResultSet. updateString(int columnIndex, String x)Updates a column specified by a column index with aStringvalue.voidResultSet. updateString(String columnName, String x)Updates a column specified by a column name with aStringvalue.voidResultSet. updateTime(String columnName, Time x)Updates a column specified by a column name with aTimevalue.voidResultSet. updateTimestamp(String columnName, Timestamp x)Updates a column specified by column name with aTimestampvalue.static ClientInfoStatusClientInfoStatus. valueOf(String name)Returns the enum constant of this type with the specified name.static DateDate. valueOf(String dateString)Creates aDatefrom a string representation of a date in SQL format.static RowIdLifetimeRowIdLifetime. valueOf(String name)Returns the enum constant of this type with the specified name.static TimeTime. valueOf(String timeString)Creates aTimeobject from a string holding a time represented in JDBC escape format:hh:mm:ss.static TimestampTimestamp. valueOf(String s)Creates aTimestampobject with a time value equal to the time specified by a supplied String holding the time in JDBC timestamp escape format, which is"yyyy-MM-dd HH:mm:ss.nnnnnnnnn"voidSQLOutput. writeNString(String theString)Write aStringinto the output stream as an SQL NCHAR, NVARCHAR, or LONGNVARCHAR.voidSQLOutput. writeString(String theString)Write aStringvalue into the output stream.Method parameters in java.sql with type arguments of type String Modifier and Type Method Description ObjectArray. getArray(long index, int count, Map<String,Class<?>> map)Returns part of the SQLARRAYassociated with this array, starting at a particularindexand comprising up tocountsuccessive elements of the SQL array.ObjectArray. getArray(Map<String,Class<?>> map)Returns the data from the underlying SQLARRAYas a Java array.Object[]Struct. getAttributes(Map<String,Class<?>> theMap)Gets the values of the attributes of this SQL structured type.ObjectCallableStatement. getObject(int parameterIndex, Map<String,Class<?>> map)Gets the value of the specified parameter as anObject.ObjectCallableStatement. getObject(String parameterName, Map<String,Class<?>> map)Gets the value of a specified parameter as anObject.ObjectRef. getObject(Map<String,Class<?>> map)Returns the associated object and uses the relevant mapping to convert it to a Java type.ObjectResultSet. getObject(int columnIndex, Map<String,Class<?>> map)Gets the value of a column specified by column index as a JavaObject.ObjectResultSet. getObject(String columnName, Map<String,Class<?>> map)Gets the value of a column specified by column name as a JavaObject.ResultSetArray. getResultSet(long index, int count, Map<String,Class<?>> map)Returns aResultSetobject that holds the entries of a subarray, beginning at a particular index and comprising up tocountsuccessive entries.ResultSetArray. getResultSet(Map<String,Class<?>> map)Returns aResultSetobject which holds the entries of the SQLARRAYassociated with this array.voidConnection. setTypeMap(Map<String,Class<?>> map)Sets theTypeMapfor this connection.Constructors in java.sql with parameters of type String Constructor Description BatchUpdateException(String reason, int[] updateCounts)Creates aBatchUpdateExceptionwith theupdateCountsandreasonset to the supplied values.BatchUpdateException(String reason, int[] updateCounts, Throwable cause)Creates an BatchUpdateException object.BatchUpdateException(String reason, String SQLState, int[] updateCounts)Creates aBatchUpdateExceptionwith thereason,SQLStateandupdateCountsset to the supplied values.BatchUpdateException(String reason, String SQLState, int[] updateCounts, Throwable cause)Creates an BatchUpdateException object.BatchUpdateException(String reason, String SQLState, int vendorCode, int[] updateCounts)Creates aBatchUpdateExceptionfor the case where all relevant information is provided.BatchUpdateException(String reason, String SQLState, int vendorCode, int[] updateCounts, Throwable cause)Creates an BatchUpdateException object.DriverPropertyInfo(String name, String value)Creates aDriverPropertyInfoinstance with the supplied name and value.SQLClientInfoException(String reason, String sqlState, int vendorCode, Map<String,ClientInfoStatus> failedProperties)Creates an SQLClientInfoException object.SQLClientInfoException(String reason, String sqlState, int vendorCode, Map<String,ClientInfoStatus> failedProperties, Throwable cause)Creates an SQLClientInfoException object.SQLClientInfoException(String reason, String sqlState, Map<String,ClientInfoStatus> failedProperties)Creates an SQLClientInfoException object.SQLClientInfoException(String reason, String sqlState, Map<String,ClientInfoStatus> failedProperties, Throwable cause)Creates an SQLClientInfoException object.SQLClientInfoException(String reason, Map<String,ClientInfoStatus> failedProperties)Creates an SQLClientInfoException object.SQLClientInfoException(String reason, Map<String,ClientInfoStatus> failedProperties, Throwable cause)Creates an SQLClientInfoException object.SQLDataException(String reason)Creates an SQLDataException object.SQLDataException(String reason, String sqlState)Creates an SQLDataException object.SQLDataException(String reason, String sqlState, int vendorCode)Creates an SQLDataException object.SQLDataException(String reason, String sqlState, int vendorCode, Throwable cause)Creates an SQLDataException object.SQLDataException(String reason, String sqlState, Throwable cause)Creates an SQLDataException object.SQLDataException(String reason, Throwable cause)Creates an SQLDataException object.SQLException(String theReason)Creates anSQLExceptionobject.SQLException(String theReason, String theSQLState)Creates anSQLExceptionobject.SQLException(String theReason, String theSQLState, int theErrorCode)Creates anSQLExceptionobject.SQLException(String theReason, String theSQLState, int theErrorCode, Throwable theCause)Creates an SQLException object.SQLException(String theReason, String theSQLState, Throwable theCause)Creates an SQLException object.SQLException(String theReason, Throwable theCause)Creates an SQLException object.SQLFeatureNotSupportedException(String reason)Creates an SQLFeatureNotSupportedException object.SQLFeatureNotSupportedException(String reason, String sqlState)Creates an SQLFeatureNotSupportedException object.SQLFeatureNotSupportedException(String reason, String sqlState, int vendorCode)Creates an SQLFeatureNotSupportedException object.SQLFeatureNotSupportedException(String reason, String sqlState, int vendorCode, Throwable cause)Creates an SQLFeatureNotSupportedException object.SQLFeatureNotSupportedException(String reason, String sqlState, Throwable cause)Creates an SQLFeatureNotSupportedException object.SQLFeatureNotSupportedException(String reason, Throwable cause)Creates an SQLFeatureNotSupportedException object.SQLIntegrityConstraintViolationException(String reason)Creates an SQLIntegrityConstraintViolationException object.SQLIntegrityConstraintViolationException(String reason, String sqlState)Creates an SQLIntegrityConstraintViolationException object.SQLIntegrityConstraintViolationException(String reason, String sqlState, int vendorCode)Creates an SQLIntegrityConstraintViolationException object.SQLIntegrityConstraintViolationException(String reason, String sqlState, int vendorCode, Throwable cause)Creates an SQLIntegrityConstraintViolationException object.SQLIntegrityConstraintViolationException(String reason, String sqlState, Throwable cause)Creates an SQLIntegrityConstraintViolationException object.SQLIntegrityConstraintViolationException(String reason, Throwable cause)Creates an SQLIntegrityConstraintViolationException object.SQLInvalidAuthorizationSpecException(String reason)Creates an SQLInvalidAuthorizationSpecException object.SQLInvalidAuthorizationSpecException(String reason, String sqlState)Creates an SQLInvalidAuthorizationSpecException object.SQLInvalidAuthorizationSpecException(String reason, String sqlState, int vendorCode)Creates an SQLInvalidAuthorizationSpecException object.SQLInvalidAuthorizationSpecException(String reason, String sqlState, int vendorCode, Throwable cause)Creates an SQLInvalidAuthorizationSpecException object.SQLInvalidAuthorizationSpecException(String reason, String sqlState, Throwable cause)Creates an SQLInvalidAuthorizationSpecException object.SQLInvalidAuthorizationSpecException(String reason, Throwable cause)Creates an SQLInvalidAuthorizationSpecException object.SQLNonTransientConnectionException(String reason)Creates an SQLNonTransientConnectionException object.SQLNonTransientConnectionException(String reason, String sqlState)Creates an SQLNonTransientConnectionException object.SQLNonTransientConnectionException(String reason, String sqlState, int vendorCode)Creates an SQLNonTransientConnectionException object.SQLNonTransientConnectionException(String reason, String sqlState, int vendorCode, Throwable cause)Creates an SQLNonTransientConnectionException object.SQLNonTransientConnectionException(String reason, String sqlState, Throwable cause)Creates an SQLNonTransientConnectionException object.SQLNonTransientConnectionException(String reason, Throwable cause)Creates an SQLNonTransientConnectionException object.SQLNonTransientException(String reason)Creates an SQLNonTransientException object.SQLNonTransientException(String reason, String sqlState)Creates an SQLNonTransientException object.SQLNonTransientException(String reason, String sqlState, int vendorCode)Creates an SQLNonTransientException object.SQLNonTransientException(String reason, String sqlState, int vendorCode, Throwable cause)Creates an SQLNonTransientException object.SQLNonTransientException(String reason, String sqlState, Throwable cause)Creates an SQLNonTransientException object.SQLNonTransientException(String reason, Throwable cause)Creates an SQLNonTransientException object.SQLPermission(String name)SQLPermission(String name, String actions)SQLRecoverableException(String reason)Creates an SQLRecoverableException object.SQLRecoverableException(String reason, String sqlState)Creates an SQLRecoverableException object.SQLRecoverableException(String reason, String sqlState, int vendorCode)Creates an SQLRecoverableException object.SQLRecoverableException(String reason, String sqlState, int vendorCode, Throwable cause)Creates an SQLRecoverableException object.SQLRecoverableException(String reason, String sqlState, Throwable cause)Creates an SQLRecoverableException object.SQLRecoverableException(String reason, Throwable cause)Creates an SQLRecoverableException object.SQLSyntaxErrorException(String reason)Creates an SQLSyntaxErrorException object.SQLSyntaxErrorException(String reason, String sqlState)Creates an SQLSyntaxErrorException object.SQLSyntaxErrorException(String reason, String sqlState, int vendorCode)Creates an SQLSyntaxErrorException object.SQLSyntaxErrorException(String reason, String sqlState, int vendorCode, Throwable cause)Creates an SQLSyntaxErrorException object.SQLSyntaxErrorException(String reason, String sqlState, Throwable cause)Creates an SQLSyntaxErrorException object.SQLSyntaxErrorException(String reason, Throwable cause)Creates an SQLSyntaxErrorException object.SQLTimeoutException(String reason)Creates an SQLTimeoutException object.SQLTimeoutException(String reason, String sqlState)Creates an SQLTimeoutException object.SQLTimeoutException(String reason, String sqlState, int vendorCode)Creates an SQLTimeoutException object.SQLTimeoutException(String reason, String sqlState, int vendorCode, Throwable cause)Creates an SQLTimeoutException object.SQLTimeoutException(String reason, String sqlState, Throwable cause)Creates an SQLTimeoutException object.SQLTimeoutException(String reason, Throwable cause)Creates an SQLTimeoutException object.SQLTransactionRollbackException(String reason)Creates an SQLTransactionRollbackException object.SQLTransactionRollbackException(String reason, String sqlState)Creates an SQLTransactionRollbackException object.SQLTransactionRollbackException(String reason, String sqlState, int vendorCode)Creates an SQLTransactionRollbackException object.SQLTransactionRollbackException(String reason, String sqlState, int vendorCode, Throwable cause)Creates an SQLTransactionRollbackException object.SQLTransactionRollbackException(String reason, String sqlState, Throwable cause)Creates an SQLTransactionRollbackException object.SQLTransactionRollbackException(String reason, Throwable cause)Creates an SQLTransactionRollbackException object.SQLTransientConnectionException(String reason)Creates an SQLTransientConnectionException object.SQLTransientConnectionException(String reason, String sqlState)Creates an SQLTransientConnectionException object.SQLTransientConnectionException(String reason, String sqlState, int vendorCode)Creates an SQLTransientConnectionException object.SQLTransientConnectionException(String reason, String sqlState, int vendorCode, Throwable cause)Creates an SQLTransientConnectionException object.SQLTransientConnectionException(String reason, String sqlState, Throwable cause)Creates an SQLTransientConnectionException object.SQLTransientConnectionException(String reason, Throwable cause)Creates an SQLTransientConnectionException object.SQLTransientException(String reason)Creates an SQLTransientException object.SQLTransientException(String reason, String sqlState)Creates an SQLTransientException object.SQLTransientException(String reason, String sqlState, int vendorCode)Creates an SQLTransientException object.SQLTransientException(String reason, String sqlState, int vendorCode, Throwable cause)Creates an SQLTransientException object.SQLTransientException(String reason, String sqlState, Throwable cause)Creates an SQLTransientException object.SQLTransientException(String reason, Throwable cause)Creates an SQLTransientException object.SQLWarning(String theReason)Creates anSQLWarningobject.SQLWarning(String theReason, String theSQLState)Creates anSQLWarningobject.SQLWarning(String theReason, String theSQLState, int theErrorCode)Creates anSQLWarningobject.SQLWarning(String reason, String SQLState, int vendorCode, Throwable cause)Creates an SQLWarning object.SQLWarning(String reason, String SQLState, Throwable cause)Creates an SQLWarning object.SQLWarning(String reason, Throwable cause)Creates an SQLWarning object.Constructor parameters in java.sql with type arguments of type String Constructor Description SQLClientInfoException(String reason, String sqlState, int vendorCode, Map<String,ClientInfoStatus> failedProperties)Creates an SQLClientInfoException object.SQLClientInfoException(String reason, String sqlState, int vendorCode, Map<String,ClientInfoStatus> failedProperties, Throwable cause)Creates an SQLClientInfoException object.SQLClientInfoException(String reason, String sqlState, Map<String,ClientInfoStatus> failedProperties)Creates an SQLClientInfoException object.SQLClientInfoException(String reason, String sqlState, Map<String,ClientInfoStatus> failedProperties, Throwable cause)Creates an SQLClientInfoException object.SQLClientInfoException(String reason, Map<String,ClientInfoStatus> failedProperties)Creates an SQLClientInfoException object.SQLClientInfoException(String reason, Map<String,ClientInfoStatus> failedProperties, Throwable cause)Creates an SQLClientInfoException object.SQLClientInfoException(Map<String,ClientInfoStatus> failedProperties)Creates an SQLClientInfoException object.SQLClientInfoException(Map<String,ClientInfoStatus> failedProperties, Throwable cause)Creates an SQLClientInfoException object. -
Uses of String in java.text
Methods in java.text that return String Modifier and Type Method Description StringDateFormat. format(Date date)Formats the specified date using the rules of this date format.StringFormat. format(Object object)Formats the specified object using the rules of this format.static StringMessageFormat. format(String format, Object... args)Formats the supplied objects using the specified message format pattern.StringNumberFormat. format(double value)Formats the specified double using the rules of this number format.StringNumberFormat. format(long value)Formats the specified long using the rules of this number format.String[]DateFormatSymbols. getAmPmStrings()Returns the array of strings which represent AM and PM.StringDecimalFormatSymbols. getCurrencySymbol()Returns the currency symbol.String[]DateFormatSymbols. getEras()Returns the array of strings which represent BC and AD.StringDecimalFormatSymbols. getExponentSeparator()StringDecimalFormatSymbols. getInfinity()Returns the string which represents infinity.StringDecimalFormatSymbols. getInternationalCurrencySymbol()Returns the international currency symbol.StringDateFormatSymbols. getLocalPatternChars()Returns the pattern characters used bySimpleDateFormatto specify date and time fields.String[]DateFormatSymbols. getMonths()Returns the array of strings containing the full names of the months.protected StringAttributedCharacterIterator.Attribute. getName()Returns the name of this attribute.StringDecimalFormatSymbols. getNaN()Returns the string which represents NaN.StringDecimalFormat. getNegativePrefix()Returns the prefix which is formatted or parsed before a negative number.StringDecimalFormat. getNegativeSuffix()Returns the suffix which is formatted or parsed after a negative number.StringDecimalFormat. getPositivePrefix()Returns the prefix which is formatted or parsed before a positive number.StringDecimalFormat. getPositiveSuffix()Returns the suffix which is formatted or parsed after a positive number.StringRuleBasedCollator. getRules()Returns the collation rules of this collator.String[]DateFormatSymbols. getShortMonths()Returns the array of strings containing the abbreviated names of the months.String[]DateFormatSymbols. getShortWeekdays()Returns the array of strings containing the abbreviated names of the days of the week.StringCollationKey. getSourceString()Returns the string from which this collation key was created.String[]DateFormatSymbols. getWeekdays()Returns the array of strings containing the full names of the days of the week.String[][]DateFormatSymbols. getZoneStrings()Returns the two-dimensional array of strings containing localized names for time zones.static StringNormalizer. normalize(CharSequence src, Normalizer.Form form)Normalize the character sequencesrcaccording to the normalization methodform.StringDecimalFormat. toLocalizedPattern()Returns the pattern of this decimal format using localized pattern characters.StringSimpleDateFormat. toLocalizedPattern()Returns the pattern of this simple date format using localized pattern characters.StringChoiceFormat. toPattern()Returns the pattern of thisChoiceFormatwhich specifies the ranges and their associated strings.StringDecimalFormat. toPattern()Returns the pattern of this decimal format using non-localized pattern characters.StringMessageFormat. toPattern()Returns the pattern of this message format.StringSimpleDateFormat. toPattern()Returns the pattern of this simple date format using non-localized pattern characters.StringAnnotation. toString()Returns this annotation in string representation.StringAttributedCharacterIterator.Attribute. toString()Returns the name of the class followed by a "(", the name of the attribute, and a ")".StringBidi. toString()StringDateFormatSymbols. toString()StringDecimalFormatSymbols. toString()StringFieldPosition. toString()Returns the string representation of this field position.StringParsePosition. toString()Returns the string representation of this parse position.Methods in java.text with parameters of type String Modifier and Type Method Description voidDecimalFormat. applyLocalizedPattern(String pattern)Changes the pattern of this decimal format to the specified pattern which uses localized pattern characters.voidSimpleDateFormat. applyLocalizedPattern(String template)Changes the pattern of this simple date format to the specified pattern which uses localized pattern characters.voidChoiceFormat. applyPattern(String template)Parses the pattern to determine new strings and ranges for thisChoiceFormat.voidDecimalFormat. applyPattern(String pattern)Changes the pattern of this decimal format to the specified pattern which uses non-localized pattern characters.voidMessageFormat. applyPattern(String template)Changes thisMessageFormatto use the specified pattern.voidSimpleDateFormat. applyPattern(String template)Changes the pattern of this simple date format to the specified pattern which uses non-localized pattern characters.abstract intCollator. compare(String string1, String string2)Compares two strings to determine their relative order.intRuleBasedCollator. compare(String source, String target)Compares thesourcetext to thetargettext according to the collation rules, strength and decomposition mode for thisRuleBasedCollator.booleanCollator. equals(String string1, String string2)Compares two strings using the collation rules to determine if they are equal.static StringMessageFormat. format(String format, Object... args)Formats the supplied objects using the specified message format pattern.CollationElementIteratorRuleBasedCollator. getCollationElementIterator(String source)Obtains aCollationElementIteratorfor the given string.abstract CollationKeyCollator. getCollationKey(String string)Returns aCollationKeyfor the specified string for this collator with the current decomposition rule and strength value.CollationKeyRuleBasedCollator. getCollationKey(String source)Returns theCollationKeyfor the given source text.NumberChoiceFormat. parse(String string, ParsePosition position)Parses a double from the specified string starting at the index specified byposition.DateDateFormat. parse(String string)Parses a date from the specified string using the rules of this date format.abstract DateDateFormat. parse(String string, ParsePosition position)Parses a date from the specified string starting at the index specified byposition.NumberDecimalFormat. parse(String string, ParsePosition position)Parses aLongorDoublefrom the specified string starting at the index specified byposition.Object[]MessageFormat. parse(String string)Parses the message arguments from the specified string using the rules of this message format.Object[]MessageFormat. parse(String string, ParsePosition position)Parses the message argument from the specified string starting at the index specified byposition.NumberNumberFormat. parse(String string)Parses aNumberfrom the specified string using the rules of this number format.abstract NumberNumberFormat. parse(String string, ParsePosition position)Parses aNumberfrom the specified string starting at the index specified byposition.DateSimpleDateFormat. parse(String string, ParsePosition position)Parses a date from the specified string starting at the index specified byposition.ObjectDateFormat. parseObject(String string, ParsePosition position)Parses a date from the specified string starting at the index specified byposition.ObjectFormat. parseObject(String string)Parses the specified string using the rules of this format.abstract ObjectFormat. parseObject(String string, ParsePosition position)Parses the specified string starting at the index specified byposition.ObjectMessageFormat. parseObject(String string, ParsePosition position)Parses the message argument from the specified string starting at the index specified byposition.ObjectNumberFormat. parseObject(String string, ParsePosition position)voidDateFormatSymbols. setAmPmStrings(String[] data)Sets the array of strings which represent AM and PM.voidChoiceFormat. setChoices(double[] limits, String[] formats)Sets the double values and associated strings of this ChoiceFormat.voidDecimalFormatSymbols. setCurrencySymbol(String value)Sets the currency symbol.voidDateFormatSymbols. setEras(String[] data)Sets the array of Strings which represent BC and AD.voidDecimalFormatSymbols. setExponentSeparator(String value)Sets the string used to separate mantissa and exponent.voidDecimalFormatSymbols. setInfinity(String value)Sets the string which represents infinity.voidDecimalFormatSymbols. setInternationalCurrencySymbol(String value)Sets the international currency symbol.voidDateFormatSymbols. setLocalPatternChars(String data)Sets the pattern characters used bySimpleDateFormatto specify date and time fields.voidDateFormatSymbols. setMonths(String[] data)Sets the array of strings containing the full names of the months.voidDecimalFormatSymbols. setNaN(String value)Sets the string which represents NaN.voidDecimalFormat. setNegativePrefix(String value)Sets the prefix which is formatted or parsed before a negative number.voidDecimalFormat. setNegativeSuffix(String value)Sets the suffix which is formatted or parsed after a negative number.voidDecimalFormat. setPositivePrefix(String value)Sets the prefix which is formatted or parsed before a positive number.voidDecimalFormat. setPositiveSuffix(String value)Sets the suffix which is formatted or parsed after a positive number.voidDateFormatSymbols. setShortMonths(String[] data)Sets the array of strings containing the abbreviated names of the months.voidDateFormatSymbols. setShortWeekdays(String[] data)Sets the array of strings containing the abbreviated names of the days of the week.voidBreakIterator. setText(String newText)Sets the new text string to be analyzed, the current position will be reset to the beginning of this new string, and the old string will be lost.voidCollationElementIterator. setText(String source)Sets a new source string for iteration, and resets the offset to the beginning of the text.voidStringCharacterIterator. setText(String value)Sets the source string to iterate over.voidDateFormatSymbols. setWeekdays(String[] data)Sets the array of strings containing the full names of the days of the week.voidDateFormatSymbols. setZoneStrings(String[][] zoneStrings)Sets the two-dimensional array of strings containing localized names for time zones.static Normalizer.FormNormalizer.Form. valueOf(String name)Returns the enum constant of this type with the specified name.Constructors in java.text with parameters of type String Constructor Description Attribute(String name)The constructor for anAttributewith the name passed.AttributedString(String value)Creates anAttributedStringfrom the given text.AttributedString(String value, Map<? extends AttributedCharacterIterator.Attribute,?> attributes)Creates anAttributedStringfrom the given text and the attributes.Bidi(String paragraph, int flags)Creates aBidiobject.ChoiceFormat(double[] limits, String[] formats)Constructs a newChoiceFormatwith the specified double values and associated strings.ChoiceFormat(String template)Constructs a newChoiceFormatwith the strings and limits parsed from the specified pattern.CollationKey(String source)DecimalFormat(String pattern)Constructs a newDecimalFormatusing the specified non-localized pattern and theDecimalFormatSymbolsfor the user's default Locale.DecimalFormat(String pattern, DecimalFormatSymbols value)Constructs a newDecimalFormatusing the specified non-localized pattern andDecimalFormatSymbols.Field(String fieldName, int calendarField)Constructs a new instance ofDateFormat.Fieldwith the given fieldName and calendar field.Field(String fieldName)Constructs a new instance ofFieldwith the given field name.Field(String fieldName)Constructs a new instance ofMessageFormat.Fieldwith the given field name.Field(String fieldName)Constructs a new instance ofNumberFormat.Fieldwith the given field name.MessageFormat(String template)Constructs a newMessageFormatusing the specified pattern and the user's default locale.MessageFormat(String template, Locale locale)Constructs a newMessageFormatusing the specified pattern andlocale.ParseException(String detailMessage, int location)Constructs a new instance of this class with its stack trace, detail message and the location of the error filled in.RuleBasedCollator(String rules)Constructs a new instance ofRuleBasedCollatorusing the specifiedrules.SimpleDateFormat(String pattern)Constructs a newSimpleDateFormatusing the specified non-localized pattern and theDateFormatSymbolsandCalendarfor the user's default locale.SimpleDateFormat(String template, DateFormatSymbols value)Constructs a newSimpleDateFormatusing the specified non-localized pattern andDateFormatSymbolsand theCalendarfor the user's default locale.SimpleDateFormat(String template, Locale locale)Constructs a newSimpleDateFormatusing the specified non-localized pattern and theDateFormatSymbolsandCalendarfor the specified locale.StringCharacterIterator(String value)Constructs a newStringCharacterIteratoron the specified string.StringCharacterIterator(String value, int location)Constructs a newStringCharacterIteratoron the specified string with the current index set to the specified value.StringCharacterIterator(String value, int start, int end, int location)Constructs a newStringCharacterIteratoron the specified string with the begin, end and current index set to the specified values. -
Uses of String in java.util
Fields in java.util with type parameters of type String Modifier and Type Field Description static List<String>ResourceBundle.Control. FORMAT_CLASSa list defines java class formatstatic List<String>ResourceBundle.Control. FORMAT_DEFAULTa list defines default formatstatic List<String>ResourceBundle.Control. FORMAT_PROPERTIESa list defines property formatMethods in java.util that return String Modifier and Type Method Description static StringArrays. deepToString(Object[] array)Creates a "deep"Stringrepresentation of theObject[]passed, such that if the array contains other arrays, theStringrepresentation of those arrays is generated as well.StringScanner. findInLine(String pattern)Compiles the pattern string and tries to find a substring matching it in the input data.StringScanner. findInLine(Pattern pattern)Tries to find the pattern in the input.StringScanner. findWithinHorizon(String pattern, int horizon)Tries to find the pattern in the input between the current position and the specifiedhorizon.StringScanner. findWithinHorizon(Pattern pattern, int horizon)Tries to find the pattern in the input between the current position and the specified horizon.StringPropertyPermission. getActions()static String[]TimeZone. getAvailableIDs()Returns the system's installed time zone IDs.static String[]TimeZone. getAvailableIDs(int offsetMillis)Returns the IDs of the time zones whose offset from UTC isoffsetMillis.StringMissingResourceException. getClassName()Returns the class name of the resource bundle from which a resource could not be found, or in the case of a missing resource, the name of the missing resource bundle.StringUnknownFormatConversionException. getConversion()Returns the conversion associated with the exception.StringLocale. getCountry()Returns the country code for this locale, or""if this locale doesn't correspond to a specific country.StringCurrency. getCurrencyCode()Returns this currency's ISO 4217 currency code.StringLocale. getDisplayCountry()Equivalent togetDisplayCountry(Locale.getDefault()).StringLocale. getDisplayCountry(Locale locale)Returns the name of this locale's country, localized tolocale.StringLocale. getDisplayLanguage()Equivalent togetDisplayLanguage(Locale.getDefault()).StringLocale. getDisplayLanguage(Locale locale)Returns the name of this locale's language, localized tolocale.StringCalendar. getDisplayName(int field, int style, Locale locale)Returns a human-readable string for the value offieldusing the given style and locale.StringCurrency. getDisplayName()Equivalent togetDisplayName(Locale.getDefault()).StringCurrency. getDisplayName(Locale locale)Returns the localized name of this currency in the givenlocale.StringLocale. getDisplayName()Equivalent togetDisplayName(Locale.getDefault()).StringLocale. getDisplayName(Locale locale)Returns this locale's language name, country name, and variant, localized tolocale.StringTimeZone. getDisplayName()Equivalent togetDisplayName(false, TimeZone.LONG, Locale.getDefault()).StringTimeZone. getDisplayName(boolean daylightTime, int style)Equivalent togetDisplayName(daylightTime, style, Locale.getDefault()).StringTimeZone. getDisplayName(boolean daylightTime, int style, Locale locale)StringTimeZone. getDisplayName(Locale locale)Equivalent togetDisplayName(false, TimeZone.LONG, locale).StringLocale. getDisplayVariant()Returns the full variant name in the defaultLocalefor the variant code of thisLocale.StringLocale. getDisplayVariant(Locale locale)Returns the full variant name in the specifiedLocalefor the variant code of thisLocale.StringDuplicateFormatFlagsException. getFlags()Returns the format flags that contain a duplicate flag.StringFormatFlagsConversionMismatchException. getFlags()Returns the incompatible format flag.StringIllegalFormatFlagsException. getFlags()Returns the flags that are illegal.StringUnknownFormatFlagsException. getFlags()Returns the flags associated with the exception.StringMissingFormatArgumentException. getFormatSpecifier()Returns the conversion associated with the exception.StringMissingFormatWidthException. getFormatSpecifier()Returns the format specifier associated with the exception.StringTimeZone. getID()Returns the ID of thisTimeZone, such asAmerica/Los_Angeles,GMT-08:00orUTC.StringLocale. getISO3Country()Returns the three-letter ISO 3166 country code which corresponds to the country code for thisLocale.StringLocale. getISO3Language()Returns the three-letter ISO 639-2/T language code which corresponds to the language code for thisLocale.static String[]Locale. getISOCountries()Returns an array of strings containing all the two-letter ISO 3166 country codes that can be used as the country code when constructing aLocale.static String[]Locale. getISOLanguages()Returns an array of strings containing all the two-letter ISO 639-1 language codes that can be used as the language code when constructing aLocale.StringMissingResourceException. getKey()Returns the name of the missing resource, or an empty string if the resource bundle is missing.StringLocale. getLanguage()Returns the language code for thisLocaleor the empty string if no language was set.StringDuplicateFormatFlagsException. getMessage()StringFormatFlagsConversionMismatchException. getMessage()StringIllegalFormatCodePointException. getMessage()StringIllegalFormatConversionException. getMessage()StringIllegalFormatFlagsException. getMessage()StringIllegalFormatPrecisionException. getMessage()StringIllegalFormatWidthException. getMessage()StringMissingFormatArgumentException. getMessage()StringMissingFormatWidthException. getMessage()StringUnknownFormatConversionException. getMessage()StringUnknownFormatFlagsException. getMessage()StringProperties. getProperty(String name)Searches for the property with the specified name.StringProperties. getProperty(String name, String defaultValue)Searches for the property with the specified name.StringResourceBundle. getString(String key)Returns the named string resource from thisResourceBundle.String[]ResourceBundle. getStringArray(String key)Returns the named resource from thisResourceBundle.StringCurrency. getSymbol()Equivalent togetSymbol(Locale.getDefault()).StringCurrency. getSymbol(Locale locale)Returns the localized currency symbol for this currency inlocale.StringLocale. getVariant()Returns the variant code for thisLocaleor an emptyStringif no variant was set.StringScanner. next()Returns the next token.StringScanner. next(String pattern)Returns the next token if it matches the specified pattern.StringScanner. next(Pattern pattern)Returns the next token if it matches the specified pattern.StringScanner. nextLine()Returns the skipped input and advances theScannerto the beginning of the next line.StringStringTokenizer. nextToken()Returns the next token in the string as aString.StringStringTokenizer. nextToken(String delims)Returns the next token in the string as aString.StringResourceBundle.Control. toBundleName(String baseName, Locale locale)a utility method to answer the name of a resource bundle according to the given base name and localeStringDate. toGMTString()Deprecated.UseDateFormatinstead.StringDate. toLocaleString()Deprecated.UseDateFormatinstead.StringResourceBundle.Control. toResourceName(String bundleName, String suffix)a utility method to answer the name of a resource according to the given bundleName and suffixStringAbstractCollection. toString()Returns the string representation of thisCollection.StringAbstractMap.SimpleEntry. toString()StringAbstractMap.SimpleImmutableEntry. toString()StringAbstractMap. toString()Returns a string containing a concise, human-readable description of this object.static StringArrays. toString(boolean[] array)Creates aStringrepresentation of theboolean[]passed.static StringArrays. toString(byte[] array)Creates aStringrepresentation of thebyte[]passed.static StringArrays. toString(char[] array)Creates aStringrepresentation of thechar[]passed.static StringArrays. toString(double[] array)Creates aStringrepresentation of thedouble[]passed.static StringArrays. toString(float[] array)Creates aStringrepresentation of thefloat[]passed.static StringArrays. toString(int[] array)Creates aStringrepresentation of theint[]passed.static StringArrays. toString(long[] array)Creates aStringrepresentation of thelong[]passed.static StringArrays. toString(short[] array)Creates aStringrepresentation of theshort[]passed.static StringArrays. toString(Object[] array)Creates aStringrepresentation of theObject[]passed.StringBitSet. toString()Returns a string containing a concise, human-readable description of the receiver: a comma-delimited list of the indexes of all set bits.StringCalendar. toString()Returns a string representation of thisCalendar, showing which fields are set.StringCurrency. toString()Returns this currency's ISO 4217 currency code.StringDate. toString()Returns a string representation of thisDate.StringEventObject. toString()Returns the string representation of thisEventObject.StringFormatter. toString()Returns the content by calling thetoString()method of the output destination.StringHashtable. toString()Returns the string representation of thisHashtable.StringLocale. toString()Returns the string representation of thisLocale.static StringObjects. toString(Object o)Returns "null" for null oro.toString().static StringObjects. toString(Object o, String nullString)ReturnsnullStringfor null oro.toString().StringScanner. toString()Returns a string representation of thisScanner.StringServiceLoader. toString()StringSimpleTimeZone. toString()Returns the string representation of thisSimpleTimeZone.StringUUID. toString()Returns a string representation of this UUID in the following format, as per RFC 4122.StringVector. toString()Returns the string representation of this vector.Methods in java.util that return types with arguments of type String Modifier and Type Method Description Map<String,Integer>Calendar. getDisplayNames(int field, int style, Locale locale)Returns a map of human-readable strings to corresponding values, for the given field, style, and locale.List<String>ResourceBundle.Control. getFormats(String baseName)Returns a list of strings of formats according tobaseName.Enumeration<String>ListResourceBundle. getKeys()Enumeration<String>PropertyResourceBundle. getKeys()abstract Enumeration<String>ResourceBundle. getKeys()Returns the names of the resources contained in thisResourceBundle.protected Set<String>ListResourceBundle. handleKeySet()Returns a set of the keys in this ResourceBundle but not in its parents.protected Set<String>PropertyResourceBundle. handleKeySet()protected Set<String>ResourceBundle. handleKeySet()Set<String>ResourceBundle. keySet()Set<String>Properties. stringPropertyNames()Returns those property names (keys) in thisPropertiesobject for which both key and value are strings.Methods in java.util with parameters of type String Modifier and Type Method Description booleanResourceBundle. containsKey(String key)StringScanner. findInLine(String pattern)Compiles the pattern string and tries to find a substring matching it in the input data.StringScanner. findWithinHorizon(String pattern, int horizon)Tries to find the pattern in the input between the current position and the specifiedhorizon.FormatterFormatter. format(String format, Object... args)Writes a formatted string to the output destination of theFormatter.FormatterFormatter. format(Locale l, String format, Object... args)Writes a formatted string to the output destination of theFormatter.static UUIDUUID. fromString(String uuid)Parses a UUID string with the format defined byUUID.toString().static ResourceBundleResourceBundle. getBundle(String bundleName)Finds the named resource bundle for the defaultLocaleand the caller'sClassLoader.static ResourceBundleResourceBundle. getBundle(String bundleName, Locale locale)Finds the namedResourceBundlefor the specifiedLocaleand the callerClassLoader.static ResourceBundleResourceBundle. getBundle(String bundleName, Locale locale, ClassLoader loader)Finds the named resource bundle for the specifiedLocaleandClassLoader.static ResourceBundleResourceBundle. getBundle(String baseName, Locale targetLocale, ClassLoader loader, ResourceBundle.Control control)Finds the named resource bundle for the specified base name and control.static ResourceBundleResourceBundle. getBundle(String baseName, Locale targetLocale, ResourceBundle.Control control)Finds the named resource bundle for the specified base name and control.static ResourceBundleResourceBundle. getBundle(String baseName, ResourceBundle.Control control)Finds the named resource bundle for the specified base name and control.List<Locale>ResourceBundle.Control. getCandidateLocales(String baseName, Locale locale)Returns a list of candidate locales according tobaseNameinlocale.LocaleResourceBundle.Control. getFallbackLocale(String baseName, Locale locale)Returns the fallback locale forbaseNameinlocale.List<String>ResourceBundle.Control. getFormats(String baseName)Returns a list of strings of formats according tobaseName.static CurrencyCurrency. getInstance(String currencyCode)Returns theCurrencyinstance for the given ISO 4217 currency code.ObjectResourceBundle. getObject(String key)Returns the named resource from thisResourceBundle.StringProperties. getProperty(String name)Searches for the property with the specified name.StringProperties. getProperty(String name, String defaultValue)Searches for the property with the specified name.StringResourceBundle. getString(String key)Returns the named string resource from thisResourceBundle.String[]ResourceBundle. getStringArray(String key)Returns the named resource from thisResourceBundle.longResourceBundle.Control. getTimeToLive(String baseName, Locale locale)Returns the time to live of the ResourceBundlebaseNameinlocale, default is TTL_NO_EXPIRATION_CONTROL.static TimeZoneTimeZone. getTimeZone(String id)Returns aTimeZonecorresponding to the givenid, orGMTfor unknown ids.ObjectListResourceBundle. handleGetObject(String key)ObjectPropertyResourceBundle. handleGetObject(String key)protected abstract ObjectResourceBundle. handleGetObject(String key)Returns the named resource from thisResourceBundle, or null if the resource is not found.booleanScanner. hasNext(String pattern)Returnstrueif thisScannerhas one or more tokens remaining to parse and the next token matches a pattern compiled from the given string.booleanResourceBundle.Control. needsReload(String baseName, Locale locale, String format, ClassLoader loader, ResourceBundle bundle, long loadTime)Returns true if the ResourceBundle needs to reload.ResourceBundleResourceBundle.Control. newBundle(String baseName, Locale locale, String format, ClassLoader loader, boolean reload)Returns a new ResourceBundle.StringScanner. next(String pattern)Returns the next token if it matches the specified pattern.StringStringTokenizer. nextToken(String delims)Returns the next token in the string as aString.static longDate. parse(String string)Deprecated.UseDateFormatinstead.static <T> TObjects. requireNonNull(T o, String message)Returnsoif non-null, or throwsNullPointerExceptionwith the given detail message.voidProperties. save(OutputStream out, String comment)Deprecated.This method ignores anyIOExceptionthrown while writing — useProperties.store(java.io.OutputStream, java.lang.String)instead for better exception handling.voidTimeZone. setID(String id)Sets the ID of thisTimeZone.ObjectProperties. setProperty(String name, String value)Maps the specified key to the specified value.ScannerScanner. skip(String pattern)Tries to use the specified string to construct a pattern and then uses the constructed pattern to match input starting from the current position.voidProperties. store(OutputStream out, String comment)Stores properties to the specifiedOutputStream, using ISO-8859-1.voidProperties. store(Writer writer, String comment)Stores the mappings in thisPropertiesobject toout, putting the specified comment at the beginning.voidProperties. storeToXML(OutputStream os, String comment)Writes all properties stored in this instance into theOutputStreamin XML representation.voidProperties. storeToXML(OutputStream os, String comment, String encoding)Writes all properties stored in this instance into theOutputStreamin XML representation.StringResourceBundle.Control. toBundleName(String baseName, Locale locale)a utility method to answer the name of a resource bundle according to the given base name and localeStringResourceBundle.Control. toResourceName(String bundleName, String suffix)a utility method to answer the name of a resource according to the given bundleName and suffixstatic StringObjects. toString(Object o, String nullString)ReturnsnullStringfor null oro.toString().ScannerScanner. useDelimiter(String pattern)Sets the delimiting pattern of thisScannerwith a pattern compiled from the supplied string value.static Formatter.BigDecimalLayoutFormFormatter.BigDecimalLayoutForm. valueOf(String name)Returns the enum constant of this type with the specified name.Method parameters in java.util with type arguments of type String Modifier and Type Method Description static ResourceBundle.ControlResourceBundle.Control. getControl(List<String> formats)Returns a control according toformats.static ResourceBundle.ControlResourceBundle.Control. getNoFallbackControl(List<String> formats)Returns a control according toformatswhose fallback locale is null.Constructors in java.util with parameters of type String Constructor Description ConcurrentModificationException(String detailMessage)Constructs a newConcurrentModificationExceptionwith the current stack trace and message filled in.ConcurrentModificationException(String detailMessage, Throwable cause)Constructs a newConcurrentModificationExceptionwith the given detail message and cause.Date(String string)Deprecated.UseDateFormatinstead.DuplicateFormatFlagsException(String f)Constructs a newDuplicateFormatFlagsExceptionwith the flags containing duplicates.FormatFlagsConversionMismatchException(String f, char c)Constructs a newFormatFlagsConversionMismatchExceptionwith the flags and conversion specified.Formatter(File file, String csn)Constructs aFormatterwith the given charset, and whose output is written to the specifiedFile.Formatter(File file, String csn, Locale l)Constructs aFormatterwith the givenLocaleand charset, and whose output is written to the specifiedFile.Formatter(OutputStream os, String csn)Constructs aFormatterwith the given charset, and whose output is written to the specifiedOutputStream.Formatter(OutputStream os, String csn, Locale l)Constructs aFormatterwith the givenLocaleand charset, and whose output is written to the specifiedOutputStream.Formatter(String fileName)Constructs aFormatterwhose output is written to the specified file.Formatter(String fileName, String csn)Constructs aFormatterwhose output is written to the specified file.Formatter(String fileName, String csn, Locale l)Constructs aFormatterwith the givenLocaleand charset, and whose output is written to the specified file.IllegalFormatFlagsException(String flags)Constructs a newIllegalFormatFlagsExceptionwith the specified flags.InputMismatchException(String msg)Constructs a newInputMismatchExceptionwith the stack trace filled in andmsgas its error message.InvalidPropertiesFormatException(String m)Constructs a newInvalidPropertiesFormatExceptionwith the current stack trace and message filled in.Locale(String language)Constructs a newLocaleusing the specified language.Locale(String language, String country)Constructs a newLocaleusing the specified language and country codes.Locale(String language, String country, String variant)Constructs a newLocaleusing the specified language, country, and variant codes.MissingFormatArgumentException(String s)Constructs a newMissingFormatArgumentExceptionwith the specified conversion that lacks the argument.MissingFormatWidthException(String s)Constructs a newMissingFormatWidthExceptionwith the specified format specifier.MissingResourceException(String detailMessage, String className, String resourceName)Constructs a newMissingResourceExceptionwith the stack trace, message, the class name of the resource bundle and the name of the missing resource filled in.NoSuchElementException(String detailMessage)Constructs a newNoSuchElementExceptionwith the current stack trace and message filled in.PropertyPermission(String name, String actions)Scanner(File src, String charsetName)Creates aScannerwith the specifiedFileas input.Scanner(InputStream src, String charsetName)Creates aScanneron the specifiedInputStream.Scanner(String src)Creates aScanneron the specified string.Scanner(ReadableByteChannel src, String charsetName)Creates aScannerwith the specifiedReadableByteChannelas input.ServiceConfigurationError(String message)Constructs a new error with the given detail message.ServiceConfigurationError(String message, Throwable cause)Constructs a new error with the given detail message and cause.SimpleTimeZone(int offset, String name)Constructs aSimpleTimeZonewith the given base time zone offset from GMT and time zone ID.SimpleTimeZone(int offset, String name, int startMonth, int startDay, int startDayOfWeek, int startTime, int endMonth, int endDay, int endDayOfWeek, int endTime)Constructs aSimpleTimeZonewith the given base time zone offset from GMT, time zone ID, and times to start and end the daylight savings time.SimpleTimeZone(int offset, String name, int startMonth, int startDay, int startDayOfWeek, int startTime, int endMonth, int endDay, int endDayOfWeek, int endTime, int daylightSavings)Constructs aSimpleTimeZonewith the given base time zone offset from GMT, time zone ID, times to start and end the daylight savings time, and the daylight savings time difference in milliseconds.SimpleTimeZone(int offset, String name, int startMonth, int startDay, int startDayOfWeek, int startTime, int startTimeMode, int endMonth, int endDay, int endDayOfWeek, int endTime, int endTimeMode, int daylightSavings)Construct aSimpleTimeZonewith the given base time zone offset from GMT, time zone ID, times to start and end the daylight savings time including a mode specifier, the daylight savings time difference in milliseconds.StringTokenizer(String string)Constructs a newStringTokenizerfor the parameter string using whitespace as the delimiter.StringTokenizer(String string, String delimiters)Constructs a newStringTokenizerfor the parameter string using the specified delimiters.StringTokenizer(String string, String delimiters, boolean returnDelimiters)Constructs a newStringTokenizerfor the parameter string using the specified delimiters, returning the delimiters as tokens if the parameterreturnDelimitersistrue.Timer(String name)Creates a new namedTimerwhich does not run as a daemon thread.Timer(String name, boolean isDaemon)Creates a new namedTimerwhich may be specified to be run as a daemon thread.TooManyListenersException(String detailMessage)Constructs a newTooManyListenersExceptionwith the stack trace and message filled in.UnknownFormatConversionException(String s)Constructs anUnknownFormatConversionExceptionwith the unknown format conversion.UnknownFormatFlagsException(String f)Constructs a newUnknownFormatFlagsExceptionwith the specified flags. -
Uses of String in java.util.concurrent
Methods in java.util.concurrent that return String Modifier and Type Method Description StringArrayBlockingQueue. toString()StringCopyOnWriteArrayList. toString()StringCountDownLatch. toString()Returns a string identifying this latch, as well as its state.StringForkJoinPool. toString()Returns a string identifying this pool, as well as its state, including indications of run state, parallelism level, and worker and task counts.StringLinkedBlockingDeque. toString()StringLinkedBlockingQueue. toString()StringPhaser. toString()Returns a string identifying this phaser, as well as its state.StringPriorityBlockingQueue. toString()StringSemaphore. toString()Returns a string identifying this semaphore, as well as its state.StringThreadPoolExecutor. toString()Returns a string identifying this pool, as well as its state, including indications of run state and estimated worker and task counts.Methods in java.util.concurrent with parameters of type String Modifier and Type Method Description static TimeUnitTimeUnit. valueOf(String name)Returns the enum constant of this type with the specified name.Constructors in java.util.concurrent with parameters of type String Constructor Description BrokenBarrierException(String message)Constructs aBrokenBarrierExceptionwith the specified detail message.CancellationException(String message)Constructs aCancellationExceptionwith the specified detail message.ExecutionException(String message)Constructs anExecutionExceptionwith the specified detail message.ExecutionException(String message, Throwable cause)Constructs anExecutionExceptionwith the specified detail message and cause.RejectedExecutionException(String message)Constructs aRejectedExecutionExceptionwith the specified detail message.RejectedExecutionException(String message, Throwable cause)Constructs aRejectedExecutionExceptionwith the specified detail message and cause.TimeoutException(String message)Constructs aTimeoutExceptionwith the specified detail message. -
Uses of String in java.util.concurrent.atomic
Methods in java.util.concurrent.atomic that return String Modifier and Type Method Description StringAtomicBoolean. toString()Returns the String representation of the current value.StringAtomicInteger. toString()Returns the String representation of the current value.StringAtomicIntegerArray. toString()Returns the String representation of the current values of array.StringAtomicLong. toString()Returns the String representation of the current value.StringAtomicLongArray. toString()Returns the String representation of the current values of array.StringAtomicReference. toString()Returns the String representation of the current value.StringAtomicReferenceArray. toString()Returns the String representation of the current values of array.Methods in java.util.concurrent.atomic with parameters of type String Modifier and Type Method Description static <U> AtomicIntegerFieldUpdater<U>AtomicIntegerFieldUpdater. newUpdater(Class<U> tclass, String fieldName)Creates and returns an updater for objects with the given field.static <U> AtomicLongFieldUpdater<U>AtomicLongFieldUpdater. newUpdater(Class<U> tclass, String fieldName)Creates and returns an updater for objects with the given field.static <U, W> AtomicReferenceFieldUpdater<U,W>AtomicReferenceFieldUpdater. newUpdater(Class<U> tclass, Class<W> vclass, String fieldName)Creates and returns an updater for objects with the given field. -
Uses of String in java.util.concurrent.locks
Methods in java.util.concurrent.locks that return String Modifier and Type Method Description StringAbstractQueuedLongSynchronizer. toString()Returns a string identifying this synchronizer, as well as its state.StringAbstractQueuedSynchronizer. toString()Returns a string identifying this synchronizer, as well as its state.StringReentrantLock. toString()Returns a string identifying this lock, as well as its lock state.StringReentrantReadWriteLock.ReadLock. toString()Returns a string identifying this lock, as well as its lock state.StringReentrantReadWriteLock. toString()Returns a string identifying this lock, as well as its lock state.StringReentrantReadWriteLock.WriteLock. toString()Returns a string identifying this lock, as well as its lock state. -
Uses of String in java.util.jar
Fields in java.util.jar declared as String Modifier and Type Field Description static StringPack200.Packer. CLASS_ATTRIBUTE_PFXthe format of a class attribute name.static StringPack200.Packer. CODE_ATTRIBUTE_PFXthe format of a code attribute name.static StringPack200.Packer. DEFLATE_HINTthe deflation hint to set in the output archive.static StringPack200.Unpacker. DEFLATE_HINTThe String indicating if the unpacker should ignore all transmitted values,can be replaced by eithertrueorfalse.static StringPack200.Packer. EFFORTthe indicated amount of effort to use in compressing the archive.static StringPack200.Packer. ERRORa String representation forerror.static StringPack200.Packer. FALSEa String representation offalse.static StringPack200.Unpacker. FALSEa String representation offalse.static StringPack200.Packer. FIELD_ATTRIBUTE_PFXthe format of a field attribute name.static StringPack200.Packer. KEEPa String representation forkeep.static StringPack200.Unpacker. KEEPa String representation ofkeep.static StringPack200.Packer. KEEP_FILE_ORDERdecide if all elements shall transmit in their original order.static StringPack200.Packer. LATESTa String representation forlatest.static StringJarFile. MANIFEST_NAMEThe MANIFEST file name.static StringPack200.Packer. METHOD_ATTRIBUTE_PFXthe format of a method attribute name.static StringPack200.Packer. MODIFICATION_TIMEif it shall attempt to determine the latest modification time if this is set toLATEST.static StringPack200.Packer. PASSa String representation ofpass.static StringPack200.Packer. PASS_FILE_PFXthe file that will not be compressed.static StringPack200.Packer. PROGRESSpacker progress as a percentage.static StringPack200.Unpacker. PROGRESSthe progress as apercentage.static StringPack200.Packer. SEGMENT_LIMITThe number of bytes of each archive segment.static StringPack200.Packer. STRIPa String representation ofstrip.static StringPack200.Packer. TRUEa String representation oftrue.static StringPack200.Unpacker. TRUEa String representation oftrue.static StringPack200.Packer. UNKNOWN_ATTRIBUTEthe action to take if an unknown attribute is encountered.Methods in java.util.jar that return String Modifier and Type Method Description StringAttributes. getValue(String name)Returns the string associated with the parameter name.StringAttributes. getValue(Attributes.Name name)Returns the value associated with the parameterAttributes.Namekey.StringAttributes. putValue(String name, String value)Stores the valuevalueassociated with the keynamein thisAttributes.StringAttributes.Name. toString()Methods in java.util.jar that return types with arguments of type String Modifier and Type Method Description Map<String,Attributes>Manifest. getEntries()Returns a map containing theAttributesfor each entry in theManifest.SortedMap<String,String>Pack200.Packer. properties()Returns a sorted map of the properties of this packer.SortedMap<String,String>Pack200.Packer. properties()Returns a sorted map of the properties of this packer.SortedMap<String,String>Pack200.Unpacker. properties()Returns a sorted map of the properties of this unpacker.SortedMap<String,String>Pack200.Unpacker. properties()Returns a sorted map of the properties of this unpacker.Methods in java.util.jar with parameters of type String Modifier and Type Method Description protected ZipEntryJarInputStream. createZipEntry(String name)AttributesManifest. getAttributes(String name)Returns theAttributesassociated with the parameter entryname.ZipEntryJarFile. getEntry(String name)Return theJarEntryspecified by name ornullif no such entry exists.JarEntryJarFile. getJarEntry(String name)Return theJarEntryspecified by its name ornullif no such entry exists.StringAttributes. getValue(String name)Returns the string associated with the parameter name.StringAttributes. putValue(String name, String value)Stores the valuevalueassociated with the keynamein thisAttributes.Constructors in java.util.jar with parameters of type String Constructor Description JarEntry(String name)Creates a newJarEntrynamed name.JarException(String detailMessage)Constructs a newJarExceptioninstance with the specified message.JarFile(String filename)Create a newJarFilefrom the contents of the file specified by filename.JarFile(String filename, boolean verify)Create a newJarFilefrom the contents of the file specified byfilename.Name(String name) -
Uses of String in java.util.logging
Fields in java.util.logging declared as String Modifier and Type Field Description static StringLogger. GLOBAL_LOGGER_NAMEThe name of the global logger.static StringLogManager. LOGGING_MXBEAN_NAMETheStringvalue of theLoggingMXBean's ObjectName.Methods in java.util.logging that return String Modifier and Type Method Description abstract StringFormatter. format(LogRecord r)Converts aLogRecordobject into a string representation.StringSimpleFormatter. format(LogRecord r)Converts aLogRecordobject into a human readable string representation.StringXMLFormatter. format(LogRecord r)Converts aLogRecordinto an XML string.StringFormatter. formatMessage(LogRecord r)Formats aLogRecordobject into a localized string representation.StringLoggingPermission. getActions()StringHandler. getEncoding()Gets the character encoding used by this handler,nullfor default encoding.StringFormatter. getHead(Handler h)Gets the head string used to wrap a set of log records.StringXMLFormatter. getHead(Handler h)Returns the header string for a set of log records formatted as XML strings, using the output handler's encoding if it is defined, otherwise using the default platform encoding.StringLevel. getLocalizedName()Gets the localized name of this level.StringLoggingMXBean. getLoggerLevel(String loggerName)Gets the string value of the logging level of a logger.StringLogRecord. getLoggerName()Gets the name of the logger.StringLogRecord. getMessage()Gets the raw message.StringLevel. getName()Gets the name of this level.StringLogger. getName()Gets the name of this logger,nullfor anonymous loggers.StringLoggingMXBean. getParentLoggerName(String loggerName)Gets the name of the parent logger of a logger.StringLogManager. getProperty(String name)Get the value of property with given name.StringLevel. getResourceBundleName()Gets the name of the resource bundle associated with this level.StringLogger. getResourceBundleName()Gets the name of the loaded resource bundle used by this logger to localize logging messages.StringLogRecord. getResourceBundleName()Gets the name of the resource bundle.StringLogRecord. getSourceClassName()Gets the name of the class that is the source of this log record.StringLogRecord. getSourceMethodName()Gets the name of the method that is the source of this log record.StringFormatter. getTail(Handler h)Gets the tail string used to wrap a set of log records.StringXMLFormatter. getTail(Handler h)Returns the tail string for a set of log records formatted as XML strings.StringLevel. toString()Returns the string representation of thisLevelobject.Methods in java.util.logging that return types with arguments of type String Modifier and Type Method Description List<String>LoggingMXBean. getLoggerNames()Gets a list of all currently registered logger names.Enumeration<String>LogManager. getLoggerNames()Get aEnumerationof all registered logger names.Methods in java.util.logging with parameters of type String Modifier and Type Method Description voidLogger. config(String msg)Logs a message of levelLevel.CONFIG; the message is transmitted to all subscribed handlers.voidLogger. entering(String sourceClass, String sourceMethod)Logs a message indicating that a method has been entered.voidLogger. entering(String sourceClass, String sourceMethod, Object param)Logs a message indicating that a method has been entered.voidLogger. entering(String sourceClass, String sourceMethod, Object[] params)Logs a message indicating that a method has been entered.voidErrorManager. error(String message, Exception exception, int errorCode)Reports an error using the given message, exception and error code.voidLogger. exiting(String sourceClass, String sourceMethod)Logs a message indicating that a method is exited.voidLogger. exiting(String sourceClass, String sourceMethod, Object result)Logs a message indicating that a method is exited.voidLogger. fine(String msg)Logs a message of levelLevel.FINE; the message is transmitted to all subscribed handlers.voidLogger. finer(String msg)Logs a message of levelLevel.FINER; the message is transmitted to all subscribed handlers.voidLogger. finest(String msg)Logs a message of levelLevel.FINEST; the message is transmitted to all subscribed handlers.static LoggerLogger. getAnonymousLogger(String resourceBundleName)Gets an anonymous logger to use internally in a thread.static LoggerLogger. getLogger(String name)Gets a named logger.static LoggerLogger. getLogger(String name, String resourceBundleName)Gets a named logger associated with the supplied resource bundle.LoggerLogManager. getLogger(String name)Get the logger with the given name.StringLoggingMXBean. getLoggerLevel(String loggerName)Gets the string value of the logging level of a logger.StringLoggingMXBean. getParentLoggerName(String loggerName)Gets the name of the parent logger of a logger.StringLogManager. getProperty(String name)Get the value of property with given name.voidLogger. info(String msg)Logs a message of levelLevel.INFO; the message is transmitted to all subscribed handlers.voidLogger. log(Level logLevel, String msg)Logs a message of the specified level.voidLogger. log(Level logLevel, String msg, Object param)Logs a message of the specified level with the supplied parameter.voidLogger. log(Level logLevel, String msg, Object[] params)Logs a message of the specified level with the supplied parameter array.voidLogger. log(Level logLevel, String msg, Throwable thrown)Logs a message of the specified level with the suppliedThrowableobject.voidLogger. logp(Level logLevel, String sourceClass, String sourceMethod, String msg)Logs a message of the given level with the specified source class name and source method name.voidLogger. logp(Level logLevel, String sourceClass, String sourceMethod, String msg, Object param)Logs a message of the given level with the specified source class name, source method name and parameter.voidLogger. logp(Level logLevel, String sourceClass, String sourceMethod, String msg, Object[] params)Logs a message of the given level with the specified source class name, source method name and parameter array.voidLogger. logp(Level logLevel, String sourceClass, String sourceMethod, String msg, Throwable thrown)Logs a message of the given level with the specified source class name, source method name andThrowableobject.voidLogger. logrb(Level logLevel, String sourceClass, String sourceMethod, String bundleName, String msg)Logs a message of the given level with the specified source class name and source method name, using the given resource bundle to localize the message.voidLogger. logrb(Level logLevel, String sourceClass, String sourceMethod, String bundleName, String msg, Object param)Logs a message of the given level with the specified source class name, source method name and parameter, using the given resource bundle to localize the message.voidLogger. logrb(Level logLevel, String sourceClass, String sourceMethod, String bundleName, String msg, Object[] params)Logs a message of the given level with the specified source class name, source method name and parameter array, using the given resource bundle to localize the message.voidLogger. logrb(Level logLevel, String sourceClass, String sourceMethod, String bundleName, String msg, Throwable thrown)Logs a message of the given level with the specified source class name, source method name andThrowableobject, using the given resource bundle to localize the message.static LevelLevel. parse(String name)Parses a level name into aLevelobject.protected voidHandler. reportError(String msg, Exception ex, int code)Reports an error to the error manager associated with this handler,ErrorManageris used for that purpose.voidHandler. setEncoding(String charsetName)Sets the character encoding used by this handler,nullindicates a default encoding.voidStreamHandler. setEncoding(String charsetName)Sets the character encoding used by this handler.voidLoggingMXBean. setLoggerLevel(String loggerName, String levelName)Sets the log level of a logger.voidLogRecord. setLoggerName(String loggerName)Sets the name of the logger.voidLogRecord. setMessage(String message)Sets the raw message.voidLogRecord. setResourceBundleName(String resourceBundleName)Sets the name of the resource bundle.voidLogRecord. setSourceClassName(String sourceClassName)Sets the name of the class that is the source of this log record.voidLogRecord. setSourceMethodName(String sourceMethodName)Sets the name of the method that is the source of this log record.voidLogger. severe(String msg)Logs a message of levelLevel.SEVERE; the message is transmitted to all subscribed handlers.voidLogger. throwing(String sourceClass, String sourceMethod, Throwable thrown)Logs a message indicating that an exception is thrown.voidLogger. warning(String msg)Logs a message of levelLevel.WARNING; the message is transmitted to all subscribed handlers.Constructors in java.util.logging with parameters of type String Constructor Description FileHandler(String pattern)Constructs a newFileHandler.FileHandler(String pattern, boolean append)Construct a newFileHandler.FileHandler(String pattern, int limit, int count)Construct a newFileHandler.FileHandler(String pattern, int limit, int count, boolean append)Construct a newFileHandler.Level(String name, int level)Constructs an instance ofLeveltaking the supplied name and level value.Level(String name, int level, String resourceBundleName)Constructs an instance ofLeveltaking the supplied name, level value and resource bundle name.Logger(String name, String resourceBundleName)Constructs aLoggerobject with the supplied name and resource bundle name;notifiyParentHandlersis set totrue.LoggingPermission(String name, String actions)LogRecord(Level level, String msg)Constructs aLogRecordobject using the supplied the logging level and message.SocketHandler(String host, int port)Constructs aSocketHandlerobject using the specified host name and port number together with other properties read by the log manager. -
Uses of String in java.util.prefs
Methods in java.util.prefs that return String Modifier and Type Method Description StringAbstractPreferences. absolutePath()abstract StringPreferences. absolutePath()Gets the absolute path string of this preference node.String[]AbstractPreferences. childrenNames()abstract String[]Preferences. childrenNames()Returns the names of all children of this node or an empty array if this node has no children.protected abstract String[]AbstractPreferences. childrenNamesSpi()Returns the names of all of the child nodes of this node or an empty array if this node has no children.StringAbstractPreferences. get(String key, String deflt)abstract StringPreferences. get(String key, String deflt)Gets theStringvalue mapped to the given key or its default value if no value is mapped or no backing store is available.StringPreferenceChangeEvent. getKey()Gets the key of the changed preference.StringPreferenceChangeEvent. getNewValue()Gets the new value of the changed preference ornullif the preference has been removed.protected abstract StringAbstractPreferences. getSpi(String key)Gets the preference value mapped to the given key.String[]AbstractPreferences. keys()abstract String[]Preferences. keys()Returns all preference keys stored in this node or an empty array if no key was found.protected abstract String[]AbstractPreferences. keysSpi()Returns an array of all preference keys of this node or an empty array if no preferences have been found.StringAbstractPreferences. name()abstract StringPreferences. name()Returns the name of this node.StringAbstractPreferences. toString()abstract StringPreferences. toString()Returns a string representation of this node.Methods in java.util.prefs with parameters of type String Modifier and Type Method Description protected abstract AbstractPreferencesAbstractPreferences. childSpi(String name)Returns the child preference node with the given name, creating it if it does not exist.StringAbstractPreferences. get(String key, String deflt)abstract StringPreferences. get(String key, String deflt)Gets theStringvalue mapped to the given key or its default value if no value is mapped or no backing store is available.booleanAbstractPreferences. getBoolean(String key, boolean deflt)abstract booleanPreferences. getBoolean(String key, boolean deflt)Gets thebooleanvalue mapped to the given key or its default value if no value is mapped, if the backing store is unavailable, or if the value is invalid.byte[]AbstractPreferences. getByteArray(String key, byte[] deflt)abstract byte[]Preferences. getByteArray(String key, byte[] deflt)Gets thebytearray value mapped to the given key or its default value if no value is mapped, if the backing store is unavailable, or if the value is an invalid string.protected AbstractPreferencesAbstractPreferences. getChild(String name)Returns the child node with the specified name ornullif it doesn't exist.doubleAbstractPreferences. getDouble(String key, double deflt)abstract doublePreferences. getDouble(String key, double deflt)Gets thedoublevalue mapped to the given key or its default value if no value is mapped, if the backing store is unavailable, or if the value is an invalid string.floatAbstractPreferences. getFloat(String key, float deflt)abstract floatPreferences. getFloat(String key, float deflt)Gets thefloatvalue mapped to the given key or its default value if no value is mapped, if the backing store is unavailable, or if the value is an invalid string.intAbstractPreferences. getInt(String key, int deflt)abstract intPreferences. getInt(String key, int deflt)Gets theintvalue mapped to the given key or its default value if no value is mapped, if the backing store is unavailable, or if the value is an invalid string.longAbstractPreferences. getLong(String key, long deflt)abstract longPreferences. getLong(String key, long deflt)Gets thelongvalue mapped to the given key or its default value if no value is mapped, if the backing store is unavailable, or if the value is an invalid string.protected abstract StringAbstractPreferences. getSpi(String key)Gets the preference value mapped to the given key.PreferencesAbstractPreferences. node(String name)abstract PreferencesPreferences. node(String path)Returns the preference node with the given path name.booleanAbstractPreferences. nodeExists(String name)abstract booleanPreferences. nodeExists(String path)Returns whether the preference node with the given path name exists.voidAbstractPreferences. put(String key, String value)abstract voidPreferences. put(String key, String value)Adds a new preference to this node using the given key and value or updates the value if a preference with the given key already exists.voidAbstractPreferences. putBoolean(String key, boolean value)abstract voidPreferences. putBoolean(String key, boolean value)Adds a new preference with abooleanvalue to this node using the given key and value or updates the value if a preference with the given key already exists.voidAbstractPreferences. putByteArray(String key, byte[] value)abstract voidPreferences. putByteArray(String key, byte[] value)Adds a new preference to this node using the given key and the string form of the given value or updates the value if a preference with the given key already exists.voidAbstractPreferences. putDouble(String key, double value)abstract voidPreferences. putDouble(String key, double value)Adds a new preference to this node using the given key anddoublevalue or updates the value if a preference with the given key already exists.voidAbstractPreferences. putFloat(String key, float value)abstract voidPreferences. putFloat(String key, float value)Adds a new preference to this node using the given key andfloatvalue or updates the value if a preference with the given key already exists.voidAbstractPreferences. putInt(String key, int value)abstract voidPreferences. putInt(String key, int value)Adds a new preference to this node using the given key andintvalue or updates the value if a preference with the given key already exists.voidAbstractPreferences. putLong(String key, long value)abstract voidPreferences. putLong(String key, long value)Adds a new preference to this node using the given key andlongvalue or updates the value if a preference with the given key already exists.protected abstract voidAbstractPreferences. putSpi(String name, String value)Puts the given key-value pair into this node.voidAbstractPreferences. remove(String key)abstract voidPreferences. remove(String key)Removes the preference mapped to the given key from this node.protected abstract voidAbstractPreferences. removeSpi(String key)Removes the preference with the specified key.Constructors in java.util.prefs with parameters of type String Constructor Description AbstractPreferences(AbstractPreferences parent, String name)Constructs a newAbstractPreferencesinstance using the given parent node and node name.BackingStoreException(String s)Constructs a newBackingStoreExceptioninstance with a detailed exception message.InvalidPreferencesFormatException(String s)Constructs a newInvalidPreferencesFormatExceptioninstance with a detailed exception message.InvalidPreferencesFormatException(String s, Throwable t)Constructs a newInvalidPreferencesFormatExceptioninstance with a detailed exception message and a nestedThrowable.PreferenceChangeEvent(Preferences p, String k, String v)Construct a newPreferenceChangeEventinstance. -
Uses of String in java.util.regex
Methods in java.util.regex that return String Modifier and Type Method Description static String[]Splitter. fastSplit(String re, String input, int limit)Returns a result equivalent tos.split(separator, limit)if it's able to compute it more cheaply than ICU, or null if the caller should fall back to using ICU.StringPatternSyntaxException. getDescription()Returns the description of the syntax error, ornullif the description is not known.StringPatternSyntaxException. getMessage()Returns a detailed error message for the exception.StringPatternSyntaxException. getPattern()Returns the syntactically incorrect regular expression.StringMatcher. group()Returns the text that matched the whole regular expression.StringMatcher. group(int group)Returns the text that matched a given group of the regular expression.StringMatchResult. group()Returns the text that matched the whole regular expression.StringMatchResult. group(int group)Returns the text that matched a given group of the regular expression.StringPattern. pattern()Returns the regular expression supplied tocompile.static StringPattern. quote(String string)Quotes the givenstringusing "\Q" and "\E", so that all meta-characters lose their special meaning.static StringMatcher. quoteReplacement(String s)Returns a replacement string for the given one that has all backslashes and dollar signs escaped.StringMatcher. replaceAll(String replacement)Replaces all occurrences of this matcher's pattern in the input with a given string.StringMatcher. replaceFirst(String replacement)Replaces the first occurrence of this matcher's pattern in the input with a given string.String[]Pattern. split(CharSequence input)Equivalent tosplit(input, 0).String[]Pattern. split(CharSequence input, int limit)Splits the giveninputat occurrences of this pattern.static String[]Splitter. split(Pattern pattern, String re, String input, int limit)StringMatcher. toString()Returns a string representing thisMatcher.StringPattern. toString()Methods in java.util.regex with parameters of type String Modifier and Type Method Description MatcherMatcher. appendReplacement(StringBuffer buffer, String replacement)Appends a literal part of the input plus a replacement for the current match to a givenStringBuffer.static PatternPattern. compile(String pattern)Equivalent toPattern.compile(pattern, 0).static PatternPattern. compile(String regularExpression, int flags)Returns a compiled form of the givenregularExpression, as modified by the givenflags.static String[]Splitter. fastSplit(String re, String input, int limit)Returns a result equivalent tos.split(separator, limit)if it's able to compute it more cheaply than ICU, or null if the caller should fall back to using ICU.static booleanPattern. matches(String regularExpression, CharSequence input)Tests whether the givenregularExpressionmatches the giveninput.static StringPattern. quote(String string)Quotes the givenstringusing "\Q" and "\E", so that all meta-characters lose their special meaning.static StringMatcher. quoteReplacement(String s)Returns a replacement string for the given one that has all backslashes and dollar signs escaped.StringMatcher. replaceAll(String replacement)Replaces all occurrences of this matcher's pattern in the input with a given string.StringMatcher. replaceFirst(String replacement)Replaces the first occurrence of this matcher's pattern in the input with a given string.static String[]Splitter. split(Pattern pattern, String re, String input, int limit)Constructors in java.util.regex with parameters of type String Constructor Description PatternSyntaxException(String description, String pattern, int index)Creates a new PatternSyntaxException for a given message, pattern, and error index. -
Uses of String in java.util.spi
Methods in java.util.spi that return String Modifier and Type Method Description abstract StringLocaleNameProvider. getDisplayCountry(String countryCode, Locale locale)Returns the localized name for the given ISO 3166 country code.abstract StringLocaleNameProvider. getDisplayLanguage(String languageCode, Locale locale)Returns the localized name for the given ISO 639 language code.abstract StringTimeZoneNameProvider. getDisplayName(String id, boolean daylight, int style, Locale locale)Returns the localized name for the given time zone in the given locale.abstract StringLocaleNameProvider. getDisplayVariant(String variantCode, Locale locale)Returns the localized name for the given variant code.abstract StringCurrencyNameProvider. getSymbol(String code, Locale locale)Returns the localized currency symbol for the given currency code.Methods in java.util.spi with parameters of type String Modifier and Type Method Description abstract StringLocaleNameProvider. getDisplayCountry(String countryCode, Locale locale)Returns the localized name for the given ISO 3166 country code.abstract StringLocaleNameProvider. getDisplayLanguage(String languageCode, Locale locale)Returns the localized name for the given ISO 639 language code.abstract StringTimeZoneNameProvider. getDisplayName(String id, boolean daylight, int style, Locale locale)Returns the localized name for the given time zone in the given locale.abstract StringLocaleNameProvider. getDisplayVariant(String variantCode, Locale locale)Returns the localized name for the given variant code.abstract StringCurrencyNameProvider. getSymbol(String code, Locale locale)Returns the localized currency symbol for the given currency code. -
Uses of String in java.util.zip
Methods in java.util.zip that return String Modifier and Type Method Description StringZipEntry. getComment()Returns the comment for thisZipEntry, ornullif there is no comment.StringZipFile. getComment()Returns this file's comment, or null if it doesn't have one.StringZipEntry. getName()Gets the name of thisZipEntry.StringZipFile. getName()Gets the file name of thisZipFile.StringZipEntry. toString()Returns the string representation of thisZipEntry.Methods in java.util.zip with parameters of type String Modifier and Type Method Description protected ZipEntryZipInputStream. createZipEntry(String name)creates aZipEntrywith the given name.ZipEntryZipFile. getEntry(String entryName)Returns the zip entry with the given name, or null if there is no such entry.voidZipEntry. setComment(String comment)Sets the comment for thisZipEntry.voidZipOutputStream. setComment(String comment)Sets the comment associated with the file being written.Constructors in java.util.zip with parameters of type String Constructor Description DataFormatException(String detailMessage)Constructs a newDataFormatExceptioninstance with the specified message.ZipEntry(String name)Constructs a newZipEntrywith the specified name.ZipError(String s)Constructs a ZipError with the given detail message.ZipException(String detailMessage)Constructs a newZipExceptioninstance with the specified message.ZipFile(String name)Constructs a newZipFileallowing read access to the contents of the given file. -
Uses of String in javax.crypto
Methods in javax.crypto that return String Modifier and Type Method Description StringEncryptedPrivateKeyInfo. getAlgName()Returns the name of the encryption algorithm.StringCipher. getAlgorithm()Returns the name of the algorithm of this cipher instance.StringKeyAgreement. getAlgorithm()Returns the name of the key agreement algorithm.StringKeyGenerator. getAlgorithm()Returns the name of the key generation algorithm.StringMac. getAlgorithm()Returns the name of the MAC algorithm.StringSealedObject. getAlgorithm()Returns the algorithm this object was sealed with.StringSecretKeyFactory. getAlgorithm()Returns the name of the secret key algorithm.StringExemptionMechanism. getName()Returns the name of thisExemptionMechanism.Methods in javax.crypto with parameters of type String Modifier and Type Method Description protected abstract SecretKeyKeyAgreementSpi. engineGenerateSecret(String algorithm)Generates the shared secret.protected abstract voidCipherSpi. engineSetMode(String mode)Sets the mode for this cipher.protected abstract voidCipherSpi. engineSetPadding(String padding)Sets the padding method for this cipher.protected KeyCipherSpi. engineUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, int wrappedKeyType)Unwraps a key using this cipher instance.SecretKeyKeyAgreement. generateSecret(String algorithm)Generates the shared secret.static CipherCipher. getInstance(String transformation)Creates a new Cipher for the specified transformation.static CipherCipher. getInstance(String transformation, String provider)Creates a new cipher for the specified transformation provided by the specified provider.static CipherCipher. getInstance(String transformation, Provider provider)Creates a new cipher for the specified transformation.static ExemptionMechanismExemptionMechanism. getInstance(String algorithm)Returns a newExemptionMechanisminstance that provides the specified exemption mechanism algorithm.static ExemptionMechanismExemptionMechanism. getInstance(String algorithm, String provider)Returns a newExemptionMechansminstance that provides the specified exemption mechanism algorithm from the specified provider.static ExemptionMechanismExemptionMechanism. getInstance(String algorithm, Provider provider)Returns a newExemptionMechanisminstance that provides the specified exemption mechanism algorithm from the specified provider.static KeyAgreementKeyAgreement. getInstance(String algorithm)Creates a newKeyAgreementfor the specified algorithm.static KeyAgreementKeyAgreement. getInstance(String algorithm, String provider)Creates a newKeyAgreementfor the specified algorithm from the specified provider.static KeyAgreementKeyAgreement. getInstance(String algorithm, Provider provider)Create a newKeyAgreementfor the specified algorithm from the specified provider.static KeyGeneratorKeyGenerator. getInstance(String algorithm)Creates a newKeyGeneratorinstance that provides the specified key algorithm,static KeyGeneratorKeyGenerator. getInstance(String algorithm, String provider)Creates a newKeyGeneratorinstance that provides the specified key algorithm from the specified provider.static KeyGeneratorKeyGenerator. getInstance(String algorithm, Provider provider)Creates a newKeyGeneratorinstance that provides the specified key algorithm from the specified provider.static MacMac. getInstance(String algorithm)Creates a newMacinstance that provides the specified MAC algorithm.static MacMac. getInstance(String algorithm, String provider)Creates a newMacinstance that provides the specified MAC algorithm from the specified provider.static MacMac. getInstance(String algorithm, Provider provider)Creates a newMacinstance that provides the specified MAC algorithm from the specified provider.static SecretKeyFactorySecretKeyFactory. getInstance(String algorithm)Creates a newSecretKeyFactoryinstance for the specified key algorithm.static SecretKeyFactorySecretKeyFactory. getInstance(String algorithm, String provider)Creates a newSecretKeyFactoryinstance for the specified key algorithm from the specifiedprovider.static SecretKeyFactorySecretKeyFactory. getInstance(String algorithm, Provider provider)Creates a newSecretKeyFactoryinstance for the specified key algorithm from the specified provider.PKCS8EncodedKeySpecEncryptedPrivateKeyInfo. getKeySpec(Key decryptKey, String providerName)Returns thePKCS8EncodedKeySpecobject extracted from the encrypted data.static intCipher. getMaxAllowedKeyLength(String transformation)Returns the maximum key length for the specified transformation.static AlgorithmParameterSpecCipher. getMaxAllowedParameterSpec(String transformation)Returns the maximum cipher parameter value for the specified transformation.ObjectSealedObject. getObject(Key key, String provider)Returns the wrapped object, decrypting it using the specified key.KeyCipher. unwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, int wrappedKeyType)Unwraps a key using this cipher instance.Constructors in javax.crypto with parameters of type String Constructor Description AEADBadTagException(String message)Constructs an instance ofAEADBadTagExceptionwith the givenmessage.BadPaddingException(String msg)Creates a new instance ofBadPaddingExceptionwith a message.Cipher(CipherSpi cipherSpi, Provider provider, String transformation)Creates a new Cipher instance.EncryptedPrivateKeyInfo(String encryptionAlgorithmName, byte[] encryptedData)Creates anEncryptedPrivateKeyInfoinstance from an algorithm name and its encrypted data.ExemptionMechanism(ExemptionMechanismSpi exmechSpi, Provider provider, String mechanism)Creates aExemptionMechanisminstance.ExemptionMechanismException(String msg)Creates a newExemptionMechanismExceptionwith the specified message.IllegalBlockSizeException(String msg)Creates a newIllegalBlockSizeExceptionwith the specified message.KeyAgreement(KeyAgreementSpi keyAgreeSpi, Provider provider, String algorithm)Creates a newKeyAgreementinstance.KeyGenerator(KeyGeneratorSpi keyGenSpi, Provider provider, String algorithm)Creates a newKeyGeneratorinstance.Mac(MacSpi macSpi, Provider provider, String algorithm)Creates a newMacinstance.NoSuchPaddingException(String msg)Creates a newNoSuchPaddingExceptionwith the specified message.SecretKeyFactory(SecretKeyFactorySpi keyFacSpi, Provider provider, String algorithm)Creates a newSecretKeyFactoryShortBufferException(String msg)Creates a new instance ofShortBufferExceptionwith the specified message -
Uses of String in javax.crypto.spec
Methods in javax.crypto.spec that return String Modifier and Type Method Description StringPSource. getAlgorithm()Returns the source algorithm identifier.StringSecretKeySpec. getAlgorithm()Returns the algorithm name.StringOAEPParameterSpec. getDigestAlgorithm()Returns the algorithm name of the message digest.StringSecretKeySpec. getFormat()Returns the name of the format used to encode the key.StringOAEPParameterSpec. getMGFAlgorithm()Returns the algorithm name of the mask generation function.Constructors in javax.crypto.spec with parameters of type String Constructor Description OAEPParameterSpec(String mdName, String mgfName, AlgorithmParameterSpec mgfSpec, PSource pSrc)Creates a newOAEPParameterSpecinstance with the specified message digest algorithm name, mask generation function (mgf) algorithm name, parameters for the mgf algorithm and the source of the labelL.PSource(String pSrcName)Creates a newPSourceinstance with the specified source algorithm identifier.SecretKeySpec(byte[] key, int offset, int len, String algorithm)Creates a newSecretKeySpecfor the key data from the specified bufferkeystarting atoffsetwith lengthlenand the specifiedalgorithmname.SecretKeySpec(byte[] key, String algorithm)Creates a newSecretKeySpecfor the specified key data and algorithm name. -
Uses of String in javax.net
Methods in javax.net with parameters of type String Modifier and Type Method Description abstract SocketSocketFactory. createSocket(String host, int port)Creates a new socket which is connected to the remote host specified by the parametershostandport.abstract SocketSocketFactory. createSocket(String host, int port, InetAddress localHost, int localPort)Creates a new socket which is connected to the remote host specified by the parametershostandport. -
Uses of String in javax.net.ssl
Methods in javax.net.ssl that return String Modifier and Type Method Description StringX509KeyManager. chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket)Chooses an alias for the client side of an SSL connection to authenticate it with the specified public key type and certificate issuers.StringX509ExtendedKeyManager. chooseEngineClientAlias(String[] keyType, Principal[] issuers, SSLEngine engine)Chooses an alias for the client side of an SSL connection to authenticate it with the specified public key type and certificate issuers.StringX509ExtendedKeyManager. chooseEngineServerAlias(String keyType, Principal[] issuers, SSLEngine engine)Chooses an alias for the server side of an SSL connection to authenticate it with the specified public key type and certificate issuers.StringX509KeyManager. chooseServerAlias(String keyType, Principal[] issuers, Socket socket)Chooses an alias for the server side of an SSL connection to authenticate it with the specified public key type and certificate issuers.StringDistinguishedNameParser. findMostSpecific(String attributeType)Parses the DN and returns the most significant attribute value for an attribute type, or null if none found.StringSSLPermission. getActions()StringKeyManagerFactory. getAlgorithm()Returns the name of the key management algorithm.StringTrustManagerFactory. getAlgorithm()Returns the name of thisTrustManagerFactoryalgorithm implementation.StringHandshakeCompletedEvent. getCipherSuite()Returns the name of the cipher suite negotiated during this handshake.abstract StringHttpsURLConnection. getCipherSuite()Returns the name of the cipher suite negotiated during the SSL handshake.StringSSLSession. getCipherSuite()Returns the name of the cipher suite used in this session.String[]SSLParameters. getCipherSuites()Returns a copy of the cipher suites, or null if none have been specified.String[]X509KeyManager. getClientAliases(String keyType, Principal[] issuers)Returns the client aliases for the specified public key type and list of certificate issuers.static StringKeyManagerFactory. getDefaultAlgorithm()Returns the default key manager factory algorithm name.static StringTrustManagerFactory. getDefaultAlgorithm()Returns the default algorithm name for theTrustManagerFactory.abstract String[]SSLServerSocketFactory. getDefaultCipherSuites()Returns the names of the cipher suites that are enabled by default.abstract String[]SSLSocketFactory. getDefaultCipherSuites()Returns the names of the cipher suites that are enabled by default.abstract String[]SSLEngine. getEnabledCipherSuites()Returns the SSL cipher suite names that are enabled in this engine instance.abstract String[]SSLServerSocket. getEnabledCipherSuites()Returns the names of the enabled cipher suites to be used for new connections.abstract String[]SSLSocket. getEnabledCipherSuites()Returns the names of the enabled cipher suites.abstract String[]SSLEngine. getEnabledProtocols()Returns the protocol version names that are enabled in this engine instance.abstract String[]SSLServerSocket. getEnabledProtocols()Returns the names of the enabled protocols to be used for new connections.abstract String[]SSLSocket. getEnabledProtocols()Returns the names of the enabled protocols.StringSSLSessionBindingEvent. getName()Returns the name of the binding being added or removed.StringSSLEngine. getPeerHost()Returns the name of the peer host.StringSSLSession. getPeerHost()Returns the host name of the peer of this session.StringSSLContext. getProtocol()Returns the name of the secure socket protocol of this instance.StringSSLSession. getProtocol()Returns the protocol name that is used for all connections in this session.String[]SSLParameters. getProtocols()Returns a copy of the protocols, or null if none have been specified.String[]X509KeyManager. getServerAliases(String keyType, Principal[] issuers)Returns the server aliases for the specified public key type and list of certificate issuers.abstract String[]SSLEngine. getSupportedCipherSuites()Returns the SSL cipher suite names that are supported by this engine.abstract String[]SSLServerSocket. getSupportedCipherSuites()Returns the names of the supported cipher suites.abstract String[]SSLServerSocketFactory. getSupportedCipherSuites()Returns the list of supported cipher suites that could be enabled for an SSL connection created by this factory.abstract String[]SSLSocket. getSupportedCipherSuites()Returns the names of the supported cipher suites.abstract String[]SSLSocketFactory. getSupportedCipherSuites()Returns the names of the cipher suites that are supported and could be enabled for an SSL connection.abstract String[]SSLEngine. getSupportedProtocols()Returns the protocol names that are supported by this engine.abstract String[]SSLServerSocket. getSupportedProtocols()Returns the names of the supported protocols.abstract String[]SSLSocket. getSupportedProtocols()Returns the names of the supported protocols.String[]SSLSession. getValueNames()Returns the list of the object names bound to this session's application layer data..StringSSLEngineResult. toString()Methods in javax.net.ssl with parameters of type String Modifier and Type Method Description voidX509TrustManager. checkClientTrusted(X509Certificate[] chain, String authType)Checks whether the specified certificate chain (partial or complete) can be validated and is trusted for client authentication for the specified authentication type.voidX509TrustManager. checkServerTrusted(X509Certificate[] chain, String authType)Checks whether the specified certificate chain (partial or complete) can be validated and is trusted for server authentication for the specified key exchange algorithm.StringX509KeyManager. chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket)Chooses an alias for the client side of an SSL connection to authenticate it with the specified public key type and certificate issuers.StringX509ExtendedKeyManager. chooseEngineClientAlias(String[] keyType, Principal[] issuers, SSLEngine engine)Chooses an alias for the client side of an SSL connection to authenticate it with the specified public key type and certificate issuers.StringX509ExtendedKeyManager. chooseEngineServerAlias(String keyType, Principal[] issuers, SSLEngine engine)Chooses an alias for the server side of an SSL connection to authenticate it with the specified public key type and certificate issuers.StringX509KeyManager. chooseServerAlias(String keyType, Principal[] issuers, Socket socket)Chooses an alias for the server side of an SSL connection to authenticate it with the specified public key type and certificate issuers.abstract SocketSSLSocketFactory. createSocket(Socket s, String host, int port, boolean autoClose)Creates anSSLSocketover the specified socket that is connected to the specified host at the specified port.SSLEngineSSLContext. createSSLEngine(String peerHost, int peerPort)Creates anSSLEngineinstance from this context with the specified hostname and port.protected abstract SSLEngineSSLContextSpi. engineCreateSSLEngine(String host, int port)Creates anSSLEngineinstance from this context with the specified hostname and port.StringDistinguishedNameParser. findMostSpecific(String attributeType)Parses the DN and returns the most significant attribute value for an attribute type, or null if none found.X509Certificate[]X509KeyManager. getCertificateChain(String alias)Returns the certificate chain for the specified alias.String[]X509KeyManager. getClientAliases(String keyType, Principal[] issuers)Returns the client aliases for the specified public key type and list of certificate issuers.static KeyManagerFactoryKeyManagerFactory. getInstance(String algorithm)Creates a newKeyManagerFactoryinstance for the specified key management algorithm.static KeyManagerFactoryKeyManagerFactory. getInstance(String algorithm, String provider)Creates a newKeyManagerFactoryinstance for the specified key management algorithm from the specified provider.static KeyManagerFactoryKeyManagerFactory. getInstance(String algorithm, Provider provider)Creates a newKeyManagerFactoryinstance for the specified key management algorithm from the specified provider.static SSLContextSSLContext. getInstance(String protocol)Creates a newSSLContextinstance for the specified protocol.static SSLContextSSLContext. getInstance(String protocol, String provider)Creates a newSSLContextinstance for the specified protocol from the specified provider.static SSLContextSSLContext. getInstance(String protocol, Provider provider)Creates a newSSLContextinstance for the specified protocol from the specified provider.static TrustManagerFactoryTrustManagerFactory. getInstance(String algorithm)Creates a newTrustManagerFactoryinstance for the specified trust management algorithm.static TrustManagerFactoryTrustManagerFactory. getInstance(String algorithm, String provider)Creates a newTrustManagerFactoryinstance for the specified trust management algorithm from the specified provider.static TrustManagerFactoryTrustManagerFactory. getInstance(String algorithm, Provider provider)Creates a newTrustManagerFactoryinstance for the specified trust management algorithm from the specified provider.PrivateKeyX509KeyManager. getPrivateKey(String alias)Returns the private key for the specified alias.String[]X509KeyManager. getServerAliases(String keyType, Principal[] issuers)Returns the server aliases for the specified public key type and list of certificate issuers.ObjectSSLSession. getValue(String name)Returns the object bound to the specified name in this session's application layer data.voidSSLSession. putValue(String name, Object value)Binds the specified object under the specified name in this session's application layer data.voidSSLSession. removeValue(String name)Removes the binding for the specified name in this session's application layer data.voidSSLParameters. setCipherSuites(String[] cipherSuites)Sets the cipher suites to a copy of the input, or nullabstract voidSSLEngine. setEnabledCipherSuites(String[] suites)Sets the SSL cipher suite names that should be enabled in this engine instance.abstract voidSSLServerSocket. setEnabledCipherSuites(String[] suites)Sets the names of the cipher suites to be enabled for new connections.abstract voidSSLSocket. setEnabledCipherSuites(String[] suites)Sets the names of the cipher suites to be enabled.abstract voidSSLEngine. setEnabledProtocols(String[] protocols)Sets the protocol version names that should be enabled in this engine instance.abstract voidSSLServerSocket. setEnabledProtocols(String[] protocols)Sets the names of the protocols to be enabled for new connections.abstract voidSSLSocket. setEnabledProtocols(String[] protocols)Sets the names of the protocols to be enabled.voidSSLParameters. setProtocols(String[] protocols)Sets the protocols to a copy of the input, or nullstatic SSLEngineResult.HandshakeStatusSSLEngineResult.HandshakeStatus. valueOf(String name)Returns the enum constant of this type with the specified name.static SSLEngineResult.StatusSSLEngineResult.Status. valueOf(String name)Returns the enum constant of this type with the specified name.booleanDefaultHostnameVerifier. verify(String host, X509Certificate certificate)booleanDefaultHostnameVerifier. verify(String host, SSLSession session)booleanHostnameVerifier. verify(String hostname, SSLSession session)Verifies that the specified hostname is allowed within the specified SSL session.booleanDefaultHostnameVerifier. verifyHostName(String hostName, String cn)Returns true ifhostNamematches the name or patterncn.Constructors in javax.net.ssl with parameters of type String Constructor Description KeyManagerFactory(KeyManagerFactorySpi factorySpi, Provider provider, String algorithm)Creates a newKeyManagerFactory.SSLContext(SSLContextSpi contextSpi, Provider provider, String protocol)Creates a newSSLContext.SSLEngine(String host, int port)Creates a newSSLEngineinstance with the specified host and port.SSLException(String reason)Creates a newSSLExceptionwith the specified reason.SSLException(String message, Throwable cause)Creates a newSSLExceptionwith the specified message and cause.SSLHandshakeException(String reason)Constructs a new instance with the given detail message.SSLHandshakeException(String reason, Throwable cause)Constructs a new instance with given detail message and cause.SSLKeyException(String reason)Creates a newSSLKeyExceptionwith the specified message.SSLParameters(String[] cipherSuites)A SSLParameters constructor that allows the values for the initial cipher suites array to be provided.SSLParameters(String[] cipherSuites, String[] protocols)A SSLParameters constructor that allows the values for initial cipher suites and protocols arrays to be provided.SSLPeerUnverifiedException(String reason)Creates a newSSLPeerUnverifiedExceptionwith the specified message.SSLPermission(String name)SSLPermission(String name, String actions)SSLProtocolException(String reason)Creates a newSSLProtocolExceptionwith the specified message.SSLSessionBindingEvent(SSLSession session, String name)Creates a newSSLSessionBindingEventfor the specified session indicating a binding event for the specified name.SSLSocket(String host, int port)Only to be used by subclasses.SSLSocket(String host, int port, InetAddress clientAddress, int clientPort)Only to be used by subclasses.TrustManagerFactory(TrustManagerFactorySpi factorySpi, Provider provider, String algorithm)Creates a newTrustManagerFactoryinstance. -
Uses of String in javax.security.auth
Methods in javax.security.auth that return String Modifier and Type Method Description StringAuthPermission. getActions()StringPrivateCredentialPermission. getActions()StringPrivateCredentialPermission. getCredentialClass()String[][]PrivateCredentialPermission. getPrincipals()StringSubject. toString()Returns aStringrepresentation of thisSubject.Constructors in javax.security.auth with parameters of type String Constructor Description AuthPermission(String name)AuthPermission(String name, String actions)DestroyFailedException(String message)Creates an exception of typeDestroyFailedException.PrivateCredentialPermission(String name, String action) -
Uses of String in javax.security.auth.callback
Methods in javax.security.auth.callback that return String Modifier and Type Method Description StringPasswordCallback. getPrompt()Returns the prompt that was specified when creating thisPasswordCallbackConstructors in javax.security.auth.callback with parameters of type String Constructor Description PasswordCallback(String prompt, boolean echoOn)Creates a newPasswordCallbackinstance.UnsupportedCallbackException(Callback callback, String message)Creates a new exception instance and initializes it with both the unsupportedCallbackand an error message. -
Uses of String in javax.security.auth.login
Constructors in javax.security.auth.login with parameters of type String Constructor Description LoginException(String message)Creates a new exception instance and initializes it with a given message. -
Uses of String in javax.security.auth.x500
Fields in javax.security.auth.x500 declared as String Modifier and Type Field Description static StringX500Principal. CANONICALDefines a constant for the canonical string format of distinguished names.static StringX500Principal. RFC1779Defines a constant for the RFC 1779 string format of distinguished names.static StringX500Principal. RFC2253Defines a constant for the RFC 2253 string format of distinguished names.Methods in javax.security.auth.x500 that return String Modifier and Type Method Description StringX500Principal. getName()Returns a human-readable string representation of the distinguished name contained in this X.500 principal.StringX500Principal. getName(String format)Returns a string representation of the distinguished name contained in this X.500 principal.StringX500Principal. getName(String format, Map<String,String> oidMap)StringX500Principal. toString()Methods in javax.security.auth.x500 with parameters of type String Modifier and Type Method Description StringX500Principal. getName(String format)Returns a string representation of the distinguished name contained in this X.500 principal.StringX500Principal. getName(String format, Map<String,String> oidMap)Method parameters in javax.security.auth.x500 with type arguments of type String Modifier and Type Method Description StringX500Principal. getName(String format, Map<String,String> oidMap)StringX500Principal. getName(String format, Map<String,String> oidMap)Constructors in javax.security.auth.x500 with parameters of type String Constructor Description X500Principal(String name)Creates a new X500Principal from a string representation of a distinguished name.X500Principal(String name, Map<String,String> keywordMap)Constructor parameters in javax.security.auth.x500 with type arguments of type String Constructor Description X500Principal(String name, Map<String,String> keywordMap)X500Principal(String name, Map<String,String> keywordMap) -
Uses of String in javax.security.cert
Methods in javax.security.cert that return String Modifier and Type Method Description abstract StringX509Certificate. getSigAlgName()Returns the name of the algorithm for the certificate signature.abstract StringX509Certificate. getSigAlgOID()Returns the OID of the signature algorithm from the certificate.abstract StringCertificate. toString()Returns a string containing a concise, human-readable description of the receiver.Methods in javax.security.cert with parameters of type String Modifier and Type Method Description abstract voidCertificate. verify(PublicKey key, String sigProvider)Verifies that this certificate was signed with the given public key.Constructors in javax.security.cert with parameters of type String Constructor Description CertificateEncodingException(String msg)Creates a newCertificateEncodingExceptionwith the specified message.CertificateException(String msg)Creates a newCertificateExceptionwith the specified message.CertificateExpiredException(String msg)Creates a newCertificateExpiredExceptionwith the specified message.CertificateNotYetValidException(String msg)Creates a newCertificateNotYetValidExceptionwith the specified message.CertificateParsingException(String msg)Creates a newCertificateParsingExceptionwith the specified message. -
Uses of String in javax.sql
Methods in javax.sql that return String Modifier and Type Method Description StringRowSet. getCommand()Gets theRowSet's command property.StringRowSet. getDataSourceName()Gets the ODBC Data Source Name property associated with thisRowSet.StringRowSet. getPassword()Gets the value of the password property for thisRowSet.StringRowSet. getUrl()Gets the URL property value for thisRowSet.StringRowSet. getUsername()Gets the value of theusernameproperty for thisRowSet.Methods in javax.sql that return types with arguments of type String Modifier and Type Method Description Map<String,Class<?>>RowSet. getTypeMap()Gets the custom mapping of SQL User-Defined Types (UDTs) and Java classes for thisRowSet, if applicable.Methods in javax.sql with parameters of type String Modifier and Type Method Description ConnectionDataSource. getConnection(String theUsername, String thePassword)Creates a connection to the database represented by thisDataSource, using the supplied user name and password.PooledConnectionConnectionPoolDataSource. getPooledConnection(String theUser, String thePassword)Creates a connection to a database, using the supplied user name and password, which can then be used as a pooled connection.voidRowSet. setAsciiStream(String parameterName, InputStream theInputStream)Sets the value of the specified parameter in the RowSet command with the ASCII data in the supplied java.io.InputStream value.voidRowSet. setAsciiStream(String parameterName, InputStream theInputStream, int length)Sets the value of the specified parameter in the RowSet command with the ASCII data in the supplied java.io.InputStream value.voidRowSet. setBigDecimal(String parameterName, BigDecimal theBigDecimal)Sets the value of the specified SQL NUMERIC parameter in the RowSet command with the data in the supplied java.math.BigDecimal value.voidRowSet. setBinaryStream(String parameterName, InputStream theInputStream)Sets the value of the specified parameter in the RowSet command with the binary data in the supplied java.io.InputStream value.voidRowSet. setBinaryStream(String parameterName, InputStream theInputStream, int length)Sets the value of the specified parameter in the RowSet command with the binary data in the supplied java.io.InputStream value.voidRowSet. setBlob(String parameterName, InputStream theInputStream)Sets the value of the specified parameter in the RowSet command with the value of a supplied java.io.InputStream.voidRowSet. setBlob(String parameterName, InputStream theInputStream, long length)Sets the value of the specified parameter in the RowSet command with the value of a supplied java.io.InputStream.voidRowSet. setBlob(String parameterName, Blob theBlob)Sets the value of the specified parameter in the RowSet command with the value of a supplied java.sql.Blob.voidRowSet. setBoolean(String parameterName, boolean theBoolean)Sets the value of the specified parameter in the RowSet command to the supplied boolean.voidRowSet. setByte(String parameterName, byte theByte)Sets the value of the specified parameter in the RowSet command to the supplied byte value.voidRowSet. setBytes(String parameterName, byte[] theByteArray)Sets the value of the specified parameter in the RowSet command to the supplied byte array value.voidRowSetMetaData. setCatalogName(int columnIndex, String catalogName)Sets the catalog name for a specified column in theRowSet.voidRowSet. setCharacterStream(String parameterName, Reader theReader)Sets the value of the specified parameter in the RowSet command to the sequence of Unicode characters carried by the supplied java.io.Reader.voidRowSet. setCharacterStream(String parameterName, Reader theReader, int length)Sets the value of the specified parameter in the RowSet command to the sequence of Unicode characters carried by the supplied java.io.Reader.voidRowSet. setClob(String parameterName, Reader theReader)Sets the value of the specified parameter in the RowSet command with the value of a supplied java.io.Reader.voidRowSet. setClob(String parameterName, Reader theReader, long length)Sets the value of the specified parameter in the RowSet command with the value of a supplied java.io.Reader.voidRowSet. setClob(String parameterName, Clob theClob)Sets the value of the specified parameter in the RowSet command with the value of a supplied java.sql.Clob.voidRowSetMetaData. setColumnLabel(int columnIndex, String theLabel)Sets the suggested name as label for the column contained in theRowSet.voidRowSetMetaData. setColumnName(int columnIndex, String theColumnName)Sets the column name for a specified column in theRowSet.voidRowSetMetaData. setColumnTypeName(int columnIndex, String theTypeName)Sets the type name for a specified column in theRowSet, where the data type is specific to the data source.voidRowSet. setCommand(String cmd)Sets the Command property for thisRowSet- the command is an SQL query which runs when theexecutemethod is invoked.voidRowSet. setDataSourceName(String name)Sets the database name property for theRowSet.voidRowSet. setDate(String parameterName, Date theDate)Sets the value of the specified parameter in the RowSet command with the value of a supplied java.sql.Date, where the conversion of the Date to an SQL DATE value is calculated using a supplied Calendar.voidRowSet. setDate(String parameterName, Date theDate, Calendar theCalendar)Sets the value of the specified parameter in the RowSet command with the value of a supplied java.sql.Date, where the conversion of the Date to an SQL DATE value is calculated using a supplied Calendar.voidRowSet. setDouble(String parameterName, double theDouble)Sets the value of the specified parameter in the RowSet command with the supplied double.voidRowSet. setFloat(String parameterName, float theFloat)Sets the value of the specified parameter in the RowSet command with the supplied float.voidRowSet. setInt(String parameterName, int theInteger)Sets the value of the specified parameter in the RowSet command with the supplied integer.voidRowSet. setLong(String parameterName, long theLong)Sets the value of the specified parameter in the RowSet command with the supplied long.voidRowSet. setNCharacterStream(String parameterName, Reader theReader)Sets the value of the specified parameter in the RowSet command with the value of a supplied java.io.Reader.voidRowSet. setNCharacterStream(String parameterName, Reader theReader, long length)Sets the value of the specified parameter in the RowSet command with the value of a supplied java.io.Reader.voidRowSet. setNClob(String parameterName, Reader theReader)Sets the value of the specified parameter in the RowSet command with the value of a supplied java.io.Reader.voidRowSet. setNClob(String parameterName, Reader theReader, long length)Sets the value of the specified parameter in the RowSet command with the value of a supplied java.io.Reader.voidRowSet. setNClob(String parameterName, NClob theNClob)Sets the value of the specified parameter in the RowSet command with the value of a supplied java.sql.NClob.voidRowSet. setNString(int parameterIndex, String theNString)Sets the value of the specified parameter in the RowSet command to the supplied NStringvoidRowSet. setNString(String parameterName, String theNString)Sets the value of the specified parameter in the RowSet command to the supplied NString.voidRowSet. setNull(int parameterIndex, int sqlType, String typeName)Sets the value of the specified parameter in theRowSetcommand to SQLNULL.voidRowSet. setNull(String parameterName, int sqlType)Sets the value of the specified parameter in the RowSet command to SQL NULL.voidRowSet. setNull(String parameterName, int sqlType, String typeName)Sets the value of the specified parameter in the RowSet command to SQL NULL.voidRowSet. setObject(String parameterName, Object theObject)Sets the value of the specified parameter in the RowSet command to a supplied Java object.voidRowSet. setObject(String parameterName, Object theObject, int targetSqlType)Sets the value of the specified parameter in the RowSet command to a supplied Java object.voidRowSet. setObject(String parameterName, Object theObject, int targetSqlType, int scale)Sets the value of the specified parameter in the RowSet command to a supplied Java object.voidRowSet. setPassword(String password)Sets the database Password for thisRowSet.voidRowSet. setRowId(String parameterName, RowId theRowId)Sets the value of the specified parameter in the RowSet command to the supplied RowId.voidRowSetMetaData. setSchemaName(int columnIndex, String theSchemaName)Sets the schema name for a specified column in theRowSet.voidRowSet. setShort(String parameterName, short theShort)Sets the value of the specified parameter in the RowSet command to a supplied short integer.voidRowSet. setSQLXML(String parameterName, SQLXML theSQLXML)Sets the value of the specified parameter in the RowSet command to the supplied SQLXML.voidRowSet. setString(int parameterIndex, String theString)Sets the value of the specified parameter in theRowSetcommand to a suppliedString.voidRowSet. setString(String parameterName, String theString)Sets the value of the specified parameter in the RowSet command to a supplied String.voidRowSetMetaData. setTableName(int columnIndex, String theTableName)Sets the table name for a specified column in theRowSet.voidRowSet. setTime(String parameterName, Time theTime)Sets the value of the specified parameter in the RowSet command to a supplied java.sql.Time, converting to an SQL TIME value using a supplied Calendar.voidRowSet. setTime(String parameterName, Time theTime, Calendar theCalendar)Sets the value of the specified parameter in the RowSet command to a supplied java.sql.Time, converting to an SQL TIME value using a supplied Calendar.voidRowSet. setTimestamp(String parameterName, Timestamp theTimestamp)Sets the value of the specified parameter in the RowSet command to a supplied java.sql.Timestamp converting to an SQL TIMESTAMP value using the system defaultCalendar.voidRowSet. setTimestamp(String parameterName, Timestamp theTimestamp, Calendar theCalendar)Sets the value of the specified parameter in the RowSet command to a supplied java.sql.Timestamp converting to an SQL TIMESTAMP value using a supplied Calendar.voidRowSet. setUrl(String theURL)Sets the URL used by thisRowSetto access the database via aDriverManager.voidRowSet. setUsername(String theUsername)Sets theUsernameproperty for theRowSet, used to authenticate a connection to the database. -
Uses of String in javax.xml
Fields in javax.xml declared as String Modifier and Type Field Description static StringXMLConstants. DEFAULT_NS_PREFIXPrefix to use to represent the default XML Namespace.static StringXMLConstants. FEATURE_SECURE_PROCESSINGFeature for secure processing.static StringXMLConstants. NULL_NS_URINamespace URI to use to represent that there is no Namespace.static StringXMLConstants. RELAXNG_NS_URIRELAX NG Namespace URI.static StringXMLConstants. W3C_XML_SCHEMA_INSTANCE_NS_URIW3C XML Schema Instance Namespace URI.static StringXMLConstants. W3C_XML_SCHEMA_NS_URIW3C XML Schema Namespace URI.static StringXMLConstants. W3C_XPATH_DATATYPE_NS_URIW3C XPath Datatype Namespace URI.static StringXMLConstants. XML_DTD_NS_URIXML Document Type Declaration Namespace URI as an arbitrary value.static StringXMLConstants. XML_NS_PREFIXThe official XML Namespace prefix.static StringXMLConstants. XML_NS_URIThe official XML Namespace name URI.static StringXMLConstants. XMLNS_ATTRIBUTEThe official XML attribute used for specifying XML Namespace declarations.static StringXMLConstants. XMLNS_ATTRIBUTE_NS_URIThe official XML attribute used for specifying XML Namespace declarations,XMLConstants.XMLNS_ATTRIBUTE, Namespace name URI. -
Uses of String in javax.xml.datatype
Fields in javax.xml.datatype declared as String Modifier and Type Field Description static StringDatatypeFactory. DATATYPEFACTORY_IMPLEMENTATION_CLASSDefault implementation class name as defined in JSR 206: Java(TM) API for XML Processing (JAXP) 1.3.static StringDatatypeFactory. DATATYPEFACTORY_PROPERTYDefault property name as defined in JSR 206: Java(TM) API for XML Processing (JAXP) 1.3.Methods in javax.xml.datatype that return String Modifier and Type Method Description StringDatatypeConstants.Field. toString()Returns a field name in English.StringDuration. toString()Returns aStringrepresentation of thisDurationObject.StringXMLGregorianCalendar. toString()Returns aStringrepresentation of thisXMLGregorianCalendarObject.abstract StringXMLGregorianCalendar. toXMLFormat()Return the lexical representation ofthisinstance.Methods in javax.xml.datatype with parameters of type String Modifier and Type Method Description abstract DurationDatatypeFactory. newDuration(String lexicalRepresentation)Obtain a new instance of aDurationspecifying theDurationas its string representation, "PnYnMnDTnHnMnS", as defined in XML Schema 1.0 section 3.2.6.1.DurationDatatypeFactory. newDurationDayTime(String lexicalRepresentation)Create aDurationof typexdt:dayTimeDurationby parsing itsStringrepresentation, "PnDTnHnMnS", XQuery 1.0 and XPath 2.0 Data Model, xdt:dayTimeDuration.DurationDatatypeFactory. newDurationYearMonth(String lexicalRepresentation)Create aDurationof typexdt:yearMonthDurationby parsing itsStringrepresentation, "PnYnM", XQuery 1.0 and XPath 2.0 Data Model, xdt:yearMonthDuration.static DatatypeFactoryDatatypeFactory. newInstance(String factoryClassName, ClassLoader classLoader)Returns an instance of the named implementation ofDatatypeFactory.abstract XMLGregorianCalendarDatatypeFactory. newXMLGregorianCalendar(String lexicalRepresentation)Create a new XMLGregorianCalendar by parsing the String as a lexical representation.Constructors in javax.xml.datatype with parameters of type String Constructor Description DatatypeConfigurationException(String message)Create a newDatatypeConfigurationExceptionwith the specified detail message.DatatypeConfigurationException(String message, Throwable cause)Create a newDatatypeConfigurationExceptionwith the specified detail message and cause. -
Uses of String in javax.xml.namespace
Methods in javax.xml.namespace that return String Modifier and Type Method Description StringQName. getLocalPart()Get the local part of thisQName.StringNamespaceContext. getNamespaceURI(String prefix)Get Namespace URI bound to a prefix in the current scope.StringQName. getNamespaceURI()Get the Namespace URI of thisQName.StringNamespaceContext. getPrefix(String namespaceURI)Get prefix bound to Namespace URI in the current scope.StringQName. getPrefix()Get the prefix of thisQName.StringQName. toString()Stringrepresentation of thisQName.Methods in javax.xml.namespace with parameters of type String Modifier and Type Method Description StringNamespaceContext. getNamespaceURI(String prefix)Get Namespace URI bound to a prefix in the current scope.StringNamespaceContext. getPrefix(String namespaceURI)Get prefix bound to Namespace URI in the current scope.IteratorNamespaceContext. getPrefixes(String namespaceURI)Get all prefixes bound to a Namespace URI in the current scope.static QNameQName. valueOf(String qNameAsString)QNamederived from parsing the formattedString.Constructors in javax.xml.namespace with parameters of type String Constructor Description QName(String localPart)QNameconstructor specifying the local part.QName(String namespaceURI, String localPart)QNameconstructor specifying the Namespace URI and local part.QName(String namespaceURI, String localPart, String prefix)QNameconstructor specifying the Namespace URI, local part and prefix. -
Uses of String in javax.xml.parsers
Methods in javax.xml.parsers that return String Modifier and Type Method Description StringFactoryConfigurationError. getMessage()Return the message (if any) for this error .Methods in javax.xml.parsers with parameters of type String Modifier and Type Method Description abstract ObjectDocumentBuilderFactory. getAttribute(String name)Allows the user to retrieve specific attributes on the underlying implementation.abstract booleanDocumentBuilderFactory. getFeature(String name)Get the state of the named feature.abstract booleanSAXParserFactory. getFeature(String name)Returns the particular property requested for in the underlying implementation of org.xml.sax.XMLReader.abstract ObjectSAXParser. getProperty(String name)Returns the particular property requested for in the underlying implementation ofXMLReader.static DocumentBuilderFactoryDocumentBuilderFactory. newInstance(String factoryClassName, ClassLoader classLoader)Returns an instance of the named implementation ofDocumentBuilderFactory.static SAXParserFactorySAXParserFactory. newInstance(String factoryClassName, ClassLoader classLoader)Returns an instance of the named implementation ofSAXParserFactory.DocumentDocumentBuilder. parse(InputStream is, String systemId)Parse the content of the givenInputStreamas an XML document and return a new DOMDocumentobject.DocumentDocumentBuilder. parse(String uri)Parse the content of the given URI as an XML document and return a new DOMDocumentobject.voidSAXParser. parse(InputStream is, HandlerBase hb, String systemId)Parse the content of the givenInputStreaminstance as XML using the specifiedHandlerBase.voidSAXParser. parse(InputStream is, DefaultHandler dh, String systemId)Parse the content of the givenInputStreaminstance as XML using the specifiedDefaultHandler.voidSAXParser. parse(String uri, HandlerBase hb)Parse the content described by the giving Uniform Resource Identifier (URI) as XML using the specifiedHandlerBase.voidSAXParser. parse(String uri, DefaultHandler dh)Parse the content described by the giving Uniform Resource Identifier (URI) as XML using the specifiedDefaultHandler.abstract voidDocumentBuilderFactory. setAttribute(String name, Object value)Allows the user to set specific attributes on the underlying implementation.abstract voidDocumentBuilderFactory. setFeature(String name, boolean value)Set a feature for thisDocumentBuilderFactoryandDocumentBuilders created by this factory.abstract voidSAXParserFactory. setFeature(String name, boolean value)Sets the particular feature in the underlying implementation of org.xml.sax.XMLReader.abstract voidSAXParser. setProperty(String name, Object value)Sets the particular property in the underlying implementation ofXMLReader.Constructors in javax.xml.parsers with parameters of type String Constructor Description FactoryConfigurationError(Exception e, String msg)Create a newFactoryConfigurationErrorwith the givenExceptionbase cause and detail message.FactoryConfigurationError(String msg)Create a newFactoryConfigurationErrorwith theStringspecified as an error message.ParserConfigurationException(String msg)Create a newParserConfigurationExceptionwith theStringspecified as an error message. -
Uses of String in javax.xml.transform
Fields in javax.xml.transform declared as String Modifier and Type Field Description static StringOutputKeys. CDATA_SECTION_ELEMENTScdata-section-elements = expanded names.static StringOutputKeys. DOCTYPE_PUBLICdoctype-public = string.static StringOutputKeys. DOCTYPE_SYSTEMdoctype-system = string.static StringOutputKeys. ENCODINGencoding = string.static StringOutputKeys. INDENTindent = "yes" | "no".static StringOutputKeys. MEDIA_TYPEmedia-type = string.static StringOutputKeys. METHODmethod = "xml" | "html" | "text" | expanded name.static StringOutputKeys. OMIT_XML_DECLARATIONomit-xml-declaration = "yes" | "no".static StringResult. PI_DISABLE_OUTPUT_ESCAPINGThe name of the processing instruction that is sent if the result tree disables output escaping.static StringResult. PI_ENABLE_OUTPUT_ESCAPINGThe name of the processing instruction that is sent if the result tree enables output escaping at some point after having received a PI_DISABLE_OUTPUT_ESCAPING processing instruction.static StringOutputKeys. STANDALONEstandalone = "yes" | "no".static StringOutputKeys. VERSIONversion = nmtoken.Methods in javax.xml.transform that return String Modifier and Type Method Description StringTransformerException. getLocationAsString()Get the location information as a string.StringTransformerFactoryConfigurationError. getMessage()Return the message (if any) for this error .StringTransformerException. getMessageAndLocation()Get the error message with location information appended.abstract StringTransformer. getOutputProperty(String name)Get an output property that is in effect for the transformer.StringSourceLocator. getPublicId()Return the public identifier for the current document event.StringResult. getSystemId()Get the system identifier that was set with setSystemId.StringSource. getSystemId()Get the system identifier that was set with setSystemId.StringSourceLocator. getSystemId()Return the system identifier for the current document event.Methods in javax.xml.transform with parameters of type String Modifier and Type Method Description abstract SourceTransformerFactory. getAssociatedStylesheet(Source source, String media, String title, String charset)Get the stylesheet specification(s) associated with the XMLSourcedocument via the xml-stylesheet processing instruction that match the given criteria.abstract ObjectTransformerFactory. getAttribute(String name)Allows the user to retrieve specific attributes on the underlying implementation.abstract booleanTransformerFactory. getFeature(String name)Look up the value of a feature.abstract StringTransformer. getOutputProperty(String name)Get an output property that is in effect for the transformer.abstract ObjectTransformer. getParameter(String name)Get a parameter that was explicitly set with setParameter.static TransformerFactoryTransformerFactory. newInstance(String factoryClassName, ClassLoader classLoader)Returns an instance of the named implementation ofTransformerFactory.SourceURIResolver. resolve(String href, String base)Called by the processor when it encounters an xsl:include, xsl:import, or document() function.abstract voidTransformerFactory. setAttribute(String name, Object value)Allows the user to set specific attributes on the underlying implementation.abstract voidTransformerFactory. setFeature(String name, boolean value)Set a feature for thisTransformerFactoryandTransformers orTemplates created by this factory.abstract voidTransformer. setOutputProperty(String name, String value)Set an output property that will be in effect for the transformation.abstract voidTransformer. setParameter(String name, Object value)Add a parameter for the transformation.voidResult. setSystemId(String systemId)Set the system identifier for this Result.voidSource. setSystemId(String systemId)Set the system identifier for this Source.Constructors in javax.xml.transform with parameters of type String Constructor Description TransformerConfigurationException(String msg)Create a newTransformerConfigurationExceptionwith theStringspecified as an error message.TransformerConfigurationException(String msg, Throwable e)Create a newTransformerConfigurationExceptionwith the givenExceptionbase cause and detail message.TransformerConfigurationException(String message, SourceLocator locator)Create a new TransformerConfigurationException from a message and a Locator.TransformerConfigurationException(String message, SourceLocator locator, Throwable e)Wrap an existing exception in a TransformerConfigurationException.TransformerException(String message)Create a new TransformerException.TransformerException(String message, Throwable e)Wrap an existing exception in a TransformerException.TransformerException(String message, SourceLocator locator)Create a new TransformerException from a message and a Locator.TransformerException(String message, SourceLocator locator, Throwable e)Wrap an existing exception in a TransformerException.TransformerFactoryConfigurationError(Exception e, String msg)Create a newTransformerFactoryConfigurationErrorwith the givenExceptionbase cause and detail message.TransformerFactoryConfigurationError(String msg)Create a newTransformerFactoryConfigurationErrorwith theStringspecified as an error message. -
Uses of String in javax.xml.transform.dom
Fields in javax.xml.transform.dom declared as String Modifier and Type Field Description static StringDOMResult. FEATUREIfTransformerFactory.getFeature(java.lang.String)returnstruewhen passed this value as an argument, theTransformersupportsResultoutput of this type.static StringDOMSource. FEATUREIfTransformerFactory.getFeature(java.lang.String)returns true when passed this value as an argument, the Transformer supports Source input of this type.Methods in javax.xml.transform.dom that return String Modifier and Type Method Description StringDOMResult. getSystemId()Get the System Identifier.StringDOMSource. getSystemId()Get the base ID (URL or system ID) from where URLs will be resolved.Methods in javax.xml.transform.dom with parameters of type String Modifier and Type Method Description voidDOMResult. setSystemId(String systemId)Set the systemId that may be used in association with the node.voidDOMSource. setSystemId(String systemID)Set the base ID (URL or system ID) from where URLs will be resolved.Constructors in javax.xml.transform.dom with parameters of type String Constructor Description DOMResult(Node node, String systemId)Use a DOM node to create a new output target with the specified System ID.DOMResult(Node node, Node nextSibling, String systemId)Use a DOM node to create a new output target specifying the child node where the result nodes should be inserted before and the specified System ID.DOMSource(Node node, String systemID)Create a new input source with a DOM node, and with the system ID also passed in as the base URI. -
Uses of String in javax.xml.transform.sax
Fields in javax.xml.transform.sax declared as String Modifier and Type Field Description static StringSAXResult. FEATUREIfTransformerFactory.getFeature(java.lang.String)returns true when passed this value as an argument, the Transformer supports Result output of this type.static StringSAXSource. FEATUREIfTransformerFactory.getFeature(java.lang.String)returns true when passed this value as an argument, the Transformer supports Source input of this type.static StringSAXTransformerFactory. FEATUREIfTransformerFactory.getFeature(java.lang.String)returns true when passed this value as an argument, the TransformerFactory returned fromTransformerFactory.newInstance()may be safely cast to a SAXTransformerFactory.static StringSAXTransformerFactory. FEATURE_XMLFILTERIfTransformerFactory.getFeature(java.lang.String)returns true when passed this value as an argument, theSAXTransformerFactory.newXMLFilter(Source src)andSAXTransformerFactory.newXMLFilter(Templates templates)methods are supported.Methods in javax.xml.transform.sax that return String Modifier and Type Method Description StringSAXResult. getSystemId()Get the system identifier that was set with setSystemId.StringSAXSource. getSystemId()Get the base ID (URI or system ID) from where URIs will be resolved.StringTemplatesHandler. getSystemId()Get the base ID (URI or system ID) from where relative URLs will be resolved.StringTransformerHandler. getSystemId()Get the base ID (URI or system ID) from where relative URLs will be resolved.Methods in javax.xml.transform.sax with parameters of type String Modifier and Type Method Description voidSAXResult. setSystemId(String systemId)Method setSystemId Set the systemID that may be used in association with theContentHandler.voidSAXSource. setSystemId(String systemId)Set the system identifier for this Source.voidTemplatesHandler. setSystemId(String systemID)Set the base ID (URI or system ID) for the Templates object created by this builder.voidTransformerHandler. setSystemId(String systemID)Set the base ID (URI or system ID) from where relative URLs will be resolved. -
Uses of String in javax.xml.transform.stream
Fields in javax.xml.transform.stream declared as String Modifier and Type Field Description static StringStreamResult. FEATUREIfTransformerFactory.getFeature(java.lang.String)returns true when passed this value as an argument, the Transformer supports Result output of this type.static StringStreamSource. FEATUREIfTransformerFactory.getFeature(java.lang.String)returns true when passed this value as an argument, the Transformer supports Source input of this type.Methods in javax.xml.transform.stream that return String Modifier and Type Method Description StringStreamSource. getPublicId()Get the public identifier that was set with setPublicId.StringStreamResult. getSystemId()Get the system identifier that was set with setSystemId.StringStreamSource. getSystemId()Get the system identifier that was set with setSystemId.Methods in javax.xml.transform.stream with parameters of type String Modifier and Type Method Description voidStreamSource. setPublicId(String publicId)Set the public identifier for this Source.voidStreamResult. setSystemId(String systemId)Set the systemID that may be used in association with the byte or character stream, or, if neither is set, use this value as a writeable URI (probably a file name).voidStreamSource. setSystemId(String systemId)Set the system identifier for this Source.Constructors in javax.xml.transform.stream with parameters of type String Constructor Description StreamResult(String systemId)Construct a StreamResult from a URL.StreamSource(InputStream inputStream, String systemId)Construct a StreamSource from a byte stream.StreamSource(Reader reader, String systemId)Construct a StreamSource from a character reader.StreamSource(String systemId)Construct a StreamSource from a URL. -
Uses of String in javax.xml.validation
Methods in javax.xml.validation with parameters of type String Modifier and Type Method Description booleanSchemaFactory. getFeature(String name)Look up the value of a feature flag.booleanValidator. getFeature(String name)Look up the value of a feature flag.booleanValidatorHandler. getFeature(String name)Look up the value of a feature flag.ObjectSchemaFactory. getProperty(String name)Look up the value of a property.ObjectValidator. getProperty(String name)Look up the value of a property.ObjectValidatorHandler. getProperty(String name)Look up the value of a property.abstract booleanSchemaFactory. isSchemaLanguageSupported(String schemaLanguage)Is specified schema supported by thisSchemaFactory?abstract SchemaFactorySchemaFactoryLoader. newFactory(String schemaLanguage)static SchemaFactorySchemaFactory. newInstance(String schemaLanguage)Lookup an implementation of theSchemaFactorythat supports the specified schema language and return it.static SchemaFactorySchemaFactory. newInstance(String schemaLanguage, String factoryClassName, ClassLoader classLoader)Returns an instance of the named implementation ofSchemaFactory.voidSchemaFactory. setFeature(String name, boolean value)Set the value of a feature flag.voidValidator. setFeature(String name, boolean value)Set the value of a feature flag.voidValidatorHandler. setFeature(String name, boolean value)Set the value of a feature flag.voidSchemaFactory. setProperty(String name, Object object)Set the value of a property.voidValidator. setProperty(String name, Object object)Set the value of a property.voidValidatorHandler. setProperty(String name, Object object)Set the value of a property. -
Uses of String in javax.xml.xpath
Fields in javax.xml.xpath declared as String Modifier and Type Field Description static StringXPathFactory. DEFAULT_OBJECT_MODEL_URIDefault Object Model URI.static StringXPathFactory. DEFAULT_PROPERTY_NAMEThe default property name according to the JAXP spec.static StringXPathConstants. DOM_OBJECT_MODELThe URI for the DOM object model, "http://java.sun.com/jaxp/xpath/dom".Methods in javax.xml.xpath that return String Modifier and Type Method Description StringXPath. evaluate(String expression, Object item)Evaluate an XPath expression in the specified context and return the result as aString.StringXPath. evaluate(String expression, InputSource source)Evaluate an XPath expression in the context of the specifiedInputSourceand return the result as aString.StringXPathExpression. evaluate(Object item)Evaluate the compiled XPath expression in the specified context and return the result as aString.StringXPathExpression. evaluate(InputSource source)Evaluate the compiled XPath expression in the context of the specifiedInputSourceand return the result as aString.Methods in javax.xml.xpath with parameters of type String Modifier and Type Method Description XPathExpressionXPath. compile(String expression)Compile an XPath expression for later evaluation.StringXPath. evaluate(String expression, Object item)Evaluate an XPath expression in the specified context and return the result as aString.ObjectXPath. evaluate(String expression, Object item, QName returnType)Evaluate anXPathexpression in the specified context and return the result as the specified type.StringXPath. evaluate(String expression, InputSource source)Evaluate an XPath expression in the context of the specifiedInputSourceand return the result as aString.ObjectXPath. evaluate(String expression, InputSource source, QName returnType)Evaluate an XPath expression in the context of the specifiedInputSourceand return the result as the specified type.abstract booleanXPathFactory. getFeature(String name)Get the state of the named feature.abstract booleanXPathFactory. isObjectModelSupported(String objectModel)Is specified object model supported by thisXPathFactory?static XPathFactoryXPathFactory. newInstance(String uri)Get a newXPathFactoryinstance using the specified object model.static XPathFactoryXPathFactory. newInstance(String uri, String factoryClassName, ClassLoader classLoader)abstract voidXPathFactory. setFeature(String name, boolean value)Set a feature for thisXPathFactoryandXPaths created by this factory.Constructors in javax.xml.xpath with parameters of type String Constructor Description XPathException(String message)Constructs a newXPathExceptionwith the specified detailmessage.XPathExpressionException(String message)Constructs a newXPathExpressionExceptionwith the specified detailmessage.XPathFactoryConfigurationException(String message)Constructs a newXPathFactoryConfigurationExceptionwith the specified detailmessage.XPathFunctionException(String message)Constructs a newXPathFunctionExceptionwith the specified detailmessage. -
Uses of String in libcore.icu
Methods in libcore.icu that return String Modifier and Type Method Description static StringICU. addLikelySubtags(String locale)protected String[][]TimeZoneNames.ZoneStringsCache. create(Locale locale)static String[]TimeZoneNames. forLocale(Locale locale)Returns an array containing the time zone ids in use in the country corresponding to the given locale.static StringDateIntervalFormat. formatDateRange(long startMs, long endMs, int flags, String olsonId)static StringDateIntervalFormat. formatDateRange(Locale locale, TimeZone tz, long startMs, long endMs, int flags)static String[]NativeConverter. getAvailableCharsetNames()static String[]ICU. getAvailableCurrencyCodes()static String[]Transliterator. getAvailableIDs()Returns the ids of all known transliterators.static StringICU. getBestDateTimePattern(String skeleton, String localeName)StringAlphabeticIndex. getBucketLabel(int index)Returns the label for the bucket at the given index (as returned by getBucketIndex).StringAlphabeticIndex.ImmutableIndex. getBucketLabel(int index)Returns the label for the bucket at the given index (as returned by getBucketIndex).static StringICU. getCldrVersion()Returns the version of the CLDR data in use, such as "22.1.1".static StringICU. getCurrencyCode(String countryCode)static StringICU. getCurrencyDisplayName(String locale, String currencyCode)static StringICU. getCurrencySymbol(String locale, String currencyCode)StringLocaleData. getDateFormat(int style)static StringICU. getDisplayCountryNative(String countryCode, String locale)static StringICU. getDisplayLanguageNative(String languageCode, String locale)static StringTimeZoneNames. getDisplayName(String[][] zoneStrings, String id, boolean daylight, int style)Returns the appropriate string from 'zoneStrings'.static StringICU. getDisplayVariantNative(String variantCode, String locale)static StringICU. getIcuVersion()Returns the icu4c version in use, such as "50.1.1".static StringICU. getISO3CountryNative(String locale)static StringICU. getISO3LanguageNative(String locale)static String[]ICU. getISOCountries()Returns an array of two-letter ISO 3166 country codes, either from ICU or our cache.static String[]ICU. getISOLanguages()Returns an array of two-letter ISO 639-1 language codes, either from ICU or our cache.StringNativeDecimalFormat. getNegativePrefix()StringNativeDecimalFormat. getNegativeSuffix()StringNativeDecimalFormat. getPositivePrefix()StringNativeDecimalFormat. getPositiveSuffix()static StringNativeCollation. getRules(long address)StringRuleBasedCollatorICU. getRules()static StringICU. getScript(String locale)StringLocaleData. getTimeFormat(int style)static StringICU. getUnicodeVersion()Returns the Unicode version our ICU supports, such as "6.2".static String[][]TimeZoneNames. getZoneStrings(Locale locale)Returns an array of time zone strings, as used by DateFormatSymbols.getZoneStrings.static StringNativeNormalizer. normalize(CharSequence src, Normalizer.Form form)static StringNativeIDN. toASCII(String s, int flags)StringNativeDecimalFormat. toLocalizedPattern()static StringICU. toLowerCase(String s, String localeName)StringNativeDecimalFormat. toPattern()StringLocaleData. toString()static StringNativeIDN. toUnicode(String s, int flags)static StringICU. toUpperCase(String s, String localeName)StringTransliterator. transliterate(String s)Transliterates the specified string.Methods in libcore.icu with parameters of type String Modifier and Type Method Description static StringICU. addLikelySubtags(String locale)voidNativeDecimalFormat. applyLocalizedPattern(String pattern)voidNativeDecimalFormat. applyPattern(String pattern)static CharsetNativeConverter. charsetForName(String charsetName)static intNativeCollation. compare(long address, String source, String target)intRuleBasedCollatorICU. compare(String source, String target)static booleanNativeConverter. contains(String converterName1, String converterName2)booleanRuleBasedCollatorICU. equals(String source, String target)static StringDateIntervalFormat. formatDateRange(long startMs, long endMs, int flags, String olsonId)static StringICU. getBestDateTimePattern(String skeleton, String localeName)intAlphabeticIndex. getBucketIndex(String s)Returns the index of the bucket in which 's' should appear.intAlphabeticIndex.ImmutableIndex. getBucketIndex(String s)Returns the index of the bucket in which 's' should appear.static intNativeCollation. getCollationElementIterator(long address, String source)CollationElementIteratorICURuleBasedCollatorICU. getCollationElementIterator(String source)CollationKeyRuleBasedCollatorICU. getCollationKey(String source)static StringICU. getCurrencyCode(String countryCode)static StringICU. getCurrencyDisplayName(String locale, String currencyCode)static intICU. getCurrencyFractionDigits(String currencyCode)static StringICU. getCurrencySymbol(String locale, String currencyCode)static char[]ICU. getDateFormatOrder(String pattern)static StringICU. getDisplayCountryNative(String countryCode, String locale)static StringICU. getDisplayLanguageNative(String languageCode, String locale)static StringTimeZoneNames. getDisplayName(String[][] zoneStrings, String id, boolean daylight, int style)Returns the appropriate string from 'zoneStrings'.static StringICU. getDisplayVariantNative(String variantCode, String locale)static CollationElementIteratorICUCollationElementIteratorICU. getInstance(long collatorAddress, String source)static StringICU. getISO3CountryNative(String locale)static StringICU. getISO3LanguageNative(String locale)static StringICU. getScript(String locale)static byte[]NativeCollation. getSortKey(long address, String source)static LocaleICU. localeFromString(String localeName)Returns the appropriateLocalegiven aStringof the form returned bytoString.static Locale[]ICU. localesFromStrings(String[] localeNames)static longNativeCollation. openCollator(String locale)static longNativeCollation. openCollatorFromRules(String rules, int normalizationMode, int collationStrength)static longNativeConverter. openConverter(String charsetName)NumberNativeDecimalFormat. parse(String string, ParsePosition position)voidNativeDecimalFormat. setNegativePrefix(String value)voidNativeDecimalFormat. setNegativeSuffix(String value)voidNativeDecimalFormat. setPositivePrefix(String value)voidNativeDecimalFormat. setPositiveSuffix(String value)voidCollationElementIteratorICU. setText(String source)Set the text containing the collation elements.voidNativeBreakIterator. setText(String newText)static voidNativeCollation. setText(long address, String source)static StringNativeIDN. toASCII(String s, int flags)static StringICU. toLowerCase(String s, String localeName)static StringNativeIDN. toUnicode(String s, int flags)static StringICU. toUpperCase(String s, String localeName)StringTransliterator. transliterate(String s)Transliterates the specified string.Constructors in libcore.icu with parameters of type String Constructor Description NativeDecimalFormat(String pattern, DecimalFormatSymbols dfs)NativeDecimalFormat(String pattern, LocaleData data)RuleBasedCollatorICU(String rules)Transliterator(String id)Creates a new Transliterator for the given id. -
Uses of String in libcore.internal
Methods in libcore.internal that return String Modifier and Type Method Description StringStringPool. get(char[] array, int start, int length)Returns a string equal tonew String(array, start, length). -
Uses of String in libcore.io
Fields in libcore.io declared as String Modifier and Type Field Description StringStructUtsname. machineThe machine architecture, such as "armv7l" or "x86_64".StringStructUtsname. nodenameThe machine's unqualified name on some implementation-defined network.StringStructPasswd. pw_dirStringStructPasswd. pw_nameStringStructPasswd. pw_shellStringStructUtsname. releaseThe OS release, such as "2.6.35-27-generic".StringStructUtsname. sysnameThe OS name, such as "Linux".StringStructUtsname. versionThe OS version, such as "#48-Ubuntu SMP Tue Feb 22 20:25:29 UTC 2011".Methods in libcore.io that return String Modifier and Type Method Description static StringBase64. encode(byte[] in)String[]ForwardingOs. environ()String[]Os. environ()String[]Posix. environ()static StringOsConstants. errnoName(int errno)StringForwardingOs. gai_strerror(int error)StringOs. gai_strerror(int error)StringPosix. gai_strerror(int error)static StringOsConstants. gaiName(int error)StringForwardingOs. getenv(String name)StringOs. getenv(String name)StringPosix. getenv(String name)StringErrnoException. getMessage()Converts the stashed function name and errno value to a human-readable string.StringGaiException. getMessage()Converts the stashed function name and error value to a human-readable string.StringForwardingOs. getnameinfo(InetAddress address, int flags)StringOs. getnameinfo(InetAddress address, int flags)StringPosix. getnameinfo(InetAddress address, int flags)StringForwardingOs. if_indextoname(int index)StringOs. if_indextoname(int index)StringPosix. if_indextoname(int index)static StringStreams. readAsciiLine(InputStream in)Returns the ASCII characters up to but not including the next "\r\n", or "\n".static StringIoUtils. readFileAsString(String absolutePath)Returns the contents of 'path' as a string.static StringStreams. readFully(Reader reader)Returns the remainder of 'reader' as a string, closing it when done.StringStrictLineReader. readLine()Reads the next line.StringForwardingOs. strerror(int errno)StringOs. strerror(int errno)StringPosix. strerror(int errno)StringForwardingOs. strsignal(int signal)StringOs. strsignal(int signal)StringPosix. strsignal(int signal)StringStructGroupReq. toString()StringStructLinger. toString()StringStructPollfd. toString()StringStructTimeval. toString()StringStructUcred. toString()Methods in libcore.io with parameters of type String Modifier and Type Method Description booleanForwardingOs. access(String path, int mode)booleanOs. access(String path, int mode)booleanPosix. access(String path, int mode)static voidDropBox. addData(String tag, byte[] data, int flags)voidDropBox.Reporter. addData(String tag, byte[] data, int flags)static voidDropBox. addText(String tag, String data)voidDropBox.Reporter. addText(String tag, String data)static booleanIoUtils. canOpenReadOnly(String path)Do not use.voidForwardingOs. chmod(String path, int mode)voidOs. chmod(String path, int mode)voidPosix. chmod(String path, int mode)voidForwardingOs. chown(String path, int uid, int gid)voidOs. chown(String path, int uid, int gid)voidPosix. chown(String path, int uid, int gid)static FileIoUtils. createTemporaryDirectory(String prefix)Creates a unique new temporary directory under "java.io.tmpdir".voidForwardingOs. execv(String filename, String[] argv)voidOs. execv(String filename, String[] argv)voidPosix. execv(String filename, String[] argv)voidForwardingOs. execve(String filename, String[] argv, String[] envp)voidOs. execve(String filename, String[] argv, String[] envp)voidPosix. execve(String filename, String[] argv, String[] envp)InetAddress[]ForwardingOs. getaddrinfo(String node, StructAddrinfo hints)InetAddress[]Os. getaddrinfo(String node, StructAddrinfo hints)InetAddress[]Posix. getaddrinfo(String node, StructAddrinfo hints)StringForwardingOs. getenv(String name)StringOs. getenv(String name)StringPosix. getenv(String name)StructPasswdForwardingOs. getpwnam(String name)StructPasswdOs. getpwnam(String name)StructPasswdPosix. getpwnam(String name)InetAddressForwardingOs. inet_pton(int family, String address)InetAddressOs. inet_pton(int family, String address)InetAddressPosix. inet_pton(int family, String address)InetAddressForwardingOs. ioctlInetAddress(FileDescriptor fd, int cmd, String interfaceName)InetAddressOs. ioctlInetAddress(FileDescriptor fd, int cmd, String interfaceName)InetAddressPosix. ioctlInetAddress(FileDescriptor fd, int cmd, String interfaceName)voidForwardingOs. lchown(String path, int uid, int gid)voidOs. lchown(String path, int uid, int gid)voidPosix. lchown(String path, int uid, int gid)StructStatForwardingOs. lstat(String path)StructStatOs. lstat(String path)StructStatPosix. lstat(String path)voidForwardingOs. mkdir(String path, int mode)voidOs. mkdir(String path, int mode)voidPosix. mkdir(String path, int mode)static MemoryMappedFileMemoryMappedFile. mmapRO(String path)Use this to mmap the whole file read-only.FileDescriptorBlockGuardOs. open(String path, int flags, int mode)FileDescriptorForwardingOs. open(String path, int flags, int mode)static FileDescriptorIoBridge. open(String path, int flags)java.io only throws FileNotFoundException when opening files, regardless of what actually went wrong.FileDescriptorOs. open(String path, int flags, int mode)FileDescriptorPosix. open(String path, int flags, int mode)static byte[]IoUtils. readFileAsByteArray(String absolutePath)Returns the contents of 'path' as a byte array.static StringIoUtils. readFileAsString(String absolutePath)Returns the contents of 'path' as a string.voidForwardingOs. remove(String path)voidOs. remove(String path)voidPosix. remove(String path)voidForwardingOs. rename(String oldPath, String newPath)voidOs. rename(String oldPath, String newPath)voidPosix. rename(String oldPath, String newPath)UnknownHostExceptionGaiException. rethrowAsUnknownHostException(String detailMessage)voidForwardingOs. setenv(String name, String value, boolean overwrite)voidOs. setenv(String name, String value, boolean overwrite)voidPosix. setenv(String name, String value, boolean overwrite)voidForwardingOs. setsockoptIfreq(FileDescriptor fd, int level, int option, String value)voidOs. setsockoptIfreq(FileDescriptor fd, int level, int option, String value)voidPosix. setsockoptIfreq(FileDescriptor fd, int level, int option, String value)StructStatForwardingOs. stat(String path)StructStatOs. stat(String path)StructStatPosix. stat(String path)StructStatVfsForwardingOs. statvfs(String path)StructStatVfsOs. statvfs(String path)StructStatVfsPosix. statvfs(String path)voidForwardingOs. symlink(String oldPath, String newPath)voidOs. symlink(String oldPath, String newPath)voidPosix. symlink(String oldPath, String newPath)voidForwardingOs. unsetenv(String name)voidOs. unsetenv(String name)voidPosix. unsetenv(String name)Constructors in libcore.io with parameters of type String Constructor Description ErrnoException(String functionName, int errno)ErrnoException(String functionName, int errno, Throwable cause)GaiException(String functionName, int error)GaiException(String functionName, int error, Throwable cause)StructPasswd(String pw_name, int pw_uid, int pw_gid, String pw_dir, String pw_shell) -
Uses of String in libcore.net
Methods in libcore.net that return String Modifier and Type Method Description static StringUriCodec. decode(String s)static StringUriCodec. decode(String s, boolean convertPlus, Charset charset, boolean throwOnFailure)StringUriCodec. encode(String s, Charset charset)static StringMimeUtils. guessExtensionFromMimeType(String mimeType)Returns the registered extension for the given MIME type.static StringMimeUtils. guessMimeTypeFromExtension(String extension)Returns the MIME type for the given extension.StringUriCodec. validate(String uri, int start, int end, String name)Throws ifsis invalid according to this encoder.Methods in libcore.net with parameters of type String Modifier and Type Method Description voidUriCodec. appendEncoded(StringBuilder builder, String s)voidUriCodec. appendPartiallyEncoded(StringBuilder builder, String s)static StringUriCodec. decode(String s)static StringUriCodec. decode(String s, boolean convertPlus, Charset charset, boolean throwOnFailure)StringUriCodec. encode(String s, Charset charset)static StringMimeUtils. guessExtensionFromMimeType(String mimeType)Returns the registered extension for the given MIME type.static StringMimeUtils. guessMimeTypeFromExtension(String extension)Returns the MIME type for the given extension.static booleanMimeUtils. hasExtension(String extension)Returns true if the given extension has a registered MIME type.static booleanMimeUtils. hasMimeType(String mimeType)Returns true if the given MIME type has an entry in the map.StringUriCodec. validate(String uri, int start, int end, String name)Throws ifsis invalid according to this encoder.static voidUriCodec. validateSimple(String s, String legal)Throws ifscontains characters that are not letters, digits or inlegal.Constructors in libcore.net with parameters of type String Constructor Description RawSocket(String interfaceName, short protocolType)Creates a socket on the specified interface. -
Uses of String in libcore.net.http
Methods in libcore.net.http that return String Modifier and Type Method Description static StringHttpDate. format(Date value)Returns the string forvalue.Methods in libcore.net.http with parameters of type String Modifier and Type Method Description static DateHttpDate. parse(String value)Returns the date forvalue. -
Uses of String in libcore.net.url
Methods in libcore.net.url that return String Modifier and Type Method Description static StringUrlUtils. authoritySafePath(String authority, String path)Returns a path that can be safely concatenated withauthority.static StringUrlUtils. canonicalizePath(String path, boolean discardRelativePrefix)Returns the path will relative path segments like ".." and "." resolved.StringFileURLConnection. getContentType()Returns the content type of the resource.StringFtpURLConnection. getContentType()Returns the content type of the resource.StringJarURLConnectionImpl. getContentType()Returns the content type of the resource.static StringUrlUtils. getSchemePrefix(String spec)Returns the scheme prefix like "http" from the URL spec, or null if the spec doesn't start with a scheme.protected StringJarHandler. toExternalForm(URL url)Build and return the externalized string representation of url.Methods in libcore.net.url with parameters of type String Modifier and Type Method Description static StringUrlUtils. authoritySafePath(String authority, String path)Returns a path that can be safely concatenated withauthority.static StringUrlUtils. canonicalizePath(String path, boolean discardRelativePrefix)Returns the path will relative path segments like ".." and "." resolved.static intUrlUtils. findFirstOf(String string, String chars, int start, int end)Returns the index of the first char ofcharsinstringbounded betweenstartandend.static StringUrlUtils. getSchemePrefix(String spec)Returns the scheme prefix like "http" from the URL spec, or null if the spec doesn't start with a scheme.protected voidFileHandler. parseURL(URL url, String spec, int start, int end)Parse thestringstr intoURLu which already have the context properties.protected voidJarHandler. parseURL(URL url, String spec, int start, int limit) -
Uses of String in libcore.reflect
Fields in libcore.reflect declared as String Modifier and Type Field Description protected StringAnnotationMember. nameMethods in libcore.reflect that return String Modifier and Type Method Description static StringInternalNames. getInternalName(Class<?> c)StringTypeVariableImpl. getName()static StringTypes. getSignature(Class<?> clazz)Returns the internal name ofclazz(also known as the descriptor).StringAnnotationFactory. toString()Provides detailed description of this annotation instance, including all member name-values pairs.StringAnnotationMember. toString()Returns readable description of this annotation value.StringGenericArrayTypeImpl. toString()StringListOfTypes. toString()StringParameterizedTypeImpl. toString()static StringTypes. toString(Class<?>[] types)Returns the names oftypesseparated by commas.StringTypeVariableImpl. toString()StringWildcardTypeImpl. toString()Methods in libcore.reflect with parameters of type String Modifier and Type Method Description static Class<?>InternalNames. getClass(ClassLoader classLoader, String internalName)voidGenericSignatureParser. parseForClass(GenericDeclaration genericDecl, String signature)Parses the generic signature of a class and creates the data structure representing the signature.voidGenericSignatureParser. parseForConstructor(GenericDeclaration genericDecl, String signature, Class<?>[] rawExceptionTypes)Parses the generic signature of a constructor and creates the data structure representing the signature.voidGenericSignatureParser. parseForField(GenericDeclaration genericDecl, String signature)Parses the generic signature of a field and creates the data structure representing the signature.voidGenericSignatureParser. parseForMethod(GenericDeclaration genericDecl, String signature, Class<?>[] rawExceptionTypes)Parses the generic signature of a method and creates the data structure representing the signature.Constructors in libcore.reflect with parameters of type String Constructor Description AnnotationMember(String name, Object val)Creates a new element with specified name and value.AnnotationMember(String name, Object val, Class type, Method m)Creates the completely defined element.ParameterizedTypeImpl(ParameterizedTypeImpl ownerType, String rawTypeName, ListOfTypes args, ClassLoader loader) -
Uses of String in libcore.util
Fields in libcore.util declared as String Modifier and Type Field Description static String[]EmptyArray. STRINGMethods in libcore.util that return String Modifier and Type Method Description abstract String[]ZoneInfoDB.TzData. getAvailableIDs()abstract String[]ZoneInfoDB.TzData. getAvailableIDs(int rawOffset)String[]ZoneInfoDB.TzDataAndroid. getAvailableIDs()String[]ZoneInfoDB.TzDataAndroid. getAvailableIDs(int rawOffset)StringZoneInfoDB.TzData. getDefaultID()abstract StringZoneInfoDB.TzData. getVersion()StringZoneInfoDB.TzDataAndroid. getVersion()abstract StringZoneInfoDB.TzData. getZoneTab()StringZoneInfoDB.TzDataAndroid. getZoneTab()static StringObjects. toString(Object o)Returns a string reporting the value of each declared field, via reflection.StringZoneInfo. toString()Methods in libcore.util with parameters of type String Modifier and Type Method Description static TimeZoneZoneInfo. makeTimeZone(String id, BufferIterator it)abstract TimeZoneZoneInfoDB.TzData. makeTimeZone(String id)TimeZoneZoneInfoDB.TzDataAndroid. makeTimeZone(String id)Constructors in libcore.util with parameters of type String Constructor Description TzDataAndroid(String... paths) -
Uses of String in org.apache.commons.codec
Methods in org.apache.commons.codec that return String Modifier and Type Method Description StringStringDecoder. decode(String pString)Decodes a String and returns a String.StringStringEncoder. encode(String pString)Encodes a String and returns a String.Methods in org.apache.commons.codec with parameters of type String Modifier and Type Method Description StringStringDecoder. decode(String pString)Decodes a String and returns a String.StringStringEncoder. encode(String pString)Encodes a String and returns a String.Constructors in org.apache.commons.codec with parameters of type String Constructor Description DecoderException(String pMessage)Creates a DecoderExceptionEncoderException(String pMessage)Creates a new instance of this exception with an useful message. -
Uses of String in org.apache.commons.codec.binary
Methods in org.apache.commons.codec.binary that return String Modifier and Type Method Description static StringBinaryCodec. toAsciiString(byte[] raw)Converts an array of raw binary data into a String of ascii 0 and 1 characters.Methods in org.apache.commons.codec.binary with parameters of type String Modifier and Type Method Description byte[]BinaryCodec. toByteArray(String ascii)Decodes a String where each char of the String represents an ascii '0' or '1'. -
Uses of String in org.apache.commons.codec.language
Fields in org.apache.commons.codec.language declared as String Modifier and Type Field Description static StringSoundex. US_ENGLISH_MAPPING_STRINGThis is a default mapping of the 26 letters used in US English.Methods in org.apache.commons.codec.language that return String Modifier and Type Method Description StringDoubleMetaphone. doubleMetaphone(String value)Encode a value with Double MetaphoneStringDoubleMetaphone. doubleMetaphone(String value, boolean alternate)Encode a value with Double Metaphone, optionally using the alternate encoding.StringDoubleMetaphone. encode(String value)Encode the value using DoubleMetaphone.StringMetaphone. encode(String pString)Encodes a String using the Metaphone algorithm.StringRefinedSoundex. encode(String pString)Encodes a String using the refined soundex algorithm.StringSoundex. encode(String pString)Encodes a String using the soundex algorithm.StringDoubleMetaphone.DoubleMetaphoneResult. getAlternate()StringDoubleMetaphone.DoubleMetaphoneResult. getPrimary()StringMetaphone. metaphone(String txt)Find the metaphone value of a String.StringRefinedSoundex. soundex(String str)Retreives the Refined Soundex code for a given String object.StringSoundex. soundex(String str)Retreives the Soundex code for a given String object.Methods in org.apache.commons.codec.language with parameters of type String Modifier and Type Method Description voidDoubleMetaphone.DoubleMetaphoneResult. append(String value)voidDoubleMetaphone.DoubleMetaphoneResult. append(String primary, String alternate)voidDoubleMetaphone.DoubleMetaphoneResult. appendAlternate(String value)voidDoubleMetaphone.DoubleMetaphoneResult. appendPrimary(String value)protected charDoubleMetaphone. charAt(String value, int index)Gets the character at indexindexif available, otherwise it returnsCharacter.MIN_VALUEso that there is some sort of a defaultprotected static booleanDoubleMetaphone. contains(String value, int start, int length, String[] criteria)Determines whethervaluecontains any of the criteria starting at indexstartand matching up to lengthlengthintRefinedSoundex. difference(String s1, String s2)Returns the number of characters in the two encoded Strings that are the same.intSoundex. difference(String s1, String s2)Encodes the Strings and returns the number of characters in the two encoded Strings that are the same.StringDoubleMetaphone. doubleMetaphone(String value)Encode a value with Double MetaphoneStringDoubleMetaphone. doubleMetaphone(String value, boolean alternate)Encode a value with Double Metaphone, optionally using the alternate encoding.StringDoubleMetaphone. encode(String value)Encode the value using DoubleMetaphone.StringMetaphone. encode(String pString)Encodes a String using the Metaphone algorithm.StringRefinedSoundex. encode(String pString)Encodes a String using the refined soundex algorithm.StringSoundex. encode(String pString)Encodes a String using the soundex algorithm.booleanDoubleMetaphone. isDoubleMetaphoneEqual(String value1, String value2)Check if the Double Metaphone values of twoStringvalues are equal.booleanDoubleMetaphone. isDoubleMetaphoneEqual(String value1, String value2, boolean alternate)Check if the Double Metaphone values of twoStringvalues are equal, optionally using the alternate value.booleanMetaphone. isMetaphoneEqual(String str1, String str2)Tests is the metaphones of two strings are identical.StringMetaphone. metaphone(String txt)Find the metaphone value of a String.StringRefinedSoundex. soundex(String str)Retreives the Refined Soundex code for a given String object.StringSoundex. soundex(String str)Retreives the Soundex code for a given String object. -
Uses of String in org.apache.commons.codec.net
Fields in org.apache.commons.codec.net declared as String Modifier and Type Field Description protected StringURLCodec. charsetThe default charset used for string decoding and encoding.Methods in org.apache.commons.codec.net that return String Modifier and Type Method Description StringBCodec. decode(String value)Decodes a Base64 string into its original form.StringQCodec. decode(String pString)Decodes a quoted-printable string into its original form.StringQuotedPrintableCodec. decode(String pString)Decodes a quoted-printable string into its original form using the default string charset.StringQuotedPrintableCodec. decode(String pString, String charset)Decodes a quoted-printable string into its original form using the specified string charset.StringURLCodec. decode(String pString)Decodes a URL safe string into its original form using the default string charset.StringURLCodec. decode(String pString, String charset)Decodes a URL safe string into its original form using the specified encoding.StringBCodec. encode(String value)Encodes a string into its Base64 form using the default charset.StringBCodec. encode(String value, String charset)Encodes a string into its Base64 form using the specified charset.StringQCodec. encode(String pString)Encodes a string into its quoted-printable form using the default charset.StringQCodec. encode(String pString, String charset)Encodes a string into its quoted-printable form using the specified charset.StringQuotedPrintableCodec. encode(String pString)Encodes a string into its quoted-printable form using the default string charset.StringQuotedPrintableCodec. encode(String pString, String charset)Encodes a string into its quoted-printable form using the specified charset.StringURLCodec. encode(String pString)Encodes a string into its URL safe form using the default string charset.StringURLCodec. encode(String pString, String charset)Encodes a string into its URL safe form using the specified string charset.StringBCodec. getDefaultCharset()The default charset used for string decoding and encoding.StringQCodec. getDefaultCharset()The default charset used for string decoding and encoding.StringQuotedPrintableCodec. getDefaultCharset()Returns the default charset used for string decoding and encoding.StringURLCodec. getDefaultCharset()The default charset used for string decoding and encoding.protected StringBCodec. getEncoding()protected StringQCodec. getEncoding()StringURLCodec. getEncoding()Deprecated.use #getDefaultCharset()Methods in org.apache.commons.codec.net with parameters of type String Modifier and Type Method Description StringBCodec. decode(String value)Decodes a Base64 string into its original form.StringQCodec. decode(String pString)Decodes a quoted-printable string into its original form.StringQuotedPrintableCodec. decode(String pString)Decodes a quoted-printable string into its original form using the default string charset.StringQuotedPrintableCodec. decode(String pString, String charset)Decodes a quoted-printable string into its original form using the specified string charset.StringURLCodec. decode(String pString)Decodes a URL safe string into its original form using the default string charset.StringURLCodec. decode(String pString, String charset)Decodes a URL safe string into its original form using the specified encoding.StringBCodec. encode(String value)Encodes a string into its Base64 form using the default charset.StringBCodec. encode(String value, String charset)Encodes a string into its Base64 form using the specified charset.StringQCodec. encode(String pString)Encodes a string into its quoted-printable form using the default charset.StringQCodec. encode(String pString, String charset)Encodes a string into its quoted-printable form using the specified charset.StringQuotedPrintableCodec. encode(String pString)Encodes a string into its quoted-printable form using the default string charset.StringQuotedPrintableCodec. encode(String pString, String charset)Encodes a string into its quoted-printable form using the specified charset.StringURLCodec. encode(String pString)Encodes a string into its URL safe form using the default string charset.StringURLCodec. encode(String pString, String charset)Encodes a string into its URL safe form using the specified string charset.Constructors in org.apache.commons.codec.net with parameters of type String Constructor Description BCodec(String charset)Constructor which allows for the selection of a default charsetQCodec(String charset)Constructor which allows for the selection of a default charsetQuotedPrintableCodec(String charset)Constructor which allows for the selection of a default charsetURLCodec(String charset)Constructor which allows for the selection of a default charset -
Uses of String in org.apache.commons.logging
Fields in org.apache.commons.logging declared as String Modifier and Type Field Description static StringLogFactory. DIAGNOSTICS_DEST_PROPERTYThe name (org.apache.commons.logging.diagnostics.dest) of the property used to enable internal commons-logging diagnostic output, in order to get information on what logging implementations are being discovered, what classloaders they are loaded through, etc.static StringLogFactory. FACTORY_DEFAULTThe fully qualified class name of the fallbackLogFactoryimplementation class to use, if no other can be found.static StringLogFactory. FACTORY_PROPERTIESThe name (commons-logging.properties) of the properties file to search for.static StringLogFactory. FACTORY_PROPERTYThe name (org.apache.commons.logging.LogFactory) of the property used to identify the LogFactory implementation class name.static StringLogFactory. HASHTABLE_IMPLEMENTATION_PROPERTYSetting this system property (org.apache.commons.logging.LogFactory.HashtableImpl) value allows theHashtableused to store classloaders to be substituted by an alternative implementation.static StringLogFactory. PRIORITY_KEYThe name (priority) of the key in the config file used to specify the priority of that particular config file.protected static StringLogFactory. SERVICE_IDJDK1.3+ 'Service Provider' specification.static StringLogFactory. TCCL_KEYThe name (use_tccl) of the key in the config file used to specify whether logging classes should be loaded via the thread context class loader (TCCL), or not.Methods in org.apache.commons.logging that return String Modifier and Type Method Description abstract String[]LogFactory. getAttributeNames()Return an array containing the names of all currently defined configuration attributes.static String[]LogSource. getLogNames()Deprecated.Returns aStringarray containing the names of all logs known to me.static StringLogFactory. objectId(Object o)Returns a string that uniquely identifies the specified object, including its class.Methods in org.apache.commons.logging with parameters of type String Modifier and Type Method Description protected static ObjectLogFactory. createFactory(String factoryClass, ClassLoader classLoader)Implements the operations described in the javadoc for newFactory.abstract ObjectLogFactory. getAttribute(String name)Return the configuration attribute with the specified name (if any), ornullif there is no such attribute.abstract LogLogFactory. getInstance(String name)Construct (if necessary) and return aLoginstance, using the factory's current set of configuration attributes.static LogLogSource. getInstance(String name)Deprecated.Get aLoginstance by class namestatic LogLogFactory. getLog(String name)Convenience method to return a named logger, without the application having to care about factories.protected static voidLogFactory. logRawDiagnostic(String msg)Write the specified message to the internal logging destination.static LogLogSource. makeNewLogInstance(String name)Deprecated.Create a newLogimplementation, based on the given name.protected static LogFactoryLogFactory. newFactory(String factoryClass, ClassLoader classLoader)Method provided for backwards compatibility; see newFactory version that takes 3 parameters.protected static LogFactoryLogFactory. newFactory(String factoryClass, ClassLoader classLoader, ClassLoader contextClassLoader)Return a new instance of the specifiedLogFactoryimplementation class, loaded by the specified class loader.abstract voidLogFactory. removeAttribute(String name)Remove any configuration attribute associated with the specified name.abstract voidLogFactory. setAttribute(String name, Object value)Set the configuration attribute with the specified name.static voidLogSource. setLogImplementation(String classname)Deprecated.Set the log implementation/log implementation factory by the name of the class.Constructors in org.apache.commons.logging with parameters of type String Constructor Description LogConfigurationException(String message)Construct a new exception with the specified detail message.LogConfigurationException(String message, Throwable cause)Construct a new exception with the specified detail message and cause. -
Uses of String in org.apache.commons.logging.impl
Fields in org.apache.commons.logging.impl declared as String Modifier and Type Field Description static StringLogFactoryImpl. ALLOW_FLAWED_CONTEXT_PROPERTYThe name (org.apache.commons.logging.Log.allowFlawedContext) of the system property which can be set true/false to determine system behaviour when a bad context-classloader is encountered.static StringLogFactoryImpl. ALLOW_FLAWED_DISCOVERY_PROPERTYThe name (org.apache.commons.logging.Log.allowFlawedDiscovery) of the system property which can be set true/false to determine system behaviour when a bad logging adapter class is encountered during logging discovery.static StringLogFactoryImpl. ALLOW_FLAWED_HIERARCHY_PROPERTYThe name (org.apache.commons.logging.Log.allowFlawedHierarchy) of the system property which can be set true/false to determine system behaviour when a logging adapter class is encountered which has bound to the wrong Log class implementation.protected static StringSimpleLog. dateTimeFormatThe date and time format to use in the log messageprotected static StringSimpleLog. DEFAULT_DATE_TIME_FORMATThe default format to use when formating datesstatic StringLogFactoryImpl. LOG_PROPERTYThe name (org.apache.commons.logging.Log) of the system property identifying ourLogimplementation class.protected static StringLogFactoryImpl. LOG_PROPERTY_OLDThe deprecated system property used for backwards compatibility with old versions of JCL.protected StringSimpleLog. logNameThe name of this simple log instanceprotected StringJdk14Logger. nameThe name of the logger we are wrapping.protected static StringSimpleLog. systemPrefixAll system properties used bySimpleLogstart with thisMethods in org.apache.commons.logging.impl that return String Modifier and Type Method Description String[]LogFactoryImpl. getAttributeNames()Return an array containing the names of all currently defined configuration attributes.protected StringLogFactoryImpl. getLogClassName()Deprecated.Never invoked by this class; subclasses should not assume it will be.StringWeakHashtable. toString()Methods in org.apache.commons.logging.impl with parameters of type String Modifier and Type Method Description ObjectLogFactoryImpl. getAttribute(String name)Return the configuration attribute with the specified name (if any), ornullif there is no such attribute.LogLogFactoryImpl. getInstance(String name)Construct (if necessary) and return aLoginstance, using the factory's current set of configuration attributes.protected voidLogFactoryImpl. logDiagnostic(String msg)Output a diagnostic message to a user-specified destination (if the user has enabled diagnostic logging).protected LogLogFactoryImpl. newInstance(String name)Create and return a newLoginstance for the specified name.voidLogFactoryImpl. removeAttribute(String name)Remove any configuration attribute associated with the specified name.voidLogFactoryImpl. setAttribute(String name, Object value)Set the configuration attribute with the specified name.Constructors in org.apache.commons.logging.impl with parameters of type String Constructor Description Jdk14Logger(String name)Construct a named instance of this Logger.NoOpLog(String name)Base constructorSimpleLog(String name)Construct a simple log with given name. -
Uses of String in org.apache.harmony.crypto.internal
Methods in org.apache.harmony.crypto.internal with parameters of type String Modifier and Type Method Description voidNullCipherSpi. engineSetMode(String arg0)voidNullCipherSpi. engineSetPadding(String arg0)KeyNullCipherSpi. engineUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, int wrappedKeyType) -
Uses of String in org.apache.harmony.luni.internal.util
Methods in org.apache.harmony.luni.internal.util that return String Modifier and Type Method Description abstract StringTimezoneGetter. getId()Retrieves the ID of the current time zone. -
Uses of String in org.apache.harmony.luni.util
Methods in org.apache.harmony.luni.util with parameters of type String Modifier and Type Method Description voidDeleteOnExit. addFile(String filename)Schedules a file for deletion. -
Uses of String in org.apache.harmony.security
Methods in org.apache.harmony.security that return String Modifier and Type Method Description StringPrivateKeyImpl. getAlgorithm()StringPublicKeyImpl. getAlgorithm()StringPrivateKeyImpl. getFormat()StringPublicKeyImpl. getFormat()Methods in org.apache.harmony.security with parameters of type String Modifier and Type Method Description IdentitySystemScope. getIdentity(String name)voidPrivateKeyImpl. setAlgorithm(String algorithm)voidPublicKeyImpl. setAlgorithm(String algorithm)Constructors in org.apache.harmony.security with parameters of type String Constructor Description PrivateKeyImpl(String algorithm)PublicKeyImpl(String algorithm)SystemScope(String name)SystemScope(String name, IdentityScope scope) -
Uses of String in org.apache.harmony.security.asn1
Methods in org.apache.harmony.security.asn1 that return String Modifier and Type Method Description StringASN1Explicit. toString()StringASN1Type. toString()StringObjectIdentifier. toString()static StringObjectIdentifier. toString(int[] oid)Returns string representation of OID.Methods in org.apache.harmony.security.asn1 with parameters of type String Modifier and Type Method Description static booleanObjectIdentifier. isOID(String str)Returns whether the given string is a valid ObjectIdentifier (OID) representation.static int[]ObjectIdentifier. toIntArray(String str)Gets ObjectIdentifier (OID) from string representation.Constructors in org.apache.harmony.security.asn1 with parameters of type String Constructor Description ASN1Exception(String message)ObjectIdentifier(String strOid)Creates ObjectIdentifier(OID) from string representation. -
Uses of String in org.apache.harmony.security.fortress
Methods in org.apache.harmony.security.fortress that return types with arguments of type String Modifier and Type Method Description List<String>SecurityAccess. getAliases(Provider.Service s)Access to Service.getAliases()Methods in org.apache.harmony.security.fortress with parameters of type String Modifier and Type Method Description Engine.SpiAndProviderEngine. getInstance(String algorithm, Object param)Finds the appropriate service implementation and returns anSpiAndProviderinstance containing a reference to SPI and itsProviderObjectEngine. getInstance(String algorithm, Provider provider, Object param)Finds the appropriate service implementation and returns and instance of the class that implements corresponding Service Provider Interface.static ProviderServices. getProvider(String name)Returns the provider with the specified name.Provider.ServiceSecurityAccess. getService(Provider p, String type)Access to Provider.getService(String type)static Provider.ServiceServices. getService(String key)Looks up the requested service by type and algorithm.Constructors in org.apache.harmony.security.fortress with parameters of type String Constructor Description Engine(String service)Creates a Engine object -
Uses of String in org.apache.harmony.security.pkcs10
Methods in org.apache.harmony.security.pkcs10 that return String Modifier and Type Method Description StringCertificationRequestInfo. toString() -
Uses of String in org.apache.harmony.security.pkcs7
Methods in org.apache.harmony.security.pkcs7 that return String Modifier and Type Method Description StringSignerInfo. getDigestAlgorithm()StringSignerInfo. getDigestAlgorithmName()StringSignerInfo. getDigestEncryptionAlgorithm()StringSignerInfo. getDigestEncryptionAlgorithmName()StringContentInfo. toString()StringSignedData. toString()StringSignerInfo. toString() -
Uses of String in org.apache.harmony.security.provider.cert
Methods in org.apache.harmony.security.provider.cert that return String Modifier and Type Method Description StringX509CertImpl. getSigAlgName()StringX509CRLImpl. getSigAlgName()StringX509CertImpl. getSigAlgOID()StringX509CRLImpl. getSigAlgOID()StringX509CertImpl. toString()StringX509CRLEntryImpl. toString()StringX509CRLImpl. toString()Methods in org.apache.harmony.security.provider.cert that return types with arguments of type String Modifier and Type Method Description Iterator<String>X509CertFactoryImpl. engineGetCertPathEncodings()Set<String>X509CertImpl. getCriticalExtensionOIDs()Iterator<String>X509CertPathImpl. getEncodings()List<String>X509CertImpl. getExtendedKeyUsage()Set<String>X509CertImpl. getNonCriticalExtensionOIDs()Methods in org.apache.harmony.security.provider.cert with parameters of type String Modifier and Type Method Description CertPathX509CertFactoryImpl. engineGenerateCertPath(InputStream inStream, String encoding)byte[]X509CertPathImpl. getEncoded(String encoding)byte[]X509CertImpl. getExtensionValue(String oid)byte[]X509CRLEntryImpl. getExtensionValue(String oid)byte[]X509CRLImpl. getExtensionValue(String oid)static X509CertPathImplX509CertPathImpl. getInstance(byte[] in, String encoding)Generates certification path object on the base of encoding provided via array of bytes.static X509CertPathImplX509CertPathImpl. getInstance(InputStream in, String encoding)Generates certification path object on the basis of encoding provided via input stream.voidX509CertImpl. verify(PublicKey key, String sigProvider)voidX509CRLImpl. verify(PublicKey key, String sigProvider) -
Uses of String in org.apache.harmony.security.provider.crypto
Methods in org.apache.harmony.security.provider.crypto with parameters of type String Modifier and Type Method Description protected ObjectSHA1withDSA_SignatureImpl. engineGetParameter(String param)Deprecated method.protected voidSHA1withDSA_SignatureImpl. engineSetParameter(String param, Object value) -
Uses of String in org.apache.harmony.security.utils
Methods in org.apache.harmony.security.utils that return String Modifier and Type Method Description static StringArray. getBytesAsString(byte[] data)StringObjectIdentifier. getName()Gets OID's name.static StringAlgNameMapper. getStandardName(String algName)Returns Algorithm name for given algorithm aliasstatic StringAlgNameMapper. map2AlgName(String oid)Returns algName for OIDstatic StringAlgNameMapper. map2OID(String algName)Returns OID for algNameStringAlgNameMapperSource. mapNameToOid(String algName)StringAlgNameMapperSource. mapOidToName(String oid)static StringAlgNameMapper. normalize(String oid)Removes leading "OID." from oid String passedStringObjectIdentifier. toOIDString()Add "OID." to the beginning of string representation.static StringArray. toString(byte[] array, String prefix)RepresentsarrayasStringfor printing.StringObjectIdentifier. toString()Overrides Object.toString()Methods in org.apache.harmony.security.utils with parameters of type String Modifier and Type Method Description static StringAlgNameMapper. getStandardName(String algName)Returns Algorithm name for given algorithm aliasstatic booleanAlgNameMapper. isOID(String alias)Checks if parameter represents OIDstatic StringAlgNameMapper. map2AlgName(String oid)Returns algName for OIDstatic StringAlgNameMapper. map2OID(String algName)Returns OID for algNameStringAlgNameMapperSource. mapNameToOid(String algName)StringAlgNameMapperSource. mapOidToName(String oid)static StringAlgNameMapper. normalize(String oid)Removes leading "OID." from oid String passedstatic StringArray. toString(byte[] array, String prefix)RepresentsarrayasStringfor printing.Constructors in org.apache.harmony.security.utils with parameters of type String Constructor Description ObjectIdentifier(int[] oid, String name, Object oidGroup)Creates ObjectIdentifier(OID) from array of integers. -
Uses of String in org.apache.harmony.security.x501
Fields in org.apache.harmony.security.x501 declared as String Modifier and Type Field Description StringAttributeValue. escapedStringStringAttributeValue. rawStringMethods in org.apache.harmony.security.x501 that return String Modifier and Type Method Description StringAttributeValue. getHexString()StringName. getName(String format)Returns Relative Distinguished Name asStringaccording the format requestedStringAttributeValue. makeCanonical()Methods in org.apache.harmony.security.x501 with parameters of type String Modifier and Type Method Description voidAttributeTypeAndValue. appendName(String attrFormat, StringBuilder sb)Appends AttributeTypeAndValue string representationStringName. getName(String format)Returns Relative Distinguished Name asStringaccording the format requestedstatic ObjectIdentifierAttributeTypeAndValue. getObjectIdentifier(String sOid)Parses OID string representation.Constructors in org.apache.harmony.security.x501 with parameters of type String Constructor Description AttributeValue(String parsedString, boolean hasQorE, ObjectIdentifier oid)AttributeValue(String hexString, byte[] encoded)AttributeValue(String rawString, byte[] encoded, int tag)Name(String name)Creates newNameinstance -
Uses of String in org.apache.harmony.security.x509
Methods in org.apache.harmony.security.x509 that return String Modifier and Type Method Description StringAlgorithmIdentifier. getAlgorithm()Returns the value of algorithm field of the structure.StringX509PublicKey. getAlgorithm()StringAlgorithmIdentifier. getAlgorithmName()Returns the name of the algorithm corresponding to its OID.StringExtension. getExtnID()Returns the value of extnID field of the structure.StringX509PublicKey. getFormat()StringPolicyInformation. getPolicyIdentifier()Returns the value of policyIdentifier field of the structure.static StringGeneralName. ipBytesToStr(byte[] ip)Returns the string form of the given IP address.StringAccessDescription. toString()StringCertificate. toString()StringCertificateList. toString()StringGeneralName. toString()StringInfoAccessSyntax. toString()StringX509PublicKey. toString()Methods in org.apache.harmony.security.x509 that return types with arguments of type String Modifier and Type Method Description Set<String>Extensions. getCriticalExtensions()Returns the list of critical extensions.List<String>ExtendedKeyUsage. getExtendedKeyUsage()Returns the list of string representation of OIDs corresponding to key purpose IDs.Set<String>Extensions. getNonCriticalExtensions()Returns the list of critical extensions.List<String>Extensions. valueOfExtendedKeyUsage()Returns the value of Extended Key Usage extension (OID == 2.5.29.37).Methods in org.apache.harmony.security.x509 with parameters of type String Modifier and Type Method Description static voidGeneralName. checkDNS(String dns)Checks the correctness of the string representation of DNS name as specified in RFC 1034 p.static voidGeneralName. checkURI(String uri)Checks the correctness of the string representation of URI name.voidAlternativeName. dumpValue(StringBuilder sb, String prefix)voidAuthorityKeyIdentifier. dumpValue(StringBuilder sb, String prefix)voidBasicConstraints. dumpValue(StringBuilder sb, String prefix)voidCertificateIssuer. dumpValue(StringBuilder sb, String prefix)voidCertificatePolicies. dumpValue(StringBuilder sb, String prefix)voidCRLDistributionPoints. dumpValue(StringBuilder sb, String prefix)voidCRLNumber. dumpValue(StringBuilder sb, String prefix)voidDistributionPoint. dumpValue(StringBuilder sb, String prefix)voidDistributionPointName. dumpValue(StringBuilder sb, String prefix)voidExtendedKeyUsage. dumpValue(StringBuilder sb, String prefix)voidExtension. dumpValue(StringBuilder sb, String prefix)voidExtensions. dumpValue(StringBuilder sb, String prefix)voidExtensionValue. dumpValue(StringBuilder sb, String prefix)voidGeneralNames. dumpValue(StringBuilder sb, String prefix)voidGeneralSubtree. dumpValue(StringBuilder sb, String prefix)voidInfoAccessSyntax. dumpValue(StringBuilder sb, String prefix)voidInhibitAnyPolicy. dumpValue(StringBuilder sb, String prefix)voidInvalidityDate. dumpValue(StringBuilder sb, String prefix)voidIssuingDistributionPoint. dumpValue(StringBuilder sb, String prefix)voidKeyUsage. dumpValue(StringBuilder sb, String prefix)voidNameConstraints. dumpValue(StringBuilder sb, String prefix)voidPolicyConstraints. dumpValue(StringBuilder sb, String prefix)voidReasonCode. dumpValue(StringBuilder sb, String prefix)voidReasonFlags. dumpValue(StringBuilder sb, String prefix)voidSubjectKeyIdentifier. dumpValue(StringBuilder sb, String prefix)voidTBSCertList.RevokedCertificate. dumpValue(StringBuilder sb, String prefix)ExtensionExtensions. getExtensionByOID(String oid)Returns the values of extensions.static byte[]GeneralName. ipStrToBytes(String ip)Returns the bytes of the given IP address or masked IP address.static int[]GeneralName. oidStrToInts(String oid)Converts OID into array of ints.Constructors in org.apache.harmony.security.x509 with parameters of type String Constructor Description AlgorithmIdentifier(String algorithm)AlgorithmIdentifier(String algorithm, byte[] parameters)AlgorithmIdentifier(String algorithm, String algorithmName)For testing when algorithmName is not known, but algorithm OID is.DNParser(String dn)Extension(String extnID, boolean critical, byte[] extnValue)Extension(String extnID, boolean critical, ExtensionValue extnValueObject)Extension(String extnID, byte[] extnValue)GeneralName(int tag, String name)Makes the GeneralName object from the tag type and corresponding well established string representation of the name value.OtherName(String typeID, byte[] value)PolicyInformation(String policyIdentifier)X509PublicKey(String algorithm, byte[] encoded, byte[] keyBytes) -
Uses of String in org.apache.harmony.security.x509.tsp
Methods in org.apache.harmony.security.x509.tsp that return String Modifier and Type Method Description StringTSTInfo. getPolicy()StringTimeStampReq. getReqPolicy()StringPKIStatusInfo. toString()StringTimeStampReq. toString()StringTimeStampResp. toString()StringTSTInfo. toString()Methods in org.apache.harmony.security.x509.tsp with parameters of type String Modifier and Type Method Description static PKIFailureInfoPKIFailureInfo. valueOf(String name)Returns the enum constant of this type with the specified name.static PKIStatusPKIStatus. valueOf(String name)Returns the enum constant of this type with the specified name.Constructors in org.apache.harmony.security.x509.tsp with parameters of type String Constructor Description TimeStampReq(int version, MessageImprint messageImprint, String reqPolicy, BigInteger nonce, Boolean certReq, Extensions extensions)TSTInfo(int version, String policy, MessageImprint messageImprint, BigInteger serialNumber, Date genTime, int[] accuracy, Boolean ordering, BigInteger nonce, GeneralName tsa, Extensions extensions) -
Uses of String in org.apache.harmony.xml
Methods in org.apache.harmony.xml with parameters of type String Modifier and Type Method Description booleanExpatReader. getFeature(String name)ObjectExpatReader. getProperty(String name)voidExpatReader. parse(String systemId)voidExpatReader. setFeature(String name, boolean value)voidExpatReader. setProperty(String name, Object value) -
Uses of String in org.apache.harmony.xml.dom
Methods in org.apache.harmony.xml.dom that return String Modifier and Type Method Description StringElementImpl. getAttribute(String name)StringElementImpl. getAttributeNS(String namespaceURI, String localName)StringNodeImpl. getBaseURI()StringCharacterDataImpl. getData()StringProcessingInstructionImpl. getData()StringDocumentImpl. getDocumentURI()StringDocumentImpl. getInputEncoding()StringEntityImpl. getInputEncoding()StringDocumentTypeImpl. getInternalSubset()StringAttrImpl. getLocalName()StringElementImpl. getLocalName()StringNodeImpl. getLocalName()StringDOMErrorImpl. getMessage()StringAttrImpl. getName()StringDocumentTypeImpl. getName()StringAttrImpl. getNamespaceURI()StringElementImpl. getNamespaceURI()StringNodeImpl. getNamespaceURI()StringAttrImpl. getNodeName()StringCDATASectionImpl. getNodeName()StringCommentImpl. getNodeName()StringDocumentFragmentImpl. getNodeName()StringDocumentImpl. getNodeName()StringDocumentTypeImpl. getNodeName()StringElementImpl. getNodeName()StringEntityImpl. getNodeName()StringEntityReferenceImpl. getNodeName()StringNodeImpl. getNodeName()StringNotationImpl. getNodeName()StringProcessingInstructionImpl. getNodeName()StringTextImpl. getNodeName()StringAttrImpl. getNodeValue()StringCharacterDataImpl. getNodeValue()StringNodeImpl. getNodeValue()StringProcessingInstructionImpl. getNodeValue()StringEntityImpl. getNotationName()StringAttrImpl. getPrefix()StringElementImpl. getPrefix()StringNodeImpl. getPrefix()StringDocumentTypeImpl. getPublicId()StringEntityImpl. getPublicId()StringNotationImpl. getPublicId()StringDocumentTypeImpl. getSystemId()StringEntityImpl. getSystemId()StringNotationImpl. getSystemId()StringElementImpl. getTagName()StringProcessingInstructionImpl. getTarget()StringDocumentImpl. getTextContent()StringDocumentTypeImpl. getTextContent()StringInnerNodeImpl. getTextContent()StringNodeImpl. getTextContent()StringDOMErrorImpl. getType()StringAttrImpl. getValue()StringTextImpl. getWholeText()StringDocumentImpl. getXmlEncoding()StringEntityImpl. getXmlEncoding()StringDocumentImpl. getXmlVersion()StringEntityImpl. getXmlVersion()StringNodeImpl. lookupNamespaceURI(String prefix)StringNodeImpl. lookupPrefix(String namespaceURI)StringCharacterDataImpl. substringData(int offset, int count)Methods in org.apache.harmony.xml.dom with parameters of type String Modifier and Type Method Description voidCharacterDataImpl. appendData(String arg)booleanDOMConfigurationImpl. canSetParameter(String name, Object value)AttrImplDocumentImpl. createAttribute(String name)AttrImplDocumentImpl. createAttributeNS(String namespaceURI, String qualifiedName)CDATASectionImplDocumentImpl. createCDATASection(String data)CommentImplDocumentImpl. createComment(String data)DocumentDOMImplementationImpl. createDocument(String namespaceURI, String qualifiedName, DocumentType doctype)DocumentTypeDOMImplementationImpl. createDocumentType(String qualifiedName, String publicId, String systemId)ElementImplDocumentImpl. createElement(String tagName)ElementImplDocumentImpl. createElementNS(String namespaceURI, String qualifiedName)EntityReferenceImplDocumentImpl. createEntityReference(String name)ProcessingInstructionImplDocumentImpl. createProcessingInstruction(String target, String data)TextImplDocumentImpl. createTextNode(String data)StringElementImpl. getAttribute(String name)AttrImplElementImpl. getAttributeNode(String name)AttrImplElementImpl. getAttributeNodeNS(String namespaceURI, String localName)StringElementImpl. getAttributeNS(String namespaceURI, String localName)ElementDocumentImpl. getElementById(String elementId)NodeListDocumentImpl. getElementsByTagName(String name)NodeListElementImpl. getElementsByTagName(String name)NodeListDocumentImpl. getElementsByTagNameNS(String namespaceURI, String localName)NodeListElementImpl. getElementsByTagNameNS(String namespaceURI, String localName)ObjectDOMImplementationImpl. getFeature(String feature, String version)ObjectNodeImpl. getFeature(String feature, String version)NodeElementImpl.ElementAttrNamedNodeMapImpl. getNamedItem(String name)NodeElementImpl.ElementAttrNamedNodeMapImpl. getNamedItemNS(String namespaceURI, String localName)ObjectDOMConfigurationImpl. getParameter(String name)ObjectNodeImpl. getUserData(String key)booleanElementImpl. hasAttribute(String name)booleanElementImpl. hasAttributeNS(String namespaceURI, String localName)booleanDOMImplementationImpl. hasFeature(String feature, String version)voidCharacterDataImpl. insertData(int offset, String arg)booleanNodeImpl. isDefaultNamespace(String namespaceURI)booleanNodeImpl. isSupported(String feature, String version)StringNodeImpl. lookupNamespaceURI(String prefix)StringNodeImpl. lookupPrefix(String namespaceURI)voidElementImpl. removeAttribute(String name)voidElementImpl. removeAttributeNS(String namespaceURI, String localName)NodeElementImpl.ElementAttrNamedNodeMapImpl. removeNamedItem(String name)NodeElementImpl.ElementAttrNamedNodeMapImpl. removeNamedItemNS(String namespaceURI, String localName)NodeDocumentImpl. renameNode(Node node, String namespaceURI, String qualifiedName)voidCharacterDataImpl. replaceData(int offset, int count, String arg)TextTextImpl. replaceWholeText(String content)voidElementImpl. setAttribute(String name, String value)voidElementImpl. setAttributeNS(String namespaceURI, String qualifiedName, String value)voidCharacterDataImpl. setData(String data)voidProcessingInstructionImpl. setData(String data)voidDocumentImpl. setDocumentURI(String documentUri)voidElementImpl. setIdAttribute(String name, boolean isId)voidElementImpl. setIdAttributeNS(String namespaceURI, String localName, boolean isId)voidNodeImpl. setNodeValue(String nodeValue)voidDOMConfigurationImpl. setParameter(String name, Object value)voidAttrImpl. setPrefix(String prefix)voidElementImpl. setPrefix(String prefix)voidNodeImpl. setPrefix(String prefix)voidNodeImpl. setTextContent(String textContent)ObjectNodeImpl. setUserData(String key, Object data, UserDataHandler handler)voidAttrImpl. setValue(String value)voidDocumentImpl. setXmlVersion(String xmlVersion)Constructors in org.apache.harmony.xml.dom with parameters of type String Constructor Description CDATASectionImpl(DocumentImpl document, String data)DocumentImpl(DOMImplementationImpl impl, String namespaceURI, String qualifiedName, DocumentType doctype, String inputEncoding)DocumentTypeImpl(DocumentImpl document, String qualifiedName, String publicId, String systemId)DOMErrorImpl(short severity, String type)TextImpl(DocumentImpl document, String data) -
Uses of String in org.apache.harmony.xml.parsers
Methods in org.apache.harmony.xml.parsers with parameters of type String Modifier and Type Method Description ObjectDocumentBuilderFactoryImpl. getAttribute(String name)booleanDocumentBuilderFactoryImpl. getFeature(String name)booleanSAXParserFactoryImpl. getFeature(String name)voidDocumentBuilderFactoryImpl. setAttribute(String name, Object value)voidDocumentBuilderFactoryImpl. setFeature(String name, boolean value)voidSAXParserFactoryImpl. setFeature(String name, boolean value) -
Uses of String in org.apache.http
Fields in org.apache.http declared as String Modifier and Type Field Description static StringHttpHost. DEFAULT_SCHEME_NAMEThe default scheme is "http".protected StringHttpHost. hostnameThe host to use.static StringHttpVersion. HTTPThe protocol name.protected StringHttpHost. lcHostnameThe lowercase host, forHttpHost.equals(java.lang.Object)andHttpHost.hashCode().protected StringProtocolVersion. protocolName of the protocol.protected StringHttpHost. schemeNameThe schemeMethods in org.apache.http that return String Modifier and Type Method Description StringHttpHost. getHostName()Returns the host name.StringRequestLine. getMethod()StringHeader. getName()StringHeaderElement. getName()StringNameValuePair. getName()StringProtocolVersion. getProtocol()Returns the name of the protocol.StringReasonPhraseCatalog. getReason(int status, Locale loc)Obtains the reason phrase for a status code.StringStatusLine. getReasonPhrase()StringHttpHost. getSchemeName()Returns the scheme name.StringRequestLine. getUri()StringHeader. getValue()StringHeaderElement. getValue()StringNameValuePair. getValue()StringTokenIterator. nextToken()Obtains the next token from this iteration.StringHttpHost. toHostString()Obtains the host string, without scheme prefix.StringHttpHost. toString()StringProtocolVersion. toString()Converts this protocol version to a string.StringHttpHost. toURI()Return the host URI, as a string.Methods in org.apache.http with parameters of type String Modifier and Type Method Description voidHttpMessage. addHeader(String name, String value)Adds a header to this message.booleanHttpMessage. containsHeader(String name)Checks if a certain header is present in this message.HeaderHttpMessage. getFirstHeader(String name)Returns the first header with a specified name of this message.Header[]HttpMessage. getHeaders(String name)Returns all the headers with a specified name of this message.HeaderHttpMessage. getLastHeader(String name)Returns the last header with a specified name of this message.ObjectHttpConnectionMetrics. getMetric(String metricName)Return the value for the specified metric.NameValuePairHeaderElement. getParameterByName(String name)HeaderIteratorHttpMessage. headerIterator(String name)Returns an iterator of the headers with a given name.HttpRequestHttpRequestFactory. newHttpRequest(String method, String uri)voidHttpMessage. removeHeaders(String name)Removes all headers with a certain name from this message.voidHttpMessage. setHeader(String name, String value)Overwrites the first header with the same name.voidHttpResponse. setReasonPhrase(String reason)Updates the status line of this response with a new reason phrase.voidHttpResponse. setStatusLine(ProtocolVersion ver, int code, String reason)Sets the status line of this response with a reason phrase.Constructors in org.apache.http with parameters of type String Constructor Description ConnectionClosedException(String message)Creates a new ConnectionClosedException with the specified detail message.HttpException(String message)Creates a new HttpException with the specified detail message.HttpException(String message, Throwable cause)Creates a new HttpException with the specified detail message and cause.HttpHost(String hostname)Creates a newHttpHost, with default scheme and port.HttpHost(String hostname, int port)Creates a newHttpHost, with default scheme.HttpHost(String hostname, int port, String scheme)Creates a newHttpHost, specifying all values.MalformedChunkCodingException(String message)Creates a MalformedChunkCodingException with the specified detail message.MethodNotSupportedException(String message)Creates a new MethodNotSupportedException with the specified detail message.MethodNotSupportedException(String message, Throwable cause)Creates a new MethodNotSupportedException with the specified detail message and cause.NoHttpResponseException(String message)Creates a new NoHttpResponseException with the specified detail message.ParseException(String message)Creates aParseExceptionwith a detail message.ProtocolException(String message)Creates a new ProtocolException with the specified detail message.ProtocolException(String message, Throwable cause)Creates a new ProtocolException with the specified detail message and cause.ProtocolVersion(String protocol, int major, int minor)Create a protocol version designator.UnsupportedHttpVersionException(String message)Creates an exception with the specified detail message. -
Uses of String in org.apache.http.auth
Fields in org.apache.http.auth declared as String Modifier and Type Field Description static StringAuthScope. ANY_HOSTThe null value represents any host.static StringAuthScope. ANY_REALMThe null value represents any realm.static StringAuthScope. ANY_SCHEMEThe null value represents any authentication scheme.static StringAUTH. PROXY_AUTHThe proxy authenticate challange header.static StringAUTH. PROXY_AUTH_RESPThe proxy authenticate response header.static StringAUTH. WWW_AUTHThe www authenticate challange header.static StringAUTH. WWW_AUTH_RESPThe www authenticate response header.Methods in org.apache.http.auth that return String Modifier and Type Method Description StringNTCredentials. getDomain()Retrieves the name to authenticate with.StringNTUserPrincipal. getDomain()StringAuthScope. getHost()StringBasicUserPrincipal. getName()StringNTUserPrincipal. getName()StringAuthScheme. getParameter(String name)Returns authentication parameter with the given name, if available.StringCredentials. getPassword()StringNTCredentials. getPassword()StringUsernamePasswordCredentials. getPassword()StringAuthScheme. getRealm()Returns authentication realm.StringAuthScope. getRealm()StringAuthScope. getScheme()StringAuthScheme. getSchemeName()Returns textual designation of the given authentication scheme.StringNTUserPrincipal. getUsername()StringNTCredentials. getUserName()StringUsernamePasswordCredentials. getUserName()StringNTCredentials. getWorkstation()Retrieves the workstation name of the computer originating the request.StringAuthScope. toString()StringAuthState. toString()StringBasicUserPrincipal. toString()StringNTCredentials. toString()StringNTUserPrincipal. toString()StringUsernamePasswordCredentials. toString()Methods in org.apache.http.auth that return types with arguments of type String Modifier and Type Method Description List<String>AuthSchemeRegistry. getSchemeNames()Obtains a list containing names of all registeredauthentication schemesin their default order.Methods in org.apache.http.auth with parameters of type String Modifier and Type Method Description AuthSchemeAuthSchemeRegistry. getAuthScheme(String name, HttpParams params)Gets theauthentication schemewith the given name.StringAuthScheme. getParameter(String name)Returns authentication parameter with the given name, if available.voidAuthSchemeRegistry. register(String name, AuthSchemeFactory factory)Registers aAuthSchemeFactorywith the given identifier.voidAuthSchemeRegistry. unregister(String name)Unregisters the class implementing anauthentication schemewith the given name.Method parameters in org.apache.http.auth with type arguments of type String Modifier and Type Method Description voidAuthSchemeRegistry. setItems(Map<String,AuthSchemeFactory> map)Populates the internal collection of registeredauthentication schemeswith the content of the map passed as a parameter.Constructors in org.apache.http.auth with parameters of type String Constructor Description AuthenticationException(String message)Creates a new AuthenticationException with the specified message.AuthenticationException(String message, Throwable cause)Creates a new AuthenticationException with the specified detail message and cause.AuthScope(String host, int port)Creates a new credentials scope for the given host, port, any realm name, and any authentication scheme.AuthScope(String host, int port, String realm)Creates a new credentials scope for the given host, port, realm, and any authentication scheme.AuthScope(String host, int port, String realm, String scheme)Creates a new credentials scope for the given host, port, realm, and authentication scheme.BasicUserPrincipal(String username)InvalidCredentialsException(String message)Creates a new InvalidCredentialsException with the specified message.InvalidCredentialsException(String message, Throwable cause)Creates a new InvalidCredentialsException with the specified detail message and cause.MalformedChallengeException(String message)Creates a new MalformedChallengeException with the specified message.MalformedChallengeException(String message, Throwable cause)Creates a new MalformedChallengeException with the specified detail message and cause.NTCredentials(String usernamePassword)The constructor with the fully qualified username and password combined string argument.NTCredentials(String userName, String password, String workstation, String domain)Constructor.NTUserPrincipal(String domain, String username)UsernamePasswordCredentials(String usernamePassword)The constructor with the username and password combined string argument.UsernamePasswordCredentials(String userName, String password)The constructor with the username and password arguments. -
Uses of String in org.apache.http.auth.params
Fields in org.apache.http.auth.params declared as String Modifier and Type Field Description static StringAuthPNames. CREDENTIAL_CHARSETDefines the charset to be used when encodingCredentials.Methods in org.apache.http.auth.params that return String Modifier and Type Method Description static StringAuthParams. getCredentialCharset(HttpParams params)Obtains the charset for encodingCredentials.Methods in org.apache.http.auth.params with parameters of type String Modifier and Type Method Description voidAuthParamBean. setCredentialCharset(String charset)static voidAuthParams. setCredentialCharset(HttpParams params, String charset)Sets the charset to be used when encodingCredentials. -
Uses of String in org.apache.http.client
Methods in org.apache.http.client that return types with arguments of type String Modifier and Type Method Description Map<String,Header>AuthenticationHandler. getChallenges(HttpResponse response, HttpContext context)Method parameters in org.apache.http.client with type arguments of type String Modifier and Type Method Description AuthSchemeAuthenticationHandler. selectScheme(Map<String,Header> challenges, HttpResponse response, HttpContext context)Constructors in org.apache.http.client with parameters of type String Constructor Description CircularRedirectException(String message)Creates a new CircularRedirectException with the specified detail message.CircularRedirectException(String message, Throwable cause)Creates a new CircularRedirectException with the specified detail message and cause.ClientProtocolException(String s)ClientProtocolException(String message, Throwable cause)HttpResponseException(int statusCode, String s)NonRepeatableRequestException(String message)Creates a new NonRepeatableEntityException with the specified detail message.RedirectException(String message)Creates a new RedirectException with the specified detail message.RedirectException(String message, Throwable cause)Creates a new RedirectException with the specified detail message and cause. -
Uses of String in org.apache.http.client.entity
Constructors in org.apache.http.client.entity with parameters of type String Constructor Description UrlEncodedFormEntity(List<? extends NameValuePair> parameters, String encoding)Constructs a newUrlEncodedFormEntitywith the list of parameters in the specified encoding. -
Uses of String in org.apache.http.client.methods
Fields in org.apache.http.client.methods declared as String Modifier and Type Field Description static StringHttpDelete. METHOD_NAMEstatic StringHttpGet. METHOD_NAMEstatic StringHttpHead. METHOD_NAMEstatic StringHttpOptions. METHOD_NAMEstatic StringHttpPost. METHOD_NAMEstatic StringHttpPut. METHOD_NAMEstatic StringHttpTrace. METHOD_NAMEMethods in org.apache.http.client.methods that return String Modifier and Type Method Description StringHttpDelete. getMethod()StringHttpGet. getMethod()StringHttpHead. getMethod()StringHttpOptions. getMethod()StringHttpPost. getMethod()StringHttpPut. getMethod()abstract StringHttpRequestBase. getMethod()StringHttpTrace. getMethod()StringHttpUriRequest. getMethod()Returns the HTTP method this request uses, such asGET,PUT,POST, or other.Methods in org.apache.http.client.methods that return types with arguments of type String Modifier and Type Method Description Set<String>HttpOptions. getAllowedMethods(HttpResponse response) -
Uses of String in org.apache.http.client.params
Fields in org.apache.http.client.params declared as String Modifier and Type Field Description static StringClientPNames. ALLOW_CIRCULAR_REDIRECTSDefines whether circular redirects (redirects to the same location) should be allowed.static StringAuthPolicy. BASICBasic authentication scheme as defined in RFC2617 (considered inherently insecure, but most widely supported)static StringCookiePolicy. BEST_MATCHThe default 'best match' policy.static StringCookiePolicy. BROWSER_COMPATIBILITYThe policy that provides high degree of compatibilty with common cookie management of popular HTTP agents.static StringClientPNames. CONNECTION_MANAGER_FACTORYDefines the factory to create a defaultClientConnectionManager.static StringClientPNames. CONNECTION_MANAGER_FACTORY_CLASS_NAMEDefines the class name of the defaultClientConnectionManagerstatic StringClientPNames. COOKIE_POLICYDefines the name of the cookie specification to be used for HTTP state management.static StringClientPNames. DEFAULT_HEADERSDefines the request headers to be sent per default with each request.static StringClientPNames. DEFAULT_HOSTDefines the default host.static StringAuthPolicy. DIGESTDigest authentication scheme as defined in RFC2617.static StringClientPNames. HANDLE_AUTHENTICATIONDefines whether authentication should be handled automatically.static StringClientPNames. HANDLE_REDIRECTSDefines whether redirects should be handled automaticallystatic StringClientPNames. MAX_REDIRECTSDefines the maximum number of redirects to be followed.static StringCookiePolicy. NETSCAPEThe Netscape cookie draft compliant policy.static StringAuthPolicy. NTLMThe NTLM scheme is a proprietary Microsoft Windows Authentication protocol (considered to be the most secure among currently supported authentication schemes).static StringClientPNames. REJECT_RELATIVE_REDIRECTDefines whether relative redirects should be rejected.static StringCookiePolicy. RFC_2109The RFC 2109 compliant policy.static StringCookiePolicy. RFC_2965The RFC 2965 compliant policy.static StringClientPNames. VIRTUAL_HOSTDefines the virtual host name.Methods in org.apache.http.client.params that return String Modifier and Type Method Description static StringHttpClientParams. getCookiePolicy(HttpParams params)Methods in org.apache.http.client.params with parameters of type String Modifier and Type Method Description voidClientParamBean. setConnectionManagerFactoryClassName(String factory)voidClientParamBean. setCookiePolicy(String policy)static voidHttpClientParams. setCookiePolicy(HttpParams params, String cookiePolicy) -
Uses of String in org.apache.http.client.protocol
Fields in org.apache.http.client.protocol declared as String Modifier and Type Field Description static StringClientContext. AUTH_SCHEME_PREFstatic StringClientContext. AUTHSCHEME_REGISTRYstatic StringClientContext. COOKIE_ORIGINstatic StringClientContext. COOKIE_SPECstatic StringClientContext. COOKIE_STOREstatic StringClientContext. COOKIESPEC_REGISTRYstatic StringClientContext. CREDS_PROVIDERstatic StringClientContext. PROXY_AUTH_STATEstatic StringClientContext. TARGET_AUTH_STATEstatic StringClientContext. USER_TOKENMethod parameters in org.apache.http.client.protocol with type arguments of type String Modifier and Type Method Description voidClientContextConfigurer. setAuthSchemePref(List<String> list) -
Uses of String in org.apache.http.client.utils
Fields in org.apache.http.client.utils declared as String Modifier and Type Field Description static StringURLEncodedUtils. CONTENT_TYPEMethods in org.apache.http.client.utils that return String Modifier and Type Method Description static StringURLEncodedUtils. format(List<? extends NameValuePair> parameters, String encoding)Returns a String that is suitable for use as anapplication/x-www-form-urlencodedlist of parameters in an HTTP PUT or HTTP POST.Methods in org.apache.http.client.utils with parameters of type String Modifier and Type Method Description static URIURIUtils. createURI(String scheme, String host, int port, String path, String query, String fragment)Constructs aURIusing all the parameters.static StringURLEncodedUtils. format(List<? extends NameValuePair> parameters, String encoding)Returns a String that is suitable for use as anapplication/x-www-form-urlencodedlist of parameters in an HTTP PUT or HTTP POST.static List<NameValuePair>URLEncodedUtils. parse(URI uri, String encoding)Returns a list ofNameValuePairsas built from the URI's query portion.static voidURLEncodedUtils. parse(List<NameValuePair> parameters, Scanner scanner, String encoding)Adds all parameters within the Scanner to the list ofparameters, as encoded byencoding.static URIURIUtils. resolve(URI baseURI, String reference)Resolves a URI reference against a base URI. -
Uses of String in org.apache.http.conn
Methods in org.apache.http.conn with parameters of type String Modifier and Type Method Description SocketMultihomePlainSocketFactory. connectSocket(Socket sock, String host, int port, InetAddress localAddress, int localPort, HttpParams params)Attempts to connects the socket to any of theInetAddresses the given host name resolves to.Constructors in org.apache.http.conn with parameters of type String Constructor Description ConnectionPoolTimeoutException(String message)Creates a ConnectTimeoutException with the specified detail message.ConnectTimeoutException(String message)Creates a ConnectTimeoutException with the specified detail message. -
Uses of String in org.apache.http.conn.params
Fields in org.apache.http.conn.params declared as String Modifier and Type Field Description static StringConnRoutePNames. DEFAULT_PROXYParameter for the default proxy.static StringConnRoutePNames. FORCED_ROUTEParameter for an forced route.static StringConnRoutePNames. LOCAL_ADDRESSParameter for the local address.static StringConnManagerPNames. MAX_CONNECTIONS_PER_ROUTEDefines the maximum number of connections per route.static StringConnConnectionPNames. MAX_STATUS_LINE_GARBAGEDefines the maximum number of ignorable lines before we expect a HTTP response's status line.static StringConnManagerPNames. MAX_TOTAL_CONNECTIONSDefines the maximum number of connections in total.static StringConnManagerPNames. TIMEOUTDefines the timeout in milliseconds used when retrieving an instance ofManagedClientConnectionfrom theClientConnectionManager. -
Uses of String in org.apache.http.conn.routing
Methods in org.apache.http.conn.routing that return String Modifier and Type Method Description StringHttpRoute. toString()Obtains a description of this route.StringRouteTracker. toString()Obtains a description of the tracked route.Methods in org.apache.http.conn.routing with parameters of type String Modifier and Type Method Description static RouteInfo.LayerTypeRouteInfo.LayerType. valueOf(String name)Returns the enum constant of this type with the specified name.static RouteInfo.TunnelTypeRouteInfo.TunnelType. valueOf(String name)Returns the enum constant of this type with the specified name. -
Uses of String in org.apache.http.conn.scheme
Methods in org.apache.http.conn.scheme that return String Modifier and Type Method Description StringScheme. getName()Obtains the scheme name.StringScheme. toString()Return a string representation of this object.Methods in org.apache.http.conn.scheme that return types with arguments of type String Modifier and Type Method Description List<String>SchemeRegistry. getSchemeNames()Obtains the names of the registered schemes in their default order.Methods in org.apache.http.conn.scheme with parameters of type String Modifier and Type Method Description SocketPlainSocketFactory. connectSocket(Socket sock, String host, int port, InetAddress localAddress, int localPort, HttpParams params)SocketSocketFactory. connectSocket(Socket sock, String host, int port, InetAddress localAddress, int localPort, HttpParams params)Connects a socket to the given host.SocketLayeredSocketFactory. createSocket(Socket socket, String host, int port, boolean autoClose)Returns a socket connected to the given host that is layered over an existing socket.SchemeSchemeRegistry. get(String name)Obtains a scheme by name, if registered.SchemeSchemeRegistry. getScheme(String name)Obtains a scheme by name.InetAddressHostNameResolver. resolve(String hostname)SchemeSchemeRegistry. unregister(String name)Unregisters a scheme.Method parameters in org.apache.http.conn.scheme with type arguments of type String Modifier and Type Method Description voidSchemeRegistry. setItems(Map<String,Scheme> map)Populates the internal collection of registeredprotocol schemeswith the content of the map passed as a parameter.Constructors in org.apache.http.conn.scheme with parameters of type String Constructor Description Scheme(String name, SocketFactory factory, int port)Creates a new scheme. -
Uses of String in org.apache.http.conn.ssl
Fields in org.apache.http.conn.ssl declared as String Modifier and Type Field Description static StringSSLSocketFactory. SSLstatic StringSSLSocketFactory. SSLV2static StringSSLSocketFactory. TLSMethods in org.apache.http.conn.ssl that return String Modifier and Type Method Description static String[]AbstractVerifier. getCNs(X509Certificate cert)static String[]AbstractVerifier. getDNSSubjectAlts(X509Certificate cert)Extracts the array of SubjectAlt DNS names from an X509Certificate.StringAllowAllHostnameVerifier. toString()StringBrowserCompatHostnameVerifier. toString()StringStrictHostnameVerifier. toString()Methods in org.apache.http.conn.ssl with parameters of type String Modifier and Type Method Description static booleanAbstractVerifier. acceptableCountryWildcard(String cn)SocketSSLSocketFactory. connectSocket(Socket sock, String host, int port, InetAddress localAddress, int localPort, HttpParams params)static intAbstractVerifier. countDots(String s)Counts the number of dots "." in a string.SocketSSLSocketFactory. createSocket(Socket socket, String host, int port, boolean autoClose)voidAbstractVerifier. verify(String host, String[] cns, String[] subjectAlts, boolean strictWithSubDomains)voidAbstractVerifier. verify(String host, X509Certificate cert)booleanAbstractVerifier. verify(String host, SSLSession session)voidAbstractVerifier. verify(String host, SSLSocket ssl)voidAllowAllHostnameVerifier. verify(String host, String[] cns, String[] subjectAlts)voidBrowserCompatHostnameVerifier. verify(String host, String[] cns, String[] subjectAlts)voidStrictHostnameVerifier. verify(String host, String[] cns, String[] subjectAlts)voidX509HostnameVerifier. verify(String host, String[] cns, String[] subjectAlts)Checks to see if the supplied hostname matches any of the supplied CNs or "DNS" Subject-Alts.voidX509HostnameVerifier. verify(String host, X509Certificate cert)booleanX509HostnameVerifier. verify(String host, SSLSession session)voidX509HostnameVerifier. verify(String host, SSLSocket ssl)Constructors in org.apache.http.conn.ssl with parameters of type String Constructor Description SSLSocketFactory(String algorithm, KeyStore keystore, String keystorePassword, KeyStore truststore, SecureRandom random, HostNameResolver nameResolver)SSLSocketFactory(KeyStore keystore, String keystorePassword)SSLSocketFactory(KeyStore keystore, String keystorePassword, KeyStore truststore) -
Uses of String in org.apache.http.conn.util
Methods in org.apache.http.conn.util with parameters of type String Modifier and Type Method Description static booleanInetAddressUtils. isIPv4Address(String input)static booleanInetAddressUtils. isIPv6Address(String input)static booleanInetAddressUtils. isIPv6HexCompressedAddress(String input)static booleanInetAddressUtils. isIPv6StdAddress(String input) -
Uses of String in org.apache.http.cookie
Fields in org.apache.http.cookie declared as String Modifier and Type Field Description static StringClientCookie. COMMENT_ATTRstatic StringClientCookie. COMMENTURL_ATTRstatic StringSM. COOKIEstatic StringSM. COOKIE2static StringClientCookie. DISCARD_ATTRstatic StringClientCookie. DOMAIN_ATTRstatic StringClientCookie. EXPIRES_ATTRstatic StringClientCookie. MAX_AGE_ATTRstatic StringClientCookie. PATH_ATTRstatic StringClientCookie. PORT_ATTRstatic StringClientCookie. SECURE_ATTRstatic StringSM. SET_COOKIEstatic StringSM. SET_COOKIE2static StringClientCookie. VERSION_ATTRMethods in org.apache.http.cookie that return String Modifier and Type Method Description StringClientCookie. getAttribute(String name)StringCookie. getComment()Returns the comment describing the purpose of this cookie, or null if no such comment has been defined.StringCookie. getCommentURL()If a user agent (web browser) presents this cookie to a user, the cookie's purpose will be described by the information at this URL.StringCookie. getDomain()Returns domain attribute of the cookie.StringCookieOrigin. getHost()StringCookie. getName()Returns the name.StringCookie. getPath()Returns the path attribute of the cookieStringCookieOrigin. getPath()StringCookie. getValue()Returns the value.StringCookieOrigin. toString()Methods in org.apache.http.cookie that return types with arguments of type String Modifier and Type Method Description List<String>CookieSpecRegistry. getSpecNames()Obtains a list containing names of all registeredcookie specsin their default order.Methods in org.apache.http.cookie with parameters of type String Modifier and Type Method Description booleanClientCookie. containsAttribute(String name)StringClientCookie. getAttribute(String name)CookieSpecCookieSpecRegistry. getCookieSpec(String name)Gets thecookie specificationwith the given name.CookieSpecCookieSpecRegistry. getCookieSpec(String name, HttpParams params)Gets thecookie specificationwith the given ID.voidCookieAttributeHandler. parse(SetCookie cookie, String value)Parse the given cookie attribute value and update the correspondingCookieproperty.voidCookieSpecRegistry. register(String name, CookieSpecFactory factory)Registers aCookieSpecFactorywith the given identifier.voidSetCookie. setComment(String comment)If a user agent (web browser) presents this cookie to a user, the cookie's purpose will be described using this comment.voidSetCookie2. setCommentURL(String commentURL)If a user agent (web browser) presents this cookie to a user, the cookie's purpose will be described by the information at this URL.voidSetCookie. setDomain(String domain)Sets the domain attribute.voidSetCookie. setPath(String path)Sets the path attribute.voidSetCookie. setValue(String value)voidCookieSpecRegistry. unregister(String id)Unregisters theCookieSpecFactorywith the given ID.Method parameters in org.apache.http.cookie with type arguments of type String Modifier and Type Method Description voidCookieSpecRegistry. setItems(Map<String,CookieSpecFactory> map)Populates the internal collection of registeredcookie specswith the content of the map passed as a parameter.Constructors in org.apache.http.cookie with parameters of type String Constructor Description CookieOrigin(String host, int port, String path, boolean secure)MalformedCookieException(String message)Creates a new MalformedCookieException with a specified message string.MalformedCookieException(String message, Throwable cause)Creates a new MalformedCookieException with the specified detail message and cause. -
Uses of String in org.apache.http.cookie.params
Fields in org.apache.http.cookie.params declared as String Modifier and Type Field Description static StringCookieSpecPNames. DATE_PATTERNSParameter for the date patterns used for parsing.static StringCookieSpecPNames. SINGLE_COOKIE_HEADERParameter for Cookie header formatting.Method parameters in org.apache.http.cookie.params with type arguments of type String Modifier and Type Method Description voidCookieSpecParamBean. setDatePatterns(Collection<String> patterns) -
Uses of String in org.apache.http.entity
Methods in org.apache.http.entity with parameters of type String Modifier and Type Method Description voidAbstractHttpEntity. setContentEncoding(String ceString)Specifies the Content-Encoding header, as a string.voidAbstractHttpEntity. setContentType(String ctString)Specifies the Content-Type header, as a string.Constructors in org.apache.http.entity with parameters of type String Constructor Description FileEntity(File file, String contentType)StringEntity(String s)StringEntity(String s, String charset) -
Uses of String in org.apache.http.impl
Fields in org.apache.http.impl declared as String Modifier and Type Field Description static StringHttpConnectionMetricsImpl. RECEIVED_BYTES_COUNTstatic StringHttpConnectionMetricsImpl. REQUEST_COUNTstatic StringHttpConnectionMetricsImpl. RESPONSE_COUNTstatic StringHttpConnectionMetricsImpl. SENT_BYTES_COUNTMethods in org.apache.http.impl that return String Modifier and Type Method Description StringEnglishReasonPhraseCatalog. getReason(int status, Locale loc)Obtains the reason phrase for a status code.StringDefaultHttpClientConnection. toString()StringDefaultHttpServerConnection. toString()Methods in org.apache.http.impl with parameters of type String Modifier and Type Method Description ObjectHttpConnectionMetricsImpl. getMetric(String metricName)HttpRequestDefaultHttpRequestFactory. newHttpRequest(String method, String uri)voidHttpConnectionMetricsImpl. setMetric(String metricName, Object obj) -
Uses of String in org.apache.http.impl.auth
Methods in org.apache.http.impl.auth that return String Modifier and Type Method Description static StringDigestScheme. createCnonce()Creates a random cnonce value based on the current time.StringNTLMEngine. generateType1Msg(String domain, String workstation)Generates a Type1 message given the domain and workstation.StringNTLMEngine. generateType3Msg(String username, String password, String domain, String workstation, String challenge)Generates a Type3 message given the user credentials and the authentication challenge.StringNTLMScheme. getParameter(String name)StringRFC2617Scheme. getParameter(String name)Returns authentication parameter with the given name, if available.StringNTLMScheme. getRealm()StringRFC2617Scheme. getRealm()Returns authentication realm.StringBasicScheme. getSchemeName()Returns textual designation of the basic authentication scheme.StringDigestScheme. getSchemeName()Returns textual designation of the digest authentication scheme.StringNTLMScheme. getSchemeName()Methods in org.apache.http.impl.auth that return types with arguments of type String Modifier and Type Method Description protected Map<String,String>RFC2617Scheme. getParameters()Returns authentication parameters map.protected Map<String,String>RFC2617Scheme. getParameters()Returns authentication parameters map.Methods in org.apache.http.impl.auth with parameters of type String Modifier and Type Method Description static HeaderBasicScheme. authenticate(Credentials credentials, String charset, boolean proxy)Returns a basic Authorization header value for the givenCredentialsand charset.StringNTLMEngine. generateType1Msg(String domain, String workstation)Generates a Type1 message given the domain and workstation.StringNTLMEngine. generateType3Msg(String username, String password, String domain, String workstation, String challenge)Generates a Type3 message given the user credentials and the authentication challenge.StringNTLMScheme. getParameter(String name)StringRFC2617Scheme. getParameter(String name)Returns authentication parameter with the given name, if available.voidDigestScheme. overrideParamter(String name, String value)Constructors in org.apache.http.impl.auth with parameters of type String Constructor Description NTLMEngineException(String message)Creates a new NTLMEngineException with the specified message.NTLMEngineException(String message, Throwable cause)Creates a new NTLMEngineException with the specified detail message and cause.UnsupportedDigestAlgorithmException(String message)Creates a new UnsupportedAuthAlgoritmException with the specified message.UnsupportedDigestAlgorithmException(String message, Throwable cause)Creates a new UnsupportedAuthAlgoritmException with the specified detail message and cause. -
Uses of String in org.apache.http.impl.client
Methods in org.apache.http.impl.client that return String Modifier and Type Method Description StringRequestWrapper. getMethod()StringBasicResponseHandler. handleResponse(HttpResponse response)Returns the response body as a String if the response was successful (a 2xx status code).StringBasicCookieStore. toString()StringBasicCredentialsProvider. toString()Methods in org.apache.http.impl.client that return types with arguments of type String Modifier and Type Method Description protected List<String>AbstractAuthenticationHandler. getAuthPreferences()Map<String,Header>DefaultProxyAuthenticationHandler. getChallenges(HttpResponse response, HttpContext context)Map<String,Header>DefaultTargetAuthenticationHandler. getChallenges(HttpResponse response, HttpContext context)protected Map<String,Header>AbstractAuthenticationHandler. parseChallenges(Header[] headers)Methods in org.apache.http.impl.client with parameters of type String Modifier and Type Method Description ObjectClientParamsStack. getParameter(String name)Obtains a parameter from this stack.booleanClientParamsStack. removeParameter(String name)Does not remove a parameter.voidRequestWrapper. setMethod(String method)HttpParamsClientParamsStack. setParameter(String name, Object value)Does not set a parameter.Method parameters in org.apache.http.impl.client with type arguments of type String Modifier and Type Method Description AuthSchemeAbstractAuthenticationHandler. selectScheme(Map<String,Header> challenges, HttpResponse response, HttpContext context)Constructors in org.apache.http.impl.client with parameters of type String Constructor Description TunnelRefusedException(String message, HttpResponse response) -
Uses of String in org.apache.http.impl.conn
Fields in org.apache.http.impl.conn declared as String Modifier and Type Field Description static StringSingleClientConnManager. MISUSE_MESSAGEThe message to be logged on multiple allocation.Methods in org.apache.http.impl.conn that return String Modifier and Type Method Description protected StringProxySelectorRoutePlanner. getHost(InetSocketAddress isa)Obtains a host from anInetSocketAddress.StringLoggingSessionInputBuffer. readLine() -
Uses of String in org.apache.http.impl.conn.tsccm
Methods in org.apache.http.impl.conn.tsccm that return String Modifier and Type Method Description StringRefQueueWorker. toString()Obtains a description of this worker. -
Uses of String in org.apache.http.impl.cookie
Fields in org.apache.http.impl.cookie declared as String Modifier and Type Field Description protected static String[]BrowserCompatSpec. DATE_PATTERNSValid date patterns used per defaultprotected static StringNetscapeDraftSpec. EXPIRES_PATTERNstatic StringDateUtils. PATTERN_ASCTIMEDate format pattern used to parse HTTP date headers in ANSI Casctime()format.static StringDateUtils. PATTERN_RFC1036Date format pattern used to parse HTTP date headers in RFC 1036 format.static StringDateUtils. PATTERN_RFC1123Date format pattern used to parse HTTP date headers in RFC 1123 format.Methods in org.apache.http.impl.cookie that return String Modifier and Type Method Description static StringDateUtils. formatDate(Date date)Formats the given date according to the RFC 1123 pattern.static StringDateUtils. formatDate(Date date, String pattern)Formats the given date according to the specified pattern.StringBasicClientCookie. getAttribute(String name)StringBasicClientCookie. getComment()Returns the comment describing the purpose of this cookie, or null if no such comment has been defined.StringBasicClientCookie. getCommentURL()Returns null.StringBasicClientCookie2. getCommentURL()protected static StringCookieSpecBase. getDefaultDomain(CookieOrigin origin)protected static StringCookieSpecBase. getDefaultPath(CookieOrigin origin)StringBasicClientCookie. getDomain()Returns domain attribute of the cookie.StringBasicClientCookie. getName()Returns the name.StringBasicClientCookie. getPath()Returns the path attribute of the cookieStringBasicClientCookie. getValue()Returns the value.StringBasicClientCookie. toString()Methods in org.apache.http.impl.cookie with parameters of type String Modifier and Type Method Description booleanBasicClientCookie. containsAttribute(String name)booleanRFC2965DomainAttributeHandler. domainMatch(String host, String domain)Performs domain-match as defined by the RFC2965.protected CookieAttributeHandlerAbstractCookieSpec. findAttribHandler(String name)Finds an attribute handlerCookieAttributeHandlerfor the given attribute.static StringDateUtils. formatDate(Date date, String pattern)Formats the given date according to the specified pattern.protected voidRFC2109Spec. formatParamAsVer(CharArrayBuffer buffer, String name, String value, int version)Return a name/value string suitable for sending in a "Cookie" header as defined in RFC 2109 for backward compatibility with cookie version 0protected CookieAttributeHandlerAbstractCookieSpec. getAttribHandler(String name)Gets attribute handlerCookieAttributeHandlerfor the given attribute.StringBasicClientCookie. getAttribute(String name)voidBasicCommentHandler. parse(SetCookie cookie, String value)voidBasicDomainHandler. parse(SetCookie cookie, String value)voidBasicExpiresHandler. parse(SetCookie cookie, String value)voidBasicMaxAgeHandler. parse(SetCookie cookie, String value)voidBasicPathHandler. parse(SetCookie cookie, String value)voidBasicSecureHandler. parse(SetCookie cookie, String value)voidRFC2109DomainHandler. parse(SetCookie cookie, String value)voidRFC2109VersionHandler. parse(SetCookie cookie, String value)voidRFC2965CommentUrlAttributeHandler. parse(SetCookie cookie, String commenturl)voidRFC2965DiscardAttributeHandler. parse(SetCookie cookie, String commenturl)voidRFC2965DomainAttributeHandler. parse(SetCookie cookie, String domain)Parse cookie domain attribute.voidRFC2965PortAttributeHandler. parse(SetCookie cookie, String portValue)Parse cookie port attribute.voidRFC2965VersionAttributeHandler. parse(SetCookie cookie, String value)Parse cookie version attribute.static DateDateUtils. parseDate(String dateValue)Parses a date value.static DateDateUtils. parseDate(String dateValue, String[] dateFormats)Parses the date value using the given date formats.static DateDateUtils. parseDate(String dateValue, String[] dateFormats, Date startDate)Parses the date value using the given date formats.voidAbstractCookieSpec. registerAttribHandler(String name, CookieAttributeHandler handler)voidBasicClientCookie. setAttribute(String name, String value)voidBasicClientCookie. setComment(String comment)If a user agent (web browser) presents this cookie to a user, the cookie's purpose will be described using this comment.voidBasicClientCookie2. setCommentURL(String commentURL)voidBasicClientCookie. setDomain(String domain)Sets the domain attribute.voidBasicClientCookie. setPath(String path)Sets the path attribute.voidBasicClientCookie. setValue(String value)Sets the valueConstructors in org.apache.http.impl.cookie with parameters of type String Constructor Description BasicClientCookie(String name, String value)Default Constructor taking a name and a value.BasicClientCookie2(String name, String value)Default Constructor taking a name and a value.BasicExpiresHandler(String[] datepatterns)BestMatchSpec(String[] datepatterns, boolean oneHeader)BrowserCompatSpec(String[] datepatterns)Default constructorDateParseException(String message)NetscapeDraftSpec(String[] datepatterns)Default constructorRFC2109Spec(String[] datepatterns, boolean oneHeader)Default constructorRFC2965Spec(String[] datepatterns, boolean oneHeader) -
Uses of String in org.apache.http.impl.io
Methods in org.apache.http.impl.io that return String Modifier and Type Method Description StringAbstractSessionInputBuffer. readLine()Methods in org.apache.http.impl.io with parameters of type String Modifier and Type Method Description voidAbstractSessionOutputBuffer. writeLine(String s) -
Uses of String in org.apache.http.io
Methods in org.apache.http.io that return String Modifier and Type Method Description StringSessionInputBuffer. readLine()Methods in org.apache.http.io with parameters of type String Modifier and Type Method Description voidSessionOutputBuffer. writeLine(String s) -
Uses of String in org.apache.http.message
Fields in org.apache.http.message declared as String Modifier and Type Field Description protected StringBasicTokenIterator. currentHeaderThe value of the current header.protected StringBasicTokenIterator. currentTokenThe token to be returned by the next call toBasicTokenIterator.currentToken.protected StringBasicHeaderIterator. headerNameThe header name to filter by.protected StringBasicListHeaderIterator. headerNameThe header name to filter by.static StringBasicTokenIterator. HTTP_SEPARATORSThe HTTP separator characters.static StringBasicHeaderValueFormatter. SEPARATORSSpecial characters that can be used as separators in HTTP parameters.static StringBasicHeaderValueFormatter. UNSAFE_CHARSUnsafe special characters that must be escaped using the backslash characterMethods in org.apache.http.message that return String Modifier and Type Method Description protected StringBasicTokenIterator. createToken(String value, int start, int end)Creates a new token to be returned.static StringBasicHeaderValueFormatter. formatElements(HeaderElement[] elems, boolean quote, HeaderValueFormatter formatter)Formats an array of header elements.static StringBasicLineFormatter. formatHeader(Header header, LineFormatter formatter)Formats a header.static StringBasicHeaderValueFormatter. formatHeaderElement(HeaderElement elem, boolean quote, HeaderValueFormatter formatter)Formats a header element.static StringBasicHeaderValueFormatter. formatNameValuePair(NameValuePair nvp, boolean quote, HeaderValueFormatter formatter)Formats a name-value pair.static StringBasicHeaderValueFormatter. formatParameters(NameValuePair[] nvps, boolean quote, HeaderValueFormatter formatter)Formats a set of parameters.static StringBasicLineFormatter. formatProtocolVersion(ProtocolVersion version, LineFormatter formatter)Formats a protocol version.static StringBasicLineFormatter. formatRequestLine(RequestLine reqline, LineFormatter formatter)Formats a request line.static StringBasicLineFormatter. formatStatusLine(StatusLine statline, LineFormatter formatter)Formats a status line.StringBasicRequestLine. getMethod()StringBasicHeader. getName()Returns the header name.StringBasicHeaderElement. getName()Returns the name.StringBasicNameValuePair. getName()Returns the name.StringBufferedHeader. getName()protected StringBasicHttpResponse. getReason(int code)Looks up a reason phrase.StringBasicStatusLine. getReasonPhrase()StringBasicRequestLine. getUri()StringBasicHeader. getValue()Returns the header value.StringBasicHeaderElement. getValue()Returns the value.StringBasicNameValuePair. getValue()Returns the value.StringBufferedHeader. getValue()StringBasicTokenIterator. nextToken()Obtains the next token from this iteration.StringBasicHeader. toString()Returns aStringrepresentation of the header.StringBasicHeaderElement. toString()StringBasicNameValuePair. toString()Get a string representation of this pair.StringBasicRequestLine. toString()StringBasicStatusLine. toString()StringBufferedHeader. toString()StringParserCursor. toString()Methods in org.apache.http.message with parameters of type String Modifier and Type Method Description voidAbstractHttpMessage. addHeader(String name, String value)booleanAbstractHttpMessage. containsHeader(String name)booleanHeaderGroup. containsHeader(String name)Tests if headers with the given name are contained within this group.protected HeaderElementBasicHeaderValueParser. createHeaderElement(String name, String value, NameValuePair[] params)Creates a header element.protected NameValuePairBasicHeaderValueParser. createNameValuePair(String name, String value)Creates a name-value pair.protected RequestLineBasicLineParser. createRequestLine(String method, String uri, ProtocolVersion ver)Instantiates a new request line.protected StatusLineBasicLineParser. createStatusLine(ProtocolVersion ver, int status, String reason)Instantiates a new status line.protected StringBasicTokenIterator. createToken(String value, int start, int end)Creates a new token to be returned.protected voidBasicHeaderValueFormatter. doFormatValue(CharArrayBuffer buffer, String value, boolean quote)Actually formats the value of a name-value pair.HeaderHeaderGroup. getCondensedHeader(String name)Gets a header representing all of the header values with the given name.HeaderAbstractHttpMessage. getFirstHeader(String name)HeaderHeaderGroup. getFirstHeader(String name)Gets the first header with the given name.Header[]AbstractHttpMessage. getHeaders(String name)Header[]HeaderGroup. getHeaders(String name)Gets all of the headers with the given name.HeaderAbstractHttpMessage. getLastHeader(String name)HeaderHeaderGroup. getLastHeader(String name)Gets the last header with the given name.NameValuePairBasicHeaderElement. getParameterByName(String name)Returns parameter with the given name, if found.HeaderIteratorAbstractHttpMessage. headerIterator(String name)HeaderIteratorHeaderGroup. iterator(String name)Returns an iterator over the headers with a given name in this group.static HeaderElement[]BasicHeaderValueParser. parseElements(String value, HeaderValueParser parser)Parses elements with the given parser.static HeaderBasicLineParser. parseHeader(String value, LineParser parser)static HeaderElementBasicHeaderValueParser. parseHeaderElement(String value, HeaderValueParser parser)Parses an element with the given parser.static NameValuePairBasicHeaderValueParser. parseNameValuePair(String value, HeaderValueParser parser)Parses a name-value-pair with the given parser.static NameValuePair[]BasicHeaderValueParser. parseParameters(String value, HeaderValueParser parser)Parses parameters with the given parser.static ProtocolVersionBasicLineParser. parseProtocolVersion(String value, LineParser parser)static RequestLineBasicLineParser. parseRequestLine(String value, LineParser parser)static StatusLineBasicLineParser. parseStatusLine(String value, LineParser parser)voidAbstractHttpMessage. removeHeaders(String name)voidAbstractHttpMessage. setHeader(String name, String value)voidBasicHttpResponse. setReasonPhrase(String reason)voidBasicHttpResponse. setStatusLine(ProtocolVersion ver, int code, String reason)Constructors in org.apache.http.message with parameters of type String Constructor Description BasicHeader(String name, String value)Constructor with name and valueBasicHeaderElement(String name, String value)Constructor with name and value.BasicHeaderElement(String name, String value, NameValuePair[] parameters)Constructor with name, value and parameters.BasicHeaderIterator(Header[] headers, String name)Creates a new header iterator.BasicHttpEntityEnclosingRequest(String method, String uri)BasicHttpEntityEnclosingRequest(String method, String uri, ProtocolVersion ver)BasicHttpRequest(String method, String uri)BasicHttpRequest(String method, String uri, ProtocolVersion ver)BasicHttpResponse(ProtocolVersion ver, int code, String reason)Creates a response from elements of a status line.BasicListHeaderIterator(List headers, String name)Creates a new header iterator.BasicNameValuePair(String name, String value)Default Constructor taking a name and a value.BasicRequestLine(String method, String uri, ProtocolVersion version)BasicStatusLine(ProtocolVersion version, int statusCode, String reasonPhrase)Creates a new status line with the given version, status, and reason. -
Uses of String in org.apache.http.params
Fields in org.apache.http.params declared as String Modifier and Type Field Description static StringCoreConnectionPNames. CONNECTION_TIMEOUTDetermines the timeout until a connection is etablished.static StringCoreProtocolPNames. HTTP_CONTENT_CHARSETDefines the charset to be used per default for encoding content body.static StringCoreProtocolPNames. HTTP_ELEMENT_CHARSETDefines the charset to be used for encoding HTTP protocol elements.static StringCoreConnectionPNames. MAX_HEADER_COUNTDetermines the maximum HTTP header count allowed.static StringCoreConnectionPNames. MAX_LINE_LENGTHDetermines the maximum line length limit.static StringCoreProtocolPNames. ORIGIN_SERVERDefines the content of the Server header.static StringCoreProtocolPNames. PROTOCOL_VERSIONDefines theprotocol versionused per default.static StringCoreConnectionPNames. SO_LINGERSets SO_LINGER with the specified linger time in seconds.static StringCoreConnectionPNames. SO_TIMEOUTDefines the default socket timeout (SO_TIMEOUT) in milliseconds which is the timeout for waiting for data.static StringCoreConnectionPNames. SOCKET_BUFFER_SIZEDetermines the size of the internal socket buffer used to buffer data while receiving / transmitting HTTP messages.static StringCoreConnectionPNames. STALE_CONNECTION_CHECKDetermines whether stale connection check is to be used.static StringCoreProtocolPNames. STRICT_TRANSFER_ENCODINGDefines whether responses with an invalid Transfer-Encoding header should be rejected.static StringCoreConnectionPNames. TCP_NODELAYDetermines whether Nagle's algorithm is to be used.static StringCoreProtocolPNames. USE_EXPECT_CONTINUEActivates 'Expect: 100-continue' handshake for the entity enclosing methods.static StringCoreProtocolPNames. USER_AGENTDefines the content of the User-Agent header.static StringCoreProtocolPNames. WAIT_FOR_CONTINUEDefines the maximum period of time in milliseconds the client should spend waiting for a 100-continue response.Methods in org.apache.http.params that return String Modifier and Type Method Description static StringHttpProtocolParams. getContentCharset(HttpParams params)Returns the default charset to be used for writing content body, when no charset explicitly specified.static StringHttpProtocolParams. getHttpElementCharset(HttpParams params)Returns the charset to be used for writing HTTP headers.static StringHttpProtocolParams. getUserAgent(HttpParams params)Methods in org.apache.http.params with parameters of type String Modifier and Type Method Description booleanAbstractHttpParams. getBooleanParameter(String name, boolean defaultValue)booleanHttpParams. getBooleanParameter(String name, boolean defaultValue)Returns aBooleanparameter value with the given name.doubleAbstractHttpParams. getDoubleParameter(String name, double defaultValue)doubleHttpParams. getDoubleParameter(String name, double defaultValue)Returns aDoubleparameter value with the given name.intAbstractHttpParams. getIntParameter(String name, int defaultValue)intHttpParams. getIntParameter(String name, int defaultValue)Returns anIntegerparameter value with the given name.longAbstractHttpParams. getLongParameter(String name, long defaultValue)longHttpParams. getLongParameter(String name, long defaultValue)Returns aLongparameter value with the given name.ObjectBasicHttpParams. getParameter(String name)ObjectDefaultedHttpParams. getParameter(String name)Retrieves the value of the parameter from the local collection and, if the parameter is not set locally, delegates its resolution to the default collection.ObjectHttpParams. getParameter(String name)Obtains the value of the given parameter.booleanAbstractHttpParams. isParameterFalse(String name)booleanHttpParams. isParameterFalse(String name)Checks if a boolean parameter is not set orfalse.booleanBasicHttpParams. isParameterSet(String name)booleanBasicHttpParams. isParameterSetLocally(String name)booleanAbstractHttpParams. isParameterTrue(String name)booleanHttpParams. isParameterTrue(String name)Checks if a boolean parameter is set totrue.booleanBasicHttpParams. removeParameter(String name)booleanDefaultedHttpParams. removeParameter(String name)Attempts to remove the parameter from the local collection.booleanHttpParams. removeParameter(String name)Removes the parameter with the specified name.HttpParamsAbstractHttpParams. setBooleanParameter(String name, boolean value)HttpParamsHttpParams. setBooleanParameter(String name, boolean value)Assigns aBooleanto the parameter with the given namevoidHttpProtocolParamBean. setContentCharset(String contentCharset)static voidHttpProtocolParams. setContentCharset(HttpParams params, String charset)Sets the default charset to be used for writing content body, when no charset explicitly specified.HttpParamsAbstractHttpParams. setDoubleParameter(String name, double value)HttpParamsHttpParams. setDoubleParameter(String name, double value)Assigns aDoubleto the parameter with the given namevoidHttpProtocolParamBean. setHttpElementCharset(String httpElementCharset)static voidHttpProtocolParams. setHttpElementCharset(HttpParams params, String charset)Sets the charset to be used for writing HTTP headers.HttpParamsAbstractHttpParams. setIntParameter(String name, int value)HttpParamsHttpParams. setIntParameter(String name, int value)Assigns anIntegerto the parameter with the given nameHttpParamsAbstractHttpParams. setLongParameter(String name, long value)HttpParamsHttpParams. setLongParameter(String name, long value)Assigns aLongto the parameter with the given nameHttpParamsBasicHttpParams. setParameter(String name, Object value)HttpParamsDefaultedHttpParams. setParameter(String name, Object value)Sets the parameter in the local collection.HttpParamsHttpParams. setParameter(String name, Object value)Assigns the value to the parameter with the given name.voidBasicHttpParams. setParameters(String[] names, Object value)Assigns the value to all the parameter with the given namesvoidHttpProtocolParamBean. setUserAgent(String userAgent)static voidHttpProtocolParams. setUserAgent(HttpParams params, String useragent) -
Uses of String in org.apache.http.protocol
Fields in org.apache.http.protocol declared as String Modifier and Type Field Description static StringHTTP. ASCIIstatic StringHTTP. CHARSET_PARAMstatic StringHTTP. CHUNK_CODINGTransfer encoding definitionsstatic StringHTTP. CONN_CLOSEHTTP connection controlstatic StringHTTP. CONN_DIRECTIVEstatic StringHTTP. CONN_KEEP_ALIVEstatic StringHTTP. CONTENT_ENCODINGstatic StringHTTP. CONTENT_LENstatic StringHTTP. CONTENT_TYPEstatic StringHTTP. DATE_HEADERstatic StringHTTP. DEFAULT_CONTENT_CHARSETDefault charsetsstatic StringHTTP. DEFAULT_CONTENT_TYPEDefault content typestatic StringHTTP. DEFAULT_PROTOCOL_CHARSETstatic StringHTTP. EXPECT_CONTINUEHTTP expectationsstatic StringHTTP. EXPECT_DIRECTIVEstatic StringExecutionContext. HTTP_CONNECTIONstatic StringExecutionContext. HTTP_PROXY_HOSTstatic StringExecutionContext. HTTP_REQ_SENTstatic StringExecutionContext. HTTP_REQUESTstatic StringExecutionContext. HTTP_RESPONSEstatic StringExecutionContext. HTTP_TARGET_HOSTstatic StringHTTP. IDENTITY_CODINGstatic StringHTTP. ISO_8859_1static StringHTTP. OCTET_STREAM_TYPEContent type definitionsstatic StringHttpDateGenerator. PATTERN_RFC1123Date format pattern used to generate the header in RFC 1123 format.static StringHTTP. PLAIN_TEXT_TYPEstatic StringHttpContext. RESERVED_PREFIXThe prefix reserved for use by HTTP components.static StringHTTP. SERVER_HEADERstatic StringHTTP. TARGET_HOSTstatic StringHTTP. TRANSFER_ENCODINGHTTP header definitionsstatic StringHTTP. US_ASCIIstatic StringHTTP. USER_AGENTstatic StringHTTP. UTF_16static StringHTTP. UTF_8Common charset definitionsMethods in org.apache.http.protocol that return String Modifier and Type Method Description StringHttpDateGenerator. getCurrentDate()Methods in org.apache.http.protocol with parameters of type String Modifier and Type Method Description ObjectBasicHttpContext. getAttribute(String id)ObjectDefaultedHttpContext. getAttribute(String id)ObjectHttpContext. getAttribute(String id)ObjectSyncBasicHttpContext. getAttribute(String id)HttpRequestHandlerHttpRequestHandlerRegistry. lookup(String requestURI)HttpRequestHandlerHttpRequestHandlerResolver. lookup(String requestURI)ObjectUriPatternMatcher. lookup(String requestURI)protected booleanHttpRequestHandlerRegistry. matchUriRequestPattern(String pattern, String requestUri)Deprecated.useUriPatternMatcherdirectlyprotected booleanUriPatternMatcher. matchUriRequestPattern(String pattern, String requestUri)voidHttpRequestHandlerRegistry. register(String pattern, HttpRequestHandler handler)voidUriPatternMatcher. register(String pattern, Object handler)ObjectBasicHttpContext. removeAttribute(String id)ObjectDefaultedHttpContext. removeAttribute(String id)ObjectHttpContext. removeAttribute(String id)ObjectSyncBasicHttpContext. removeAttribute(String id)voidBasicHttpContext. setAttribute(String id, Object obj)voidDefaultedHttpContext. setAttribute(String id, Object obj)voidHttpContext. setAttribute(String id, Object obj)voidSyncBasicHttpContext. setAttribute(String id, Object obj)voidHttpRequestHandlerRegistry. unregister(String pattern)voidUriPatternMatcher. unregister(String pattern) -
Uses of String in org.apache.http.util
Fields in org.apache.http.util declared as String Modifier and Type Field Description static StringVersionInfo. PROPERTY_MODULEstatic StringVersionInfo. PROPERTY_RELEASEstatic StringVersionInfo. PROPERTY_TIMESTAMPstatic StringVersionInfo. UNAVAILABLEA string constant for unavailable information.static StringVersionInfo. VERSION_PROPERTY_FILEThe filename of the version information files.Methods in org.apache.http.util that return String Modifier and Type Method Description static StringEncodingUtils. getAsciiString(byte[] data)Converts the byte array of ASCII characters to a string.static StringEncodingUtils. getAsciiString(byte[] data, int offset, int length)Converts the byte array of ASCII characters to a string.StringVersionInfo. getClassloader()Obtains the classloader used to read the version information.static StringEntityUtils. getContentCharSet(HttpEntity entity)StringVersionInfo. getModule()Obtains the name of the versioned module or informal unit.StringVersionInfo. getPackage()Obtains the package name.StringVersionInfo. getRelease()Obtains the release of the versioned module or informal unit.static StringEncodingUtils. getString(byte[] data, int offset, int length, String charset)Converts the byte array of HTTP content characters to a string.static StringEncodingUtils. getString(byte[] data, String charset)Converts the byte array of HTTP content characters to a string.StringVersionInfo. getTimestamp()Obtains the timestamp of the versioned module or informal unit.StringCharArrayBuffer. substring(int beginIndex, int endIndex)StringCharArrayBuffer. substringTrimmed(int beginIndex, int endIndex)StringCharArrayBuffer. toString()static StringEntityUtils. toString(HttpEntity entity)static StringEntityUtils. toString(HttpEntity entity, String defaultCharset)StringVersionInfo. toString()Provides the version information in human-readable format.Methods in org.apache.http.util with parameters of type String Modifier and Type Method Description voidCharArrayBuffer. append(String str)protected static VersionInfoVersionInfo. fromMap(String pckg, Map info, ClassLoader clsldr)Instantiates version information from properties.static byte[]EncodingUtils. getAsciiBytes(String data)Converts the specified string to byte array of ASCII characters.static byte[]EncodingUtils. getBytes(String data, String charset)Converts the specified string to a byte array.static StringEncodingUtils. getString(byte[] data, int offset, int length, String charset)Converts the byte array of HTTP content characters to a string.static StringEncodingUtils. getString(byte[] data, String charset)Converts the byte array of HTTP content characters to a string.static VersionInfo[]VersionInfo. loadVersionInfo(String[] pckgs, ClassLoader clsldr)Loads version information for a list of packages.static VersionInfoVersionInfo. loadVersionInfo(String pckg, ClassLoader clsldr)Loads version information for a package.static StringEntityUtils. toString(HttpEntity entity, String defaultCharset)Constructors in org.apache.http.util with parameters of type String Constructor Description VersionInfo(String pckg, String module, String release, String time, String clsldr)Instantiates version information. -
Uses of String in org.apache.xalan
Methods in org.apache.xalan that return String Modifier and Type Method Description static StringVersion. getImplementationLanguage()Implementation Language: Java.static StringVersion. getProduct()Name of product: Xalan.static StringVersion. getVersion()Get the basic version string for the current Xalan release.Methods in org.apache.xalan with parameters of type String Modifier and Type Method Description static voidVersion. main(String[] argv)Print the processor version to the command line. -
Uses of String in org.apache.xalan.extensions
Fields in org.apache.xalan.extensions declared as String Modifier and Type Field Description protected StringExtensionHandler. m_namespaceUriuri of the extension namespaceprotected StringExtensionHandler. m_scriptLangscripting language of implementationMethods in org.apache.xalan.extensions that return String Modifier and Type Method Description StringExtensionNamespaceSupport. getNamespace()StringExpressionContext. toString(Node n)Get the value of a node as a string.Methods in org.apache.xalan.extensions with parameters of type String Modifier and Type Method Description voidExtensionsTable. addExtensionNamespace(String uri, ExtensionHandler extNS)Register an extension namespace handler.abstract ObjectExtensionHandler. callFunction(String funcName, Vector args, Object methodKey, ExpressionContext exprContext)Process a call to a function.ExtensionNamespaceSupportExtensionNamespacesManager. defineJavaNamespace(String ns)For any extension namespace that is not either predefined or defined by a "component" declaration or exslt function declaration, attempt to create an ExtensionNamespaceSuport object for the appropriate Java class or Java package Extension Handler.ExtensionNamespaceSupportExtensionNamespacesManager. defineJavaNamespace(String ns, String classOrPackage)booleanExtensionsTable. elementAvailable(String ns, String elemName)Execute the element-available() function.ObjectExtensionsTable. extFunction(String ns, String funcName, Vector argVec, Object methodKey, ExpressionContext exprContext)Handle an extension function.booleanExtensionsTable. functionAvailable(String ns, String funcName)Execute the function-available() function.ExtensionHandlerExtensionsTable. get(String extns)Get an ExtensionHandler object that represents the given namespace.abstract booleanExtensionHandler. isElementAvailable(String element)Tests whether a certain element name is known within this namespace.abstract booleanExtensionHandler. isFunctionAvailable(String function)Tests whether a certain function name is known within this namespace.intExtensionNamespacesManager. namespaceIndex(String namespace, Vector extensions)Get the index for a namespace entry in the extension namespace Vector, -1 if no such entry yet exists.abstract voidExtensionHandler. processElement(String localPart, ElemTemplateElement element, TransformerImpl transformer, Stylesheet stylesheetTree, Object methodKey)Process a call to this extension namespace via an element.voidExtensionNamespacesManager. registerExtension(String namespace)If necessary, register the extension namespace found compiling a function or creating an extension element.Constructors in org.apache.xalan.extensions with parameters of type String Constructor Description ExtensionHandler(String namespaceUri, String scriptLang)Construct a new extension namespace handler given all the information needed.ExtensionNamespaceSupport(String namespace, String handlerClass, Object[] constructorArgs) -
Uses of String in org.apache.xalan.processor
Fields in org.apache.xalan.processor declared as String Modifier and Type Field Description static StringTransformerFactoryImpl. FEATURE_INCREMENTALStatic string to be used for incremental featurestatic StringTransformerFactoryImpl. FEATURE_OPTIMIZEStatic string to be used for optimize featurestatic StringTransformerFactoryImpl. FEATURE_SOURCE_LOCATIONStatic string to be used for source_location featurestatic StringTransformerFactoryImpl. XSLT_PROPERTIESThe path/filename of the property file: XSLTInfo.properties Maintenance note: see alsoorg.apache.xpath.functions.FuncSystemProperty.XSLT_PROPERTIESMethods in org.apache.xalan.processor that return String Modifier and Type Method Description StringStylesheetHandler. getBaseIdentifier()Return the base identifier.StringProcessorInclude. getHref()Get the base identifier with which this stylesheet is associated.StringStylesheetHandler. getNamespaceForPrefix(String prefix)Given a namespace, get the corrisponding prefix from the current namespace support context.StringStylesheetHandler. getNamespaceForPrefix(String prefix, Node context)Given a namespace, get the corrisponding prefix.StringXSLTAttributeDef. getSetterMethodName()Return a string that should represent the setter method.protected StringProcessorImport. getStylesheetInclErr()Get the error number associated with this type of stylesheet importing itselfprotected StringProcessorInclude. getStylesheetInclErr()Get the error number associated with this type of stylesheet including itselfStringStylesheetHandler. getSystemId()Get the base ID (URI or system ID) from where relative URLs will be resolved.Methods in org.apache.xalan.processor with parameters of type String Modifier and Type Method Description XPathStylesheetHandler. createXPath(String str, ElemTemplateElement owningTemplate)Process an expression string into an XPath.voidProcessorCharacters. endElement(StylesheetHandler handler, String uri, String localName, String rawName)Receive notification of the end of an element.voidProcessorExsltFunction. endElement(StylesheetHandler handler, String uri, String localName, String rawName)End an ElemExsltFunction, and verify its validity.voidProcessorLRE. endElement(StylesheetHandler handler, String uri, String localName, String rawName)Receive notification of the end of an element.voidProcessorStylesheetElement. endElement(StylesheetHandler handler, String uri, String localName, String rawName)Receive notification of the end of an element.voidProcessorTemplateElem. endElement(StylesheetHandler handler, String uri, String localName, String rawName)Receive notification of the end of an element.voidProcessorText. endElement(StylesheetHandler handler, String uri, String localName, String rawName)Receive notification of the end of an element.voidStylesheetHandler. endElement(String uri, String localName, String rawName)Receive notification of the end of an element.voidXSLTElementProcessor. endElement(StylesheetHandler handler, String uri, String localName, String rawName)Receive notification of the end of an element.voidStylesheetHandler. endPrefixMapping(String prefix)Receive notification of the end of a Namespace mapping.protected voidStylesheetHandler. error(String msg, Exception e)Tell the user of an error, and probably throw an exception.protected voidStylesheetHandler. error(String msg, Object[] args, Exception e)Tell the user of an error, and probably throw an exception.SourceTransformerFactoryImpl. getAssociatedStylesheet(Source source, String media, String title, String charset)Get InputSource specification(s) that are associated with the given document specified in the source param, via the xml-stylesheet processing instruction (see http://www.w3.org/TR/xml-stylesheet/), and that matches the given criteria.ObjectTransformerFactoryImpl. getAttribute(String name)Allows the user to retrieve specific attributes on the underlying implementation.booleanTransformerFactoryImpl. getFeature(String name)Look up the value of a feature.StringStylesheetHandler. getNamespaceForPrefix(String prefix)Given a namespace, get the corrisponding prefix from the current namespace support context.StringStylesheetHandler. getNamespaceForPrefix(String prefix, Node context)Given a namespace, get the corrisponding prefix.voidStylesheetHandler. notationDecl(String name, String publicId, String systemId)Receive notification of a notation declaration.voidXSLTElementProcessor. notationDecl(StylesheetHandler handler, String name, String publicId, String systemId)Receive notification of a notation declaration.protected voidProcessorInclude. parse(StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes)Set off a new parse for an included or imported stylesheet.voidStylesheetHandler. processingInstruction(String target, String data)Receive notification of a processing instruction.voidXSLTElementProcessor. processingInstruction(StylesheetHandler handler, String target, String data)Receive notification of a processing instruction.InputSourceStylesheetHandler. resolveEntity(String publicId, String systemId)Resolve an external entity.InputSourceXSLTElementProcessor. resolveEntity(StylesheetHandler handler, String publicId, String systemId)Resolve an external entity.voidTransformerFactoryImpl. setAttribute(String name, Object value)Allows the user to set specific attributes on the underlying implementation.voidTransformerFactoryImpl. setFeature(String name, boolean value)Set a feature for thisTransformerFactoryandTransformers orTemplates created by this factory.voidProcessorInclude. setHref(String baseIdent)Get the base identifier with which this stylesheet is associated.voidStylesheetHandler. setSystemId(String baseID)Set the base ID (URL or system ID) for the stylesheet created by this builder.voidStylesheetHandler. skippedEntity(String name)Receive notification of a skipped entity.voidXSLTElementProcessor. skippedEntity(StylesheetHandler handler, String name)Receive notification of a skipped entity.voidProcessorExsltFuncResult. startElement(StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes)Verify that the func:result element does not appear within a variable, parameter, or another func:result, and that it belongs to a func:function element.voidProcessorExsltFunction. startElement(StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes)Start an ElemExsltFunction.voidProcessorInclude. startElement(StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes)Receive notification of the start of an xsl:include element.voidProcessorLRE. startElement(StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes)Receive notification of the start of an element.voidProcessorStylesheetElement. startElement(StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes)Receive notification of the start of an strip-space element.voidProcessorTemplateElem. startElement(StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes)Receive notification of the start of an element.voidStylesheetHandler. startElement(String uri, String localName, String rawName, Attributes attributes)Receive notification of the start of an element.voidXSLTElementProcessor. startElement(StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes)Receive notification of the start of an element.voidStylesheetHandler. startPrefixMapping(String prefix, String uri)Receive notification of the start of a Namespace mapping.voidStylesheetHandler. unparsedEntityDecl(String name, String publicId, String systemId, String notationName)Receive notification of an unparsed entity declaration.voidXSLTElementProcessor. unparsedEntityDecl(StylesheetHandler handler, String name, String publicId, String systemId, String notationName)Receive notification of an unparsed entity declaration.voidStylesheetHandler. warn(String msg, Object[] args)Warn the user of an problem. -
Uses of String in org.apache.xalan.res
Methods in org.apache.xalan.res that return String Modifier and Type Method Description static StringXSLMessages. createMessage(String msgKey, Object[] args)Creates a message from the specified key and replacement arguments, localized to the given locale.static StringXSLMessages. createWarning(String msgKey, Object[] args)Creates a message from the specified key and replacement arguments, localized to the given locale.Methods in org.apache.xalan.res with parameters of type String Modifier and Type Method Description static StringXSLMessages. createMessage(String msgKey, Object[] args)Creates a message from the specified key and replacement arguments, localized to the given locale.static StringXSLMessages. createWarning(String msgKey, Object[] args)Creates a message from the specified key and replacement arguments, localized to the given locale.static XSLTErrorResourcesXSLTErrorResources. loadResourceBundle(String className)Return a named ResourceBundle for a particular locale. -
Uses of String in org.apache.xalan.templates
Fields in org.apache.xalan.templates declared as String Modifier and Type Field Description static StringConstants. ATTRNAME_AMOUNTLiterals for XSL attribute names.static StringConstants. ATTRNAME_ANCESTORLiterals for XSL attribute names.static StringConstants. ATTRNAME_ARCHIVELiterals for XSL attribute names.static StringConstants. ATTRNAME_ATTRIBUTELiterals for XSL attribute names.static StringConstants. ATTRNAME_ATTRIBUTE_SETLiterals for XSL attribute names.static StringConstants. ATTRNAME_CASEORDERLiterals for XSL attribute names.static StringConstants. ATTRNAME_CLASSLiterals for XSL attribute names.static StringConstants. ATTRNAME_CLASSIDLiterals for XSL attribute names.static StringConstants. ATTRNAME_CODEBASELiterals for XSL attribute names.static StringConstants. ATTRNAME_CODETYPELiterals for XSL attribute names.static StringConstants. ATTRNAME_CONDITIONLiterals for XSL attribute names.static StringConstants. ATTRNAME_COPYTYPELiterals for XSL attribute names.static StringConstants. ATTRNAME_COUNTLiterals for XSL attribute names.static StringConstants. ATTRNAME_DATATYPELiterals for XSL attribute names.static StringConstants. ATTRNAME_DECIMALSEPARATORLiterals for XSL attribute names.static StringConstants. ATTRNAME_DEFAULTLiterals for XSL attribute names.static StringConstants. ATTRNAME_DEFAULTSPACELiterals for XSL attribute names.static StringConstants. ATTRNAME_DEPTHLiterals for XSL attribute names.static StringConstants. ATTRNAME_DIGITLiterals for XSL attribute names.static StringConstants. ATTRNAME_DIGITGROUPSEPLiterals for XSL attribute names.static StringConstants. ATTRNAME_DISABLE_OUTPUT_ESCAPINGLiterals for XSL attribute names.static StringConstants. ATTRNAME_ELEMENTLiterals for XSL attribute names.static StringConstants. ATTRNAME_ELEMENTSLiterals for XSL attribute names.static StringConstants. ATTRNAME_EXCLUDE_RESULT_PREFIXESLiterals for XSL attribute names.static StringConstants. ATTRNAME_EXPRLiterals for XSL attribute names.static StringConstants. ATTRNAME_EXTENSIONELEMENTPREFIXESLiterals for XSL attribute names.static StringConstants. ATTRNAME_FORMATLiterals for XSL attribute names.static StringConstants. ATTRNAME_FROMLiterals for XSL attribute names.static StringConstants. ATTRNAME_GROUPINGSEPARATORLiterals for XSL attribute names.static StringConstants. ATTRNAME_GROUPINGSIZELiterals for XSL attribute names.static StringConstants. ATTRNAME_HREFLiterals for XSL attribute names.static StringConstants. ATTRNAME_IDLiterals for XSL attribute names.static StringConstants. ATTRNAME_IMPORTANCELiterals for XSL attribute names.static StringConstants. ATTRNAME_INDENTRESULTLiterals for XSL attribute names.static StringConstants. ATTRNAME_INFINITYLiterals for XSL attribute names.static StringConstants. ATTRNAME_LANGLiterals for XSL attribute names.static StringConstants. ATTRNAME_LETTERVALUELiterals for XSL attribute names.static StringConstants. ATTRNAME_LEVELLiterals for XSL attribute names.static StringConstants. ATTRNAME_MATCHLiterals for XSL attribute names.static StringConstants. ATTRNAME_METHODLiterals for XSL attribute names.static StringConstants. ATTRNAME_MINUSSIGNLiterals for XSL attribute names.static StringConstants. ATTRNAME_MODELiterals for XSL attribute names.static StringConstants. ATTRNAME_NAMELiterals for XSL attribute names.static StringConstants. ATTRNAME_NAMESPACELiterals for XSL attribute names.static StringConstants. ATTRNAME_NANLiterals for XSL attribute names.static StringConstants. ATTRNAME_NDIGITSPERGROUPLiterals for XSL attribute names.static StringConstants. ATTRNAME_NSLiterals for XSL attribute names.static StringConstants. ATTRNAME_ONLYLiterals for XSL attribute names.static StringConstants. ATTRNAME_ORDERLiterals for XSL attribute names.static StringConstants. ATTRNAME_OUTPUT_CDATA_SECTION_ELEMENTSLiterals for XSL attribute names.static StringConstants. ATTRNAME_OUTPUT_DOCTYPE_PUBLICLiterals for XSL attribute names.static StringConstants. ATTRNAME_OUTPUT_DOCTYPE_SYSTEMLiterals for XSL attribute names.static StringConstants. ATTRNAME_OUTPUT_ENCODINGLiterals for XSL attribute names.static StringConstants. ATTRNAME_OUTPUT_INDENTLiterals for XSL attribute names.static StringConstants. ATTRNAME_OUTPUT_MEDIATYPELiterals for XSL attribute names.static StringConstants. ATTRNAME_OUTPUT_METHODLiterals for XSL attribute names.static StringConstants. ATTRNAME_OUTPUT_OMITXMLDECLLiterals for XSL attribute names.static StringConstants. ATTRNAME_OUTPUT_STANDALONELiterals for XSL attribute names.static StringConstants. ATTRNAME_OUTPUT_VERSIONLiterals for XSL attribute names.static StringConstants. ATTRNAME_PATTERNSEPARATORLiterals for XSL attribute names.static StringConstants. ATTRNAME_PERCENTLiterals for XSL attribute names.static StringConstants. ATTRNAME_PERMILLELiterals for XSL attribute names.static StringConstants. ATTRNAME_PRIORITYLiterals for XSL attribute names.static StringConstants. ATTRNAME_REFIDLiterals for XSL attribute names.static StringConstants. ATTRNAME_RESULT_PREFIXLiterals for XSL attribute names.static StringConstants. ATTRNAME_RESULTNSLiterals for XSL attribute names.static StringConstants. ATTRNAME_SELECTLiterals for XSL attribute names.static StringConstants. ATTRNAME_SEQUENCESRCLiterals for XSL attribute names.static StringConstants. ATTRNAME_STYLELiterals for XSL attribute names.static StringConstants. ATTRNAME_STYLESHEET_PREFIXLiterals for XSL attribute names.static StringConstants. ATTRNAME_TERMINATELiterals for XSL attribute names.static StringConstants. ATTRNAME_TESTLiterals for XSL attribute names.static StringConstants. ATTRNAME_TOSTRINGLiterals for XSL attribute names.static StringConstants. ATTRNAME_TYPELiterals for XSL attribute names.static StringConstants. ATTRNAME_USELiterals for XSL attribute names.static StringConstants. ATTRNAME_USEATTRIBUTESETSLiterals for XSL attribute names.static StringConstants. ATTRNAME_VALUELiterals for XSL attribute names.static StringConstants. ATTRNAME_VERSIONLiterals for XSL attribute names.static StringConstants. ATTRNAME_XMLNSLiterals for XSL attribute names.static StringConstants. ATTRNAME_XMLNSDEFLiterals for XSL attribute names.static StringConstants. ATTRNAME_XMLSPACELiterals for XSL attribute names.static StringConstants. ATTRNAME_XXXXtemp dummystatic StringConstants. ATTRNAME_ZERODIGITLiterals for XSL attribute names.static StringConstants. ATTRVAL_ALPHABETICFor letter-value attribute (part of conversion attributes).static StringConstants. ATTRVAL_ANCESTORsome stuff for my patterns-by-examplestatic StringConstants. ATTRVAL_ANYFor level attribute in xsl:number.static StringConstants. ATTRVAL_CASEORDER_LOWERStuff for sortingstatic StringConstants. ATTRVAL_CASEORDER_UPPERStuff for sortingstatic StringConstants. ATTRVAL_DATATYPE_NUMBERStuff for sortingstatic StringConstants. ATTRVAL_DATATYPE_TEXTStuff for sortingstatic StringConstants. ATTRVAL_DEFAULT_PREFIXFor Stylesheet-prefix and result-prefix in xsl:namespace-aliasstatic StringConstants. ATTRVAL_IDsome stuff for my patterns-by-examplestatic StringConstants. ATTRVAL_INFINITYsome stuff for Decimal-formatstatic StringConstants. ATTRVAL_MULTIFor level attribute in xsl:number.static StringConstants. ATTRVAL_NANsome stuff for Decimal-formatstatic StringConstants. ATTRVAL_ORDER_ASCENDINGStuff for sortingstatic StringConstants. ATTRVAL_ORDER_DESCENDINGStuff for sortingstatic StringConstants. ATTRVAL_OTHERFor letter-value attribute (part of conversion attributes).static StringConstants. ATTRVAL_OUTPUT_METHOD_HTMLMnemonics for the possible values of the xsl:output element's method= attribute: ATTRVAL_OUTPUT_METHOD_XML = Use an XML formatter to produce the output document (basic XSLT operation). ATTRVAL_OUTPUT_METHOD_HTML: Use an HTML formatter to produce the output document.static StringConstants. ATTRVAL_OUTPUT_METHOD_TEXTMnemonics for the possible values of the xsl:output element's method= attribute: ATTRVAL_OUTPUT_METHOD_XML = Use an XML formatter to produce the output document (basic XSLT operation). ATTRVAL_OUTPUT_METHOD_HTML: Use an HTML formatter to produce the output document.static StringConstants. ATTRVAL_OUTPUT_METHOD_XMLMnemonics for the possible values of the xsl:output element's method= attribute: ATTRVAL_OUTPUT_METHOD_XML = Use an XML formatter to produce the output document (basic XSLT operation). ATTRVAL_OUTPUT_METHOD_HTML: Use an HTML formatter to produce the output document.static StringConstants. ATTRVAL_PARENTsome stuff for my patterns-by-examplestatic StringConstants. ATTRVAL_SINGLEFor level attribute in xsl:number.static StringConstants. ATTRVAL_THISsome stuff for my patterns-by-examplestatic StringConstants. ATTRVAL_TRADITIONALFor letter-value attribute (part of conversion attributes).static StringConstants. DEFAULT_DECIMAL_FORMATsome stuff for Decimal-formatstatic StringConstants. ELEMNAME_ANCHOR_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_ANY_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_APPLY_IMPORTS_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_APPLY_TEMPLATES_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_ARG_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_ATTRIBUTE_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_ATTRIBUTESET_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_CALL_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_CALLTEMPLATE_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_CALLTEMPLATEARG_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_CHILDREN_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_CHOOSE_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_COMMENT_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_COMPONENT_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_CONSTRUCT_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_CONTENTS_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_COPY_OF_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_COPY_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_COUNTER_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_COUNTERINCREMENT_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_COUNTERRESET_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_COUNTERS_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_COUNTERSCOPE_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_CSSSTYLECONVERSION_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_DECIMALFORMAT_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_DISPLAYIF_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_ELEMENT_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_EMPTY_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_EVAL_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_EXPECTEDCHILDREN_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_EXTENSION_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_EXTENSIONHANDLER_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_FALLBACK_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_FOREACH_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_IF_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_IMPORT_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_INCLUDE_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_KEY_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_LOCALE_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_MESSAGE_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_NSALIAS_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_NUMBER_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_OTHERWISE_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_OUTPUT_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_PARAMVARIABLE_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_PI_OLD_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_PI_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_PRESERVESPACE_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_ROOT_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_SCRIPT_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_SORT_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_STRIPSPACE_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_STYLESHEET_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_TARGETATTRIBUTE_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_TARGETCOMMENT_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_TARGETELEMENT_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_TARGETPI_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_TARGETTEXT_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_TEMPLATE_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_TEXT_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_TRANSFORM_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_URL_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_USE_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_VALUEOF_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_VARIABLE_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_WHEN_STRINGLiterals for XSL element names.static StringConstants. ELEMNAME_WITHPARAM_STRINGLiterals for XSL element names.static StringConstants. EXSLT_ELEMNAME_FUNCRESULT_STRINGLiterals for EXSLT function elements.static StringConstants. EXSLT_ELEMNAME_FUNCTION_STRINGLiterals for EXSLT function elements.static StringStylesheet. STYLESHEET_EXTExtension to be used when serializing to disk.Methods in org.apache.xalan.templates that return String Modifier and Type Method Description StringAVT. evaluate(XPathContext xctxt, int context, PrefixResolver nsNode)Evaluate the AVT and return a String.StringElemExtensionCall. getAttribute(String rawName, Node sourceNode, TransformerImpl transformer)Return the value of the attribute interpreted as an Attribute Value Template (in other words, you can use curly expressions such as href="http://{website}".StringElemLiteralResult. getAttribute(String rawName)Return the raw value of the attribute.StringElemLiteralResult. getAttributeNS(String namespaceURI, String localName)Return the raw value of the attribute.StringElemTemplateElement. getBaseIdentifier()Return the base identifier.StringElemLiteralResult.Attribute. getBaseURI()StringElemExtensionDecl. getElement(int i)Get the element at the given indexStringStylesheet. getExcludeResultPrefix(int i)Get an "exclude-result-prefix" property.StringElemLiteralResult. getExtensionElementPrefix(int i)Get an "extension-element-prefix" property.StringStylesheet. getExtensionElementPrefix(int i)Get and "extension-element-prefix" property.StringStylesheetRoot. getExtensionHandlerClass()StringElemExtensionDecl. getFunction(int i)Get a function at a given index in this extension elementStringStylesheet. getHref()Get the base identifier with which this stylesheet is associated.StringStylesheet. getId()Get the "id" property.StringDecimalFormatProperties. getInfinity()Get the "infinity" attribute.StringElemExtensionScript. getLang()Get language used by extensionStringElemLiteralResult.Attribute. getLocalName()StringElemLiteralResult. getLocalName()Get the local name of the Literal Result Element.StringElemTemplateElement. getLocalName()For now, just return the result of getNodeName(), which the local name.StringAVT. getName()Get the local name of the attribute.StringElemLiteralResult.Attribute. getName()StringElemLiteralResult. getNamespace()Get the original namespace of the Literal Result Element.StringElemTemplateElement. getNamespaceForPrefix(String prefix)Given a namespace, get the corrisponding prefix.StringElemTemplateElement. getNamespaceForPrefix(String prefix, Node context)Fullfill the PrefixResolver interface.StringElemLiteralResult.Attribute. getNamespaceURI()StringDecimalFormatProperties. getNaN()Get the "NaN" attribute.StringDecimalFormatProperties. getNodeName()Return the node name.StringElemApplyImport. getNodeName()Return the node name.StringElemApplyTemplates. getNodeName()Return the node name.StringElemAttribute. getNodeName()Return the node name.StringElemAttributeSet. getNodeName()Return the node name.StringElemCallTemplate. getNodeName()Return the node name.StringElemChoose. getNodeName()Return the node name.StringElemComment. getNodeName()Return the node name.StringElemCopy. getNodeName()Return the node name.StringElemCopyOf. getNodeName()Return the node name.StringElemElement. getNodeName()Return the node name.StringElemExsltFuncResult. getNodeName()Return the node name, defined in the Constants class.StringElemExsltFunction. getNodeName()Return the node name, defined in the Constants class.StringElemFallback. getNodeName()Return the node name.StringElemForEach. getNodeName()Return the node name.StringElemIf. getNodeName()Return the node name.StringElemLiteralResult.Attribute. getNodeName()StringElemLiteralResult. getNodeName()Return the node name.StringElemMessage. getNodeName()Return the node name.StringElemNumber. getNodeName()Return the node name.StringElemOtherwise. getNodeName()Return the node name.StringElemParam. getNodeName()Return the node name.StringElemPI. getNodeName()Return the node name.StringElemSort. getNodeName()Return the node name.StringElemTemplate. getNodeName()Return the node name.StringElemTemplateElement. getNodeName()Return the node name.StringElemText. getNodeName()Return the node name.StringElemTextLiteral. getNodeName()Return the node name.StringElemValueOf. getNodeName()Return the node name.StringElemVariable. getNodeName()Return the node name.StringElemWhen. getNodeName()Return the node name.StringElemWithParam. getNodeName()Return the node name.StringKeyDeclaration. getNodeName()Return the node name.StringStylesheet. getNodeName()Return the node name.StringElemLiteralResult.Attribute. getNodeValue()StringElemTextLiteral. getNodeValue()Get the value of the node as a string.StringElemExtensionDecl. getPrefix()Get the prefix for this extension elementStringElemLiteralResult.Attribute. getPrefix()StringElemLiteralResult. getPrefix()Get the prefix part of the raw name of the Literal Result Element.StringXMLNSDecl. getPrefix()Return the prefix.StringOutputProperties. getProperty(String key)Searches for the property with the specified key in the property list.StringOutputProperties. getProperty(QName key)Searches for the property with the specified key in the property list.StringElemTemplate. getPublicId()Return the public identifier for the current document event.StringElemTemplateElement. getPublicId()Return the public identifier for the current document event.StringAVT. getRawName()Get the raw name of the attribute, with the prefix unprocessed.StringElemLiteralResult. getRawName()Get the raw name of the Literal Result Element.StringNamespaceAlias. getResultNamespace()Get the result namespace value.StringNamespaceAlias. getResultPrefix()Get the "result-prefix" attribute.StringAVT. getSimpleString()Get the AVT as the original string.abstract StringAVTPart. getSimpleString()Get the AVT part as the original string.StringAVTPartSimple. getSimpleString()Get the AVT part as the original string.StringAVTPartXPath. getSimpleString()Get the AVT part as the original string.StringElemExtensionScript. getSrc()Get Extension handler name for this extensionStringNamespaceAlias. getStylesheetNamespace()Get the value for the stylesheet namespace.StringNamespaceAlias. getStylesheetPrefix()Get the "stylesheet-prefix" attribute.StringElemTemplate. getSystemId()Return the system identifier for the current document event.StringElemTemplateElement. getSystemId()Return the system identifier for the current document event.StringElemTemplateElement. getTagName()Return the element name.StringElemLiteralResult.Attribute. getTextContent()StringXUnresolvedVariable. getTypeString()Given a request type, return the equivalent string.StringXUnresolvedVariableSimple. getTypeString()Given a request type, return the equivalent string.StringAVT. getURI()Get the namespace URI of the attribute.StringXMLNSDecl. getURI()Return the URI.StringElemLiteralResult.Attribute. getValue()StringElemLiteralResult. getVersion()Get the "version" property.StringStylesheet. getVersion()Get the "version" property.StringStylesheet. getXmlnsXsl()Get the "xmlns:xsl" property.protected StringElemNumber. int2singlealphaCount(long val, CharArrayWrapper table)Convert a long integer into alphabetic counting, in other words count using the sequence A B C ...protected StringElemNumber. long2roman(long val, boolean prefixesAreOK)Convert a long integer into roman numerals.StringElemLiteralResult.Attribute. lookupNamespaceURI(String specifiedPrefix)StringElemLiteralResult.Attribute. lookupPrefix(String namespaceURI)protected StringElemAttribute. resolvePrefix(SerializationHandler rhandler, String prefix, String nodeNamespace)Resolve the namespace into a prefix.protected StringElemElement. resolvePrefix(SerializationHandler rhandler, String prefix, String nodeNamespace)Resolve the namespace into a prefix.StringStylesheetRoot. setExtensionHandlerClass(String handlerClassName)This internal method allows the setting of the java class to handle the extension function (if other than the default one).protected StringElemNumber. tradAlphaCount(long val, XResourceBundle thisBundle)Convert a long integer into traditional alphabetic counting, in other words count using the traditional numbering.Methods in org.apache.xalan.templates with parameters of type String Modifier and Type Method Description voidElemLiteralResult. addLiteralResultAttribute(String att)Set a literal result attribute (used for xsl attributes).protected static voidRedundentExprEliminator. assertion(boolean b, String msg)Simple assertion.booleanElemLiteralResult. containsExcludeResultPrefix(String prefix, String uri)Get whether or not the passed URL is flagged by the "extension-element-prefixes" or "exclude-result-prefixes" properties.booleanElemTemplateElement. containsExcludeResultPrefix(String prefix, String uri)Get whether or not the passed URL is contained flagged by the "extension-element-prefixes" property.booleanStylesheet. containsExcludeResultPrefix(String prefix, String uri)Get whether or not the passed prefix is contained flagged by the "exclude-result-prefixes" property.booleanElemLiteralResult. containsExtensionElementURI(String uri)Find out if the given "extension-element-prefix" property is defined.booleanStylesheet. containsExtensionElementURI(String uri)Find out if this contains a given "extension-element-prefix" property.voidElemTemplateElement. error(String msg)voidElemTemplateElement. error(String msg, Object[] args)Throw a template element runtime error.voidFuncDocument. error(XPathContext xctxt, String msg, Object[] args)Tell the user of an error, and probably throw an exception.StringElemExtensionCall. getAttribute(String rawName, Node sourceNode, TransformerImpl transformer)Return the value of the attribute interpreted as an Attribute Value Template (in other words, you can use curly expressions such as href="http://{website}".StringElemLiteralResult. getAttribute(String rawName)Return the raw value of the attribute.StringElemLiteralResult. getAttributeNS(String namespaceURI, String localName)Return the raw value of the attribute.booleanOutputProperties. getBooleanProperty(String key)Searches for the boolean property with the specified key in the property list.static PropertiesOutputProperties. getDefaultMethodProperties(String method)Deprecated.Use org.apache.xml.serializer.OuputPropertiesFactory.ObjectElemLiteralResult.Attribute. getFeature(String feature, String version)intOutputProperties. getIntProperty(String key)Searches for the int property with the specified key in the property list.AVTElemLiteralResult. getLiteralResultAttribute(String name)Get a literal result attribute by name.AVTElemLiteralResult. getLiteralResultAttributeNS(String namespaceURI, String localName)Get a literal result attribute by name.NodeElemLiteralResult.LiteralElementAttributes. getNamedItem(String name)Retrieves a node specified by name.NodeElemLiteralResult.LiteralElementAttributes. getNamedItemNS(String namespaceURI, String localName)Retrieves a node specified by local name and namespace URI.NamespaceAliasStylesheetRoot. getNamespaceAliasComposed(String uri)Get the "xsl:namespace-alias" property.StringElemTemplateElement. getNamespaceForPrefix(String prefix)Given a namespace, get the corrisponding prefix.StringElemTemplateElement. getNamespaceForPrefix(String prefix, Node context)Fullfill the PrefixResolver interface.StringOutputProperties. getProperty(String key)Searches for the property with the specified key in the property list.VectorOutputProperties. getQNameProperties(String key)Searches for the list of qname properties with the specified key in the property list.static VectorOutputProperties. getQNameProperties(String key, Properties props)Searches for the list of qname properties with the specified key in the property list.QNameOutputProperties. getQNameProperty(String key)Searches for the qname property with the specified key in the property list.static QNameOutputProperties. getQNameProperty(String key, Properties props)Searches for the qname property with the specified key in the property list.ObjectElemLiteralResult.Attribute. getUserData(String key)booleanElemLiteralResult.Attribute. isDefaultNamespace(String namespaceURI)static booleanOutputProperties. isLegalPropertyKey(String key)Report if the key given as an argument is a legal xsl:output key.booleanElemLiteralResult.Attribute. isSupported(String feature, String version)StringElemLiteralResult.Attribute. lookupNamespaceURI(String specifiedPrefix)StringElemLiteralResult.Attribute. lookupPrefix(String namespaceURI)NodeElemLiteralResult.LiteralElementAttributes. removeNamedItem(String name)NodeElemLiteralResult.LiteralElementAttributes. removeNamedItemNS(String namespaceURI, String localName)protected StringElemAttribute. resolvePrefix(SerializationHandler rhandler, String prefix, String nodeNamespace)Resolve the namespace into a prefix.protected StringElemElement. resolvePrefix(SerializationHandler rhandler, String prefix, String nodeNamespace)Resolve the namespace into a prefix.voidOutputProperties. setBooleanProperty(String key, boolean value)Set an output property.StringStylesheetRoot. setExtensionHandlerClass(String handlerClassName)This internal method allows the setting of the java class to handle the extension function (if other than the default one).voidStylesheet. setHref(String baseIdent)Set the base identifier with which this stylesheet is associated.voidStylesheet. setId(String v)Set the "id" property.voidDecimalFormatProperties. setInfinity(String inf)Set the "infinity" attribute.voidOutputProperties. setIntProperty(String key, int value)Set an output property.voidElemExtensionScript. setLang(String v)Set language used by extensionvoidElemLiteralResult. setLocalName(String localName)Set the local name of the LRE.voidOutputProperties. setMethodDefaults(String method)Reset the default properties based on the method.voidAVT. setName(String name)Set the local name of the attribute.voidElemLiteralResult. setNamespace(String ns)Set the namespace URI of the result element to be created.voidDecimalFormatProperties. setNaN(String v)Set the "NaN" attribute.voidElemLiteralResult.Attribute. setNodeValue(String nodeValue)voidElemExtensionDecl. setPrefix(String v)Set the prefix for this extension elementvoidElemLiteralResult.Attribute. setPrefix(String prefix)voidOutputProperties. setProperty(String key, String value)Set an output property.voidOutputProperties. setProperty(QName key, String value)Set an output property.voidOutputProperties. setQNameProperties(String key, Vector v)Set an output property with a QName list value.voidOutputProperties. setQNameProperty(String key, QName value)Set an output property with a QName value.voidAVT. setRawName(String rawName)Get the raw name of the attribute, with the prefix unprocessed.voidElemLiteralResult. setRawName(String rawName)Set the raw name of the LRE.voidNamespaceAlias. setResultNamespace(String v)Set the result namespace.voidNamespaceAlias. setResultPrefix(String v)Set the "result-prefix" attribute.voidElemExtensionScript. setSrc(String v)Set Extension handler name for this extensionvoidNamespaceAlias. setStylesheetNamespace(String v)Set the value for the stylesheet namespace.voidNamespaceAlias. setStylesheetPrefix(String v)Set the "stylesheet-prefix" attribute.voidElemLiteralResult.Attribute. setTextContent(String textContent)voidAVT. setURI(String uri)Get the namespace URI of the attribute.ObjectElemLiteralResult.Attribute. setUserData(String key, Object data, UserDataHandler handler)voidElemLiteralResult.Attribute. setValue(String value)voidElemLiteralResult. setVersion(String v)Set the "version" property.voidStylesheet. setVersion(String v)Set the "version" property.voidStylesheet. setXmlnsXsl(String v)Set the "xmlns:xsl" property.voidElemLiteralResult. throwDOMException(short code, String msg)Throw a DOMExceptionprotected booleanElemAttribute. validateNodeName(String nodeName)Validate that the node name is good.voidFuncDocument. warn(XPathContext xctxt, String msg, Object[] args)Warn the user of a problem.voidFuncFormatNumb. warn(XPathContext xctxt, String msg, Object[] args)Warn the user of a problem.Constructors in org.apache.xalan.templates with parameters of type String Constructor Description AVT(StylesheetHandler handler, String uri, String name, String rawName, String stringedValue, ElemTemplateElement owner)Construct an AVT by parsing the string, and either constructing a vector of AVTParts, or simply hold on to the string if the AVT is simple.AVTPartSimple(String val)Construct a simple AVT part.AVTPartXPath(String val, PrefixResolver nsNode, XPathParser xpathProcessor, XPathFactory factory, XPathContext liaison)Construct a simple AVT part.OutputProperties(String method)Creates an empty OutputProperties with the defaults specified by a property file.XMLNSDecl(String prefix, String uri, boolean isExcluded)Constructor XMLNSDecl -
Uses of String in org.apache.xalan.transformer
Fields in org.apache.xalan.transformer declared as String Modifier and Type Field Description StringDecimalToRoman. m_postLetterCorrespoding letter (roman) to m_postValueStringDecimalToRoman. m_preLetterCorrespoding letter (roman) to m_preValuestatic StringXalanProperties. SOURCE_LOCATIONMethods in org.apache.xalan.transformer that return String Modifier and Type Method Description StringTransformerIdentityImpl. getOutputProperty(String name)Get an output property that is in effect for the transformation.StringTransformerImpl. getOutputProperty(String qnameString)Get an output property that is in effect for the transformation.StringTransformerImpl. getOutputPropertyNoDefault(String qnameString)Get the value of a property, without using the default properties.StringTransformerHandlerImpl. getSystemId()Get the base ID (URI or system ID) from where relative URLs will be resolved.StringTransformerIdentityImpl. getSystemId()Get the base ID (URI or system ID) from where relative URLs will be resolved.StringTransformerImpl. transformToString(ElemTemplateElement elem)Take the contents of a template element, process it, and convert it to a string.Methods in org.apache.xalan.transformer with parameters of type String Modifier and Type Method Description voidTransformerHandlerImpl. attributeDecl(String eName, String aName, String type, String valueDefault, String value)Report an attribute type declaration.voidTransformerIdentityImpl. attributeDecl(String eName, String aName, String type, String valueDefault, String value)Report an attribute type declaration.booleanTransformerImpl. elementAvailable(String ns, String elemName)voidTransformerHandlerImpl. elementDecl(String name, String model)Report an element type declaration.voidTransformerIdentityImpl. elementDecl(String name, String model)Report an element type declaration.voidTransformerHandlerImpl. endElement(String uri, String localName, String qName)Filter an end element event.voidTransformerIdentityImpl. endElement(String uri, String localName, String qName)Receive notification of the end of an element.voidTransformerHandlerImpl. endEntity(String name)Report the end of an entity.voidTransformerIdentityImpl. endEntity(String name)Report the end of an entity.voidTransformerHandlerImpl. endPrefixMapping(String prefix)Filter an end Namespace prefix mapping event.voidTransformerIdentityImpl. endPrefixMapping(String prefix)Receive notification of the end of a Namespace mapping.voidMsgMgr. error(SourceLocator srcLctr, String msg)Tell the user of an error, and probably throw an exception.voidMsgMgr. error(SourceLocator srcLctr, String msg, Exception e)Tell the user of an error, and probably throw an exception.voidMsgMgr. error(SourceLocator srcLctr, String msg, Object[] args)Tell the user of an error, and probably throw an exception.voidMsgMgr. error(SourceLocator srcLctr, String msg, Object[] args, Exception e)Tell the user of an error, and probably throw an exception.voidMsgMgr. error(SourceLocator srcLctr, Node styleNode, Node sourceNode, String msg)Tell the user of an error, and probably throw an exception.voidMsgMgr. error(SourceLocator srcLctr, Node styleNode, Node sourceNode, String msg, Object[] args)Tell the user of an error, and probably throw an exception.voidTransformerHandlerImpl. externalEntityDecl(String name, String publicId, String systemId)Report a parsed external entity declaration.voidTransformerIdentityImpl. externalEntityDecl(String name, String publicId, String systemId)Report a parsed external entity declaration.ObjectTransformerImpl. extFunction(String ns, String funcName, Vector argVec, Object methodKey)voidTransformerImpl. fireGenerateEvent(int eventType, String data)Fire off comment and entity ref events.voidTransformerImpl. fireGenerateEvent(int eventType, String name, String data)Fire off processingInstruction events.voidTransformerImpl. fireGenerateEvent(int eventType, String name, Attributes atts)Fire off startElement, endElement events.booleanTransformerImpl. functionAvailable(String ns, String funcName)booleanTransformerImpl. getFeature(String name)Look up the value of a feature.StringTransformerIdentityImpl. getOutputProperty(String name)Get an output property that is in effect for the transformation.StringTransformerImpl. getOutputProperty(String qnameString)Get an output property that is in effect for the transformation.StringTransformerImpl. getOutputPropertyNoDefault(String qnameString)Get the value of a property, without using the default properties.ObjectTransformerIdentityImpl. getParameter(String name)Get a parameter that was explicitly set with setParameter or setParameters.ObjectTransformerImpl. getParameter(String name)Get a parameter that was explicitly set with setParameter or setParameters.voidTransformerHandlerImpl. internalEntityDecl(String name, String value)Report an internal entity declaration.voidTransformerIdentityImpl. internalEntityDecl(String name, String value)Report an internal entity declaration.voidMsgMgr. message(SourceLocator srcLctr, String msg, boolean terminate)Warn the user of a problem.voidTransformerHandlerImpl. notationDecl(String name, String publicId, String systemId)Filter a notation declaration event.voidTransformerIdentityImpl. notationDecl(String name, String publicId, String systemId)Receive notification of a notation declaration.voidTrAXFilter. parse(String systemId)Parse a document.voidTransformerHandlerImpl. processingInstruction(String target, String data)Filter a processing instruction event.voidTransformerIdentityImpl. processingInstruction(String target, String data)Receive notification of a processing instruction.InputSourceTransformerHandlerImpl. resolveEntity(String publicId, String systemId)Filter an external entity resolution.voidTransformerImpl. setBaseURLOfSource(String base)Get the base URL of the source.voidTransformerIdentityImpl. setOutputProperty(String name, String value)Set an output property that will be in effect for the transformation.voidTransformerImpl. setOutputProperty(String name, String value)This method is used to set or override the value of the effective xsl:output attribute values specified in the stylesheet.voidTransformerIdentityImpl. setParameter(String name, Object value)Add a parameter for the transformation.voidTransformerImpl. setParameter(String name, Object value)Set a parameter for the transformation.voidTransformerImpl. setParameter(String name, String namespace, Object value)Set a parameter for the templates.voidTransformerHandlerImpl. setSystemId(String systemID)Set the base ID (URI or system ID) from where relative URLs will be resolved.voidTransformerIdentityImpl. setSystemId(String systemID)Set the base ID (URI or system ID) from where relative URLs will be resolved.voidTransformerHandlerImpl. skippedEntity(String name)Filter a skipped entity event.voidTransformerIdentityImpl. skippedEntity(String name)Receive notification of a skipped entity.voidTransformerHandlerImpl. startDTD(String name, String publicId, String systemId)Report the start of DTD declarations, if any.voidTransformerIdentityImpl. startDTD(String name, String publicId, String systemId)Report the start of DTD declarations, if any.voidTransformerHandlerImpl. startElement(String uri, String localName, String qName, Attributes atts)Filter a start element event.voidTransformerIdentityImpl. startElement(String uri, String localName, String qName, Attributes attributes)Receive notification of the start of an element.voidTransformerHandlerImpl. startEntity(String name)Report the beginning of an entity in content.voidTransformerIdentityImpl. startEntity(String name)Report the beginning of an entity in content.voidTransformerHandlerImpl. startPrefixMapping(String prefix, String uri)Filter a start Namespace prefix mapping event.voidTransformerIdentityImpl. startPrefixMapping(String prefix, String uri)Receive notification of the start of a Namespace mapping.static SerializerSerializerSwitcher. switchSerializerIfHTML(String ns, String localName, Properties props, Serializer oldSerializer)Switch to HTML serializer if element is HTMLstatic voidSerializerSwitcher. switchSerializerIfHTML(TransformerImpl transformer, String ns, String localName)Switch to HTML serializer if element is HTMLvoidTransformerHandlerImpl. unparsedEntityDecl(String name, String publicId, String systemId, String notationName)Filter an unparsed entity declaration event.voidTransformerIdentityImpl. unparsedEntityDecl(String name, String publicId, String systemId, String notationName)Receive notification of an unparsed entity declaration.voidMsgMgr. warn(SourceLocator srcLctr, String msg)Warn the user of a problem.voidMsgMgr. warn(SourceLocator srcLctr, String msg, Object[] args)Warn the user of a problem.voidMsgMgr. warn(SourceLocator srcLctr, Node styleNode, Node sourceNode, String msg)Warn the user of a problem.voidMsgMgr. warn(SourceLocator srcLctr, Node styleNode, Node sourceNode, String msg, Object[] args)Warn the user of a problem.Constructors in org.apache.xalan.transformer with parameters of type String Constructor Description DecimalToRoman(long postValue, String postLetter, long preValue, String preLetter)Constructor DecimalToRomanTransformerHandlerImpl(TransformerImpl transformer, boolean doFragment, String baseSystemID)Construct a TransformerHandlerImpl. -
Uses of String in org.apache.xalan.xslt
Fields in org.apache.xalan.xslt declared as String Modifier and Type Field Description static StringEnvironmentCheck. CLASS_NOTPRESENTMarker that a class or .jar was not found.static StringEnvironmentCheck. CLASS_PRESENTMarker that a class or .jar was found.static StringEnvironmentCheck. ERRORPrefixed to hash keys that signify serious problems.static StringEnvironmentCheck. ERROR_FOUNDValue for any error found.static StringEnvironmentCheck. FOUNDCLASSESPrefixed to hash keys that signify .jars found in classpath.String[]EnvironmentCheck. jarNamesListing of common .jar files that include Xalan-related classes.static StringEnvironmentCheck. VERSIONPrefixed to hash keys that signify version numbers.static StringEnvironmentCheck. WARNINGAdded to descriptions that signify potential problems.Methods in org.apache.xalan.xslt that return String Modifier and Type Method Description protected StringEnvironmentCheck. getApparentVersion(String jarName, long jarSize)Cheap-o method to determine the product version of a .jar.Methods in org.apache.xalan.xslt with parameters of type String Modifier and Type Method Description protected booleanEnvironmentCheck. appendFoundJars(Node container, Document factory, Vector v, String desc)Print out report of .jars found in a classpath.protected VectorEnvironmentCheck. checkPathForJars(String cp, String[] jars)Cheap-o listing of specified .jars found in the classpath.protected StringEnvironmentCheck. getApparentVersion(String jarName, long jarSize)Cheap-o method to determine the product version of a .jar.protected booleanEnvironmentCheck. logFoundJars(Vector v, String desc)Print out report of .jars found in a classpath.protected voidEnvironmentCheck. logMsg(String s)Bottleneck output: calls outWriter.println(s).static voidEnvironmentCheck. main(String[] args)Command line runnability: checks for [-out outFilename] arg. -
Uses of String in org.apache.xml.dtm
Methods in org.apache.xml.dtm that return String Modifier and Type Method Description StringDTM. getDocumentBaseURI()Return the base URI of the document entity.StringDTM. getDocumentEncoding(int nodeHandle)Return the name of the character encoding scheme in which the document entity is expressed.StringDTM. getDocumentStandalone(int nodeHandle)Return an indication of the standalone status of the document, either "yes" or "no".StringDTM. getDocumentSystemIdentifier(int nodeHandle)Return the system identifier of the document entity.StringDTM. getDocumentTypeDeclarationPublicIdentifier()Return the public identifier of the external subset, normalized as described in 4.2.2 External Entities [XML].StringDTM. getDocumentTypeDeclarationSystemIdentifier()A document type declaration information item has the following properties: 1.StringDTM. getDocumentVersion(int documentHandle)Return a string representing the XML version of the document.StringDTM. getLocalName(int nodeHandle)Given a node handle, return its DOM-style localname.StringDTM. getLocalNameFromExpandedNameID(int ExpandedNameID)Given an expanded-name ID, return the local name part.StringDTMException. getLocationAsString()Get the location information as a string.StringDTMException. getMessageAndLocation()Get the error message with location information appended.static StringAxis. getNames(int index)StringDTM. getNamespaceFromExpandedNameID(int ExpandedNameID)Given an expanded-name ID, return the namespace URI part.StringDTM. getNamespaceURI(int nodeHandle)Given a node handle, return its DOM-style namespace URI (As defined in Namespaces, this is the declared URI which this node's prefix -- or default in lieu thereof -- was mapped to.)StringDTM. getNodeName(int nodeHandle)Given a node handle, return its DOM-style node name.StringDTM. getNodeNameX(int nodeHandle)Given a node handle, return the XPath node name.StringDTM. getNodeValue(int nodeHandle)Given a node handle, return its node value.StringDTM. getPrefix(int nodeHandle)Given a namespace handle, return the prefix that the namespace decl is mapping.StringDTM. getUnparsedEntityURI(String name)The getUnparsedEntityURI function returns the URI of the unparsed entity with the specified name in the same document as the context node (see [3.3 Unparsed Entities]).Methods in org.apache.xml.dtm with parameters of type String Modifier and Type Method Description voidDTM. appendTextChild(String str)Append a text node child that will be constructed from a string, to the end of the document.abstract DTMIteratorDTMManager. createDTMIterator(String xpathString, PrefixResolver presolver)Create a newDTMIteratorbased on an XPath UnionExpr.intDTM. getAttributeNode(int elementHandle, String namespaceURI, String name)Retrieves an attribute node by local name and namespace URI %TBD% Note that we currently have no way to support the DOM's old getAttribute() call, which accesses only the qname.intDTM. getElementById(String elementId)Returns theElementwhoseIDis given byelementId.intDTM. getExpandedTypeID(String namespace, String localName, int type)Given an expanded name, return an ID.StringDTM. getUnparsedEntityURI(String name)The getUnparsedEntityURI function returns the URI of the unparsed entity with the specified name in the same document as the context node (see [3.3 Unparsed Entities]).booleanDTM. isSupported(String feature, String version)Tests whether DTM DOM implementation implements a specific feature and that feature is supported by this node.voidDTM. setDocumentBaseURI(String baseURI)Set the base URI of the document entity.voidDTM. setFeature(String featureId, boolean state)Set an implementation dependent feature.voidDTM. setProperty(String property, Object value)Set a run time property for this DTM instance.Constructors in org.apache.xml.dtm with parameters of type String Constructor Description DTMConfigurationException(String msg)Create a newDTMConfigurationExceptionwith theStringspecified as an error message.DTMConfigurationException(String msg, Throwable e)Create a newDTMConfigurationExceptionwith the givenExceptionbase cause and detail message.DTMConfigurationException(String message, SourceLocator locator)Create a new DTMConfigurationException from a message and a Locator.DTMConfigurationException(String message, SourceLocator locator, Throwable e)Wrap an existing exception in a DTMConfigurationException.DTMDOMException(short code, String message)Constructs a DOM/DTM exception.DTMException(String message)Create a new DTMException.DTMException(String message, Throwable e)Wrap an existing exception in a DTMException.DTMException(String message, SourceLocator locator)Create a new DTMException from a message and a Locator.DTMException(String message, SourceLocator locator, Throwable e)Wrap an existing exception in a DTMException. -
Uses of String in org.apache.xml.dtm.ref
Fields in org.apache.xml.dtm.ref declared as String Modifier and Type Field Description protected StringDTMNodeProxy. actualEncodingDOM Level 3 feature: Document actualEncodingprotected StringDTMNodeProxy. fDocumentURIDOM Level 3 feature: documentURIprotected StringDTMDefaultBase. m_documentBaseURIThe base URI for this document.protected StringDTMDocumentImpl. m_documentBaseURIThe document base URI.protected StringNodeLocator. m_publicIdprotected StringNodeLocator. m_systemIdMethods in org.apache.xml.dtm.ref that return String Modifier and Type Method Description StringDTMDefaultBase. dumpNode(int nodeHandle)Diagnostics function to dump a single node.StringDTMNodeProxy. getActualEncoding()DOM Level 3 An attribute specifying the actual encoding of this document.StringDTMNodeProxy. getAttribute(String name)StringDTMNodeProxy. getAttributeNS(String namespaceURI, String localName)StringDTMNodeProxy. getBaseURI()The absolute base URI of this node ornullif undefined.StringDTMNodeProxy. getData()StringDTMDefaultBase. getDocumentBaseURI()Return the base URI of the document entity.StringDTMDocumentImpl. getDocumentBaseURI()Return the base URI of the document entity.StringDTMDefaultBase. getDocumentEncoding(int nodeHandle)Return the name of the character encoding scheme in which the document entity is expressed.StringDTMDocumentImpl. getDocumentEncoding(int nodeHandle)Return the name of the character encoding scheme in which the document entity is expressed.StringDTMDefaultBase. getDocumentStandalone(int nodeHandle)Return an indication of the standalone status of the document, either "yes" or "no".StringDTMDocumentImpl. getDocumentStandalone(int nodeHandle)Return an indication of the standalone status of the document, either "yes" or "no".StringDTMDefaultBase. getDocumentSystemIdentifier(int nodeHandle)Return the system identifier of the document entity.StringDTMDocumentImpl. getDocumentSystemIdentifier(int nodeHandle)Return the system identifier of the document entity.abstract StringDTMDefaultBase. getDocumentTypeDeclarationPublicIdentifier()Return the public identifier of the external subset, normalized as described in 4.2.2 External Entities [XML].StringDTMDocumentImpl. getDocumentTypeDeclarationPublicIdentifier()Return the public identifier of the external subset, normalized as described in 4.2.2 External Entities [XML].abstract StringDTMDefaultBase. getDocumentTypeDeclarationSystemIdentifier()A document type declaration information item has the following properties: 1.StringDTMDocumentImpl. getDocumentTypeDeclarationSystemIdentifier()A document type declaration information item has the following properties: 1.StringDTMNodeProxy. getDocumentURI()DOM Level 3 The location of the document ornullif undefined.StringDTMDefaultBase. getDocumentVersion(int documentHandle)Return a string representing the XML version of the document.StringDTMDocumentImpl. getDocumentVersion(int documentHandle)Return a string representing the XML version of the document.StringDTMNodeProxy. getInputEncoding()abstract StringDTMDefaultBase. getLocalName(int nodeHandle)Given a node handle, return its XPath-style localname.StringDTMDocumentImpl. getLocalName(int nodeHandle)Given a node handle, return its DOM-style localname.StringDTMNodeProxy. getLocalName()StringExpandedNameTable. getLocalName(int ExpandedNameID)Given an expanded-name ID, return the local name part.StringExtendedType. getLocalName()Return the local nameStringDTMDefaultBase. getLocalNameFromExpandedNameID(int expandedNameID)Given an expanded-name ID, return the local name part.StringDTMDocumentImpl. getLocalNameFromExpandedNameID(int ExpandedNameID)Given an expanded-name ID, return the local name part.StringDTMNodeProxy. getName()StringExpandedNameTable. getNamespace(int ExpandedNameID)Given an expanded-name ID, return the namespace URI part.StringExtendedType. getNamespace()Return the namespaceStringDTMDefaultBase. getNamespaceFromExpandedNameID(int expandedNameID)Given an expanded-name ID, return the namespace URI part.StringDTMDocumentImpl. getNamespaceFromExpandedNameID(int ExpandedNameID)Given an expanded-name ID, return the namespace URI part.abstract StringDTMDefaultBase. getNamespaceURI(int nodeHandle)Given a node handle, return its DOM-style namespace URI (As defined in Namespaces, this is the declared URI which this node's prefix -- or default in lieu thereof -- was mapped to.)StringDTMDocumentImpl. getNamespaceURI(int nodeHandle)Given a node handle, return its DOM-style namespace URI (As defined in Namespaces, this is the declared URI which this node's prefix -- or default in lieu thereof -- was mapped to.)StringDTMNodeProxy. getNamespaceURI()abstract StringDTMDefaultBase. getNodeName(int nodeHandle)Given a node handle, return its DOM-style node name.StringDTMDocumentImpl. getNodeName(int nodeHandle)Given a node handle, return its DOM-style node name.StringDTMNodeProxy. getNodeName()StringDTMDefaultBase. getNodeNameX(int nodeHandle)Given a node handle, return the XPath node name.StringDTMDocumentImpl. getNodeNameX(int nodeHandle)Given a node handle, return the XPath node name.abstract StringDTMDefaultBase. getNodeValue(int nodeHandle)Given a node handle, return its node value.StringDTMDocumentImpl. getNodeValue(int nodeHandle)Given a node handle, return its node value.StringDTMNodeProxy. getNodeValue()abstract StringDTMDefaultBase. getPrefix(int nodeHandle)Given a namespace handle, return the prefix that the namespace decl is mapping.StringDTMDocumentImpl. getPrefix(int nodeHandle)Given a namespace handle, return the prefix that the namespace decl is mapping.StringDTMNodeProxy. getPrefix()StringNodeLocator. getPublicId()getPublicIdreturns the public ID of the node.StringDTMNodeProxy. getStringValue()StringNodeLocator. getSystemId()getSystemIdreturns the system ID of the node.StringDTMNodeProxy. getTagName()StringDTMNodeProxy. getTarget()A PI's "target" states what processor channel the PI's data should be directed to.StringDTMNodeProxy. getTextContent()This attribute returns the text content of this node and its descendants.abstract StringDTMDefaultBase. getUnparsedEntityURI(String name)The getUnparsedEntityURI function returns the URI of the unparsed entity with the specified name in the same document as the context node (see [3.3 Unparsed Entities]).StringDTMDocumentImpl. getUnparsedEntityURI(String name)The getUnparsedEntityURI function returns the URI of the unparsed entity with the specified name in the same document as the context node (see [3.3 Unparsed Entities]).StringDTMNodeProxy. getValue()StringDTMNodeProxy. getWholeText()DOM Level 3 Returns all text ofTextnodes logically-adjacent text nodes to this node, concatenated in document order.StringDTMNodeProxy. getXmlEncoding()StringDTMNodeProxy. getXmlVersion()StringDTMStringPool. indexToString(int i)StringDTMNodeProxy. lookupNamespaceURI(String specifiedPrefix)DOM Level 3: Look up the namespace URI associated to the given prefix, starting from this node.StringDTMNodeProxy. lookupPrefix(String namespaceURI)DOM Level 3: Look up the prefix associated to the given namespace URI, starting from this node.StringDTMNodeProxy. substringData(int offset, int count)StringNodeLocator. toString()toStringreturns a string representation of this NodeLocator instance.Methods in org.apache.xml.dtm.ref with parameters of type String Modifier and Type Method Description voidDTMNodeProxy. appendData(String arg)voidDTMDefaultBase. appendTextChild(String str)Append a text node child that will be constructed from a string, to the end of the document.voidDTMDocumentImpl. appendTextChild(String str)Append a text node child that will be constructed from a string, to the end of the document.AttrDTMNodeProxy. createAttribute(String name)AttrDTMNodeProxy. createAttributeNS(String namespaceURI, String qualifiedName)CDATASectionDTMNodeProxy. createCDATASection(String data)CommentDTMNodeProxy. createComment(String data)DTMIteratorDTMManagerDefault. createDTMIterator(String xpathString, PrefixResolver presolver)NEEDSDOC Method createDTMIterator NEEDSDOC @param xpathString NEEDSDOC @param presolver NEEDSDOC (createDTMIterator) @returnElementDTMNodeProxy. createElement(String tagName)ElementDTMNodeProxy. createElementNS(String namespaceURI, String qualifiedName)EntityReferenceDTMNodeProxy. createEntityReference(String name)ProcessingInstructionDTMNodeProxy. createProcessingInstruction(String target, String data)TextDTMNodeProxy. createTextNode(String data)voidDTMDocumentImpl. endElement(String namespaceURI, String localName, String qName)voidIncrementalSAXSource_Filter. endElement(String namespaceURI, String localName, String qName)voidDTMDocumentImpl. endEntity(String name)voidIncrementalSAXSource_Filter. endEntity(String name)voidDTMDocumentImpl. endPrefixMapping(String prefix)voidIncrementalSAXSource_Filter. endPrefixMapping(String prefix)protected voidDTMDefaultBase. error(String msg)Simple error for asserts and the like.StringDTMNodeProxy. getAttribute(String name)abstract intDTMDefaultBase. getAttributeNode(int nodeHandle, String namespaceURI, String name)Retrieves an attribute node by by qualified name and namespace URI.intDTMDocumentImpl. getAttributeNode(int nodeHandle, String namespaceURI, String name)Retrieves an attribute node by by qualified name and namespace URI.AttrDTMNodeProxy. getAttributeNode(String name)AttrDTMNodeProxy. getAttributeNodeNS(String namespaceURI, String localName)StringDTMNodeProxy. getAttributeNS(String namespaceURI, String localName)abstract intDTMDefaultBase. getElementById(String elementId)Returns theElementwhoseIDis given byelementId.intDTMDocumentImpl. getElementById(String elementId)Returns theElementwhoseIDis given byelementId.ElementDTMNodeProxy. getElementById(String elementId)NodeListDTMNodeProxy. getElementsByTagName(String tagname)NodeListDTMNodeProxy. getElementsByTagNameNS(String namespaceURI, String localName)intDTMDefaultBase. getExpandedTypeID(String namespace, String localName, int type)Given an expanded name, return an ID.intDTMDocumentImpl. getExpandedTypeID(String namespace, String localName, int type)Given an expanded name, return an ID.intExpandedNameTable. getExpandedTypeID(String namespace, String localName, int type)Given an expanded name represented by namespace, local name and node type, return an ID.intExpandedNameTable. getExpandedTypeID(String namespace, String localName, int type, boolean searchOnly)Given an expanded name represented by namespace, local name and node type, return an ID.ObjectDTMNodeProxy. getFeature(String feature, String version)This method returns a specialized object which implements the specialized APIs of the specified feature and version.NodeDTMNamedNodeMap. getNamedItem(String name)Retrieves a node specified by name.NodeDTMNamedNodeMap. getNamedItemNS(String namespaceURI, String localName)Retrieves a node specified by local name and namespace URI.abstract StringDTMDefaultBase. getUnparsedEntityURI(String name)The getUnparsedEntityURI function returns the URI of the unparsed entity with the specified name in the same document as the context node (see [3.3 Unparsed Entities]).StringDTMDocumentImpl. getUnparsedEntityURI(String name)The getUnparsedEntityURI function returns the URI of the unparsed entity with the specified name in the same document as the context node (see [3.3 Unparsed Entities]).ObjectDTMNodeProxy. getUserData(String key)Retrieves the object associated to a key on a this node.booleanDTMNodeProxy. hasAttribute(String name)Method hasAttributebooleanDTMNodeProxy. hasAttributeNS(String namespaceURI, String localName)Method hasAttributeNSvoidDTMNodeProxy. insertData(int offset, String arg)booleanDTMNodeProxy. isDefaultNamespace(String namespaceURI)DOM Level 3: This method checks if the specifiednamespaceURIis the default namespace or not.booleanDTMDefaultBase. isSupported(String feature, String version)Tests whether DTM DOM implementation implements a specific feature and that feature is supported by this node.booleanDTMDocumentImpl. isSupported(String feature, String version)Tests whether DTM DOM implementation implements a specific feature and that feature is supported by this node.booleanDTMNodeProxy. isSupported(String feature, String version)Ask whether we support a given DOM feature.StringDTMNodeProxy. lookupNamespaceURI(String specifiedPrefix)DOM Level 3: Look up the namespace URI associated to the given prefix, starting from this node.StringDTMNodeProxy. lookupPrefix(String namespaceURI)DOM Level 3: Look up the prefix associated to the given namespace URI, starting from this node.static voidDTMStringPool. main(String[] args)Command-line unit test driver.voidIncrementalSAXSource_Filter. notationDecl(String a, String b, String c)voidDTMDocumentImpl. processingInstruction(String target, String data)voidIncrementalSAXSource_Filter. processingInstruction(String target, String data)protected voidExtendedType. redefine(int nodetype, String namespace, String localName)Redefine this ExtendedType object to represent a different extended type.protected voidExtendedType. redefine(int nodetype, String namespace, String localName, int hash)Redefine this ExtendedType object to represent a different extended type.voidDTMNodeProxy. removeAttribute(String name)voidDTMNodeProxy. removeAttributeNS(String namespaceURI, String localName)NodeDTMNamedNodeMap. removeNamedItem(String name)Removes a node specified by name.NodeDTMNamedNodeMap. removeNamedItemNS(String namespaceURI, String localName)Removes a node specified by local name and namespace URI.NodeDTMNodeProxy. renameNode(Node n, String namespaceURI, String name)DOM Level 3 Renaming nodevoidDTMNodeProxy. replaceData(int offset, int count, String arg)TextDTMNodeProxy. replaceWholeText(String content)DOM Level 3voidDTMNodeProxy. setActualEncoding(String value)DOM Level 3 An attribute specifying the actual encoding of this document.voidDTMNodeProxy. setAttribute(String name, String value)voidDTMNodeProxy. setAttributeNS(String namespaceURI, String qualifiedName, String value)voidDTMNodeProxy. setData(String data)voidDTMDefaultBase. setDocumentBaseURI(String baseURI)Set the base URI of the document entity.voidDTMDocumentImpl. setDocumentBaseURI(String baseURI)Set the base URI of the document entity.voidDTMNodeProxy. setDocumentURI(String documentURI)DOM Level 3voidDTMDefaultBase. setFeature(String featureId, boolean state)Set an implementation dependent feature.voidDTMDocumentImpl. setFeature(String featureId, boolean state)Set an implementation dependent feature.voidDTMNodeProxy. setIdAttribute(String name, boolean makeId)DOM Level 3: register the given attribute node as an ID attributevoidDTMNodeProxy. setIdAttributeNS(String namespaceURI, String localName, boolean makeId)DOM Level 3: register the given attribute node as an ID attributevoidDTMNodeProxy. setNodeValue(String nodeValue)voidDTMNodeProxy. setPrefix(String prefix)voidDTMDocumentImpl. setProperty(String property, Object value)For the moment all the run time properties are ignored by this class.voidDTMNodeProxy. setTextContent(String textContent)This attribute returns the text content of this node and its descendants.ObjectDTMNodeProxy. setUserData(String key, Object data, UserDataHandler handler)voidDTMNodeProxy. setValue(String value)voidDTMNodeProxy. setXmlEncoding(String xmlEncoding)voidDTMNodeProxy. setXmlVersion(String xmlVersion)voidDTMDocumentImpl. skippedEntity(String name)voidIncrementalSAXSource_Filter. skippedEntity(String name)voidDTMDocumentImpl. startDTD(String name, String publicId, String systemId)voidIncrementalSAXSource_Filter. startDTD(String name, String publicId, String systemId)voidDTMDocumentImpl. startElement(String namespaceURI, String localName, String qName, Attributes atts)voidIncrementalSAXSource_Filter. startElement(String namespaceURI, String localName, String qName, Attributes atts)voidDTMDocumentImpl. startEntity(String name)voidIncrementalSAXSource_Filter. startEntity(String name)voidDTMDocumentImpl. startPrefixMapping(String prefix, String uri)voidIncrementalSAXSource_Filter. startPrefixMapping(String prefix, String uri)intDTMStringPool. stringToIndex(String s)booleanDTMNodeProxy. supports(String feature, String version)Ask whether we support a given DOM feature.voidIncrementalSAXSource_Filter. unparsedEntityDecl(String a, String b, String c, String d)Constructors in org.apache.xml.dtm.ref with parameters of type String Constructor Description DTMException(short code, String message)Constructs a DOM/DTM exception.ExtendedType(int nodetype, String namespace, String localName)Create an ExtendedType object from node type, namespace and local name.ExtendedType(int nodetype, String namespace, String localName, int hash)Create an ExtendedType object from node type, namespace, local name and a given hash code.NodeLocator(String publicId, String systemId, int lineNumber, int columnNumber)Creates a newNodeLocatorinstance. -
Uses of String in org.apache.xml.dtm.ref.dom2dtm
Methods in org.apache.xml.dtm.ref.dom2dtm that return String Modifier and Type Method Description StringDOM2DTMdefaultNamespaceDeclarationNode. getBaseURI()The absolute base URI of this node ornullif undefined.StringDOM2DTM. getDocumentTypeDeclarationPublicIdentifier()Return the public identifier of the external subset, normalized as described in 4.2.2 External Entities [XML].StringDOM2DTM. getDocumentTypeDeclarationSystemIdentifier()A document type declaration information item has the following properties: 1.StringDOM2DTM. getLocalName(int nodeHandle)Given a node handle, return its XPath-style localname.StringDOM2DTMdefaultNamespaceDeclarationNode. getLocalName()StringDOM2DTMdefaultNamespaceDeclarationNode. getName()StringDOM2DTM. getNamespaceURI(int nodeHandle)Given a node handle, return its DOM-style namespace URI (As defined in Namespaces, this is the declared URI which this node's prefix -- or default in lieu thereof -- was mapped to.)StringDOM2DTMdefaultNamespaceDeclarationNode. getNamespaceURI()StringDOM2DTM. getNodeName(int nodeHandle)Given a node handle, return its DOM-style node name.StringDOM2DTMdefaultNamespaceDeclarationNode. getNodeName()StringDOM2DTM. getNodeNameX(int nodeHandle)Given a node handle, return the XPath node name.StringDOM2DTM. getNodeValue(int nodeHandle)Given a node handle, return its node value.StringDOM2DTMdefaultNamespaceDeclarationNode. getNodeValue()StringDOM2DTM. getPrefix(int nodeHandle)Given a namespace handle, return the prefix that the namespace decl is mapping.StringDOM2DTMdefaultNamespaceDeclarationNode. getPrefix()StringDOM2DTMdefaultNamespaceDeclarationNode. getTextContent()This attribute returns the text content of this node and its descendants.StringDOM2DTMdefaultNamespaceDeclarationNode. getTypeName()StringDOM2DTMdefaultNamespaceDeclarationNode. getTypeNamespace()StringDOM2DTM. getUnparsedEntityURI(String name)The getUnparsedEntityURI function returns the URI of the unparsed entity with the specified name in the same document as the context node (see [3.3 Unparsed Entities]).StringDOM2DTMdefaultNamespaceDeclarationNode. getValue()StringDOM2DTMdefaultNamespaceDeclarationNode. lookupNamespaceURI(String specifiedPrefix)DOM Level 3 - Experimental: Look up the namespace URI associated to the given prefix, starting from this node.StringDOM2DTMdefaultNamespaceDeclarationNode. lookupPrefix(String namespaceURI)DOM Level 3 - Experimental: Look up the prefix associated to the given namespace URI, starting from this node.Methods in org.apache.xml.dtm.ref.dom2dtm with parameters of type String Modifier and Type Method Description intDOM2DTM. getAttributeNode(int nodeHandle, String namespaceURI, String name)Retrieves an attribute node by by qualified name and namespace URI.intDOM2DTM. getElementById(String elementId)Returns theElementwhoseIDis given byelementId.ObjectDOM2DTMdefaultNamespaceDeclarationNode. getFeature(String feature, String version)This method returns a specialized object which implements the specialized APIs of the specified feature and version.StringDOM2DTM. getUnparsedEntityURI(String name)The getUnparsedEntityURI function returns the URI of the unparsed entity with the specified name in the same document as the context node (see [3.3 Unparsed Entities]).ObjectDOM2DTMdefaultNamespaceDeclarationNode. getUserData(String key)Retrieves the object associated to a key on a this node.booleanDOM2DTMdefaultNamespaceDeclarationNode. isDefaultNamespace(String namespaceURI)DOM Level 3: Experimental This method checks if the specifiednamespaceURIis the default namespace or not.booleanDOM2DTMdefaultNamespaceDeclarationNode. isDerivedFrom(String ns, String localName, int derivationMethod)booleanDOM2DTMdefaultNamespaceDeclarationNode. isSupported(String feature, String version)StringDOM2DTMdefaultNamespaceDeclarationNode. lookupNamespaceURI(String specifiedPrefix)DOM Level 3 - Experimental: Look up the namespace URI associated to the given prefix, starting from this node.StringDOM2DTMdefaultNamespaceDeclarationNode. lookupPrefix(String namespaceURI)DOM Level 3 - Experimental: Look up the prefix associated to the given namespace URI, starting from this node.voidDOM2DTMdefaultNamespaceDeclarationNode. setNodeValue(String value)voidDOM2DTMdefaultNamespaceDeclarationNode. setPrefix(String value)voidDOM2DTM. setProperty(String property, Object value)For the moment all the run time properties are ignored by this class.voidDOM2DTMdefaultNamespaceDeclarationNode. setTextContent(String textContent)This attribute returns the text content of this node and its descendants.ObjectDOM2DTMdefaultNamespaceDeclarationNode. setUserData(String key, Object data, UserDataHandler handler)Associate an object to a key on this node.voidDOM2DTMdefaultNamespaceDeclarationNode. setValue(String value) -
Uses of String in org.apache.xml.dtm.ref.sax2dtm
Methods in org.apache.xml.dtm.ref.sax2dtm that return String Modifier and Type Method Description protected StringSAX2DTM2. copyElement(int nodeID, int exptype, SerializationHandler handler)Copy an Element node to a SerializationHandler.StringSAX2DTM. getDocumentTypeDeclarationPublicIdentifier()Return the public identifier of the external subset, normalized as described in 4.2.2 External Entities [XML].StringSAX2DTM. getDocumentTypeDeclarationSystemIdentifier()A document type declaration information item has the following properties: 1.StringSAX2DTM. getFixedNames(int type)StringSAX2DTM. getLocalName(int nodeHandle)Given a node handle, return its XPath-style localname.StringSAX2DTM2. getLocalName(int nodeHandle)Override SAX2DTM.getLocalName() in SAX2DTM2.StringSAX2DTM. getNamespaceURI(int nodeHandle)Given a node handle, return its DOM-style namespace URI (As defined in Namespaces, this is the declared URI which this node's prefix -- or default in lieu thereof -- was mapped to.)StringSAX2DTM. getNamespaceURI(String prefix)Get a prefix either from the qname or from the uri mapping, or just make one up!StringSAX2DTM. getNodeName(int nodeHandle)Given a node handle, return its DOM-style node name.StringSAX2DTM2. getNodeName(int nodeHandle)The optimized version of SAX2DTM.getNodeName().StringSAX2DTM. getNodeNameX(int nodeHandle)Given a node handle, return the XPath node name.StringSAX2DTM2. getNodeNameX(int nodeHandle)The optimized version of SAX2DTM.getNodeNameX().StringSAX2DTM. getNodeValue(int nodeHandle)Given a node handle, return its node value.StringSAX2DTM2. getNodeValue(int nodeHandle)Given a node handle, return its node value.StringSAX2DTM. getPrefix(int nodeHandle)Given a namespace handle, return the prefix that the namespace decl is mapping.StringSAX2DTM. getPrefix(String qname, String uri)Get a prefix either from the qname or from the uri mapping, or just make one up!StringSAX2DTM2. getStringValue()Returns the string value of the entire treeStringSAX2DTM2. getStringValueX(int nodeHandle)The optimized version of SAX2DTM.getStringValue(int).StringSAX2DTM. getUnparsedEntityURI(String name)The getUnparsedEntityURI function returns the URI of the unparsed entity with the specified name in the same document as the context node (see [3.3 Unparsed Entities]).Methods in org.apache.xml.dtm.ref.sax2dtm with parameters of type String Modifier and Type Method Description voidSAX2DTM. attributeDecl(String eName, String aName, String type, String valueDefault, String value)Report an attribute type declaration.protected booleanSAX2DTM. declAlreadyDeclared(String prefix)Check if a declaration has already been made for a given prefix.voidSAX2DTM. elementDecl(String name, String model)Report an element type declaration.voidSAX2DTM. endElement(String uri, String localName, String qName)Receive notification of the end of an element.voidSAX2DTM2. endElement(String uri, String localName, String qName)Receive notification of the end of an element.voidSAX2DTM. endEntity(String name)Report the end of an entity.voidSAX2DTM. endPrefixMapping(String prefix)Receive notification of the end of a Namespace mapping.voidSAX2DTM. externalEntityDecl(String name, String publicId, String systemId)Report a parsed external entity declaration.intSAX2DTM. getAttributeNode(int nodeHandle, String namespaceURI, String name)Retrieves an attribute node by by qualified name and namespace URI.intSAX2DTM. getElementById(String elementId)Returns theElementwhoseIDis given byelementId.intSAX2DTM. getIdForNamespace(String uri)Get a prefix either from the uri mapping, or just make one up!intSAX2DTM2. getIdForNamespace(String uri)Get a prefix either from the uri mapping, or just make one up!StringSAX2DTM. getNamespaceURI(String prefix)Get a prefix either from the qname or from the uri mapping, or just make one up!StringSAX2DTM. getPrefix(String qname, String uri)Get a prefix either from the qname or from the uri mapping, or just make one up!StringSAX2DTM. getUnparsedEntityURI(String name)The getUnparsedEntityURI function returns the URI of the unparsed entity with the specified name in the same document as the context node (see [3.3 Unparsed Entities]).voidSAX2DTM. internalEntityDecl(String name, String value)Report an internal entity declaration.voidSAX2DTM. notationDecl(String name, String publicId, String systemId)Receive notification of a notation declaration.voidSAX2DTM. processingInstruction(String target, String data)Receive notification of a processing instruction.voidSAX2DTM2. processingInstruction(String target, String data)Override the processingInstruction() interface in SAX2DTM2.InputSourceSAX2DTM. resolveEntity(String publicId, String systemId)Resolve an external entity.voidSAX2DTM. setIDAttribute(String id, int elem)Set an ID string to node association in the ID table.voidSAX2DTM. setProperty(String property, Object value)Set a run time property for this DTM instance.voidSAX2DTM. skippedEntity(String name)Receive notification of a skipped entity.voidSAX2DTM. startDTD(String name, String publicId, String systemId)Report the start of DTD declarations, if any.voidSAX2DTM. startElement(String uri, String localName, String qName, Attributes attributes)Receive notification of the start of an element.voidSAX2DTM2. startElement(String uri, String localName, String qName, Attributes attributes)Override SAX2DTM.startElement()voidSAX2DTM. startEntity(String name)Report the beginning of an entity in content.voidSAX2DTM. startPrefixMapping(String prefix, String uri)Receive notification of the start of a Namespace mapping.voidSAX2DTM. unparsedEntityDecl(String name, String publicId, String systemId, String notationName)Receive notification of an unparsed entity declaration. -
Uses of String in org.apache.xml.res
Methods in org.apache.xml.res that return String Modifier and Type Method Description static StringXMLMessages. createMsg(ListResourceBundle fResourceBundle, String msgKey, Object[] args)Creates a message from the specified key and replacement arguments, localized to the given locale.static StringXMLMessages. createXMLMessage(String msgKey, Object[] args)Creates a message from the specified key and replacement arguments, localized to the given locale.Methods in org.apache.xml.res with parameters of type String Modifier and Type Method Description static StringXMLMessages. createMsg(ListResourceBundle fResourceBundle, String msgKey, Object[] args)Creates a message from the specified key and replacement arguments, localized to the given locale.static StringXMLMessages. createXMLMessage(String msgKey, Object[] args)Creates a message from the specified key and replacement arguments, localized to the given locale. -
Uses of String in org.apache.xml.serializer
Fields in org.apache.xml.serializer declared as String Modifier and Type Field Description static StringSerializerConstants. CDATA_CONTINUETo insert ]]> in a CDATA section by ending the last CDATA section with ]] and starting the next CDATA section with >static StringSerializerConstants. CDATA_CONTINUETo insert ]]> in a CDATA section by ending the last CDATA section with ]] and starting the next CDATA section with >static StringSerializerConstants. CDATA_CONTINUETo insert ]]> in a CDATA section by ending the last CDATA section with ]] and starting the next CDATA section with >static StringSerializerConstants. CDATA_CONTINUETo insert ]]> in a CDATA section by ending the last CDATA section with ]] and starting the next CDATA section with >static StringSerializerConstants. CDATA_CONTINUETo insert ]]> in a CDATA section by ending the last CDATA section with ]] and starting the next CDATA section with >static StringSerializerConstants. CDATA_CONTINUETo insert ]]> in a CDATA section by ending the last CDATA section with ]] and starting the next CDATA section with >static StringSerializerConstants. CDATA_CONTINUETo insert ]]> in a CDATA section by ending the last CDATA section with ]] and starting the next CDATA section with >static StringSerializerConstants. CDATA_CONTINUETo insert ]]> in a CDATA section by ending the last CDATA section with ]] and starting the next CDATA section with >static StringSerializerConstants. CDATA_CONTINUETo insert ]]> in a CDATA section by ending the last CDATA section with ]] and starting the next CDATA section with >static StringSerializerConstants. CDATA_DELIMITER_CLOSEThe constant "]]>"static StringSerializerConstants. CDATA_DELIMITER_CLOSEThe constant "]]>"static StringSerializerConstants. CDATA_DELIMITER_CLOSEThe constant "]]>"static StringSerializerConstants. CDATA_DELIMITER_CLOSEThe constant "]]>"static StringSerializerConstants. CDATA_DELIMITER_CLOSEThe constant "]]>"static StringSerializerConstants. CDATA_DELIMITER_CLOSEThe constant "]]>"static StringSerializerConstants. CDATA_DELIMITER_CLOSEThe constant "]]>"static StringSerializerConstants. CDATA_DELIMITER_CLOSEThe constant "]]>"static StringSerializerConstants. CDATA_DELIMITER_CLOSEThe constant "]]>"static StringSerializerConstants. CDATA_DELIMITER_OPENstatic StringSerializerConstants. CDATA_DELIMITER_OPENstatic StringSerializerConstants. CDATA_DELIMITER_OPENstatic StringSerializerConstants. CDATA_DELIMITER_OPENstatic StringSerializerConstants. CDATA_DELIMITER_OPENstatic StringSerializerConstants. CDATA_DELIMITER_OPENstatic StringSerializerConstants. CDATA_DELIMITER_OPENstatic StringSerializerConstants. CDATA_DELIMITER_OPENstatic StringSerializerConstants. CDATA_DELIMITER_OPENstatic StringSerializerConstants. DEFAULT_SAX_SERIALIZERstatic StringSerializerConstants. DEFAULT_SAX_SERIALIZERstatic StringSerializerConstants. DEFAULT_SAX_SERIALIZERstatic StringSerializerConstants. DEFAULT_SAX_SERIALIZERstatic StringSerializerConstants. DEFAULT_SAX_SERIALIZERstatic StringSerializerConstants. DEFAULT_SAX_SERIALIZERstatic StringSerializerConstants. DEFAULT_SAX_SERIALIZERstatic StringSerializerConstants. DEFAULT_SAX_SERIALIZERstatic StringSerializerConstants. DEFAULT_SAX_SERIALIZERstatic StringSerializerConstants. EMPTYSTRINGstatic StringSerializerConstants. EMPTYSTRINGstatic StringSerializerConstants. EMPTYSTRINGstatic StringSerializerConstants. EMPTYSTRINGstatic StringSerializerConstants. EMPTYSTRINGstatic StringSerializerConstants. EMPTYSTRINGstatic StringSerializerConstants. EMPTYSTRINGstatic StringSerializerConstants. EMPTYSTRINGstatic StringSerializerConstants. ENTITY_AMPstatic StringSerializerConstants. ENTITY_AMPstatic StringSerializerConstants. ENTITY_AMPstatic StringSerializerConstants. ENTITY_AMPstatic StringSerializerConstants. ENTITY_AMPstatic StringSerializerConstants. ENTITY_AMPstatic StringSerializerConstants. ENTITY_AMPstatic StringSerializerConstants. ENTITY_AMPstatic StringSerializerConstants. ENTITY_AMPstatic StringSerializerConstants. ENTITY_CRLFstatic StringSerializerConstants. ENTITY_CRLFstatic StringSerializerConstants. ENTITY_CRLFstatic StringSerializerConstants. ENTITY_CRLFstatic StringSerializerConstants. ENTITY_CRLFstatic StringSerializerConstants. ENTITY_CRLFstatic StringSerializerConstants. ENTITY_CRLFstatic StringSerializerConstants. ENTITY_CRLFstatic StringSerializerConstants. ENTITY_CRLFstatic StringSerializerConstants. ENTITY_GTstatic StringSerializerConstants. ENTITY_GTstatic StringSerializerConstants. ENTITY_GTstatic StringSerializerConstants. ENTITY_GTstatic StringSerializerConstants. ENTITY_GTstatic StringSerializerConstants. ENTITY_GTstatic StringSerializerConstants. ENTITY_GTstatic StringSerializerConstants. ENTITY_GTstatic StringSerializerConstants. ENTITY_GTstatic StringSerializerConstants. ENTITY_LTstatic StringSerializerConstants. ENTITY_LTstatic StringSerializerConstants. ENTITY_LTstatic StringSerializerConstants. ENTITY_LTstatic StringSerializerConstants. ENTITY_LTstatic StringSerializerConstants. ENTITY_LTstatic StringSerializerConstants. ENTITY_LTstatic StringSerializerConstants. ENTITY_LTstatic StringSerializerConstants. ENTITY_LTstatic StringSerializerConstants. ENTITY_QUOTstatic StringSerializerConstants. ENTITY_QUOTstatic StringSerializerConstants. ENTITY_QUOTstatic StringSerializerConstants. ENTITY_QUOTstatic StringSerializerConstants. ENTITY_QUOTstatic StringSerializerConstants. ENTITY_QUOTstatic StringSerializerConstants. ENTITY_QUOTstatic StringSerializerConstants. ENTITY_QUOTstatic StringSerializerConstants. ENTITY_QUOTstatic StringMethod. HTMLThe output method type for HTML documents: html.protected StringSerializerBase. m_doctypePublicThe public ID for the doc type.protected StringSerializerBase. m_doctypeSystemThe System ID for the doc type.protected StringSerializerBase. m_mediatypeThe mediatype.protected StringSerializerBase. m_StringOfCDATASectionsThe CDATA section names stored in a whitespace separateed list with each element being a word of the form "{uri}localName" This list comes from the cdata-section-elements attribute.protected StringSerializerBase. m_versionTells the XML version, for writing out to the XML decl.static StringSerializerBase. PKG_NAMEThe name of the package that this class is in.static StringSerializerBase. PKG_PATHThe same as the name of the package that this class is in except that '.' are replaced with '/'.static StringOutputPropertiesFactory. S_BUILTIN_EXTENSIONS_UNIVERSALThis is not a public API.static StringOutputPropertiesFactory. S_BUILTIN_OLD_EXTENSIONS_UNIVERSALThe old built-in extension namespace, this is not a public API.static StringOutputPropertiesFactory. S_KEY_CONTENT_HANDLERThis non-standard property key is used to set the name of the fully qualified Java class that implements the ContentHandler interface.static StringOutputPropertiesFactory. S_KEY_ENTITIESThis non-standard property key is used to specify the name of the property file that specifies character to entity reference mappings.static StringOutputPropertiesFactory. S_KEY_INDENT_AMOUNTThe non-standard property key to use to set the number of whitepaces to indent by, per indentation level, if indent="yes".static StringOutputPropertiesFactory. S_KEY_LINE_SEPARATORThe non-standard property key to use to set the characters to write out as at the end of a line, rather than the default ones from the runtime.static StringOutputPropertiesFactory. S_OMIT_META_TAGThis non-standard property key is used to set a value of "yes" if the META tag should be omitted where it would otherwise be supplied.static StringOutputPropertiesFactory. S_USE_URL_ESCAPINGThis non-standard property key is used to set a value of "yes" if the href values for HTML serialization should use %xx escaping.static StringMethod. TEXTThe output method type for text documents: text.static StringMethod. UNKNOWNThe "internal" method, just used when no method is specified in the style sheet, and a serializer of this type wraps either an XML or HTML type (depending on the first tag in the output being html or not)static StringMethod. XHTMLThe output method for XHTML documents: xhtml.static StringMethod. XMLThe output method type for XML documents: xml.static StringSerializerConstants. XML_PREFIXstatic StringSerializerConstants. XML_PREFIXstatic StringSerializerConstants. XML_PREFIXstatic StringSerializerConstants. XML_PREFIXstatic StringSerializerConstants. XML_PREFIXstatic StringSerializerConstants. XML_PREFIXstatic StringSerializerConstants. XML_PREFIXstatic StringSerializerConstants. XML_PREFIXstatic StringSerializerConstants. XML_PREFIXstatic StringSerializerConstants. XMLNS_PREFIXstatic StringSerializerConstants. XMLNS_PREFIXstatic StringSerializerConstants. XMLNS_PREFIXstatic StringSerializerConstants. XMLNS_PREFIXstatic StringSerializerConstants. XMLNS_PREFIXstatic StringSerializerConstants. XMLNS_PREFIXstatic StringSerializerConstants. XMLNS_PREFIXstatic StringSerializerConstants. XMLNS_PREFIXstatic StringSerializerConstants. XMLNS_PREFIXstatic StringSerializerConstants. XMLNS_URIstatic StringSerializerConstants. XMLNS_URIstatic StringSerializerConstants. XMLNS_URIstatic StringSerializerConstants. XMLNS_URIstatic StringSerializerConstants. XMLNS_URIstatic StringSerializerConstants. XMLNS_URIstatic StringSerializerConstants. XMLNS_URIstatic StringSerializerConstants. XMLNS_URIstatic StringSerializerConstants. XMLNS_URIstatic StringSerializerConstants. XMLVERSION10static StringSerializerConstants. XMLVERSION10static StringSerializerConstants. XMLVERSION10static StringSerializerConstants. XMLVERSION10static StringSerializerConstants. XMLVERSION10static StringSerializerConstants. XMLVERSION10static StringSerializerConstants. XMLVERSION10static StringSerializerConstants. XMLVERSION10static StringSerializerConstants. XMLVERSION10static StringSerializerConstants. XMLVERSION11Define the XML version.static StringSerializerConstants. XMLVERSION11Define the XML version.static StringSerializerConstants. XMLVERSION11Define the XML version.static StringSerializerConstants. XMLVERSION11Define the XML version.static StringSerializerConstants. XMLVERSION11Define the XML version.static StringSerializerConstants. XMLVERSION11Define the XML version.static StringSerializerConstants. XMLVERSION11Define the XML version.static StringSerializerConstants. XMLVERSION11Define the XML version.static StringSerializerConstants. XMLVERSION11Define the XML version.Methods in org.apache.xml.serializer that return String Modifier and Type Method Description static StringEncodings. convertMime2JavaEncoding(String encoding)Try the best we can to convert a Java encoding to a XML-style encoding.protected StringToStream. ensureAttributesNamespaceIsDeclared(String ns, String localName, String rawName)Makes sure that the namespace URI for the given qualified attribute name is declared.StringNamespaceMappings. generateNextPrefix()Generate a new namespace prefix ( ns0, ns1 ...) not used beforeStringSerializerBase. getDoctypePublic()Returns the previously set value of the value to be used as the public identifier in the document type declaration (DTD).StringToUnknownStream. getDoctypePublic()Pass the call on to the underlying handlerStringSerializerBase. getDoctypeSystem()Returns the previously set value of the value to be used as the system identifier in the document type declaration (DTD).StringToUnknownStream. getDoctypeSystem()Pass the call on to the underlying handlerStringSerializerBase. getEncoding()Returns the character encoding to be used in the output document.StringToUnknownStream. getEncoding()Pass the call on to the underlying handlerstatic StringVersion. getImplementationLanguage()Implementation Language: Java.protected static StringSerializerBase. getLocalName(String qname)Returns the local name of a qualified name.StringSerializerBase. getMediaType()Gets the mediatype the media-type or MIME type associated with the output document.StringToUnknownStream. getMediaType()Pass the call on to the underlying handlerStringExtendedContentHandler. getNamespaceURI(String name, boolean isElement)This method gets the prefix associated with a current element or attribute name.StringSerializerBase. getNamespaceURI(String qname, boolean isElement)Returns the URI of an element or attribute.StringToUnknownStream. getNamespaceURI(String qname, boolean isElement)StringExtendedContentHandler. getNamespaceURIFromPrefix(String prefix)This method returns the namespace URI currently associated with the prefix.StringSerializerBase. getNamespaceURIFromPrefix(String prefix)Returns the URI of prefix (if any)StringToUnknownStream. getNamespaceURIFromPrefix(String prefix)StringSerializerBase. getOutputProperty(String name)Get the value of an output property, the explicit value, if any, otherwise the default value, if any, otherwise null.StringSerializerBase. getOutputPropertyDefault(String name)Get the default value of an xsl:output property, which would be null only if no default value exists for the property.StringSerializerBase. getOutputPropertyNonDefault(String name)Get the value of an output property, not the default value.StringExtendedContentHandler. getPrefix(String uri)This method returns the prefix that currently maps to the given namespace URI.StringSerializerBase. getPrefix(String namespaceURI)Returns the prefix currently pointing to the given URI (if any).StringToUnknownStream. getPrefix(String namespaceURI)protected static StringSerializerBase. getPrefixPart(String qname)Returns the local name of a qualified name.static StringVersion. getProduct()Name of product: Serializer.StringSerializerBase. getStandalone()Gets the XSL standalone attributeStringToUnknownStream. getStandalone()Pass the call on to the underlying handlerStringSerializerBase. getVersion()Gets the version of the output format.StringToUnknownStream. getVersion()Pass the call on to the underlying handlerstatic StringVersion. getVersion()Get the basic version string for the current Serializer.String[]NamespaceMappings. lookupAllPrefixes(String uri)Given a namespace uri, get all prefixes bound to the Namespace URI in the current scope.StringNamespaceMappings. lookupNamespace(String prefix)Use a namespace prefix to lookup a namespace URI.StringNamespaceMappings. lookupPrefix(String uri)Given a namespace uri, and the namespaces mappings for the current element, return the current prefix for that uri.protected StringSerializerBase. patchName(String qname)If at runtime, when the qname of the attribute is known, another prefix is specified for the attribute, then we can patch or hack the name with this method.Methods in org.apache.xml.serializer with parameters of type String Modifier and Type Method Description voidAttributesImplSerializer. addAttribute(String uri, String local, String qname, String type, String val)This method adds the attribute, but also records its qName/index pair in the hashtable for fast lookup by getIndex(qName).voidExtendedContentHandler. addAttribute(String qName, String value)Add an attribute to the current element.voidExtendedContentHandler. addAttribute(String uri, String localName, String rawName, String type, String value)Add at attribute to the current element, not from an xsl:attribute element.voidExtendedContentHandler. addAttribute(String uri, String localName, String rawName, String type, String value, boolean XSLAttribute)Add at attribute to the current elementvoidSerializerBase. addAttribute(String name, String value)Adds the given attribute to the set of collected attributes, but only if there is a currently open element.voidSerializerBase. addAttribute(String uri, String localName, String rawName, String type, String value)This method adds an attribute the the current element, but should not be used for an xsl:attribute child.voidSerializerBase. addAttribute(String uri, String localName, String rawName, String type, String value, boolean XSLAttribute)Adds the given attribute to the set of collected attributes , but only if there is a currently open element.voidToTextSAXHandler. addAttribute(String name, String value)Deprecated.From XSLTCvoidToTextSAXHandler. addAttribute(String uri, String localName, String rawName, String type, String value, boolean XSLAttribute)Deprecated.voidToTextStream. addAttribute(String name, String value)From XSLTCvoidToTextStream. addAttribute(String uri, String localName, String rawName, String type, String value, boolean XSLAttribute)voidToUnknownStream. addAttribute(String rawName, String value)Adds an attribute to the currenly open tagvoidToUnknownStream. addAttribute(String uri, String localName, String rawName, String type, String value, boolean XSLAttribute)Adds an attribute to the currenly open tagvoidToXMLSAXHandler. addAttribute(String uri, String localName, String rawName, String type, String value, boolean XSLAttribute)Adds the given attribute to the set of attributes, and also makes sure that the needed prefix/uri mapping is declared, but only if there is a currently open element.voidToXMLStream. addAttribute(String uri, String localName, String rawName, String type, String value, boolean xslAttribute)Add an attribute to the current element.booleanSerializerBase. addAttributeAlways(String uri, String localName, String rawName, String type, String value, boolean XSLAttribute)Adds the given attribute to the set of attributes, even if there is no currently open element.booleanToStream. addAttributeAlways(String uri, String localName, String rawName, String type, String value, boolean xslAttribute)Adds the given attribute to the set of attributes, even if there is no currently open element.voidToStream. addCdataSectionElements(String URI_and_localNames)Remembers the cdata sections specified in the cdata-section-elements by appending the given cdata section elements to the list.voidExtendedContentHandler. addUniqueAttribute(String qName, String value, int flags)Add a unique attribute to the current element.voidToHTMLStream. addUniqueAttribute(String name, String value, int flags)This method is used to add an attribute to the currently open element.voidToSAXHandler. addUniqueAttribute(String qName, String value, int flags)Add a unique attributevoidToTextStream. addUniqueAttribute(String qName, String value, int flags)Add a unique attributevoidToUnknownStream. addUniqueAttribute(String rawName, String value, int flags)Adds a unique attribute to the currenly open tagvoidToXMLStream. addUniqueAttribute(String name, String value, int flags)This method is used to add an attribute to the currently open element.voidExtendedContentHandler. addXSLAttribute(String qName, String value, String uri)Add an attribute from an xsl:attribute element.voidSerializerBase. addXSLAttribute(String name, String value, String uri)Adds the given xsl:attribute to the set of collected attributes, but only if there is a currently open element.voidToHTMLStream. attributeDecl(String eName, String aName, String type, String valueDefault, String value)This method does nothing.voidToStream. attributeDecl(String eName, String aName, String type, String valueDefault, String value)Report an attribute type declaration.voidToTextSAXHandler. attributeDecl(String arg0, String arg1, String arg2, String arg3, String arg4)Deprecated.voidToUnknownStream. attributeDecl(String arg0, String arg1, String arg2, String arg3, String arg4)Pass the call on to the underlying handlervoidToXMLSAXHandler. attributeDecl(String arg0, String arg1, String arg2, String arg3, String arg4)voidExtendedContentHandler. characters(String chars)This method is used to notify of a character event, but passing the data as a character String rather than the standard character array.voidToSAXHandler. characters(String characters)Receive notification of character data.voidToStream. characters(String s)Receive notification of character data.voidToTextSAXHandler. characters(String characters)Deprecated.voidToTextStream. characters(String characters)From XSLTCvoidToUnknownStream. characters(String chars)Converts the String to a character array and calls the SAX method characters(char[],int,int);voidToXMLSAXHandler. characters(String chars)voidExtendedLexicalHandler. comment(String comment)This method is used to notify of a commentvoidSerializerBase. comment(String data)Receive notification of a comment.voidToSAXHandler. comment(String comment)Receive notification of a comment.voidToTextSAXHandler. comment(String data)Deprecated.voidToTextStream. comment(String data)Called when a Comment is to be constructed.voidToUnknownStream. comment(String comment)Pass the call on to the underlying handlerstatic StringEncodings. convertMime2JavaEncoding(String encoding)Try the best we can to convert a Java encoding to a XML-style encoding.voidToHTMLStream. elementDecl(String name, String model)This method does nothing.voidToStream. elementDecl(String name, String model)Report an element type declaration.voidToTextSAXHandler. elementDecl(String arg0, String arg1)Deprecated.voidToUnknownStream. elementDecl(String arg0, String arg1)Pass the call on to the underlying handlervoidToXMLSAXHandler. elementDecl(String arg0, String arg1)voidExtendedContentHandler. endElement(String elemName)This method is used to notify that an element has ended.voidToHTMLStream. endElement(String elemName)voidToHTMLStream. endElement(String namespaceURI, String localName, String name)Receive notification of the end of an element.voidToStream. endElement(String name)Receive notification of the end of an element.voidToStream. endElement(String namespaceURI, String localName, String name)Receive notification of the end of an element.voidToTextSAXHandler. endElement(String elemName)Deprecated.From XSLTCvoidToTextSAXHandler. endElement(String arg0, String arg1, String arg2)Deprecated.voidToTextStream. endElement(String elemName)voidToTextStream. endElement(String namespaceURI, String localName, String name)Receive notification of the end of an element.voidToUnknownStream. endElement(String elementName)Pass the call on to the underlying handlervoidToUnknownStream. endElement(String namespaceURI, String localName, String qName)Pass the call on to the underlying handlervoidToXMLSAXHandler. endElement(String elemName)voidToXMLSAXHandler. endElement(String namespaceURI, String localName, String qName)voidToXMLStream. endElement(String elemName)voidSerializerBase. endEntity(String name)Report the end of an entity.voidToUnknownStream. endEntity(String name)Pass the call on to the underlying handlervoidToStream. endPrefixMapping(String prefix)End the scope of a prefix-URI Namespace mapping.voidToTextSAXHandler. endPrefixMapping(String arg0)Deprecated.voidToUnknownStream. endPrefixMapping(String prefix)Pass the call on to the underlying handlervoidToXMLSAXHandler. endPrefixMapping(String prefix)protected StringToStream. ensureAttributesNamespaceIsDeclared(String ns, String localName, String rawName)Makes sure that the namespace URI for the given qualified attribute name is declared.voidExtendedContentHandler. entityReference(String entityName)Notify of an entity reference.voidSerializerBase. entityReference(String name)Entity reference event.voidToHTMLStream. entityReference(String name)Receive notivication of a entityReference.voidToTextStream. entityReference(String name)Receive notivication of a entityReference.voidToUnknownStream. entityReference(String entityName)voidToXMLStream. entityReference(String name)Receive notivication of a entityReference.voidToHTMLStream. externalEntityDecl(String name, String publicId, String systemId)This method does nothing.voidToStream. externalEntityDecl(String name, String publicId, String systemId)Report a parsed external entity declaration.voidToTextSAXHandler. externalEntityDecl(String arg0, String arg1, String arg2)Deprecated.voidToUnknownStream. externalEntityDecl(String name, String publicId, String systemId)Pass the call on to the underlying handlervoidToXMLSAXHandler. externalEntityDecl(String arg0, String arg1, String arg2)protected voidSerializerBase. fireEndElem(String name)To fire off the end element trace eventvoidSerializerBase. fireEndEntity(String name)To fire off end entity trace eventprotected voidSerializerBase. fireEntityReference(String name)To fire off the entity reference trace eventprotected voidSerializerBase. fireEscapingEvent(String name, String data)To fire off the PI trace eventvoidSerializerTrace. fireGenerateEvent(int eventType, String data)Fire comment and entity ref events.voidSerializerTrace. fireGenerateEvent(int eventType, String name, String data)Fire processingInstruction events.voidSerializerTrace. fireGenerateEvent(int eventType, String name, Attributes atts)Fire startElement, endElement events.protected voidToUnknownStream. firePseudoElement(String elementName)protected voidSerializerBase. fireStartElem(String elemName)Report the start element trace event.protected voidSerializerBase. fireStartEntity(String name)To fire off start entity trace eventstatic booleanOutputPropertyUtils. getBooleanProperty(String key, Properties props)Searches for the boolean property with the specified key in the property list.static PropertiesOutputPropertiesFactory. getDefaultMethodProperties(String method)Creates an empty OutputProperties with the property key/value defaults specified by a property file.static ElemDescToHTMLStream. getElemDesc(String name)Get a description of the given element.static charEncodings. getHighChar(String encoding)Characters with values at or below the high code point are in the encoding.intAttributesImplSerializer. getIndex(String qname)This method gets the index of an attribute given its qName.intAttributesImplSerializer. getIndex(String uri, String localName)This method gets the index of an attribute given its uri and locanName.static intOutputPropertyUtils. getIntProperty(String key, Properties props)Searches for the int property with the specified key in the property list.protected static StringSerializerBase. getLocalName(String qname)Returns the local name of a qualified name.StringExtendedContentHandler. getNamespaceURI(String name, boolean isElement)This method gets the prefix associated with a current element or attribute name.StringSerializerBase. getNamespaceURI(String qname, boolean isElement)Returns the URI of an element or attribute.StringToUnknownStream. getNamespaceURI(String qname, boolean isElement)StringExtendedContentHandler. getNamespaceURIFromPrefix(String prefix)This method returns the namespace URI currently associated with the prefix.StringSerializerBase. getNamespaceURIFromPrefix(String prefix)Returns the URI of prefix (if any)StringToUnknownStream. getNamespaceURIFromPrefix(String prefix)StringSerializerBase. getOutputProperty(String name)Get the value of an output property, the explicit value, if any, otherwise the default value, if any, otherwise null.StringSerializerBase. getOutputPropertyDefault(String name)Get the default value of an xsl:output property, which would be null only if no default value exists for the property.StringSerializerBase. getOutputPropertyNonDefault(String name)Get the value of an output property, not the default value.StringExtendedContentHandler. getPrefix(String uri)This method returns the prefix that currently maps to the given namespace URI.StringSerializerBase. getPrefix(String namespaceURI)Returns the prefix currently pointing to the given URI (if any).StringToUnknownStream. getPrefix(String namespaceURI)protected static StringSerializerBase. getPrefixPart(String qname)Returns the local name of a qualified name.voidToHTMLStream. internalEntityDecl(String name, String value)This method does nothing.voidToStream. internalEntityDecl(String name, String value)Report an internal entity declaration.voidToTextSAXHandler. internalEntityDecl(String arg0, String arg1)Deprecated.voidToUnknownStream. internalEntityDecl(String arg0, String arg1)Pass the call on to the underlying handlervoidToXMLSAXHandler. internalEntityDecl(String arg0, String arg1)booleanElemDesc. isAttrFlagSet(String name, int flags)Tell if any of the bits of interest are set for a named attribute type.static booleanEncodings. isRecognizedEncoding(String encoding)Determines if the encoding specified was recognized by the serializer or not.String[]NamespaceMappings. lookupAllPrefixes(String uri)Given a namespace uri, get all prefixes bound to the Namespace URI in the current scope.StringNamespaceMappings. lookupNamespace(String prefix)Use a namespace prefix to lookup a namespace URI.StringNamespaceMappings. lookupPrefix(String uri)Given a namespace uri, and the namespaces mappings for the current element, return the current prefix for that uri.static voidVersion. main(String[] argv)Print the processor version to the command line.voidExtendedContentHandler. namespaceAfterStartElement(String uri, String prefix)This method is used to notify that a prefix mapping is to start, but after an element is started.voidSerializerBase. namespaceAfterStartElement(String uri, String prefix)This method is used when a prefix/uri namespace mapping is indicated after the element was started with a startElement() and before and endElement().voidToHTMLStream. namespaceAfterStartElement(String prefix, String uri)This method is used when a prefix/uri namespace mapping is indicated after the element was started with a startElement() and before and endElement().voidToTextSAXHandler. namespaceAfterStartElement(String prefix, String uri)Deprecated.voidToTextStream. namespaceAfterStartElement(String prefix, String uri)voidToUnknownStream. namespaceAfterStartElement(String prefix, String uri)This method is used when a prefix/uri namespace mapping is indicated after the element was started with a startElement() and before and endElement().voidToXMLSAXHandler. namespaceAfterStartElement(String prefix, String uri)Send a namespace declaration in the output document.voidToXMLStream. namespaceAfterStartElement(String prefix, String uri)This method is used to notify the serializer of a namespace mapping (or node) that applies to the current element whose startElement() call has already been seen.voidSerializerBase. notationDecl(String arg0, String arg1, String arg2)voidToStream. notationDecl(String name, String pubID, String sysID)If this method is called, the serializer is used as a DTDHandler, which changes behavior how the serializer handles document entities.protected StringSerializerBase. patchName(String qname)If at runtime, when the qname of the attribute is known, another prefix is specified for the attribute, then we can patch or hack the name with this method.protected booleanToXMLSAXHandler. popNamespace(String prefix)Undeclare the namespace that is currently pointed to by a given prefix.protected voidToHTMLStream. processAttribute(Writer writer, String name, String value, ElemDesc elemDesc)Process an attribute.voidToHTMLStream. processingInstruction(String target, String data)Receive notification of a processing instruction.voidToSAXHandler. processingInstruction(String target, String data)Do nothing as this is an abstract class.voidToTextSAXHandler. processingInstruction(String arg0, String arg1)Deprecated.From XSLTCvoidToTextStream. processingInstruction(String target, String data)Receive notification of a processing instruction.voidToUnknownStream. processingInstruction(String target, String data)Pass the call on to the underlying handlervoidToXMLSAXHandler. processingInstruction(String target, String data)voidToXMLStream. processingInstruction(String target, String data)Receive notification of a processing instruction.booleanNamespaceMappings. pushNamespace(String prefix, String uri, int elemDepth)Declare a mapping of a prefix to namespace URI at the given element depth.protected booleanToXMLStream. pushNamespace(String prefix, String uri)From XSLTC Declare a prefix to point to a namespace URI.voidSerializerBase. setDoctype(String doctypeSystem, String doctypePublic)Set the value coming from the xsl:output doctype-public and doctype-system stylesheet propertiesvoidToUnknownStream. setDoctype(String system, String pub)voidSerializerBase. setDoctypePublic(String doctypePublic)Set the value coming from the xsl:output doctype-public stylesheet attribute.voidToUnknownStream. setDoctypePublic(String doctype)Set the doctype in the underlying XML handler.voidSerializerBase. setDoctypeSystem(String doctypeSystem)Set the value coming from the xsl:output doctype-system stylesheet attribute.voidToUnknownStream. setDoctypeSystem(String doctype)Set the doctype in the underlying XML handler.voidSerializerBase. setEncoding(String encoding)Sets the character encoding coming from the xsl:output encoding stylesheet attribute.voidToStream. setEncoding(String encoding)Sets the character encoding coming from the xsl:output encoding stylesheet attribute.voidToUnknownStream. setEncoding(String encoding)Pass the call on to the underlying handlervoidSerializerBase. setMediaType(String mediaType)Sets the value coming from the xsl:output media-type stylesheet attribute.voidToUnknownStream. setMediaType(String mediaType)voidSerializerBase. setOutputProperty(String name, String val)Set the value for the output property, typically from an xsl:output element, but this does not change what the default value is.voidSerializerBase. setOutputPropertyDefault(String name, String val)Set the default value for an output property, but this does not impact any explicitly set value.voidSerializerBase. setStandalone(String standalone)Sets the value coming from the xsl:output standalone stylesheet attribute.voidToUnknownStream. setStandalone(String standalone)Pass the call on to the underlying handlerprotected voidSerializerBase. setStandaloneInternal(String standalone)Sets the XSL standalone attribute, but does not remember if this is a default or explicite setting.voidSerializerBase. setVersion(String version)Sets the value coming from the xsl:output version attribute.voidToUnknownStream. setVersion(String version)This method cannot be cached because default is different in HTML and XML (we need more than a boolean).voidToStream. skippedEntity(String name)Receive notification of a skipped entity.voidToTextSAXHandler. skippedEntity(String arg0)Deprecated.voidToUnknownStream. skippedEntity(String name)Pass the call on to the underlying handlervoidToXMLSAXHandler. skippedEntity(String arg0)voidToHTMLStream. startDTD(String name, String publicId, String systemId)voidToSAXHandler. startDTD(String arg0, String arg1, String arg2)Do nothing.voidToStream. startDTD(String name, String publicId, String systemId)Report the start of DTD declarations, if any.voidToUnknownStream. startDTD(String name, String publicId, String systemId)Pass the call on to the underlying handlervoidExtendedContentHandler. startElement(String qName)This method is used to notify of the start of an elementvoidExtendedContentHandler. startElement(String uri, String localName, String qName)This method is used to notify that an element is starting.voidToHTMLStream. startElement(String namespaceURI, String localName, String name, Attributes atts)Receive notification of the beginning of an element.voidToSAXHandler. startElement(String qName)An element starts, but attributes are not fully known yet.voidToSAXHandler. startElement(String uri, String localName, String qName)Receives notification that an element starts, but attributes are not fully known yet.voidToSAXHandler. startElement(String arg0, String arg1, String arg2, Attributes arg3)Receive notification of the beginning of an element, although this is a SAX method additional namespace or attribute information can occur before or after this call, that is associated with this element.voidToStream. startElement(String elementName)voidToStream. startElement(String elementNamespaceURI, String elementLocalName, String elementName)Receive notification of the beginning of an element, additional namespace or attribute information can occur before or after this call, that is associated with this element.voidToStream. startElement(String namespaceURI, String localName, String name, Attributes atts)Receive notification of the beginning of an element, although this is a SAX method additional namespace or attribute information can occur before or after this call, that is associated with this element.voidToTextSAXHandler. startElement(String elementName)Deprecated.voidToTextSAXHandler. startElement(String elementNamespaceURI, String elementLocalName, String elementName)Deprecated.From XSLTCvoidToTextSAXHandler. startElement(String arg0, String arg1, String arg2, Attributes arg3)Deprecated.voidToTextStream. startElement(String elementNamespaceURI, String elementLocalName, String elementName)From XSLTCvoidToTextStream. startElement(String namespaceURI, String localName, String name, Attributes atts)Receive notification of the beginning of an element.voidToUnknownStream. startElement(String qName)voidToUnknownStream. startElement(String namespaceURI, String localName, String qName)voidToUnknownStream. startElement(String namespaceURI, String localName, String elementName, Attributes atts)voidToXMLSAXHandler. startElement(String elementName)voidToXMLSAXHandler. startElement(String elementNamespaceURI, String elementLocalName, String elementName)Start an element in the output document.voidToXMLSAXHandler. startElement(String namespaceURI, String localName, String name, Attributes atts)voidToStream. startEntity(String name)Report the beginning of an entity.voidToTextSAXHandler. startEntity(String arg0)Deprecated.voidToUnknownStream. startEntity(String name)Pass the call on to the underlying handlervoidToXMLSAXHandler. startEntity(String arg0)booleanExtendedContentHandler. startPrefixMapping(String prefix, String uri, boolean shouldFlush)This method is used to notify that a prefix maping is to start, which can be for the current element, or for the one to come.voidToStream. startPrefixMapping(String prefix, String uri)Begin the scope of a prefix-URI Namespace mapping just before another element is about to start.booleanToStream. startPrefixMapping(String prefix, String uri, boolean shouldFlush)Handle a prefix/uri mapping, which is associated with a startElement() that is soon to follow.voidToTextSAXHandler. startPrefixMapping(String prefix, String uri)Deprecated.booleanToTextSAXHandler. startPrefixMapping(String prefix, String uri, boolean shouldFlush)Deprecated.voidToTextStream. startPrefixMapping(String prefix, String uri)booleanToTextStream. startPrefixMapping(String prefix, String uri, boolean shouldFlush)voidToUnknownStream. startPrefixMapping(String prefix, String uri)booleanToUnknownStream. startPrefixMapping(String prefix, String uri, boolean shouldFlush)voidToXMLSAXHandler. startPrefixMapping(String prefix, String uri)booleanToXMLSAXHandler. startPrefixMapping(String prefix, String uri, boolean shouldFlush)Remember the prefix/uri mapping at the current nested element depth.voidSerializerBase. unparsedEntityDecl(String arg0, String arg1, String arg2, String arg3)voidToStream. unparsedEntityDecl(String name, String pubID, String sysID, String notationName)If this method is called, the serializer is used as a DTDHandler, which changes behavior how the serializer handles document entities.voidToHTMLStream. writeAttrString(Writer writer, String string, String encoding)Writes the specified string after substituting specials, and UTF-16 surrogates for character references&#xnn.voidToStream. writeAttrString(Writer writer, String string, String encoding)Returns the specified string after substituting specials, and UTF-16 surrogates for chracter references&#xnn.voidToHTMLStream. writeAttrURI(Writer writer, String string, boolean doURLEscaping)Write the specified string after substituting non ASCII characters, with%HH, where HH is the hex of the byte value.Constructors in org.apache.xml.serializer with parameters of type String Constructor Description EncodingInfo(String name, String javaName, char highChar)Create an EncodingInfo object based on the ISO name and Java name.ToSAXHandler(ContentHandler handler, String encoding)ToSAXHandler(ContentHandler hdlr, LexicalHandler lex, String encoding)ToTextSAXHandler(ContentHandler handler, String encoding)Deprecated.From XSLTCToTextSAXHandler(ContentHandler hdlr, LexicalHandler lex, String encoding)Deprecated.ToXMLSAXHandler(ContentHandler handler, String encoding)ToXMLSAXHandler(ContentHandler handler, LexicalHandler lex, String encoding)TreeWalker(ContentHandler contentHandler, String systemId)Constructor. -
Uses of String in org.apache.xml.serializer.dom3
Fields in org.apache.xml.serializer.dom3 declared as String Modifier and Type Field Description protected String[]NamespaceSupport. fNamespaceNamespace binding information.protected String[]NamespaceSupport. fPrefixesstatic StringNamespaceSupport. XML_URIThe XML Namespace ("http://www.w3.org/XML/1998/namespace").static StringNamespaceSupport. XMLNS_URIXML Information Set REC all namespace attributes (including those named xmlns, whose [prefix] property has no value) have a namespace URI of http://www.w3.org/2000/xmlns/Methods in org.apache.xml.serializer.dom3 that return String Modifier and Type Method Description StringNamespaceSupport. getDeclaredPrefixAt(int index)protected StringLSSerializerImpl. getInputEncoding(Node nodeArg)Determines the Input Encoding of the Document Node to serialize.StringDOMErrorImpl. getMessage()The DOMError message string.StringLSSerializerImpl. getNewLine()Returns the End-Of-Line sequence of characters to be used in the XML being serialized.StringNamespaceSupport. getPrefix(String uri)StringDOMErrorImpl. getType()Returns a String indicating which related data is expected in relatedData.StringNamespaceSupport. getURI(String prefix)protected StringLSSerializerImpl. getXMLEncoding(Node nodeArg)Determines the XML Encoding of the Document Node to serialize.protected StringLSSerializerImpl. getXMLVersion(Node nodeArg)Determines the XML Version of the Document Node to serialize.StringNamespaceSupport.Prefixes. toString()StringLSSerializerImpl. writeToString(Node nodeArg)Serializes the specified node and returns a String with the serialized data to the caller.Methods in org.apache.xml.serializer.dom3 with parameters of type String Modifier and Type Method Description booleanLSSerializerImpl. canSetParameter(String name, Object value)Checks if setting a parameter to a specific value is supported.booleanNamespaceSupport. declarePrefix(String prefix, String uri)ObjectLSSerializerImpl. getParameter(String name)This method returns the value of a parameter if known.StringNamespaceSupport. getPrefix(String uri)StringNamespaceSupport. getURI(String prefix)voidLSSerializerImpl. setNewLine(String newLine)Sets the End-Of-Line sequence of characters to be used in the XML being serialized.voidLSSerializerImpl. setParameter(String name, Object value)This method sets the value of the named parameter.booleanLSSerializerImpl. writeToURI(Node nodeArg, String uri)Serializes the specified node to the specified URI and returns true if the Node was successfully serialized.Constructors in org.apache.xml.serializer.dom3 with parameters of type String Constructor Description DOMErrorImpl(short severity, String message, String type)DOMErrorImpl(short severity, String message, String type, Exception exception)DOMErrorImpl(short severity, String message, String type, Exception exception, Object relatedData, org.apache.xml.serializer.dom3.DOMLocatorImpl location)Prefixes(String[] prefixes, int size)Constructor for Prefixes. -
Uses of String in org.apache.xml.serializer.utils
Methods in org.apache.xml.serializer.utils that return String Modifier and Type Method Description StringMessages. createMessage(String msgKey, Object[] args)Creates a message from the specified key and replacement arguments, localized to the given locale.static StringSystemIDResolver. getAbsoluteURI(String systemId)Take a SystemID string and try to turn it into a good absolute URI.static StringSystemIDResolver. getAbsoluteURI(String urlString, String base)Take a SystemID string and try to turn it into a good absolute URI.static StringSystemIDResolver. getAbsoluteURIFromRelative(String localPath)Get an absolute URI from a given relative URI (local path).StringAttList. getLocalName(int index)Look up an attribute's local name by index.StringDOM2Helper. getLocalNameOfNode(Node n)Returns the local name of the given node, as defined by the XML Namespaces specification.StringDOM2Helper. getNamespaceOfNode(Node n)Returns the Namespace Name (Namespace URI) for the given node.StringAttList. getQName(int i)Look up an attribute's qualified name by index.StringAttList. getType(int i)Get the attribute's node type by indexStringAttList. getType(String name)Get the attribute's node type by nameStringAttList. getType(String uri, String localName)Look up an attribute's type by Namespace name.StringAttList. getURI(int index)Look up an attribute's Namespace URI by index.StringAttList. getValue(int i)Get the attribute's node value by indexStringAttList. getValue(String name)Look up an attribute's value by name.StringAttList. getValue(String uri, String localName)Look up an attribute's value by Namespace name.String[]StringToIntTable. keys()Return array of keys in the table.Methods in org.apache.xml.serializer.utils with parameters of type String Modifier and Type Method Description booleanStringToIntTable. contains(String key)Tell if the table contains the given string.StringMessages. createMessage(String msgKey, Object[] args)Creates a message from the specified key and replacement arguments, localized to the given locale.intStringToIntTable. get(String key)Tell if the table contains the given string.static StringSystemIDResolver. getAbsoluteURI(String systemId)Take a SystemID string and try to turn it into a good absolute URI.static StringSystemIDResolver. getAbsoluteURI(String urlString, String base)Take a SystemID string and try to turn it into a good absolute URI.static StringSystemIDResolver. getAbsoluteURIFromRelative(String localPath)Get an absolute URI from a given relative URI (local path).intStringToIntTable. getIgnoreCase(String key)Tell if the table contains the given string.intAttList. getIndex(String qName)Look up the index of an attribute by raw XML 1.0 name.intAttList. getIndex(String uri, String localPart)Look up the index of an attribute by Namespace name.StringAttList. getType(String name)Get the attribute's node type by nameStringAttList. getType(String uri, String localName)Look up an attribute's type by Namespace name.StringAttList. getValue(String name)Look up an attribute's value by name.StringAttList. getValue(String uri, String localName)Look up an attribute's value by Namespace name.static booleanSystemIDResolver. isAbsolutePath(String systemId)Return true if the local path is an absolute path.static booleanSystemIDResolver. isAbsoluteURI(String systemId)Return true if the systemId denotes an absolute URI .static booleanXMLChar. isValidIANAEncoding(String ianaEncoding)Returns true if the encoding name is a valid IANA encoding.static booleanXMLChar. isValidJavaEncoding(String javaEncoding)Returns true if the encoding name is a valid Java encoding.static booleanXMLChar. isValidName(String name)Check to see if a string is a valid Name according to [5] in the XML 1.0 Recommendationstatic booleanXMLChar. isValidNCName(String ncName)Check to see if a string is a valid NCName according to [4] from the XML Namespaces 1.0 Recommendationstatic booleanXMLChar. isValidNmtoken(String nmtoken)Check to see if a string is a valid Nmtoken according to [7] in the XML 1.0 Recommendationstatic booleanXML11Char. isXML11ValidName(String name)Check to see if a string is a valid Name according to [5] in the XML 1.1 Recommendationstatic booleanXML11Char. isXML11ValidNCName(String ncName)Check to see if a string is a valid NCName according to [4] from the XML Namespaces 1.1 Recommendationstatic booleanXML11Char. isXML11ValidNmtoken(String nmtoken)Check to see if a string is a valid Nmtoken according to [7] in the XML 1.1 RecommendationvoidStringToIntTable. put(String key, int value)Append a string onto the vector.Constructors in org.apache.xml.serializer.utils with parameters of type String Constructor Description WrappedRuntimeException(String msg, Exception e)Constructor WrappedRuntimeException -
Uses of String in org.apache.xml.utils
Fields in org.apache.xml.utils declared as String Modifier and Type Field Description protected StringQName. _localNameThe local name.protected StringQName. _namespaceURIThe namespace URI.protected StringQName. _prefixThe namespace prefix.protected StringUnImplNode. actualEncodingDOM Level 3 feature: Document actualEncodingprotected StringUnImplNode. fDocumentURIDOM Level 3 feature: documentURIprotected String[]StringVector. m_mapStringNSInfo. m_namespaceThe namespace URIStringNameSpace. m_prefixPrefix of this NameSpace element.StringNameSpace. m_uriNamespace URI of this NameSpace element.static StringConstants. S_BUILTIN_EXTENSIONS_URLS_BUILTIN_EXTENSIONS_URL is a mnemonic for the XML Namespace (http://xml.apache.org/xalan) predefined to signify Xalan's built-in XSLT Extensions.static StringConstants. S_BUILTIN_OLD_EXTENSIONS_URLThe old built-in extension url.static StringConstants. S_EXSLT_COMMON_URLEXSLT extension namespaces.static StringConstants. S_EXSLT_DATETIME_URLEXSLT extension namespaces.static StringConstants. S_EXSLT_DYNAMIC_URLEXSLT extension namespaces.static StringConstants. S_EXSLT_FUNCTIONS_URLEXSLT extension namespaces.static StringConstants. S_EXSLT_MATH_URLEXSLT extension namespaces.static StringConstants. S_EXSLT_SETS_URLEXSLT extension namespaces.static StringConstants. S_EXSLT_STRINGS_URLEXSLT extension namespaces.static StringConstants. S_EXTENSIONS_JAVA_URLXalan extension namespaces.static StringConstants. S_EXTENSIONS_LOTUSXSL_JAVA_URLXalan extension namespaces.static StringConstants. S_EXTENSIONS_OLD_JAVA_URLXalan extension namespaces.static StringConstants. S_EXTENSIONS_PIPE_URLXalan extension namespaces.static StringConstants. S_EXTENSIONS_REDIRECT_URLXalan extension namespaces.static StringConstants. S_EXTENSIONS_SQL_URLXalan extension namespaces.static StringConstants. S_EXTENSIONS_XALANLIB_URLXalan extension namespaces.static StringConstants. S_OLDXSLNAMESPACEURLMnemonics for standard XML Namespace URIs, as Java Strings: S_XMLNAMESPACEURI (http://www.w3.org/XML/1998/namespace) is the URI permanantly assigned to the "xml:" prefix.static StringConstants. S_VENDORAuthorship mnemonics, as Java Strings.static StringConstants. S_VENDORURLAuthorship mnemonics, as Java Strings.static StringConstants. S_XMLNAMESPACEURIMnemonics for standard XML Namespace URIs, as Java Strings: S_XMLNAMESPACEURI (http://www.w3.org/XML/1998/namespace) is the URI permanantly assigned to the "xml:" prefix.static StringQName. S_XMLNAMESPACEURIThe XML namespace.static StringConstants. S_XSLNAMESPACEURLMnemonics for standard XML Namespace URIs, as Java Strings: S_XMLNAMESPACEURI (http://www.w3.org/XML/1998/namespace) is the URI permanantly assigned to the "xml:" prefix.static StringNamespaceSupport2. XMLNSThe XML Namespace as a constant.Methods in org.apache.xml.utils that return String Modifier and Type Method Description StringStringVector. elementAt(int i)Get the nth element.static StringSystemIDResolver. getAbsoluteURI(String systemId)Take a SystemID string and try to turn it into a good absolute URI.static StringSystemIDResolver. getAbsoluteURI(String urlString, String base)Take a SystemID string and try to turn it into a good absolute URI.static StringSystemIDResolver. getAbsoluteURIFromRelative(String localPath)Get an absolute URI from a given relative URI (local path).StringUnImplNode. getActualEncoding()DOM Level 3 An attribute specifying the actual encoding of this document.StringUnImplNode. getAttribute(String name)Unimplemented.StringUnImplNode. getAttributeNS(String namespaceURI, String localName)Unimplemented.StringStylesheetPIHandler. getBaseId()StringPrefixResolver. getBaseIdentifier()Return the base identifier.StringPrefixResolverDefault. getBaseIdentifier()Return the base identifier.StringUnImplNode. getBaseURI()The absolute base URI of this node ornullif undefined.StringUnImplNode. getDocumentURI()DOM Level 3 The location of the document ornullif undefined.StringDOMHelper. getExpandedAttributeName(Attr attr)Deprecated.Returns the attribute name with the namespace prefix (if any) replaced by the Namespace URI it was bound to.StringDOMHelper. getExpandedElementName(Element elem)Deprecated.Returns the element name with the namespace prefix (if any) replaced by the Namespace URI it was bound to.StringURI. getFragment()Get the fragment for this URI.StringURI. getHost()Get the host for this URI.StringUnImplNode. getInputEncoding()StringAttList. getLocalName(int index)Look up an attribute's local name by index.StringQName. getLocalName()Returns the local part of the qualified name.StringUnImplNode. getLocalName()Unimplemented.StringDOM2Helper. getLocalNameOfNode(Node n)Deprecated.Returns the local name of the given node, as defined by the XML Namespaces specification.StringDOMHelper. getLocalNameOfNode(Node n)Deprecated.Returns the local name of the given node.StringQName. getLocalPart()Get the local part of the qualified name.static StringQName. getLocalPart(String qname)Returns the local name of the given node.StringQName. getNamespace()Get the namespace of the qualified name.StringDOMHelper. getNamespaceForPrefix(String prefix, Element namespaceContext)Deprecated.Given an XML Namespace prefix and a context in which the prefix is to be evaluated, return the Namespace Name this prefix was bound to.StringPrefixResolver. getNamespaceForPrefix(String prefix)Given a namespace, get the corrisponding prefix.StringPrefixResolver. getNamespaceForPrefix(String prefix, Node context)Given a namespace, get the corresponding prefix, based on the context node.StringPrefixResolverDefault. getNamespaceForPrefix(String prefix)Given a namespace, get the corrisponding prefix.StringPrefixResolverDefault. getNamespaceForPrefix(String prefix, Node namespaceContext)Given a namespace, get the corrisponding prefix.StringDOM2Helper. getNamespaceOfNode(Node n)Deprecated.Returns the Namespace Name (Namespace URI) for the given node.StringDOMHelper. getNamespaceOfNode(Node n)Deprecated.Returns the namespace of the given node.StringQName. getNamespaceURI()Returns the namespace URI.StringUnImplNode. getNamespaceURI()Unimplemented.static StringDOMHelper. getNodeData(Node node)Deprecated.Get the textual contents of the node.StringUnImplNode. getNodeName()Unimplemented.StringUnImplNode. getNodeValue()Unimplemented.protected StringFastStringBuffer. getOneChunkString(int startChunk, int startColumn, int length)StringURI. getPath()Get the path for this URI.StringURI. getPath(boolean p_includeQueryString, boolean p_includeFragment)Get the path for this URI (optionally with the query string and fragment).StringNamespaceSupport2. getPrefix(String uri)Return one of the prefixes mapped to a Namespace URI.StringQName. getPrefix()Returns the namespace prefix.StringUnImplNode. getPrefix()Unimplemented.static StringQName. getPrefixFromXMLNSDecl(String attRawName)This function tells if a raw attribute name is a xmlns attribute.static StringQName. getPrefixPart(String qname)Returns the local name of the given node.StringSAXSourceLocator. getPublicId()Return the public identifier for the current document event.StringAttList. getQName(int i)Look up an attribute's qualified name by index.StringURI. getQueryString()Get the query string for this URI.StringURI. getScheme()Get the scheme for this URI.StringURI. getSchemeSpecificPart()Get the scheme-specific part for this URI (everything following the scheme and the first colon).StringFastStringBuffer. getString(int start, int length)StringSAXSourceLocator. getSystemId()Return the system identifier for the current document event.StringUnImplNode. getTagName()Unimplemented.StringUnImplNode. getTextContent()This attribute returns the text content of this node and its descendants.StringAttList. getType(int i)Get the attribute's node type by indexStringAttList. getType(String name)Get the attribute's node type by nameStringAttList. getType(String uri, String localName)Look up an attribute's type by Namespace name.StringDOMHelper. getUniqueID(Node node)Deprecated.Supports the XPath function GenerateID by returning a unique identifier string for any given DOM Node.StringDOMHelper. getUnparsedEntityURI(String name, Document doc)Deprecated.The getUnparsedEntityURI function returns the URI of the unparsed entity with the specified name in the same document as the context node (see [3.3 Unparsed Entities]).StringAttList. getURI(int index)Look up an attribute's Namespace URI by index.StringNamespaceSupport2. getURI(String prefix)Look up a prefix and get the currently-mapped Namespace URI.StringURI. getUserinfo()Get the userinfo for this URI.StringAttList. getValue(int i)Get the attribute's node value by indexStringAttList. getValue(String name)Look up an attribute's value by name.StringAttList. getValue(String uri, String localName)Look up an attribute's value by Namespace name.StringUnImplNode. getWholeText()DOM Level 3 Returns all text ofTextnodes logically-adjacent text nodes to this node, concatenated in document order.StringUnImplNode. getXmlEncoding()StringUnImplNode. getXmlVersion()String[]StringToIntTable. keys()Return array of keys in the table.StringUnImplNode. lookupNamespaceURI(String specifiedPrefix)DOM Level 3: Look up the namespace URI associated to the given prefix, starting from this node.StringUnImplNode. lookupPrefix(String namespaceURI)DOM Level 3: Look up the prefix associated to the given namespace URI, starting from this node.StringStringVector. peek()Get the string at the tail of this vector without popping.StringStringVector. pop()Pop the tail of this vector.String[]NamespaceSupport2. processName(String qName, String[] parts, boolean isAttribute)Process a raw XML 1.0 name.StringUnImplNode. substringData(int offset, int count)Unimplemented.StringQName. toNamespacedString()Return the string representation of the qualified name using the the '{ns}foo' notation.StringFastStringBuffer. toString()Note that this operation has been somewhat deoptimized by the shift to a chunked array, as there is no factory method to produce a String object directly from an array of arrays and hence a double copy is needed.StringQName. toString()Return the string representation of the qualified name, using the prefix if available, or the '{ns}foo' notation if not.StringURI. toString()Get the URI as a string specification.StringXMLString. toString()This object (which is already a string!) is itself returned.StringXMLStringDefault. toString()This object (which is already a string!) is itself returned.Methods in org.apache.xml.utils with parameters of type String Modifier and Type Method Description voidStringVector. addElement(String value)Append a string onto the vector.voidFastStringBuffer. append(String value)Append the contents of a String onto the FastStringBuffer, growing the storage if necessary.voidUnImplNode. appendData(String arg)Unimplemented.voidURI. appendPath(String p_addToPath)Append to the end of the path of this URI.XMLStringXMLString. concat(String str)Concatenates the specified string to the end of this string.XMLStringXMLStringDefault. concat(String str)Concatenates the specified string to the end of this string.booleanStringToIntTable. contains(String key)Tell if the table contains the given string.booleanStringVector. contains(String s)Tell if the table contains the given string.booleanStringVector. containsIgnoreCase(String s)Tell if the table contains the given string.AttrUnImplNode. createAttribute(String name)Unimplemented.AttrUnImplNode. createAttributeNS(String namespaceURI, String qualifiedName)Unimplemented.CDATASectionUnImplNode. createCDATASection(String data)Unimplemented.CommentUnImplNode. createComment(String data)Unimplemented.ElementUnImplNode. createElement(String tagName)Unimplemented.ElementUnImplNode. createElementNS(String namespaceURI, String qualifiedName)Unimplemented.EntityReferenceUnImplNode. createEntityReference(String name)Unimplemented.ProcessingInstructionUnImplNode. createProcessingInstruction(String target, String data)Unimplemented.TextUnImplNode. createTextNode(String data)Unimplemented.booleanNamespaceSupport2. declarePrefix(String prefix, String uri)Declare a Namespace prefix.voidDOMBuilder. endElement(String ns, String localName, String name)Receive notification of the end of an element.voidDOMBuilder. endEntity(String name)Report the end of an entity.voidDOMBuilder. endPrefixMapping(String prefix)End the scope of a prefix-URI mapping.booleanXMLString. endsWith(String suffix)Tests if this string ends with the specified suffix.booleanXMLStringDefault. endsWith(String suffix)Tests if this string ends with the specified suffix.voidDOMBuilder. entityReference(String name)Receive notivication of a entityReference.booleanQName. equals(String ns, String localPart)Override equals and agree that we're equal if the passed object is a string and it matches the name of the arg.booleanXMLString. equals(String anotherString)Compares this string to the specifiedString.booleanXMLStringDefault. equals(String obj2)Compares this string to the specifiedString.booleanXMLString. equalsIgnoreCase(String anotherString)Compares thisStringto anotherString, ignoring case considerations.booleanXMLStringDefault. equalsIgnoreCase(String anotherString)Compares thisStringto anotherString, ignoring case considerations.voidUnImplNode. error(String msg)Throw an error.voidUnImplNode. error(String msg, Object[] args)Throw an error.intStringToIntTable. get(String key)Tell if the table contains the given string.static StringSystemIDResolver. getAbsoluteURI(String systemId)Take a SystemID string and try to turn it into a good absolute URI.static StringSystemIDResolver. getAbsoluteURI(String urlString, String base)Take a SystemID string and try to turn it into a good absolute URI.static StringSystemIDResolver. getAbsoluteURIFromRelative(String localPath)Get an absolute URI from a given relative URI (local path).StringUnImplNode. getAttribute(String name)Unimplemented.AttrUnImplNode. getAttributeNode(String name)Unimplemented.AttrUnImplNode. getAttributeNodeNS(String namespaceURI, String localName)Unimplemented.StringUnImplNode. getAttributeNS(String namespaceURI, String localName)Unimplemented.ElementUnImplNode. getElementById(String elementId)Unimplemented.ElementDOM2Helper. getElementByID(String id, Document doc)Deprecated.Given an XML ID, return the element.ElementDOMHelper. getElementByID(String id, Document doc)Deprecated.Given an ID, return the element.NodeListUnImplNode. getElementsByTagName(String name)Unimplemented.NodeListUnImplNode. getElementsByTagNameNS(String namespaceURI, String localName)Unimplemented.ObjectUnImplNode. getFeature(String feature, String version)This method returns a specialized object which implements the specialized APIs of the specified feature and version.intStringToIntTable. getIgnoreCase(String key)Tell if the table contains the given string.intAttList. getIndex(String qName)Look up the index of an attribute by raw XML 1.0 name.intAttList. getIndex(String uri, String localPart)Look up the index of an attribute by Namespace name.static StringQName. getLocalPart(String qname)Returns the local name of the given node.StringDOMHelper. getNamespaceForPrefix(String prefix, Element namespaceContext)Deprecated.Given an XML Namespace prefix and a context in which the prefix is to be evaluated, return the Namespace Name this prefix was bound to.StringPrefixResolver. getNamespaceForPrefix(String prefix)Given a namespace, get the corrisponding prefix.StringPrefixResolver. getNamespaceForPrefix(String prefix, Node context)Given a namespace, get the corresponding prefix, based on the context node.StringPrefixResolverDefault. getNamespaceForPrefix(String prefix)Given a namespace, get the corrisponding prefix.StringPrefixResolverDefault. getNamespaceForPrefix(String prefix, Node namespaceContext)Given a namespace, get the corrisponding prefix.StringNamespaceSupport2. getPrefix(String uri)Return one of the prefixes mapped to a Namespace URI.EnumerationNamespaceSupport2. getPrefixes(String uri)Return an enumeration of all prefixes currently declared for a URI.static StringQName. getPrefixFromXMLNSDecl(String attRawName)This function tells if a raw attribute name is a xmlns attribute.static StringQName. getPrefixPart(String qname)Returns the local name of the given node.static QNameQName. getQNameFromString(String name)Given a string, create and return a QName objectStringAttList. getType(String name)Get the attribute's node type by nameStringAttList. getType(String uri, String localName)Look up an attribute's type by Namespace name.StringDOMHelper. getUnparsedEntityURI(String name, Document doc)Deprecated.The getUnparsedEntityURI function returns the URI of the unparsed entity with the specified name in the same document as the context node (see [3.3 Unparsed Entities]).StringNamespaceSupport2. getURI(String prefix)Look up a prefix and get the currently-mapped Namespace URI.ObjectUnImplNode. getUserData(String key)Retrieves the object associated to a key on a this node.StringAttList. getValue(String name)Look up an attribute's value by name.StringAttList. getValue(String uri, String localName)Look up an attribute's value by Namespace name.booleanUnImplNode. hasAttribute(String name)Unimplemented.booleanUnImplNode. hasAttributeNS(String name, String x)Unimplemented.intXMLString. indexOf(String str)Returns the index within this string of the first occurrence of the specified substring.intXMLString. indexOf(String str, int fromIndex)Returns the index within this string of the first occurrence of the specified substring, starting at the specified index.intXMLStringDefault. indexOf(String str)Returns the index within this string of the first occurrence of the specified substring.intXMLStringDefault. indexOf(String str, int fromIndex)Returns the index within this string of the first occurrence of the specified substring, starting at the specified index.voidUnImplNode. insertData(int offset, String arg)Unimplemented.static booleanSystemIDResolver. isAbsolutePath(String systemId)Return true if the local path is an absolute path.static booleanSystemIDResolver. isAbsoluteURI(String systemId)Return true if the systemId denotes an absolute URI .static booleanURI. isConformantSchemeName(String p_scheme)Determine whether a scheme conforms to the rules for a scheme name.booleanUnImplNode. isDefaultNamespace(String namespaceURI)DOM Level 3: This method checks if the specifiednamespaceURIis the default namespace or not.booleanUnImplNode. isSupported(String feature, String version)Tests whether the DOM implementation implements a specific feature and that feature is supported by this node.static booleanXMLChar. isValidIANAEncoding(String ianaEncoding)Returns true if the encoding name is a valid IANA encoding.static booleanXMLChar. isValidJavaEncoding(String javaEncoding)Returns true if the encoding name is a valid Java encoding.static booleanXMLChar. isValidName(String name)Check to see if a string is a valid Name according to [5] in the XML 1.0 Recommendationstatic booleanXMLChar. isValidNCName(String ncName)Check to see if a string is a valid NCName according to [4] from the XML Namespaces 1.0 Recommendationstatic booleanXMLChar. isValidNmtoken(String nmtoken)Check to see if a string is a valid Nmtoken according to [7] in the XML 1.0 Recommendationstatic booleanXMLChar. isValidQName(String str)Simple check to determine if qname is legal.static booleanURI. isWellFormedAddress(String p_address)Determine whether a string is syntactically capable of representing a valid IPv4 address or the domain name of a network host.static booleanXMLCharacterRecognizer. isWhiteSpace(String s)Tell if the string is whitespace.static booleanXML11Char. isXML11ValidName(String name)Check to see if a string is a valid Name according to [5] in the XML 1.1 Recommendationstatic booleanXML11Char. isXML11ValidNCName(String ncName)Check to see if a string is a valid NCName according to [4] from the XML Namespaces 1.1 Recommendationstatic booleanXML11Char. isXML11ValidNmtoken(String nmtoken)Check to see if a string is a valid Nmtoken according to [7] in the XML 1.1 Recommendationstatic booleanXML11Char. isXML11ValidQName(String str)Simple check to determine if qname is legal.static booleanQName. isXMLNSDecl(String attRawName)This function tells if a raw attribute name is a xmlns attribute.intXMLString. lastIndexOf(String str)Returns the index within this string of the rightmost occurrence of the specified substring.intXMLString. lastIndexOf(String str, int fromIndex)Returns the index within this string of the last occurrence of the specified substring.intXMLStringDefault. lastIndexOf(String str)Returns the index within this string of the rightmost occurrence of the specified substring.intXMLStringDefault. lastIndexOf(String str, int fromIndex)Returns the index within this string of the last occurrence of the specified substring.StringUnImplNode. lookupNamespaceURI(String specifiedPrefix)DOM Level 3: Look up the namespace URI associated to the given prefix, starting from this node.StringUnImplNode. lookupPrefix(String namespaceURI)DOM Level 3: Look up the prefix associated to the given namespace URI, starting from this node.abstract XMLStringXMLStringFactory. newstr(String string)Create a new XMLString from a Java string.voidDOMBuilder. processingInstruction(String target, String data)Receive notification of a processing instruction.voidStylesheetPIHandler. processingInstruction(String target, String data)Handle the xml-stylesheet processing instruction.String[]NamespaceSupport2. processName(String qName, String[] parts, boolean isAttribute)Process a raw XML 1.0 name.voidStringVector. push(String s)Tell if the table contains the given string.voidStringToIntTable. put(String key, int value)Append a string onto the vector.voidUnImplNode. removeAttribute(String name)Unimplemented.voidUnImplNode. removeAttributeNS(String namespaceURI, String localName)Unimplemented.NodeUnImplNode. renameNode(Node n, String namespaceURI, String name)DOM Level 3 Renaming nodevoidUnImplNode. replaceData(int offset, int count, String arg)Unimplemented.TextUnImplNode. replaceWholeText(String content)DOM Level 3voidUnImplNode. setActualEncoding(String value)DOM Level 3 An attribute specifying the actual encoding of this document.voidUnImplNode. setAttribute(String name, String value)Unimplemented.voidUnImplNode. setAttributeNS(String namespaceURI, String qualifiedName, String value)Unimplemented.voidStylesheetPIHandler. setBaseId(String baseId)Added additional getter and setter methods for the Base Id to fix bugzilla bug 24187voidUnImplNode. setData(String data)Set Node datavoidUnImplNode. setDocumentURI(String documentURI)DOM Level 3voidURI. setFragment(String p_fragment)Set the fragment for this URI.voidURI. setHost(String p_host)Set the host for this URI.voidUnImplNode. setIdAttribute(String name, boolean makeId)DOM Level 3: register the given attribute node as an ID attributevoidDOMBuilder. setIDAttribute(String id, Element elem)Set an ID string to node association in the ID table.voidUnImplNode. setIdAttributeNS(String namespaceURI, String localName, boolean makeId)DOM Level 3: register the given attribute node as an ID attributevoidUnImplNode. setInputEncoding(String encoding)voidUnImplNode. setNodeValue(String nodeValue)Unimplemented.voidURI. setPath(String p_path)Set the path for this URI.voidUnImplNode. setPrefix(String prefix)Unimplemented.voidURI. setQueryString(String p_queryString)Set the query string for this URI.voidURI. setScheme(String p_scheme)Set the scheme for this URI.voidUnImplNode. setTextContent(String textContent)This attribute returns the text content of this node and its descendants.ObjectUnImplNode. setUserData(String key, Object data, UserDataHandler handler)voidURI. setUserinfo(String p_userinfo)Set the userinfo for this URI.voidUnImplNode. setValue(String value)Unimplemented.voidUnImplNode. setXmlEncoding(String xmlEncoding)voidUnImplNode. setXmlVersion(String xmlVersion)voidDOMBuilder. skippedEntity(String name)Receive notification of a skipped entity.voidDOMBuilder. startDTD(String name, String publicId, String systemId)Report the start of DTD declarations, if any.voidDOMBuilder. startElement(String ns, String localName, String name, Attributes atts)Receive notification of the beginning of an element.voidStylesheetPIHandler. startElement(String namespaceURI, String localName, String qName, Attributes atts)The spec notes that "The xml-stylesheet processing instruction is allowed only in the prolog of an XML document.", so, at least for right now, I'm going to go ahead an throw a TransformerException in order to stop the parse.voidDOMBuilder. startEntity(String name)Report the beginning of an entity.voidDOMBuilder. startPrefixMapping(String prefix, String uri)Begin the scope of a prefix-URI Namespace mapping.booleanXMLString. startsWith(String prefix)Tests if this string starts with the specified prefix.booleanXMLString. startsWith(String prefix, int toffset)Tests if this string starts with the specified prefix beginning a specified index.booleanXMLStringDefault. startsWith(String prefix)Tests if this string starts with the specified prefix.booleanXMLStringDefault. startsWith(String prefix, int toffset)Tests if this string starts with the specified prefix beginning a specified index.Constructors in org.apache.xml.utils with parameters of type String Constructor Description MalformedURIException(String p_msg)Constructs aMalformedURIExceptionwith the specified detail message.NameSpace(String prefix, String uri)Construct a namespace for placement on the result tree namespace stack.NSInfo(String namespace, boolean hasXMLNSAttrs)Constructor NSInfoObjectPool(String className)Constructor ObjectPoolQName(String localName)Construct a QName from a string, without namespace resolution.QName(String localName, boolean validate)Construct a QName from a string, without namespace resolution.QName(String namespaceURI, String localName)Constructs a new QName with the specified namespace URI and local name.QName(String namespaceURI, String localName, boolean validate)Constructs a new QName with the specified namespace URI and local name.QName(String namespaceURI, String prefix, String localName)Constructs a new QName with the specified namespace URI, prefix and local name.QName(String namespaceURI, String prefix, String localName, boolean validate)Constructs a new QName with the specified namespace URI, prefix and local name.QName(String qname, Stack namespaces)Construct a QName from a string, resolving the prefix using the given namespace stack.QName(String qname, Stack namespaces, boolean validate)Construct a QName from a string, resolving the prefix using the given namespace stack.QName(String qname, PrefixResolver resolver)Construct a QName from a string, resolving the prefix using the given namespace stack.QName(String qname, PrefixResolver resolver, boolean validate)Construct a QName from a string, resolving the prefix using the given namespace stack.QName(String qname, Element namespaceContext, PrefixResolver resolver)Construct a QName from a string, resolving the prefix using the given namespace context and prefix resolver.QName(String qname, Element namespaceContext, PrefixResolver resolver, boolean validate)Construct a QName from a string, resolving the prefix using the given namespace context and prefix resolver.StylesheetPIHandler(String baseID, String media, String title, String charset)Construct a StylesheetPIHandler instance that will search for xml-stylesheet PIs based on the given criteria.TreeWalker(ContentHandler contentHandler, DOMHelper dh, String systemId)Constructor.URI(String p_uriSpec)Construct a new URI from a URI specification string.URI(String p_scheme, String p_schemeSpecificPart)Construct a new URI that does not follow the generic URI syntax.URI(String p_scheme, String p_userinfo, String p_host, int p_port, String p_path, String p_queryString, String p_fragment)Construct a new URI that follows the generic URI syntax from its component parts.URI(String p_scheme, String p_host, String p_path, String p_queryString, String p_fragment)Construct a new URI that follows the generic URI syntax from its component parts.URI(URI p_base, String p_uriSpec)Construct a new URI from a base URI and a URI specification string.WrappedRuntimeException(String msg, Exception e)Constructor WrappedRuntimeExceptionXMLStringDefault(String str)Create a XMLStringDefault object from a String -
Uses of String in org.apache.xml.utils.res
Fields in org.apache.xml.utils.res declared as String Modifier and Type Field Description static StringXResourceBundle. ERROR_RESOURCESError resource constantsstatic StringXResourceBundle. LANG_ADDITIVEError resource constantsstatic StringXResourceBundle. LANG_ALPHABETError resource constantsstatic StringXResourceBundle. LANG_BUNDLE_NAMEError resource constantsstatic StringXResourceBundle. LANG_LEFTTORIGHTError resource constantsstatic StringXResourceBundle. LANG_MULT_ADDError resource constantsstatic StringXResourceBundle. LANG_MULTIPLIERError resource constantsstatic StringXResourceBundle. LANG_MULTIPLIER_CHARError resource constantsstatic StringXResourceBundle. LANG_NUM_TABLESError resource constantsstatic StringXResourceBundle. LANG_NUMBERGROUPSError resource constantsstatic StringXResourceBundle. LANG_NUMBERINGError resource constantsstatic StringXResourceBundle. LANG_ORIENTATIONError resource constantsstatic StringXResourceBundle. LANG_RIGHTTOLEFTError resource constantsstatic StringXResourceBundle. LANG_TRAD_ALPHABETError resource constantsstatic StringXResourceBundle. MULT_FOLLOWSError resource constantsstatic StringXResourceBundle. MULT_ORDERError resource constantsstatic StringXResourceBundle. MULT_PRECEDESError resource constantsstatic StringXResourceBundle. XSLT_RESOURCEError resource constantsMethods in org.apache.xml.utils.res that return String Modifier and Type Method Description abstract StringXResourceBundleBase. getMessageKey(int errorCode)Get the error string associated with the error codeStringStringArrayWrapper. getString(int index)abstract StringXResourceBundleBase. getWarningKey(int errorCode)Get the warning string associated with the error codeMethods in org.apache.xml.utils.res with parameters of type String Modifier and Type Method Description static XResourceBundleXResourceBundle. loadResourceBundle(String className, Locale locale)Return a named ResourceBundle for a particular locale.Constructors in org.apache.xml.utils.res with parameters of type String Constructor Description StringArrayWrapper(String[] arg) -
Uses of String in org.apache.xpath
Fields in org.apache.xpath declared as String Modifier and Type Field Description StringSourceTree. m_urlThe URI of the source tree.Methods in org.apache.xpath that return String Modifier and Type Method Description StringSourceTreeManager. findURIFromDoc(int owner)Given a document, find the URL associated with that document.StringArg. getExpression()Get the value expression for this argument.StringXPathException. getMessage()Find the most contained message.StringXPath. getPatternString()Return the XPath string associated with this object.StringExpression. getPublicId()Return the public identifier for the current document event.StringExpression. getSystemId()Return the system identifier for the current document event.StringXPathContext.XPathExpressionContext. toString(Node n)Get the value of a node as a string.Methods in org.apache.xpath with parameters of type String Modifier and Type Method Description voidExpression. assertion(boolean b, String msg)Tell the user of an assertion error, and probably throw an exception.voidXPath. assertion(boolean b, String msg)Tell the user of an assertion error, and probably throw an exception.XPathXPathFactory. create(String exprString, SourceLocator locator, PrefixResolver prefixResolver, int type)Create an XPath.DTMIteratorXPathContext. createDTMIterator(String xpathString, PrefixResolver presolver)Create a newDTMIteratorbased on an XPath UnionExpr.booleanExtensionsProvider. elementAvailable(String ns, String elemName)Is the extension element available?voidExpression. error(XPathContext xctxt, String msg, Object[] args)Tell the user of an error, and probably throw an exception.voidXPath. error(XPathContext xctxt, int sourceNode, String msg, Object[] args)Tell the user of an error, and probably throw an exception.XObjectCachedXPathAPI. eval(Node contextNode, String str)Evaluate XPath string to an XObject.XObjectCachedXPathAPI. eval(Node contextNode, String str, PrefixResolver prefixResolver)Evaluate XPath string to an XObject.XObjectCachedXPathAPI. eval(Node contextNode, String str, Node namespaceNode)Evaluate XPath string to an XObject.static XObjectXPathAPI. eval(Node contextNode, String str)Evaluate XPath string to an XObject.static XObjectXPathAPI. eval(Node contextNode, String str, PrefixResolver prefixResolver)Evaluate XPath string to an XObject.static XObjectXPathAPI. eval(Node contextNode, String str, Node namespaceNode)Evaluate XPath string to an XObject.ObjectExtensionsProvider. extFunction(String ns, String funcName, Vector argVec, Object methodKey)Execute the extension function.booleanExtensionsProvider. functionAvailable(String ns, String funcName)Is the extension function available?intSourceTreeManager. getSourceTree(String base, String urlString, SourceLocator locator, XPathContext xctxt)Get the source tree from the a base URL and a URL string.SourceSourceTreeManager. resolveURI(String base, String urlString, SourceLocator locator)This will be called by the processor when it encounters an xsl:include, xsl:import, or document() function.NodeIteratorCachedXPathAPI. selectNodeIterator(Node contextNode, String str)Use an XPath string to select a nodelist.NodeIteratorCachedXPathAPI. selectNodeIterator(Node contextNode, String str, Node namespaceNode)Use an XPath string to select a nodelist.static NodeIteratorXPathAPI. selectNodeIterator(Node contextNode, String str)Use an XPath string to select a nodelist.static NodeIteratorXPathAPI. selectNodeIterator(Node contextNode, String str, Node namespaceNode)Use an XPath string to select a nodelist.NodeListCachedXPathAPI. selectNodeList(Node contextNode, String str)Use an XPath string to select a nodelist.NodeListCachedXPathAPI. selectNodeList(Node contextNode, String str, Node namespaceNode)Use an XPath string to select a nodelist.static NodeListXPathAPI. selectNodeList(Node contextNode, String str)Use an XPath string to select a nodelist.static NodeListXPathAPI. selectNodeList(Node contextNode, String str, Node namespaceNode)Use an XPath string to select a nodelist.NodeCachedXPathAPI. selectSingleNode(Node contextNode, String str)Use an XPath string to select a single node.NodeCachedXPathAPI. selectSingleNode(Node contextNode, String str, Node namespaceNode)Use an XPath string to select a single node.static NodeXPathAPI. selectSingleNode(Node contextNode, String str)Use an XPath string to select a single node.static NodeXPathAPI. selectSingleNode(Node contextNode, String str, Node namespaceNode)Use an XPath string to select a single node.voidArg. setExpression(String expr)Set the value expression for this argument.voidExpression. warn(XPathContext xctxt, String msg, Object[] args)Warn the user of an problem.voidXPath. warn(XPathContext xctxt, int sourceNode, String msg, Object[] args)Warn the user of an problem.Constructors in org.apache.xpath with parameters of type String Constructor Description Arg(QName qname, String expression, boolean isFromWithParam)Construct a parameter argument that contains an expression.SourceTree(int root, String url)Constructor SourceTreeXPath(String exprString, SourceLocator locator, PrefixResolver prefixResolver, int type)Construct an XPath object.XPath(String exprString, SourceLocator locator, PrefixResolver prefixResolver, int type, ErrorListener errorListener)Construct an XPath object.XPath(String exprString, SourceLocator locator, PrefixResolver prefixResolver, int type, ErrorListener errorListener, FunctionTable aTable)Construct an XPath object.XPathException(String message)Create an XPathException object that holds an error message.XPathException(String message, Exception e)Create an XPathException object that holds an error message, and another exception that caused this exception.XPathException(String message, Object styleNode)Create an XPathException object that holds an error message and the stylesheet node that the error originated from.XPathException(String message, ExpressionNode ex)Create an XPathException object that holds an error message.XPathException(String message, Node styleNode, Exception e)Create an XPathException object that holds an error message, the stylesheet node that the error originated from, and another exception that caused this exception.XPathProcessorException(String message)Create an XPathProcessorException object that holds an error message.XPathProcessorException(String message, Exception e)Create an XPathProcessorException object that holds an error message, and another exception that caused this exception. -
Uses of String in org.apache.xpath.axes
Methods in org.apache.xpath.axes that return String Modifier and Type Method Description static StringWalkerFactory. getAnalysisString(int analysis)protected StringPredicatedNodeTest. nodeToString(int n)Diagnostics.Methods in org.apache.xpath.axes with parameters of type String Modifier and Type Method Description static voidWalkerFactory. diagnoseIterator(String name, int analysis, Compiler compiler) -
Uses of String in org.apache.xpath.compiler
Fields in org.apache.xpath.compiler declared as String Modifier and Type Field Description static StringXPathParser. CONTINUE_AFTER_FATAL_ERRORstatic StringKeywords. FUNC_BOOLEAN_STRINGboolean function string.static StringKeywords. FUNC_CEILING_STRINGceiling function string.static StringKeywords. FUNC_CONCAT_STRINGconcat function string.static StringKeywords. FUNC_CONTAINS_STRINGcontains function string.static StringKeywords. FUNC_COUNT_STRINGcount function string.static StringKeywords. FUNC_CURRENT_STRINGcurrent function string.static StringKeywords. FUNC_DOCLOCATION_STRINGcurrent function string (Proprietary).static StringKeywords. FUNC_EXT_ELEM_AVAILABLE_STRINGelement-available function string (XSLT).static StringKeywords. FUNC_EXT_FUNCTION_AVAILABLE_STRINGfunction-available function string (XSLT).static StringKeywords. FUNC_FALSE_STRINGfalse function string.static StringKeywords. FUNC_FLOOR_STRINGfloor function string.static StringKeywords. FUNC_GENERATE_ID_STRINGgenerate-id function string (XSLT).static StringKeywords. FUNC_KEY_STRINGkey function string (XSLT).static StringKeywords. FUNC_LANG_STRINGlang function string.static StringKeywords. FUNC_LAST_STRINGlast function string.static StringKeywords. FUNC_LOCAL_PART_STRINGlocal-name function string.static StringKeywords. FUNC_NAME_STRINGname function string.static StringKeywords. FUNC_NAMESPACE_STRINGnamespace-uri function string.static StringKeywords. FUNC_NORMALIZE_SPACE_STRINGnormalize-space function string.static StringKeywords. FUNC_NOT_STRINGnot function string.static StringKeywords. FUNC_NUMBER_STRINGnumber function string.static StringKeywords. FUNC_POSITION_STRINGposition function string.static StringKeywords. FUNC_ROUND_STRINGround function string.static StringKeywords. FUNC_STARTS_WITH_STRINGstarts-with function string.static StringKeywords. FUNC_STRING_LENGTH_STRINGstring-length function string.static StringKeywords. FUNC_STRING_STRINGstring function string.static StringKeywords. FUNC_SUBSTRING_AFTER_STRINGsubstring-after function string.static StringKeywords. FUNC_SUBSTRING_BEFORE_STRINGsubstring-before function string.static StringKeywords. FUNC_SUBSTRING_STRINGsubstring function string.static StringKeywords. FUNC_SUM_STRINGsum function string.static StringKeywords. FUNC_SYSTEM_PROPERTY_STRINGsystem-property function string.static StringKeywords. FUNC_TRANSLATE_STRINGtranslate function string.static StringKeywords. FUNC_TRUE_STRINGtrue function string.static StringKeywords. FUNC_UNPARSED_ENTITY_URI_STRINGunparsed-entity-uri function string (XSLT).protected StringOpMap. m_currentPatternThe current pattern string, for diagnostics purposesstatic StringPsuedoNames. PSEUDONAME_ANYPsuedo name for a wild card pattern ('*').static StringPsuedoNames. PSEUDONAME_COMMENTPsuedo name for a comment node.static StringPsuedoNames. PSEUDONAME_OTHERPsuedo name for an unknown type value.static StringPsuedoNames. PSEUDONAME_PIPsuedo name for a processing instruction node.static StringPsuedoNames. PSEUDONAME_ROOTPsuedo name for the root node.static StringPsuedoNames. PSEUDONAME_TEXTPsuedo name for a text node.Methods in org.apache.xpath.compiler that return String Modifier and Type Method Description protected StringXPathParser. dumpRemainingTokenQueue()Dump the remaining token queue.StringOpMap. getPatternString()Return the expression as a string for diagnostics.StringOpMap. getStepLocalName(int opPosOfStep)Get the local name of the step.StringOpMap. getStepNS(int opPosOfStep)Get the namespace of the step.StringOpMap. toString()Return the expression as a string for diagnostics.Methods in org.apache.xpath.compiler with parameters of type String Modifier and Type Method Description voidCompiler. assertion(boolean b, String msg)Tell the user of an assertion error, and probably throw an exception.voidCompiler. error(String msg, Object[] args)Tell the user of an error, and probably throw an exception.voidOpMap. error(String msg, Object[] args)Tell the user of an error, and probably throw an exception.booleanFunctionTable. functionAvailable(String methName)Tell if a built-in, non-namespaced function is available.voidXPathParser. initMatchPattern(Compiler compiler, String expression, PrefixResolver namespaceContext)Given an string, init an XPath object for pattern matches, in order that a parse doesn't have to be done each time the expression is evaluated.voidXPathParser. initXPath(Compiler compiler, String expression, PrefixResolver namespaceContext)Given an string, init an XPath object for selections, in order that a parse doesn't have to be done each time the expression is evaluated.intFunctionTable. installFunction(String name, Class func)Install a built-in function.voidCompiler. warn(String msg, Object[] args)Warn the user of an problem. -
Uses of String in org.apache.xpath.domapi
Constructors in org.apache.xpath.domapi with parameters of type String Constructor Description XPathStylesheetDOM3Exception(String msg, SourceLocator arg1) -
Uses of String in org.apache.xpath.functions
Methods in org.apache.xpath.functions that return String Modifier and Type Method Description StringFuncExtFunction. getFunctionName()Return the name of the extension function.StringFuncExtFunction. getNamespace()Return the namespace of the extension function.StringFuncExtFunction. toString()Return the name of the extesion function in string formatMethods in org.apache.xpath.functions with parameters of type String Modifier and Type Method Description voidFuncSystemProperty. loadPropertyFile(String file, Properties target)Retrieve a propery bundle from a specified fileConstructors in org.apache.xpath.functions with parameters of type String Constructor Description FuncExtFunction(String namespace, String extensionName, Object methodKey)Create a new FuncExtFunction based on the qualified name of the extension, and a unique method key.WrongNumberArgsException(String argsExpected)Constructor WrongNumberArgsException -
Uses of String in org.apache.xpath.jaxp
Fields in org.apache.xpath.jaxp declared as String Modifier and Type Field Description static StringJAXPPrefixResolver. S_XMLNAMESPACEURIThe URI for the XML namespace.Methods in org.apache.xpath.jaxp that return String Modifier and Type Method Description StringXPathExpressionImpl. evaluate(Object item)Evaluate the compiled XPath expression in the specified context and return the result as aString.StringXPathExpressionImpl. evaluate(InputSource source)Evaluate the compiled XPath expression in the context of the specifiedInputSourceand return the result as aString.StringXPathImpl. evaluate(String expression, Object item)Evaluate an XPath expression in the specified context and return the result as aString.StringXPathImpl. evaluate(String expression, InputSource source)Evaluate an XPath expression in the context of the specifiedInputSourceand return the result as aString.StringJAXPPrefixResolver. getBaseIdentifier()Return the base identifier.StringJAXPPrefixResolver. getNamespaceForPrefix(String prefix)StringJAXPPrefixResolver. getNamespaceForPrefix(String prefix, Node namespaceContext)Given a prefix and a Context Node, get the corresponding namespace.Methods in org.apache.xpath.jaxp with parameters of type String Modifier and Type Method Description XPathExpressionXPathImpl. compile(String expression)Compile an XPath expression for later evaluation.booleanJAXPExtensionsProvider. elementAvailable(String ns, String elemName)Is the extension element available?StringXPathImpl. evaluate(String expression, Object item)Evaluate an XPath expression in the specified context and return the result as aString.ObjectXPathImpl. evaluate(String expression, Object item, QName returnType)Evaluate anXPathexpression in the specified context and return the result as the specified type.StringXPathImpl. evaluate(String expression, InputSource source)Evaluate an XPath expression in the context of the specifiedInputSourceand return the result as aString.ObjectXPathImpl. evaluate(String expression, InputSource source, QName returnType)Evaluate an XPath expression in the context of the specifiedInputSourceand return the result as the specified type.ObjectJAXPExtensionsProvider. extFunction(String ns, String funcName, Vector argVec, Object methodKey)Execute the extension function.booleanJAXPExtensionsProvider. functionAvailable(String ns, String funcName)Is the extension function available?booleanXPathFactoryImpl. getFeature(String name)Get the state of the named feature.StringJAXPPrefixResolver. getNamespaceForPrefix(String prefix)StringJAXPPrefixResolver. getNamespaceForPrefix(String prefix, Node namespaceContext)Given a prefix and a Context Node, get the corresponding namespace.booleanXPathFactoryImpl. isObjectModelSupported(String objectModel)Is specified object model supported by thisXPathFactory?voidXPathFactoryImpl. setFeature(String name, boolean value)Set a feature for thisXPathFactoryandXPaths created by this factory. -
Uses of String in org.apache.xpath.objects
Fields in org.apache.xpath.objects declared as String Modifier and Type Field Description protected StringXStringForChars. m_strCacheprotected StringXStringForFSB. m_strCacheIf the str() function is called, the string will be cached here.Methods in org.apache.xpath.objects that return String Modifier and Type Method Description StringXBoolean. getTypeString()Given a request type, return the equivalent string.StringXNodeSet. getTypeString()Given a request type, return the equivalent string.StringXNull. getTypeString()Given a request type, return the equivalent string.StringXNumber. getTypeString()Given a request type, return the equivalent string.StringXObject. getTypeString()Given a request type, return the equivalent string.StringXRTreeFrag. getTypeString()Given a request type, return the equivalent string.StringXString. getTypeString()Given a request type, return the equivalent string.StringXBoolean. str()Cast result object to a string.StringXNodeSet. str()Cast result object to a string.StringXNull. str()Cast result object to a string.StringXNumber. str()Cast result object to a string.StringXObject. str()Cast result object to a string.StringXRTreeFrag. str()Cast result object to a string.StringXRTreeFragSelectWrapper. str()Cast result object to a string.StringXString. str()Cast result object to a string.StringXStringForChars. str()Cast result object to a string.StringXStringForFSB. str()Cast result object to a string.StringXObject. toString()Return the string representation of the objectMethods in org.apache.xpath.objects with parameters of type String Modifier and Type Method Description XMLStringXString. concat(String str)Concatenates the specified string to the end of this string.XMLStringXStringForFSB. concat(String str)Concatenates the specified string to the end of this string.booleanXString. endsWith(String suffix)Tests if this string ends with the specified suffix.booleanXString. equals(String obj2)Compares this string to the specifiedString.booleanXStringForFSB. equals(String anotherString)Tell if two objects are functionally equal.booleanXString. equalsIgnoreCase(String anotherString)Compares thisStringto anotherString, ignoring case considerations.booleanXStringForFSB. equalsIgnoreCase(String anotherString)Compares thisStringto anotherString, ignoring case considerations.protected voidXObject. error(String msg)Tell the user of an error, and probably throw an exception.protected voidXObject. error(String msg, Object[] args)Tell the user of an error, and probably throw an exception.intXString. indexOf(String str)Returns the index within this string of the first occurrence of the specified substring.intXString. indexOf(String str, int fromIndex)Returns the index within this string of the first occurrence of the specified substring, starting at the specified index.intXString. lastIndexOf(String str)Returns the index within this string of the rightmost occurrence of the specified substring.intXString. lastIndexOf(String str, int fromIndex)Returns the index within this string of the last occurrence of the specified substring.XMLStringXMLStringFactoryImpl. newstr(String string)Create a new XMLString from a Java string.booleanXString. startsWith(String prefix)Tests if this string starts with the specified prefix.booleanXString. startsWith(String prefix, int toffset)Tests if this string starts with the specified prefix beginning a specified index.Constructors in org.apache.xpath.objects with parameters of type String Constructor Description XString(String val)Construct a XNodeSet object. -
Uses of String in org.apache.xpath.patterns
Fields in org.apache.xpath.patterns declared as String Modifier and Type Field Description protected StringNodeTest. m_nameThe local name to be tested for.static StringNodeTest. SUPPORTS_PRE_STRIPPINGThe URL to pass to the Node#supports method, to see if the DOM has already been stripped of whitespace nodes.static StringNodeTest. WILDThe namespace or local name for node tests with a wildcard.Methods in org.apache.xpath.patterns that return String Modifier and Type Method Description StringNodeTest. getLocalName()Return the local name to be tested.StringNodeTest. getNamespace()Return the namespace to be tested.StringStepPattern. getTargetString()Get the local name or psuedo name of the node that this pattern will test, for hash table lookup optimization.StringStepPattern. toString()Get the string represenentation of this step for diagnostic purposes.Methods in org.apache.xpath.patterns with parameters of type String Modifier and Type Method Description voidNodeTest. initNodeTest(int whatToShow, String namespace, String name)Initialize this node test by setting the whatToShow property and the namespace and local name, and calculating the score that this test will return if a test succeeds.voidNodeTest. setLocalName(String name)Set the local name to be tested.voidNodeTest. setNamespace(String ns)Set the namespace to be tested.Constructors in org.apache.xpath.patterns with parameters of type String Constructor Description NodeTest(int whatToShow, String namespace, String name)Construct an NodeTest that tests for namespaces and node names.StepPattern(int whatToShow, String namespace, String name, int axis, int axisForPredicate)Construct a StepPattern that tests for namespaces and node names. -
Uses of String in org.apache.xpath.res
Fields in org.apache.xpath.res declared as String Modifier and Type Field Description static StringXPATHErrorResources. BAD_CODEField BAD_CODEstatic StringXPATHErrorResources. ER_ARG_CANNOT_BE_NULLstatic StringXPATHErrorResources. ER_ASNODEITERATOR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPERasNodeIterator() not supported by XRTreeFragSelectWrapperstatic StringXPATHErrorResources. ER_AXES_NOT_ALLOWEDstatic StringXPATHErrorResources. ER_BOOLEAN_ARG_NO_LONGER_OPTIONALstatic StringXPATHErrorResources. ER_CANNOT_CALL_SETSHOULDCACHENODECan not call setShouldCacheNodes after nextNode has been called!static StringXPATHErrorResources. ER_CANNOT_CREATE_URLstatic StringXPATHErrorResources. ER_CANNOT_DEAL_XPATH_TYPEstatic StringXPATHErrorResources. ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPLstatic StringXPATHErrorResources. ER_CANT_CONVERT_TO_BOOLEANER_CANT_CONVERT_XPATHRESULTTYPE_TO_BOOLEANstatic StringXPATHErrorResources. ER_CANT_CONVERT_TO_MUTABLENODELISTstatic StringXPATHErrorResources. ER_CANT_CONVERT_TO_NODELISTstatic StringXPATHErrorResources. ER_CANT_CONVERT_TO_NUMBERstatic StringXPATHErrorResources. ER_CANT_CONVERT_TO_SINGLENODEField ER_CANT_CONVERT_TO_SINGLENODEstatic StringXPATHErrorResources. ER_CANT_CONVERT_TO_STRINGstatic StringXPATHErrorResources. ER_CANT_CONVERT_TO_TYPEstatic StringXPATHErrorResources. ER_CANT_CONVERT_XPATHRESULTTYPE_TO_NUMBERstatic StringXPATHErrorResources. ER_CANT_GET_SNAPSHOT_LENGTHField ER_CANT_GET_SNAPSHOT_LENGTHstatic StringXPATHErrorResources. ER_CONTEXT_HAS_NO_OWNERDOCstatic StringXPATHErrorResources. ER_COULD_NOT_FIND_VARCould not find variable with the name ofstatic StringXPATHErrorResources. ER_COULDNOT_BE_FORMATTED_TO_NUMBERstatic StringXPATHErrorResources. ER_COULDNOT_CREATE_XMLPROCESSORLIAISONstatic StringXPATHErrorResources. ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATHstatic StringXPATHErrorResources. ER_COULDNOT_FIND_FUNCTIONstatic StringXPATHErrorResources. ER_COULDNOT_GET_VAR_NAMEDstatic StringXPATHErrorResources. ER_COUNT_TAKES_1_ARGstatic StringXPATHErrorResources. ER_CURRENT_NOT_ALLOWED_IN_MATCHstatic StringXPATHErrorResources. ER_CURRENT_TAKES_NO_ARGSstatic StringXPATHErrorResources. ER_DETACH_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPERdetach() not supported by XRTreeFragSelectWrapperstatic StringXPATHErrorResources. ER_DIDNOT_FIND_XPATH_SELECT_EXPstatic StringXPATHErrorResources. ER_DOC_MUTATEDField ER_DOC_MUTATEDstatic StringXPATHErrorResources. ER_DOCUMENT_REPLACEDstatic StringXPATHErrorResources. ER_DTM_CANNOT_HANDLE_NODESstatic StringXPATHErrorResources. ER_EMPTY_EXPRESSIONstatic StringXPATHErrorResources. ER_EMPTY_XPATH_RESULTstatic StringXPATHErrorResources. ER_ERROR_OCCUREDstatic StringXPATHErrorResources. ER_EXPECTED_BUT_FOUNDstatic StringXPATHErrorResources. ER_EXPECTED_DOUBLE_QUOTEstatic StringXPATHErrorResources. ER_EXPECTED_LOC_PATHProblem with LocationPathstatic StringXPATHErrorResources. ER_EXPECTED_LOC_PATH_AT_END_EXPRstatic StringXPATHErrorResources. ER_EXPECTED_LOC_STEPProblem with Stepstatic StringXPATHErrorResources. ER_EXPECTED_MATCH_PATTERNstatic StringXPATHErrorResources. ER_EXPECTED_NODE_TESTProblem with NodeTeststatic StringXPATHErrorResources. ER_EXPECTED_REL_LOC_PATHProblem with RelativeLocationPathstatic StringXPATHErrorResources. ER_EXPECTED_REL_PATH_PATTERNExpected relative path patternstatic StringXPATHErrorResources. ER_EXPECTED_SINGLE_QUOTEstatic StringXPATHErrorResources. ER_EXPECTED_STEP_PATTERNExpected step patternstatic StringXPATHErrorResources. ER_EXTENSION_FUNCTION_CANNOT_BE_INVOKEDstatic StringXPATHErrorResources. ER_EXTRA_ILLEGAL_TOKENSstatic StringXPATHErrorResources. ER_FASTSTRINGBUFFER_CANNOT_BE_NULLThe FastStringBuffer argument can not be nullstatic StringXPATHErrorResources. ER_FEATURE_NAME_NULLstatic StringXPATHErrorResources. ER_FEATURE_UNKNOWNstatic StringXPATHErrorResources. ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARGstatic StringXPATHErrorResources. ER_FOUND_COMMA_BUT_NO_PRECEDING_ARGstatic StringXPATHErrorResources. ER_FSB_CANNOT_TAKE_STRINGXStringForFSB can not take a string for an argument!static StringXPATHErrorResources. ER_FSB_NOT_SUPPORTED_XSTRINGFORCHARSfsb() not supported for XStringForCharsstatic StringXPATHErrorResources. ER_FUNCTION_TOKEN_NOT_FOUNDstatic StringXPATHErrorResources. ER_GETTING_NULL_FEATUREstatic StringXPATHErrorResources. ER_GETTING_UNKNOWN_FEATUREstatic StringXPATHErrorResources. ER_IGNORABLE_WHITESPACE_NOT_HANDLEDstatic StringXPATHErrorResources. ER_ILLEGAL_AXIS_NAMEstatic StringXPATHErrorResources. ER_ILLEGAL_VARIABLE_REFERENCEstatic StringXPATHErrorResources. ER_INCOMPATIBLE_TYPESstatic StringXPATHErrorResources. ER_INCORRECT_ARG_LENGTHstatic StringXPATHErrorResources. ER_INCORRECT_PROGRAMMER_ASSERTIONstatic StringXPATHErrorResources. ER_INVALID_UTF16_SURROGATEstatic StringXPATHErrorResources. ER_INVALID_XPATH_TYPEstatic StringXPATHErrorResources. ER_KEY_HAS_TOO_MANY_ARGSstatic StringXPATHErrorResources. ER_LOCALNAME_HAS_TOO_MANY_ARGSstatic StringXPATHErrorResources. ER_NAME_HAS_TOO_MANY_ARGSstatic StringXPATHErrorResources. ER_NAMESPACEAXIS_NOT_IMPLEMENTEDstatic StringXPATHErrorResources. ER_NAMESPACEURI_HAS_TOO_MANY_ARGSstatic StringXPATHErrorResources. ER_NODESET_CANNOT_INDEXThis NodeSet can not do indexing or counting functions!static StringXPATHErrorResources. ER_NODESET_CANNOT_ITERATEThis NodeSet can not iterate to a previous node!static StringXPATHErrorResources. ER_NODESET_NOT_MUTABLEstatic StringXPATHErrorResources. ER_NODESETDTM_CANNOT_INDEXThis NodeSetDTM can not do indexing or counting functions!static StringXPATHErrorResources. ER_NODESETDTM_CANNOT_ITERATEThis NodeSetDTM can not iterate to a previous node!static StringXPATHErrorResources. ER_NODESETDTM_NOT_MUTABLEstatic StringXPATHErrorResources. ER_NON_ITERATOR_TYPEField ER_NON_ITERATOR_TYPEstatic StringXPATHErrorResources. ER_NON_SNAPSHOT_TYPEstatic StringXPATHErrorResources. ER_NORMALIZESPACE_HAS_TOO_MANY_ARGSstatic StringXPATHErrorResources. ER_NULL_ERROR_HANDLERNull error handlerstatic StringXPATHErrorResources. ER_NULL_RESOLVERstatic StringXPATHErrorResources. ER_NULL_XPATH_FUNCTION_RESOLVERstatic StringXPATHErrorResources. ER_NULL_XPATH_VARIABLE_RESOLVERstatic StringXPATHErrorResources. ER_NUM_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPERnum() not supported by XRTreeFragSelectWrapperstatic StringXPATHErrorResources. ER_NUMBER_HAS_TOO_MANY_ARGSstatic StringXPATHErrorResources. ER_OBJECT_MODEL_EMPTYstatic StringXPATHErrorResources. ER_OBJECT_MODEL_NULLstatic StringXPATHErrorResources. ER_OIERRORstatic StringXPATHErrorResources. ER_ONLY_ALLOWS{0} only allows {1} argumentsstatic StringXPATHErrorResources. ER_PARSE_NOT_SUPPORTEDstatic StringXPATHErrorResources. ER_PATTERN_LITERAL_NEEDS_BE_QUOTEDstatic StringXPATHErrorResources. ER_PREDICATE_ILLEGAL_SYNTAXstatic StringXPATHErrorResources. ER_PREFIX_MUST_RESOLVEstatic StringXPATHErrorResources. ER_PROBLEM_IN_DTM_NEXTSIBLINGstatic StringXPATHErrorResources. ER_PROG_ASSERT_UNKNOWN_OPCODEProgrammer's assertion: unknown opcodestatic StringXPATHErrorResources. ER_RESOLVE_VARIABLE_RETURNS_NULLstatic StringXPATHErrorResources. ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPERrtf() not supported by XRTreeFragSelectWrapperstatic StringXPATHErrorResources. ER_SAX_API_NOT_HANDLEDstatic StringXPATHErrorResources. ER_SETDOMFACTORY_NOT_SUPPORTEDstatic StringXPATHErrorResources. ER_SETTING_WALKER_ROOT_TO_NULLError! Setting the root of a walker to null!static StringXPATHErrorResources. ER_SOURCE_RETURN_TYPE_CANNOT_BE_NULLstatic StringXPATHErrorResources. ER_STR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPERstr() not supported by XRTreeFragSelectWrapperstatic StringXPATHErrorResources. ER_STRING_HAS_TOO_MANY_ARGSstatic StringXPATHErrorResources. ER_STRINGLENGTH_HAS_TOO_MANY_ARGSstatic StringXPATHErrorResources. ER_TRANSLATE_TAKES_3_ARGSstatic StringXPATHErrorResources. ER_TWO_OR_THREE2 or 3static StringXPATHErrorResources. ER_UNKNOWN_AXISstatic StringXPATHErrorResources. ER_UNKNOWN_MATCH_OPERATIONstatic StringXPATHErrorResources. ER_UNKNOWN_NODETYPEstatic StringXPATHErrorResources. ER_UNKNOWN_OPCODEstatic StringXPATHErrorResources. ER_UNKNOWN_STEPProgrammer's assertion in getNextStepPos: unknown stepType: {0}static StringXPATHErrorResources. ER_UNPARSEDENTITYURI_TAKES_1_ARGstatic StringXPATHErrorResources. ER_UNSUPPORTED_ENCODINGstatic StringXPATHErrorResources. ER_UNSUPPORTED_RETURN_TYPEstatic StringXPATHErrorResources. ER_VAR_NOT_RESOLVABLEVariable not resolvable:static StringXPATHErrorResources. ER_VARIABLE_ACCESSED_BEFORE_BINDVariable accessed before it is bound!static StringXPATHErrorResources. ER_WRONG_DOCUMENTstatic StringXPATHErrorResources. ER_WRONG_NODETYPEField ER_WRONG_NODETYPEstatic StringXPATHErrorResources. ER_XERCES_CANNOT_HANDLE_NODESstatic StringXPATHErrorResources. ER_XERCES_PARSE_ERRORstatic StringXPATHErrorResources. ER_XERCES_PARSE_ERROR_DETAILSstatic StringXPATHErrorResources. ER_XPATH_ERRORstatic StringXPATHErrorResources. ER_XPATH_READOBJECTstatic StringXPATHErrorResources. ER_XSTR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPERxstr() not supported by XRTreeFragSelectWrapperstatic StringXPATHErrorResources. ER_XSTRINGFORCHARS_CANNOT_TAKE_STRINGXStringForChars can not take a string for an argumentstatic StringXPATHErrorResources. ER_ZERO_OR_ONE0 or 1static StringXPATHErrorResources. ERROR_HEADERField ERROR_HEADERstatic StringXPATHErrorResources. ERROR_RESOURCESField ERROR_RESOURCESstatic StringXPATHErrorResources. ERROR_STRINGField ERROR_STRINGstatic StringXPATHErrorResources. ERROR0000static StringXPATHErrorResources. FORMAT_FAILEDField FORMAT_FAILEDstatic StringXPATHErrorResources. QUERY_HEADERField QUERY_HEADERstatic StringXPATHErrorResources. WARNING_HEADERField WARNING_HEADERstatic StringXPATHErrorResources. WG_CANNOT_MAKE_URL_FROMstatic StringXPATHErrorResources. WG_COULDNOT_FIND_FUNCTIONstatic StringXPATHErrorResources. WG_DONT_DO_ANYTHING_WITH_NSstatic StringXPATHErrorResources. WG_EXPAND_ENTITIES_NOT_SUPPORTEDstatic StringXPATHErrorResources. WG_FUNCTION_TOKEN_NOT_FOUNDstatic StringXPATHErrorResources. WG_ILLEGAL_VARIABLE_REFERENCEstatic StringXPATHErrorResources. WG_LOCALE_NAME_NOT_HANDLEDstatic StringXPATHErrorResources. WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETESTstatic StringXPATHErrorResources. WG_PROPERTY_NOT_SUPPORTEDstatic StringXPATHErrorResources. WG_QUO_NO_LONGER_DEFINEDstatic StringXPATHErrorResources. WG_SECURITY_EXCEPTIONstatic StringXPATHErrorResources. WG_UNSUPPORTED_ENCODINGstatic StringXPATHErrorResources. XML_HEADERField XML_HEADERstatic StringXPATHErrorResources. XSL_HEADERField XSL_HEADERMethods in org.apache.xpath.res that return String Modifier and Type Method Description static StringXPATHMessages. createXPATHMessage(String msgKey, Object[] args)Creates a message from the specified key and replacement arguments, localized to the given locale.static StringXPATHMessages. createXPATHMsg(ListResourceBundle fResourceBundle, String msgKey, Object[] args)Creates a message from the specified key and replacement arguments, localized to the given locale.static StringXPATHMessages. createXPATHWarning(String msgKey, Object[] args)Creates a message from the specified key and replacement arguments, localized to the given locale.Methods in org.apache.xpath.res with parameters of type String Modifier and Type Method Description static StringXPATHMessages. createXPATHMessage(String msgKey, Object[] args)Creates a message from the specified key and replacement arguments, localized to the given locale.static StringXPATHMessages. createXPATHMsg(ListResourceBundle fResourceBundle, String msgKey, Object[] args)Creates a message from the specified key and replacement arguments, localized to the given locale.static StringXPATHMessages. createXPATHWarning(String msgKey, Object[] args)Creates a message from the specified key and replacement arguments, localized to the given locale.static XPATHErrorResourcesXPATHErrorResources. loadResourceBundle(String className)Return a named ResourceBundle for a particular locale. -
Uses of String in org.bouncycastle.asn1
Fields in org.bouncycastle.asn1 declared as String Modifier and Type Field Description static StringASN1Encoding. BERstatic StringASN1Encoding. DERstatic StringASN1Encoding. DLMethods in org.bouncycastle.asn1 that return String Modifier and Type Method Description StringDERUTCTime. getAdjustedTime()return a time string as an adjusted date with a 4 digit year.StringDERObjectIdentifier. getId()StringASN1String. getString()StringDERBitString. getString()StringDERBMPString. getString()StringDERGeneralString. getString()StringDERIA5String. getString()StringDERNumericString. getString()StringDERPrintableString. getString()StringDERT61String. getString()Decode the encoded string and return it, 8 bit encoding assumed.StringDERUniversalString. getString()StringDERUTF8String. getString()StringDERVisibleString. getString()StringDERGeneralizedTime. getTime()return the time - always in the form of YYYYMMDDhhmmssGMT(+hh:mm|-hh:mm).StringDERUTCTime. getTime()return the time - always in the form of YYMMDDhhmmssGMT(+hh:mm|-hh:mm).StringDERGeneralizedTime. getTimeString()Return the time.StringOIDTokenizer. nextToken()StringASN1Null. toString()StringASN1OctetString. toString()StringASN1Sequence. toString()StringASN1Set. toString()StringASN1TaggedObject. toString()StringDERBitString. toString()StringDERBMPString. toString()StringDERBoolean. toString()StringDERGeneralString. toString()StringDERIA5String. toString()StringDERInteger. toString()StringDERNumericString. toString()StringDERObjectIdentifier. toString()StringDERPrintableString. toString()StringDERT61String. toString()StringDERUniversalString. toString()StringDERUTCTime. toString()StringDERUTF8String. toString()StringDERVisibleString. toString()Methods in org.bouncycastle.asn1 with parameters of type String Modifier and Type Method Description ASN1ObjectIdentifierASN1ObjectIdentifier. branch(String branchID)Return an OID that creates a branch under the current one.byte[]ASN1Object. getEncoded(String encoding)Return either the default for "BER" or a DER encoding if "DER" is specified.static booleanDERIA5String. isIA5String(String str)return true if the passed in String can be represented without loss as an IA5String, false otherwise.static booleanDERNumericString. isNumericString(String str)Return true if the string can be represented as a NumericString ('0'..'9', ' ')static booleanDERPrintableString. isPrintableString(String str)return true if the passed in String can be represented without loss as a PrintableString, false otherwise.Constructors in org.bouncycastle.asn1 with parameters of type String Constructor Description ASN1GeneralizedTime(String time)ASN1ObjectIdentifier(String identifier)ASN1ParsingException(String message)ASN1ParsingException(String message, Throwable cause)ASN1UTCTime(String time)DERBMPString(String string)basic constructorDERGeneralizedTime(String time)The correct format for this is YYYYMMDDHHMMSS[.f]Z, or without the Z for local time, or Z+-HHMM on the end, for difference between local time and UTC time.DERGeneralString(String string)DERIA5String(String string)basic constructor - without validation.DERIA5String(String string, boolean validate)Constructor with optional validation.DERNumericString(String string)basic constructor - without validation..DERNumericString(String string, boolean validate)Constructor with optional validation.DERObjectIdentifier(String identifier)DERPrintableString(String string)basic constructor - this does not validate the stringDERPrintableString(String string, boolean validate)Constructor with optional validation.DERT61String(String string)basic constructor - with string 8 bit assumed.DERUTCTime(String time)The correct format for this is YYMMDDHHMMSSZ (it used to be that seconds were never encoded.DERUTF8String(String string)basic constructorDERVisibleString(String string)basic constructorOIDTokenizer(String oid) -
Uses of String in org.bouncycastle.asn1.cms
Methods in org.bouncycastle.asn1.cms that return String Modifier and Type Method Description StringTime. getTime() -
Uses of String in org.bouncycastle.asn1.misc
-
Uses of String in org.bouncycastle.asn1.nist
Methods in org.bouncycastle.asn1.nist that return String Modifier and Type Method Description static StringNISTNamedCurves. getName(ASN1ObjectIdentifier oid)return the named curve name represented by the given object identifier.Methods in org.bouncycastle.asn1.nist with parameters of type String Modifier and Type Method Description static X9ECParametersNISTNamedCurves. getByName(String name)static ASN1ObjectIdentifierNISTNamedCurves. getOID(String name)return the object identifier signified by the passed in name. -
Uses of String in org.bouncycastle.asn1.pkcs
-
Uses of String in org.bouncycastle.asn1.sec
Methods in org.bouncycastle.asn1.sec that return String Modifier and Type Method Description static StringSECNamedCurves. getName(ASN1ObjectIdentifier oid)return the named curve name represented by the given object identifier.Methods in org.bouncycastle.asn1.sec with parameters of type String Modifier and Type Method Description static X9ECParametersSECNamedCurves. getByName(String name)static ASN1ObjectIdentifierSECNamedCurves. getOID(String name)return the object identifier signified by the passed in name. -
Uses of String in org.bouncycastle.asn1.util
Methods in org.bouncycastle.asn1.util that return String Modifier and Type Method Description static StringASN1Dump. dumpAsString(Object obj)dump out a DER object as a formatted string, in non-verbose mode.static StringASN1Dump. dumpAsString(Object obj, boolean verbose)Dump out the object as a string. -
Uses of String in org.bouncycastle.asn1.x500
Methods in org.bouncycastle.asn1.x500 that return String Modifier and Type Method Description StringDirectoryString. getString()String[]X500NameStyle. oidToAttrNames(ASN1ObjectIdentifier oid)Return the acceptable names in a String DN that map to OID.StringX500NameStyle. oidToDisplayName(ASN1ObjectIdentifier oid)Return the display name for toString() associated with the OID.StringDirectoryString. toString()StringX500Name. toString()StringX500NameStyle. toString(X500Name name)Convert the passed in X500Name to a String.Methods in org.bouncycastle.asn1.x500 with parameters of type String Modifier and Type Method Description X500NameBuilderX500NameBuilder. addMultiValuedRDN(ASN1ObjectIdentifier[] oids, String[] values)X500NameBuilderX500NameBuilder. addRDN(ASN1ObjectIdentifier oid, String value)ASN1ObjectIdentifierX500NameStyle. attrNameToOID(String attrName)Return the OID associated with the passed in name.RDN[]X500NameStyle. fromString(String dirName)Return an array of RDN generated from the passed in String.ASN1EncodableX500NameStyle. stringToValue(ASN1ObjectIdentifier oid, String value)Convert the passed in String value into the appropriate ASN.1 encoded object.Constructors in org.bouncycastle.asn1.x500 with parameters of type String Constructor Description DirectoryString(String string)X500Name(String dirName)X500Name(X500NameStyle style, String dirName) -
Uses of String in org.bouncycastle.asn1.x500.style
Methods in org.bouncycastle.asn1.x500.style that return String Modifier and Type Method Description static StringIETFUtils. canonicalize(String s)static String[]IETFUtils. findAttrNamesForOID(ASN1ObjectIdentifier oid, Hashtable lookup)String[]BCStyle. oidToAttrNames(ASN1ObjectIdentifier oid)String[]RFC4519Style. oidToAttrNames(ASN1ObjectIdentifier oid)StringBCStyle. oidToDisplayName(ASN1ObjectIdentifier oid)StringRFC4519Style. oidToDisplayName(ASN1ObjectIdentifier oid)static StringIETFUtils. stripInternalSpaces(String str)StringBCStyle. toString(X500Name name)StringRFC4519Style. toString(X500Name name)static StringIETFUtils. valueToString(ASN1Encodable value)Methods in org.bouncycastle.asn1.x500.style with parameters of type String Modifier and Type Method Description ASN1ObjectIdentifierBCStyle. attrNameToOID(String attrName)ASN1ObjectIdentifierRFC4519Style. attrNameToOID(String attrName)static StringIETFUtils. canonicalize(String s)static ASN1ObjectIdentifierIETFUtils. decodeAttrName(String name, Hashtable lookUp)RDN[]BCStyle. fromString(String dirName)RDN[]RFC4519Style. fromString(String dirName)static RDN[]IETFUtils. rDNsFromString(String name, X500NameStyle x500Style)ASN1EncodableBCStyle. stringToValue(ASN1ObjectIdentifier oid, String value)ASN1EncodableRFC4519Style. stringToValue(ASN1ObjectIdentifier oid, String value)static StringIETFUtils. stripInternalSpaces(String str)static ASN1EncodableIETFUtils. valueFromHexString(String str, int off) -
Uses of String in org.bouncycastle.asn1.x509
Fields in org.bouncycastle.asn1.x509 declared as String Modifier and Type Field Description static StringX509ObjectIdentifiers. idMethods in org.bouncycastle.asn1.x509 that return String Modifier and Type Method Description StringKeyPurposeId. getId()StringTime. getTime()StringX509NameTokenizer. nextToken()Deprecated.StringAuthorityKeyIdentifier. toString()StringBasicConstraints. toString()StringCRLDistPoint. toString()StringCRLNumber. toString()StringCRLReason. toString()StringDistributionPoint. toString()StringDistributionPointName. toString()StringGeneralName. toString()StringGeneralNames. toString()StringIssuingDistributionPoint. toString()StringKeyUsage. toString()StringTime. toString()StringX509Name. toString()Deprecated.StringX509Name. toString(boolean reverse, Hashtable oidSymbols)Deprecated.convert the structure to a string - if reverse is true the oids and values are listed out starting with the last element in the sequence (ala RFC 2253), otherwise the string will begin with the first element of the structure.Methods in org.bouncycastle.asn1.x509 with parameters of type String Modifier and Type Method Description protected booleanX509NameEntryConverter. canBePrintable(String str)return true if the passed in String can be represented without loss as a PrintableString, false otherwise.protected ASN1PrimitiveX509NameEntryConverter. convertHexEncoded(String str, int off)Convert an inline encoded hex string rendition of an ASN.1 object back into its corresponding ASN.1 object.ASN1PrimitiveX509DefaultEntryConverter. getConvertedValue(ASN1ObjectIdentifier oid, String value)Apply default coversion for the given value depending on the oid and the character range of the value.abstract ASN1PrimitiveX509NameEntryConverter. getConvertedValue(ASN1ObjectIdentifier oid, String value)Convert the passed in String value into the appropriate ASN.1 encoded object.Constructors in org.bouncycastle.asn1.x509 with parameters of type String Constructor Description AlgorithmIdentifier(String objectId)Deprecated.use ASN1ObjectIdentifierGeneralName(int tag, String name)Create a GeneralName for the given tag from the passed in String.KeyPurposeId(String id)Deprecated.use getInstance and an OID or one of the constants above.X509Name(boolean reverse, String dirName)Deprecated.use X500Name, X500NameBuilderX509Name(boolean reverse, String dirName, X509NameEntryConverter converter)Deprecated.use X500Name, X500NameBuilderX509Name(boolean reverse, Hashtable lookUp, String dirName)Deprecated.use X500Name, X500NameBuilderX509Name(boolean reverse, Hashtable lookUp, String dirName, X509NameEntryConverter converter)Deprecated.Takes an X509 dir name as a string of the format "C=AU, ST=Victoria", or some such, converting it into an ordered set of name attributes.X509Name(String dirName)Deprecated.use X500Name, X500NameBuilderX509Name(String dirName, X509NameEntryConverter converter)Deprecated.use X500Name, X500NameBuilderX509NameTokenizer(String oid)Deprecated.X509NameTokenizer(String oid, char separator)Deprecated. -
Uses of String in org.bouncycastle.asn1.x9
Methods in org.bouncycastle.asn1.x9 that return String Modifier and Type Method Description static StringX962NamedCurves. getName(ASN1ObjectIdentifier oid)return the named curve name represented by the given object identifier.Methods in org.bouncycastle.asn1.x9 with parameters of type String Modifier and Type Method Description static X9ECParametersX962NamedCurves. getByName(String name)static ASN1ObjectIdentifierX962NamedCurves. getOID(String name)return the object identifier signified by the passed in name. -
Uses of String in org.bouncycastle.cert
Constructors in org.bouncycastle.cert with parameters of type String Constructor Description CertException(String msg)CertException(String msg, Throwable cause)CertIOException(String msg)CertIOException(String msg, Throwable cause) -
Uses of String in org.bouncycastle.cms
Fields in org.bouncycastle.cms declared as String Modifier and Type Field Description static StringCMSAttributeTableGenerator. CONTENT_TYPEstatic StringCMSSignedGenerator. DATADefault type for the signed data.static StringCMSAttributeTableGenerator. DIGESTstatic StringCMSAttributeTableGenerator. DIGEST_ALGORITHM_IDENTIFIERstatic StringCMSSignedGenerator. DIGEST_MD5static StringCMSSignedGenerator. DIGEST_SHA1static StringCMSSignedGenerator. DIGEST_SHA256static StringCMSSignedGenerator. DIGEST_SHA384static StringCMSSignedGenerator. DIGEST_SHA512static StringCMSSignedGenerator. ENCRYPTION_DSAstatic StringCMSSignedGenerator. ENCRYPTION_ECDSAstatic StringCMSSignedGenerator. ENCRYPTION_RSAstatic StringCMSSignedGenerator. ENCRYPTION_RSA_PSSstatic StringCMSAttributeTableGenerator. SIGNATUREMethods in org.bouncycastle.cms that return String Modifier and Type Method Description StringSignerInformation. getDigestAlgOID()return the object identifier for the signature.protected StringCMSSignedGenerator. getEncOID(PrivateKey key, String digestOID)StringSignerInformation. getEncryptionAlgOID()return the object identifier for the signature.StringCMSSignatureAlgorithmNameGenerator. getSignatureName(AlgorithmIdentifier digestAlg, AlgorithmIdentifier encryptionAlg)Return the digest algorithm using one of the standard string representations rather than the algorithm object identifier (if possible).StringDefaultCMSSignatureAlgorithmNameGenerator. getSignatureName(AlgorithmIdentifier digestAlg, AlgorithmIdentifier encryptionAlg)StringCMSSignedData. getSignedContentTypeOID()Return the a string representation of the OID associated with the encapsulated content info structure carried in the signed data.Methods in org.bouncycastle.cms with parameters of type String Modifier and Type Method Description voidCMSSignedDataGenerator. addSigner(PrivateKey key, byte[] subjectKeyID, String digestOID)Deprecated.use addSignerInfoGeneratorvoidCMSSignedDataGenerator. addSigner(PrivateKey key, byte[] subjectKeyID, String encryptionOID, String digestOID)Deprecated.use addSignerInfoGeneratorvoidCMSSignedDataGenerator. addSigner(PrivateKey key, byte[] subjectKeyID, String encryptionOID, String digestOID, AttributeTable signedAttr, AttributeTable unsignedAttr)Deprecated.use addSignerInfoGeneratorvoidCMSSignedDataGenerator. addSigner(PrivateKey key, byte[] subjectKeyID, String encryptionOID, String digestOID, CMSAttributeTableGenerator signedAttrGen, CMSAttributeTableGenerator unsignedAttrGen)Deprecated.use addSignerInfoGeneratorvoidCMSSignedDataGenerator. addSigner(PrivateKey key, byte[] subjectKeyID, String digestOID, AttributeTable signedAttr, AttributeTable unsignedAttr)Deprecated.use addSignerInfoGeneratorvoidCMSSignedDataGenerator. addSigner(PrivateKey key, byte[] subjectKeyID, String digestOID, CMSAttributeTableGenerator signedAttrGen, CMSAttributeTableGenerator unsignedAttrGen)Deprecated.use addSignerInfoGeneratorvoidCMSSignedDataGenerator. addSigner(PrivateKey key, X509Certificate cert, String digestOID)Deprecated.use addSignerInfoGeneratorvoidCMSSignedDataGenerator. addSigner(PrivateKey key, X509Certificate cert, String encryptionOID, String digestOID)Deprecated.use addSignerInfoGeneratorvoidCMSSignedDataGenerator. addSigner(PrivateKey key, X509Certificate cert, String encryptionOID, String digestOID, AttributeTable signedAttr, AttributeTable unsignedAttr)Deprecated.use addSignerInfoGeneratorvoidCMSSignedDataGenerator. addSigner(PrivateKey key, X509Certificate cert, String encryptionOID, String digestOID, CMSAttributeTableGenerator signedAttrGen, CMSAttributeTableGenerator unsignedAttrGen)Deprecated.use addSignerInfoGeneratorvoidCMSSignedDataGenerator. addSigner(PrivateKey key, X509Certificate cert, String digestOID, AttributeTable signedAttr, AttributeTable unsignedAttr)Deprecated.use addSignerInfoGeneratorvoidCMSSignedDataGenerator. addSigner(PrivateKey key, X509Certificate cert, String digestOID, CMSAttributeTableGenerator signedAttrGen, CMSAttributeTableGenerator unsignedAttrGen)Deprecated.use addSignerInfoGeneratorCMSSignedDataCMSSignedDataGenerator. generate(String eContentType, CMSProcessable content, boolean encapsulate, String sigProvider)Deprecated.use generate(CMSTypedData, boolean)CMSSignedDataCMSSignedDataGenerator. generate(String eContentType, CMSProcessable content, boolean encapsulate, String sigProvider, boolean addDefaultAttributes)Deprecated.use generate(CMSTypedData, boolean)CMSSignedDataCMSSignedDataGenerator. generate(String eContentType, CMSProcessable content, boolean encapsulate, Provider sigProvider)Deprecated.use generate(CMSTypedData, boolean)CMSSignedDataCMSSignedDataGenerator. generate(String eContentType, CMSProcessable content, boolean encapsulate, Provider sigProvider, boolean addDefaultAttributes)Deprecated.use setDirectSignature() on SignerInformationGenerator.CMSSignedDataCMSSignedDataGenerator. generate(CMSProcessable content, boolean encapsulate, String sigProvider)Deprecated.use generate(CMSTypedData, boolean)CMSSignedDataCMSSignedDataGenerator. generate(CMSProcessable content, String sigProvider)Deprecated.use generate() method not taking provider.SignerInformationStoreCMSSignedDataGenerator. generateCounterSigners(SignerInformation signer, String sigProvider)Deprecated.use generateCounterSigners(SignerInformation)X509StoreCMSSignedData. getAttributeCertificates(String type, String provider)Deprecated.use base Store returning methodX509StoreCMSSignedData. getAttributeCertificates(String type, Provider provider)Deprecated.use base Store returning methodprotected StringCMSSignedGenerator. getEncOID(PrivateKey key, String digestOID)protected voidDefaultCMSSignatureAlgorithmNameGenerator. setSigningDigestAlgorithmMapping(ASN1ObjectIdentifier oid, String algorithmName)Set the mapping for the digest algorithm to use in conjunction with a SignedData generation or interpretation.protected voidDefaultCMSSignatureAlgorithmNameGenerator. setSigningEncryptionAlgorithmMapping(ASN1ObjectIdentifier oid, String algorithmName)Set the mapping for the encryption algorithm used in association with a SignedData generation or interpretation.booleanSignerInformation. verify(X509Certificate cert, String sigProvider)Deprecated.use verify(ContentVerifierProvider)booleanSignerInformation. verify(PublicKey key, String sigProvider)Deprecated.use verify(ContentVerifierProvider)Constructors in org.bouncycastle.cms with parameters of type String Constructor Description CMSAttributeTableGenerationException(String name)CMSAttributeTableGenerationException(String name, Exception e)CMSException(String msg)CMSException(String msg, Exception e)CMSRuntimeException(String name)CMSRuntimeException(String name, Exception e)CMSSignerDigestMismatchException(String msg)CMSVerifierCertificateNotValidException(String msg) -
Uses of String in org.bouncycastle.cms.jcajce
Methods in org.bouncycastle.cms.jcajce with parameters of type String Modifier and Type Method Description JcaSignerInfoVerifierBuilderJcaSignerInfoVerifierBuilder. setProvider(String providerName)JcaSimpleSignerInfoVerifierBuilderJcaSimpleSignerInfoVerifierBuilder. setProvider(String providerName) -
Uses of String in org.bouncycastle.crypto
Methods in org.bouncycastle.crypto that return String Modifier and Type Method Description StringBlockCipher. getAlgorithmName()Return the name of the algorithm the cipher implements.StringDigest. getAlgorithmName()return the algorithm nameStringMac. getAlgorithmName()Return the name of the algorithm the MAC implements.StringStreamBlockCipher. getAlgorithmName()return the name of the algorithm we are wrapping.StringStreamCipher. getAlgorithmName()Return the name of the algorithm the cipher implements.StringWrapper. getAlgorithmName()Return the name of the algorithm the wrapper implements.Constructors in org.bouncycastle.crypto with parameters of type String Constructor Description CryptoException(String message)create a CryptoException with the given message.CryptoException(String message, Throwable cause)Create a CryptoException with the given message and underlying cause.DataLengthException(String message)create a DataLengthException with the given message.InvalidCipherTextException(String message)create a InvalidCipherTextException with the given message.InvalidCipherTextException(String message, Throwable cause)create a InvalidCipherTextException with the given message.OutputLengthException(String msg)RuntimeCryptoException(String message)create a RuntimeCryptoException with the given message. -
Uses of String in org.bouncycastle.crypto.digests
Methods in org.bouncycastle.crypto.digests that return String Modifier and Type Method Description StringMD5Digest. getAlgorithmName()StringNullDigest. getAlgorithmName()StringOpenSSLDigest. getAlgorithmName()StringSHA1Digest. getAlgorithmName()StringSHA256Digest. getAlgorithmName()StringSHA384Digest. getAlgorithmName()StringSHA512Digest. getAlgorithmName() -
Uses of String in org.bouncycastle.crypto.encodings
Fields in org.bouncycastle.crypto.encodings declared as String Modifier and Type Field Description static StringPKCS1Encoding. STRICT_LENGTH_ENABLED_PROPERTYsome providers fail to include the leading zero in PKCS1 encoded blocks. -
Uses of String in org.bouncycastle.crypto.engines
Methods in org.bouncycastle.crypto.engines that return String Modifier and Type Method Description StringAESEngine. getAlgorithmName()StringAESFastEngine. getAlgorithmName()StringBlowfishEngine. getAlgorithmName()StringDESedeEngine. getAlgorithmName()StringDESedeWrapEngine. getAlgorithmName()Method getAlgorithmNameStringDESEngine. getAlgorithmName()StringRC2Engine. getAlgorithmName()StringRC4Engine. getAlgorithmName()StringRFC3394WrapEngine. getAlgorithmName()StringTwofishEngine. getAlgorithmName() -
Uses of String in org.bouncycastle.crypto.macs
Methods in org.bouncycastle.crypto.macs that return String Modifier and Type Method Description StringCBCBlockCipherMac. getAlgorithmName()StringHMac. getAlgorithmName() -
Uses of String in org.bouncycastle.crypto.modes
Methods in org.bouncycastle.crypto.modes that return String Modifier and Type Method Description StringAEADBlockCipher. getAlgorithmName()Return the name of the algorithm.StringCBCBlockCipher. getAlgorithmName()return the algorithm name and mode.StringCCMBlockCipher. getAlgorithmName()StringCFBBlockCipher. getAlgorithmName()return the algorithm name and mode.StringGCMBlockCipher. getAlgorithmName()StringOFBBlockCipher. getAlgorithmName()return the algorithm name and mode.StringSICBlockCipher. getAlgorithmName() -
Uses of String in org.bouncycastle.crypto.paddings
Methods in org.bouncycastle.crypto.paddings that return String Modifier and Type Method Description StringBlockCipherPadding. getPaddingName()Return the name of the algorithm the cipher implements.StringISO10126d2Padding. getPaddingName()Return the name of the algorithm the padder implements.StringISO7816d4Padding. getPaddingName()Return the name of the algorithm the padder implements.StringPKCS7Padding. getPaddingName()Return the name of the algorithm the padder implements.StringTBCPadding. getPaddingName()Return the name of the algorithm the padder implements.StringX923Padding. getPaddingName()Return the name of the algorithm the padder implements.StringZeroBytePadding. getPaddingName()Return the name of the algorithm the padder implements. -
Uses of String in org.bouncycastle.crypto.signers
Methods in org.bouncycastle.crypto.signers that return String Modifier and Type Method Description StringRSADigestSigner. getAlgorithmName()Deprecated. -
Uses of String in org.bouncycastle.jcajce
Fields in org.bouncycastle.jcajce declared as String Modifier and Type Field Description protected StringNamedJcaJceHelper. providerNameConstructors in org.bouncycastle.jcajce with parameters of type String Constructor Description NamedJcaJceHelper(String providerName) -
Uses of String in org.bouncycastle.jcajce.provider.asymmetric.dh
Methods in org.bouncycastle.jcajce.provider.asymmetric.dh that return String Modifier and Type Method Description protected StringAlgorithmParametersSpi. engineToString()StringBCDHPrivateKey. getAlgorithm()StringBCDHPublicKey. getAlgorithm()StringBCDHPrivateKey. getFormat()return the encoding format we produce in getEncoded().StringBCDHPublicKey. getFormat()Methods in org.bouncycastle.jcajce.provider.asymmetric.dh with parameters of type String Modifier and Type Method Description protected SecretKeyKeyAgreementSpi. engineGenerateSecret(String algorithm)protected byte[]AlgorithmParametersSpi. engineGetEncoded(String format)protected voidAlgorithmParametersSpi. engineInit(byte[] params, String format)protected booleanAlgorithmParametersSpi. isASN1FormatString(String format) -
Uses of String in org.bouncycastle.jcajce.provider.asymmetric.dsa
Methods in org.bouncycastle.jcajce.provider.asymmetric.dsa that return String Modifier and Type Method Description protected StringAlgorithmParametersSpi. engineToString()StringBCDSAPrivateKey. getAlgorithm()StringBCDSAPublicKey. getAlgorithm()StringBCDSAPrivateKey. getFormat()return the encoding format we produce in getEncoded().StringBCDSAPublicKey. getFormat()StringBCDSAPublicKey. toString()Methods in org.bouncycastle.jcajce.provider.asymmetric.dsa with parameters of type String Modifier and Type Method Description protected byte[]AlgorithmParametersSpi. engineGetEncoded(String format)protected ObjectDSASigner. engineGetParameter(String param)Deprecated.protected voidAlgorithmParametersSpi. engineInit(byte[] params, String format)protected voidDSASigner. engineSetParameter(String param, Object value)protected booleanAlgorithmParametersSpi. isASN1FormatString(String format) -
Uses of String in org.bouncycastle.jcajce.provider.asymmetric.ec
Methods in org.bouncycastle.jcajce.provider.asymmetric.ec that return String Modifier and Type Method Description StringBCECPrivateKey. getAlgorithm()StringBCECPublicKey. getAlgorithm()StringBCECPrivateKey. getFormat()return the encoding format we produce in getEncoded().StringBCECPublicKey. getFormat()StringBCECPrivateKey. toString()StringBCECPublicKey. toString()Methods in org.bouncycastle.jcajce.provider.asymmetric.ec with parameters of type String Modifier and Type Method Description protected SecretKeyKeyAgreementSpi. engineGenerateSecret(String algorithm)voidBCECPrivateKey. setPointFormat(String style)voidBCECPublicKey. setPointFormat(String style) -
Uses of String in org.bouncycastle.jcajce.provider.asymmetric.rsa
Methods in org.bouncycastle.jcajce.provider.asymmetric.rsa that return String Modifier and Type Method Description protected StringAlgorithmParametersSpi.OAEP. engineToString()protected StringAlgorithmParametersSpi.PSS. engineToString()StringBCRSAPrivateKey. getAlgorithm()StringBCRSAPublicKey. getAlgorithm()StringBCRSAPrivateCrtKey. getFormat()return the encoding format we produce in getEncoded().StringBCRSAPrivateKey. getFormat()StringBCRSAPublicKey. getFormat()StringBCRSAPrivateCrtKey. toString()StringBCRSAPublicKey. toString()Methods in org.bouncycastle.jcajce.provider.asymmetric.rsa with parameters of type String Modifier and Type Method Description protected byte[]AlgorithmParametersSpi.OAEP. engineGetEncoded(String format)protected byte[]AlgorithmParametersSpi.PSS. engineGetEncoded(String format)protected ObjectDigestSignatureSpi. engineGetParameter(String param)Deprecated.protected voidAlgorithmParametersSpi.OAEP. engineInit(byte[] params, String format)protected voidAlgorithmParametersSpi.PSS. engineInit(byte[] params, String format)protected voidCipherSpi. engineSetMode(String mode)protected voidCipherSpi. engineSetPadding(String padding)protected voidDigestSignatureSpi. engineSetParameter(String param, Object value)protected booleanAlgorithmParametersSpi. isASN1FormatString(String format)Constructors in org.bouncycastle.jcajce.provider.asymmetric.rsa with parameters of type String Constructor Description KeyPairGeneratorSpi(String algorithmName) -
Uses of String in org.bouncycastle.jcajce.provider.asymmetric.util
Methods in org.bouncycastle.jcajce.provider.asymmetric.util that return String Modifier and Type Method Description static StringECUtil. getCurveName(ASN1ObjectIdentifier oid)Methods in org.bouncycastle.jcajce.provider.asymmetric.util with parameters of type String Modifier and Type Method Description protected ObjectDSABase. engineGetParameter(String param)Deprecated.protected voidBaseCipherSpi. engineSetMode(String mode)protected voidBaseCipherSpi. engineSetPadding(String padding)protected voidDSABase. engineSetParameter(String param, Object value)protected KeyBaseCipherSpi. engineUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, int wrappedKeyType)static ASN1ObjectIdentifierECUtil. getNamedCurveOid(String name)Constructors in org.bouncycastle.jcajce.provider.asymmetric.util with parameters of type String Constructor Description ExtendedInvalidKeySpecException(String msg, Throwable cause) -
Uses of String in org.bouncycastle.jcajce.provider.asymmetric.x509
Methods in org.bouncycastle.jcajce.provider.asymmetric.x509 with parameters of type String Modifier and Type Method Description CertPathCertificateFactory. engineGenerateCertPath(InputStream inStream, String encoding)byte[]PKIXCertPath. getEncoded(String encoding)Returns the encoded form of this certification path, using the specified encoding. -
Uses of String in org.bouncycastle.jcajce.provider.config
Fields in org.bouncycastle.jcajce.provider.config declared as String Modifier and Type Field Description static StringConfigurableProvider. DH_DEFAULT_PARAMSDiffie-Hellman Default Parameters - VM wide versionstatic StringConfigurableProvider. EC_IMPLICITLY_CAElliptic Curve CA parameters - thread local versionstatic StringConfigurableProvider. THREAD_LOCAL_DH_DEFAULT_PARAMSDiffie-Hellman Default Parameters - thread local versionstatic StringConfigurableProvider. THREAD_LOCAL_EC_IMPLICITLY_CAElliptic Curve CA parameters - thread local versionMethods in org.bouncycastle.jcajce.provider.config that return String Modifier and Type Method Description StringProviderConfigurationPermission. getActions()Methods in org.bouncycastle.jcajce.provider.config with parameters of type String Modifier and Type Method Description voidConfigurableProvider. addAlgorithm(String key, String value)booleanConfigurableProvider. hasAlgorithm(String type, String name)voidConfigurableProvider. setParameter(String parameterName, Object parameter)Constructors in org.bouncycastle.jcajce.provider.config with parameters of type String Constructor Description ProviderConfigurationPermission(String name)ProviderConfigurationPermission(String name, String actions) -
Uses of String in org.bouncycastle.jcajce.provider.digest
Constructors in org.bouncycastle.jcajce.provider.digest with parameters of type String Constructor Description BasePBKDF2WithHmacSHA1(String name, int scheme) -
Uses of String in org.bouncycastle.jcajce.provider.keystore.bc
Methods in org.bouncycastle.jcajce.provider.keystore.bc that return String Modifier and Type Method Description StringBcKeyStoreSpi. engineGetCertificateAlias(Certificate cert)Methods in org.bouncycastle.jcajce.provider.keystore.bc with parameters of type String Modifier and Type Method Description booleanBcKeyStoreSpi. engineContainsAlias(String alias)voidBcKeyStoreSpi. engineDeleteEntry(String alias)CertificateBcKeyStoreSpi. engineGetCertificate(String alias)Certificate[]BcKeyStoreSpi. engineGetCertificateChain(String alias)DateBcKeyStoreSpi. engineGetCreationDate(String alias)KeyBcKeyStoreSpi. engineGetKey(String alias, char[] password)booleanBcKeyStoreSpi. engineIsCertificateEntry(String alias)booleanBcKeyStoreSpi. engineIsKeyEntry(String alias)voidBcKeyStoreSpi. engineSetCertificateEntry(String alias, Certificate cert)voidBcKeyStoreSpi. engineSetKeyEntry(String alias, byte[] key, Certificate[] chain)voidBcKeyStoreSpi. engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain)protected CipherBcKeyStoreSpi. makePBECipher(String algorithm, int mode, char[] password, byte[] salt, int iterationCount) -
Uses of String in org.bouncycastle.jcajce.provider.keystore.pkcs12
Methods in org.bouncycastle.jcajce.provider.keystore.pkcs12 that return String Modifier and Type Method Description StringPKCS12KeyStoreSpi. engineGetCertificateAlias(Certificate cert)Methods in org.bouncycastle.jcajce.provider.keystore.pkcs12 with parameters of type String Modifier and Type Method Description booleanPKCS12KeyStoreSpi. engineContainsAlias(String alias)voidPKCS12KeyStoreSpi. engineDeleteEntry(String alias)this is not quite complete - we should follow up on the chain, a bit tricky if a certificate appears in more than one chain...CertificatePKCS12KeyStoreSpi. engineGetCertificate(String alias)simply return the cert for the private keyCertificate[]PKCS12KeyStoreSpi. engineGetCertificateChain(String alias)DatePKCS12KeyStoreSpi. engineGetCreationDate(String alias)KeyPKCS12KeyStoreSpi. engineGetKey(String alias, char[] password)booleanPKCS12KeyStoreSpi. engineIsCertificateEntry(String alias)booleanPKCS12KeyStoreSpi. engineIsKeyEntry(String alias)voidPKCS12KeyStoreSpi. engineSetCertificateEntry(String alias, Certificate cert)voidPKCS12KeyStoreSpi. engineSetKeyEntry(String alias, byte[] key, Certificate[] chain)voidPKCS12KeyStoreSpi. engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain)protected byte[]PKCS12KeyStoreSpi. wrapKey(String algorithm, Key key, PKCS12PBEParams pbeParams, char[] password) -
Uses of String in org.bouncycastle.jcajce.provider.symmetric
Methods in org.bouncycastle.jcajce.provider.symmetric that return String Modifier and Type Method Description protected StringAES.AlgParams. engineToString()protected StringBlowfish.AlgParams. engineToString()protected StringPBEPKCS12.AlgParams. engineToString()Methods in org.bouncycastle.jcajce.provider.symmetric with parameters of type String Modifier and Type Method Description protected byte[]PBEPKCS12.AlgParams. engineGetEncoded(String format)protected voidPBEPKCS12.AlgParams. engineInit(byte[] params, String format)Constructors in org.bouncycastle.jcajce.provider.symmetric with parameters of type String Constructor Description DESPBEKeyFactory(String algorithm, ASN1ObjectIdentifier oid, boolean forCipher, int scheme, int digest, int keySize, int ivSize) -
Uses of String in org.bouncycastle.jcajce.provider.symmetric.util
Fields in org.bouncycastle.jcajce.provider.symmetric.util declared as String Modifier and Type Field Description protected StringBaseKeyGenerator. algNameprotected StringBaseSecretKeyFactory. algNameMethods in org.bouncycastle.jcajce.provider.symmetric.util that return String Modifier and Type Method Description protected StringIvAlgorithmParameters. engineToString()StringBCPBEKey. getAlgorithm()StringBCPBEKey. getFormat()Methods in org.bouncycastle.jcajce.provider.symmetric.util with parameters of type String Modifier and Type Method Description protected byte[]IvAlgorithmParameters. engineGetEncoded(String format)protected voidIvAlgorithmParameters. engineInit(byte[] params, String format)protected voidBaseBlockCipher. engineSetMode(String mode)protected voidBaseStreamCipher. engineSetMode(String mode)should never be called.protected voidBaseWrapCipher. engineSetMode(String mode)protected voidBaseBlockCipher. engineSetPadding(String padding)protected voidBaseStreamCipher. engineSetPadding(String padding)should never be called.protected voidBaseWrapCipher. engineSetPadding(String padding)protected KeyBaseWrapCipher. engineUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, int wrappedKeyType)protected booleanBaseAlgorithmParameters. isASN1FormatString(String format)static CipherParametersPBE.Util. makePBEParameters(BCPBEKey pbeKey, AlgorithmParameterSpec spec, String targetAlgorithm)construct a key and iv (if necessary) suitable for use with a Cipher.Constructors in org.bouncycastle.jcajce.provider.symmetric.util with parameters of type String Constructor Description BaseKeyGenerator(String algName, int defaultKeySize, CipherKeyGenerator engine)BaseSecretKeyFactory(String algName, ASN1ObjectIdentifier algOid)BCPBEKey(String algorithm, ASN1ObjectIdentifier oid, int type, int digest, int keySize, int ivSize, PBEKeySpec pbeKeySpec, CipherParameters param)PBESecretKeyFactory(String algorithm, ASN1ObjectIdentifier oid, boolean forCipher, int scheme, int digest, int keySize, int ivSize) -
Uses of String in org.bouncycastle.jcajce.provider.util
Methods in org.bouncycastle.jcajce.provider.util with parameters of type String Modifier and Type Method Description protected voidAsymmetricAlgorithmProvider. addSignatureAlgorithm(ConfigurableProvider provider, String digest, String algorithm, String className, ASN1ObjectIdentifier oid)static DigestDigestFactory. getDigest(String digestName)static ASN1ObjectIdentifierDigestFactory. getOID(String digestName)static booleanDigestFactory. isSameDigest(String digest1, String digest2)protected voidAsymmetricAlgorithmProvider. registerOid(ConfigurableProvider provider, ASN1ObjectIdentifier oid, String name, AsymmetricKeyInfoConverter keyFactory)protected voidAsymmetricAlgorithmProvider. registerOidAlgorithmParameters(ConfigurableProvider provider, ASN1ObjectIdentifier oid, String name) -
Uses of String in org.bouncycastle.jce
Methods in org.bouncycastle.jce that return String Modifier and Type Method Description StringX509Principal. getName()Methods in org.bouncycastle.jce with parameters of type String Modifier and Type Method Description PublicKeyPKCS10CertificationRequest. getPublicKey(String provider)Deprecated.booleanPKCS10CertificationRequest. verify(String provider)Deprecated.verify the request using the passed in provider.booleanPKCS10CertificationRequest. verify(PublicKey pubKey, String provider)Deprecated.verify the request using the passed in public key and the provider..Constructors in org.bouncycastle.jce with parameters of type String Constructor Description PKCS10CertificationRequest(String signatureAlgorithm, X500Principal subject, PublicKey key, ASN1Set attributes, PrivateKey signingKey)Deprecated.create a PKCS10 certfication request using the BC provider.PKCS10CertificationRequest(String signatureAlgorithm, X500Principal subject, PublicKey key, ASN1Set attributes, PrivateKey signingKey, String provider)Deprecated.create a PKCS10 certfication request using the named provider.PKCS10CertificationRequest(String signatureAlgorithm, X509Name subject, PublicKey key, ASN1Set attributes, PrivateKey signingKey)Deprecated.create a PKCS10 certfication request using the BC provider.PKCS10CertificationRequest(String signatureAlgorithm, X509Name subject, PublicKey key, ASN1Set attributes, PrivateKey signingKey, String provider)Deprecated.create a PKCS10 certfication request using the named provider.X509Principal(boolean reverse, String dirName)Takes an X509 dir name as a string of the format "C=AU,ST=Victoria", or some such, converting it into an ordered set of name attributes.X509Principal(boolean reverse, Hashtable lookUp, String dirName)Takes an X509 dir name as a string of the format "C=AU, ST=Victoria", or some such, converting it into an ordered set of name attributes.X509Principal(String dirName)takes an X509 dir name as a string of the format "C=AU,ST=Victoria", or some such, converting it into an ordered set of name attributes. -
Uses of String in org.bouncycastle.jce.exception
Constructors in org.bouncycastle.jce.exception with parameters of type String Constructor Description ExtCertPathBuilderException(String message, Throwable cause)ExtCertPathBuilderException(String msg, Throwable cause, CertPath certPath, int index)ExtCertPathValidatorException(String message, Throwable cause)ExtCertPathValidatorException(String msg, Throwable cause, CertPath certPath, int index) -
Uses of String in org.bouncycastle.jce.interfaces
Methods in org.bouncycastle.jce.interfaces with parameters of type String Modifier and Type Method Description voidECPointEncoder. setPointFormat(String style)Set the formatting for encoding of points. -
Uses of String in org.bouncycastle.jce.netscape
Methods in org.bouncycastle.jce.netscape that return String Modifier and Type Method Description StringNetscapeCertRequest. getChallenge()Methods in org.bouncycastle.jce.netscape with parameters of type String Modifier and Type Method Description voidNetscapeCertRequest. setChallenge(String value)booleanNetscapeCertRequest. verify(String challenge)Constructors in org.bouncycastle.jce.netscape with parameters of type String Constructor Description NetscapeCertRequest(String challenge, AlgorithmIdentifier signing_alg, PublicKey pub_key) -
Uses of String in org.bouncycastle.jce.provider
Fields in org.bouncycastle.jce.provider declared as String Modifier and Type Field Description protected static StringCertPathValidatorUtilities. ANY_POLICYstatic StringRFC3280CertPathUtilities. ANY_POLICYprotected static StringCertPathValidatorUtilities. AUTHORITY_KEY_IDENTIFIERstatic StringRFC3280CertPathUtilities. AUTHORITY_KEY_IDENTIFIERprotected static StringCertPathValidatorUtilities. BASIC_CONSTRAINTSstatic StringRFC3280CertPathUtilities. BASIC_CONSTRAINTSprotected static StringCertPathValidatorUtilities. CERTIFICATE_POLICIESstatic StringRFC3280CertPathUtilities. CERTIFICATE_POLICIESprotected static StringCertPathValidatorUtilities. CRL_DISTRIBUTION_POINTSstatic StringRFC3280CertPathUtilities. CRL_DISTRIBUTION_POINTSprotected static StringCertPathValidatorUtilities. CRL_NUMBERstatic StringRFC3280CertPathUtilities. CRL_NUMBERprotected static String[]CertPathValidatorUtilities. crlReasonsprotected static String[]RFC3280CertPathUtilities. crlReasonsstatic StringCertBlacklist. DEFAULT_PUBKEY_BLACKLIST_PATHstatic StringCertBlacklist. DEFAULT_SERIAL_BLACKLIST_PATHprotected static StringCertPathValidatorUtilities. DELTA_CRL_INDICATORstatic StringRFC3280CertPathUtilities. DELTA_CRL_INDICATORprotected static StringCertPathValidatorUtilities. FRESHEST_CRLstatic StringRFC3280CertPathUtilities. FRESHEST_CRLprotected static StringCertPathValidatorUtilities. INHIBIT_ANY_POLICYstatic StringRFC3280CertPathUtilities. INHIBIT_ANY_POLICYprotected static StringCertPathValidatorUtilities. ISSUING_DISTRIBUTION_POINTstatic StringRFC3280CertPathUtilities. ISSUING_DISTRIBUTION_POINTprotected static StringCertPathValidatorUtilities. KEY_USAGEstatic StringRFC3280CertPathUtilities. KEY_USAGEprotected static StringCertPathValidatorUtilities. NAME_CONSTRAINTSstatic StringRFC3280CertPathUtilities. NAME_CONSTRAINTSprotected static StringCertPathValidatorUtilities. POLICY_CONSTRAINTSstatic StringRFC3280CertPathUtilities. POLICY_CONSTRAINTSprotected static StringCertPathValidatorUtilities. POLICY_MAPPINGSstatic StringRFC3280CertPathUtilities. POLICY_MAPPINGSstatic StringBouncyCastleProvider. PROVIDER_NAMEprotected static StringCertPathValidatorUtilities. SUBJECT_ALTERNATIVE_NAMEstatic StringRFC3280CertPathUtilities. SUBJECT_ALTERNATIVE_NAMEprotected StringPKIXPolicyNode. validPolicyMethods in org.bouncycastle.jce.provider that return String Modifier and Type Method Description StringJCEDHPrivateKey. getAlgorithm()StringJCEDHPublicKey. getAlgorithm()StringJCEECPrivateKey. getAlgorithm()StringJCEECPublicKey. getAlgorithm()StringJCERSAPrivateKey. getAlgorithm()StringJCERSAPublicKey. getAlgorithm()StringJDKDSAPrivateKey. getAlgorithm()StringJDKDSAPublicKey. getAlgorithm()StringJCEDHPrivateKey. getFormat()return the encoding format we produce in getEncoded().StringJCEDHPublicKey. getFormat()StringJCEECPrivateKey. getFormat()return the encoding format we produce in getEncoded().StringJCEECPublicKey. getFormat()StringJCERSAPrivateCrtKey. getFormat()return the encoding format we produce in getEncoded().StringJCERSAPrivateKey. getFormat()StringJCERSAPublicKey. getFormat()StringJDKDSAPrivateKey. getFormat()return the encoding format we produce in getEncoded().StringJDKDSAPublicKey. getFormat()StringX509CertificateObject. getSigAlgName()return a more "meaningful" representation for the signature algorithm used in the certficate.StringX509CRLObject. getSigAlgName()StringX509CertificateObject. getSigAlgOID()return the object identifier for the signature.StringX509CRLObject. getSigAlgOID()StringPKIXPolicyNode. getValidPolicy()StringJCEECPrivateKey. toString()StringJCEECPublicKey. toString()StringJCERSAPrivateCrtKey. toString()StringJCERSAPublicKey. toString()StringJDKDSAPublicKey. toString()StringPKIXNameConstraintValidator. toString()StringPKIXPolicyNode. toString()StringPKIXPolicyNode. toString(String _indent)StringX509CertificateObject. toString()StringX509CRLEntryObject. toString()StringX509CRLObject. toString()Returns a string representation of this CRL.Methods in org.bouncycastle.jce.provider with parameters of type String Modifier and Type Method Description protected static voidCertPathValidatorUtilities. addAdditionalStoreFromLocation(String location, ExtendedPKIXParameters pkixParams)voidBouncyCastleProvider. addAlgorithm(String key, String value)protected voidJCEStreamCipher. engineSetMode(String mode)should never be called.protected voidJCEStreamCipher. engineSetPadding(String padding)should never be called.protected KeyJCEStreamCipher. engineUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, int wrappedKeyType)protected static TrustAnchorCertPathValidatorUtilities. findTrustAnchor(X509Certificate cert, Set trustAnchors, String sigProvider)Search the given Set of TrustAnchor's for one that is the issuer of the given X509 certificate.protected static ASN1PrimitiveCertPathValidatorUtilities. getExtensionValue(X509Extension ext, String oid)Extract the value of the given extension, if it exists.byte[]X509CertificateObject. getExtensionValue(String oid)byte[]X509CRLEntryObject. getExtensionValue(String oid)byte[]X509CRLObject. getExtensionValue(String oid)booleanBouncyCastleProvider. hasAlgorithm(String type, String name)protected static voidCertPathValidatorUtilities. prepareNextCertB1(int i, List[] policyNodes, String id_p, Map m_idp, X509Certificate cert)protected static PKIXPolicyNodeCertPathValidatorUtilities. prepareNextCertB2(int i, List[] policyNodes, String id_p, PKIXPolicyNode validPolicyTree)voidBouncyCastleProvider. setParameter(String parameterName, Object parameter)voidJCEECPrivateKey. setPointFormat(String style)voidJCEECPublicKey. setPointFormat(String style)StringPKIXPolicyNode. toString(String _indent)protected SetPKIXNameConstraintValidator. unionDNS(Set excluded, String dns)voidX509CertificateObject. verify(PublicKey key, String sigProvider)voidX509CRLObject. verify(PublicKey key, String sigProvider)protected static voidCertPathValidatorUtilities. verifyX509Certificate(X509Certificate cert, PublicKey publicKey, String sigProvider) -
Uses of String in org.bouncycastle.jce.spec
Methods in org.bouncycastle.jce.spec that return String Modifier and Type Method Description StringRepeatedSecretKeySpec. getAlgorithm()StringRepeatedSecretKeySpec. getFormat()StringECNamedCurveGenParameterSpec. getName()return the name of the curve the EC domain parameters belong to.StringECNamedCurveParameterSpec. getName()return the name of the curve the EC domain parameters belong to.StringECNamedCurveSpec. getName()return the name of the curve the EC domain parameters belong to.Constructors in org.bouncycastle.jce.spec with parameters of type String Constructor Description ECNamedCurveGenParameterSpec(String name)ECNamedCurveParameterSpec(String name, ECCurve curve, ECPoint G, BigInteger n)ECNamedCurveParameterSpec(String name, ECCurve curve, ECPoint G, BigInteger n, BigInteger h)ECNamedCurveParameterSpec(String name, ECCurve curve, ECPoint G, BigInteger n, BigInteger h, byte[] seed)ECNamedCurveSpec(String name, EllipticCurve curve, ECPoint g, BigInteger n)ECNamedCurveSpec(String name, EllipticCurve curve, ECPoint g, BigInteger n, BigInteger h)ECNamedCurveSpec(String name, ECCurve curve, ECPoint g, BigInteger n)ECNamedCurveSpec(String name, ECCurve curve, ECPoint g, BigInteger n, BigInteger h)ECNamedCurveSpec(String name, ECCurve curve, ECPoint g, BigInteger n, BigInteger h, byte[] seed)RepeatedSecretKeySpec(String algorithm) -
Uses of String in org.bouncycastle.math.ec
Methods in org.bouncycastle.math.ec that return String Modifier and Type Method Description StringECFieldElement.F2m. getFieldName()StringECFieldElement.Fp. getFieldName()return the field name for this field.abstract StringECFieldElement. getFieldName()StringECFieldElement. toString() -
Uses of String in org.bouncycastle.operator
Methods in org.bouncycastle.operator with parameters of type String Modifier and Type Method Description AlgorithmIdentifierDefaultDigestAlgorithmIdentifierFinder. find(String digAlgName)AlgorithmIdentifierDefaultSignatureAlgorithmIdentifierFinder. find(String sigAlgName)AlgorithmIdentifierDigestAlgorithmIdentifierFinder. find(String digAlgName)Find the algorithm identifier that matches with the passed in digest name.AlgorithmIdentifierSignatureAlgorithmIdentifierFinder. find(String sigAlgName)Find the signature algorithm identifier that matches with the passed in signature algorithm name.Constructors in org.bouncycastle.operator with parameters of type String Constructor Description OperatorCreationException(String msg)OperatorCreationException(String msg, Throwable cause)OperatorException(String msg)OperatorException(String msg, Throwable cause)OperatorStreamException(String msg, Throwable cause)RuntimeOperatorException(String msg)RuntimeOperatorException(String msg, Throwable cause) -
Uses of String in org.bouncycastle.operator.jcajce
Methods in org.bouncycastle.operator.jcajce with parameters of type String Modifier and Type Method Description JcaContentSignerBuilderJcaContentSignerBuilder. setProvider(String providerName)JcaContentVerifierProviderBuilderJcaContentVerifierProviderBuilder. setProvider(String providerName)JcaDigestCalculatorProviderBuilderJcaDigestCalculatorProviderBuilder. setProvider(String providerName)Constructors in org.bouncycastle.operator.jcajce with parameters of type String Constructor Description JcaContentSignerBuilder(String signatureAlgorithm) -
Uses of String in org.bouncycastle.util
Methods in org.bouncycastle.util that return String Modifier and Type Method Description static StringStrings. fromByteArray(byte[] bytes)Convert an array of 8 bit characters into a string.static StringStrings. fromUTF8ByteArray(byte[] bytes)static String[]Strings. split(String input, char delimiter)static StringStrings. toLowerCase(String string)A locale independent version of toLowerCase.static StringStrings. toUpperCase(String string)A locale independent version of toUpperCase.Methods in org.bouncycastle.util with parameters of type String Modifier and Type Method Description static booleanIPAddress. isValid(String address)Validate the given IPv4 or IPv6 address.static booleanIPAddress. isValidIPv4(String address)Validate the given IPv4 address.static booleanIPAddress. isValidIPv4WithNetmask(String address)static booleanIPAddress. isValidIPv6(String address)Validate the given IPv6 address.static booleanIPAddress. isValidIPv6WithNetmask(String address)static booleanIPAddress. isValidWithNetMask(String address)Validate the given IPv4 or IPv6 address and netmask.static String[]Strings. split(String input, char delimiter)static byte[]Strings. toByteArray(String string)static StringStrings. toLowerCase(String string)A locale independent version of toLowerCase.static StringStrings. toUpperCase(String string)A locale independent version of toUpperCase.static byte[]Strings. toUTF8ByteArray(String string)Constructors in org.bouncycastle.util with parameters of type String Constructor Description StoreException(String s, Throwable e) -
Uses of String in org.bouncycastle.util.encoders
Methods in org.bouncycastle.util.encoders that return String Modifier and Type Method Description static StringBase64. toBase64String(byte[] data)static StringBase64. toBase64String(byte[] data, int off, int length)static StringHex. toHexString(byte[] data)static StringHex. toHexString(byte[] data, int off, int length)Methods in org.bouncycastle.util.encoders with parameters of type String Modifier and Type Method Description static byte[]Base64. decode(String data)decode the base 64 encoded String data - whitespace will be ignored.static intBase64. decode(String data, OutputStream out)decode the base 64 encoded String data writing it to the given output stream, whitespace characters will be ignored.intBase64Encoder. decode(String data, OutputStream out)decode the base 64 encoded String data writing it to the given output stream, whitespace characters will be ignored.intEncoder. decode(String data, OutputStream out)static byte[]Hex. decode(String data)decode the Hex encoded String data - whitespace will be ignored.static intHex. decode(String data, OutputStream out)decode the Hex encoded String data writing it to the given output stream, whitespace characters will be ignored.intHexEncoder. decode(String data, OutputStream out)decode the Hex encoded String data writing it to the given output stream, whitespace characters will be ignored. -
Uses of String in org.bouncycastle.util.io
Constructors in org.bouncycastle.util.io with parameters of type String Constructor Description StreamOverflowException(String msg) -
Uses of String in org.bouncycastle.util.io.pem
Methods in org.bouncycastle.util.io.pem that return String Modifier and Type Method Description StringPemHeader. getName()StringPemObject. getType()StringPemHeader. getValue()Constructors in org.bouncycastle.util.io.pem with parameters of type String Constructor Description PemGenerationException(String message)PemGenerationException(String message, Throwable cause)PemHeader(String name, String value)PemObject(String type, byte[] content)Generic constructor for object without headers.PemObject(String type, List headers, byte[] content)Generic constructor for object with headers. -
Uses of String in org.bouncycastle.x509
Methods in org.bouncycastle.x509 that return String Modifier and Type Method Description StringAttributeCertificateHolder. getDigestAlgorithm()Deprecated.Returns the other object type ID if an object digest info is used.StringX509Attribute. getOID()StringAttributeCertificateHolder. getOtherObjectTypeID()Deprecated.Returns the digest algorithm ID if an object digest info is used.StringX509CollectionStoreParameters. toString()Returns a formatted string describing the parameters.Methods in org.bouncycastle.x509 with parameters of type String Modifier and Type Method Description voidX509V3CertificateGenerator. addExtension(String oid, boolean critical, byte[] value)Deprecated.add a given extension field for the standard extensions tag (tag 3) The value parameter becomes the contents of the octet string associated with the extension.voidX509V3CertificateGenerator. addExtension(String oid, boolean critical, ASN1Encodable value)Deprecated.add a given extension field for the standard extensions tag (tag 3)voidX509V3CertificateGenerator. copyAndAddExtension(String oid, boolean critical, X509Certificate cert)Deprecated.add a given extension field for the standard extensions tag (tag 3) copying the extension value from another certificate.X509CertificateX509V1CertificateGenerator. generate(PrivateKey key, String provider)Deprecated.generate an X509 certificate, based on the current issuer and subject, using the passed in provider for the signing, and the passed in source of randomness (if required).X509CertificateX509V1CertificateGenerator. generate(PrivateKey key, String provider, SecureRandom random)Deprecated.generate an X509 certificate, based on the current issuer and subject, using the passed in provider for the signing, and the passed in source of randomness (if required).X509CertificateX509V3CertificateGenerator. generate(PrivateKey key, String provider)Deprecated.generate an X509 certificate, based on the current issuer and subject, using the passed in provider for the signing.X509CertificateX509V3CertificateGenerator. generate(PrivateKey key, String provider, SecureRandom random)Deprecated.generate an X509 certificate, based on the current issuer and subject, using the passed in provider for the signing and the supplied source of randomness, if required.X509CertificateX509V1CertificateGenerator. generateX509Certificate(PrivateKey key, String provider)Deprecated.use generate()X509CertificateX509V1CertificateGenerator. generateX509Certificate(PrivateKey key, String provider, SecureRandom random)Deprecated.use generate()X509CertificateX509V3CertificateGenerator. generateX509Certificate(PrivateKey key, String provider)Deprecated.use generate()X509CertificateX509V3CertificateGenerator. generateX509Certificate(PrivateKey key, String provider, SecureRandom random)Deprecated.use generate()X509Attribute[]X509AttributeCertificate. getAttributes(String oid)Return the attributes with the same type as the passed in oid.X509Attribute[]X509V2AttributeCertificate. getAttributes(String oid)Deprecated.byte[]X509V2AttributeCertificate. getExtensionValue(String oid)Deprecated.static X509StoreX509Store. getInstance(String type, X509StoreParameters parameters)static X509StoreX509Store. getInstance(String type, X509StoreParameters parameters, String provider)static X509StoreX509Store. getInstance(String type, X509StoreParameters parameters, Provider provider)voidX509V1CertificateGenerator. setSignatureAlgorithm(String signatureAlgorithm)Deprecated.Set the signature algorithm.voidX509V3CertificateGenerator. setSignatureAlgorithm(String signatureAlgorithm)Deprecated.Set the signature algorithm.voidX509AttributeCertificate. verify(PublicKey key, String provider)voidX509V2AttributeCertificate. verify(PublicKey key, String provider)Deprecated.Constructors in org.bouncycastle.x509 with parameters of type String Constructor Description AttributeCertificateHolder(int digestedObjectType, String digestAlgorithm, String otherObjectTypeID, byte[] objectDigest)Deprecated.Constructs a holder for v2 attribute certificates with a hash value for some type of object.NoSuchStoreException(String message)X509Attribute(String oid, ASN1Encodable value)Create an X.509 Attribute with the type given by the passed in oid and the value represented by an ASN.1 Set containing value.X509Attribute(String oid, ASN1EncodableVector value)Create an X.59 Attribute with the type given by the passed in oid and the value represented by an ASN.1 Set containing the objects in value. -
Uses of String in org.conscrypt
Fields in org.conscrypt declared as String Modifier and Type Field Description StringProtocolVersion. nameProtocol namestatic StringOpenSSLProvider. PROVIDER_NAMEstatic String[]ProtocolVersion. supportedProtocolsProtocols supported by this provider implementationstatic StringNativeCrypto. TLS_EMPTY_RENEGOTIATION_INFO_SCSVTLS_EMPTY_RENEGOTIATION_INFO_SCSV is RFC 5746's renegotiation indication signaling cipher suite value.Fields in org.conscrypt with type parameters of type String Modifier and Type Field Description static Map<String,String>NativeCrypto. OPENSSL_TO_STANDARD_CIPHER_SUITESstatic Map<String,String>NativeCrypto. OPENSSL_TO_STANDARD_CIPHER_SUITESstatic Map<String,String>NativeCrypto. STANDARD_TO_OPENSSL_CIPHER_SUITESstatic Map<String,String>NativeCrypto. STANDARD_TO_OPENSSL_CIPHER_SUITESMethods in org.conscrypt that return String Modifier and Type Method Description static String[]NativeCrypto. checkEnabledCipherSuites(String[] cipherSuites)static String[]NativeCrypto. checkEnabledProtocols(String[] protocols)StringKeyManagerImpl. chooseClientAlias(String[] keyTypes, Principal[] issuers, Socket socket)StringKeyManagerImpl. chooseEngineClientAlias(String[] keyTypes, Principal[] issuers, SSLEngine engine)StringKeyManagerImpl. chooseEngineServerAlias(String keyType, Principal[] issuers, SSLEngine engine)StringKeyManagerImpl. chooseServerAlias(String keyType, Principal[] issuers, Socket socket)static StringNativeCrypto. EC_GROUP_get_curve_name(long groupRef)static StringNativeCrypto. ENGINE_get_id(long engineRef)StringTrustedCertificateKeyStoreSpi. engineGetCertificateAlias(Certificate c)static StringNativeCrypto. EVP_PKEY_print_private(long pkeyRef)static StringNativeCrypto. EVP_PKEY_print_public(long pkeyRef)static String[]NativeCrypto. get_X509_CRL_ext_oids(long x509ctx, int critical)static StringNativeCrypto. get_X509_CRL_sig_alg_oid(long x509CrlCtx)static String[]NativeCrypto. get_X509_ex_xkusage(long x509ctx)static String[]NativeCrypto. get_X509_ext_oids(long x509ctx, int critical)static StringNativeCrypto. get_X509_pubkey_oid(long x509ctx)static String[]NativeCrypto. get_X509_REVOKED_ext_oids(long x509ctx, int critical)static StringNativeCrypto. get_X509_sig_alg_oid(long x509ctx)protected StringAlertProtocol. getAlertDescription()Returns the string representation of occured alert.StringOpenSSLDSAPrivateKey. getAlgorithm()StringOpenSSLDSAPublicKey. getAlgorithm()StringOpenSSLECPrivateKey. getAlgorithm()StringOpenSSLECPublicKey. getAlgorithm()StringOpenSSLRSAPrivateKey. getAlgorithm()StringOpenSSLRSAPublicKey. getAlgorithm()StringOpenSSLSecretKey. getAlgorithm()StringX509PublicKey. getAlgorithm()StringOpenSSLKey. getAlias()StringCertificateMessage. getAuthType()StringCipherSuite. getAuthType(boolean emphemeral)Returns auth type constant suitable for calling X509TrustManager.checkServerTrusted.protected StringOpenSSLCipher.AES. getBaseCipherName()protected StringOpenSSLCipher.ARC4. getBaseCipherName()protected StringOpenSSLCipher.DESEDE. getBaseCipherName()protected abstract StringOpenSSLCipher. getBaseCipherName()Returns the standard name for the particular algorithm.StringCipherSuite. getBulkEncryptionAlgorithm()Returns cipher algorithm nameStringTrustedCertificateStore. getCertificateAlias(Certificate c)protected StringOpenSSLCipher.AES. getCipherName(int keyLength, OpenSSLCipher.Mode mode)protected StringOpenSSLCipher.ARC4. getCipherName(int keySize, OpenSSLCipher.Mode mode)protected StringOpenSSLCipher.DESEDE. getCipherName(int keySize, OpenSSLCipher.Mode mode)protected abstract StringOpenSSLCipher. getCipherName(int keySize, OpenSSLCipher.Mode mode)Returns the OpenSSL cipher name for the particularkeySizeand ciphermode.StringOpenSSLSessionImpl. getCipherSuite()Returns a string identifier of the crypto tools used in the actual SSL session.StringSSLSessionImpl. getCipherSuite()String[]KeyManagerImpl. getClientAliases(String keyType, Principal[] issuers)static StringCipherSuite. getClientKeyType(byte keyType)Similar to getServerKeyType, but returns value given TLS ClientCertificateType byte values from a CertificateRequest message for use with X509KeyManager.chooseClientAlias or X509ExtendedKeyManager.chooseEngineClientAlias.StringPinListEntry. getCommonName()static String[]NativeCrypto. getDefaultCipherSuites()String[]OpenSSLServerSocketFactoryImpl. getDefaultCipherSuites()String[]OpenSSLSocketFactoryImpl. getDefaultCipherSuites()String[]SSLServerSocketFactoryImpl. getDefaultCipherSuites()String[]SSLSocketFactoryImpl. getDefaultCipherSuites()static String[]NativeCrypto. getDefaultProtocols()String[]OpenSSLServerSocketImpl. getEnabledCipherSuites()String[]OpenSSLSocketImpl. getEnabledCipherSuites()String[]SSLEngineImpl. getEnabledCipherSuites()This method works according to the specification of implemented class.protected String[]SSLParametersImpl. getEnabledCipherSuites()String[]SSLServerSocketImpl. getEnabledCipherSuites()This method works according to the specification of implemented class.String[]SSLSocketImpl. getEnabledCipherSuites()This method works according to the specification of implemented class.String[]OpenSSLServerSocketImpl. getEnabledProtocols()The names of the protocols' versions that in use on this SSL connection.String[]OpenSSLSocketImpl. getEnabledProtocols()String[]SSLEngineImpl. getEnabledProtocols()This method works according to the specification of implemented class.protected String[]SSLParametersImpl. getEnabledProtocols()String[]SSLServerSocketImpl. getEnabledProtocols()This method works according to the specification of implemented class.String[]SSLSocketImpl. getEnabledProtocols()This method works according to the specification of implemented class.StringOpenSSLDSAPrivateKey. getFormat()StringOpenSSLDSAPublicKey. getFormat()StringOpenSSLECPrivateKey. getFormat()StringOpenSSLECPublicKey. getFormat()StringOpenSSLRSAPrivateKey. getFormat()StringOpenSSLRSAPublicKey. getFormat()StringOpenSSLSecretKey. getFormat()StringX509PublicKey. getFormat()StringCipherSuite. getHashName()Returns hash algorithm nameStringCipherSuite. getHmacName()Returns MAC algorithm nameStringCipherSuite. getName()Returns cipher suite nameStringOpenSSLSessionImpl. getPeerHost()The peer's host name used in this SSL session is returned.StringSSLSessionImpl. getPeerHost()StringOpenSSLSessionImpl. getProtocol()Returns the standard version name of the SSL protocol used in all connections pertaining to this SSL session.StringSSLSessionImpl. getProtocol()String[]KeyManagerImpl. getServerAliases(String keyType, Principal[] issuers)StringCipherSuite. getServerKeyType()Returns key type constant suitable for calling X509KeyManager.chooseServerAlias or X509ExtendedKeyManager.chooseEngineServerAlias.StringOpenSSLX509Certificate. getSigAlgName()StringOpenSSLX509CRL. getSigAlgName()StringOpenSSLX509Certificate. getSigAlgOID()StringOpenSSLX509CRL. getSigAlgOID()static String[]CipherSuite. getSupportedCipherSuiteNames()Returns array of supported cipher suites namesstatic String[]NativeCrypto. getSupportedCipherSuites()String[]OpenSSLServerSocketFactoryImpl. getSupportedCipherSuites()String[]OpenSSLServerSocketImpl. getSupportedCipherSuites()String[]OpenSSLSocketFactoryImpl. getSupportedCipherSuites()String[]OpenSSLSocketImpl. getSupportedCipherSuites()String[]SSLEngineImpl. getSupportedCipherSuites()Returns names of supported cipher suites.String[]SSLServerSocketFactoryImpl. getSupportedCipherSuites()String[]SSLServerSocketImpl. getSupportedCipherSuites()This method works according to the specification of implemented class.String[]SSLSocketFactoryImpl. getSupportedCipherSuites()String[]SSLSocketImpl. getSupportedCipherSuites()This method works according to the specification of implemented class.static String[]NativeCrypto. getSupportedProtocols()String[]OpenSSLServerSocketImpl. getSupportedProtocols()The names of the protocols' versions that may be used on this SSL connection.String[]OpenSSLSocketImpl. getSupportedProtocols()String[]SSLEngineImpl. getSupportedProtocols()This method works according to the specification of implemented class.String[]SSLServerSocketImpl. getSupportedProtocols()This method works according to the specification of implemented class.String[]SSLSocketImpl. getSupportedProtocols()This method works according to the specification of implemented class.String[]CertificateRequest. getTypesAsString()Returns requested certificate types as array of stringsString[]OpenSSLSessionImpl. getValueNames()Returns an array with the names (sort of links) of all the data objects of the application layer bound into the SSL session.String[]SSLSessionImpl. getValueNames()static StringNativeCrypto. OBJ_txt2nid_longName(String oid)static StringNativeCrypto. OBJ_txt2nid_oid(String oid)static StringNativeCrypto. SSL_get_servername(long sslNativePointer)static StringNativeCrypto. SSL_SESSION_cipher(long sslSessionNativePointer)static StringNativeCrypto. SSL_SESSION_get_version(long sslSessionNativePointer)StringCipherSuite. toString()Returns cipher suite descriptionStringOpenSSLDSAParams. toString()StringOpenSSLDSAPrivateKey. toString()StringOpenSSLDSAPublicKey. toString()StringOpenSSLECPrivateKey. toString()StringOpenSSLECPublicKey. toString()StringOpenSSLRSAPrivateCrtKey. toString()StringOpenSSLRSAPrivateKey. toString()StringOpenSSLRSAPublicKey. toString()StringOpenSSLSocketImplWrapper. toString()StringOpenSSLX509Certificate. toString()StringOpenSSLX509CRL. toString()StringOpenSSLX509CRLEntry. toString()StringSSLServerSocketImpl. toString()Returns the string representation of the object.StringSSLSocketWrapper. toString()StringX509PublicKey. toString()static StringNativeCrypto. X509_NAME_print_ex(long x509nameCtx, long flags)Methods in org.conscrypt that return types with arguments of type String Modifier and Type Method Description Set<String>TrustedCertificateStore. aliases()Set<String>TrustedCertificateStore. allSystemAliases()Enumeration<String>TrustedCertificateKeyStoreSpi. engineAliases()Iterator<String>OpenSSLX509CertificateFactory. engineGetCertPathEncodings()Set<String>OpenSSLX509Certificate. getCriticalExtensionOIDs()Set<String>OpenSSLX509CRL. getCriticalExtensionOIDs()Set<String>OpenSSLX509CRLEntry. getCriticalExtensionOIDs()Iterator<String>OpenSSLX509CertPath. getEncodings()List<String>OpenSSLX509Certificate. getExtendedKeyUsage()Set<String>OpenSSLX509Certificate. getNonCriticalExtensionOIDs()Set<String>OpenSSLX509CRL. getNonCriticalExtensionOIDs()Set<String>OpenSSLX509CRLEntry. getNonCriticalExtensionOIDs()Set<String>TrustedCertificateStore. userAliases()Methods in org.conscrypt with parameters of type String Modifier and Type Method Description booleanCertPinManager. chainIsNotPinned(String hostname, List<X509Certificate> chain)This is the public interface for cert pinning.voidTrustManagerImpl. checkClientTrusted(X509Certificate[] chain, String authType)static String[]NativeCrypto. checkEnabledCipherSuites(String[] cipherSuites)static String[]NativeCrypto. checkEnabledProtocols(String[] protocols)voidTrustManagerImpl. checkServerTrusted(X509Certificate[] chain, String authType)List<X509Certificate>TrustManagerImpl. checkServerTrusted(X509Certificate[] chain, String authType, String host)Validates whether a server is trusted.StringKeyManagerImpl. chooseClientAlias(String[] keyTypes, Principal[] issuers, Socket socket)StringKeyManagerImpl. chooseEngineClientAlias(String[] keyTypes, Principal[] issuers, SSLEngine engine)StringKeyManagerImpl. chooseEngineServerAlias(String keyType, Principal[] issuers, SSLEngine engine)StringKeyManagerImpl. chooseServerAlias(String keyType, Principal[] issuers, Socket socket)protected voidHandshakeProtocol. computerReferenceVerifyDataTLS(String label)Computers reference TLS verify_data that is used to verify finished messageprotected voidHandshakeProtocol. computerVerifyDataTLS(String label, byte[] buf)Computer TLS verify_databooleanTrustedCertificateStore. containsAlias(String alias)SocketOpenSSLSocketFactoryImpl. createSocket(String host, int port)SocketOpenSSLSocketFactoryImpl. createSocket(String host, int port, InetAddress localHost, int localPort)SocketOpenSSLSocketFactoryImpl. createSocket(Socket s, String host, int port, boolean autoClose)SocketSSLSocketFactoryImpl. createSocket(String host, int port)SocketSSLSocketFactoryImpl. createSocket(String host, int port, InetAddress localHost, int localPort)SocketSSLSocketFactoryImpl. createSocket(Socket s, String host, int port, boolean autoClose)voidTrustedCertificateStore. deleteCertificateEntry(String alias)This could be considered the implementation ofTrustedCertificateKeyStoreSpi.engineDeleteEntrybut we considerTrustedCertificateKeyStoreSpito be read only.static longNativeCrypto. EC_GROUP_new_by_curve_name(String curveName)static longNativeCrypto. ENGINE_by_id(String id)static intNativeCrypto. ENGINE_ctrl_cmd_string(long engineRef, String cmd, String arg, int cmd_optional)static longNativeCrypto. ENGINE_load_private_key(long e, String key_id)booleanTrustedCertificateKeyStoreSpi. engineContainsAlias(String alias)SSLEngineSSLContextImpl. engineCreateSSLEngine(String host, int port)voidTrustedCertificateKeyStoreSpi. engineDeleteEntry(String alias)CertPathOpenSSLX509CertificateFactory. engineGenerateCertPath(InputStream inStream, String encoding)protected SecretKeyOpenSSLECDHKeyAgreement. engineGenerateSecret(String algorithm)CertificateTrustedCertificateKeyStoreSpi. engineGetCertificate(String alias)Certificate[]TrustedCertificateKeyStoreSpi. engineGetCertificateChain(String alias)DateTrustedCertificateKeyStoreSpi. engineGetCreationDate(String alias)KeyTrustedCertificateKeyStoreSpi. engineGetKey(String alias, char[] password)protected ObjectOpenSSLSignature. engineGetParameter(String param)protected ObjectOpenSSLSignatureRawRSA. engineGetParameter(String param)booleanTrustedCertificateKeyStoreSpi. engineIsCertificateEntry(String alias)booleanTrustedCertificateKeyStoreSpi. engineIsKeyEntry(String alias)voidTrustedCertificateKeyStoreSpi. engineSetCertificateEntry(String alias, Certificate cert)voidTrustedCertificateKeyStoreSpi. engineSetKeyEntry(String alias, byte[] key, Certificate[] chain)voidTrustedCertificateKeyStoreSpi. engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain)protected voidOpenSSLCipher. engineSetMode(String modeStr)protected voidOpenSSLCipherRSA. engineSetMode(String mode)protected voidOpenSSLCipher. engineSetPadding(String paddingStr)protected voidOpenSSLCipherRSA. engineSetPadding(String padding)protected voidOpenSSLSignature. engineSetParameter(String param, Object value)protected voidOpenSSLSignatureRawRSA. engineSetParameter(String param, Object value)protected KeyOpenSSLCipher. engineUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, int wrappedKeyType)protected KeyOpenSSLCipherRSA. engineUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, int wrappedKeyType)static longNativeCrypto. EVP_get_cipherbyname(String string)static longNativeCrypto. EVP_get_digestbyname(String name)static longNativeCrypto. EVP_SignInit(String algorithm)static longNativeCrypto. EVP_VerifyInit(String algorithm)protected voidHandshakeProtocol. fatalAlert(byte description, String reason)Sends fatal alert, breaks executionprotected voidHandshakeProtocol. fatalAlert(byte description, String reason, Exception cause)Sends fatal alert, breaks executionprotected voidMessage. fatalAlert(byte description, String reason)Sends fatal alertprotected voidMessage. fatalAlert(byte description, String reason, Throwable cause)Sends fatal alertstatic CertPathOpenSSLX509CertPath. fromEncoding(InputStream inStream, String encoding)static CipherSuiteCipherSuite. getByName(String name)Returns CipherSuite by namestatic ProtocolVersionProtocolVersion. getByName(String name)Returns ProtocolVersionCertificateTrustedCertificateStore. getCertificate(String alias)CertificateTrustedCertificateStore. getCertificate(String alias, boolean includeDeletedSystem)X509Certificate[]KeyManagerImpl. getCertificateChain(String alias)String[]KeyManagerImpl. getClientAliases(String keyType, Principal[] issuers)DateTrustedCertificateStore. getCreationDate(String alias)static OpenSSLECGroupContextOpenSSLECGroupContext. getCurveByName(String curveName)byte[]OpenSSLX509CertPath. getEncoded(String encoding)byte[]OpenSSLX509Certificate. getExtensionValue(String oid)byte[]OpenSSLX509CRL. getExtensionValue(String oid)byte[]OpenSSLX509CRLEntry. getExtensionValue(String oid)static OpenSSLEngineOpenSSLEngine. getInstance(String engine)static ProtocolVersionProtocolVersion. getLatestVersion(String[] protocols)Highest protocol version supported by provider implementationPrivateKeyKeyManagerImpl. getPrivateKey(String alias)PrivateKeyOpenSSLEngine. getPrivateKeyById(String id)SecretKeyOpenSSLKey. getSecretKey(String algorithm)SecretKeyOpenSSLEngine. getSecretKeyById(String id, String algorithm)String[]KeyManagerImpl. getServerAliases(String keyType, Principal[] issuers)SSLSessionClientSessionContext. getSession(String host, int port)Finds a cached session for the given host name and port.byte[]SSLClientSessionCache. getSessionData(String host, int port)Gets data from a pre-existing session for a given server host and port.static Logger.StreamLogger. getStream(String name)ObjectOpenSSLSessionImpl. getValue(String name)Returns the object which is bound to the the input parameter name.ObjectSSLSessionImpl. getValue(String name)static booleanProtocolVersion. isSupported(String name)Returns true if provider supports protocol versionstatic booleanTrustedCertificateStore. isSystem(String alias)static booleanTrustedCertificateStore. isUser(String alias)static voidPinFailureLogger. log(String cn, boolean chainContainsUserCert, boolean pinIsEnforcing, List<X509Certificate> chain)static intNativeCrypto. OBJ_txt2nid(String oid)static StringNativeCrypto. OBJ_txt2nid_longName(String oid)static StringNativeCrypto. OBJ_txt2nid_oid(String oid)voidLogger.Stream. print(String msg)voidLogger.Stream. printAsHex(int perLine, String prefix, String delimiter, byte[] data)voidLogger.Stream. printAsHex(int perLine, String prefix, String delimiter, byte[] data, int offset, int len)voidLogger.Stream. println(String msg)voidOpenSSLSessionImpl. putValue(String name, Object value)A link (name) with the specified value object of the SSL session's application layer data is created or replaced.voidSSLSessionImpl. putValue(String name, Object value)static intNativeCrypto. RAND_load_file(String filename, long max_bytes)voidOpenSSLSessionImpl. removeValue(String name)Removes a link (name) with the specified value object of the SSL session's application layer data.voidSSLSessionImpl. removeValue(String name)static voidNativeCrypto. setEnabledCipherSuites(long ssl, String[] cipherSuites)voidOpenSSLServerSocketImpl. setEnabledCipherSuites(String[] suites)This method enables the cipher suites listed by getSupportedCipherSuites().voidOpenSSLSocketImpl. setEnabledCipherSuites(String[] suites)voidSSLEngineImpl. setEnabledCipherSuites(String[] suites)This method works according to the specification of implemented class.protected voidSSLParametersImpl. setEnabledCipherSuites(String[] suites)Sets the set of available cipher suites for use in SSL connection.voidSSLServerSocketImpl. setEnabledCipherSuites(String[] suites)This method works according to the specification of implemented class.voidSSLSocketImpl. setEnabledCipherSuites(String[] suites)This method works according to the specification of implemented class.static voidNativeCrypto. setEnabledProtocols(long ssl, String[] protocols)voidOpenSSLServerSocketImpl. setEnabledProtocols(String[] protocols)This method enables the protocols' versions listed by getSupportedProtocols().voidOpenSSLSocketImpl. setEnabledProtocols(String[] protocols)voidSSLEngineImpl. setEnabledProtocols(String[] protocols)This method works according to the specification of implemented class.protected voidSSLParametersImpl. setEnabledProtocols(String[] protocols)Sets the set of available protocols for use in SSL connection.voidSSLServerSocketImpl. setEnabledProtocols(String[] protocols)This method works according to the specification of implemented class.voidSSLSocketImpl. setEnabledProtocols(String[] protocols)This method works according to the specification of implemented class.voidOpenSSLSocketImpl. setHostname(String hostname)This method enables Server Name Indicationstatic voidNativeCrypto. SSL_set_cipher_lists(long ssl, String[] ciphers)static voidNativeCrypto. SSL_set_tlsext_host_name(long sslNativePointer, String hostname)static OpenSSLCipher.ModeOpenSSLCipher.Mode. valueOf(String name)Returns the enum constant of this type with the specified name.static OpenSSLCipher.PaddingOpenSSLCipher.Padding. valueOf(String name)Returns the enum constant of this type with the specified name.voidOpenSSLX509Certificate. verify(PublicKey key, String sigProvider)voidOpenSSLX509CRL. verify(PublicKey key, String sigProvider)voidNativeCrypto.SSLHandshakeCallbacks. verifyCertificateChain(byte[][] asn1DerEncodedCertificateChain, String authMethod)Verify that we trust the certificate chain is trusted.voidOpenSSLSocketImpl. verifyCertificateChain(byte[][] bytes, String authMethod)protected static voidPinFailureLogger. writeToLog(String cn, boolean chainContainsUserCert, boolean pinIsEnforcing, List<X509Certificate> chain)static longNativeCrypto. X509_CRL_get_ext(long x509CrlCtx, String oid)static byte[]NativeCrypto. X509_CRL_get_ext_oid(long x509CrlCtx, String oid)static byte[]NativeCrypto. X509_get_ext_oid(long x509ctx, String oid)static longNativeCrypto. X509_REVOKED_get_ext(long x509RevokedCtx, String oid)static byte[]NativeCrypto. X509_REVOKED_get_ext_oid(long x509RevokedCtx, String oid)Constructors in org.conscrypt with parameters of type String Constructor Description CertPinManager(String path, TrustedCertificateStore store)Test onlyDigitalSignature(String algorithm)Create Signature typeOpenSSLKey(long ctx, OpenSSLEngine engine, String alias)OpenSSLSecretKey(String algorithm, byte[] encoded)OpenSSLSecretKey(String algorithm, OpenSSLKey key)OpenSSLSessionImpl(long sslSessionNativePointer, X509Certificate[] localCertificates, X509Certificate[] peerCertificates, String peerHost, int peerPort, org.conscrypt.AbstractSessionContext sessionContext)Class constructor creates an SSL session context given the appropriate SSL parameters.OpenSSLSocketImpl(String host, int port, InetAddress clientAddress, int clientPort, SSLParametersImpl sslParameters)OpenSSLSocketImpl(String host, int port, SSLParametersImpl sslParameters)OpenSSLSocketImpl(Socket socket, String host, int port, boolean autoClose, SSLParametersImpl sslParameters)Create an SSL socket that wraps another socket.OpenSSLSocketImpl(SSLParametersImpl sslParameters, String[] enabledProtocols, String[] enabledCipherSuites)OpenSSLSocketImplWrapper(Socket socket, String host, int port, boolean autoClose, SSLParametersImpl sslParameters)PinListEntry(String entry, TrustedCertificateStore store)SSLEngineImpl(String host, int port, SSLParametersImpl sslParameters)SSLSocketImpl(String host, int port, InetAddress localHost, int localPort, SSLParametersImpl sslParameters)ConstructorSSLSocketImpl(String host, int port, SSLParametersImpl sslParameters)ConstructorSSLSocketWrapper(Socket socket, String host, int port, boolean autoClose, SSLParametersImpl sslParameters)Stream(String name)X509PublicKey(String algorithm, byte[] encoded) -
Uses of String in org.conscrypt.util
Fields in org.conscrypt.util declared as String Modifier and Type Field Description static String[]EmptyArray. STRING -
Uses of String in org.json
Methods in org.json that return String Modifier and Type Method Description StringJSONArray. getString(int index)Returns the value atindexif it exists, coercing it if necessary.StringJSONObject. getString(String name)Returns the value mapped bynameif it exists, coercing it if necessary.StringJSONArray. join(String separator)Returns a new string by alternating this array's values withseparator.StringJSONTokener. next(int length)Returns the nextlengthcharacters of the input.StringJSONTokener. nextString(char quote)Returns the string up to but not includingquote, unescaping any character escape sequences encountered along the way.StringJSONTokener. nextTo(char excluded)Equivalent tonextTo(String.valueOf(excluded)).StringJSONTokener. nextTo(String excluded)Returns thetrimmedstring holding the characters up to but not including the first of: any character inexcludeda newline character '\n' a carriage return '\r'static StringJSONObject. numberToString(Number number)Encodes the number as a JSON string.StringJSONArray. optString(int index)Returns the value atindexif it exists, coercing it if necessary.StringJSONArray. optString(int index, String fallback)Returns the value atindexif it exists, coercing it if necessary.StringJSONObject. optString(String name)Returns the value mapped bynameif it exists, coercing it if necessary.StringJSONObject. optString(String name, String fallback)Returns the value mapped bynameif it exists, coercing it if necessary.static StringJSONObject. quote(String data)Encodesdataas a JSON string.StringJSONArray. toString()Encodes this array as a compact JSON string, such as:StringJSONArray. toString(int indentSpaces)Encodes this array as a human readable JSON string for debugging, such as:StringJSONObject. toString()Encodes this object as a compact JSON string, such as:StringJSONObject. toString(int indentSpaces)Encodes this object as a human readable JSON string for debugging, such as:StringJSONStringer. toString()Returns the encoded JSON string.StringJSONTokener. toString()Returns the current position and the entire input string.Methods in org.json with parameters of type String Modifier and Type Method Description JSONObjectJSONObject. accumulate(String name, Object value)Appendsvalueto the array already mapped toname.ObjectJSONObject. get(String name)Returns the value mapped byname.booleanJSONObject. getBoolean(String name)Returns the value mapped bynameif it exists and is a boolean or can be coerced to a boolean.doubleJSONObject. getDouble(String name)Returns the value mapped bynameif it exists and is a double or can be coerced to a double.intJSONObject. getInt(String name)Returns the value mapped bynameif it exists and is an int or can be coerced to an int.JSONArrayJSONObject. getJSONArray(String name)Returns the value mapped bynameif it exists and is aJSONArray.JSONObjectJSONObject. getJSONObject(String name)Returns the value mapped bynameif it exists and is aJSONObject.longJSONObject. getLong(String name)Returns the value mapped bynameif it exists and is a long or can be coerced to a long.StringJSONObject. getString(String name)Returns the value mapped bynameif it exists, coercing it if necessary.booleanJSONObject. has(String name)Returns true if this object has a mapping forname.booleanJSONObject. isNull(String name)Returns true if this object has no mapping fornameor if it has a mapping whose value isJSONObject.NULL.StringJSONArray. join(String separator)Returns a new string by alternating this array's values withseparator.JSONStringerJSONStringer. key(String name)Encodes the key (property name) to this stringer.StringJSONTokener. nextTo(String excluded)Returns thetrimmedstring holding the characters up to but not including the first of: any character inexcludeda newline character '\n' a carriage return '\r'ObjectJSONObject. opt(String name)Returns the value mapped byname, or null if no such mapping exists.booleanJSONObject. optBoolean(String name)Returns the value mapped bynameif it exists and is a boolean or can be coerced to a boolean.booleanJSONObject. optBoolean(String name, boolean fallback)Returns the value mapped bynameif it exists and is a boolean or can be coerced to a boolean.doubleJSONObject. optDouble(String name)Returns the value mapped bynameif it exists and is a double or can be coerced to a double.doubleJSONObject. optDouble(String name, double fallback)Returns the value mapped bynameif it exists and is a double or can be coerced to a double.intJSONObject. optInt(String name)Returns the value mapped bynameif it exists and is an int or can be coerced to an int.intJSONObject. optInt(String name, int fallback)Returns the value mapped bynameif it exists and is an int or can be coerced to an int.JSONArrayJSONObject. optJSONArray(String name)Returns the value mapped bynameif it exists and is aJSONArray.JSONObjectJSONObject. optJSONObject(String name)Returns the value mapped bynameif it exists and is aJSONObject.longJSONObject. optLong(String name)Returns the value mapped bynameif it exists and is a long or can be coerced to a long.longJSONObject. optLong(String name, long fallback)Returns the value mapped bynameif it exists and is a long or can be coerced to a long.StringJSONArray. optString(int index, String fallback)Returns the value atindexif it exists, coercing it if necessary.StringJSONObject. optString(String name)Returns the value mapped bynameif it exists, coercing it if necessary.StringJSONObject. optString(String name, String fallback)Returns the value mapped bynameif it exists, coercing it if necessary.JSONObjectJSONObject. put(String name, boolean value)Mapsnametovalue, clobbering any existing name/value mapping with the same name.JSONObjectJSONObject. put(String name, double value)Mapsnametovalue, clobbering any existing name/value mapping with the same name.JSONObjectJSONObject. put(String name, int value)Mapsnametovalue, clobbering any existing name/value mapping with the same name.JSONObjectJSONObject. put(String name, long value)Mapsnametovalue, clobbering any existing name/value mapping with the same name.JSONObjectJSONObject. put(String name, Object value)Mapsnametovalue, clobbering any existing name/value mapping with the same name.JSONObjectJSONObject. putOpt(String name, Object value)Equivalent toput(name, value)when both parameters are non-null; does nothing otherwise.static StringJSONObject. quote(String data)Encodesdataas a JSON string.ObjectJSONObject. remove(String name)Removes the named mapping if it exists; does nothing otherwise.voidJSONTokener. skipPast(String thru)Advances past all input up to and including the next occurrence ofthru.JSONExceptionJSONTokener. syntaxError(String message)Returns an exception containing the given message plus the current position and the entire input string.Constructors in org.json with parameters of type String Constructor Description JSONArray(String json)Creates a newJSONArraywith values from the JSON string.JSONException(String s)JSONObject(String json)Creates a newJSONObjectwith name/value mappings from the JSON string.JSONObject(JSONObject copyFrom, String[] names)Creates a newJSONObjectby copying mappings for the listed names from the given object.JSONTokener(String in) -
Uses of String in org.kxml2.io
Methods in org.kxml2.io that return String Modifier and Type Method Description StringKXmlParser. getAttributeName(int index)StringKXmlParser. getAttributeNamespace(int index)StringKXmlParser. getAttributePrefix(int index)StringKXmlParser. getAttributeType(int index)StringKXmlParser. getAttributeValue(int index)StringKXmlParser. getAttributeValue(String namespace, String name)StringKXmlParser. getInputEncoding()StringKXmlParser. getName()StringKXmlSerializer. getName()StringKXmlParser. getNamespace()StringKXmlParser. getNamespace(String prefix)StringKXmlSerializer. getNamespace()StringKXmlParser. getNamespacePrefix(int pos)StringKXmlParser. getNamespaceUri(int pos)StringKXmlParser. getPositionDescription()StringKXmlParser. getPrefix()StringKXmlSerializer. getPrefix(String namespace, boolean create)StringKXmlParser. getPublicId()Returns the document's public ID if it was declared.StringKXmlParser. getRootElementName()Returns the root element's name if it was declared in the DTD.StringKXmlParser. getSystemId()Returns the document's system ID if it was declared.StringKXmlParser. getText()StringKXmlParser. nextText()Methods in org.kxml2.io with parameters of type String Modifier and Type Method Description XmlSerializerKXmlSerializer. attribute(String namespace, String name, String value)voidKXmlSerializer. cdsect(String data)voidKXmlSerializer. comment(String comment)voidKXmlParser. defineEntityReplacementText(String entity, String value)voidKXmlSerializer. docdecl(String dd)XmlSerializerKXmlSerializer. endTag(String namespace, String name)voidKXmlSerializer. entityRef(String name)StringKXmlParser. getAttributeValue(String namespace, String name)booleanKXmlParser. getFeature(String feature)booleanKXmlSerializer. getFeature(String name)StringKXmlParser. getNamespace(String prefix)StringKXmlSerializer. getPrefix(String namespace, boolean create)ObjectKXmlParser. getProperty(String property)ObjectKXmlSerializer. getProperty(String name)voidKXmlSerializer. ignorableWhitespace(String s)voidKXmlSerializer. processingInstruction(String pi)voidKXmlParser. require(int type, String namespace, String name)voidKXmlParser. setFeature(String feature, boolean value)voidKXmlSerializer. setFeature(String name, boolean value)voidKXmlParser. setInput(InputStream is, String charset)voidKXmlSerializer. setOutput(OutputStream os, String encoding)voidKXmlSerializer. setPrefix(String prefix, String namespace)voidKXmlParser. setProperty(String property, Object value)voidKXmlSerializer. setProperty(String name, Object value)voidKXmlSerializer. startDocument(String encoding, Boolean standalone)XmlSerializerKXmlSerializer. startTag(String namespace, String name)XmlSerializerKXmlSerializer. text(String text) -
Uses of String in org.robovm.rt
Fields in org.robovm.rt declared as String Modifier and Type Field Description static StringVMVersion. VERSIONMethods in org.robovm.rt that return String Modifier and Type Method Description static StringVM. bootClassPath()Returns the VM's boot class path.static StringVM. classPath()Returns the VM's class path.static StringVM. imagePath()Returns the path to the executable or dynamic library currently running.static StringVM. newStringNoCopy(char[] chars, int offset, int length)static StringVM. newStringUTF(long address)static StringVM. resourcesPath()Returns the resources path where the apps or frameworks resources are located.static String[]VM. staticLibs()Returns the names of any static libraries that have been linked into the executable.static StringVM. vmVersion()Returns the VM's version.Methods in org.robovm.rt with parameters of type String Modifier and Type Method Description static byte[]VM. getRuntimeData(String id)Returns runtime data linked into the executable during compilation.static longVM. getStringUTFChars(String s) -
Uses of String in org.robovm.rt.annotation
Methods in org.robovm.rt.annotation that return String Modifier and Type Method Description StringAnnotation. toString()Methods in org.robovm.rt.annotation with parameters of type String Modifier and Type Method Description protected ObjectAnnotation. getDefaultValue(String memberName)protected intAnnotation. hash(Object value, String memberName)protected voidAnnotation. memberToString(StringBuilder sb, Object value, String memberName, boolean first)protected ObjectAnnotation. validate(Object value, String memberName) -
Uses of String in org.robovm.rt.bro
Methods in org.robovm.rt.bro that return String Modifier and Type Method Description static StringStringMarshalers.AsAsciiZMarshaler. toObject(Class<?> cls, long handle, long flags)static StringStringMarshalers.AsAsciiZMarshaler. toObject(Class<?> cls, long handle, long flags, int d1)static StringStringMarshalers.AsDefaultCharsetZMarshaler. toObject(Class<?> cls, long handle, long flags)static StringStringMarshalers.AsDefaultCharsetZMarshaler. toObject(Class<?> cls, long handle, long flags, int d1)static StringStringMarshalers.AsLatin1ZMarshaler. toObject(Class<?> cls, long handle, long flags)static StringStringMarshalers.AsLatin1ZMarshaler. toObject(Class<?> cls, long handle, long flags, int d1)static StringStringMarshalers.AsUtf8ZMarshaler. toObject(Class<?> cls, long handle, long flags)static StringStringMarshalers.AsUtf8ZMarshaler. toObject(Class<?> cls, long handle, long flags, int d1)static StringStringMarshalers.AsWindow1252ZMarshaler. toObject(Class<?> cls, long handle, long flags)static StringStringMarshalers.AsWindow1252ZMarshaler. toObject(Class<?> cls, long handle, long flags, int d1)StringStringMarshalers.EightBitZeroTerminatedStringMarshaler. toObject(Class<?> cls, long handle, long flags)StringStringMarshalers.EightBitZeroTerminatedStringMarshaler. toObject(Class<?> cls, long handle, long flags, int d1)StringBits. toString()Methods in org.robovm.rt.bro with parameters of type String Modifier and Type Method Description static voidBro. addSearchPath(String path)static voidRuntime. addSearchPath(String path)protected static longRuntime. getHandle(String name)static voidRuntime. loadLibrary(String name)static longRuntime. resolveBridge(String libraryName, String symbol, Method method)static longStringMarshalers.AsAsciiZMarshaler. toNative(String s, long flags)static voidStringMarshalers.AsAsciiZMarshaler. toNative(String s, long handle, long flags, int d1)static longStringMarshalers.AsDefaultCharsetZMarshaler. toNative(String s, long flags)static voidStringMarshalers.AsDefaultCharsetZMarshaler. toNative(String s, long handle, long flags, int d1)static longStringMarshalers.AsLatin1ZMarshaler. toNative(String s, long flags)static voidStringMarshalers.AsLatin1ZMarshaler. toNative(String s, long handle, long flags, int d1)static longStringMarshalers.AsUtf8ZMarshaler. toNative(String s, long flags)static voidStringMarshalers.AsUtf8ZMarshaler. toNative(String s, long handle, long flags, int d1)static longStringMarshalers.AsWindow1252ZMarshaler. toNative(String s, long flags)static voidStringMarshalers.AsWindow1252ZMarshaler. toNative(String s, long handle, long flags, int d1)longStringMarshalers.EightBitZeroTerminatedStringMarshaler. toNative(String s, long flags)voidStringMarshalers.EightBitZeroTerminatedStringMarshaler. toNative(String s, long handle, long flags, int d1)Constructors in org.robovm.rt.bro with parameters of type String Constructor Description EightBitZeroTerminatedStringMarshaler(String charsetName)EnumConstantMissingException(long missingValue, String message)LazyGlobalValue(Class<?> owner, String getterName)Creates a new constantLazyGlobalValue.LazyGlobalValue(Class<?> owner, String getterName, boolean constant)Creates a newLazyGlobalValue. -
Uses of String in org.robovm.rt.bro.annotation
Fields in org.robovm.rt.bro.annotation declared as String Modifier and Type Field Description static StringLibrary. INTERNALSpecial library name used to bindBridgemethods to functions linked into the current executable. -
Uses of String in org.robovm.rt.bro.ptr
Methods in org.robovm.rt.bro.ptr that return String Modifier and Type Method Description StringBytePtr. toStringAsciiZ()StringBytePtr. toStringZ()StringBytePtr. toStringZ(Charset charset)Methods in org.robovm.rt.bro.ptr with parameters of type String Modifier and Type Method Description static BytePtrBytePtr. toBytePtrAsciiZ(String s)Converts the specifiedStringto a NUL-terminated C string of ASCII characters.static BytePtrBytePtr. toBytePtrAsciiZ(String s, boolean useNativeHeap)Converts the specifiedStringto a NUL-terminated C string of ASCII characters.static BytePtrBytePtr. toBytePtrZ(String s)static BytePtrBytePtr. toBytePtrZ(String s, Charset charset)static BytePtrBytePtr. toBytePtrZ(String s, Charset charset, boolean useNativeHeap) -
Uses of String in org.w3c.dom
Methods in org.w3c.dom that return String Modifier and Type Method Description StringElement. getAttribute(String name)Retrieves an attribute value by name.StringElement. getAttributeNS(String namespaceURI, String localName)Retrieves an attribute value by local name and namespace URI.StringNode. getBaseURI()The absolute base URI of this node ornullif the implementation wasn't able to obtain an absolute URI.StringCharacterData. getData()The character data of the node that implements this interface.StringProcessingInstruction. getData()The content of this processing instruction.StringDocument. getDocumentURI()The location of the document ornullif undefined or if theDocumentwas created usingDOMImplementation.createDocument.StringDocument. getInputEncoding()An attribute specifying the encoding used for this document at the time of the parsing.StringEntity. getInputEncoding()An attribute specifying the encoding used for this entity at the time of parsing, when it is an external parsed entity.StringDocumentType. getInternalSubset()The internal subset as a string, ornullif there is none.StringNode. getLocalName()Returns the local part of the qualified name of this node.StringDOMError. getMessage()An implementation specific string describing the error that occurred.StringAttr. getName()Returns the name of this attribute.StringDocumentType. getName()The name of DTD; i.e., the name immediately following theDOCTYPEkeyword.StringNameList. getName(int index)Returns theindexth name item in the collection.StringNameList. getNamespaceURI(int index)Returns theindexth namespaceURI item in the collection.StringNode. getNamespaceURI()The namespace URI of this node, ornullif it is unspecified (see ).StringNode. getNodeName()The name of this node, depending on its type; see the table above.StringNode. getNodeValue()The value of this node, depending on its type; see the table above.StringEntity. getNotationName()For unparsed entities, the name of the notation for the entity.StringNode. getPrefix()The namespace prefix of this node, ornullif it is unspecified.StringDocumentType. getPublicId()The public identifier of the external subset.StringEntity. getPublicId()The public identifier associated with the entity if specified, andnullotherwise.StringNotation. getPublicId()The public identifier of this notation.StringDocumentType. getSystemId()The system identifier of the external subset.StringEntity. getSystemId()The system identifier associated with the entity if specified, andnullotherwise.StringNotation. getSystemId()The system identifier of this notation.StringElement. getTagName()The name of the element.StringProcessingInstruction. getTarget()The target of this processing instruction.StringNode. getTextContent()This attribute returns the text content of this node and its descendants.StringDOMError. getType()ADOMStringindicating which related data is expected inrelatedData.StringTypeInfo. getTypeName()The name of a type declared for the associated element or attribute, ornullif unknown.StringTypeInfo. getTypeNamespace()The namespace of the type declared for the associated element or attribute ornullif the element does not have declaration or if no namespace information is available.StringDOMLocator. getUri()The URI this locator is pointing to, ornullif no URI is available.StringAttr. getValue()On retrieval, the value of the attribute is returned as a string.StringText. getWholeText()Returns all text ofTextnodes logically-adjacent text nodes to this node, concatenated in document order.StringDocument. getXmlEncoding()An attribute specifying, as part of the XML declaration, the encoding of this document.StringEntity. getXmlEncoding()An attribute specifying, as part of the text declaration, the encoding of this entity, when it is an external parsed entity.StringDocument. getXmlVersion()An attribute specifying, as part of the XML declaration, the version number of this document.StringEntity. getXmlVersion()An attribute specifying, as part of the text declaration, the version number of this entity, when it is an external parsed entity.StringDOMStringList. item(int index)Returns theindexth item in the collection.StringNode. lookupNamespaceURI(String prefix)Look up the namespace URI associated to the given prefix, starting from this node.StringNode. lookupPrefix(String namespaceURI)Look up the prefix associated to the given namespace URI, starting from this node.StringCharacterData. substringData(int offset, int count)Extracts a range of data from the node.Methods in org.w3c.dom with parameters of type String Modifier and Type Method Description voidCharacterData. appendData(String arg)Append the string to the end of the character data of the node.booleanDOMConfiguration. canSetParameter(String name, Object value)Check if setting a parameter to a specific value is supported.booleanDOMStringList. contains(String str)Test if a string is part of thisDOMStringList.booleanNameList. contains(String str)Test if a name is part of thisNameList.booleanNameList. containsNS(String namespaceURI, String name)Test if the pair namespaceURI/name is part of thisNameList.AttrDocument. createAttribute(String name)Creates anAttrof the given name.AttrDocument. createAttributeNS(String namespaceURI, String qualifiedName)Creates an attribute of the given qualified name and namespace URI.CDATASectionDocument. createCDATASection(String data)Creates aCDATASectionnode whose value is the specified string.CommentDocument. createComment(String data)Creates aCommentnode given the specified string.DocumentDOMImplementation. createDocument(String namespaceURI, String qualifiedName, DocumentType doctype)Creates a DOM Document object of the specified type with its document element.DocumentTypeDOMImplementation. createDocumentType(String qualifiedName, String publicId, String systemId)Creates an emptyDocumentTypenode.ElementDocument. createElement(String tagName)Creates an element of the type specified.ElementDocument. createElementNS(String namespaceURI, String qualifiedName)Creates an element of the given qualified name and namespace URI.EntityReferenceDocument. createEntityReference(String name)Creates anEntityReferenceobject.ProcessingInstructionDocument. createProcessingInstruction(String target, String data)Creates aProcessingInstructionnode given the specified name and data strings.TextDocument. createTextNode(String data)Creates aTextnode given the specified string.StringElement. getAttribute(String name)Retrieves an attribute value by name.AttrElement. getAttributeNode(String name)Retrieves an attribute node by name.AttrElement. getAttributeNodeNS(String namespaceURI, String localName)Retrieves anAttrnode by local name and namespace URI.StringElement. getAttributeNS(String namespaceURI, String localName)Retrieves an attribute value by local name and namespace URI.DOMImplementationDOMImplementationSource. getDOMImplementation(String features)A method to request the first DOM implementation that supports the specified features.DOMImplementationListDOMImplementationSource. getDOMImplementationList(String features)A method to request a list of DOM implementations that support the specified features and versions, as specified in .ElementDocument. getElementById(String elementId)Returns theElementthat has an ID attribute with the given value.NodeListDocument. getElementsByTagName(String tagname)Returns aNodeListof all theElementsin document order with a given tag name and are contained in the document.NodeListElement. getElementsByTagName(String name)Returns aNodeListof all descendantElementswith a given tag name, in document order.NodeListDocument. getElementsByTagNameNS(String namespaceURI, String localName)Returns aNodeListof all theElementswith a given local name and namespace URI in document order.NodeListElement. getElementsByTagNameNS(String namespaceURI, String localName)Returns aNodeListof all the descendantElementswith a given local name and namespace URI in document order.ObjectDOMImplementation. getFeature(String feature, String version)This method returns a specialized object which implements the specialized APIs of the specified feature and version, as specified in .ObjectNode. getFeature(String feature, String version)This method returns a specialized object which implements the specialized APIs of the specified feature and version, as specified in .NodeNamedNodeMap. getNamedItem(String name)Retrieves a node specified by name.NodeNamedNodeMap. getNamedItemNS(String namespaceURI, String localName)Retrieves a node specified by local name and namespace URI.ObjectDOMConfiguration. getParameter(String name)Return the value of a parameter if known.ObjectNode. getUserData(String key)Retrieves the object associated to a key on a this node.voidUserDataHandler. handle(short operation, String key, Object data, Node src, Node dst)This method is called whenever the node for which this handler is registered is imported or cloned.booleanElement. hasAttribute(String name)Returnstruewhen an attribute with a given name is specified on this element or has a default value,falseotherwise.booleanElement. hasAttributeNS(String namespaceURI, String localName)Returnstruewhen an attribute with a given local name and namespace URI is specified on this element or has a default value,falseotherwise.booleanDOMImplementation. hasFeature(String feature, String version)Test if the DOM implementation implements a specific feature and version, as specified in .voidCharacterData. insertData(int offset, String arg)Insert a string at the specified 16-bit unit offset.booleanNode. isDefaultNamespace(String namespaceURI)This method checks if the specifiednamespaceURIis the default namespace or not.booleanTypeInfo. isDerivedFrom(String typeNamespaceArg, String typeNameArg, int derivationMethod)This method returns if there is a derivation between the reference type definition, i.e.booleanNode. isSupported(String feature, String version)Tests whether the DOM implementation implements a specific feature and that feature is supported by this node, as specified in .StringNode. lookupNamespaceURI(String prefix)Look up the namespace URI associated to the given prefix, starting from this node.StringNode. lookupPrefix(String namespaceURI)Look up the prefix associated to the given namespace URI, starting from this node.voidElement. removeAttribute(String name)Removes an attribute by name.voidElement. removeAttributeNS(String namespaceURI, String localName)Removes an attribute by local name and namespace URI.NodeNamedNodeMap. removeNamedItem(String name)Removes a node specified by name.NodeNamedNodeMap. removeNamedItemNS(String namespaceURI, String localName)Removes a node specified by local name and namespace URI.NodeDocument. renameNode(Node n, String namespaceURI, String qualifiedName)Rename an existing node of typeELEMENT_NODEorATTRIBUTE_NODE.voidCharacterData. replaceData(int offset, int count, String arg)Replace the characters starting at the specified 16-bit unit offset with the specified string.TextText. replaceWholeText(String content)Replaces the text of the current node and all logically-adjacent text nodes with the specified text.voidElement. setAttribute(String name, String value)Adds a new attribute.voidElement. setAttributeNS(String namespaceURI, String qualifiedName, String value)Adds a new attribute.voidCharacterData. setData(String data)The character data of the node that implements this interface.voidProcessingInstruction. setData(String data)The content of this processing instruction.voidDocument. setDocumentURI(String documentURI)The location of the document ornullif undefined or if theDocumentwas created usingDOMImplementation.createDocument.voidElement. setIdAttribute(String name, boolean isId)If the parameterisIdistrue, this method declares the specified attribute to be a user-determined ID attribute .voidElement. setIdAttributeNS(String namespaceURI, String localName, boolean isId)If the parameterisIdistrue, this method declares the specified attribute to be a user-determined ID attribute .voidNode. setNodeValue(String nodeValue)The value of this node, depending on its type; see the table above.voidDOMConfiguration. setParameter(String name, Object value)Set the value of a parameter.voidNode. setPrefix(String prefix)The namespace prefix of this node, ornullif it is unspecified.voidNode. setTextContent(String textContent)This attribute returns the text content of this node and its descendants.ObjectNode. setUserData(String key, Object data, UserDataHandler handler)Associate an object to a key on this node.voidAttr. setValue(String value)On retrieval, the value of the attribute is returned as a string.voidDocument. setXmlVersion(String xmlVersion)An attribute specifying, as part of the XML declaration, the version number of this document.Constructors in org.w3c.dom with parameters of type String Constructor Description DOMException(short code, String message) -
Uses of String in org.w3c.dom.ls
Methods in org.w3c.dom.ls that return String Modifier and Type Method Description StringLSInput. getBaseURI()The base URI to be used (see section 5.1.4 in [IETF RFC 2396]) for resolving a relativesystemIdto an absolute URI.StringLSInput. getEncoding()The character encoding, if known.StringLSOutput. getEncoding()The character encoding to use for the output.StringLSSerializer. getNewLine()The end-of-line sequence of characters to be used in the XML being written out.StringLSInput. getPublicId()The public identifier for this input source.StringLSInput. getStringData()String data to parse.StringLSInput. getSystemId()The system identifier, a URI reference [IETF RFC 2396], for this input source.StringLSOutput. getSystemId()The system identifier, a URI reference [IETF RFC 2396], for this output destination.StringLSSerializer. writeToString(Node nodeArg)Serialize the specified node as described above in the general description of theLSSerializerinterface.Methods in org.w3c.dom.ls with parameters of type String Modifier and Type Method Description LSParserDOMImplementationLS. createLSParser(short mode, String schemaType)Create a newLSParser.DocumentLSParser. parseURI(String uri)Parse an XML document from a location identified by a URI reference [IETF RFC 2396].LSInputLSResourceResolver. resolveResource(String type, String namespaceURI, String publicId, String systemId, String baseURI)Allow the application to resolve external resources.voidLSInput. setBaseURI(String baseURI)The base URI to be used (see section 5.1.4 in [IETF RFC 2396]) for resolving a relativesystemIdto an absolute URI.voidLSInput. setEncoding(String encoding)The character encoding, if known.voidLSOutput. setEncoding(String encoding)The character encoding to use for the output.voidLSSerializer. setNewLine(String newLine)The end-of-line sequence of characters to be used in the XML being written out.voidLSInput. setPublicId(String publicId)The public identifier for this input source.voidLSInput. setStringData(String stringData)String data to parse.voidLSInput. setSystemId(String systemId)The system identifier, a URI reference [IETF RFC 2396], for this input source.voidLSOutput. setSystemId(String systemId)The system identifier, a URI reference [IETF RFC 2396], for this output destination.booleanLSSerializer. writeToURI(Node nodeArg, String uri)A convenience method that acts as ifLSSerializer.writewas called with aLSOutputwith no encoding specified andLSOutput.systemIdset to theuriargument.Constructors in org.w3c.dom.ls with parameters of type String Constructor Description LSException(short code, String message) -
Uses of String in org.xml.sax
Methods in org.xml.sax that return String Modifier and Type Method Description StringInputSource. getEncoding()Get the character encoding for a byte stream or URI.StringAttributes. getLocalName(int index)Look up an attribute's local name by index.StringSAXException. getMessage()Return a detail message for this exception.StringAttributeList. getName(int i)Deprecated.Return the name of an attribute in this list (by position).StringInputSource. getPublicId()Get the public identifier for this input source.StringLocator. getPublicId()Return the public identifier for the current document event.StringSAXParseException. getPublicId()Get the public identifier of the entity where the exception occurred.StringAttributes. getQName(int index)Look up an attribute's XML qualified (prefixed) name by index.StringInputSource. getSystemId()Get the system identifier for this input source.StringLocator. getSystemId()Return the system identifier for the current document event.StringSAXParseException. getSystemId()Get the system identifier of the entity where the exception occurred.StringAttributeList. getType(int i)Deprecated.Return the type of an attribute in the list (by position).StringAttributeList. getType(String name)Deprecated.Return the type of an attribute in the list (by name).StringAttributes. getType(int index)Look up an attribute's type by index.StringAttributes. getType(String qName)Look up an attribute's type by XML qualified (prefixed) name.StringAttributes. getType(String uri, String localName)Look up an attribute's type by Namespace name.StringAttributes. getURI(int index)Look up an attribute's Namespace URI by index.StringAttributeList. getValue(int i)Deprecated.Return the value of an attribute in the list (by position).StringAttributeList. getValue(String name)Deprecated.Return the value of an attribute in the list (by name).StringAttributes. getValue(int index)Look up an attribute's value by index.StringAttributes. getValue(String qName)Look up an attribute's value by XML qualified (prefixed) name.StringAttributes. getValue(String uri, String localName)Look up an attribute's value by Namespace name.StringSAXException. toString()Override toString to pick up any embedded exception.Methods in org.xml.sax with parameters of type String Modifier and Type Method Description voidContentHandler. endElement(String uri, String localName, String qName)Receive notification of the end of an element.voidDocumentHandler. endElement(String name)Deprecated.Receive notification of the end of an element.voidHandlerBase. endElement(String name)Deprecated.Receive notification of the end of an element.voidContentHandler. endPrefixMapping(String prefix)End the scope of a prefix-URI mapping.booleanXMLReader. getFeature(String name)Look up the value of a feature flag.intAttributes. getIndex(String qName)Look up the index of an attribute by XML qualified (prefixed) name.intAttributes. getIndex(String uri, String localName)Look up the index of an attribute by Namespace name.ObjectXMLReader. getProperty(String name)Look up the value of a property.StringAttributeList. getType(String name)Deprecated.Return the type of an attribute in the list (by name).StringAttributes. getType(String qName)Look up an attribute's type by XML qualified (prefixed) name.StringAttributes. getType(String uri, String localName)Look up an attribute's type by Namespace name.StringAttributeList. getValue(String name)Deprecated.Return the value of an attribute in the list (by name).StringAttributes. getValue(String qName)Look up an attribute's value by XML qualified (prefixed) name.StringAttributes. getValue(String uri, String localName)Look up an attribute's value by Namespace name.voidDTDHandler. notationDecl(String name, String publicId, String systemId)Receive notification of a notation declaration event.voidHandlerBase. notationDecl(String name, String publicId, String systemId)Deprecated.Receive notification of a notation declaration.voidParser. parse(String systemId)Deprecated.Parse an XML document from a system identifier (URI).voidXMLReader. parse(String systemId)Parse an XML document from a system identifier (URI).voidContentHandler. processingInstruction(String target, String data)Receive notification of a processing instruction.voidDocumentHandler. processingInstruction(String target, String data)Deprecated.Receive notification of a processing instruction.voidHandlerBase. processingInstruction(String target, String data)Deprecated.Receive notification of a processing instruction.InputSourceEntityResolver. resolveEntity(String publicId, String systemId)Allow the application to resolve external entities.InputSourceHandlerBase. resolveEntity(String publicId, String systemId)Deprecated.Resolve an external entity.voidInputSource. setEncoding(String encoding)Set the character encoding, if known.voidXMLReader. setFeature(String name, boolean value)Set the value of a feature flag.voidXMLReader. setProperty(String name, Object value)Set the value of a property.voidInputSource. setPublicId(String publicId)Set the public identifier for this input source.voidInputSource. setSystemId(String systemId)Set the system identifier for this input source.voidContentHandler. skippedEntity(String name)Receive notification of a skipped entity.voidContentHandler. startElement(String uri, String localName, String qName, Attributes atts)Receive notification of the beginning of an element.voidDocumentHandler. startElement(String name, AttributeList atts)Deprecated.Receive notification of the beginning of an element.voidHandlerBase. startElement(String name, AttributeList attributes)Deprecated.Receive notification of the start of an element.voidContentHandler. startPrefixMapping(String prefix, String uri)Begin the scope of a prefix-URI Namespace mapping.voidDTDHandler. unparsedEntityDecl(String name, String publicId, String systemId, String notationName)Receive notification of an unparsed entity declaration event.voidHandlerBase. unparsedEntityDecl(String name, String publicId, String systemId, String notationName)Deprecated.Receive notification of an unparsed entity declaration.Constructors in org.xml.sax with parameters of type String Constructor Description InputSource(String systemId)Create a new input source with a system identifier.SAXException(String message)Create a new SAXException.SAXException(String message, Exception e)Create a new SAXException from an existing exception.SAXNotRecognizedException(String message)Construct a new exception with the given message.SAXNotSupportedException(String message)Construct a new exception with the given message.SAXParseException(String message, String publicId, String systemId, int lineNumber, int columnNumber)Create a new SAXParseException.SAXParseException(String message, String publicId, String systemId, int lineNumber, int columnNumber, Exception e)Create a new SAXParseException with an embedded exception.SAXParseException(String message, Locator locator)Create a new SAXParseException from a message and a Locator.SAXParseException(String message, Locator locator, Exception e)Wrap an existing exception in a SAXParseException. -
Uses of String in org.xml.sax.ext
Methods in org.xml.sax.ext that return String Modifier and Type Method Description StringLocator2. getEncoding()Returns the name of the character encoding for the entity.StringLocator2Impl. getEncoding()Returns the current value of the encoding property.StringLocator2. getXMLVersion()Returns the version of XML used for the entity.StringLocator2Impl. getXMLVersion()Returns the current value of the version property.Methods in org.xml.sax.ext with parameters of type String Modifier and Type Method Description voidAttributes2Impl. addAttribute(String uri, String localName, String qName, String type, String value)Add an attribute to the end of the list, setting its "specified" flag to true.voidDeclHandler. attributeDecl(String eName, String aName, String type, String mode, String value)Report an attribute type declaration.voidDefaultHandler2. attributeDecl(String eName, String aName, String type, String mode, String value)voidDeclHandler. elementDecl(String name, String model)Report an element type declaration.voidDefaultHandler2. elementDecl(String name, String model)voidDefaultHandler2. endEntity(String name)voidLexicalHandler. endEntity(String name)Report the end of an entity.voidDeclHandler. externalEntityDecl(String name, String publicId, String systemId)Report a parsed external entity declaration.voidDefaultHandler2. externalEntityDecl(String name, String publicId, String systemId)InputSourceDefaultHandler2. getExternalSubset(String name, String baseURI)Tells the parser that if no external subset has been declared in the document text, none should be used.InputSourceEntityResolver2. getExternalSubset(String name, String baseURI)Allows applications to provide an external subset for documents that don't explicitly define one.voidDeclHandler. internalEntityDecl(String name, String value)Report an internal entity declaration.voidDefaultHandler2. internalEntityDecl(String name, String value)booleanAttributes2. isDeclared(String qName)Returns false unless the attribute was declared in the DTD.booleanAttributes2. isDeclared(String uri, String localName)Returns false unless the attribute was declared in the DTD.booleanAttributes2Impl. isDeclared(String qName)booleanAttributes2Impl. isDeclared(String uri, String localName)booleanAttributes2. isSpecified(String qName)Returns true unless the attribute value was provided by DTD defaulting.booleanAttributes2. isSpecified(String uri, String localName)Returns true unless the attribute value was provided by DTD defaulting.booleanAttributes2Impl. isSpecified(String qName)Returns the current value of an attribute's "specified" flag.booleanAttributes2Impl. isSpecified(String uri, String localName)Returns the current value of an attribute's "specified" flag.InputSourceDefaultHandler2. resolveEntity(String publicId, String systemId)InvokesEntityResolver2.resolveEntity()with null entity name and base URI.InputSourceDefaultHandler2. resolveEntity(String name, String publicId, String baseURI, String systemId)Tells the parser to resolve the systemId against the baseURI and read the entity text from that resulting absolute URI.InputSourceEntityResolver2. resolveEntity(String name, String publicId, String baseURI, String systemId)Allows applications to map references to external entities into input sources, or tell the parser it should use conventional URI resolution.voidLocator2Impl. setEncoding(String encoding)Assigns the current value of the encoding property.voidLocator2Impl. setXMLVersion(String version)Assigns the current value of the version property.voidDefaultHandler2. startDTD(String name, String publicId, String systemId)voidLexicalHandler. startDTD(String name, String publicId, String systemId)Report the start of DTD declarations, if any.voidDefaultHandler2. startEntity(String name)voidLexicalHandler. startEntity(String name)Report the beginning of some internal and external XML entities. -
Uses of String in org.xml.sax.helpers
Fields in org.xml.sax.helpers declared as String Modifier and Type Field Description static StringNamespaceSupport. NSDECLThe namespace declaration URI as a constant.static StringNamespaceSupport. XMLNSThe XML Namespace URI as a constant.Methods in org.xml.sax.helpers that return String Modifier and Type Method Description StringAttributesImpl. getLocalName(int index)Return an attribute's local name.StringAttributeListImpl. getName(int i)Deprecated.Get the name of an attribute (by position).StringNamespaceSupport. getPrefix(String uri)Return one of the prefixes mapped to a Namespace URI.StringLocatorImpl. getPublicId()Return the saved public identifier.StringAttributesImpl. getQName(int index)Return an attribute's qualified (prefixed) name.StringLocatorImpl. getSystemId()Return the saved system identifier.StringAttributeListImpl. getType(int i)Deprecated.Get the type of an attribute (by position).StringAttributeListImpl. getType(String name)Deprecated.Get the type of an attribute (by name).StringAttributesImpl. getType(int index)Return an attribute's type by index.StringAttributesImpl. getType(String qName)Look up an attribute's type by qualified (prefixed) name.StringAttributesImpl. getType(String uri, String localName)Look up an attribute's type by Namespace-qualified name.StringAttributesImpl. getURI(int index)Return an attribute's Namespace URI.StringNamespaceSupport. getURI(String prefix)Look up a prefix and get the currently-mapped Namespace URI.StringAttributeListImpl. getValue(int i)Deprecated.Get the value of an attribute (by position).StringAttributeListImpl. getValue(String name)Deprecated.Get the value of an attribute (by name).StringAttributesImpl. getValue(int index)Return an attribute's value by index.StringAttributesImpl. getValue(String qName)Look up an attribute's value by qualified (prefixed) name.StringAttributesImpl. getValue(String uri, String localName)Look up an attribute's value by Namespace-qualified name.String[]NamespaceSupport. processName(String qName, String[] parts, boolean isAttribute)Process a raw XML qualified name, after all declarations in the current context have been handled bydeclarePrefix().Methods in org.xml.sax.helpers with parameters of type String Modifier and Type Method Description voidAttributeListImpl. addAttribute(String name, String type, String value)Deprecated.Add an attribute to an attribute list.voidAttributesImpl. addAttribute(String uri, String localName, String qName, String type, String value)Add an attribute to the end of the list.static XMLReaderXMLReaderFactory. createXMLReader(String className)Attempt to create an XML reader from a class name.booleanNamespaceSupport. declarePrefix(String prefix, String uri)Declare a Namespace prefix.voidDefaultHandler. endElement(String uri, String localName, String qName)Receive notification of the end of an element.voidParserAdapter. endElement(String qName)Adapter implementation method; do not call.voidXMLFilterImpl. endElement(String uri, String localName, String qName)Filter an end element event.voidXMLReaderAdapter. endElement(String uri, String localName, String qName)Adapt a SAX2 end element event.voidDefaultHandler. endPrefixMapping(String prefix)Receive notification of the end of a Namespace mapping.voidXMLFilterImpl. endPrefixMapping(String prefix)Filter an end Namespace prefix mapping event.voidXMLReaderAdapter. endPrefixMapping(String prefix)Adapt a SAX2 end prefix mapping event.booleanParserAdapter. getFeature(String name)Check a parser feature flag.booleanXMLFilterImpl. getFeature(String name)Look up the value of a feature.intAttributesImpl. getIndex(String qName)Look up an attribute's index by qualified (prefixed) name.intAttributesImpl. getIndex(String uri, String localName)Look up an attribute's index by Namespace name.StringNamespaceSupport. getPrefix(String uri)Return one of the prefixes mapped to a Namespace URI.EnumerationNamespaceSupport. getPrefixes(String uri)Return an enumeration of all prefixes for a given URI whose declarations are active in the current context.ObjectParserAdapter. getProperty(String name)Get a parser property.ObjectXMLFilterImpl. getProperty(String name)Look up the value of a property.StringAttributeListImpl. getType(String name)Deprecated.Get the type of an attribute (by name).StringAttributesImpl. getType(String qName)Look up an attribute's type by qualified (prefixed) name.StringAttributesImpl. getType(String uri, String localName)Look up an attribute's type by Namespace-qualified name.StringNamespaceSupport. getURI(String prefix)Look up a prefix and get the currently-mapped Namespace URI.StringAttributeListImpl. getValue(String name)Deprecated.Get the value of an attribute (by name).StringAttributesImpl. getValue(String qName)Look up an attribute's value by qualified (prefixed) name.StringAttributesImpl. getValue(String uri, String localName)Look up an attribute's value by Namespace-qualified name.static ParserParserFactory. makeParser(String className)Deprecated.Create a new SAX parser object using the class name provided.voidDefaultHandler. notationDecl(String name, String publicId, String systemId)Receive notification of a notation declaration.voidXMLFilterImpl. notationDecl(String name, String publicId, String systemId)Filter a notation declaration event.voidParserAdapter. parse(String systemId)Parse an XML document.voidXMLFilterImpl. parse(String systemId)Parse a document.voidXMLReaderAdapter. parse(String systemId)Parse the document.voidDefaultHandler. processingInstruction(String target, String data)Receive notification of a processing instruction.voidParserAdapter. processingInstruction(String target, String data)Adapter implementation method; do not call.voidXMLFilterImpl. processingInstruction(String target, String data)Filter a processing instruction event.voidXMLReaderAdapter. processingInstruction(String target, String data)Adapt a SAX2 processing instruction event.String[]NamespaceSupport. processName(String qName, String[] parts, boolean isAttribute)Process a raw XML qualified name, after all declarations in the current context have been handled bydeclarePrefix().voidAttributeListImpl. removeAttribute(String name)Deprecated.Remove an attribute from the list.InputSourceDefaultHandler. resolveEntity(String publicId, String systemId)Resolve an external entity.InputSourceXMLFilterImpl. resolveEntity(String publicId, String systemId)Filter an external entity resolution.voidAttributesImpl. setAttribute(int index, String uri, String localName, String qName, String type, String value)Set an attribute in the list.voidParserAdapter. setFeature(String name, boolean value)Set a feature flag for the parser.voidXMLFilterImpl. setFeature(String name, boolean value)Set the value of a feature.voidAttributesImpl. setLocalName(int index, String localName)Set the local name of a specific attribute.voidParserAdapter. setProperty(String name, Object value)Set a parser property.voidXMLFilterImpl. setProperty(String name, Object value)Set the value of a property.voidLocatorImpl. setPublicId(String publicId)Set the public identifier for this locator.voidAttributesImpl. setQName(int index, String qName)Set the qualified name of a specific attribute.voidLocatorImpl. setSystemId(String systemId)Set the system identifier for this locator.voidAttributesImpl. setType(int index, String type)Set the type of a specific attribute.voidAttributesImpl. setURI(int index, String uri)Set the Namespace URI of a specific attribute.voidAttributesImpl. setValue(int index, String value)Set the value of a specific attribute.voidDefaultHandler. skippedEntity(String name)Receive notification of a skipped entity.voidXMLFilterImpl. skippedEntity(String name)Filter a skipped entity event.voidXMLReaderAdapter. skippedEntity(String name)Adapt a SAX2 skipped entity event.voidDefaultHandler. startElement(String uri, String localName, String qName, Attributes attributes)Receive notification of the start of an element.voidParserAdapter. startElement(String qName, AttributeList qAtts)Adapter implementation method; do not call.voidXMLFilterImpl. startElement(String uri, String localName, String qName, Attributes atts)Filter a start element event.voidXMLReaderAdapter. startElement(String uri, String localName, String qName, Attributes atts)Adapt a SAX2 start element event.voidDefaultHandler. startPrefixMapping(String prefix, String uri)Receive notification of the start of a Namespace mapping.voidXMLFilterImpl. startPrefixMapping(String prefix, String uri)Filter a start Namespace prefix mapping event.voidXMLReaderAdapter. startPrefixMapping(String prefix, String uri)Adapt a SAX2 start prefix mapping event.voidDefaultHandler. unparsedEntityDecl(String name, String publicId, String systemId, String notationName)Receive notification of an unparsed entity declaration.voidXMLFilterImpl. unparsedEntityDecl(String name, String publicId, String systemId, String notationName)Filter an unparsed entity declaration event. -
Uses of String in org.xmlpull.v1
Fields in org.xmlpull.v1 declared as String Modifier and Type Field Description protected StringXmlPullParserFactory. classNamesLocationstatic StringXmlPullParser. FEATURE_PROCESS_DOCDECLThis feature determines whether the document declaration is processed.static StringXmlPullParser. FEATURE_PROCESS_NAMESPACESThis feature determines whether the parser processes namespaces.static StringXmlPullParser. FEATURE_REPORT_NAMESPACE_ATTRIBUTESThis feature determines whether namespace attributes are exposed via the attribute access methods.static StringXmlPullParser. FEATURE_VALIDATIONIf this feature is activated, all validation errors as defined in the XML 1.0 specification are reported.static StringXmlPullParser. NO_NAMESPACEThis constant represents the default namespace (empty string "")static StringXmlPullParserFactory. PROPERTY_NAMEName of the system or midlet property that should be used for a system property containing a comma separated list of factory or parser class names (value: org.xmlpull.v1.XmlPullParserFactory).static String[]XmlPullParser. TYPESThis array can be used to convert the event type integer constants such as START_TAG or TEXT to to a string.Methods in org.xmlpull.v1 that return String Modifier and Type Method Description StringXmlPullParser. getAttributeName(int index)Returns the local name of the specified attribute if namespaces are enabled or just attribute name if namespaces are disabled.StringXmlPullParser. getAttributeNamespace(int index)Returns the namespace URI of the attribute with the given index (starts from 0).StringXmlPullParser. getAttributePrefix(int index)Returns the prefix of the specified attribute Returns null if the element has no prefix.StringXmlPullParser. getAttributeType(int index)Returns the type of the specified attribute If parser is non-validating it MUST return CDATA.StringXmlPullParser. getAttributeValue(int index)Returns the given attributes value.StringXmlPullParser. getAttributeValue(String namespace, String name)Returns the attributes value identified by namespace URI and namespace localName.StringXmlPullParser. getInputEncoding()Returns the input encoding if known, null otherwise.StringXmlPullParser. getName()For START_TAG or END_TAG events, the (local) name of the current element is returned when namespaces are enabled.StringXmlSerializer. getName()Returns the name of the current element as set by startTag().StringXmlPullParser. getNamespace()Returns the namespace URI of the current element.StringXmlPullParser. getNamespace(String prefix)Returns the URI corresponding to the given prefix, depending on current state of the parser.StringXmlSerializer. getNamespace()Returns the namespace URI of the current element as set by startTag().StringXmlPullParser. getNamespacePrefix(int pos)Returns the namespace prefix for the given position in the namespace stack.StringXmlPullParser. getNamespaceUri(int pos)Returns the namespace URI for the given position in the namespace stack If the position is out of range, an exception is thrown.StringXmlPullParser. getPositionDescription()Returns a short text describing the current parser state, including the position, a description of the current event and the data source if known.StringXmlPullParser. getPrefix()Returns the prefix of the current element.StringXmlSerializer. getPrefix(String namespace, boolean generatePrefix)Return namespace that corresponds to given prefix If there is no prefix bound to this namespace return null but if generatePrefix is false then return generated prefix.StringXmlPullParser. getText()Returns the text content of the current event as String.StringXmlPullParser. nextText()If current event is START_TAG then if next element is TEXT then element content is returned or if next event is END_TAG then empty string is returned, otherwise exception is thrown.Methods in org.xmlpull.v1 with parameters of type String Modifier and Type Method Description XmlSerializerXmlSerializer. attribute(String namespace, String name, String value)Write an attribute.voidXmlSerializer. cdsect(String text)voidXmlSerializer. comment(String text)voidXmlPullParser. defineEntityReplacementText(String entityName, String replacementText)Set new value for entity replacement text as defined in XML 1.0 Section 4.5 Construction of Internal Entity Replacement Text.voidXmlSerializer. docdecl(String text)XmlSerializerXmlSerializer. endTag(String namespace, String name)Write end tag.voidXmlSerializer. entityRef(String text)StringXmlPullParser. getAttributeValue(String namespace, String name)Returns the attributes value identified by namespace URI and namespace localName.booleanXmlPullParser. getFeature(String name)Returns the current value of the given feature.booleanXmlPullParserFactory. getFeature(String name)Return the current value of the feature with given name.booleanXmlSerializer. getFeature(String name)Return the current value of the feature with given name.StringXmlPullParser. getNamespace(String prefix)Returns the URI corresponding to the given prefix, depending on current state of the parser.StringXmlSerializer. getPrefix(String namespace, boolean generatePrefix)Return namespace that corresponds to given prefix If there is no prefix bound to this namespace return null but if generatePrefix is false then return generated prefix.ObjectXmlPullParser. getProperty(String name)Look up the value of a property.ObjectXmlSerializer. getProperty(String name)Look up the value of a property.voidXmlSerializer. ignorableWhitespace(String text)static XmlPullParserFactoryXmlPullParserFactory. newInstance(String classNames, Class context)voidXmlSerializer. processingInstruction(String text)voidXmlPullParser. require(int type, String namespace, String name)Test if the current event is of the given type and if the namespace and name do match.voidXmlPullParser. setFeature(String name, boolean state)Use this call to change the general behaviour of the parser, such as namespace processing or doctype declaration handling.voidXmlPullParserFactory. setFeature(String name, boolean state)Set the features to be set when XML Pull Parser is created by this factory.voidXmlSerializer. setFeature(String name, boolean state)Set feature identified by name (recommended to be URI for uniqueness).voidXmlPullParser. setInput(InputStream inputStream, String inputEncoding)Sets the input stream the parser is going to process.voidXmlSerializer. setOutput(OutputStream os, String encoding)Set to use binary output stream with given encoding.voidXmlSerializer. setPrefix(String prefix, String namespace)Binds the given prefix to the given namespace.voidXmlPullParser. setProperty(String name, Object value)Set the value of a property.voidXmlSerializer. setProperty(String name, Object value)Set the value of a property.voidXmlSerializer. startDocument(String encoding, Boolean standalone)Write <?xml declaration with encoding (if encoding not null) and standalone flag (if standalone not null) This method can only be called just after setOutput.XmlSerializerXmlSerializer. startTag(String namespace, String name)Writes a start tag with the given namespace and name.XmlSerializerXmlSerializer. text(String text)Writes text, where special XML chars are escaped automaticallyConstructors in org.xmlpull.v1 with parameters of type String Constructor Description XmlPullParserException(String s)XmlPullParserException(String msg, XmlPullParser parser, Throwable chain) -
Uses of String in org.xmlpull.v1.sax2
Fields in org.xmlpull.v1.sax2 declared as String Modifier and Type Field Description protected static StringDriver. APACHE_DYNAMIC_VALIDATION_FEATUREprotected static StringDriver. APACHE_SCHEMA_VALIDATION_FEATUREprotected static StringDriver. DECLARATION_HANDLER_PROPERTYprotected static StringDriver. LEXICAL_HANDLER_PROPERTYprotected static StringDriver. NAMESPACE_PREFIXES_FEATUREprotected static StringDriver. NAMESPACES_FEATUREprotected StringDriver. systemIdprotected static StringDriver. VALIDATION_FEATUREMethods in org.xmlpull.v1.sax2 that return String Modifier and Type Method Description StringDriver. getLocalName(int index)StringDriver. getPublicId()StringDriver. getQName(int index)StringDriver. getSystemId()StringDriver. getType(int index)StringDriver. getType(String qName)StringDriver. getType(String uri, String localName)StringDriver. getURI(int index)StringDriver. getValue(int index)StringDriver. getValue(String qName)StringDriver. getValue(String uri, String localName)Methods in org.xmlpull.v1.sax2 with parameters of type String Modifier and Type Method Description booleanDriver. getFeature(String name)intDriver. getIndex(String qName)intDriver. getIndex(String uri, String localName)ObjectDriver. getProperty(String name)StringDriver. getType(String qName)StringDriver. getType(String uri, String localName)StringDriver. getValue(String qName)StringDriver. getValue(String uri, String localName)voidDriver. parse(String systemId)voidDriver. setFeature(String name, boolean value)voidDriver. setProperty(String name, Object value)protected voidDriver. startElement(String namespace, String localName, String qName) -
Uses of String in SQLite
Fields in SQLite declared as String Modifier and Type Field Description String[]TableResult. columnColumn names of the result set.String[]TableResult. typesTypes of columns of the result set or null.static StringJDBCDriver. vfsMethods in SQLite that return String Modifier and Type Method Description StringStmt. bind_parameter_name(int pos)Return name of parameter in compiled SQLite3 statement.StringStmt. column_database_name(int col)Return database name of column of SQLite3 statement.StringStmt. column_decltype(int col)Return declared column type of SQLite3 statement.StringStmt. column_origin_name(int col)Return origin column name of column of SQLite3 statement.StringStmt. column_string(int col)Retrieve string column from exec'ed SQLite3 statement.StringStmt. column_table_name(int col)Return table name of column of SQLite3 statement.StringDatabase. dbversion()Return SQLite version number as string.static StringStringEncoder. encode(byte[] a)Encodes the given byte array into a string that can be used by the SQLite database.static StringStringEncoder. encodeX(byte[] a)Encodes the given byte array into SQLite3 blob notation, ie X'..'StringDatabase. error_message()Return last error message of SQLite3 engine.static StringDatabase. error_string(int error_code)Return error string given SQLite error code (SQLite2).static StringShell. sql_quote(String str)static StringShell. sql_quote_dbl(String str)StringTableResult. toString()Make String representation of result set.static StringDatabase. version()Return SQLite version number as string.Methods in SQLite with parameters of type String Modifier and Type Method Description booleanJDBCDriver. acceptsURL(String url)intAuthorizer. authorize(int what, String arg1, String arg2, String arg3, String arg4)Callback to authorize access.BackupDatabase. backup(Database dest, String destName, String srcName)Initiate a database backup, SQLite 3.x only.voidStmt. bind(int pos, String value)Bind positional String to compiled SQLite3 statement.intStmt. bind_parameter_index(String name)Return index of named parameter in compiled SQLite3 statement.booleanBusyHandler. busy(String table, int count)Invoked when a table is locked by another process or thread.voidCallback. columns(String[] coldata)Reports column names of the query result.voidShell. columns(String[] args)voidTableResult. columns(String[] coldata)Callback method used while the query is executed.VmDatabase. compile(String sql)Compile and return SQLite VM for SQL statement.VmDatabase. compile(String sql, String[] args)Compile and return SQLite VM for SQL statement.static booleanDatabase. complete(String sql)See if an SQL statement is complete.ConnectionJDBCDriver. connect(String url, Properties info)voidDatabase. create_aggregate(String name, int nargs, Function f)Create aggregate function.voidDatabase. create_function(String name, int nargs, Function f)Create regular function.static byte[]StringEncoder. decode(String s)Decodes the given string that is assumed to be a valid encoding of a byte array.voidDatabase. exec(String sql, Callback cb)Execute an SQL statement and invoke callback methods for each row of the result set.voidDatabase. exec(String sql, Callback cb, String[] args)Execute an SQL statement and invoke callback methods for each row of the result set.voidFunction. function(FunctionContext fc, String[] args)Callback for regular function.voidDatabase. function_type(String name, int type)Set function return type.TableResultDatabase. get_table(String sql)Convenience method to retrieve an entire result set into memory.TableResultDatabase. get_table(String sql, int maxrows)Convenience method to retrieve an entire result set into memory.TableResultDatabase. get_table(String sql, int maxrows, String[] args)Convenience method to retrieve an entire result set into memory.TableResultDatabase. get_table(String sql, String[] args)Convenience method to retrieve an entire result set into memory.voidDatabase. get_table(String sql, String[] args, TableResult tbl)Convenience method to retrieve an entire result set into memory.DriverPropertyInfo[]JDBCDriver. getPropertyInfo(String url, Properties info)voidDatabase. key(String skey)Specify key for encrypted database.static longDatabase. long_from_julian(String s)Make long value from julian date for java.lang.Datestatic voidShell. main(String[] args)booleanCallback. newrow(String[] rowdata)Reports row data of the query result.booleanShell. newrow(String[] args)booleanTableResult. newrow(String[] rowdata)Callback method used while the query is executed.voidDatabase. open(String filename, int mode)Open an SQLite database file.voidDatabase. open(String filename, int mode, String vfs)Open an SQLite database file.voidDatabase. open(String filename, int mode, String vfs, boolean ver2)Open an SQLite database file.voidDatabase. open_aux_file(String filename)Open SQLite auxiliary database file for temporary tables.BlobDatabase. open_blob(String db, String table, String column, long row, boolean rw)Open an SQLite3 blob.StmtDatabase. prepare(String sql)Prepare and return SQLite3 statement for SQL.voidProfile. profile(String stmt, long est)Callback to profile (ie log) one SQL statement with its estimated execution time.voidDatabase. rekey(String skey)Change the key of a encrypted database.voidDatabase. set_encoding(String enc)Set character encoding.voidFunctionContext. set_error(String r)Set function result from error message.voidFunctionContext. set_result(String r)Set function result from string.static StringShell. sql_quote(String str)static StringShell. sql_quote_dbl(String str)voidFunction. step(FunctionContext fc, String[] args)Callback for one step in aggregate function.voidTrace. trace(String stmt)Callback to trace (ie log) one SQL statement.voidCallback. types(String[] types)Reports type names of the columns of the query result.voidShell. types(String[] args)voidTableResult. types(String[] types)Callback method used while the query is executed. -
Uses of String in SQLite.JDBC2z
Fields in SQLite.JDBC2z declared as String Modifier and Type Field Description protected StringJDBCConnection. encCharacter encoding.protected StringJDBCConnection. urlDatabase URL.protected StringJDBCConnection. vfsSQLite 3 VFS to use.Methods in SQLite.JDBC2z that return String Modifier and Type Method Description StringJDBCConnection. getCatalog()StringJDBCResultSetMetaData. getCatalogName(int column)StringJDBCDatabaseMetaData. getCatalogSeparator()StringJDBCDatabaseMetaData. getCatalogTerm()StringJDBCConnection. getClientInfo(String name)StringJDBCResultSetMetaData. getColumnClassName(int column)StringJDBCResultSetMetaData. getColumnLabel(int column)StringJDBCResultSetMetaData. getColumnName(int column)StringJDBCResultSetMetaData. getColumnTypeName(int column)StringJDBCResultSet. getCursorName()StringJDBCDatabaseMetaData. getDatabaseProductName()StringJDBCDatabaseMetaData. getDatabaseProductVersion()StringJDBCDatabaseMetaData. getDriverName()StringJDBCDatabaseMetaData. getDriverVersion()StringJDBCDatabaseMetaData. getExtraNameCharacters()StringJDBCDatabaseMetaData. getIdentifierQuoteString()StringJDBCResultSet. getNString(int colIndex)StringJDBCResultSet. getNString(String colName)StringJDBCDatabaseMetaData. getNumericFunctions()StringJDBCDatabaseMetaData. getProcedureTerm()StringJDBCResultSetMetaData. getSchemaName(int column)StringJDBCDatabaseMetaData. getSchemaTerm()StringJDBCDatabaseMetaData. getSearchStringEscape()StringJDBCDatabaseMetaData. getSQLKeywords()StringJDBCPreparedStatement. getString(String parameterName)StringJDBCResultSet. getString(int columnIndex)StringJDBCResultSet. getString(String columnName)StringJDBCDatabaseMetaData. getStringFunctions()StringJDBCDatabaseMetaData. getSystemFunctions()StringJDBCResultSetMetaData. getTableName(int column)StringJDBCDatabaseMetaData. getTimeDateFunctions()StringJDBCDatabaseMetaData. getURL()StringJDBCDatabaseMetaData. getUserName()StringJDBCConnection. nativeSQL(String sql)Methods in SQLite.JDBC2z that return types with arguments of type String Modifier and Type Method Description Map<String,Class<?>>JDBCConnection. getTypeMap()Methods in SQLite.JDBC2z with parameters of type String Modifier and Type Method Description voidJDBCStatement. addBatch(String sql)booleanJDBCConnection. busy(String table, int count)ArrayJDBCConnection. createArrayOf(String type, Object[] elems)StructJDBCConnection. createStruct(String type, Object[] attrs)booleanJDBCStatement. execute(String sql)booleanJDBCStatement. execute(String sql, int autokeys)booleanJDBCStatement. execute(String sql, int[] colIndexes)booleanJDBCStatement. execute(String sql, String[] colIndexes)ResultSetJDBCStatement. executeQuery(String sql)intJDBCStatement. executeUpdate(String sql)intJDBCStatement. executeUpdate(String sql, int autokeys)intJDBCStatement. executeUpdate(String sql, int[] colIndexes)intJDBCStatement. executeUpdate(String sql, String[] colIndexes)intJDBCResultSet. findColumn(String columnName)ArrayJDBCPreparedStatement. getArray(String parameterName)ArrayJDBCResultSet. getArray(String columnName)InputStreamJDBCResultSet. getAsciiStream(String columnName)ResultSetJDBCDatabaseMetaData. getAttributes(String catalog, String schemaPattern, String typeNamePattern, String attributeNamePattern)ResultSetJDBCDatabaseMetaData. getBestRowIdentifier(String catalog, String schema, String table, int scope, boolean nullable)BigDecimalJDBCPreparedStatement. getBigDecimal(String parameterName)BigDecimalJDBCResultSet. getBigDecimal(String columnName)BigDecimalJDBCResultSet. getBigDecimal(String columnName, int scale)Deprecated.InputStreamJDBCResultSet. getBinaryStream(String columnName)BlobJDBCPreparedStatement. getBlob(String parameterName)BlobJDBCResultSet. getBlob(String columnName)booleanJDBCPreparedStatement. getBoolean(String parameterName)booleanJDBCResultSet. getBoolean(String columnName)byteJDBCPreparedStatement. getByte(String parameterName)byteJDBCResultSet. getByte(String columnName)byte[]JDBCPreparedStatement. getBytes(String parameterName)byte[]JDBCResultSet. getBytes(String columnName)ReaderJDBCResultSet. getCharacterStream(String columnName)StringJDBCConnection. getClientInfo(String name)ClobJDBCPreparedStatement. getClob(String parameterName)ClobJDBCResultSet. getClob(String columnName)ResultSetJDBCDatabaseMetaData. getColumnPrivileges(String catalog, String schema, String table, String columnNamePattern)ResultSetJDBCDatabaseMetaData. getColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern)ResultSetJDBCDatabaseMetaData. getCrossReference(String primaryCatalog, String primarySchema, String primaryTable, String foreignCatalog, String foreignSchema, String foreignTable)DateJDBCPreparedStatement. getDate(String parameterName)DateJDBCPreparedStatement. getDate(String parameterName, Calendar cal)DateJDBCResultSet. getDate(String columnName)DateJDBCResultSet. getDate(String columnName, Calendar cal)doubleJDBCPreparedStatement. getDouble(String parameterName)doubleJDBCResultSet. getDouble(String columnName)ResultSetJDBCDatabaseMetaData. getExportedKeys(String catalog, String schema, String table)floatJDBCPreparedStatement. getFloat(String parameterName)floatJDBCResultSet. getFloat(String columnName)ResultSetJDBCDatabaseMetaData. getFunctionColumns(String cat, String schema, String func, String colpat)ResultSetJDBCDatabaseMetaData. getFunctions(String cat, String schema, String func)ResultSetJDBCDatabaseMetaData. getImportedKeys(String catalog, String schema, String table)ResultSetJDBCDatabaseMetaData. getIndexInfo(String catalog, String schema, String table, boolean unique, boolean approximate)intJDBCPreparedStatement. getInt(String parameterName)intJDBCResultSet. getInt(String columnName)longJDBCPreparedStatement. getLong(String parameterName)longJDBCResultSet. getLong(String columnName)ReaderJDBCResultSet. getNCharacterStream(String colName)NClobJDBCResultSet. getNClob(String colName)StringJDBCResultSet. getNString(String colName)ObjectJDBCPreparedStatement. getObject(String parameterName)ObjectJDBCPreparedStatement. getObject(String parameterName, Map map)ObjectJDBCResultSet. getObject(String columnName)ObjectJDBCResultSet. getObject(String columnName, Map map)ResultSetJDBCDatabaseMetaData. getPrimaryKeys(String catalog, String schema, String table)ResultSetJDBCDatabaseMetaData. getProcedureColumns(String catalog, String schemaPattern, String procedureNamePattern, String columnNamePattern)ResultSetJDBCDatabaseMetaData. getProcedures(String catalog, String schemaPattern, String procedureNamePattern)RefJDBCPreparedStatement. getRef(String parameterName)RefJDBCResultSet. getRef(String columnName)RowIdJDBCResultSet. getRowId(String colName)ResultSetJDBCDatabaseMetaData. getSchemas(String cat, String schema)shortJDBCPreparedStatement. getShort(String parameterName)shortJDBCResultSet. getShort(String columnName)SQLXMLJDBCResultSet. getSQLXML(String colName)StringJDBCPreparedStatement. getString(String parameterName)StringJDBCResultSet. getString(String columnName)ResultSetJDBCDatabaseMetaData. getSuperTables(String catalog, String schemaPattern, String tableNamePattern)ResultSetJDBCDatabaseMetaData. getSuperTypes(String catalog, String schemaPattern, String typeNamePattern)ResultSetJDBCDatabaseMetaData. getTablePrivileges(String catalog, String schemaPattern, String tableNamePattern)ResultSetJDBCDatabaseMetaData. getTables(String catalog, String schemaPattern, String tableNamePattern, String[] types)TimeJDBCPreparedStatement. getTime(String parameterName)TimeJDBCPreparedStatement. getTime(String parameterName, Calendar cal)TimeJDBCResultSet. getTime(String columnName)TimeJDBCResultSet. getTime(String columnName, Calendar cal)TimestampJDBCPreparedStatement. getTimestamp(String parameterName)TimestampJDBCPreparedStatement. getTimestamp(String parameterName, Calendar cal)TimestampJDBCResultSet. getTimestamp(String columnName)TimestampJDBCResultSet. getTimestamp(String columnName, Calendar cal)ResultSetJDBCDatabaseMetaData. getUDTs(String catalog, String schemaPattern, String typeNamePattern, int[] types)InputStreamJDBCResultSet. getUnicodeStream(String columnName)Deprecated.URLJDBCPreparedStatement. getURL(String parameterName)URLJDBCResultSet. getURL(String colName)ResultSetJDBCDatabaseMetaData. getVersionColumns(String catalog, String schema, String table)StringJDBCConnection. nativeSQL(String sql)CallableStatementJDBCConnection. prepareCall(String sql)CallableStatementJDBCConnection. prepareCall(String sql, int x, int y)CallableStatementJDBCConnection. prepareCall(String sql, int x, int y, int z)PreparedStatementJDBCConnection. prepareStatement(String sql)PreparedStatementJDBCConnection. prepareStatement(String sql, int autokeys)PreparedStatementJDBCConnection. prepareStatement(String sql, int[] colIndexes)PreparedStatementJDBCConnection. prepareStatement(String sql, int resultSetType, int resultSetConcurrency)PreparedStatementJDBCConnection. prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability)PreparedStatementJDBCConnection. prepareStatement(String sql, String[] columns)voidJDBCPreparedStatement. registerOutputParameter(String parameterName, int sqlType)voidJDBCPreparedStatement. registerOutputParameter(String parameterName, int sqlType, int scale)voidJDBCPreparedStatement. registerOutputParameter(String parameterName, int sqlType, String typeName)voidJDBCPreparedStatement. setAsciiStream(String parameterName, InputStream x)voidJDBCPreparedStatement. setAsciiStream(String parameterName, InputStream s, int length)voidJDBCPreparedStatement. setAsciiStream(String parameterName, InputStream x, long len)voidJDBCPreparedStatement. setBigDecimal(String parameterName, BigDecimal val)voidJDBCPreparedStatement. setBinaryStream(String parameterName, InputStream x)voidJDBCPreparedStatement. setBinaryStream(String parameterName, InputStream s, int length)voidJDBCPreparedStatement. setBinaryStream(String parameterName, InputStream x, long len)voidJDBCPreparedStatement. setBlob(String parameterName, InputStream x)voidJDBCPreparedStatement. setBlob(String parameterName, InputStream x, long len)voidJDBCPreparedStatement. setBoolean(String parameterName, boolean val)voidJDBCPreparedStatement. setByte(String parameterName, byte val)voidJDBCPreparedStatement. setBytes(String parameterName, byte[] val)voidJDBCConnection. setCatalog(String catalog)voidJDBCPreparedStatement. setCharacterStream(String parameterName, Reader x)voidJDBCPreparedStatement. setCharacterStream(String parameterName, Reader r, int length)voidJDBCPreparedStatement. setCharacterStream(String parameterName, Reader x, long len)voidJDBCConnection. setClientInfo(String name, String value)voidJDBCPreparedStatement. setClob(String parameterName, Reader x)voidJDBCPreparedStatement. setClob(String parameterName, Reader x, long len)voidJDBCStatement. setCursorName(String name)voidJDBCPreparedStatement. setDate(String parameterName, Date val)voidJDBCPreparedStatement. setDate(String parameterName, Date val, Calendar cal)voidJDBCPreparedStatement. setDouble(String parameterName, double val)voidJDBCPreparedStatement. setFloat(String parameterName, float val)voidJDBCPreparedStatement. setInt(String parameterName, int val)voidJDBCPreparedStatement. setLong(String parameterName, long val)voidJDBCPreparedStatement. setNCharacterStream(String parameterName, Reader x)voidJDBCPreparedStatement. setNCharacterStream(String parameterName, Reader x, long len)voidJDBCPreparedStatement. setNClob(String parameterName, Reader x)voidJDBCPreparedStatement. setNClob(String parameterName, Reader x, long len)voidJDBCPreparedStatement. setNClob(String parameterName, NClob value)voidJDBCPreparedStatement. setNString(int parameterIndex, String value)voidJDBCPreparedStatement. setNString(String parameterName, String value)voidJDBCPreparedStatement. setNull(int parameterIndex, int sqlType, String typeName)voidJDBCPreparedStatement. setNull(String parameterName, int sqlType)voidJDBCPreparedStatement. setNull(String parameterName, int sqlType, String typeName)voidJDBCPreparedStatement. setObject(String parameterName, Object val)voidJDBCPreparedStatement. setObject(String parameterName, Object val, int targetSqlType)voidJDBCPreparedStatement. setObject(String parameterName, Object val, int targetSqlType, int scale)voidJDBCPreparedStatement. setRowId(String parameterName, RowId x)SavepointJDBCConnection. setSavepoint(String name)voidJDBCPreparedStatement. setShort(String parameterName, short val)voidJDBCPreparedStatement. setSQLXML(String parameterName, SQLXML xml)voidJDBCPreparedStatement. setString(int parameterIndex, String x)voidJDBCPreparedStatement. setString(String parameterName, String val)voidJDBCPreparedStatement. setTime(String parameterName, Time val)voidJDBCPreparedStatement. setTime(String parameterName, Time val, Calendar cal)voidJDBCPreparedStatement. setTimestamp(String parameterName, Timestamp val)voidJDBCPreparedStatement. setTimestamp(String parameterName, Timestamp val, Calendar cal)voidJDBCResultSet. updateArray(String colName, Array x)voidJDBCResultSet. updateAsciiStream(String colName, InputStream x)voidJDBCResultSet. updateAsciiStream(String colName, InputStream in, int s)voidJDBCResultSet. updateAsciiStream(String colName, InputStream x, long len)voidJDBCResultSet. updateBigDecimal(String colName, BigDecimal f)voidJDBCResultSet. updateBinaryStream(String colName, InputStream x)voidJDBCResultSet. updateBinaryStream(String colName, InputStream in, int s)voidJDBCResultSet. updateBinaryStream(String colName, InputStream x, long len)voidJDBCResultSet. updateBlob(String colName, InputStream x)voidJDBCResultSet. updateBlob(String colName, InputStream x, long len)voidJDBCResultSet. updateBlob(String colName, Blob x)voidJDBCResultSet. updateBoolean(String colName, boolean b)voidJDBCResultSet. updateByte(String colName, byte b)voidJDBCResultSet. updateBytes(String colName, byte[] s)voidJDBCResultSet. updateCharacterStream(String colName, Reader x)voidJDBCResultSet. updateCharacterStream(String colName, Reader in, int s)voidJDBCResultSet. updateCharacterStream(String colName, Reader x, long len)voidJDBCResultSet. updateClob(String colName, Reader x)voidJDBCResultSet. updateClob(String colName, Reader x, long len)voidJDBCResultSet. updateClob(String colName, Clob x)voidJDBCResultSet. updateDate(String colName, Date d)voidJDBCResultSet. updateDouble(String colName, double f)voidJDBCResultSet. updateFloat(String colName, float f)voidJDBCResultSet. updateInt(String colName, int b)voidJDBCResultSet. updateLong(String colName, long b)voidJDBCResultSet. updateNCharacterStream(String colName, Reader x)voidJDBCResultSet. updateNCharacterStream(String colName, Reader x, long len)voidJDBCResultSet. updateNClob(String colName, Reader x)voidJDBCResultSet. updateNClob(String colName, Reader x, long len)voidJDBCResultSet. updateNClob(String colName, NClob nclob)voidJDBCResultSet. updateNString(int colIndex, String nString)voidJDBCResultSet. updateNString(String colName, String nString)voidJDBCResultSet. updateNull(String colName)voidJDBCResultSet. updateObject(String colName, Object obj)voidJDBCResultSet. updateObject(String colName, Object obj, int s)voidJDBCResultSet. updateRef(String colName, Ref x)voidJDBCResultSet. updateRowId(String colName, RowId x)voidJDBCResultSet. updateShort(String colName, short b)voidJDBCResultSet. updateSQLXML(String colName, SQLXML xml)voidJDBCResultSet. updateString(int colIndex, String s)voidJDBCResultSet. updateString(String colName, String s)voidJDBCResultSet. updateTime(String colName, Time t)voidJDBCResultSet. updateTimestamp(String colName, Timestamp t)Constructors in SQLite.JDBC2z with parameters of type String Constructor Description JDBCConnection(String url, String enc, String pwd, String drep, String vfs)JDBCPreparedStatement(JDBCConnection conn, String sql)