|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.net.URLConnection net.dpml.transit.artifact.ArtifactURLConnection
The connection handler for URLs based on the "artifact" protocol family.
Field Summary |
Fields inherited from class java.net.URLConnection |
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches |
Method Summary | |
void |
connect()
Establish a connection. |
Object |
getContent()
Return the content for this artifact. |
Object |
getContent(Class[] classes)
Return the content for this artifact. |
String |
getContentType()
Reutrn the mimetype of the content. |
InputStream |
getInputStream()
Return an input stream to the resource. |
OutputStream |
getOutputStream()
Return an output stream to the resource. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public void connect() throws IOException
IOException
- is an error occurs while attempting to establish
the connection.public InputStream getInputStream() throws IOException
IOException
- is an error occurspublic OutputStream getOutputStream() throws IOException
IOException
- if any I/O problems occur.public String getContentType()
public Object getContent() throws IOException
IOException
- is an error occurspublic Object getContent(Class[] classes) throws IOException
classes
- a sequence of classes against which the
implementation will attempt to establish a known match
IOException
- is an error occurs
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |