Package org.codehaus.plexus.util.io
Class URLInputStreamFacade
- java.lang.Object
-
- org.codehaus.plexus.util.io.URLInputStreamFacade
-
- All Implemented Interfaces:
InputStreamFacade
public class URLInputStreamFacade extends java.lang.Object implements InputStreamFacade
Implementation ofInputStreamFacade
for URL's.
-
-
Field Summary
Fields Modifier and Type Field Description private java.net.URL
url
-
Constructor Summary
Constructors Constructor Description URLInputStreamFacade(java.net.URL url)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.InputStream
getInputStream()
The caller must assume, that this method may be invoked only once.
-
-
-
Method Detail
-
getInputStream
public java.io.InputStream getInputStream() throws java.io.IOException
Description copied from interface:InputStreamFacade
The caller must assume, that this method may be invoked only once.- Specified by:
getInputStream
in interfaceInputStreamFacade
- Returns:
- Retrieves the actual
InputStream
. - Throws:
java.io.IOException
- if io issue
-
-