| Package | Description |
|---|---|
| java.awt |
Contains all of the classes for creating user interfaces and for painting graphics and images.
|
| java.io |
Provides for system input and output through data streams, serialization and the file system.
|
| java.net |
Provides the classes for implementing networking applications.
|
| java.nio.file |
Defines interfaces and classes for the Java virtual machine to access files, file attributes, and file systems.
|
| java.nio.file.spi |
Service-provider classes for the
java.nio.file package.
|
| java.security |
Provides the classes and interfaces for the security framework.
|
| java.security.cert |
Provides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths.
|
| javax.print |
Provides the principal classes and interfaces for the Java
TM Print Service API.
|
| javax.print.attribute |
Provides classes and interfaces that describe the types of Java
TM Print Service attributes and how they can be collected into attribute sets.
|
| javax.print.attribute.standard |
Package javax.print.attribute.standard contains classes for specific printing attributes.
|
| javax.tools |
Provides interfaces for tools which can be invoked from a program, for example, compilers.
|
| javax.xml.bind |
Provides a runtime binding framework for client applications including unmarshalling, marshalling, and validation capabilities.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Desktop.browse(URI
Launches the default browser to display a
URI.
|
void |
Desktop.mail(URI
Launches the mail composing window of the user default mail client, filling the message fields specified by a
mailto: URI.
|
| Modifier and Type | Method and Description |
|---|---|
URI |
File.toURI()
Constructs a
file: URI that represents this abstract pathname.
|
| Constructor and Description | |
|---|---|
File(URI
Creates a new
File instance by converting the given
file: URI into an abstract pathname.
|
| Modifier and Type | Method and Description |
|---|---|
static URI |
URI.create(String
Creates a URI by parsing the given string.
|
URI |
URI.normalize()
Normalizes this URI's path.
|
URI |
URI.parseServerAuthority()
Attempts to parse this URI's authority component, if defined, into user-information, host, and port components.
|
URI |
URI.relativize(URI
Relativizes the given URI against this URI.
|
URI |
URI.resolve(String
Constructs a new URI by parsing the given string and then resolving it against this URI.
|
URI |
URI.resolve(URI
Resolves the given URI against this URI.
|
URI |
URL.toURI()
Returns a
URI equivalent to this URL.
|
| Modifier and Type | Method and Description |
|---|---|
List |
CookieStore.getURIs()
Get all URIs which identify the cookies in this cookie store.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CookieStore.add(URI
Adds one HTTP cookie to the store.
|
int |
URI.compareTo(URI
Compares this URI to another object, which must be a URI.
|
abstract void |
ProxySelector.connectFailed(URI
Called to indicate that a connection could not be established to a proxy/socks server.
|
List |
CookieStore.get(URI
Retrieve cookies associated with given URI, or whose domain matches the given URI.
|
Map |
CookieManager.get(URI
|
abstract Map |
CookieHandler.get(URI
Gets all the applicable cookies from a cookie cache for the specified uri in the request header.
|
abstract CacheResponse |
ResponseCache.get(URI
Retrieve the cached response based on the requesting uri, request method and request headers.
|
void |
CookieManager.put(URI
|
abstract void |
CookieHandler.put(URI
Sets all the applicable cookies, examples are response header fields that are named Set-Cookie2, present in the response headers into a cookie cache.
|
abstract CacheRequest |
ResponseCache.put(URI
The protocol handler calls this method after a resource has been retrieved, and the ResponseCache must decide whether or not to store the resource in its cache.
|
URI |
URI.relativize(URI
Relativizes the given URI against this URI.
|
boolean |
CookieStore.remove(URI
Remove a cookie from store.
|
URI |
URI.resolve(URI
Resolves the given URI against this URI.
|
abstract List |
ProxySelector.select(URI
Selects all the applicable proxies based on the protocol to access the resource with and a destination address to access the resource at.
|
boolean |
CookiePolicy.shouldAccept(URI
Will be called to see whether or not this cookie should be accepted.
|
| Modifier and Type | Method and Description |
|---|---|
URI |
Path.toUri()
Returns a URI to represent this path.
|
| Modifier and Type | Method and Description |
|---|---|
static Path |
Paths.get(URI
Converts the given URI to a
Path object.
|
static FileSystem |
FileSystems.getFileSystem(URI
Returns a reference to an existing
FileSystem.
|
static FileSystem |
FileSystems.newFileSystem(URI
Constructs a new file system that is identified by a
URI
|
static FileSystem |
FileSystems.newFileSystem(URI
Constructs a new file system that is identified by a
URI
|
| Modifier and Type | Method and Description |
|---|---|
abstract FileSystem |
FileSystemProvider.getFileSystem(URI
Returns an existing
FileSystem created by this provider.
|
abstract Path |
FileSystemProvider.getPath(URI
Return a
Path object by converting the given
URI.
|
abstract FileSystem |
FileSystemProvider.newFileSystem(URI
Constructs a new
FileSystem object identified by a URI.
|
| Modifier and Type | Method and Description |
|---|---|
URI |
DomainLoadStoreParameter.getConfiguration()
Gets the identifier for the domain configuration data.
|
URI |
URIParameter.getURI()
Returns the URI.
|
| Constructor and Description | |
|---|---|
DomainLoadStoreParameter(URI
Constructs a DomainLoadStoreParameter for a keystore domain with the parameters used to protect keystore data.
|
|
URIParameter(URI
Constructs a URIParameter with the URI pointing to data intended for an SPI implementation.
|
| Modifier and Type | Method and Description |
|---|---|
URI |
PKIXRevocationChecker.getOcspResponder()
Gets the URI that identifies the location of the OCSP responder.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PKIXRevocationChecker.setOcspResponder(URI
Sets the URI that identifies the location of the OCSP responder.
|
| Modifier and Type | Method and Description |
|---|---|
URI |
URIException.getUnsupportedURI()
Return the URI.
|
| Modifier and Type | Method and Description |
|---|---|
URI |
URISyntax.getURI()
Returns this URI attribute's URI value.
|
| Constructor and Description | |
|---|---|
URISyntax(URI
Constructs a URI attribute with the specified URI.
|
| Constructor and Description | |
|---|---|
Destination(URI
Constructs a new destination attribute with the specified URI.
|
|
PrinterMoreInfo(URI
Constructs a new printer more info attribute with the specified URI.
|
|
PrinterMoreInfoManufacturer(URI
Constructs a new printer more info manufacturer attribute with the specified URI.
|
|
PrinterURI(URI
Constructs a new PrinterURI attribute with the specified URI.
|
| Modifier and Type | Field and Description |
|---|---|
protected URI |
SimpleJavaFileObject.uri
A URI for this file object.
|
| Modifier and Type | Method and Description |
|---|---|
URI |
ForwardingFileObject.toUri()
|
URI |
SimpleJavaFileObject.toUri()
|
URI |
FileObject.toUri()
Returns a URI identifying this file object.
|
| Constructor and Description | |
|---|---|
SimpleJavaFileObject(URI
Construct a SimpleJavaFileObject of the given kind and with the given URI.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
JAXB.marshal(Object
Writes a Java object tree to XML and store it to the specified location.
|
static <T> T |
JAXB.unmarshal(URI
Reads in a Java object tree from the given XML input.
|