@@ -0,0 +1,753 @@
+package de.asw.java.training2016.net;%0A%0Aimport java.net.URI;%0A%0Apublic class UriExample %7B%0A%09public static void main(String%5B%5D args) %7B%0A%0A%09%09URI uri = URI.create(%22https://user:password@www.example.com:8042/over/there?name=ferret#nose%22);%0A%09%09System.out.println(uri);%0A%09%09System.out.println(%22Scheme: %22 + uri.getScheme());%0A%09%09System.out.println(%22Scheme-SpecificPart: %22 + uri.getSchemeSpecificPart());%0A%09%09System.out.println(%22Userinfo: %22 + uri.getUserInfo());%0A%09%09System.out.println(%22Host: %22 + uri.getHost());%0A%09%09System.out.println(%22Authority: %22 + uri.getAuthority());%0A%09%09System.out.println(%22Port: %22 + uri.getPort());%0A%09%09System.out.println(%22Path: %22 + uri.getPath());%0A%09%09System.out.println(%22Query: %22 + uri.getQuery());%0A%09%09System.out.println(%22Fragment: %22 + uri.getFragment());%0A%09%7D%0A%7D%0A

Add example for parsing an URI with Java