In opposition to java.net.URL SURL is rather an URL parser without any further functionality attached behind the scene -- and therefore not being restricted to known protocols.
Public Member Functions | |
| SURL () | |
| SURL (String url) throws DirectorException | |
| SURL (SURL base, String url) throws DirectorException | |
| synchronized void | set (SURL base, String url) throws DirectorException |
| String | getProtocol () |
| String | getHost () |
| int | getPort () |
| String | getFile () |
| String | getReference () |
| String | getQuery () |
| String | getUser () |
| String | getPassword () |
Static Public Member Functions | |
| static String | decode (String url) |
Package Attributes | |
| String | protocol = null |
| String | host = null |
| int | port = -1 |
| String | file = null |
| String | reference = null |
| String | query = null |
| String | user = null |
| String | password = null |
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.5