org.nuxeo.runtime.services.streaming
Class URLSource
java.lang.Object
org.nuxeo.runtime.services.streaming.AbstractStreamSource
org.nuxeo.runtime.services.streaming.URLSource
- All Implemented Interfaces:
- StreamSource
public class URLSource
- extends AbstractStreamSource
- Author:
- Bogdan Stefanescu
Field Summary |
protected URL |
url
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
url
protected final URL url
URLSource
public URLSource(URL url)
getStream
public InputStream getStream()
throws IOException
- Throws:
IOException
canReopen
public boolean canReopen()
- Specified by:
canReopen
in interface StreamSource
- Overrides:
canReopen
in class AbstractStreamSource
Copyright © 2010 Nuxeo SAS. All Rights Reserved.