Package org.nuxeo.runtime.model
Class URLStreamRef
- java.lang.Object
-
- org.nuxeo.runtime.model.URLStreamRef
-
- All Implemented Interfaces:
StreamRef
public class URLStreamRef extends Object implements StreamRef
- Author:
- Bogdan Stefanescu
-
-
Constructor Summary
Constructors Constructor Description URLStreamRef(URL url)URLStreamRef(URL url, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URLasURL()Get an URL to that stream.StringgetId()Get an unique identifier for this stream.InputStreamgetStream()Get the stream content.
-
-
-
Method Detail
-
getId
public String getId()
Description copied from interface:StreamRefGet an unique identifier for this stream.
-
getStream
public InputStream getStream() throws IOException
Description copied from interface:StreamRefGet the stream content.- Specified by:
getStreamin interfaceStreamRef- Throws:
IOException
-
-