Source Code : Internationalized Resource Identifiers
Java Is Open Source Programming Language You Can Download From Java and Java Libraries From http://www.oracle.com.
Click Here to download
We provide this code related to title for you to solve your developing problem easily. Libraries which is import in this program you can download from http://www.oracle.com.
Click Here or search from google with Libraries Name you get jar file related it
Internationalized Resource Identifiers
import java.net.URI;
import java.net.URISyntaxException;
public class IRIDemo {
public static void main(String[] args) throws NullPointerException, URISyntaxException {
URI uri = new URI("http://r%C3%A9sum%C3%A9.example.org");
System.out.println("URI : " + uri);
System.out.println("Raw Authority : " + uri.getRawAuthority());
System.out.println("Raw Fragment : " + uri.getRawFragment());
System.out.println("Fragment : " + uri.getFragment());
System.out.println("Authority : " + uri.getAuthority());
System.out.println("Authority : " + uri.getRawPath());
System.out.println("RawQuery : " + uri.getRawQuery());
System.out.println("RawSchemeSpecificPart : " + uri.getRawSchemeSpecificPart());
System.out.println("RawUserInfo : " + uri.getRawUserInfo());
}
}
/*
URI : http://r%C3%A9sum%C3%A9.example.org
Raw Authority : r%C3%A9sum%C3%A9.example.org
Raw Fragment : null
Fragment : null
Authority : rsum.example.org
Authority :
RawQuery : null
RawSchemeSpecificPart : //r%C3%A9sum%C3%A9.example.org
RawUserInfo : null
*/
Thank with us