Java API Tutorial - URL Example








Constructor

  1. Java URL(String spec) Constructor
  2. Java URL(String protocol, String host, int port, String file) Constructor
  3. Java URL(String protocol, String host, String file) Constructor
  4. Java URL(URL context, String spec) Constructor




Method

  1. Java URL.equals(Object obj)
  2. Java URL.getAuthority()
  3. Java URL.getContent()
  4. Java URL.getDefaultPort()
  5. Java URL.getFile()
  6. Java URL.getHost()
  7. Java URL.getPath()
  8. Java URL.getPort()
  9. Java URL.getProtocol()
  10. Java URL.getQuery()
  11. Java URL.getRef()
  12. Java URL.getUserInfo()
  13. Java URL.hashCode()
  14. Java URL.openConnection()
  15. Java URL.openConnection(Proxy proxy)
  16. Java URL.openStream()
  17. Java URL.sameFile(URL other)
  18. Java URL .setURLStreamHandlerFactory (URLStreamHandlerFactory fac)
  19. Java URL.toExternalForm()
  20. Java URL.toString()
  21. Java URL.toURI()