equal
deleted
inserted
replaced
36 |
36 |
37 public class URItoURLTest { |
37 public class URItoURLTest { |
38 |
38 |
39 public static void main(String args[]) throws Exception { |
39 public static void main(String args[]) throws Exception { |
40 |
40 |
41 URItoURLTest testClass = new URItoURLTest(); |
41 URL classUrl = new URL("jrt:/java.base/java/lang/Object.class"); |
42 URL classUrl = testClass.getClass(). |
|
43 getResource("/java/lang/Object.class"); |
|
44 |
42 |
45 String[] uris = { |
43 String[] uris = { |
46 "mailto:xyz@abc.de", |
44 "mailto:xyz@abc.de", |
47 "file:xyz#ab", |
45 "file:xyz#ab", |
48 "http:abc/xyz/pqr", |
46 "http:abc/xyz/pqr", |