站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.5.0, Java 2 SDK 英文文档

Uses of Class java.net.URI (Java 2 Platform SE 5.0) - JDK 5 Documentation v1.5.0, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Ed. 5.0

Uses of Class
java.net.URI

Packages that use URI
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. 
javax.print Provides the principal classes and interfaces for the JavaTM Print Service API. 
javax.print.attribute Provides classes and interfaces that describe the types of JavaTM 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. 
 

Uses of URI in java.io
 

Methods in java.io that return URI
 URI File.toURI()
          Constructs a file: URI that represents this abstract pathname.
 

Constructors in java.io with parameters of type URI
File(URI uri)
          Creates a new File instance by converting the given file: URI into an abstract pathname.
 

Uses of URI in java.net
 

Methods in java.net that return URI
static URI URI.create(String str)
          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 uri)
          Relativizes the given URI against this URI.
 URI URI.resolve(String str)
          Constructs a new URI by parsing the given string and then resolving it against this URI.
 URI URI.resolve(URI uri)
          Resolves the given URI against this URI.
 URI URL.toURI()
          Returns a URI equivalent to this URL.
 

Methods in java.net with parameters of type URI
 int URI.compareTo(URI that)
          Compares this URI to another object, which must be a URI.
abstract  void ProxySelector.connectFailed(URI uri, SocketAddress sa, IOException ioe)
          Called to indicate that a connection could not be established to a proxy/socks server.
abstract  Map<String,List<String>> CookieHandler.get(URI uri, Map<String,List<String>> requestHeaders)
          Gets all the applicable cookies from a cookie cache for the specified uri in the request header.
abstract  CacheResponse ResponseCache.get(URI uri, String rqstMethod, Map<String,List<String>> rqstHeaders)
          Retrieve the cached response based on the requesting uri, request method and request headers.
abstract  void CookieHandler.put(URI uri, Map<String,List<String>> responseHeaders)
          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 uri, URLConnection conn)
          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 uri)
          Relativizes the given URI against this URI.
 URI URI.resolve(URI uri)
          Resolves the given URI against this URI.
abstract  List<Proxy> ProxySelector.select(URI uri)
          Selects all the applicable proxies based on the protocol to access the resource with and a destination address to access the resource at.
 

Uses of URI in javax.print
 

Methods in javax.print that return URI
 URI URIException.getUnsupportedURI()
          Return the URI.
 

Uses of URI in javax.print.attribute
 

Methods in javax.print.attribute that return URI
 URI URISyntax.getURI()
          Returns this URI attribute's URI value.
 

Constructors in javax.print.attribute with parameters of type URI
URISyntax(URI uri)
          Constructs a URI attribute with the specified URI.
 

Uses of URI in javax.print.attribute.standard
 

Constructors in javax.print.attribute.standard with parameters of type URI
Destination(URI uri)
          Constructs a new destination attribute with the specified URI.
PrinterMoreInfo(URI uri)
          Constructs a new printer more info attribute with the specified URI.
PrinterMoreInfoManufacturer(URI uri)
          Constructs a new printer more info manufacturer attribute with the specified URI.
PrinterURI(URI uri)
          Constructs a new PrinterURI attribute with the specified URI.
 


JavaTM 2 Platform
Standard Ed. 5.0

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.