|
||||||||||
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.local.LocalURLConnection
public class LocalURLConnection
The local URL protocol connection implementation.
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(Class[] classes)
Return the content for this local resource. |
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
connect
in class URLConnection
IOException
- is an error occurs while attempting to establish
the connection.public InputStream getInputStream() throws IOException
getInputStream
in class URLConnection
IOException
- is an error occurspublic OutputStream getOutputStream() throws IOException
getOutputStream
in class URLConnection
IOException
- if any I/O problems occur.public Object getContent(Class[] classes) throws IOException
getContent
in class URLConnection
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 |