Package org.xwiki.filter.input
Class DefaultURLInputSource
- java.lang.Object
-
- org.xwiki.filter.input.AbstractInputStreamInputSource
-
- org.xwiki.filter.input.DefaultURLInputSource
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,InputSource
,InputStreamInputSource
,URLInputSource
public class DefaultURLInputSource extends AbstractInputStreamInputSource implements URLInputSource
- Since:
- 6.2M1
- Version:
- $Id: e27ebde824aa40b32dd374092b89a50aefe650ca $
-
-
Field Summary
-
Fields inherited from class org.xwiki.filter.input.AbstractInputStreamInputSource
inputStream
-
-
Constructor Summary
Constructors Constructor Description DefaultURLInputSource(URL url)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URL
getURL()
protected InputStream
openStream()
-
Methods inherited from class org.xwiki.filter.input.AbstractInputStreamInputSource
close, getInputStream, restartSupported, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.xwiki.filter.input.InputSource
restartSupported
-
-
-
-
Constructor Detail
-
DefaultURLInputSource
public DefaultURLInputSource(URL url)
-
-
Method Detail
-
getURL
public URL getURL()
- Specified by:
getURL
in interfaceURLInputSource
-
openStream
protected InputStream openStream() throws IOException
- Specified by:
openStream
in classAbstractInputStreamInputSource
- Throws:
IOException
-
-