public class URLStreamRef extends Object implements StreamRef
| Modifier and Type | Field and Description | 
|---|---|
protected String | 
name  | 
protected URL | 
url  | 
| Constructor and Description | 
|---|
URLStreamRef(URL url)  | 
URLStreamRef(URL url,
            String name)  | 
| Modifier and Type | Method and Description | 
|---|---|
URL | 
asURL()
Get an URL to that stream. 
 | 
String | 
getId()
Get an unique identifier for this stream. 
 | 
InputStream | 
getStream()
Get the stream content. 
 | 
public URLStreamRef(URL url)
public URLStreamRef(URL url, String name)
public String getId()
StreamRefpublic InputStream getStream() throws IOException
StreamRefgetStream in interface StreamRefIOExceptionCopyright © 2017 Nuxeo. All rights reserved.