Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


oracle.ide.layout
Class URL2String

java.lang.Object
  extended by oracle.ide.layout.URL2String


public final class URL2String
extends java.lang.Object

This class mediates the conversion of a URL object to and from a String representation. Support for interconversion of relative and absolute forms and expansion of macros is implemented here. The terms that java.net.URL uses for the parts of an URL are -- protocol://userinfo@host:port/path?query#ref


Method Summary
static java.lang.String toString(java.net.URL url)
          Takes an url and returns all its parts as a String.
static java.net.URL toURL(java.lang.String urlString)
          Takes a String obtained by the call to the toString method and builds up an URL.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

toString

public static java.lang.String toString(java.net.URL url)
Takes an url and returns all its parts as a String. The protocol must be specified in an absolute URI.

toURL

public static java.net.URL toURL(java.lang.String urlString)
Takes a String obtained by the call to the toString method and builds up an URL.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


Copyright © 1997, 2011, Oracle. All rights reserved.