软件包 | 描述 |
---|---|
java.awt |
包含创建用户界面和绘制图形和图像的所有类。
|
java.io |
通过数据流、序列化和文件系统提供系统的输入和输出。
|
java.net |
为实现网络应用程序提供类。
|
java.nio.file |
定义的接口和类的java虚拟机访问文件,文件属性,文件系统。
|
java.nio.file.spi |
为
java.nio.file 包服务提供商类。
|
java.security |
为安全框架提供类和接口。
|
java.security.cert |
提供用于解析和管理证书的类和接口,证书撤销列表(CRL),认证路径。
|
javax.print |
提供了主要的类和接口的java
TM打印服务API。
|
javax.print.attribute |
提供类和接口描述java
TM打印服务属性的类型以及如何将它们收集到的属性集。
|
javax.print.attribute.standard |
包装印刷类javax.print.attribute.standard包含特定属性。
|
javax.tools |
为可以从程序调用的工具提供接口,例如,编译器。
|
javax.xml.bind |
为客户端应用程序提供包括解包,编组运行时绑定框架,和验证能力。
|
Modifier and Type | Method and Description |
---|---|
void |
Desktop.browse(URI uri)
启动默认的浏览器显示一个
URI 。
|
void |
Desktop.mail(URI mailtoURI)
启动邮件撰写窗口的用户默认的邮件客户端,填充的
mailto: URI指定的消息字段。
|
Modifier and Type | Method and Description |
---|---|
URI |
File.toURI()
构建了一个
file: URI表示此抽象路径名。
|
Constructor and Description |
---|
File(URI uri)
通过将给定的
file: URI到一个抽象路径名创建一个新的
File实例。
|
Modifier and Type | Method and Description |
---|---|
static URI |
URI.create(String str)
通过解析给定的字符串创建一个URI。
|
URI |
URI.normalize()
对这个URI的路径。
|
URI |
URI.parseServerAuthority()
试图解析这个URI的权限组件,如果定义为用户信息,主机和端口组件。
|
URI |
URI.relativize(URI uri)
化给定URI对这个URI。
|
URI |
URI.resolve(String str)
通过分析给定字符串然后解决它在构造一个新的URI的URI。
|
URI |
URI.resolve(URI uri)
解决给定URI对这个URI。
|
URI |
URL.toURI()
返回一个
URI 相当于这个URL。
|
Modifier and Type | Method and Description |
---|---|
List<URI> |
CookieStore.getURIs()
让所有的URI识别这个饼干店的饼干。
|
Modifier and Type | Method and Description |
---|---|
void |
CookieStore.add(URI uri, HttpCookie cookie)
添加一个HTTP cookie存储。
|
int |
URI.compareTo(URI that)
比较该URI到另一个对象,它必须是一个URI。
|
abstract void |
ProxySelector.connectFailed(URI uri, SocketAddress sa, IOException ioe)
调用来表示无法建立到代理服务器/袜子服务器的连接。
|
List<HttpCookie> |
CookieStore.get(URI uri)
检索给定URI相关的cookies,或其域匹配给定的URI。
|
Map<String,List<String>> |
CookieManager.get(URI uri, Map<String,List<String>> requestHeaders) |
abstract Map<String,List<String>> |
CookieHandler.get(URI uri, Map<String,List<String>> requestHeaders)
从一个请求标头中指定的URI的cookie缓存中获取所有适用的饼干。
|
abstract CacheResponse |
ResponseCache.get(URI uri, String rqstMethod, Map<String,List<String>> rqstHeaders)
检索缓存的响应基于请求的URI请求方法、请求报头。
|
void |
CookieManager.put(URI uri, Map<String,List<String>> responseHeaders) |
abstract void |
CookieHandler.put(URI uri, Map<String,List<String>> responseHeaders)
集所有适用的饼干,例如响应头域,被命名为set-cookie2,目前在响应头到一个cookie缓存。
|
abstract CacheRequest |
ResponseCache.put(URI uri, URLConnection conn)
协议处理程序调用此方法后,资源已被检索,和responsecache必须决定是否存储在缓存中的资源。
|
URI |
URI.relativize(URI uri)
化给定URI对这个URI。
|
boolean |
CookieStore.remove(URI uri, HttpCookie cookie)
从商店里取出一块饼干。
|
URI |
URI.resolve(URI uri)
解决给定URI对这个URI。
|
abstract List<Proxy> |
ProxySelector.select(URI uri)
选择基于该协议访问资源的所有适用的代理和一个目的地地址来访问资源。
|
boolean |
CookiePolicy.shouldAccept(URI uri, HttpCookie cookie)
将被调用,看看这个饼干是否应该被接受。
|
Modifier and Type | Method and Description |
---|---|
URI |
Path.toUri()
返回一个URI来表示这条路。
|
Modifier and Type | Method and Description |
---|---|
static Path |
Paths.get(URI uri)
将给定的URI的一
Path 对象。
|
static FileSystem |
FileSystems.getFileSystem(URI uri)
返回一个指向一个现有的
FileSystem 。
|
static FileSystem |
FileSystems.newFileSystem(URI uri, Map<String,?> env)
构建了一个新的文件系统,是由一个
URI 鉴定
|
static FileSystem |
FileSystems.newFileSystem(URI uri, Map<String,?> env, ClassLoader loader)
构建了一个新的文件系统,是由一个
URI 鉴定
|
Modifier and Type | Method and Description |
---|---|
abstract FileSystem |
FileSystemProvider.getFileSystem(URI uri)
返回一个现有的
FileSystem 该提供程序创建。
|
abstract Path |
FileSystemProvider.getPath(URI uri)
通过将给定的
URI 返回
Path 对象。
|
abstract FileSystem |
FileSystemProvider.newFileSystem(URI uri, Map<String,?> env)
构建了一种新的
FileSystem 对象由URI标识。
|
Modifier and Type | Method and Description |
---|---|
URI |
DomainLoadStoreParameter.getConfiguration()
获取域配置数据的标识符。
|
URI |
URIParameter.getURI()
返回的URI。
|
Constructor and Description |
---|
DomainLoadStoreParameter(URI configuration, Map<String,KeyStore.ProtectionParameter> protectionParams)
构造了一个用于保护私钥的密钥数据参数域domainloadstoreparameter。
|
URIParameter(URI uri)
构建了一个URI指向用于SPI实现数据uriparameter。
|
Modifier and Type | Method and Description |
---|---|
URI |
PKIXRevocationChecker.getOcspResponder()
获取标识的OCSP响应器位置的URI。
|
Modifier and Type | Method and Description |
---|---|
void |
PKIXRevocationChecker.setOcspResponder(URI uri)
设置标识的OCSP响应器位置的URI。
|
Modifier and Type | Method and Description |
---|---|
URI |
URIException.getUnsupportedURI()
返回的URI。
|
Modifier and Type | Method and Description |
---|---|
URI |
URISyntax.getURI()
返回此URI的URI属性值。
|
Constructor and Description |
---|
URISyntax(URI uri)
构建一个与指定的URI的URI属性。
|
Constructor and Description |
---|
Destination(URI uri)
提出了一种新的指定的URI目标属性。
|
PrinterMoreInfo(URI uri)
构建了一个新的打印机更多信息属性指定的URI。
|
PrinterMoreInfoManufacturer(URI uri)
构建了一种新的打印机制造商属性的更多信息与指定的URI。
|
PrinterURI(URI uri)
提出了一种新的指定的URI printeruri属性。
|
Modifier and Type | Field and Description |
---|---|
protected URI |
SimpleJavaFileObject.uri
该文件对象的URI。
|
Modifier and Type | Method and Description |
---|---|
URI |
FileObject.toUri()
返回一个URI标识该文件对象。
|
URI |
SimpleJavaFileObject.toUri() |
URI |
ForwardingFileObject.toUri() |
Constructor and Description |
---|
SimpleJavaFileObject(URI uri, JavaFileObject.Kind kind)
构建一个simplejavafileobject给定类型的与给定的URI。
|
Modifier and Type | Method and Description |
---|---|
static void |
JAXB.marshal(Object jaxbObject, URI xml)
写了一个java对象树的XML并将其存储到指定的位置。
|
static <T> T |
JAXB.unmarshal(URI xml, 类<T> type)
读取一个java对象树从给定的XML输入。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.