|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.ide.layout.URL2String
public final class URL2String
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 |
---|
public static java.lang.String toString(java.net.URL url)
url
and returns all its parts as a String
. The protocol must be specified in an absolute URI.public static java.net.URL toURL(java.lang.String urlString)
String
obtained by the call to the toString
method and builds up an URL
.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |