|
3.0.2: 2012-01-25 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConnectionManager
A connection manager is used to access the contents and metadata about
the resource pointed to by a given URI. Connection managers are usually
created by ConnectionManagerFactory
objects. Implementations
doesn't have to be thread-safe since a new connection manager is created
for each use of an URI. Implementations doens't have to provide a public
no-argument constructor.
Method Summary | |
---|---|
InputStream |
getInputStream()
Get an InputStream for reading the contents of the resource. |
UriMetadata |
getMetadata()
Get metadata about the resource. |
URI |
getURI()
Get the URI of the resource we are interested in. |
Method Detail |
---|
URI getURI()
InputStream getInputStream() throws IOException
IOException
- If there is an error creating the streamUriMetadata getMetadata() throws IOException
IOException
- If there is an error getting the metadata
|
3.0.2: 2012-01-25 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |