|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface URLRegistryOperations
The URLRegistry holds all of the supported URL schemes.
URLScheme
Method Summary | |
---|---|
void |
add_scheme(URLScheme scheme)
Register a new URL scheme. |
void |
destroy()
Invoke destroy() on all registered schemes, and
release any resources held by the object. |
URLScheme |
find_scheme(String name)
Find a scheme with the given name. |
Object |
parse_url(String url)
Convert a URL into an object reference by delegating to a registered URLScheme object. |
Method Detail |
---|
void add_scheme(URLScheme scheme) throws SchemeAlreadyExists
scheme
- The new scheme.
SchemeAlreadyExists
- Another scheme already exists with
the same name.URLScheme find_scheme(String name)
name
- The scheme name, in lower case.
Object parse_url(String url)
url
- The complete URL, including the scheme.
BAD_PARAM
- In case the URL is invalid.void destroy()
destroy()
on all registered schemes, and
release any resources held by the object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |