java.net.URL java.net.URL getAuthority() URL openStream() java.net.URL java.net.URL java.net.URL URL (Java Platform SE 7 ) getFile() getDefaultPort() getProtocol() URL class URL URL(String spec) these URL http://docs.oracle.com/javase/7/docs/api/java/net/URL.html URL URL.openConnection() its javadoc javadocs Oracle: Class URL: openConnection java.net.URL URL class URL class API (String protocol, String host, int port, String file) java.net.URL java.net.URL getHost() URL getPath() javadocs for URL.openConnection() URL(String protocol, String host, String file) URL class these Java URL class URL(URL context, String spec) URL java.net.URL rożne sposoby URL.openConnection() URL.setURLStreamHandlerFactory