|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface GuiseContainer
The interface for a Guise container.
| Method Summary | |
|---|---|
com.globalmentor.net.URIPath |
getBasePath()
Reports the base path of the container. |
java.net.URI |
getBaseURI()
Reports the base URI of the container. |
java.io.InputStream |
getInputStream(java.net.URI uri)
Retrieves an input stream to the entity at the given URI. |
com.globalmentor.net.URIPath |
resolvePath(com.globalmentor.net.URIPath path)
Resolves a relative or absolute path against the container base path. |
java.net.URI |
resolveURI(java.net.URI uri)
Resolves URI against the container base path. |
| Method Detail |
|---|
java.net.URI getBaseURI()
com.globalmentor.net.URIPath getBasePath()
com.globalmentor.net.URIPath resolvePath(com.globalmentor.net.URIPath path)
path - The path to be resolved.
java.lang.NullPointerException - if the given path is null.
java.lang.IllegalArgumentException - if the provided path specifies a URI scheme (i.e. the URI is absolute) and/or authority (in which case resolveURI(URI) should be used instead).getBasePath()java.net.URI resolveURI(java.net.URI uri)
uri - The URI to be resolved.
java.lang.NullPointerException - if the given URI is null.getBasePath()
java.io.InputStream getInputStream(java.net.URI uri)
throws java.io.IOException
uri - A URI to the entity; either absolute or relative to the container.
null if no entity exists at the given resource path.
java.lang.NullPointerException - if the given URI is null.
java.io.IOException - if there was an error connecting to the entity at the given URI.getBaseURI()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||