< prev index next >

src/java.base/share/classes/sun/net/URLCanonicalizer.java

Print this page

        

@@ -26,14 +26,16 @@
 package sun.net;
 
 /**
  * Helper class to map URL "abbreviations" to real URLs.
  * The default implementation supports the following mappings:
+ * <pre>{@code
  *   ftp.mumble.bar/... => ftp://ftp.mumble.bar/...
  *   gopher.mumble.bar/... => gopher://gopher.mumble.bar/...
  *   other.name.dom/... => http://other.name.dom/...
  *   /foo/... => file:/foo/...
+ * }</pre>
  *
  * Full URLs (those including a protocol name) are passed through unchanged.
  *
  * Subclassers can override or extend this behavior to support different
  * or additional canonicalization policies.
< prev index next >