|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.net.URLConnection de.fhg.igd.net.NullURLConnection
public class NullURLConnection
This class represents a communication link between the application and the null-stream
Field Summary |
---|
Fields inherited from class java.net.URLConnection |
---|
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches |
Constructor Summary | |
---|---|
NullURLConnection()
Class constructor |
Method Summary | |
---|---|
void |
connect()
Because this method is not needed it has an empty implementation and just overrides its abstract superclass. |
InputStream |
getInputStream()
Returns a NullInputStream that reads from this connection |
OutputStream |
getOutputStream()
Returns a NullOutputStream to this connection |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NullURLConnection()
Method Detail |
---|
public void connect()
connect
in class URLConnection
public OutputStream getOutputStream() throws IOException
getOutputStream
in class URLConnection
IOException
- if an I/O error occurs while
generating an Outputstreampublic InputStream getInputStream() throws IOException
getInputStream
in class URLConnection
IOException
- if an I/O error occurs while
generating an Inputstream
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |